5293d8dda929bfb128fd7ddca46b1e6cfa991388
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4 account for file-wide setting of todo-top-priorities-overrides.
5 Make code a bit cleaner.
6
7 2014-06-28 Glenn Morris <rgm@gnu.org>
8
9 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
10
11 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
12
13 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
14 category-wide setting of todo-top-priorities-overrides, check for
15 a file-wide setting and fontify accordingly.
16
17 2014-06-28 Glenn Morris <rgm@gnu.org>
18
19 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
20
21 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
24
25 2014-06-28 K. Handa <handa@gnu.org>
26
27 Fix Bug#17739.
28
29 * composite.el: Setup composition-function-table for dotted circle.
30 (compose-gstring-for-dotted-circle): New function.
31
32 * international/characters.el: Add category "^" to all
33 non-spacing characters.
34
35 2014-06-28 Glenn Morris <rgm@gnu.org>
36
37 * Makefile.in (doit): Remove force rule.
38 (custom-deps, finder-data, autoloads, update-subdirs)
39 (compile-one-process): PHONY targets do not need force rules.
40
41 * Makefile.in (compile-main, compile, compile-always):
42 No need to explicitly pass variables to ourself in recursive calls.
43
44 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
47
48 2014-06-26 Glenn Morris <rgm@gnu.org>
49
50 * Makefile.in (update-authors): Update for moved authors.el.
51
52 2014-06-26 Leo Liu <sdl.web@gmail.com>
53
54 * skeleton.el (skeleton-end-hook): Default to nil and move the
55 work to skeleton-insert. (Bug#17850)
56
57 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
58
59 * calc/calc-alg.el (math-beforep):
60 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
61 Simplify because string-lessp can accept symbols as args.
62
63 2014-06-26 Daiki Ueno <ueno@gnu.org>
64
65 * emacs-lisp/package.el (package--check-signature):
66 If package-check-signature is allow-unsigned, don't signal error when
67 we can't verify signature because of missing public key
68 (bug#17625).
69
70 2014-06-26 Glenn Morris <rgm@gnu.org>
71
72 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
73 Remove outdated declaration.
74
75 * emacs-lisp/authors.el (authors-valid-file-names)
76 (authors-renamed-files-alist): Additions.
77
78 2014-06-26 Leo Liu <sdl.web@gmail.com>
79
80 * textmodes/picture.el (picture-set-tab-stops):
81 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
82 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
83
84 * progmodes/asm-mode.el (asm-calculate-indentation):
85 Use indent-next-tab-stop.
86
87 * indent.el (indent-accumulate-tab-stops): New function.
88
89 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
92 (package-desc-status): Obey it.
93
94 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
95
96 * calendar/todo-mode.el: Fix two bugs.
97 (todo-insert-item--basic): If user cancels item insertion to
98 another category before setting priority, show original category
99 whether it is in the same or a different file.
100 (todo-set-item-priority): After selecting category, instead of
101 moving point to top, which extends an active region, restore it.
102
103 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * help-fns.el (describe-function-1): Check file-name is a string before
106 calling help-fns--autoloaded-p (bug#17564).
107
108 2014-06-26 Juri Linkov <juri@jurta.org>
109
110 * desktop.el (desktop-auto-save-enable)
111 (desktop-auto-save-disable): New functions.
112 (desktop-save-mode, desktop-auto-save-timeout): Use them.
113 (desktop-read): Disable the autosave before loading the desktop,
114 and enable afterwards. (Bug#17351)
115
116 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
117
118 Fix some indentation problem with \; and pipes (bug#17842).
119 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
120 (sh-smie--default-forward-token, sh-smie--default-backward-token):
121 New functions.
122 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
123 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
124 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
125
126 2014-06-26 Glenn Morris <rgm@gnu.org>
127
128 * emacs-lisp/find-func.el (find-function-C-source-directory):
129 Use file-accessible-directory-p.
130
131 * ps-samp.el: Make it slightly less awful.
132 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
133 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
134 Only set local values.
135 (ps-article-subject, ps-article-author): Use standard functions
136 like mail-fetch-field.
137 (ps-info-file, ps-info-node): Use match-string.
138 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
139 (ps-samp-ps-setup): ... new function.
140
141 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
142 Optimize away code unneeded on any modern Emacs.
143
144 * emacs-lisp/authors.el: Move to ../admin.
145
146 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
147
148 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
149
150 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
151 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
152 performance enhancements.
153 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
154 expansion.
155 (hif-factor, hif-string-concatenation, intern-safe): Support string
156 concatenation and argumented macro expansion.
157 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
158 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
159 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
160 (hif-canonicalize-tokens, hif-place-macro-invocation)
161 (hif-parse-macro-arglist): Mostly new functions for supporting
162 argumented macro expansion.
163 (hif-string-concatenation, hif-stringify, hif-token-concat)
164 (hif-token-stringification, hif-token-concatenation):
165 Stringification and concatenation.
166 (hif-find-next-relevant): Fix comments.
167 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
168 some cases involving #elif.
169 (hif-find-define, hif-add-new-defines): New functions for automatically
170 scanning of defined symbols.
171 (hide-ifdef-guts): Fix for defined symbol auto scanning.
172 (hide-ifdef-undef): Fix behavior to match CPP.
173
174 2014-06-25 Glenn Morris <rgm@gnu.org>
175
176 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
177 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
178 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
179 files. They are not relevant to the original issue (bug#1004),
180 and cause unnecessary recompilation (bug#2151).
181
182 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 * play/landmark.el: Use lexical-binding and avoid `intangible'.
185 (landmark--last-pos): New var.
186 (landmark--intangible-chars): New const.
187 (landmark--intangible): New function.
188 (landmark-mode, landmark-move): Use it.
189 (landmark-mode): Remove properties.
190 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
191 (landmark-cross-qtuple):
192 Don't worry about `intangible' any more.
193 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
194 (landmark-init-display): Don't set `intangible' and `point-entered'.
195 (square): Remove. Inline it instead.
196 (landmark--distance): Rename from `distance'.
197 (landmark-calc-distance-of-robot-from): Rename from
198 calc-distance-of-robot-from.
199 (landmark-calc-smell-internal): Rename from calc-smell-internal.
200
201 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
202
203 * files.el (dir-locals-find-file, file-relative-name):
204 * info.el (Info-complete-menu-item):
205 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
206 to compare-strings to avoid out-of-range errors.
207 * subr.el (string-prefix-p): Adjust to match strict range
208 checking in compare-strings.
209
210 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
211
212 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
213 for comment lines non-greedy and stopping at newlines to fix stack
214 overflows with large files.
215
216 2014-06-24 Eli Barzilay <eli@barzilay.org>
217
218 * calculator.el (calculator-last-input): Drop 'ascii-character property
219 lookup.
220
221 2014-06-24 Leo Liu <sdl.web@gmail.com>
222
223 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
224 tab-stop-list to nil. (Bug#16381)
225
226 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
227 (indent-rigidly-left-to-tab-stop)
228 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
229 (move-to-tab-stop): Change callers.
230
231 2014-06-24 Eli Zaretskii <eliz@gnu.org>
232
233 * skeleton.el (skeleton-insert): Yet another fix of the doc string
234 wrt behavior of \n as the first/last element of a skeleton.
235
236 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
237
238 * net/tramp-adb.el (tramp-adb-handle-process-file):
239 * net/tramp-sh.el (tramp-sh-handle-process-file):
240 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
241 the output buffer when DISPLAY is non-nil. (Bug#17815)
242
243 2014-06-24 Glenn Morris <rgm@gnu.org>
244
245 * play/landmark.el (landmark-move-down, landmark-move-up):
246 Fix 2007-10-20 change - preserve horizontal position.
247
248 2014-06-23 Sam Steingold <sds@gnu.org>
249
250 * simple.el (kill-append): Remove undo boundary depending on ...
251 (kill-append-merge-undo): New user option.
252
253 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * simple.el (handle-shift-selection, exchange-point-and-mark)
256 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
257 (transient-mark-mode): Use&set the global value.
258 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
259 * emulation/edt.el (edt-emulation-off): Save&restore the global
260 transient-mark-mode setting.
261 * obsolete/pc-select.el (pc-selection-mode): Use the
262 transient-mark-mode function.
263
264 2014-06-23 Eli Zaretskii <eliz@gnu.org>
265
266 * international/fontset.el (script-representative-chars):
267 Add representative characters for scripts added in Unicode 7.0.
268 (otf-script-alist): Synchronize with the latest registry of OTF
269 script tags.
270
271 * international/characters.el (char-script-table): Update for
272 scripts added and codepoint ranges changed in Unicode 7.0.
273
274 2014-06-23 Eli Barzilay <eli@barzilay.org>
275
276 * calculator.el (calculator-standard-displayer): Fix bug in use of
277 `calculator-groupize-number'.
278 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
279 `eval' code, so it works in v24.3.1 too.
280 (calculator-last-input): Comment to clarify purpose.
281
282 2014-06-22 Mario Lang <mlang@delysid.org>
283
284 * textmodes/rst.el (rst-comment-region): From from -> from.
285
286 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
287
288 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
289
290 * electric.el (electric-layout-post-self-insert-function):
291 * emacs-lisp/ert.el (ert--insert-infos):
292 * obsolete/vi.el (vi-set-mark):
293 * term.el (term-handle-scroll):
294 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
295 * wid-edit.el (widget-editable-list-value-create):
296 Prefer point-marker to copy-marker of point.
297
298 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
299
300 Fix completion retrieval parsing (bug#17209).
301 * progmodes/python.el (python-mode):
302 (python-util-strip-string): New function.
303 (python-shell-completion-get-completions): Use it.
304
305 2014-06-21 Eli Zaretskii <eliz@gnu.org>
306
307 * skeleton.el (skeleton-insert): Fix last change.
308
309 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
310
311 Enhancements for outline integration (bug#17796).
312 * progmodes/python.el (python-mode): Properly set
313 outline-heading-end-regexp so that comments after colons for
314 defuns are supported.
315
316 2014-06-21 Eli Zaretskii <eliz@gnu.org>
317
318 * skeleton.el (skeleton-insert): Doc fix.
319
320 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
323 (smie-config-guess): Use smie-config-local so the rules are obeyed
324 (bug#17818).
325
326 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
327 since it's already done inside the loop (bug#17819).
328
329 2014-06-21 Martin Rudalics <rudalics@gmx.at>
330
331 * mouse.el (mouse-drag-line): Re-remove code initially removed
332 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
333 (Bug#17819).
334
335 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
338 align with the surrounding parent (bug#17721).
339
340 2014-06-21 Eli Zaretskii <eliz@gnu.org>
341
342 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
343 locally to nil.
344 (texinfo-insert-block, texinfo-insert-@end)
345 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
346 local setting of skeleton-end-newline by adding an explicit \n to
347 the skeletons where appropriate. (Bug#17801)
348
349 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
350
351 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
352 (smie-indent--hanging-p): Use it.
353 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
354
355 2014-06-21 Leo Liu <sdl.web@gmail.com>
356
357 * simple.el (read-quoted-char): Don't let help chars pop up help
358 buffer. (Bug#16617)
359
360 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
363 for | (bug#17621).
364
365 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
366 Drop unknown events instead of burping.
367
368 2014-06-21 Eli Zaretskii <eliz@gnu.org>
369
370 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
371 and later. (Bug#17790)
372
373 2014-06-21 Juri Linkov <juri@jurta.org>
374
375 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
376 to `soft'. (Bug#17554)
377
378 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
381 (bug#17737).
382
383 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
384
385 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
386 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
387
388 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
389
390 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
391 `unread-command-events'.
392
393 2014-06-19 William Xu <william.xwl@gmail.com>
394
395 * progmodes/hideif.el (hif-string-to-number): Don't return float for
396 hex integer constants (bug#17807).
397
398 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * international/mule-util.el (truncate-string-ellipsis): New var.
401 (truncate-string-to-width): Use it.
402
403 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
404
405 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
406 (lisp-string-in-doc-position-p): New function, extracted from
407 lisp-font-lock-syntactic-face-function.
408 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
409
410 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
411
412 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
413
414 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
415
416 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
417 (bubbles--game-over): Don't add `intangible' properties since they
418 didn't work anyway.
419
420 2014-06-18 Juri Linkov <juri@jurta.org>
421
422 * vc/ediff-init.el (ediff-current-diff-Ancestor)
423 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
424 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
425 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
426 Add `min-colors 88' version with removed black/white foregrounds.
427 (Bug#10181)
428
429 2014-06-18 Juri Linkov <juri@jurta.org>
430
431 * vc/diff-mode.el (diff-changed): Empty face definition to use
432 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
433 (diff-context): Use darker color on light background and
434 lighter color on dark background.
435
436 2014-06-18 Juri Linkov <juri@jurta.org>
437
438 * vc/diff-mode.el (diff-refine-changed): Rename from
439 `diff-refine-change' for consistency with `diff-changed'.
440 (diff-refine-change): Add obsolete face alias. (Bug#10181)
441
442 * vc/smerge-mode.el (smerge-refined-changed): Rename from
443 `smerge-refined-change'.
444 (smerge-refined-change): Add obsolete face alias.
445
446 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
447
448 * rect.el (rectangle-preview): New custom.
449 (rectangle): New group.
450 (rectangle--pos-cols): Add `window' argument.
451 (rectangle--string-preview-state, rectangle--string-preview-window):
452 New vars.
453 (rectangle--string-flush-preview, rectangle--string-erase-preview)
454 (rectangle--space-to, rectangle--string-preview): New functions.
455 (string-rectangle): Use them.
456 (rectangle--inhibit-region-highlight): New var.
457 (rectangle--highlight-for-redisplay): Obey it. Make sure
458 `apply-on-region' uses the point-crutches of the right window.
459 Use :align-to rather than multiple spaces.
460
461 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
462
463 * ruler-mode.el (ruler-mode-window-col)
464 (ruler-mode-mouse-set-left-margin)
465 (ruler-mode-mouse-set-right-margin): Fix calculation of column
466 from mouse position (Bug#17768).
467
468 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
469
470 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
471 without varname or rhs causes crash.
472 (dun-ftp): Fix bug where blank ftp password is allowed, making it
473 impossible to win endgame.
474 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
475 rlogin is anymore.
476 (dun-help): Bump version number; update contact info.
477
478 2014-06-15 Eli Barzilay <eli@barzilay.org>
479
480 * calculator.el (calculator-prompt, calculator-remove-zeros)
481 (calculator-mode-hook, calculator-operators, calculator-stack)
482 (calculator-mode): Tweak docstring.
483 (calculator-user-operators): Tweak docstring, fix a bug in the last
484 example.
485 (calculator-displayer): `std' case has an optional boolean.
486 (calculator-displayers): Use the new boolean to group in decimal mode.
487 (calculator-mode-map, calculator, calculator-message)
488 (calculator-op-arity, calculator-add-operators)
489 (calculator-string-to-number, calculator-displayer-prev)
490 (calculator-displayer-next, calculator-remove-zeros)
491 (calculator-eng-display, calculator-number-to-string)
492 (calculator-update-display, calculator-last-input)
493 (calculator-clear-fragile, calculator-digit, calculator-decimal)
494 (calculator-exp, calculator-saved-move, calculator-clear)
495 (calculator-copy, calculator-put-value, calculator-help)
496 (calculator-expt, calculator-truncate): Minor code improvements.
497 (calculator-need-3-lines): New function pulling out code from
498 `calculator'.
499 (calculator-get-display): Rename from `calculator-get-prompt', and
500 improved.
501 (calculator-push-curnum): Rename from `calculator-curnum-value', and
502 extended for all uses of it. All callers changed.
503 (calculator-groupize-number): New utility for splitting a number into
504 groups.
505 (calculator-standard-displayer): Improve code, new optional argument to
506 use comma-split groups, make second argument optional too to use with
507 'left/'right inputs. All callers changed.
508 (calculator-reduce-stack-once): New utility, doing the meat of what
509 `calculator-reduce-stack' used to do, much improved (mostly using
510 `pcase' for conciseness and clarity).
511 (calculator-reduce-stack): Now doing just the reduction loop using
512 `calculator-reduce-stack-once'.
513 (calculator-funcall): Improve code, make it work in v24.3.1 too.
514 (calculator-last-input): Improve code, remove some old cruft.
515 (calculator-quit): Kill `calculator-buffer' in electric mode too.
516 (calculator-integer-p): Remove.
517 (calculator-fact): Improve code, make it work on non-integer values
518 too (using truncated numbers).
519
520 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
521
522 Sync with Tramp 2.2.10.
523
524 * net/tramp.el (tramp-methods): Tweak docstring.
525 (tramp-handle-file-accessible-directory-p): Check for
526 `file-readable-p' instead of `file-executable-p'.
527 (tramp-check-cached-permissions):
528 Use `tramp-compat-file-attributes'.
529 (tramp-call-process): Add new argument VEC. Adapt callees in all
530 tramp*.el files.
531
532 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
533 (tramp-adb-maybe-open-connection): Don't set
534 `tramp-current-*' variables.
535
536 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
537 file properties of temporary buffers.
538
539 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
540
541 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
542 (tramp-gvfs-handle-delete-file): Flush file
543 properties, not directory properties.
544 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
545 reading "unix::mode".
546 (tramp-gvfs-handle-file-name-all-completions):
547 Use "-h" option for "gvfs-ls".
548 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
549 (tramp-gvfs-send-command): Simplify traces.
550
551 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
552 (vc-git-program, vc-hg-program): Declare.
553 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
554 (tramp-methods) <nc>: Add new method.
555 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
556 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
557 `tramp-login-args'.
558 (tramp-default-user-alist): Add "nc".
559 (top): Remove completion function for "sftp". Add completion
560 functions for "nc" and "psftp".
561 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
562 Implement support for "nc" method.
563 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
564 (tramp-remote-coding-commands, tramp-call-local-coding-command):
565 Tweak docstring.
566 (tramp-sh-handle-write-region): Tweak error message.
567 (tramp-sh-handle-vc-registered): Remove backends when the remote
568 binary does not exist.
569 (tramp-find-inline-encoding): Do not raise an error.
570 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
571 the "nc" case. Quote result also locally.
572
573 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
574 (tramp-smb-handle-set-file-acl): Use `start-process'.
575 (tramp-smb-handle-insert-directory): Use progress reporter.
576 (tramp-smb-handle-rename-file): Flush also file properties of
577 FILENAME.
578
579 * net/trampver.el: Update release number.
580
581 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
584 add-to-list.
585 (ses-localvars): Remove ses--local-printer-list, unused.
586 (ses--metaprogramming): New macro. Use it to defvar variables.
587 (ses-set-localvars): Simplify.
588 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
589 property-list into an alist.
590 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
591 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
592 Remove; use defstruct accessors/setters instead.
593 (ses-cell-formula-aset, ses-cell-printer-aset)
594 (ses-cell-references-aset): Remove, use setf instead.
595 (ses--alist-get): New function.
596 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
597 Use an alist instead of a plist and don't do move-to-front since the
598 list is always short.
599 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
600 (ses-cell-property-set-fun, ses-cell-property-set)
601 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
602 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
603 (ses--letref): New macro.
604 (ses-cell-property-pop): Rewrite.
605 (ses--cell): Rename from ses-cell and make it into a function.
606 Make `formula' fallback on `value' if nil.
607 (ses--local-printer): Rename from ses-local-printer and make it into
608 a function.
609 (ses-set-cell): Turn it into a macro so finding the accessor from the
610 field name is done at compile time.
611 (ses-repair-cell-reference-all): Test presence of `sym' rather than
612 `ref' before adding `sym' to :ses-repair-reference.
613 (ses-calculate-cell): Use ses--letref rather than
614 ses-cell-property-get-handle.
615 (ses-write-cells): Use a single prin1-to-string.
616 (ses-setter-with-undo): New function.
617 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
618 (ses-unset-with-undo): Remove.
619 (ses-load): Prefer apply' over `eval'.
620 (ses-read-printer, ses-set-column-width): Use standard "(default
621 foo)" format.
622
623 2014-06-15 Glenn Morris <rgm@gnu.org>
624
625 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
626
627 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
628 Replace delete-duplicates and mapcan by cl- versions throughout.
629 And cl-macroexpand-all by macroexpand-all.
630 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
631
632 2014-06-15 Eli Zaretskii <eliz@gnu.org>
633
634 * subr.el (posn-col-row): Doc fix. (Bug#17768)
635
636 2014-06-15 Juri Linkov <juri@jurta.org>
637
638 * bindings.el: Put `ascii-character' property on keypad keys
639 mapped to characters. (Bug#17759)
640
641 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
644 bumping forward into a closing paren (bug#17761).
645
646 * term/xterm.el (xterm--version-handler): Work around for OSX
647 Terminal.app (bug#17607).
648
649 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
650
651 * play/dunnet.el (dun-describe-room, dun-mode):
652 If a lamp is in the room, you won't be eaten by a grue.
653
654 2014-06-13 Glenn Morris <rgm@gnu.org>
655
656 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
657 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
658 (compile-always): GNU make automatically passes
659 command-line arguments to sub-makes.
660
661 * calendar/calendar.el (calendar-generate-window):
662 Remove pointless call to font-lock-fontify-buffer.
663
664 2014-06-13 Matthias Meulien <orontee@gmail.com>
665
666 * simple.el (completion-list-mode-map): Navigate with tab and backtab
667 (bug#17767).
668
669 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * simple.el (set-mark-command): Simplify a bit.
672
673 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
674
675 * help.el (help--key-binding-keymap): New function.
676 (help--binding-locus): New function.
677 (describe-key): Mention the keymap in which the binding was
678 found. (bug#13948)
679
680 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
681
682 * hippie-exp.el (he--all-buffers): New function.
683 (try-expand-line-all-buffers, try-expand-list-all-buffers)
684 (try-expand-dabbrev-all-buffers): Use it.
685
686 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
687
688 * hippie-exp.el (try-expand-line-all-buffers)
689 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
690 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
691 original buffer, in case they're buffer-local.
692
693 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
694
695 * ses.el (ses-initial-global-parameters-re): New defconst, a
696 specific regexp is needed now that ses.el can handle both
697 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
698 local printers.
699 (ses-localvars): Add local variables needed for local printer handling.
700 (ses-set-localvars): Handle hashmap initialisation.
701 (ses-paramlines-plist): Add param-line for number of local printers.
702 (ses-paramfmt-plist): New defconst, needed for code factorization
703 between functions `ses-set-parameter' and
704 `ses-file-format-extend-paramter-list'
705 (ses-make-local-printer-info): New defsubst.
706 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
707 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
708 (ses-cell-printer-aset): New defmacro.
709 (ses-local-printer-compile): New defun.
710 (ses-local-printer): New defmacro.
711 (ses-printer-validate, ses-call-printer): Add support for local
712 printer functions.
713 (ses-file-format-extend-paramter-list): New defun.
714 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
715 factorization.
716 (ses-load): Add support for local printer functions.
717 (ses-read-printer): Update docstring and add support for local printer
718 functions.
719 (ses-refresh-local-printer, ses-define-local-printer): New defun.
720 (ses-safe-printer): Add support for local printer functions.
721
722 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
723
724 * ffap.el (ffap-lax-url): New var (bug#17723).
725 (ffap-url-at-point): Use it.
726 (ffap-file-at-point): Avoid returning just "/".
727
728 2014-06-12 Matthias Meulien <orontee@gmail.com>
729
730 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
731 (python-mode-map): Bind it.
732
733 * progmodes/python.el (class skeleton): Don't erase last char of class
734 name (bug#17683).
735
736 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
737
738 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
739
740 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
741
742 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
743 (bug#17745).
744
745 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * international/mule-cmds.el: Use lexical-binding.
748 (ucs-names): Simplify.
749
750 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
751
752 * progmodes/python.el (run-python): Use read-shell-command.
753
754 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * rect.el: Make it possible to move bounds past EOL or into TABs.
757 (operate-on-rectangle): Use apply-on-rectangle.
758 (rectangle--mark-crutches): New var.
759 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
760 (rectangle--crutches, rectangle--reset-crutches): New functions.
761 (apply-on-rectangle): Obey crutches. Avoid setq.
762 Fix missing final iteration if end is at EOB&BOL.
763 (rectangle-mark-mode-map): Add remap bindings for
764 exchange-point-and-mark and char/line movements.
765 (rectangle--*-char): New function.
766 (rectangle-exchange-point-and-mark, rectangle-right-char)
767 (rectangle-left-char, rectangle-forward-char)
768 (rectangle-backward-char, rectangle-next-line)
769 (rectangle-previous-line): New commands.
770 (rectangle--place-cursor): New function.
771 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
772
773 2014-06-08 Glenn Morris <rgm@gnu.org>
774
775 * startup.el (initial-buffer-choice): Doc fix.
776 Reset :version (adding an option does not merit a :version bump).
777
778 * bookmark.el (bookmark-load):
779 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
780
781 2014-06-08 Juri Linkov <juri@jurta.org>
782
783 * desktop.el: Activate auto-saving on window configuration changes.
784 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
785 `desktop-auto-save-set-timer' to/from
786 `window-configuration-change-hook'.
787 (desktop-auto-save-set-timer): Change REPEAT arg of
788 `run-with-idle-timer' from t to nil.
789 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
790
791 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
792
793 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
794 vc-hg-command (bug#17570).
795
796 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * international/mule-cmds.el (ucs-names): Add special entry for BEL
799 (bug#17702).
800
801 2014-06-08 Glenn Morris <rgm@gnu.org>
802
803 * startup.el (window-setup-hook): Doc fix.
804
805 * emacs-lisp/package.el (package-check-signature)
806 (package-unsigned-archives): Doc fixes.
807
808 2014-06-08 Martin Rudalics <rudalics@gmx.at>
809
810 * window.el (display-buffer-use-some-window): Don't make window
811 used smaller than it was before (Bug#17671).
812
813 2014-06-08 Eli Zaretskii <eliz@gnu.org>
814
815 * menu-bar.el (menu-bar-open): Fix last change: use the PC
816 'redisplay' instead of '(sit-for 0)'.
817
818 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
819
820 * net/tramp.el (tramp-ssh-controlmaster-options):
821 Improve search regexp. (Bug#17653)
822
823 2014-06-08 Glenn Morris <rgm@gnu.org>
824
825 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
826
827 2014-06-08 Eli Zaretskii <eliz@gnu.org>
828
829 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
830
831 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
832
833 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
834 (bug#17586).
835
836 * vc/vc-hg.el (vc-hg-log-graph): New var.
837 (vc-hg-print-log): Use it.
838 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
839 graph output (bug#17515).
840
841 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * mouse.el (mouse-posn-property): Ignore buffer position info when the
844 even happened elsewhere.
845
846 2014-06-06 Mario Lang <mlang@delysid.org>
847
848 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
849 `recenter' if `current-buffer' is equal to `window-buffer'.
850
851 2014-06-05 Leo Liu <sdl.web@gmail.com>
852
853 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
854
855 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
856
857 * textmodes/tildify.el (tildify-foreach-region-outside-env):
858 New function which calls a callback on portions of the buffer that are
859 outside of ignored environments.
860 (tildify-build-regexp): Remove function since it is now
861 incorporated in `tildify-foreach-region-outside-env' where it is
862 optimised and simplified by the use of `mapconcat'.
863 (tildify-tildify): Return number of substitutions made so that…
864 (tildify-count): …can be removed.
865 (tildify-find-env): Accept a new PAIRS argument which was
866 previously looked up in `tildify-ignored-environments-alist' each
867 time the function was called. With this change, the lookup is
868 performed only once in `tildify-foreach-region-outside-env'.
869 (tildify-region): Greatly simplify the function since now most of
870 the work is done by `tildify-foreach-region-outside-env'.
871 (tildify-mode-alist): Simplify slightly by avoiding if and setq
872 and instead using or.
873
874 * textmodes/tildify.el (tildify-ignored-environments-alist):
875 Optimise environments regexes
876
877 Each time beginning of an environment to ignore is found,
878 `tildify-find-env' needs to identify regexp for the ending
879 of the environment. This is done by trying all the opening
880 regexes on matched text in a loop, so to speed that up, this
881 loop should have fewer things to match, which can be done by
882 using alternatives in the opening regexes.
883
884 Coincidentally, this should make matching of the opening
885 regexp faster as well thanks to the use of `regexp-opt' and
886 having common prefix pulled from many regexes.
887
888 * textmodes/tildify.el (tildify-string-alist)
889 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
890 of supported modes since `xml-mode' is no longer a thing but just
891 an alias to the former. Also include comments and insides of tags
892 in `tildify-ignored-environments-alist' for XML modes. Finally,
893 since XML does not define “&nbsp;”[1], use a numeric reference for
894 a no-break space (namely “&#160;”)
895
896 [1] XML specification defines only a handful of predefined entities.
897 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
898 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
899 >, &, ' and " respectively). This is in contrast to HTML and even
900 XHTML which defined a whole bunch of entities including “&nbsp;”.
901
902 * textmodes/tildify.el (tildify-pattern-alist)
903 (tildify-string-alist, tildify-ignored-environments-alist):
904 Improve defcustom's types by adding more tags explaining what each
905 value means and replace “sexp” used in
906 `tildify-ignored-environments-alist' with a full type declaration.
907
908 * textmodes/tildify.el (tildify-find-env): Fix matched group
909 indexes in end-regex building
910
911 When looking for a start of an ignore-environment, the regex is built
912 by concatenating regexes of all the environments configured in
913 `tildify-ignored-environments-alist'. So for example, the following
914 list could be used to match TeX's \verb and \verb* commands:
915
916 (("\\\\verb\\(.\\)" . (1))
917 ("\\\\verb\\*\\(.\\)" . (1)))
918
919 This would result in the following regex being used to find the start
920 of any of the variants of the \verb command:
921
922 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
923
924 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
925 won't match anything, and thus (match-string 1) will be nil, which
926 will cause building of the end-matching regex to fail.
927
928 Fix this by using capture groups from the time when the opening
929 regexes are matched individually.
930
931 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
932 in `tildify-find-env'
933
934 The `tildify-ignored-environments-alist' allows the end-regex to
935 be provided not as a static string but mix of strings and indexes
936 of groups matched the begin-regex. For example, the “\verb!…!”
937 TeX-command (where “!” is an arbitrary character) is handled
938 using:
939
940 ("\\\\verb\\*?\\(.\\)" . (1))
941
942 In the same way, the following should be supported as well:
943
944 ("open-\\(.\\)" . ("end-" 1))
945
946 However the tildify-find-env function fails at
947
948 (concat result
949 (if (stringp (setq aux (car expression)))
950 expression ; BUG: expression is a list
951 (regexp-quote (match-string aux))))
952
953 where the string part is handled incorrectly.
954
955 The most trivial fix would be to replace `expression' in the
956 true-part of the if-statement with `aux', but instead, this commit
957 optimises `tildify-find-env' by changing it to use `mapconcat'
958 rather than open-coded while-loop.
959
960 2014-06-05 Mario Lang <mlang@delysid.org>
961
962 * woman.el (woman-mapcan): Remove.
963 (woman-parse-colon-path): Use cl-mapcan instead.
964
965 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
966
967 * register.el: Add link to Emacs manual in Commentary.
968
969 2014-06-02 Sam Steingold <sds@gnu.org>
970
971 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
972 (popup-menu): ...here.
973 (menu-bar-open): Use it to avoid an error when `lookup-key'
974 returns a number.
975
976 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
977
978 * net/tramp.el (tramp-call-process): Add traces.
979 (tramp-handle-unhandled-file-name-directory): Return "/".
980
981 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
982
983 Sync with upstream verilog-mode revision 3cd8144.
984 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
985 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
986 (verilog-type-font-keywords): Add nor.
987 (verilog-batch-execute-func): Force reading of Local Variables.
988 Fix printing "no changes to be saved" with verilog-batch.
989 (verilog-auto-arg-ports): Doc fix.
990 Add verilog-auto-arg-format to support newlines in AUTOARG.
991 (verilog-auto-arg): Doc fix.
992
993 2014-06-02 Glenn Morris <rgm@gnu.org>
994
995 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
996 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
997 * emulation/ws-mode.el: Move to obsolete/.
998 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
999
1000 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1001
1002 * simple.el (keyboard-quit): Force update of mode lines, to remove
1003 the "Def" indicator, if we were defining a macro. (Bug#17615)
1004
1005 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * minibuffer.el (minibuffer-force-complete-and-exit):
1008 Obey minibuffer-default (bug#17545).
1009
1010 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1011 (bug#17619).
1012
1013 * subr.el (set-transient-map): Don't wait for some "nested"
1014 transient-map to finish if we're only supposed to be active for
1015 the next command (bug#17642).
1016
1017 2014-06-02 Leo Liu <sdl.web@gmail.com>
1018
1019 * emacs-lisp/gv.el (window-buffer, window-display-table)
1020 (window-dedicated-p, window-hscroll, window-point, window-start):
1021 Fix gv-expander. (Bug#17630)
1022
1023 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1024
1025 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1026 clicks (bug#17633).
1027
1028 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1029 for the single comma, since ", " is *very* common in normal French text
1030 (bug#17643).
1031
1032 2014-06-02 Glenn Morris <rgm@gnu.org>
1033
1034 * emacs-lisp/package.el (package-check-signature)
1035 (package-unsigned-archives): Fix :version.
1036
1037 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * subr.el (sit-for): Don't run input-methods (bug#15614).
1040
1041 2014-06-02 Glenn Morris <rgm@gnu.org>
1042
1043 * cus-start.el: Fix some :version numbers.
1044
1045 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * simple.el (deactivate-mark): Set mark-active to nil even if
1048 deactivation is done via setting transient-mark-mode to nil,
1049 since one is buffer-local and the other is global.
1050
1051 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1052 there can't be more than 2 arguments (bug#17584).
1053
1054 2014-06-02 Glenn Morris <rgm@gnu.org>
1055
1056 * simple.el (filter-buffer-substring-functions)
1057 (filter-buffer-substring-function, buffer-substring-filters)
1058 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1059
1060 * minibuffer.el (completion-in-region-functions, completion-in-region)
1061 (completion--in-region): Doc fixes.
1062
1063 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1064 (expand-abbrev, abbrev--default-expand): Doc fixes.
1065
1066 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
1067
1068 Include sources used to create macuvs.h.
1069 * international/README: Refer to the Unicode Terms of Use rather
1070 than copying it bodily here, as that simplifies maintenance.
1071
1072 2014-06-01 Glenn Morris <rgm@gnu.org>
1073
1074 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
1075
1076 2014-05-31 Glenn Morris <rgm@gnu.org>
1077
1078 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
1079
1080 2014-05-30 Glenn Morris <rgm@gnu.org>
1081
1082 * loadup.el: Treat `command-line-args' more flexibly.
1083
1084 2014-05-30 Alan Mackenzie <acm@muc.de>
1085
1086 Guard (looking-at "\\s!") from XEmacs.
1087 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
1088
1089 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
1090
1091 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
1092 The argument COUNT is now optional, to be more backward-compatible.
1093 Doc fix. (Bug#17560)
1094
1095 2014-05-29 Reuben Thomas <rrt@sc3d.org>
1096
1097 * whitespace.el (whitespace-report-region):
1098 Simplify documentation.
1099 (whitespace-report-region): Allow report-if-bogus to take the
1100 value `never', for non-interactive use.
1101 (whitespace-report): Refer to whitespace-report-region's
1102 documentation.
1103
1104 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * whitespace.el: Use font-lock-flush. Minimize refontifications.
1107 Side benefit: it works without jit-lock.
1108 (whitespace-point--used): New buffer-local var.
1109 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
1110 (whitespace-color-off): Use font-lock-flush.
1111 (whitespace-point--used, whitespace-point--flush-used): New functions.
1112 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
1113 (whitespace-empty-at-eob-regexp): Use them.
1114 (whitespace-post-command-hook): Rewrite.
1115
1116 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
1117 (font-lock-fontify-buffer): Mark interactive-only.
1118 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
1119 Make buffer-local.
1120 (font-lock-specified-p): Remove redundant boundp check.
1121 (font-lock-flush-function, font-lock-ensure-function): New vars.
1122 (font-lock-turn-on-thing-lock): Set them.
1123 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
1124 (font-lock-after-change-function): Make `old-len' optional.
1125 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
1126 Call font-lock-flush, just in case.
1127 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
1128 recent Emacsen.
1129 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
1130 (vera-mode-map, vera-mode-menu): Remove bindings to it.
1131 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
1132 and with-syntax-table.
1133 * textmodes/conf-mode.el (conf-quote-normal):
1134 * progmodes/sh-script.el (sh-set-shell):
1135 * progmodes/prog-mode.el (prettify-symbols-mode):
1136 * progmodes/f90.el (f90-font-lock-n):
1137 * progmodes/cwarn.el (cwarn-mode):
1138 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
1139 * progmodes/compile.el (compilation-setup, compilation--unsetup):
1140 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
1141 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
1142 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
1143 font-lock-fontify-buffer-function and
1144 font-lock-unfontify-buffer-function.
1145 (rmail-unfontify-buffer-function, rmail-fontify-message):
1146 Use with-silent-modifications.
1147 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
1148 and font-lock-ensure.
1149 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
1150
1151 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
1152
1153 * emacs-lisp/package.el (package-generate-autoloads):
1154 Inhibit backup files.
1155
1156 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
1159 (bug#17608).
1160
1161 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
1162
1163 * textmodes/tildify.el (tildify-buffer, tildify-region):
1164 Add dont-ask option.
1165
1166 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
1169 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
1170
1171 * subr.el (internal--funcall-interactively): New.
1172 (internal--call-interactively): Remove.
1173 (called-interactively-p): Detect funcall-interactively instead of
1174 call-interactively.
1175 * simple.el (repeat-complex-command): Use funcall-interactively.
1176 (repeat-complex-command--called-interactively-skip): Remove.
1177
1178 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * register.el (register-read-with-preview): Don't burp on
1181 frame switches (e.g. due to the frame we just popped).
1182
1183 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
1184 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
1185
1186 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
1187
1188 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1189
1190 2014-05-26 Martin Rudalics <rudalics@gmx.at>
1191
1192 * window.el (window--dump-frame): Remove interactive specification.
1193
1194 2014-05-26 Glenn Morris <rgm@gnu.org>
1195
1196 * hippie-exp.el (he-line-search-regexp):
1197 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1198
1199 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1200
1201 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1202 to avoid errors when trying to create or visit a file foo.todo
1203 located outside to todo-directory, and to allow having such files
1204 without them being tied to Todo mode (bug#17482).
1205 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1206 (todo-archive-done-item, todo-find-filtered-items-file)
1207 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1208 (todo-category-completions, todo-read-category): When visiting a
1209 Todo file, make sure we're in the right mode and the buffer local
1210 variables are set.
1211 (todo-make-categories-list, todo-reset-nondiary-marker)
1212 (todo-reset-done-string, todo-reset-comment-string):
1213 After processing all Todo files, kill the buffers of those files that
1214 weren't being visited before the processing.
1215 (todo-display-as-todo-file, todo-add-to-buffer-list)
1216 (todo-visit-files-commands): Comment out.
1217 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1218 (auto-mode-alist): Remove add-to-list calls making Todo file
1219 extensions unrestrictedly tied to Todo modes.
1220
1221 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1224 (advice-function-member-p): Tell it to check both names and functions
1225 (bug#17531).
1226 (advice--add-function): Adjust call accordingly.
1227
1228 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1229
1230 * calendar/todo-mode.el: Miscellaneous bug fixes.
1231 (todo-delete-file): When deleting an archive but not its todo
1232 file, make sure to update the todo file's category sexp.
1233 (todo-move-category): Keep the moved category's name unless the
1234 file moved to already has a category with that name. If the
1235 numerically last category of the source file was moved, make the
1236 first category current to avoid selecting a nonexisting category.
1237 (todo-merge-category): Fix implementation to make merging to a
1238 category in another file work as documented. Eliminate now
1239 insufficient and unnecessary renaming of archive category, correct
1240 document string accordingly, and clarify it. If the numerically
1241 last category of the source file was merged, make the first
1242 category current to avoid selecting a nonexisting category.
1243 (todo-archive-done-item): When there are marked items and point
1244 happens to be on an unmarked item, ignore the latter. Don't leave
1245 point below last item after archiving marked items.
1246 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1247 from an archive with only one category deletes the archive only
1248 when the category is empty after unarchiving. Make sure the todo
1249 file's category sexp is updated.
1250 (todo-read-file-name): Allow an existing file name even when it is
1251 not required (todo-move-category needs this to work as documented).
1252 (todo-add-file): Call todo-validate-name to reject the name of an
1253 existing todo file (needed due to fix in todo-read-file-name).
1254 (todo-reset-nondiary-marker): Also reset in filtered items files.
1255 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1256 regexp filtered items files.
1257 (todo-reset-highlight-item): Also reset in filtered items files.
1258 Fix incorrect variable reference in document string.
1259
1260 2014-05-26 Glenn Morris <rgm@gnu.org>
1261
1262 * window.el (window--dump-frame): Avoid error in --without-x builds.
1263
1264 2014-05-26 Glenn Morris <rgm@gnu.org>
1265
1266 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1267
1268 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1269
1270 * frame.el (set-frame-font): Doc fix.
1271
1272 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1273
1274 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1275
1276 * emacs-lisp/package.el (package--download-one-archive):
1277 Use `write-region' instead of `save-buffer' to avoid running various
1278 hooks. (Bug#17155)
1279 (describe-package-1): Same. Insert newline at the end of the
1280 buffer if appropriate.
1281
1282 2014-05-26 Juri Linkov <juri@jurta.org>
1283
1284 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1285 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1286 Add more modifiers: meta, control, shift, hyper, super, alt.
1287 (Bug#17439)
1288
1289 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1290 to allow changing its value with `set-variable'.
1291
1292 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1295 #; comments.
1296 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1297 New functions.
1298 (scheme-mode-variables): Set syntax-propertize-function instead of
1299 font-lock-syntactic-face-function.
1300 (scheme-font-lock-syntactic-face-function): Delete.
1301
1302 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1303
1304 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1305 (bug#17392).
1306
1307 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1310 for a temporary file name.
1311
1312 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1313
1314 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1315
1316 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1317
1318 * net/dbus.el (dbus-init-bus, dbus-call-method)
1319 (dbus-call-method-asynchronously, dbus-send-signal)
1320 (dbus-method-return-internal, dbus-method-error-internal):
1321 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1322
1323 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1324
1325 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1326 methods which do not have a doc string. (Bug#17490)
1327
1328 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1329
1330 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1331 also for AMS Math's \eqref macro.
1332
1333 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1334
1335 Arrange to never byte-compile the generated -pkg.el file.
1336
1337 * emacs-lisp/package.el (package-generate-description-file):
1338 Output first-line comment to set buffer-local var `no-byte-compile'.
1339 Suggested by Dmitry Gutov:
1340 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1341
1342 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1343
1344 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1345
1346 * emacs-lisp/package.el (package-generate-description-file):
1347 Inline `package--alist-to-plist'; rewrite to selectively
1348 quote alist values that are not self-quoting.
1349 (package--alist-to-plist): Delete func.
1350
1351 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1352
1353 * term/xterm.el (xterm-function-map): Add mapping for shifted
1354 keypad keys.
1355
1356 2014-05-24 Daniel Colascione <dancol@dancol.org>
1357
1358 * progmodes/subword.el (subword-find-word-boundary): Move point to
1359 correct spot before search. (Bug#17580)
1360
1361 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1362 breaking the build.
1363
1364 2014-05-24 Leo Liu <sdl.web@gmail.com>
1365
1366 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1367
1368 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1369
1370 * minibuffer.el (completion--sreverse): Remove.
1371 (completion--common-suffix): Use `reverse' instead.
1372 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1373
1374 2014-05-22 Glenn Morris <rgm@gnu.org>
1375
1376 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1377
1378 2014-05-21 Daniel Colascione <dancol@dancol.org>
1379
1380 * files.el (interpreter-mode-alist): Add mksh.
1381
1382 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1383 derivative.
1384 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1385 mksh. Improve custom spec; allow regular expressions.
1386 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1387 (sh-after-hack-local-variables): New function.
1388 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1389 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1390 the normalization.
1391 (sh-canonicalize-shell): Rewrite to support regexes.
1392
1393 2014-05-21 Leo Liu <sdl.web@gmail.com>
1394
1395 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1396
1397 2014-05-19 Leo Liu <sdl.web@gmail.com>
1398
1399 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1400
1401 2014-05-18 Glenn Morris <rgm@gnu.org>
1402
1403 * loadup.el:
1404 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1405
1406 2014-05-14 Sam Steingold <sds@gnu.org>
1407
1408 * progmodes/python.el (python-shell-get-or-create-process):
1409 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1410 back unless requested.
1411
1412 2014-05-14 Glenn Morris <rgm@gnu.org>
1413
1414 * subr.el (with-file-modes): New macro.
1415 * printing.el (pr-save-file-modes): Make obsolete.
1416 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1417 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1418 Add with-file-modes.
1419 * doc-view.el (doc-view-make-safe-dir):
1420 * epg.el (epg--start):
1421 * files.el (locate-user-emacs-file, make-temp-file)
1422 (backup-buffer-copy, move-file-to-trash):
1423 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1424 * eshell/esh-util.el (eshell-with-private-file-modes)
1425 (eshell-make-private-directory):
1426 * net/browse-url.el (browse-url-mosaic):
1427 * obsolete/mailpost.el (post-mail-send-it):
1428 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1429 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1430 Use with-file-modes.
1431
1432 * vc/emerge.el (emerge-make-temp-file): Simplify.
1433
1434 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1435 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1438 suffix (bug#15419).
1439
1440 2014-05-14 Glenn Morris <rgm@gnu.org>
1441
1442 * vc/emerge.el (emerge-temp-file-prefix):
1443 Make pointless option obsolete.
1444 (emerge-temp-file-mode): Make non-functional option obsolete.
1445
1446 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1447
1448 * net/browse-url.el (browse-url):
1449 Use `unhandled-file-name-directory' when setting `default-directory',
1450 in order to circumvent stalled remote connections. (Bug#17425)
1451
1452 2014-05-14 Glenn Morris <rgm@gnu.org>
1453
1454 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1455 Optimize on Emacs, which has the relevant functions for ages.
1456
1457 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1460
1461 2014-05-12 Sam Steingold <sds@gnu.org>
1462
1463 * calendar/time-date.el (seconds-to-string): New function to
1464 pretty print time delay in seconds.
1465
1466 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * mpc.el (mpc-format): Trim Date to the year.
1469 (mpc-songs-hashcons): Shorten the Date field.
1470
1471 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1472 into autoloading just because of a silly indirection.
1473
1474 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1475
1476 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1477
1478 2014-05-12 Glenn Morris <rgm@gnu.org>
1479
1480 * emacs-lisp/find-gc.el: Move to ../admin.
1481
1482 * printing.el (pr-version):
1483 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1484
1485 * net/browse-url.el (browse-url-mosaic):
1486 Create /tmp/Mosaic.PID as a private file.
1487
1488 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1491 (advice--member-p): If name is given, only compare the name.
1492 (advice--remove-function): Don't stop at the first match.
1493 (advice--normalize-place): New function.
1494 (add-function, remove-function): Use it.
1495 (advice--add-function): Pass the name, if any, to
1496 advice--remove-function.
1497
1498 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1499
1500 * electric.el (electric-indent-post-self-insert-function): Don't use
1501 `pos' after modifying the buffer (bug#17449).
1502
1503 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1504
1505 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1506 Correct argument list to conform to todo-insert-item--basic.
1507
1508 2014-05-12 Glenn Morris <rgm@gnu.org>
1509
1510 * files.el (cd-absolute): Test if directory is accessible
1511 rather than executable. (Bug#17330)
1512
1513 * progmodes/compile.el (recompile):
1514 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1515
1516 * net/browse-url.el (browse-url-mosaic):
1517 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1518 This is CVE-2014-3423.
1519
1520 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * mouse.el: Use the normal toplevel loop while dragging.
1523 (mouse-set-point): Handle multi-clicks.
1524 (mouse-set-region): Handle multi-clicks for drags.
1525 (mouse-drag-region): Update call accordingly.
1526 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1527 Use the normal event loop instead of a local while/read-event loop.
1528 (global-map): Remove redundant bindings for double/triple-mouse-1.
1529 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1530 Generate synthetic down events when the protocol only sends up events.
1531 (xterm-mouse-last): Remove.
1532 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1533 terminal parameter instead.
1534 (xterm-mouse--set-click-count): New function.
1535 (xterm-mouse-event): Detect/generate double/triple clicks.
1536 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1537
1538 * info.el (Info-quoted): New face.
1539 (Info-mode-font-lock-keywords): New var.
1540 (Info-mode): Use it.
1541
1542 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1543 are a hindrance for C-x C-e.
1544
1545 2014-05-11 Leo Liu <sdl.web@gmail.com>
1546
1547 * net/rcirc.el (rcirc-sentinel): Fix last change.
1548
1549 2014-05-08 Sam Steingold <sds@gnu.org>
1550
1551 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1552 (rcirc-sentinel): Auto-reconnect to the server if
1553 `rcirc-reconnect-delay' is non-0 (but not more often than its
1554 value in case the host is off-line).
1555
1556 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1557
1558 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1559
1560 2014-05-09 Glenn Morris <rgm@gnu.org>
1561
1562 * files.el (file-expand-wildcards):
1563 * man.el (Man-support-local-filenames):
1564 * printing.el (pr-i-directory, pr-interface-directory):
1565 * progmodes/grep.el (lgrep, rgrep):
1566 * textmodes/ispell.el (ispell-call-process)
1567 (ispell-call-process-region, ispell-start-process)
1568 (ispell-init-process): Use file-accessible-directory-p.
1569
1570 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1573 (xterm-mouse--read-event-sequence-1000): Return nil if something
1574 looks fishy.
1575 (xterm-mouse-event): Propagate it.
1576 (xterm-mouse-translate-1): Handle it.
1577
1578 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1579
1580 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1581 four slots of the parameter list are filled, make sure to pass it
1582 to the argument list of todo-insert-item--basic.
1583
1584 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1587 Add optional `seen' argument to detect and break infinite loops.
1588
1589 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1590
1591 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1592 (trace-unsafe, trace-use-tree): Make parentheses style be
1593 according to Emacs style.
1594
1595 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1596
1597 * net/tramp-sh.el (tramp-remote-process-environment):
1598 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1599 Add :version entry.
1600 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1601 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1602 extra "PSx=..." commands.
1603 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1604 (Bug#17295)
1605
1606 (tramp-uudecode): Replace the hard-coded temporary file name by a
1607 format specifier.
1608 (tramp-remote-coding-commands): Enhance docstring.
1609 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1610 name. (Bug#17415)
1611 This is CVE-2014-3424.
1612
1613 2014-05-08 Glenn Morris <rgm@gnu.org>
1614
1615 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1616 (find-gc-source-files): Update some names.
1617 (trace-call-tree): Simplify and update.
1618 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1619 This is CVE-2014-3422.
1620
1621 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * minibuffer.el (completion--try-word-completion): Revert fix for
1624 Bug#15980 (bug#17375).
1625
1626 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1627 Always store button numbers in the same way in xterm-mouse-last;
1628 Don't burp is xterm-mouse-last is not set as expected.
1629 Never return negative indices.
1630
1631 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1632
1633 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1634 Backtrack one char if the global/char-literal var matcher hits
1635 inside a string. The next char could be the beginning of an
1636 expression expansion.
1637
1638 2014-05-08 Glenn Morris <rgm@gnu.org>
1639
1640 * help-fns.el (describe-function-1): Test for an autoload before a
1641 macro, since `macrop' works on autoloads. (Bug#17410)
1642
1643 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1646
1647 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1648 Make sure the new point we return is within the new string (bug#17239).
1649
1650 2014-05-05 Daniel Colascione <dancol@dancol.org>
1651
1652 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1653 Port `gnu' pattern to rx.
1654
1655 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1656
1657 Remove unneeded prompt when closing a buffer with active
1658 emacsclient ("Buffer ... still has clients"), #16548.
1659 * server.el (server-start): Remove the only call to:
1660 (server-kill-buffer-query-function): Remove.
1661
1662 2014-05-04 Leo Liu <sdl.web@gmail.com>
1663
1664 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1665 Defvar to pacify compiler.
1666
1667 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1668
1669 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1670
1671 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1672
1673 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1674 Use nil rather than `default' for the "default" appearance (bug#17388).
1675 * vc/ediff-util.el (ediff-inferior-compare-regions)
1676 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1677 a misleading `default' value when it's really a boolean.
1678 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1679 overlay is not visible.
1680
1681 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1682
1683 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1684 (todo-menu): Uncomment and update.
1685
1686 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1687
1688 * calendar/todo-mode.el: Reimplement item editing to have the same
1689 basic user interface as item insertion, and make small UI and
1690 larger internal improvements to the latter.
1691 (todo-insert-item): Add reference to the Todo mode user manual to
1692 the documentation string.
1693 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1694 adjust all callers. Change signature to combine diary and
1695 nonmarking arguments. Incorporate functionality of deleted item
1696 copying command and add error checking. Remove detailed
1697 descriptions of the arguments from the documentation string, since
1698 this is treated in the Todo mode user manual.
1699 (todo-copy-item, todo-edit-multiline-item)
1700 (todo-edit-done-item-comment, todo-edit-item-header)
1701 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1702 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1703 (todo-edit-item-date-year, todo-edit-item-date-month)
1704 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1705 Remove.
1706 (todo-edit-item): Reimplement as wrapper command for
1707 todo-edit-item--next-key and make it distinguish done and not done
1708 todo items.
1709 (todo-edit-item--text): New function, replacing old command
1710 todo-edit-item and incorporating deleted commands
1711 todo-edit-multiline-item and todo-edit-done-item-comment.
1712 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1713 Use only numeric value of prefix argument. Remove detailed
1714 descriptions of the arguments from the documentation string, since
1715 this is treated in the Todo mode user manual.
1716 (todo-edit-item--diary-inclusion): New function, replacing old
1717 command todo-edit-item-diary-inclusion and incorporating and fixing
1718 functionality of deleted command todo-edit-item-diary-nonmarking,
1719 making sure to remove todo-nondiary-marker when adding
1720 diary-nonmarking-symbol.
1721 (todo-edit-category-diary-inclusion): Make sure to delete
1722 diary-nonmarking-symbol when adding todo-nondiary-marker.
1723 (todo-edit-category-diary-nonmarking): Fix indentation.
1724 (todo-insert-item--parameters): Group diary and nonmarking
1725 parameters together.
1726 (todo-insert-item--apply-args): Adjust to signature of
1727 todo-insert-item--basic and incorporate copy parameter.
1728 Make small code improvements.
1729 (todo-insert-item--next-param): Improve prompt and adjust it to
1730 new parameter grouping. Remove obsolete code.
1731 (todo-edit-item--param-key-alist)
1732 (todo-edit-item--date-param-key-alist)
1733 (todo-edit-done-item--param-key-alist): New defconsts.
1734 (todo-edit-item--prompt): New variable.
1735 (todo-edit-item--next-key): New function.
1736 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1737 Remove bindings of deleted commands.
1738
1739 2014-05-04 Leo Liu <sdl.web@gmail.com>
1740
1741 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1742
1743 2014-05-04 Glenn Morris <rgm@gnu.org>
1744
1745 * allout-widgets.el (allout-widgets-tally)
1746 (allout-decorate-item-guides):
1747 * menu-bar.el (menu-bar-positive-p):
1748 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1749 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1750 * progmodes/js.el (js--inside-param-list-p)
1751 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1752 * progmodes/prolog.el (region-exists-p):
1753 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1754 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1755 Doc fixes (replace `iff').
1756
1757 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1758
1759 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1760
1761 2014-05-04 Leo Liu <sdl.web@gmail.com>
1762
1763 Support Chinese diary entries in calendar and diary. (Bug#17393)
1764 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1765 (calendar-chinese-from-absolute-for-diary)
1766 (calendar-chinese-to-absolute-for-diary)
1767 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1768 (diary-chinese-list-entries): New functions to list and mark
1769 Chinese diary entries in the calendar window.
1770 (diary-chinese-anniversary)
1771 (diary-chinese-insert-anniversary-entry)
1772 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1773 (diary-chinese-insert-yearly-entry): New commands to insert
1774 Chinese diary entries.
1775
1776 * calendar/diary-lib.el (diary-font-lock-keywords):
1777 Support font-locking Chinese dates.
1778
1779 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1780 inserting Chinese diary entries.
1781
1782 * calendar/calendar.el (diary-chinese-entry-symbol):
1783 New customizable variable.
1784 (calendar-mode-map): Add bindings for inserting Chinese diary
1785 entries.
1786
1787 2014-05-03 Juri Linkov <juri@jurta.org>
1788
1789 * dired.el (dired-check-switches, dired-switches-recursive-p):
1790 New functions. (Bug#17218)
1791 (dired-switches-escape-p, dired-move-to-end-of-filename):
1792 Use `dired-check-switches'.
1793 (dired-insert-old-subdirs, dired-build-subdir-alist)
1794 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1795
1796 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1797
1798 * simple.el (undo-make-selective-list): New algorithm fixes
1799 incorrectness of position adjustments when undoing in region.
1800 (Bug#17235)
1801 (undo-elt-crosses-region): Make obsolete.
1802 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1803 New functions to adjust positions using undo-deltas.
1804
1805 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1808 the last consecutive closing paren (bug#17345).
1809
1810 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1811
1812 * dired.el (dired-mode): make terminology for eXpunge command
1813 consistent. (Bug#17276)
1814
1815 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1816
1817 * dired.el (dired-initial-position-hook, dired-initial-position):
1818 Doc string fixes.
1819
1820 2014-04-30 Glenn Morris <rgm@gnu.org>
1821
1822 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1823
1824 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1825
1826 * faces.el (face-spec-recalc): Apply X resources only after the
1827 defface spec has been applied. Thus, X resources are no longer
1828 overriden by the defface spec which also fixes issues on win32 where
1829 the toolbar coloring was wrong because it is set through X resources
1830 and was (wrongfully) overriden. (Bug#16694)
1831
1832 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1833
1834 * textmodes/rst.el (electric-pair-pairs): Declare.
1835 (rst-mode): Set it (bug#17131).
1836
1837 2014-04-30 Juri Linkov <juri@jurta.org>
1838
1839 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1840 and `print-level' to nil. (Bug#17351)
1841
1842 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1843
1844 * battery.el (battery-update): Handle the case where battery
1845 status is "N/A" (bug#17319).
1846
1847 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1848
1849 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1850 to syntax-propertize.
1851 (ps-mode-auto-indent): Mark as obsolete.
1852 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1853 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1854 word regexp operators.
1855 (ps-mode-map): Move initialization into declaration. Remove binding
1856 for TAB, RET, >, ], and }.
1857 (ps-mode-syntax-table): Move initialization into declaration.
1858 Don't give word syntax to non-word chars.
1859 (ps-run-mode-map): Move initialization into declaration.
1860 (ps-mode-menu-main): Remove auto-indent entry.
1861 (ps-mode-smie-rules): New function.
1862 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1863 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1864 (ps-mode--string-syntax-table): New const.
1865 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1866 New functions.
1867 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1868 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1869
1870 2014-04-27 Daniel Colascione <dancol@dancol.org>
1871
1872 * term/xterm.el (xterm-paste): Use large finite timeout when
1873 reading event to avoid putting keys in this-command-keys.
1874
1875 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1878 (perl-syntax-propertize-function): Use it. Extend handling of
1879 here-docs to the unquoted case.
1880
1881 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1882
1883 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1884 Use equal-including-properties to compare help-echo strings (bug#17331).
1885
1886 2014-04-25 Leo Liu <sdl.web@gmail.com>
1887
1888 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1889 Fix syntax for @. (Bug#17325)
1890
1891 2014-04-25 Daniel Colascione <dancol@dancol.org>
1892
1893 * emacs-lisp/cl.el (gv): Require gv early to break eager
1894 macro-expansion cycles.
1895
1896 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1897
1898 * simple.el (region-active-p): Check there's a mark (bug#17324).
1899
1900 * simple.el (completion-list-mode-map): Use choose-completion for the
1901 mouse binding as well (bug#17302).
1902 (completion-list-mode, completion-setup-function): Adjust docstring and
1903 echo area message accordingly.
1904 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1905 calling convention of choose-completion.
1906 * comint.el (comint-dynamic-list-completions):
1907 * term.el (term-dynamic-list-completions): Accept choose-completion.
1908
1909 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1910 &, |, +, - and * can't be a division (bug#17317).
1911
1912 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1913 features on gnome-terminal (bug#16988).
1914
1915 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1916
1917 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1918
1919 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1920 the declared object, ignore zero or more parens, not zero or one.
1921
1922 2014-04-24 Leo Liu <sdl.web@gmail.com>
1923
1924 * progmodes/xscheme.el (xscheme-expressions-ring)
1925 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1926 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1927 (xscheme-allow-output-p, xscheme-prompt)
1928 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1929
1930 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1931 Comment out unused functions.
1932
1933 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * info.el: Use lexical-binding and cl-lib.
1936 Use defvar-local and setq-local instead of make-local-variable.
1937 (Info-apropos-matches): Avoid add-to-list.
1938 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1939
1940 2014-04-24 Daniel Colascione <dancol@dancol.org>
1941
1942 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1943
1944 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1947
1948 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1949
1950 * dired.el (dired-insert-set-properties): Do not consider
1951 subdirectory headings and empty lines to be information that
1952 `dired-hide-details-mode' should hide. (Bug#17228)
1953
1954 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1955
1956 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1957 Remove test messages.
1958 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1959 and `target' twice.
1960
1961 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1964 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1965
1966 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1967
1968 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1969
1970 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1971 Set "IFS=" when using read builtin, in order to preserve spaces in
1972 the file name. Add test messages for hunting a bug on hydra.
1973 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1974
1975 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1976
1977 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1978 Don't prettify a word within a symbol.
1979
1980 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1981
1982 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1983 possible.
1984
1985 2014-04-22 Daniel Colascione <dancol@dancol.org>
1986
1987 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1988 use defun to define `function-put'.
1989
1990 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1991
1992 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1993 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1994 (lisp-mode-variables): Set font-lock-extra-managed-props.
1995
1996 * emacs-lisp/byte-run.el (function-put): New function.
1997 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1998 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1999 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
2000 Use them.
2001
2002 2014-04-22 Daniel Colascione <dancol@dancol.org>
2003
2004 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
2005 Add `full-p' parameter; when nil, call `macroexpand' instead of
2006 `macroexpand-all'.
2007
2008 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2009 Improve docstrings.
2010
2011 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2012 Use lambda function values, not quoted lambdas.
2013 (byte-compile-recurse-toplevel): Remove extraneous &optional.
2014
2015 * emacs-lisp/cl-macs.el
2016 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
2017 (cl-struct-slot-value): Conditionally use aref or nth so that the
2018 compiler produces optimal code.
2019
2020 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
2023 (inline): Don't inline cl--set-elt.
2024 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
2025 Define as inlinable instead.
2026 (cl-struct-set-slot-value): Remove.
2027
2028 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
2029 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
2030 Use setf instead.
2031
2032 2014-04-21 Daniel Colascione <dancol@dancol.org>
2033
2034 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
2035 last two parameters after all.
2036 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
2037 (cl--compiler-macro-assoc,cl-struct-slot-value)
2038 (cl-struct-set-slot-value): Stop using them.
2039
2040 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
2043 entry in image-mode-winprops-alist.
2044
2045 2014-04-21 Daniel Colascione <dancol@dancol.org>
2046
2047 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
2048 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
2049 (byte-compile-toplevel-file-form): Use it.
2050
2051 * emacs-lisp/cl-macs.el:
2052 (cl--loop-let): Properly destructure `while' clauses.
2053
2054 2014-04-20 Daniel Colascione <dancol@dancol.org>
2055
2056 * vc/vc.el (vc-root-dir): New public autoloaded function for
2057 generically finding the current VC root.
2058 * vc/vc-hooks.el (vc-not-supported): New error.
2059 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
2060
2061 2014-04-20 Daniel Colascione <dancol@dancol.org>
2062
2063 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
2064 argument.
2065 (cl--const-expr-val): cl--const-expr-val should macroexpand its
2066 argument in case we're inside a symbol-macrolet.
2067 (cl--do-arglist, cl--compiler-macro-typep)
2068 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
2069 environment to `cl--const-expr-val'.
2070 (cl-struct-sequence-type,cl-struct-slot-info)
2071 (cl-struct-slot-offset, cl-struct-slot-value)
2072 (cl-struct-set-slot-value): New functions.
2073
2074 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2075
2076 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2077 assignments such as "case=hello" (bug#17297).
2078
2079 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2080
2081 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2082 Do not autoload.
2083 (tramp-file-name-handler, tramp-completion-file-name-handler):
2084 Revert patch from 2014-04-10, it isn't necessary anymore.
2085 (tramp-autoload-file-name-handler)
2086 (tramp-register-autoload-file-name-handlers): New defuns.
2087 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2088 (tramp-register-file-name-handlers): Remove also
2089 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2090 Do not autoload its invocation, but eval it after loading of 'tramp.
2091
2092 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2093
2094 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2095
2096 2014-04-17 Daniel Colascione <dancol@dancol.org>
2097
2098 Add support for bracketed paste mode; add infrastructure for
2099 managing terminal mode enabling and disabling automatically.
2100
2101 * xt-mouse.el:
2102 (xterm-mouse-mode): Simplify.
2103 (xterm-mouse-tracking-enable-sequence)
2104 (xterm-mouse-tracking-disable-sequence): New constants.
2105 (turn-on-xterm-mouse-tracking-on-terminal)
2106 (turn-off-xterm-mouse-tracking-on-terminal):
2107 Use tty-mode-set-strings and tty-mode-reset-strings terminal
2108 parameters instead of random hooks.
2109 (turn-on-xterm-mouse-tracking)
2110 (turn-off-xterm-mouse-tracking): Delete.
2111
2112 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
2113 (xterm-paste-ending-sequence): New constant.
2114 (xterm-paste): New command used for bracketed paste support.
2115
2116 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
2117 (terminal-init-xterm-bracketed-paste-mode): New function.
2118 (terminal-init-xterm): Call it.
2119 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
2120 and tty-mode-reset-strings instead of random hooks.
2121 (xterm-turn-on-modify-other-keys)
2122 (xterm-turn-off-modify-other-keys)
2123 (xterm-remove-modify-other-keys): Delete obsolete functions.
2124
2125 * term/screen.el: Rewrite to just use the xterm code.
2126 Add copyright notice. Mention tmux.
2127
2128 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
2129
2130 * image-mode.el (image-mode-window-put): Also update the property of
2131 the "default window".
2132 * doc-view.el (doc-view-new-window-function): If no window
2133 exists, move to the last known page.
2134
2135 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2138 here-documents (bug#17262).
2139
2140 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2141
2142 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2143 Provide doc strings, as required by snarf-documentation.
2144
2145 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2146
2147 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2148 arg of overlays-at. Use `invisible-p'.
2149
2150 * obsolete/lucid.el (extent-at):
2151 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2152 overlays-at.
2153 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2154
2155 2014-04-16 João Távora <joaotavora@gmail.com>
2156
2157 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2158 links. (Bug#17217).
2159
2160 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2161
2162 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2163 Use mapc to loop over a vector. (Bug#17257).
2164
2165 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
2166
2167 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2168 patch, there are new problems with file names containing spaces.
2169 Get rid of backticks. (Bug#17238)
2170
2171 2014-04-16 João Távora <joaotavora@gmail.com>
2172
2173 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2174 possible bug.
2175
2176 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2177
2178 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2179 (blink-cursor-mode): Mention customization variables and the
2180 effect of 'blink-cursor-blinks'.
2181
2182 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
2183
2184 * simple.el (undo): Prevent insertion of identity mapping into
2185 undo-equiv-table so as undo-only does not inf loop in the presence
2186 of consecutive nils in undo list.
2187
2188 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
2189
2190 * faces.el (make-face): Deprecate optional argument as it is no
2191 longer needed/used since the conditional X resources handling
2192 has been pushed down to make-face-x-resource-internal itself.
2193 (make-empty-face): Don't pass optional argument to make-face.
2194
2195 2014-04-16 Karl Fogel <kfogel@red-bean.com>
2196
2197 * savehist.el (savehist-save): Remove workaround for a read-passwd
2198 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
2199 noticing that the shim was still present.
2200
2201 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
2204
2205 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
2206
2207 * faces.el (face-set-after-frame-default): Remove unused local variable.
2208
2209 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * progmodes/grep.el: Use lexical-binding.
2212 (grep-expand-template): Pass explicit lexical env to `eval'.
2213 (zrgrep): Let-bind grep-find-template explicitly.
2214
2215 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2216 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2217
2218 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2219
2220 * international/characters.el <standard-case-table>: Add entries
2221 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2222 Set category of Coptic characters be 'g' (Greek).
2223
2224 2014-04-12 Leo Liu <sdl.web@gmail.com>
2225
2226 * progmodes/octave.el (completion-table-with-cache):
2227 Define if not available.
2228 (octave-goto-function-definition, octave-sync-function-file-names)
2229 (octave-find-definition-default-filename):
2230 Backquote upattern for compatibility.
2231
2232 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
2233
2234 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2235 name twice due to backticks. (Bug#17238)
2236
2237 2014-04-12 Glenn Morris <rgm@gnu.org>
2238
2239 * term/w32-win.el (x-win-suspend-error):
2240 * term/x-win.el (x-win-suspend-error): Sync docs.
2241
2242 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2243
2244 * faces.el (make-face): Remove deprecated optional argument.
2245 The conditional application of X resources is handled directly by
2246 make-face-x-resource-internal since Emacs 24.4.
2247 (make-empty-face): Don't pass optional argument to make-face.
2248
2249 2014-04-11 Glenn Morris <rgm@gnu.org>
2250
2251 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2252
2253 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 Ediff's overlay priorities cause more trouble than they solve.
2256 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2257 (ediff-highest-priority): Remove function (bug#17234).
2258 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2259 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2260 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2261 overlay priorities.
2262
2263 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2264
2265 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2266 entry; use symbol boundaries to avoid mis-matches.
2267
2268 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2269
2270 * net/tramp.el (tramp-file-name-handler)
2271 (tramp-completion-file-name-handler): Avoid recursive loading.
2272
2273 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2274 Quote result also locally.
2275
2276 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2279 Remove left-over code.
2280
2281 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2282 Reuse the previous comment's indentation unconditionally if it's on its
2283 own line.
2284
2285 2014-04-09 Daniel Colascione <dancol@dancol.org>
2286
2287 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2288 `no-syntax-crossing' arguments. Forward to `up-list'.
2289 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2290 Implement logic for escaping from strings. Use narrowing to deal
2291 with corner cases.
2292
2293 2014-04-09 Leo Liu <sdl.web@gmail.com>
2294
2295 * net/rcirc.el (rcirc-connection-info): New variable.
2296 (rcirc-connect): Use it to store connection info.
2297 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2298 for killed process.
2299 (rcirc-cmd-reconnect): New command. (Bug#17045)
2300 (rcirc-mode, set-rcirc-encode-coding-system)
2301 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2302
2303 2014-04-09 Daniel Colascione <dancol@dancol.org>
2304
2305 * emacs-lisp/cl-indent.el: Add comment claiming
2306 facility is also good for elisp.
2307 (lisp-indent-find-method): New function.
2308 (common-lisp-indent-function): Recognize cl-loop.
2309 (common-lisp-indent-function-1): Recognize cl constructs; use
2310 `lisp-indent-find-method' instead of `get' directly.
2311 (if): Use else-body style for elisp.
2312
2313 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2314
2315 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2316 Module methods. (Bug#17216)
2317
2318 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2321 (describe-bindings-internal): Mark obsolete.
2322
2323 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2326 buffer-file-name, and buffer-file-truename any more.
2327
2328 2014-04-08 Leo Liu <sdl.web@gmail.com>
2329
2330 Use lexical-binding and require cl-lib.
2331 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2332 (rcirc-handler-generic, rcirc-fill-paragraph)
2333 (rcirc-format-response-string, rcirc-target-buffer)
2334 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2335 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2336 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2337 (rcirc-markup-timestamp, rcirc-markup-attributes)
2338 (rcirc-markup-my-nick, rcirc-markup-urls)
2339 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2340 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2341 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2342 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2343 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2344 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2345 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2346 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2347 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2348 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2349 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2350 use cl-lib.
2351
2352 2014-04-07 João Távora <joaotavora@gmail.com>
2353
2354 * elec-pair.el (electric-pair--syntax-ppss):
2355 When inside comments parse from comment beginning.
2356 (electric-pair--balance-info): Fix typo in comment.
2357 (electric-pair--in-unterminated-string-p): Delete.
2358 (electric-pair--unbalanced-strings-p): New function.
2359 (electric-pair-string-bound-function): New var.
2360 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2361 according to `electric-pair--in-unterminated-string-p'
2362
2363 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2364 Inhibit quote pairing if point-max is inside an unterminated string.
2365 (electric-pair--looking-at-unterminated-string-p): Delete.
2366 (electric-pair--in-unterminated-string-p): New function.
2367
2368 2014-04-07 Glenn Morris <rgm@gnu.org>
2369
2370 * shell.el (shell-directory-tracker):
2371 Go back to just ignoring failures. (Bug#17159)
2372
2373 2014-04-07 João Távora <joaotavora@gmail.com>
2374
2375 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2376 backspace. (bug#16981)
2377 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2378 (electric-pair-backward-delete-char-untabify): Delete.
2379 (electric-pair-mode-map): Bind backspace to a menu item filtering
2380 a new `electric-pair-delete-pair' command.
2381 (electric-pair-delete-pair): New command.
2382
2383 * progmodes/python.el (python-electric-pair-string-delimiter):
2384 Fix triple-quoting electricity. (Bug#17192)
2385
2386 * elec-pair.el (electric-pair-post-self-insert-function):
2387 Don't skip whitespace when `electric-pair-text-pairs' and
2388 `electric-pair-pairs' were used. syntax to
2389 electric-pair--skip-whitespace. (Bug#17183)
2390
2391 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2392
2393 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2394 "<F>". (Bug#17199)
2395
2396 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2399 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2400
2401 2014-04-07 Glenn Morris <rgm@gnu.org>
2402
2403 * help.el (view-lossage): Doc tweak.
2404
2405 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2406
2407 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2408 only when inhibit-x-resources is nil, and do that earlier in the
2409 function. Doc fix. (Bug#16694)
2410 (face-spec-choose): Accept additional optional argument, whose
2411 value is returned if no matching attributes are found.
2412 (face-spec-recalc): Use the new optional argument when calling
2413 face-spec-choose. (Bug#16378)
2414 (make-face-x-resource-internal): Do nothing when
2415 inhibit-x-resources is non-nil. Don't touch the default face if
2416 reversed video is given--as was done in previous versions of Emacs.
2417 (face-set-after-frame-default): Don't call
2418 make-face-x-resource-internal here. (Bug#16434)
2419
2420 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2421
2422 * doc-view.el (doc-view-bookmark-jump):
2423 Use `bookmark-after-jump-hook' to jump to the right page after the
2424 buffer is shown in a window. (bug#16090)
2425
2426 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2427
2428 * international/characters.el (mirroring): Fix last change:
2429 instead of loading uni-mirrored.el explicitly, do that implicitly
2430 by creating the 'mirroring' uniprop table. This avoids announcing
2431 the loading of uni-mirrored.el.
2432
2433 2014-04-07 Glenn Morris <rgm@gnu.org>
2434
2435 * files.el (buffer-stale--default-function)
2436 (buffer-stale-function, revert-buffer--default):
2437 * autorevert.el (auto-revert-buffers): Doc tweaks.
2438
2439 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2440
2441 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2442
2443 2014-04-07 Glenn Morris <rgm@gnu.org>
2444
2445 * files.el (make-backup-file-name-function)
2446 (make-backup-file-name, make-backup-file-name--default-function)
2447 (make-backup-file-name-1, find-backup-file-name)
2448 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2449 (buffer-stale--default-function, buffer-stale-function)
2450 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2451 (revert-buffer, revert-buffer--default)
2452 (revert-buffer-insert-file-contents--default-function):
2453 Doc fixes related to defaults no longer being nil.
2454 (make-backup-file-name-function): Bump :version.
2455 Restore nil as a valid but deprecated custom type.
2456
2457 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2460 Handle $' used as a variable (bug#17174).
2461
2462 * progmodes/perl-mode.el (perl-indent-new-calculate):
2463 Handle forward-sexp failure (bug#16985).
2464 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2465 modifiers introducing expressions (bug#17116).
2466
2467 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2470
2471 2014-04-05 Leo Liu <sdl.web@gmail.com>
2472
2473 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2474 Add define-compilation-mode.
2475
2476 2014-04-04 João Távora <joaotavora@gmail.com>
2477
2478 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2479 parse from comment beginning.
2480 (electric-pair--balance-info): Fix typo in comment.
2481 (electric-pair--in-unterminated-string-p): Delete.
2482 (electric-pair--unbalanced-strings-p): New function.
2483 (electric-pair-string-bound-function): New var.
2484 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2485 according to `electric-pair--in-unterminated-string-p'.
2486
2487 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2490 Move declaration before first use.
2491 (reftex-move-to-next-arg): Silence compiler warning.
2492
2493 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2494
2495 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2496 Use `window-total-width' instead of `window-width'.
2497
2498 2014-04-03 Daniel Colascione <dancol@dancol.org>
2499
2500 * subr.el (set-transient-map): Remove rms's workaround entirely;
2501 use new `suspicious-object' subr to mark our lambda for closer
2502 scrutiny during gc.
2503
2504 2014-04-02 Richard Stallman <rms@gnu.org>
2505
2506 * subr.el (set-transient-map): Comment out previous change.
2507
2508 2014-04-02 Glenn Morris <rgm@gnu.org>
2509
2510 * menu-bar.el (menu-bar-file-menu):
2511 * vc/ediff.el (ediff-current-file):
2512 Update for revert-buffer-function no longer being nil by default.
2513
2514 * simple.el (command-execute): Respect nil disabled-command-function.
2515
2516 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2517
2518 * simple.el (command-execute): Do not execute the command when it
2519 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2520
2521 2014-04-02 Juri Linkov <juri@jurta.org>
2522
2523 * dired-aux.el (dired-compress-file): Don't use string-match-p
2524 because its match data is used afterwards.
2525
2526 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2529 0 like nil.
2530
2531 2014-04-02 João Távora <joaotavora@gmail.com>
2532
2533 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2534 Inhibit quote pairing if point-max is inside an unterminated string.
2535 (electric-pair--looking-at-unterminated-string-p):
2536 Delete.
2537 (electric-pair--in-unterminated-string-p): New function.
2538
2539 2014-04-01 Daniel Colascione <dancol@dancol.org>
2540
2541 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2542 when trying to complete the prompt.
2543
2544 2014-03-31 Leo Liu <sdl.web@gmail.com>
2545
2546 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2547 Refactor out eldoc-documentation-function-default.
2548 (eldoc-documentation-function-default): New function.
2549 (eldoc-documentation-function): Change value.
2550
2551 2014-03-31 Glenn Morris <rgm@gnu.org>
2552
2553 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2554
2555 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2556 (vhdl-compose-components-package, vhdl-compose-configuration):
2557 Abbreviate default-directory (missing from some previous upstream sync).
2558
2559 2014-03-31 Reto Zimmermann <reto@gnu.org>
2560
2561 Sync with upstream vhdl mode v3.35.2.
2562 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2563 (top-level): No longer require assoc.
2564 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2565 New functions. Use throughout to replace aget etc.
2566 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2567 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2568 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2569 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2570 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2571 except `vhdl-compiler'.
2572 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2573 when appropriate.
2574
2575 2014-03-31 Glenn Morris <rgm@gnu.org>
2576
2577 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2578 Revert 2014-03-26 merge goof; go back to using defalias.
2579
2580 2014-03-30 Daniel Colascione <dancol@dancol.org>
2581
2582 * comint.el (comint-send-input):
2583 Deactivate completion-in-region-mode before we send comint input.
2584 (Bug#17139).
2585
2586 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2587 on keyboard-quit.
2588
2589 2014-03-29 Glenn Morris <rgm@gnu.org>
2590
2591 * textmodes/reftex.el: Manage most autoloads automatically.
2592 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2593 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2594 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2595 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2596 * textmodes/reftex-toc.el: Set generated-autoload-file,
2597 and add autoload cookies for reftex.el.
2598 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2599
2600 2014-03-28 Glenn Morris <rgm@gnu.org>
2601
2602 * cus-start.el (report-emacs-bug-address): Set custom properties.
2603 * mail/emacsbug.el (report-emacs-bug-address):
2604 Variable is now defined in emacs.c.
2605
2606 * mail/emacsbug.el (report-emacs-bug):
2607 Include system-configuration-features.
2608
2609 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2610
2611 * simple.el (cycle-spacing): Never delete spaces on first run by
2612 default, but do so in a new 'fast mode and if there are already
2613 N spaces (the previous behavior).
2614 Compare N with its value in previous invocation so that changing
2615 prefix argument restarts `cycle-spacing' sequence.
2616 The idea is that with this change, binding M-SPC to
2617 `cycle-spacing' should not introduce any changes in behavior of
2618 the binding so long as users do not type M-SPC twice in a raw with
2619 the same prefix argument or lack thereof.
2620
2621 2014-03-28 Glenn Morris <rgm@gnu.org>
2622
2623 * faces.el (term-file-aliases): New variable.
2624 (tty-run-terminal-initialization): Respect term-file-aliases.
2625 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2626 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2627 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2628
2629 2014-03-27 Glenn Morris <rgm@gnu.org>
2630
2631 * startup.el (inhibit-startup-hooks): Doc tweak.
2632 (normal-top-level): Simplify running of hooks.
2633 For window-setup-hook, respect inhibit-startup-hooks.
2634 (command-line-1): Don't set window-setup-hook to nil.
2635
2636 Allow selective autoloading from obsolete/ directory.
2637 * Makefile.in (obsolete-autoloads): New rule.
2638 (autoloads): Run obsolete-autoloads.
2639 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2640 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2641
2642 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2643
2644 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2645 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2646
2647 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2648 Don't propertize `?' or `!' as symbol constituent when after
2649 colon. (Bug#17097)
2650
2651 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2652
2653 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2654 which is no longer needed and causes trouble in GTK builds (bug#17046).
2655
2656 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2657 Use url-insert-file-contents; package-handle-response no longer exists.
2658
2659 2014-03-26 Daniel Colascione <dancol@dancol.org>
2660
2661 * simple.el (process-menu-mode-map): New variable.
2662 (process-menu-delete-process): New command.
2663
2664 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2665
2666 * emacs-lisp/package.el: Fix bug#16733 (again).
2667 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2668 (url-http-target-url): Remove unused declarations.
2669 (package-handle-response): Remove.
2670 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2671 (package--download-one-archive): Use current-buffer instead of
2672 dynamic binding of `buffer'.
2673 (describe-package-1): Do not decode readme-string.
2674
2675 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2676
2677 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2678
2679 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2680 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2681 `remote-file-name-inhibit-cache' to nil in the second pass.
2682 (tramp-find-executable): Do not call "which" on SunOS.
2683 (tramp-send-command-and-check): Fix docstring.
2684 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2685 check whether source directory has set the sticky bit.
2686
2687 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2688
2689 * simple.el (primitive-undo): Only process marker adjustments
2690 validated against their corresponding (TEXT . POS). Issue warning
2691 for lone marker adjustments in undo history. (Bug#16818)
2692 (undo-make-selective-list): Add marker adjustments to selective
2693 undo list based on whether their corresponding (TEXT . POS) is in
2694 the region. Remove variable adjusted-markers, which was unused
2695 and only non nil during undo-make-selective-list.
2696 (undo-elt-in-region): Return nil when passed a marker adjustment
2697 and explain in function doc.
2698
2699 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2700
2701 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2702
2703 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2704
2705 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2706 Match special global variables without curlies, too.
2707 (ruby-font-lock-keywords): Simplify the matcher for special global
2708 variables. Don't require a non-word character after the variable.
2709 (Bug#17057)
2710
2711 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * simple.el (redisplay-highlight-region-function): Increase priority of
2714 overlay to make sure boundaries are visible (bug#15899).
2715
2716 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2717
2718 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2719 (frameset-restore): Compare display strings with equal.
2720
2721 * frame.el (make-frame): Don't quote display name in error message,
2722 it is already a string.
2723
2724 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2725
2726 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2727 the password.
2728
2729 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2730
2731 * emacs-lisp/package.el (package--add-to-archive-contents):
2732 Include already installed and built-in packages in
2733 `package-archive-contents'.
2734 (package-install): Don't include already installed packages in the
2735 options during interactive invocation. (Bug#16762)
2736 (package-show-package-list): If the buffer is already displayed in
2737 another window, switch to that window.
2738
2739 2014-03-26 Reto Zimmermann <reto@gnu.org>
2740
2741 Sync with upstream vhdl mode v3.35.1.
2742 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2743 (vhdl-compiler-alist): Doc fix.
2744 (vhdl-goto-line): Remove.
2745 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2746 (vhdl-mode) <paragraph-start>: Fix value.
2747 (vhdl-fix-statement-region): Not `for' in wait-statement.
2748 (vhdl-beautify-region): Also (un)tabify.
2749 (vhdl-get-visible-signals):
2750 Scan declarative part of generate statements.
2751 (vhdl-template-record): Fix indentation for record type declaration.
2752 (vhdl-expand-abbrev, vhdl-expand-paren):
2753 Revert to using fset again rather than defalias.
2754 (vhdl-scan-directory-contents): Tweak.
2755 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2756 (vhdl-compose-components-package):
2757 Replace vhdl-goto-line with forward-line.
2758 (top-level): Tweak speedbar frame selection.
2759 (vhdl-generate-makefile-1): Support for compilers with no
2760 unit-to-file name mapping (create directory with dummy files).
2761
2762 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2763
2764 Sync with upstream verilog-mode revision 702457d.
2765 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2766 (create-lockfiles): Declare.
2767 (verilog-read-decls): Fix module header imports, bug709.
2768 Reported by Victor Lau.
2769 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2770 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2771 interface-only modules, bug721. Reported by Dean Hoyt.
2772
2773 2014-03-26 Glenn Morris <rgm@gnu.org>
2774
2775 * obsolete/gulp.el: Move here from emacs-lisp/.
2776
2777 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2778 Remove fallback aliases, since they are always defined now.
2779
2780 2014-03-24 Daniel Colascione <dancol@dancol.org>
2781
2782 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2783 instead of cl-loop search function.
2784
2785 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2786
2787 * calendar/parse-time.el (parse-time-iso8601-regexp)
2788 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2789 it more generally.
2790
2791 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2792
2793 * net/dns.el (network-interface-list): Define for XEmacs.
2794
2795 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2796
2797 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2798 the network interfaces changed.
2799 (dns-query): Use it to flush the data.
2800
2801 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2802
2803 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2804
2805 2014-03-23 Daniel Colascione <dancol@dancol.org>
2806
2807 Change subword-mode to use `find-word-boundary-function-table' and
2808 replace `capitalized-words-mode'. Also, convert to lexical
2809 binding.
2810
2811 * progmodes/cap-words.el: Delete now-obsolete file.
2812 * progmodes/subword.el: Reimplement using
2813 `find-word-boundary-function-table'.
2814 (subword-mode-map): Hollow out.
2815 (capitalized-words-mode): Define as obsolete alias for
2816 `subword-mode'.
2817 (subword-mode, superword-mode): Tweak documentation to reflect new
2818 implementation; call `subword-setup-buffer'.
2819 (subword-forward, subword-capitalize): Add underscore to indicate
2820 unused variable.
2821 (subword-find-word-boundary-function-table): New constant.
2822 (subword-empty-char-table): New constant.
2823 (subword-setup-buffer): New function.
2824 (subword-find-word-boundary): New function.
2825
2826 2014-03-23 Daniel Colascione <dancol@dancol.org>
2827
2828 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2829 list to look for keyword arguments instead of `memq', fixing
2830 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2831 Please make bootstrap.
2832
2833 2014-03-22 Glenn Morris <rgm@gnu.org>
2834
2835 * dired.el (dired-read-regexp): Make obsolete.
2836 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2837 (dired-flag-files-regexp):
2838 * dired-aux.el (dired-mark-read-regexp):
2839 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2840
2841 * startup.el (fancy-startup-text):
2842 * help.el (describe-gnu-project): Visit online info about GNU project.
2843
2844 * help-fns.el (help-fns--interactive-only): New function.
2845 (help-fns-describe-function-functions): Add the above function.
2846 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2847 (next-line, previous-line): Remove hand-written interactive-only
2848 information from doc strings, it is auto-generated now.
2849 * bookmark.el (bookmark-write):
2850 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2851 (epa-mail-import-keys): Mark interactive-only,
2852 and remove hand-written interactive-only information from doc strings.
2853 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2854 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2855 * files.el (not-modified):
2856 * simple.el (mark-whole-buffer): Mark interactive-only.
2857
2858 * emacs-lisp/byte-run.el (defun-declarations-alist):
2859 Add interactive-only. Doc tweak.
2860 (macro-declarations-alist): Doc tweak.
2861 * subr.el (declare): Doc tweak (add xref to manual).
2862 * comint.el (comint-run):
2863 * files.el (insert-file-literally, insert-file):
2864 * replace.el (replace-string, replace-regexp):
2865 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2866 (delete-forward-char, goto-line, insert-buffer, next-line)
2867 (previous-line): Set interactive-only via declare.
2868
2869 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2870
2871 * emacs-lisp/package.el (package-desc): Use the contents of the
2872 quoted form, not its cdr. (Bug#16873)
2873
2874 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2875
2876 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2877 benefit of doc.c; change parameter profile to match the X function.
2878
2879 2014-03-22 Leo Liu <sdl.web@gmail.com>
2880
2881 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2882 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2883
2884 2014-03-21 Richard Stallman <rms@gnu.org>
2885
2886 * battery.el (battery-linux-sysfs): Search for each field
2887 from the beginning of the buffer.
2888
2889 * subr.el (set-transient-map): Clear out function and value
2890 of the temporary symbol when we're done with it.
2891
2892 * mail/rmailsum.el (rmail-summary-delete-forward):
2893 Optimize case of reaching end and handling count.
2894 (rmail-summary-mark-deleted): Optimize when N is current msg.
2895 Don't create new summary line.
2896 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2897 (rmail-summary-undelete-many): Rewrite for speed.
2898 (rmail-summary-msg-number): New function.
2899
2900 * mail/rmail.el (rmail-delete-message): Update summary.
2901 (rmail-undelete-previous-message): Handle repeat count arg.
2902 (rmail-delete-backward, rmail-delete-forward): Likewise.
2903
2904 2014-03-21 Daniel Colascione <dancol@dancol.org>
2905
2906 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2907 information in bug reports.
2908
2909 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2910
2911 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2912 and `tramp-copy-env'.
2913
2914 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2915 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2916
2917 2014-03-21 Glenn Morris <rgm@gnu.org>
2918
2919 * electric.el (electric-indent-post-self-insert-function): Add doc.
2920
2921 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2922
2923 * emacs-lisp/package.el (package-compute-transaction):
2924 Use `version-list-<=' to compare the requirement version against
2925 the version of package already to be installed. Update the error
2926 message. (Bug#16826)
2927
2928 * progmodes/ruby-mode.el (ruby-smie-rules):
2929 Add indentation rule for ` @ '. (Bug#17050)
2930
2931 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * align.el (align-regexp): Remove superfluous backslash.
2934
2935 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2936 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2937 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2938 Fix docstring typos.
2939 (ffap-next): Use C-u in docstring.
2940 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2941 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2942 Remove superfluous backslashes.
2943 (ffap-string-at-point): Reflow docstring.
2944
2945 * server.el (server-host): Reflow docstring.
2946 (server-unload-function): Fix docstring typo.
2947 (server-eval-at): Remove superfluous backslash.
2948
2949 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2950 (skeleton-insert): Doc fix.
2951 (skeleton-insert): Reflow docstring.
2952
2953 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2954 (tty-color-approximate, tty-color-by-index, tty-color-values)
2955 (tty-color-desc): Remove superfluous backslashes.
2956
2957 2014-03-21 Glenn Morris <rgm@gnu.org>
2958
2959 * cus-start.el (history-length): Bump :version.
2960
2961 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2962 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2963 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2964 Don't set `make-backup-files'.
2965
2966 * info.el (info--prettify-description): New function,
2967 to give info-finder descriptions consistent case, punctuation.
2968 (Info-finder-find-node): Use it. Sort packages.
2969 Refer to "description" rather than "commentary".
2970
2971 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2972
2973 * frameset.el (frameset--print-register): New function.
2974 (frameset-to-register): Use it.
2975
2976 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2977
2978 * progmodes/hideif.el (hif-string-to-number): New function.
2979 (hif-tokenize): Use it to understand non-decimal floats.
2980
2981 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2982
2983 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2984
2985 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * electric.el (electric-newline-and-maybe-indent): New command.
2988 Bind it globally to C-j.
2989 (electric-indent-mode): Don't mess with the global map any more.
2990 Don't drop the post-self-insert-hook is some buffer is still using it
2991 (bug#16770).
2992
2993 * bindings.el (global-map): Remove C-j binding.
2994
2995 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2996 the docstring of functions advised before dumping (bug#16993).
2997
2998 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2999
3000 * ps-print.el (ps-generate-postscript-with-faces):
3001 Explicitly deactivate the mark (bug#16866).
3002 * simple.el (deactivate-mark): Update region highlight.
3003
3004 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
3005
3006 * emacs-lisp/package.el (describe-package-1):
3007 Decode commentary (bug#16733).
3008
3009 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
3010
3011 * custom.el (defcustom): Doc fix: recommend avoiding destructive
3012 modification of the value argument of :set (bug#16755).
3013
3014 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3015
3016 * simple.el (newline-and-indent): Do autofill (bug#17031).
3017
3018 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
3019
3020 * newcomment.el (comment-normalize-vars): Only add escaping check
3021 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
3022 (comment-beginning): Use `narrow-to-region' instead of moving back
3023 one character.
3024 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3025 (comment-start-skip): Update the docstring.
3026
3027 2014-03-18 Richard Stallman <rms@gnu.org>
3028
3029 * dired.el (dired-display-file): Force use of other window.
3030
3031 2014-03-18 Daniel Colascione <dancol@dancol.org>
3032
3033 * startup.el (tty-handle-args): Remove debug message from 2007.
3034
3035 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3038 (advice--make-interactive-form): Use it to avoid (auto)loading function.
3039 (advice--make-1, advice-add, advice-remove):
3040 Remove braindead :advice-pending hack.
3041
3042 2014-03-17 Glenn Morris <rgm@gnu.org>
3043
3044 * calendar/calendar.el (calendar-generate-month): Apply weekend
3045 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3046
3047 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3048
3049 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3050 (tramp-call-process): Trace also DESTINATION.
3051
3052 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3053 Quote file names when they are local. Remove superfluous trace.
3054
3055 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3056
3057 * newcomment.el (comment-beginning): If `comment-start-skip'
3058 doesn't match, move back one char and try again. (Bug#16971)
3059
3060 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3061 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3062 Set `comment-start-skip' to a simpler value that doesn't try to
3063 check if the semicolon is escaped (this is handled by
3064 `syntax-ppss' now). (Bug#16971)
3065
3066 * progmodes/scheme.el (scheme-mode-variables): Same.
3067
3068 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3069
3070 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3071 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3072 current (Bug#16816, Bug#17007).
3073 (with-current-buffer-window): New macro doing the same as
3074 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3075 * help.el (help-print-return-message): Warn in doc-string to not
3076 use this in `with-help-window'.
3077 (describe-bindings-internal): Call `describe-buffer-bindings'
3078 from within help buffer. See Juanma's scenario in (Bug#16816).
3079 (with-help-window): Update doc-string.
3080 * dired.el (dired-mark-pop-up):
3081 * files.el (save-buffers-kill-emacs):
3082 * register.el (register-preview): Use `with-current-buffer-window'
3083 instead of `with-temp-buffer-window'.
3084
3085 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3086
3087 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3088 Implement inserting into current buffer, documented in their docstrings.
3089 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3090 (rst-section-tree-point, rst-forward-section, rst-indent)
3091 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3092 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3093 (rst-font-lock-handle-adornment-pre-match-form)
3094 (rst-repeat-last-character): Reflow docstrings.
3095 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3096 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3097 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3098 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3099 Fix docstring typos.
3100 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3101 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3102 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3103
3104 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3105
3106 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3107 for compatibility with other ports.
3108 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3109 from the -xrm command line argument, but in the Nextstep port its value
3110 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3111
3112 * progmodes/python.el (defconst, python-syntax-count-quotes)
3113 (python-indent-region, python-indent-shift-right)
3114 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3115 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3116 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3117 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3118 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3119 (python-shell-buffer-substring, python-shell-send-buffer)
3120 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3121 (python-completion-complete-at-point, python-fill-docstring-style)
3122 (python-eldoc-function, python-imenu-format-item-label)
3123 (python-imenu-format-parent-item-label)
3124 (python-imenu-format-parent-item-jump-label)
3125 (python-imenu--build-tree, python-imenu-create-index)
3126 (python-imenu-create-flat-index): Fix docstring typos.
3127 (python-indent-context, python-shell-prompt-regexp, run-python):
3128 Remove superfluous backslashes.
3129 (python-indent-line, python-nav-beginning-of-defun)
3130 (python-shell-get-buffer, python-shell-get-process)
3131 (python-info-current-defun, python-info-current-line-comment-p)
3132 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3133 (python-indent-post-self-insert-function, python-shell-send-file)
3134 (python-shell-completion-get-completions)
3135 (python-shell-completion-complete-or-indent)
3136 (python-eldoc--get-doc-at-point): Reflow docstrings.
3137
3138 2014-03-14 Glenn Morris <rgm@gnu.org>
3139
3140 * emacs-lisp/package.el (package-menu-mode-map):
3141 Replace use of obsolete function alias. Tweak menu item text.
3142
3143 * info.el (Info-finder-find-node):
3144 Ignore the `emacs' metapackage. (Bug#10813)
3145
3146 * finder.el (finder-list-matches): Include unversioned packages
3147 in the result of a keyword search.
3148
3149 * finder.el (finder--builtins-descriptions): New constant.
3150 (finder-compile-keywords): Use finder--builtins-descriptions.
3151
3152 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3153
3154 * simple.el (blink-matching-paren): Describe the new value,
3155 `jump', enabling the old behavior.
3156 (blink-matching-open): Use that value. (Bug#17008)
3157
3158 2014-03-14 Glenn Morris <rgm@gnu.org>
3159
3160 * finder.el (finder-no-scan-regexp): Add leim-list.
3161 (finder-compile-keywords):
3162 Don't skip files with same basename. (Bug#14010)
3163 * Makefile.in (setwins_finder): New, excluding leim.
3164 (finder-data): Use setwins_finder.
3165
3166 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3167 (help-function-arglist, help-make-usage): Move from here...
3168 * help.el (help-split-fundoc, help-add-fundoc-usage)
3169 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3170 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3171
3172 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3173
3174 * net/socks.el (socks, socks-override-functions)
3175 (socks-find-services-entry):
3176 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3177 (hif-find-ifdef-block):
3178 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3179
3180 * net/tls.el (tls-program): Reflow docstring.
3181
3182 * progmodes/pascal.el (pascal-mode-abbrev-table)
3183 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3184 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3185 (pascal-outline-mode): Fix docstring typos.
3186 (pascal-mode): Let define-derived-mode document mode hook.
3187 (pascal-uncomment-area): Reflow.
3188 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3189
3190 * progmodes/opascal.el (opascal-compound-block-indent)
3191 (opascal-case-label-indent): Fix docstring typos.
3192 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3193
3194 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3195
3196 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3197 Fontify multiple adjacent negation chars. (Bug#17004)
3198
3199 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3200
3201 * emacs-lisp/package.el (package--prepare-dependencies):
3202 Accept requirements without explicit version (bug#14941).
3203
3204 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3205
3206 * register.el (register-separator, copy-to-register): Doc fixes.
3207 (register-preview-default): Remove unnecessary call to concat.
3208
3209 * frameset.el (frameset-restore): When checking for a visible frame,
3210 use the action map instead of calling visible-frame-list.
3211
3212 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3213
3214 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3215
3216 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3217
3218 * window.el (fit-frame-to-buffer): Get maximum width from
3219 display's width instead of height.
3220
3221 2014-03-12 Glenn Morris <rgm@gnu.org>
3222
3223 * desktop.el (desktop-restore-frames)
3224 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3225 (desktop-restore-reuses-frames): Doc tweaks.
3226
3227 * electric.el (electric-indent-mode): Doc fix.
3228
3229 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3230
3231 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3232 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3233 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3234 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3235 (cvs-dired-use-hook): Fix docstring typos.
3236 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3237 Doc fixes.
3238
3239 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3240 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3241 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3242 (cvs-execute-single-dir): Fix docstring typos.
3243
3244 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3245 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3246
3247 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3248
3249 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3250 Fix docstring typos.
3251
3252 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3253
3254 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3255 called from jump-to-register after unloading the frameset package.
3256
3257 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3260 (bug#16975). Deactivate the mark before setting it to nil.
3261 (activate-mark): Do nothing if region is already active.
3262
3263 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3264
3265 * frameset.el (frameset--target-display): Remove definition; declare.
3266 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3267
3268 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3271 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3272 when the advice is pending.
3273 (advice-remove): Remove this marker when not needed any more.
3274
3275 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3276
3277 * frameset.el: Separate options for reusing frames and cleaning up.
3278 (frameset--reuse-list): Remove definition; declare.
3279 (frameset--action-map): Declare.
3280 (frameset--find-frame-if): Doc fix.
3281 (frameset--restore-frame): Cache frame action.
3282 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3283 how to clean up the frame list after restoring. Remove cleaning
3284 options from REUSE-FRAMES. Change all keyword values to symbols.
3285 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3286
3287 * desktop.el (desktop-restore-forces-onscreen)
3288 (desktop-restore-reuses-frames): Use non-keyword values.
3289 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3290
3291 2014-03-10 Glenn Morris <rgm@gnu.org>
3292
3293 * files.el (find-file): Doc fix: update info node name.
3294
3295 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3296 Doc fix: remove references to deleted info nodes.
3297
3298 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3299
3300 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3301 Do not add `nil' to the environment, when there's no remote `locale'.
3302 (tramp-find-inline-encoding): Check, that the remote host has
3303 installed perl, before sending scripts.
3304
3305 2014-03-10 Leo Liu <sdl.web@gmail.com>
3306
3307 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3308 Clear eldoc-last-message. (Bug#16920)
3309
3310 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3311
3312 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3313 (bug#14430).
3314
3315 2014-03-09 Juri Linkov <juri@jurta.org>
3316
3317 * ansi-color.el (ansi-color-names-vector): Copy default colors
3318 from `xterm-standard-colors' that look well on the default white
3319 background (and also on the black background) to avoid illegible
3320 color combinations like yellow-on-white and white-on-white.
3321 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3322
3323 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3324
3325 * frameset.el (frameset-restore): When no frame is visible, do not
3326 generate a list of frames, just make visible the selected one.
3327
3328 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3329
3330 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3331 it only contains the repository root. (Bug#16897)
3332
3333 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3334
3335 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3336 only when `remote-file-name-inhibit-cache' is nil.
3337 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3338
3339 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3340
3341 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3342 Fix doc-strings.
3343 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3344 fit-frame-to-buffer variable. Fix doc-string.
3345 (fit-window-to-buffer): Set ONLY argument in call of
3346 fit-frame-to-buffer. Fix doc-string.
3347
3348 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3349
3350 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3351 (tramp-action-password): Clear password cache if needed.
3352 (tramp-read-passwd): Do not clear password cache.
3353
3354 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3355 cache unless it is the first password request.
3356
3357 2014-03-06 Glenn Morris <rgm@gnu.org>
3358
3359 * simple.el (newline): Doc tweak.
3360
3361 * emacs-lisp/shadow.el (load-path-shadows-find):
3362 Ignore dir-locals. (Bug#12357)
3363
3364 2014-03-05 Glenn Morris <rgm@gnu.org>
3365
3366 * files.el (interpreter-mode-alist):
3367 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3368
3369 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3370
3371 * frameset.el (frameset--initial-params): Filter out null entries.
3372
3373 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3374
3375 * window.el (window-min-height, window-min-width):
3376 Rewrite doc-strings.
3377 (window-body-size): Add PIXELWISE argument to make it consistent
3378 with its callees.
3379
3380 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3381
3382 * finder.el (finder-mode-map, finder-mode-syntax-table):
3383 Revert part of 2014-02-28 change.
3384
3385 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3386
3387 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3388 (eww-setup-buffer): Clear next/prev/etc more reliably.
3389 (eww-textarea-map): [tab] doesn't work on tty.
3390 Reported by Mario Lang.
3391
3392 * net/shr.el (shr-map): Ditto.
3393
3394 2014-03-04 Glenn Morris <rgm@gnu.org>
3395
3396 * minibuffer.el (completion-hilit-commonality):
3397 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3398
3399 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3400
3401 * hilit-chg.el (hilit-chg-unload-function): New function.
3402 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3403 (hilit-chg-map-changes): Prefer cardinal number to digit.
3404 (hilit-chg-display-changes): Reflow docstring.
3405 (highlight-changes-rotate-faces): Remove superfluous backslash.
3406
3407 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3408
3409 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3410 `tramp-send-command-and-check'.
3411
3412 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3413
3414 * hexl.el (hexl-address-region, hexl-ascii-region)
3415 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3416 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3417 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3418 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3419 (hexl-mode): Doc fix.
3420 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3421 (hexl-mode-ruler): Fix typos in docstrings.
3422
3423 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3424 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3425 Remove superfluous backslashes.
3426 (strokes-last-stroke, strokes-global-map, strokes-mode):
3427 Reflow docstrings.
3428 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3429 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3430 (strokes-distance-squared, strokes-global-set-stroke)
3431 (strokes-global-set-stroke-string): Doc fixes.
3432 (strokes-help): Fix typos; reflow docstring.
3433
3434 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3435
3436 * window.el (window-in-direction): Fix doc-string.
3437
3438 2014-03-04 Glenn Morris <rgm@gnu.org>
3439
3440 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3441 Explicit error if no grammar.
3442 (smie-config-save): Doc fix. Fix quote typo.
3443
3444 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3447 electric-indent-mode-hook if we obey electric-indent-mode.
3448 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3449 decide whether we obey electric-indent-mode.
3450 (c-change-set-fl-decl-start, c-extend-after-change-region):
3451 Silence warnings.
3452 (c-electric-indent-mode-hook): Assume we do want to obey
3453 electric-indent-mode.
3454
3455 * electric.el (electric-indent-mode-has-been-called): Remove.
3456 (electric-indent-mode): Fix accordingly.
3457
3458 * files.el (hack-local-variables): Mention file name in warning.
3459
3460 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3461
3462 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3463
3464 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3465 * simple.el (delete-forward-char): Mark as interactive-only.
3466
3467 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3468
3469 * icomplete.el (icomplete-completions):
3470 Follow-up to 2014-03-01 change.
3471
3472 * icomplete.el: Miscellaneous doc fixes.
3473 Use Icomplete everywhere instead of icomplete for consistency.
3474 (icomplete-max-delay-chars): Fix typo.
3475 (icomplete-mode): Use \[].
3476 (icomplete-tidy, icomplete-exhibit): Reflow.
3477 (icomplete-minibuffer-setup-hook, icomplete-completions):
3478 Remove superfluous backlashes.
3479
3480 * ido.el: Miscellaneous doc fixes.
3481 Use Ido everywhere instead of ido or `ido' for consistency.
3482 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3483 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3484 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3485 (ido-separator): Extract obsolescence info from docstring and declare
3486 with make-obsolete-variable.
3487 (ido-minibuffer-setup-hook): Simplify example.
3488 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3489 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3490 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3491 (ido-everywhere): Reflow docstring.
3492 (ido-toggle-vc): Doc fix.
3493 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3494 of long list of keybindings.
3495
3496 2014-03-03 Glenn Morris <rgm@gnu.org>
3497
3498 * frame.el (display-pixel-height, display-pixel-width)
3499 (display-mm-dimensions-alist, display-mm-height)
3500 (display-mm-width): Doc tweaks.
3501
3502 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3503
3504 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3505 case of undo in region.
3506
3507 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3508
3509 * window.el (fit-window-to-buffer): Fix argument in window-size
3510 call when window is horizontally combined.
3511
3512 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3513
3514 * icomplete.el (icomplete-completions): Use string-width.
3515 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3516
3517 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3518
3519 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3520 Highlight regexp options. (Bug#16914)
3521
3522 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3523
3524 * window.el (window--max-delta-1): Round down when calculating
3525 how many lines/columns we can get from a window.
3526
3527 2014-03-01 Glenn Morris <rgm@gnu.org>
3528
3529 * isearch.el (search-invisible): Doc fix.
3530
3531 * minibuffer.el (completion-hilit-commonality):
3532 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3533 * comint.el (comint-dynamic-list-completions): Doc fix.
3534 * comint.el (comint-dynamic-list-completions):
3535 * filecache.el (file-cache-minibuffer-complete):
3536 * tempo.el (tempo-display-completions):
3537 * eshell/em-hist.el (eshell-list-history):
3538 Replace use of obsolete argument of display-completion-list.
3539
3540 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3541
3542 * icomplete.el (icomplete-completions):
3543 Revert back to using "..." when ?… cannot be displayed.
3544
3545 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3546
3547 * finder.el (finder-unload-function): New function.
3548
3549 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3550
3551 * dframe.el (dframe-detach):
3552 * find-dired.el (find-dired, find-name-dired):
3553 * finder.el (finder-mode-map, finder-mode-syntax-table)
3554 (finder-headmark, finder-select, finder-mouse-select):
3555 Fix docstring typos.
3556
3557 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3558
3559 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3560 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3561 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3562 Fix doc-string based on a suggestion by Nicolas Richard
3563 <theonewiththeevillook@yahoo.fr>.
3564 * help.el (with-help-window): Fix doc-string.
3565
3566 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3567
3568 * net/shr.el (shr-image-animate): New option.
3569 (shr-put-image): Respect shr-image-animate.
3570
3571 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3572
3573 * net/tramp-adb.el (tramp-adb-parse-device-names):
3574 Use `accept-process-output'.
3575 (tramp-adb-handle-file-truename): Cache the localname only.
3576 (tramp-adb-handle-make-directory)
3577 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3578 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3579 modes cannot be changed.
3580
3581 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3582 file properties of symlinks.
3583
3584 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3585
3586 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3587 required/optional fields to match development biblatex. (Bug#16781)
3588
3589 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3590
3591 * saveplace.el (toggle-save-place):
3592 Fix argument handling. (Bug#16673)
3593
3594 2014-02-28 Glenn Morris <rgm@gnu.org>
3595
3596 * minibuffer.el (completions-first-difference)
3597 (completions-common-part, completion-hilit-commonality): Doc fixes.
3598
3599 2014-02-28 Karl Berry <karl@gnu.org>
3600
3601 * info.el (Info-mode-map): Add H for describe-mode,
3602 to synchronize with standalone Info.
3603
3604 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3605
3606 * progmodes/sql.el (sql-interactive-mode):
3607 Avoid setting global comint-input-ring-separator. (Bug#16814)
3608
3609 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3610
3611 * net/dbus.el (dbus--init-bus): Declare function.
3612 (dbus-path-local, dbus-interface-local): New defconst.
3613 (dbus-init-bus): Use them.
3614 (dbus-return-values-table): Extend doc.
3615 (dbus-handle-bus-disconnect): Extend error message.
3616
3617 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3618
3619 * subr.el (y-or-n-p): Fix double space issue in message.
3620
3621 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3622
3623 * net/tramp.el (tramp-call-process): Improve trace message.
3624 (tramp-handle-insert-file-contents): Trace error case.
3625
3626 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3627 <insert-directory>: Use `tramp-handle-insert-directory'.
3628 (tramp-adb-handle-insert-directory): Remove function.
3629 (tramp-adb-send-command-and-check): New defun, replacing
3630 `tramp-adb-command-exit-status'. Change all callees.
3631 (tramp-adb-handle-file-attributes)
3632 (tramp-adb-handle-directory-files-and-attributes): Use it.
3633 (tramp-adb-ls-output-name-less-p):
3634 Use `directory-listing-before-filename-regexp'.
3635 (tramp-adb-handle-delete-directory): Flush also file properties of
3636 the truename of directory.
3637 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3638 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3639 (tramp-adb-handle-write-region): Implement APPEND.
3640 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3641 properties correctly.
3642 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3643 variables. Check for connected devices only when needed.
3644
3645 2014-02-27 Glenn Morris <rgm@gnu.org>
3646
3647 * minibuffer.el (completion-table-dynamic)
3648 (completion-table-with-cache): Doc fixes.
3649
3650 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3651 (completing-read-multiple): Doc fixes.
3652
3653 2014-02-27 Daniel Colascione <dancol@dancol.org>
3654
3655 * minibuffer.el (completion--nth-completion): Fix indentation.
3656
3657 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3658 explicit tramp path is empty.
3659
3660 2014-02-27 Glenn Morris <rgm@gnu.org>
3661
3662 * emacs-lisp/crm.el (completing-read-multiple):
3663 Empower help-enable-auto-load.
3664
3665 2014-02-26 Glenn Morris <rgm@gnu.org>
3666
3667 * startup.el (command-line): Don't init the tty in daemon mode.
3668
3669 Avoid calling tty-setup-hook twice, eg if a term file
3670 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3671 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3672 (tty-create-frame-with-faces): Use it.
3673 * startup.el (command-line): Pass run-hook argument
3674 to tty-run-terminal-initialization.
3675
3676 * dired.el (dired-restore-desktop-buffer): Demote errors;
3677 eg in case a glob match fails. (Bug#16884)
3678
3679 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3680
3681 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3682 error from `read-from-string'. (Bug#16850)
3683
3684 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3685 result of `completing-read' in the interactive form. (Bug#16854)
3686
3687 2014-02-25 Glenn Morris <rgm@gnu.org>
3688
3689 * image.el (image-animate, image-animate-timeout):
3690 Stop animating images in dead buffers. (Bug#16878)
3691
3692 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3693
3694 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3695 Doc fixes.
3696 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3697 * term/sun.el (sun-raw-prefix-hooks):
3698 Use tty-setup-hook instead of term-setup-hook.
3699 (terminal-init-sun): Construct message from bytecomp plist.
3700 * term/wyse50.el (enable-arrow-keys): Doc fix.
3701
3702 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3703
3704 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3705 Fix docstring typos.
3706
3707 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3708
3709 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3710
3711 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3712
3713 * minibuffer.el (completion--try-word-completion):
3714 Fix error when completing M-x commands (bug#16808).
3715
3716 2014-02-24 Leo Liu <sdl.web@gmail.com>
3717
3718 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3719
3720 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3721
3722 * apropos.el (apropos-print): Avoid formatting error when
3723 apropos-do-all and apropos-compact-layout are both t.
3724
3725 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3726
3727 * apropos.el (apropos-property, apropos-all-words-regexp)
3728 (apropos-true-hit, apropos-variable, apropos-print):
3729 Fix docstring typos, and remove obsolete comment.
3730
3731 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3732
3733 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3734 Preserve trailing "/". (Bug#16851)
3735
3736 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3737
3738 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3739 after `=>' (bug#16811).
3740 (ruby-smie-rules): Handle the inconsistent second element of the
3741 list returned by `smie-indent--parent'.
3742 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3743 method call.
3744
3745 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3746
3747 * elec-pair.el (electric-pair-text-syntax-table)
3748 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3749 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3750 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3751 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3752
3753 2014-02-22 Glenn Morris <rgm@gnu.org>
3754
3755 * imenu.el (imenu--generic-function): Doc fix.
3756
3757 * register.el (frame-configuration-to-register): Make obsolete.
3758
3759 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3760
3761 * desktop.el (desktop-save-buffer-p): Do not fail when
3762 desktop-files-not-to-save is nil. Return t for true result
3763 as the doc says.
3764
3765 2014-02-22 Daniel Colascione <dancol@dancol.org>
3766
3767 * net/secrets.el (secrets-create-item, secrets-search-items):
3768 Check that attribute values are strings, avoiding the construction
3769 of invalid dbus messages.
3770
3771 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3772
3773 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3774 defun-declarations-alist.
3775
3776 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3779 (bug#16829).
3780
3781 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3782
3783 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3784 (whitespace-newline, whitespace-trailing, whitespace-line)
3785 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3786 (whitespace-space-after-tab): Fix typo in docstrings.
3787
3788 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3789
3790 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3791
3792 * electric.el (electric-indent-functions-without-reindent):
3793 Add `yaml-indent-line'.
3794
3795 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3796
3797 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3798 It has done nothing for years; should be removed after the release.
3799
3800 * simple.el (choose-completion): Fix docstring typo.
3801 (read-quoted-char-radix): Remove unneeded * in docstring.
3802 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3803 Don't escape parentheses unnecessarily in docstrings.
3804
3805 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3806
3807 Fix handling of window-min-height/-width (Bug#16738).
3808 * window.el (window--dump-window, window--dump-frame):
3809 New functions.
3810 (window--min-size-1): Account for window dividers.
3811 When window-resize-pixelwise is nil, delay rounding till after the
3812 sum of the window components has been calculated.
3813 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3814 nil make sure at least one text line and two text columns remain
3815 fully visible.
3816 (window-resize): Signal an error when window-resize-apply fails.
3817 (window--resize-child-windows): Fix calculation of by how many
3818 pixels a window can still be shrunk via window-new-normal.
3819 (adjust-window-trailing-edge): Call window--resizable with
3820 correct TRAIL argument.
3821
3822 (with-temp-buffer-window): Don't evaluate BODY within
3823 with-current-buffer (Bug#16816).
3824
3825 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3826
3827 * net/tramp.el (tramp-check-cached-permissions):
3828 Call `file-attributes' with `suffix' being a symbol but a string.
3829
3830 2014-02-21 Daniel Colascione <dancol@dancol.org>
3831
3832 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3833 (dbus-init-bus): New function: call into dbus-init-bus-1
3834 and installs a handler for the disconnect signal.
3835 (dbus-call-method): Rewrite to look for result in cons.
3836 (dbus-call-method-handler): Store result in cons.
3837 (dbus-check-event): Recognize events with nil sender as valid.
3838 (dbus-handle-bus-disconnect): New function. React to bus
3839 disconnection signal by synthesizing dbus error for each
3840 pending synchronous or asynchronous call.
3841 (dbus-notice-synchronous-call-errors): New function.
3842 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3843 is true, not all the time.
3844
3845 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3846
3847 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3848 Remove obsolescence declarations, these variables do not exist anymore.
3849
3850 * savehist.el (savehist-save-minibuffer-history)
3851 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3852 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3853 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3854 mostly, refer to "Savehist mode" when talking about the mode,
3855 and not the function.
3856
3857 * saveplace.el (save-place): Remove redundant info in docstring.
3858 (save-place-forget-unreadable-files, toggle-save-place)
3859 (save-place-forget-unreadable-files, save-place-dired-hook):
3860 Fix typos and remove unneeded backslashes.
3861
3862 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3863
3864 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3865 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3866
3867 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3868 <insert-directory>: Use `tramp-handle-insert-directory'.
3869 (tramp-gvfs-handle-insert-directory): Remove function.
3870
3871 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3872 Call `tramp-handle-insert-directory'.
3873
3874 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3875
3876 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3877 before the start of buffer/region (bug#16799).
3878
3879 2014-02-20 Glenn Morris <rgm@gnu.org>
3880
3881 * isearch.el (search-invisible): Doc fix.
3882
3883 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3884
3885 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3886 (bug#16657).
3887
3888 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3889
3890 * frameset.el (frameset-restore): Delay removing an old frame's
3891 duplicate id until the new frame has been correctly created.
3892
3893 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3894
3895 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3896 (tramp-check-cached-permissions): Call `file-attributes' if the
3897 cache is empty.
3898
3899 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3900 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3901
3902 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3903 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3904 (tramp-gvfs-maybe-open-connection): Set always connection
3905 properties, even if target is mounted already.
3906
3907 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3908 Set tramp-autoload cookie.
3909 (tramp-get-remote-touch): New defun.
3910 (tramp-sh-handle-set-file-times): Use it.
3911 (tramp-sh-handle-directory-files-and-attributes):
3912 Use `tramp-handle-directory-files-and-attributes' if neither stat
3913 nor perl are available on the remote host.
3914
3915 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3916 "/". Write long listing only when "l" belongs to the switches.
3917
3918 * net/trampver.el: Update release number.
3919
3920 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3921
3922 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3923
3924 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3925
3926 * window.el (window-state-put): Allow WINDOW to refer to an
3927 internal window (Bug#16793).
3928
3929 2014-02-19 Glenn Morris <rgm@gnu.org>
3930
3931 * textmodes/remember.el: Move provide statement to end.
3932 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3933 (remember-notes): Doc fixes.
3934
3935 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * delsel.el (delete-char): Restore incorrectly erased property
3938 (bug#16795).
3939
3940 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3941
3942 * frameset.el (frameset--restore-frame): When a frame is being reused
3943 and its root window is not alive, delete all the frame's windows before
3944 restoring the window state. This works around the issue in bug#16793.
3945
3946 2014-02-18 Glenn Morris <rgm@gnu.org>
3947
3948 * textmodes/remember.el (remember-data-directory)
3949 (remember-directory-file-name-format, remember-store-in-files)
3950 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3951 (remember-notes-save-and-bury-buffer)
3952 (remember-notes--kill-buffer-query): Doc fixes.
3953
3954 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3955
3956 2014-02-17 Alan Mackenzie <acm@muc.de>
3957
3958 Connect electric-indent-mode up with CC Mode. Bug #15478.
3959 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3960 to electric-indent-{,local-}-mode.
3961 (c-basic-common-init): Set electric-indent-inhibit.
3962 Initialise c-electric-flag from electric-indent-mode.
3963 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3964 New hook functions which propagate electric-indent-mode to CC mode.
3965
3966 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3967 hit, toggle electric-indent-local-mode.
3968
3969 * electric.el (electric-indent-mode-has-been-called):
3970 New variable.
3971
3972 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3973
3974 * frameset.el (frameset-cfg-id): New function.
3975 (frameset--reuse-frame, frameset-restore): Use it.
3976 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3977
3978 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * ido.el (ido-file-internal): Remove unused var `d'.
3981 Use \` for to match BoS. Fit within 80n columns.
3982
3983 2014-02-17 Daniel Colascione <dancol@dancol.org>
3984
3985 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3986 dbus-call-method check for completion using a busy-wait loop with
3987 gradual backoff.
3988
3989 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3990
3991 Sync with Tramp 2.2.9.
3992
3993 * net/trampver.el: Update release number.
3994
3995 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3996
3997 * ido.el (ido-file-internal): Don't add the name of an existing
3998 directory twice. (Bug#16747)
3999
4000 2014-02-16 Glenn Morris <rgm@gnu.org>
4001
4002 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4003 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
4004
4005 2014-02-15 Michael R. Mauger <michael@mauger.com>
4006
4007 * progmodes/sql.el: Version 3.4
4008 (sql-oracle-options): New default value ("-L").
4009 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4010 (sql-placeholders-filter): Correct placeholder pattern.
4011 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
4012 (sql-login-delay): New variable.
4013 (sql-product-interactive): Use it.
4014
4015 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
4016
4017 * frameset.el (frameset--jump-to-register): Check that buffer is live
4018 (bug#16749).
4019
4020 2014-02-15 Glenn Morris <rgm@gnu.org>
4021
4022 * info.el (info-initialize): Revert 2014-01-10 change.
4023
4024 2014-02-14 Glenn Morris <rgm@gnu.org>
4025
4026 * replace.el (map-query-replace-regexp)
4027 (read-regexp-defaults-function, read-regexp): Doc fixes.
4028
4029 * dired.el (dired-read-regexp):
4030 * faces.el (list-faces-display):
4031 * misearch.el (multi-isearch-read-matching-buffers)
4032 (multi-isearch-read-matching-files):
4033 * play/cookie1.el (cookie-apropos):
4034 * progmodes/grep.el (grep-read-regexp): Doc fixes.
4035
4036 * textmodes/remember.el (remember): Use frameset-to-register
4037 rather than frame-configuration-to-register.
4038
4039 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
4040
4041 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4042 incorrect keybinding.
4043
4044 2014-02-13 Daniel Colascione <dancol@dancol.org>
4045
4046 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4047 when adding overlays so that line numbers from compiler match line
4048 numbers we use.
4049
4050 2014-02-13 Glenn Morris <rgm@gnu.org>
4051
4052 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4053
4054 * jit-lock.el (jit-lock-mode): Doc fix.
4055
4056 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4057
4058 * apropos.el (apropos-read-pattern): When the user passes an empty
4059 string, give a more helpful error message than "Wrong type
4060 argument: stringp, nil".
4061
4062 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4065
4066 2014-02-13 Glenn Morris <rgm@gnu.org>
4067
4068 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4069
4070 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4073 shift-select commands.
4074
4075 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4076
4077 * progmodes/js.el (js-indent-line): Don't widen.
4078 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4079
4080 2014-02-12 Glenn Morris <rgm@gnu.org>
4081
4082 * icomplete.el (icomplete): Add info-link to defgroup.
4083 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4084 (icomplete-minibuffer-map, icomplete-mode)
4085 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4086
4087 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4088 (package-menu-filter): Rename from package-menu-filter-interactive.
4089 Doc fix.
4090
4091 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4092
4093 * frameset.el (frameset--jump-to-register): Select the required
4094 window and buffer before restoring position (bug#16696).
4095
4096 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4097
4098 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4099
4100 2014-02-10 Glenn Morris <rgm@gnu.org>
4101
4102 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4103
4104 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4105
4106 * w32-common-fns.el (x-get-selection): Doc fix.
4107 * select.el (x-get-selection): Doc fix. (Bug#15109)
4108
4109 * face-remap.el (face-remap-add-relative)
4110 (face-remap-remove-relative, face-remap-reset-base)
4111 (face-remap-set-base): Call force-mode-line-update to redisplay
4112 the current buffer due to potential change in faces. (Bug#16709)
4113
4114 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4115
4116 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4117 script more robustly.
4118
4119 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4120
4121 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4122
4123 * simple.el (choose-completion): Doc fix (bug#14160).
4124
4125 * subr.el (event-start): Say what a nil EVENT value means.
4126
4127 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4128 (bug#14197).
4129
4130 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4131
4132 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4133
4134 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4135
4136 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4137 predicate function (bug#15455).
4138
4139 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4140
4141 * ielm.el (inferior-emacs-lisp-mode): Instead of
4142 `comment-use-global-state', set `comment-use-syntax'.
4143
4144 2014-02-10 Glenn Morris <rgm@gnu.org>
4145
4146 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4147
4148 2014-02-09 Alan Mackenzie <acm@muc.de>
4149
4150 Fix c-invalidate-state-cache on narrowed buffers.
4151 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4152 Widen when setting and clearing the CPP delimiter properties.
4153
4154 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4155
4156 * help.el (describe-bindings): Doc fix (bug#9888).
4157
4158 * files.el (save-buffer): Use ARG as the parameter name for
4159 consistency (bug#10346).
4160 (save-buffer): Clarify the 0 argument (bug#10346).
4161
4162 * cus-edit.el (customize-apropos): Fix error string.
4163 (custom-buffer-create): Doc fix (bug#11122).
4164 (custom-sort-items): Doc fix (bug#11121).
4165
4166 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4167
4168 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4169 (icomplete-simple-completing-p): Mention the previous variable.
4170
4171 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4172 meaning of the parameter (bug#12282).
4173
4174 * files.el (find-file-noselect): Clarify prompt when changing
4175 readedness (bug#13261).
4176 (locate-file): Suffixes aren't returned, so don't say that they
4177 are (bug#12674).
4178 (backup-inhibited): Doc clarification (bug#12525).
4179
4180 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4181 before we actually start to delete things (bug#16331).
4182
4183 * subr.el (event-start): Doc fix (bug#14228).
4184 (event-end): Ditto.
4185
4186 2014-02-09 Glenn Morris <rgm@gnu.org>
4187
4188 * emacs-lisp/warnings.el (lwarn):
4189 Empower help-enable-auto-load. (Bug#15940)
4190
4191 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4192
4193 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4194 (Bug#16690)
4195
4196 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4197
4198 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4199 Insert output at end of buffer. (Bug#16120)
4200
4201 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4202
4203 * simple.el (choose-completion-string-functions): Document new
4204 calling convention (bug#14153).
4205 (execute-extended-command): Clarify doc string (bug#13373).
4206
4207 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4208
4209 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4210 (find-grep-dired): Doc fix (bug#14288).
4211
4212 2014-02-08 Juri Linkov <juri@jurta.org>
4213
4214 * isearch.el (isearch-quote-char): Check character validity
4215 like in `quoted-insert' (bug#16677).
4216
4217 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4218
4219 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4220
4221 * isearch.el (isearch-hide-immediately): Doc clarification
4222 (bug#14723).
4223
4224 * simple.el (line-move): Document utility function used many
4225 places in the Emacs sources (bug#14843).
4226
4227 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4228 (dired-prev-marked-file): Doc fix (bug#14855).
4229 (dired-up-directory): Doc fix (bug#14848).
4230
4231 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4232
4233 * files.el (file-relative-name): Doc fix (bug#15159).
4234
4235 * fringe.el (fringe-styles): Doc fix (bug#15239).
4236
4237 * isearch.el (isearch-filter-predicate): Documentation typo fix
4238 (bug#15474).
4239
4240 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4241
4242 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4243
4244 * replace.el (replace-match-maybe-edit): Doc clarification
4245 (bug#15632).
4246
4247 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4248
4249 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4250
4251 2014-02-08 Glenn Morris <rgm@gnu.org>
4252
4253 * help-fns.el (describe-variable):
4254 Check {file,dir}-local-variables-alist, and buffer-file-name,
4255 in the correct buffer.
4256
4257 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4258
4259 * help-fns.el (describe-variable): Fix the case where
4260 a value is directory-local with no dir-locals file. (Bug#16635)
4261
4262 2014-02-08 Glenn Morris <rgm@gnu.org>
4263
4264 * abbrev.el (edit-abbrevs-mode):
4265 Derive from fundamental-mode. (Bug#16682)
4266
4267 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4268
4269 * simple.el (quoted-insert): Check character validity (bug#16677).
4270
4271 2014-02-07 Juri Linkov <juri@jurta.org>
4272
4273 * desktop.el (desktop-read): Claim the lock when the owner is not
4274 the current process. (Bug#16157)
4275
4276 2014-02-07 Juri Linkov <juri@jurta.org>
4277
4278 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4279 to "\\` ". (Bug#16651)
4280
4281 2014-02-07 Juri Linkov <juri@jurta.org>
4282
4283 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4284 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4285 (desktop-auto-save-cancel-timer): New function with some code from
4286 `desktop-auto-save-set-timer'.
4287 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4288 Instead of setting `desktop-save-mode' to nil, call
4289 `desktop-save-mode' with arg 0. (Bug#16630)
4290
4291 2014-02-07 Glenn Morris <rgm@gnu.org>
4292
4293 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4294 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4295 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4296
4297 * obsolete/iswitchb.el: Move to obsolete/.
4298 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4299 since obsolete/ is not scanned for autoloads.
4300 * emacs-lisp/authors.el (authors-valid-file-names):
4301 Add iswitchb.el.
4302
4303 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4304 Disable now non-functional find-file-hook.
4305
4306 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4307
4308 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4309 instead of ";" in order to avoid additional prompts. Let heredoc
4310 scripts read from tty. (Bug#16582)
4311 (tramp-send-command): No special handling of heredocs, it isn't
4312 necessary anymore.
4313
4314 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4317 with a space (bug#16664). Limit the symbols considered to the ones
4318 that are bound or fbound (bug#16646).
4319
4320 2014-02-06 Glenn Morris <rgm@gnu.org>
4321
4322 * epa.el (epa-mail-aliases): Doc fix.
4323
4324 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4325
4326 * emacs-lisp/lisp.el (lisp-completion-at-point):
4327 Use `completion-table-merge' instead of `completion-table-in-turn'
4328 (bug#16604).
4329
4330 * minibuffer.el (completion-table-merge): New function.
4331
4332 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4333
4334 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4335 (tramp-sh-handle-set-file-acl)
4336 (tramp-sh-handle-start-file-process)
4337 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4338 (tramp-find-executable, tramp-send-command): Use it.
4339
4340 2014-02-05 Glenn Morris <rgm@gnu.org>
4341
4342 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4343
4344 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4345
4346 * progmodes/python.el (python-shell-send-string)
4347 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4348
4349 2014-02-04 Anders Lindgren <andlind@gmail.com>
4350
4351 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4352 the names (bug#16620).
4353
4354 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4355
4356 * faces.el (window-divider): New default value. Rewrite doc-string.
4357 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4358
4359 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4360
4361 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4362 `protected' and `public' can also be called without arguments.
4363
4364 2014-02-03 Glenn Morris <rgm@gnu.org>
4365
4366 * register.el (window-configuration-to-register)
4367 (frame-configuration-to-register): Unadvertise unused argument.
4368 * frameset.el (frameset-to-register): Remove unused argument.
4369
4370 * frameset.el (frameset-to-register):
4371 * kmacro.el (kmacro-to-register):
4372 * register.el (increment-register):
4373 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4374 (calc-append-to-register, calc-prepend-to-register):
4375 * play/gametree.el (gametree-layout-to-register)
4376 (gametree-apply-register-layout):
4377 * textmodes/picture.el (picture-clear-rectangle-to-register)
4378 (picture-yank-rectangle-from-register):
4379 * vc/emerge.el (emerge-combine-versions-register):
4380 Use register-read-with-preview to read registers.
4381
4382 2014-02-03 João Távora <joaotavora@gmail.com>
4383
4384 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4385 when at beginning of (possibly narrowed) buffer.
4386
4387 2014-02-02 Daniel Colascione <dancol@dancol.org>
4388
4389 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4390 Also try to display local help from just before point.
4391
4392 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4393
4394 c-parse-state. Don't "append-lower-brace-pair" in certain
4395 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4396 recognised as a comment.
4397
4398 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4399 as well as normal comment starter.
4400 (c-parse-state-get-strategy): Extra return possibility
4401 'back-and-forward.
4402 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4403 return value list to indicate replacement of a brace-pair cons
4404 with its car.
4405 (c-parse-state-1): With 'back-and-forward, only call
4406 c-append-lower-brace-pair-to state-cache when cons-separated.
4407
4408 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4409
4410 * term/ns-win.el (ns-suspend-error): New function.
4411 (ns-initialize-window-system): Add ns-suspend-error to
4412 suspend-hook (Bug#16612).
4413
4414 2014-02-02 Daniel Colascione <dancol@dancol.org>
4415
4416 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4417 Make loading cc-mode silent.
4418
4419 2014-02-02 Daniel Colascione <dancol@dancol.org>
4420
4421 * comint.el (comint-prompt-read-only): Change doc to suggest
4422 remap keybinding.
4423
4424 2014-02-02 Glenn Morris <rgm@gnu.org>
4425
4426 * register.el (register-read-with-preview, point-to-register)
4427 (window-configuration-to-register, frame-configuration-to-register)
4428 (jump-to-register, number-to-register, view-register, insert-register)
4429 (copy-to-register, append-to-register, prepend-to-register)
4430 (copy-rectangle-to-register): Doc fixes.
4431
4432 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4433
4434 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4435 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4436 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4437 * help-fns.el (describe-function-1): Use it.
4438
4439 2014-02-02 Glenn Morris <rgm@gnu.org>
4440
4441 * register.el (register-preview-default): New function,
4442 split from register-preview.
4443 (register-preview-function): Rename from register-preview-functions,
4444 make it not a hook.
4445 (register-preview): Use register-preview-function.
4446 (register-read-with-preview): Error on non-character event. (Bug#16595)
4447
4448 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4449
4450 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4451 `:' before binary operators (bug#16609). Don't check for `:'
4452 before `[' and `(', or their syntax status. A percent literal
4453 can't end with either.
4454 (ruby-font-lock-keywords): For built-ins that require arguments,
4455 check that they're followed by something that looks like argument
4456 (bug#16610).
4457
4458 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4459
4460 * subr.el (butlast): Document what an omitted N means (bug#13437).
4461 (nbutlast): Ditto.
4462
4463 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4464
4465 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4466 depth shallower (bug#16587).
4467 (shr-tag-svg): Respect `shr-inhibit-images'.
4468 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4469
4470 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4471
4472 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4473 (ruby-smie-grammar): Make "." right-associative. Make its priority
4474 lower than the ternary and all binary operators.
4475 (ruby-smie-rules): Indent "(" relative to the first non-"."
4476 parent, or the first "." parent at indentation.
4477 Use `ruby-align-chained-calls' for indentation of "." tokens.
4478 (Bug#16593)
4479
4480 2014-01-31 Juri Linkov <juri@jurta.org>
4481
4482 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4483 from `make-hash-table'.
4484
4485 * textmodes/ispell.el (ispell-init-process): Change message format
4486 to be consistent with other messages.
4487
4488 2014-01-31 Glenn Morris <rgm@gnu.org>
4489
4490 * delsel.el (delete-selection-mode): Doc fix.
4491
4492 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4493 (trace-function-background): Doc fixes.
4494
4495 * ido.el (ido-use-virtual-buffers): Doc fix.
4496 Reset :version, since the default value has not changed.
4497
4498 * register.el (register-preview-delay, register-read-with-preview):
4499 Doc fixes.
4500
4501 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4502 do not mess with mail-buffer position (fixes 2009-11-03 change).
4503 * progmodes/cc-mode.el (c-submit-bug-report):
4504 Check auto-fill-mode is bound. (Bug#16592)
4505
4506 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4507
4508 * startup.el (fancy-splash-image-file): New function,
4509 split from fancy-splash-head.
4510 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4511 so that we are both using the same image. (Bug#16574)
4512
4513 2014-01-30 Glenn Morris <rgm@gnu.org>
4514
4515 * simple.el (eval-expression): Doc fix.
4516
4517 * hexl.el (hexl-mode-hook):
4518 * ielm.el (ielm-mode-hook):
4519 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4520 (lisp-interaction-mode-hook):
4521 * progmodes/cfengine.el (cfengine3-documentation-function):
4522 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4523
4524 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4527 is a symbol (bug#16584).
4528
4529 2014-01-30 Glenn Morris <rgm@gnu.org>
4530
4531 * help.el (help-for-help-internal): Add "P" to text.
4532
4533 2014-01-29 Glenn Morris <rgm@gnu.org>
4534
4535 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4536
4537 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4538
4539 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4540 height constraints.
4541
4542 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4543
4544 * progmodes/hideif.el: Extend to full CPP expression syntax.
4545 (hif-token-alist): Add missing tokens.
4546 (hif-token-regexp): Add support for float/octal/hex immediates.
4547 (hif-string-literal-regexp): New const.
4548 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4549 (hif-exprlist): New function.
4550 (hif-parse-if-exp): Use it.
4551 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4552 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4553 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4554 (hif-logxor, hif-comma): New functions.
4555
4556 2014-01-28 Glenn Morris <rgm@gnu.org>
4557
4558 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4559
4560 * indent.el (tab-stop-list): Doc fix. Add :version.
4561
4562 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4563 (cvs-append-to-ignore): Add compatibility alias.
4564
4565 2014-01-27 Glenn Morris <rgm@gnu.org>
4566
4567 * dired.el (dired-hide-details-mode): Don't autoload it,
4568 since it cannot be used outside Dired buffers anyway.
4569
4570 * emulation/cua-base.el (cua-mode): Doc fix.
4571
4572 * dired.el (dired-hide-details-hide-symlink-targets)
4573 (dired-hide-details-hide-information-lines)
4574 (dired-hide-details-mode): Doc fixes.
4575
4576 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4577 * strokes.el (strokes-file): Doc fix. Bump :version.
4578 (strokes-help): Doc fix.
4579 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4580 * emulation/viper.el (viper): Doc fix for custom group.
4581 (top-level): Remove oh-so-no-longer-relevant text about vip.
4582 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4583
4584 * ido.el (ido-save-directory-list-file):
4585 * saveplace.el (save-place-file):
4586 * calendar/timeclock.el (timeclock-file):
4587 * net/quickurl.el (quickurl-url-file):
4588 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4589 * progmodes/idlwave.el (idlwave-config-directory):
4590 * textmodes/remember.el (remember-data-file):
4591 Bump :version.
4592
4593 2014-01-26 Glenn Morris <rgm@gnu.org>
4594
4595 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4596 Doc fix. Make obsolete.
4597 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4598
4599 * sort.el (delete-duplicate-lines): Doc fix.
4600
4601 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4602
4603 * progmodes/ada-mode.el (ada):
4604 * woman.el (woman): Link to info manual and Commentary section.
4605
4606 * progmodes/flymake.el (flymake):
4607 * nxml/nxml-mode.el (nxml):
4608 * net/eww.el (eww):
4609 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4610 * htmlfontify.el (htmlfontify):
4611 * ses.el (ses):
4612 * epa.el (epa):
4613 * ido.el (ido): Link to info manual.
4614
4615 2014-01-25 Leo Liu <sdl.web@gmail.com>
4616
4617 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4618
4619 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4620
4621 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4622 (bug#16537).
4623
4624 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4625
4626 * net/eww.el (eww-download-callback):
4627 Fix reference to eww-download-directory.
4628
4629 * emacs-lisp/bytecomp.el (byte-compile-file):
4630 Remove unused local variable `file-name'.
4631
4632 2014-01-24 Glenn Morris <rgm@gnu.org>
4633
4634 * woman.el (woman-default-faces, woman-monochrome-faces):
4635 Fix obsolescence specification.
4636
4637 * subr.el (with-demoted-errors): Doc fix.
4638
4639 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4642 (cl--macroexp-fboundp): New function.
4643 (cl--make-type-test): Use it.
4644
4645 2014-01-23 Glenn Morris <rgm@gnu.org>
4646
4647 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4648 * simple.el (eval-expression): Doc fixes.
4649
4650 2014-01-22 Glenn Morris <rgm@gnu.org>
4651
4652 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4653
4654 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 * emacs-lisp/package.el: Write files silently.
4657 (package-autoload-ensure-default-file, package--write-file-no-coding)
4658 (package-generate-description-file, package--download-one-archive)
4659 (package-install-from-archive): Tell `write-region' to stay quiet.
4660 (package-menu-mode, package-menu--print-info): Omit the Archive column
4661 if there's only one archive.
4662 (package-all-keywords, package--has-keyword-p): Remove dead code.
4663
4664 2014-01-22 Glenn Morris <rgm@gnu.org>
4665
4666 * version.el (emacs-bzr-version-bzr): Fix typo.
4667
4668 * version.el (emacs-repository-get-version):
4669 Check either .bzr or .git, but not both.
4670 Make the git case actually use the DIR argument, and return nil
4671 rather than the empty string.
4672 Avoid error if .git exists but the git executable is not found.
4673
4674 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4675
4676 Fixes in window size functions around Bug#16430 and Bug#16470.
4677 * window.el (window-total-size, window-size): New argument ROUND.
4678 (window--min-delta-1, window-min-delta, window--max-delta-1):
4679 Be more conservative when calculating the numbers of lines or
4680 columns a window can shrink (Bug#16430).
4681 (fit-window-to-buffer): Simplify code.
4682 * term.el (term-window-width): Call window-body-width again.
4683
4684 2014-01-22 Glenn Morris <rgm@gnu.org>
4685
4686 * image.el (image-format-suffixes): Doc fix.
4687
4688 * international/quail.el (quail-define-package): Doc fix.
4689
4690 * emacs-lisp/authors.el (authors-valid-file-names)
4691 (authors-renamed-files-alist): Additions.
4692
4693 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4694 reverts 2014-01-09 change. (Bug#16422)
4695
4696 * calc/calc-embed.el (thing-at-point-looking-at):
4697 * emacs-lisp/map-ynp.el (x-popup-dialog):
4698 * obsolete/lmenu.el (x-popup-dialog):
4699 * emacs-lisp/package.el (url-recreate-url):
4700 * mail/mailclient.el (clipboard-kill-ring-save):
4701 * subr.el (x-popup-dialog): Update declaration.
4702 * mail/rmail.el (rmail-mime-message-p):
4703 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4704
4705 2014-01-21 Daniel Colascione <dancol@dancol.org>
4706
4707 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4708 Correctly detect when we're inside an arithmetic expansion form
4709 containing nested parenthesis.
4710 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4711 to detect cases where we shouldn't expand "<<" to a heredoc
4712 skeleton.
4713
4714 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4717 (eldoc--message-command-p): New function.
4718 (eldoc-display-message-p): Use it.
4719 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4720 message is not automatically erased for us.
4721 (eldoc-print-current-symbol-info): Erase previous message, if any.
4722
4723 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4724
4725 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4726 specify it's an interactive function.
4727
4728 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4729 Fix regex used for scanning for citation keys which failed for
4730 citations with optional arguments.
4731
4732 2014-01-21 Leo Liu <sdl.web@gmail.com>
4733
4734 * simple.el (read--expression): Don't enable eldoc-mode.
4735
4736 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4737
4738 * simple.el (move-beginning-of-line): Make sure we don't move forward
4739 (bug#16497).
4740
4741 2014-01-20 Juri Linkov <juri@jurta.org>
4742
4743 * saveplace.el (toggle-save-place, save-place-to-alist)
4744 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4745 'dired-mode) before checking for dired-directory. (Bug#16477)
4746
4747 2014-01-20 Juri Linkov <juri@jurta.org>
4748
4749 * indent.el (indent-line-to): Use backward-to-indentation
4750 instead of back-to-indentation. (Bug#16461)
4751
4752 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4753
4754 Revert some of the CANNOT_DUMP fix (Bug#16494).
4755 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4756 but fixing this can wait until after the next release.
4757 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4758
4759 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4760
4761 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4762 Use `password-word-equivalents'.
4763 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4764 to t. (Bug#5664, Bug#13124)
4765
4766 2014-01-19 Alan Mackenzie <acm@muc.de>
4767
4768 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4769 points.
4770 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4771 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4772 * progmodes/cc-mode.el (c-before-change, c-after-change)
4773 (c-font-lock-fontify-region): Bind it here.
4774
4775 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4776
4777 * term.el (term-window-width): Call window-text-width instead of
4778 window-width (Bug#16470).
4779
4780 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4781
4782 * simple.el (password-word-equivalents): Remove duplicates.
4783 Sort, to make this easier next time.
4784 Downcase. Omit ": " after "jelszó".
4785
4786 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4787
4788 * term/common-win.el (saved-region-selection): Defvar it.
4789 (x-select-text): Set saved-region-selection (Bug#16382).
4790
4791 2014-01-18 Glenn Morris <rgm@gnu.org>
4792
4793 * emacs-lisp/authors.el (authors-aliases)
4794 (authors-renamed-files-alist): Add some entries.
4795
4796 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4797
4798 * net/tramp.el (tramp-password-prompt-regexp):
4799 Use `password-word-equivalents' if available.
4800 (tramp-action-password, tramp-process-one-action)
4801 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4802
4803 2014-01-17 Chong Yidong <cyd@gnu.org>
4804
4805 * simple.el (password-word-equivalents): New defcustom.
4806 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4807 to 24.4.
4808 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4809 to t. (Bug#13124)
4810
4811 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4812
4813 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4814 (ruby-align-to-stmt-keywords): Change the default value.
4815 Use `ruby-alignable-keywords' to generate the possible customization
4816 choices.
4817 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4818 keywords, check against the value of `ruby-alignable-keywords'
4819 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4820
4821 2014-01-17 Glenn Morris <rgm@gnu.org>
4822
4823 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4824
4825 Make M-x authors return zero *Authors Errors* from current logs.
4826 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4827 (authors-ignored-files): Add some entries, remove others.
4828 (authors-ambiguous-files, authors-valid-file-names):
4829 Add some entries.
4830 (authors-renamed-files-alist): Add, remove, and adjust entries.
4831 (authors-renamed-files-regexps): Add some entries.
4832 Remove some very broad ones. Make some entries `lax'.
4833 (authors-lax-changelogs): New constant.
4834 (authors-disambiguate-file-name): Treat top-level specially.
4835 (authors-lax-changelog-p): New function.
4836 (authors-canonical-file-name): Check file as written against
4837 authors-valid-file-names. Do not special-case etc/.
4838 Handle `lax' logs and authors-renamed-files-regexps elements.
4839
4840 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4841
4842 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4843 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4844 callers.
4845
4846 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4847
4848 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4849 Assume we're already in the proper buffer.
4850 Inspired by Anders Lindgren <andlind@gmail.com>.
4851 (follow-post-command-hook): Call it from the right buffer.
4852 (follow-comint-scroll-to-bottom): Adjust call.
4853 (follow-all-followers): Use get-buffer-window-list.
4854
4855 2014-01-15 Daniel Colascione <dancol@dancol.org>
4856
4857 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4858 `buffer-file-name' in interactive-form so that we don't leave
4859 pathless file names in `file-name-history'.
4860
4861 2014-01-15 Juri Linkov <juri@jurta.org>
4862
4863 * indent.el (indent-rigidly): Set deactivate-mark to nil
4864 in transient indentation mode. (Bug#16438)
4865
4866 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4867
4868 * emacs-lisp/package.el (package-desc-keywords): New function
4869 (Bug#16222).
4870 (describe-package-1, package-all-keywords)
4871 (package--has-keyword-p): Use it.
4872
4873 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4874
4875 * simple.el (define-alternatives): When creating the
4876 COMMAND-alternatives variable, assign COMMAND as its definition
4877 name so that `describe-variable' can relocate it.
4878
4879 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4880
4881 * font-lock.el (font-lock-keywords): Fix typo in docstring
4882 (bug#16307).
4883
4884 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4885
4886 * ispell.el (ispell-region): Reset `in-comment' for new line
4887 instead of wrongly reset `add-coment' (bug#13577).
4888
4889 2014-01-14 Daiki Ueno <ueno@gnu.org>
4890
4891 * epa-file.el (epa-file-write-region): Encode the region according
4892 to `buffer-file-format'. Problem reported at:
4893 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4894
4895 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4898 so it applies in the right buffer (bug#16410).
4899
4900 2014-01-13 Daniel Colascione <dancol@dancol.org>
4901
4902 * textmodes/rst.el (rst-define-key): Provide deprecated
4903 keybindings through named functions instead of anonymous ones so
4904 that "??" doesn't appear in describe-mode output.
4905
4906 2014-01-13 Bastien Guerry <bzg@gnu.org>
4907
4908 * simple.el (define-alternatives): Call the selected command
4909 interactively. When setting `COMMAND--implementation' for the
4910 first time, tell the user how to chose another implementation.
4911 Enhance the docstring.
4912
4913 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4916 (log-edit--match-first-line): New function.
4917 (log-edit-font-lock-keywords): Use it.
4918 (log-edit-mode): Make jit-lock-defer-multiline work.
4919
4920 2014-01-13 Bastien Guerry <bzg@gnu.org>
4921
4922 * rect.el (rectangle-mark-mode): When the region is not active,
4923 display a message saying that the mark as been set and that
4924 rectangle mode is in use.
4925 (rectangle--highlight-for-redisplay): Only put an overlay with a
4926 visible vertical bar when (display-graphic-p) is non-nil.
4927 This partially fixes Bug#16403.
4928
4929 2014-01-13 Juri Linkov <juri@jurta.org>
4930
4931 * info.el (Info-find-file): Go to DIR before displaying the error
4932 about a nonexistent file if no previous Info file is visited.
4933 Use `user-error' instead of `error' for "Info file %s does not exist".
4934 (Info-find-node-2): In case of a nonexistent node in unwind forms
4935 go to the Top node if there is no previous node to revert to.
4936 (Bug#16405)
4937
4938 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4939
4940 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4941 * window.el (fit-frame-to-buffer): Fix doc-string.
4942 Respect window-min-height/-width. Fit pixelwise when
4943 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4944 when avoiding that frame goes partially off-screen.
4945 (fit-window-to-buffer): Respect window-min-height/-width
4946 (Bug#14096).
4947
4948 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4951 after an empty line.
4952
4953 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * net/shr.el (shr-render-region): Autoload.
4956
4957 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4958
4959 * net/eww.el (eww-download-directory): Rename from
4960 `eww-download-path' (Bug#16419).
4961
4962 2014-01-12 Leo Liu <sdl.web@gmail.com>
4963
4964 * dired-x.el (dired-mode-map): Fix last change.
4965
4966 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4967
4968 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4969
4970 Spelling fixes.
4971 * emacs-lisp/generic.el (generic--normalize-comments):
4972 Rename from generic--normalise-comments. All uses changed.
4973 * play/bubbles.el (bubbles--neighborhood-score)
4974 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4975 (bubbles--neighborhood-available)
4976 (bubbles--update-neighborhood-score):
4977 Rename from names with 'neighbourhood'. All uses changed.
4978
4979 2014-01-12 Leo Liu <sdl.web@gmail.com>
4980
4981 Re-implement the feature of showing eldoc info after editing.
4982 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4983 (eldoc-edit-message-commands): New function.
4984 (eldoc-print-after-edit): New variable.
4985 (eldoc-pre-command-refresh-echo-area): Emit message only by
4986 eldoc-message-commands.
4987 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4988 if eldoc-print-after-edit is set. (Bug#16346)
4989 * simple.el (read--expression): Enable eldoc-mode.
4990 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4991
4992 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4993 Eric S. Raymond <esr@thyrsus.com>
4994
4995 * version.el (emacs-repository-get-version): Enhance so the
4996 function works correctly in either a Bazaar or Git repo.
4997
4998 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4999
5000 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
5001 Goes with removal of the joke manpages from /etc.
5002
5003 2014-01-10 Kenichi Handa <handa@gnu.org>
5004
5005 * mail/rmail.el (rmail-get-coding-system):
5006 Check rmail-get-coding-function before "funcall"ing it.
5007
5008 2014-01-10 Glenn Morris <rgm@gnu.org>
5009
5010 * emacs-lisp/authors.el (authors-fixed-entries):
5011 Update for files that no longer exist.
5012
5013 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
5014
5015 * version.el (emacs-bzr-get-version): Restore compatibilty with
5016 24.3 (Tested).
5017
5018 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
5019
5020 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5021 and Podfile.
5022
5023 2014-01-10 Eli Zaretskii <eliz@gnu.org>
5024
5025 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5026
5027 2014-01-10 Chong Yidong <cyd@gnu.org>
5028
5029 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5030
5031 2014-01-10 Anders Lindgren <andlind@gmail.com>
5032
5033 * follow.el (follow-cache-command-list): Include right-char and
5034 left-char.
5035
5036 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
5037
5038 Spelling fixes.
5039 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5040 * woman.el (woman-mark-horizontal-position):
5041 Rename from woman-mark-horizonal-position. Use changed.
5042
5043 2014-01-10 Glenn Morris <rgm@gnu.org>
5044
5045 * info.el (info-initialize): If running uninstalled, ensure our
5046 own info files are always found first, even if INFOPATH is set.
5047
5048 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5049
5050 2014-01-09 David Engster <deng@randomsample.de>
5051
5052 * emacs-lisp/eieio-custom.el:
5053 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5054 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5055 * emacs-lisp/eieio.el: Regenerate autoloads.
5056
5057 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5058
5059 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5060 following renames. (Bug#8756)
5061
5062 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5065 (bug#16382).
5066 (activate-mark): Add `no-tmm' argument.
5067 (set-mark, push-mark-command): Use it instead of running
5068 activate-mark-hook by hand.
5069
5070 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5071
5072 In preparation for the move to git, sanitize out some
5073 Bazaar-specific names.
5074
5075 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5076
5077 * version.el (emacs-bzr-version): Name changed to
5078 emacs-repository-version. Obsolete-variable alias made.
5079 * loadup.el: Follow through on this name change.
5080 * mail/emacsbug.el (report-emacs-bug): Factor out any
5081 assumption about the version control system in use.
5082
5083 2014-01-08 David Engster <deng@randomsample.de>
5084
5085 * help-fns.el (help-fns-describe-function-functions):
5086 New variable to call functions for augmenting help buffers.
5087 (describe-function-1): Remove explicit calls to
5088 `help-fns--compiler-macro', `help-fns--parent-mode' and
5089 `help-fns--obsolete'. Put them in above new variable instead, and
5090 call them through `run-hook-with-args'.
5091 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5092 `eieio-describe-class'. Not meant for interactive use anymore,
5093 but to augment existing help buffers. Remove optional second
5094 argument. Create proper button for file location.
5095 Rewrite function to use `insert' instead of `princ' and `prin1' where
5096 possible.
5097 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5098 (eieio-method-def, eieio-class-def): Move further up.
5099 (describe-method, describe-generic, eieio-describe-method):
5100 Remove aliases.
5101 (eieio-help-constructor, eieio-help-generic): Rename from
5102 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5103 Rewrite to use `insert' in the current buffer and use proper help
5104 buttons.
5105 (eieio-help-find-method-definition)
5106 (eieio-help-find-class-definition): Also accept symbols as
5107 arguments.
5108 (eieio-help-mode-augmentation-maybee): Remove.
5109 (eieio-describe-class-sb): Use `describe-function'.
5110 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5111 Add `eieio-help-generic' and `eieio-help-constructor'.
5112
5113 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5114
5115 Spelling fixes.
5116 * language/china-util.el (hz-ascii-designation):
5117 Rename from hz-ascii-designnation.
5118 (hz-ascii-designation): Rename from hz-ascii-designnation.
5119 All uses changed.
5120
5121 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5122
5123 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5124 package-alist.
5125
5126 2014-01-08 Bastien Guerry <bzg@gnu.org>
5127
5128 * emacs-lisp/package.el (package-delete):
5129 Correctly delete the package from package-alist.
5130
5131 2014-01-08 Daiki Ueno <ueno@gnu.org>
5132
5133 * emacs-lisp/package.el (url-recreate-url): Declare.
5134 (url-http-target-url): Declare.
5135 (package-handle-response): Include requested URL in the error message.
5136 (package--check-signature): Don't re-signal errors from
5137 package--with-work-buffer. Suggested by Stefan Monnier.
5138
5139 2014-01-07 Bastien Guerry <bzg@gnu.org>
5140
5141 * minibuffer.el (completion--try-word-completion): When both a
5142 hyphen and a space are possible candidates for the character
5143 following a word, display both candidates. (Bug#15980)
5144
5145 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5146
5147 * window.el (balance-windows-2): While rounding don't give a
5148 window more than the remainder. Bug#16351, bug#16383.
5149
5150 2014-01-07 Glenn Morris <rgm@gnu.org>
5151
5152 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5153 (menu-bar-help-menu): Use view-external-packages instead.
5154
5155 2014-01-07 Bastien Guerry <bzg@gnu.org>
5156
5157 * emacs-lisp/package.el (package-delete): Also delete the package
5158 name from `package-alist', not its description only.
5159
5160 2014-01-07 Glenn Morris <rgm@gnu.org>
5161
5162 * help.el (view-external-packages):
5163 * menu-bar.el (menu-bar-help-extra-packages):
5164 Visit efaq.info rather than etc/MORE.STUFF.
5165
5166 2014-01-07 Juri Linkov <juri@jurta.org>
5167
5168 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5169 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5170
5171 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5172 that shadows RET. (Bug#16342)
5173
5174 2014-01-07 Chong Yidong <cyd@gnu.org>
5175
5176 * isearch.el (isearch-yank-char, isearch-yank-word)
5177 (isearch-yank-line): Doc fix.
5178
5179 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5182 * emacs-lisp/elint.el (elint-find-builtins):
5183 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5184 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5185 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5186 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5187 * apropos.el (apropos-safe-documentation):
5188 * subr.el (symbol-file): Remove redundant fboundp.
5189 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5190
5191 2014-01-06 Bastien Guerry <bzg@gnu.org>
5192
5193 * hl-line.el (global-hl-line-overlay): Make a local variable.
5194 (global-hl-line-overlays): New variable to store all overlays.
5195 (global-hl-line-mode): Don't delete overlays from the current
5196 buffer when `global-hl-line-sticky-flag' is non-nil.
5197 (global-hl-line-highlight): Add new overlays to
5198 `global-hl-line-overlays'.
5199 (global-hl-line-unhighlight-all): New function to delete all
5200 overlays when turning off `global-hl-line-mode'.
5201 This fixes Bug#16183.
5202
5203 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * subr.el (set-transient-map): Fix nested case and docstring.
5206
5207 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5208
5209 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5210 `Texinfo' entry.
5211
5212 2014-01-06 Daniel Colascione <dancol@dancol.org>
5213
5214 Fix defun navigation in vc log view.
5215
5216 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5217 like `beginning-of-defun'.
5218 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5219 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5220 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5221 (log-view-extract-comment): Call `log-view-current-entry' directly
5222 instead of relying on broken `log-view-beginning-of-defun' behavior.
5223
5224 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5225
5226 Spelling fixes.
5227 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5228 * emacs-lisp/debug.el (cancel-debug-on-entry):
5229 * epg.el (epg-error-to-string):
5230 * files.el (recover-file):
5231 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5232 * mail/emacsbug.el (report-emacs-bug-hook):
5233 * mail/sendmail.el (mail-recover):
5234 * ses.el (ses-yank-resize):
5235 * term/ns-win.el (ns-print-buffer):
5236 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5237 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5238 All uses changed.
5239 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5240
5241 2014-01-06 Leo Liu <sdl.web@gmail.com>
5242
5243 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5244 to avoid shadowing global key. (Bug#16354)
5245
5246 2014-01-06 Daniel Colascione <dancol@dancol.org>
5247
5248 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5249 rst-mode.
5250
5251 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5252
5253 * window.el (balance-windows): Add mising t to fix Bug#16351.
5254
5255 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5256
5257 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5258 (bug#16285).
5259 (shr-insert): If we have a word that's longer than `shr-width',
5260 break after it anyway. Otherwise we'll do no breaking once we get
5261 such a long word.
5262
5263 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5264
5265 * net/eww.el (eww): Support single/double quote for search.
5266 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5267 (eww-history-quit): Delete and use quit-window.
5268 (eww-history-kill): Delete, because it doesn't work well and
5269 not necessary.
5270 (eww-history-mode-map): Delete some keys and add easy-menu.
5271
5272 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5273
5274 Fix misspelling of 'chinese' in rx (Bug#16237).
5275 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5276 chinese-two-byte.
5277
5278 Change subword regexps back to vars (Bug#16296).
5279 * progmodes/subword.el (subword-forward-regexp)
5280 (subword-backward-regexp): Change these back to variables.
5281
5282 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5285 syntax-begin-function (bug#16247).
5286
5287 2014-01-03 Chong Yidong <cyd@gnu.org>
5288
5289 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5290 (advice--docstring): Delete variable.
5291 (advice--make-1): Leave the docstring empty.
5292 (advice-add): Use function-documentation for advised docstring.
5293
5294 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5295 Ignore function-documentation property when getting documentation.
5296 (ad-activate-advised-definition): Use function-documentation
5297 generate the docstring.
5298 (ad-make-advised-definition): Don't call
5299 ad-make-advised-definition-docstring.
5300 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5301 Delete functions.
5302
5303 * progmodes/sql.el (sql-help): Use function-documentation instead
5304 of dynamic-docstring-function property. No need to autoload now.
5305 (sql--help-docstring): New variable.
5306 (sql--make-help-docstring): Use it.
5307
5308 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 * ielm.el (ielm-tab): Retarget.
5311 (ielm-map): Use ielm-tab for tab.
5312 (ielm-complete-filename): Use comint-filename-completion.
5313 (ielm-complete-symbol): Remove.
5314 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5315 remove ielm-tab from completion-at-point-functions (bug#16224).
5316
5317 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5318 Beware signals raised by predicates (bug#16201).
5319
5320 2014-01-02 Richard Stallman <rms@gnu.org>
5321
5322 * dired-aux.el (dired-do-print): Handle printer-name.
5323
5324 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5325 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5326 (rmail-epa-decrypt): Turn off mime processing.
5327
5328 * mail/rmail.el (rmail-make-in-reply-to-field):
5329 Add parens in message-id.
5330
5331 * mail/rmail.el (rmail-get-coding-function): Variable.
5332 (rmail-get-coding-system): Use it.
5333
5334 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5335
5336 * international/mule-conf.el: Unify the charset indian-is13194.
5337 (indian-is13194): Specify unify-map.
5338
5339 2013-12-31 Leo Liu <sdl.web@gmail.com>
5340
5341 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5342
5343 2013-12-30 Daniel Colascione <dancol@dancol.org>
5344
5345 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5346 of printing a useless when we resume from sleep.
5347
5348 * progmodes/sh-script.el
5349 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5350 in indentation code. (Bug#16233)
5351
5352 2013-12-28 João Távora <joaotavora@gmail.com>
5353
5354 * elec-pair.el (electric-pair-post-self-insert-function):
5355 Don't open extra newlines at beginning of buffer. (Bug#16272)
5356
5357 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5358
5359 * frame.el (window-system-for-display): Don't allow to create a
5360 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5361
5362 2013-12-28 Glenn Morris <rgm@gnu.org>
5363
5364 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5365 Update callers.
5366
5367 * apropos.el (apropos-match-face):
5368 * calculator.el (calculator-displayer):
5369 * dabbrev.el (dabbrev-search-these-buffers-only):
5370 * face-remap.el (buffer-face-mode-face):
5371 * simple.el (yank-handled-properties):
5372 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5373 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5374 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5375 (hashcash-double-spend-database):
5376 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5377 (ruby-deep-indent-paren-style):
5378 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5379 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5380 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5381 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5382 Specify custom types.
5383
5384 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5385 * bookmark.el (bookmark-bmenu-use-header-line):
5386 * doc-view.el (doc-view-scale-internally):
5387 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5388 * register.el (register-preview-delay):
5389 * net/shr.el (shr-bullet):
5390 * progmodes/cfengine.el (cfengine-cf-promises)
5391 (cfengine-parameters-indent):
5392 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5393 * textmodes/reftex-vars.el (reftex-label-regexps):
5394 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5395
5396 * net/tls.el (tls-certtool-program): Fix default value.
5397
5398 * desktop.el (desktop-restore-in-current-display):
5399 * newcomment.el (comment-empty-lines):
5400 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5401 (idlwave-pad-keyword):
5402 * progmodes/tcl.el (tcl-tab-always-indent):
5403 * textmodes/reftex-vars.el (reftex-index-default-tag):
5404 * elec-pair.el (electric-pair-skip-whitespace):
5405 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5406
5407 * emacs-lisp/authors.el (authors-ignored-files)
5408 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5409
5410 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5411
5412 * shell.el (shell-dynamic-complete-command): Doc fix.
5413 (shell--command-completion-data): Shell completion now matches
5414 executable filenames from the current buffer's directory, on
5415 systems in which this behavior is the default (windows-nt, ms-dos).
5416
5417 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5418
5419 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5420
5421 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5424 (bug#16251).
5425
5426 * electric.el: Move all electric-pair-* to elec-pair.el.
5427 * elec-pair.el: New file, split from electric.el.
5428
5429 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5430
5431 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5432 indentation level is larger than the width, because that will
5433 infloop.
5434 (shr-insert): Fill repeatedly long texts, so that Japanese is
5435 formatted correctly (bug#16263).
5436 (shr-find-fill-point): Off by one error in comparison with the
5437 indentation.
5438
5439 2013-12-26 João Távora <joaotavora@gmail.com>
5440
5441 * electric.el (electric-pair-mode): More flexible engine for skip-
5442 and inhibit predicates, new options for pairing-related functionality.
5443 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5444 if that keeps or improves their balance in buffers.
5445 (electric-pair-delete-adjacent-pairs): Delete the pair when
5446 backspacing over adjacent matched delimiters.
5447 (electric-pair-open-extra-newline): Open extra newline when
5448 inserting newlines between adjacent matched delimiters.
5449 (electric--sort-post-self-insertion-hook):
5450 Sort post-self-insert-hook according to priority values when
5451 minor-modes are activated.
5452 * simple.el (newline-and-indent): Call newline with interactive
5453 set to t.
5454 (blink-paren-post-self-insert-function): Set priority to 100.
5455 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5456 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5457 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5458 electric-pair-open-newline-between-pairs to nil.
5459
5460 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5461
5462 * progmodes/python.el: Use lexical-binding.
5463 (python-nav-beginning-of-defun): Stop searching ASAP.
5464
5465 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5466
5467 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5468 Fix interactive spec. Doc fix. (Bug#15754)
5469
5470 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5471
5472 * emacs-lisp/byte-run.el (eval-when-compile):
5473 * progmodes/cc-defs.el (cc-eval-when-compile):
5474 Fix edebug spec (bug#16184).
5475
5476 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5477
5478 * net/shr.el (shr-visit-file): Remove debugging function.
5479 (shr-insert): Don't infloop if we can't find a good place to break
5480 the line (bug#16256).
5481
5482 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5483
5484 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5485 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5486 python-nav-lisp-forward-sexp-safe.
5487 (python-nav--forward-sexp): New argument SAFE allows switching
5488 forward sexp movement behavior for parens.
5489 (python-nav-forward-sexp): Throw errors on unterminated parens
5490 (Bug#16191).
5491 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5492 (python-nav-backward-sexp-safe): New functions.
5493 (python-shell-buffer-substring):
5494 Use `python-nav-forward-sexp-safe'.
5495
5496 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5497
5498 * net/shr.el (shr-find-fill-point): Don't break lines before a
5499 quotation mark.
5500 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5501 (shr-find-fill-point): Remove the special checks for the quotation
5502 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5503
5504 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5505
5506 * net/eww.el (eww-form-textarea): Use a different face for
5507 textareas than text input since they have different keymaps
5508 (bug#16142).
5509
5510 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5511
5512 * progmodes/python.el (python-nav-beginning-of-statement):
5513 Speed up (Bug#15295).
5514
5515 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5516
5517 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5518 the window configuration.
5519
5520 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5521
5522 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5523 we run on MS-Windows or MS-DOS.
5524
5525 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5526
5527 * window.el (balance-windows-area): Call window-size instead of
5528 window-height and window-width. Bug#16241.
5529
5530 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5531
5532 * net/eww.el (eww-bookmark-quit): Remove.
5533 (eww-bookmark-browse): Restore the window configuration when you
5534 choose a bookmark (bug#16144).
5535
5536 2013-12-24 Daniel Colascione <dancol@dancol.org>
5537
5538 * icomplete.el: Remove redundant :group arguments to `defcustom'
5539 throughout.
5540 (icomplete-show-matches-on-no-input): New customizable variable.
5541 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5542 we have something to show.
5543 (icomplete-exhibit): Compute completions even if we have no user input.
5544
5545 2013-12-23 Daniel Colascione <dancol@dancol.org>
5546
5547 * icomplete.el: Move `provide' to end of file.
5548
5549 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5550
5551 * net/gnutls.el (gnutls-verify-error): Add version tag.
5552
5553 2013-12-23 Chong Yidong <cyd@gnu.org>
5554
5555 * subr.el (set-transient-map): Rename from
5556 set-temporary-overlay-map. Doc fix.
5557
5558 * face-remap.el (text-scale-adjust):
5559 * indent.el (indent-rigidly):
5560 * kmacro.el (kmacro-call-macro):
5561 * minibuffer.el (minibuffer-force-complete):
5562 * repeat.el (repeat):
5563 * simple.el (universal-argument--mode):
5564 * calendar/todo-mode.el (todo-insert-item--next-param):
5565 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5566
5567 * indent.el (indent-rigidly): Use substitute-command-keys.
5568
5569 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5570
5571 * net/eww.el (eww-tag-select): Add text-property to jump to next
5572 select field.
5573 (eww): Add non-supported ftp error.
5574
5575 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5576
5577 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5578 comments. Handle electric indent after typing `?' and `!'.
5579
5580 2013-12-22 Chong Yidong <cyd@gnu.org>
5581
5582 * faces.el (face-spec-recalc): If the theme specs are not
5583 applicable to a frame, fall back on the defface spec.
5584 This prevents themes from obliterating faces on low-color terminals.
5585
5586 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5587
5588 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5589 after `{'. We need it after block openers, and it doesn't seem
5590 to hurt after hash openers.
5591
5592 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5593
5594 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5595 extracted from `ruby-smie-rules'.
5596 (ruby--electric-indent-chars): New variable.
5597 (ruby--electric-indent-p): New function.
5598 (ruby-mode): Use `electric-indent-functions' instead of
5599 `electric-indent-chars'.
5600
5601 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5602
5603 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5604 docstring.
5605 (ruby-smie-rules): Indent plus one level after `=>'.
5606
5607 2013-12-21 Richard Stallman <rms@gnu.org>
5608
5609 * simple.el (newline): Doc fix.
5610
5611 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5612
5613 * net/eww.el (eww-list-histories, eww-list-histories)
5614 (eww-history-browse, eww-history-quit, eww-history-kill)
5615 (eww-history-mode-map, eww-history-mode): New command and
5616 functions to list browser histories.
5617 (eww-form-text): Support text form with disabled
5618 and readonly attributes.
5619 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5620
5621 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5622
5623 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5624 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5625 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5626 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5627 Use `user-error'.
5628 (eww-bookmark-mode-map): Add menu.
5629 (eww-render, eww-mode): Use `setq-local'.
5630 (eww-tool-bar-map): New variable.
5631 (eww-mode): Set `tool-bar-map'.
5632 (eww-view-source): Check for `html-mode' with `fboundp'.
5633
5634 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5635
5636 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5637 elements with text inside. Also remove debugging.
5638
5639 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5640
5641 * cus-start.el (all): Add ns-use-srgb-colorspace.
5642
5643 2013-12-21 Chong Yidong <cyd@gnu.org>
5644
5645 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5646 undefined. Thus, theme settings for undefined faces do not take
5647 effect until the faces are defined with defface, the same as with
5648 theme variables.
5649
5650 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5651 (face-spec-reset-face): Don't assign extra properties in temacs.
5652 (face-spec-recalc): Apply X resources too.
5653
5654 2013-12-21 Chong Yidong <cyd@gnu.org>
5655
5656 * faces.el (face-spec-set):
5657 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5658 * custom.el (defface): Doc fixes (Bug#16203).
5659
5660 * indent.el (indent-rigidly-map): Add docstring, and move commands
5661 into named functions.
5662 (indent-rigidly-left, indent-rigidly-right)
5663 (indent-rigidly-left-to-tab-stop)
5664 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5665 indentation direction based on bidi direction, and accumulate
5666 sequential commands in a single undo boundary.
5667 (indent-rigidly--pop-undo): New utility function.
5668
5669 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5670
5671 * faces.el (read-face-name): Require crm.el when using crm-separator.
5672
5673 2013-12-20 Daniel Colascione <dancol@dancol.org>
5674
5675 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5676 so that we don't reflow comments into the shebang line.
5677
5678 2013-12-20 Juri Linkov <juri@jurta.org>
5679
5680 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5681 a position when `dired-directory' is non-nil. Check integer
5682 positions with `integerp'.
5683 (toggle-save-place, save-places-to-alist): Add check for
5684 `dired-directory'.
5685 (save-place-find-file-hook): Check integer positions with
5686 `integerp'.
5687 (save-place-dired-hook): Use `dired-goto-file' when
5688 `dired-filename' is found in the assoc list. Check integer
5689 positions with `integerp'.
5690 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5691
5692 * dired.el (dired-initial-position-hook): Rename back from
5693 `dired-initial-point-hook'.
5694 (dired-initial-position): Rename `dired-initial-point-hook' to
5695 `dired-initial-position-hook'.
5696 (dired-file-name-at-point): Doc fix. (Bug#15329)
5697
5698 2013-12-20 Juri Linkov <juri@jurta.org>
5699
5700 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5701 (read-regexp-suggestions): New function.
5702 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5703 Use `read-regexp-suggestions'. Add non-empty default to history
5704 for empty input.
5705 (occur-read-regexp-defaults-function): Remove function.
5706 (occur-read-primary-args): Use `regexp-history-last' instead of
5707 `occur-read-regexp-defaults-function'.
5708
5709 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5710 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5711 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5712 `hi-lock-read-regexp-defaults-function'. Doc fix.
5713 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5714 with `find-tag-default-as-symbol-regexp'. Doc fix.
5715 (hi-lock-read-regexp-defaults): Remove function.
5716 (hi-lock-regexp-okay): Add check for null.
5717
5718 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5719 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5720
5721 * subr.el (find-tag-default-as-symbol-regexp): New function.
5722 (find-tag-default-as-regexp): Move symbol regexp formatting to
5723 `find-tag-default-as-symbol-regexp'.
5724
5725 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5726
5727 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5728 (Bug#14179)
5729
5730 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5731
5732 * calendar/todo-mode.el: New implementation of item insertion
5733 commands and key bindings.
5734 (todo-key-prompt): New face.
5735 (todo-insert-item): New command.
5736 (todo-insert-item--parameters): New defconst, replacing defvar
5737 todo-insertion-commands-args-genlist.
5738 (todo-insert-item--param-key-alist): New defconst, replacing
5739 defvar todo-insertion-commands-arg-key-list.
5740 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5741 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5742 (todo-insert-item--next-param): New functions.
5743 (todo-insert-item--args, todo-insert-item--argleft)
5744 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5745 New variables.
5746 (todo-key-bindings-t): Change binding of "i" from
5747 todo-insertion-map to todo-insert-item.
5748 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5749 (todo-insertion-command-name, todo-insertion-commands-names)
5750 (todo-define-insertion-command, todo-insertion-commands)
5751 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5752
5753 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5754
5755 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5756 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5757 eval-when-compile.
5758 (todo-move-category): Allow choosing a non-existing todo file to
5759 move the category to, and create that file.
5760 (todo-default-priority): New user option.
5761 (todo-set-item-priority): Use it.
5762 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5763 (desktop-restore-file-buffer): Declare.
5764 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5765 (todo-modes-set-2): Locally set desktop-save-buffer to
5766 todo-desktop-save-buffer.
5767 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5768 (auto-mode-alist): Add autoload cookie.
5769
5770 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5771
5772 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5773 helpers.el was a poor choice of name.
5774 (string-remove-prefix): New function.
5775 (string-remove-suffix): New function.
5776
5777 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5778
5779 Fix assignment for new window total sizes.
5780 * window.el (window--pixel-to-size): Remove function.
5781 (window--pixel-to-total-1, window--pixel-to-total):
5782 Fix calculation of new total sizes.
5783
5784 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5785
5786 * comint.el (comint-output-filter): Fix rear-nonsticky property
5787 placement (Bug#16010).
5788
5789 2013-12-20 Chong Yidong <cyd@gnu.org>
5790
5791 * faces.el (read-color): Minor fix for completion function.
5792
5793 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5794
5795 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5796 New option. (Bug#16182)
5797 (ruby-smie--indent-to-stmt-p): Use it.
5798 (ruby-smie-rules): Revert the logic in the handling of `when'.
5799 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5800 (ruby-deep-arglist, ruby-deep-indent-paren)
5801 (ruby-deep-indent-paren-style): Update docstrings to note that the
5802 vars don't have any effect with SMIE.
5803
5804 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5805
5806 * calc/calc.el (calc-enter, calc-pop): Use the variable
5807 `calc-context-sensitive-enter'.
5808
5809 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5810
5811 * net/shr.el (shr-insert): Protect against infloops in degenerate
5812 tables.
5813
5814 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5815
5816 * progmodes/octave.el (octave): Add link to manual and octave
5817 homepage.
5818 (octave-mode-menu): Link to octave-mode manual.
5819
5820 2013-12-20 Leo Liu <sdl.web@gmail.com>
5821
5822 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5823 insertion using skeleton-end-newline. (Bug#16138)
5824
5825 2013-12-20 Juri Linkov <juri@jurta.org>
5826
5827 * replace.el (occur-engine): Use `add-face-text-property'
5828 to add the face property to matches and titles. (Bug#14645)
5829
5830 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5831 the palette of other hi-lock colors.
5832 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5833
5834 2013-12-19 Juri Linkov <juri@jurta.org>
5835
5836 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5837 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5838 (minibuffer-history-symbol): Move variable declaration closer to
5839 its usage.
5840
5841 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5842 (Bug#14785)
5843
5844 2013-12-19 Juri Linkov <juri@jurta.org>
5845
5846 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5847 New function.
5848 (log-edit-hook): Add it to :options. (Bug#16170)
5849
5850 2013-12-19 Juri Linkov <juri@jurta.org>
5851
5852 * simple.el (eval-expression-print-format): Don't check for
5853 command names and the last command. Always display additional
5854 formats of the integer result in the echo area, and insert them
5855 to the current buffer only with a zero prefix arg.
5856 Display character when char-displayable-p is non-nil.
5857 (eval-expression): With a zero prefix arg, set `print-length' and
5858 `print-level' to nil, and insert the integer values from
5859 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5860
5861 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5862 `eval-last-sexp-arg-internal'. Doc fix.
5863 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5864 `eval-last-sexp-print-value'. Doc fix.
5865 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5866 Set `print-length' and `print-level' to nil when arg is zero.
5867 (eval-last-sexp): Doc fix.
5868 (eval-defun-2): Print the integer values from
5869 `eval-expression-print-format' at the end.
5870
5871 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5872 values from `eval-expression-print-format' at the end.
5873
5874 * ielm.el (ielm-eval-input): Print the integer
5875 values from `eval-expression-print-format' at the end.
5876
5877 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5878
5879 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5880 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5881
5882 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5885 (hl-line-highlight, global-hl-line-highlight): Use it.
5886 (hl-line-overlay): Use defvar-local.
5887
5888 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5889
5890 * term/ns-win.el: Require dnd.
5891 (global-map): Remove drag items.
5892 (ns-insert-text, ns-set-foreground-at-mouse)
5893 (ns-set-background-at-mouse):
5894 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5895 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5896 New functions.
5897
5898 2013-12-19 Glenn Morris <rgm@gnu.org>
5899
5900 * emacs-lisp/ert.el (ert-select-tests):
5901 Fix string/symbol mixup. (Bug#16121)
5902
5903 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5904
5905 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5906 keywords to their parent.
5907
5908 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5909
5910 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5911 first arg to be a string (fixed dead code), or an operator symbol.
5912 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5913 operator symbols.
5914 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5915 did nothing. Don't respond to `(:after ".")', it will be called
5916 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5917 change anything. Only return indentation for binary operators
5918 when they are hanging. De-dent opening paren when its parent is
5919 `.', otherwise it looks bad when the dot is not at bol or eol
5920 (bug#16182).
5921
5922 2013-12-19 Juri Linkov <juri@jurta.org>
5923
5924 * replace.el (query-replace-read-args): Split a non-negative arg
5925 and a negative arg into separate elements.
5926 (query-replace, query-replace-regexp, replace-string)
5927 (replace-regexp): Add arg `backward'. Doc fix.
5928 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5929 move point to the beginning of the match.
5930 (replace-search, replace-highlight): Use new arg `backward'
5931 to set the value of `isearch-forward'.
5932 (perform-replace): Add arg `backward' and use it to perform
5933 replacement backward. (Bug#14979)
5934
5935 * isearch.el (isearch-query-replace): Use a negative prefix arg
5936 to call `perform-replace' with a non-nil arg `backward'.
5937
5938 2013-12-18 Juri Linkov <juri@jurta.org>
5939
5940 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5941 to the default list. Move `log-edit-show-files' to the end.
5942 Add more available functions to options.
5943 (log-edit): Move default specific settings to
5944 `log-edit-insert-message-template'. Don't move point.
5945 (log-edit-insert-message-template): New function.
5946 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5947 (Bug#16170)
5948
5949 2013-12-18 Juri Linkov <juri@jurta.org>
5950
5951 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5952 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5953
5954 2013-12-18 Leo Liu <sdl.web@gmail.com>
5955
5956 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5957 (Bug#16186)
5958
5959 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5960
5961 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5962 formats for displaying file sizes when the -s switch is given.
5963 Instead, compute a separate format for displaying the size in
5964 blocks, which is displayed in addition to the "regular" size.
5965 When -h is given in addition to -s, produce size in blocks in
5966 human-readable form as well. (Bug#16179)
5967
5968 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5969
5970 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5971 Reference tables with ~\ref{...} instead of only \ref{...}.
5972
5973 2013-12-18 Chong Yidong <cyd@gnu.org>
5974
5975 * cus-edit.el (custom-magic-alist): Fix "themed" description
5976 (Bug#14348).
5977
5978 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5979 is non-nil, do not create a new entry in the symbol's theme-value
5980 or theme-face property; update theme-settings only (Bug#14664).
5981 (custom-available-themes): Doc fix.
5982
5983 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5984 (Bug#15674).
5985
5986 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5987
5988 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5989
5990 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5991 (Bug#13914).
5992
5993 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5994
5995 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5996
5997 2013-12-18 Glenn Morris <rgm@gnu.org>
5998
5999 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
6000 * cus-start.el (load-prefer-newer): New option.
6001
6002 2013-12-18 Le Wang <l26wang@gmail.com>
6003
6004 * comint.el (comint-previous-matching-input-from-input):
6005 Retain point (Bug#13404).
6006
6007 2013-12-18 Chong Yidong <cyd@gnu.org>
6008
6009 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6010
6011 2013-12-18 Glenn Morris <rgm@gnu.org>
6012
6013 * mail/emacsbug.el (report-emacs-bug):
6014 Only mention enable-multibyte-characters if non-standard.
6015
6016 2013-12-17 Juri Linkov <juri@jurta.org>
6017
6018 * arc-mode.el (archive-extract-by-file): Check if directory exists
6019 before deletion to not show irrelevant errors if it doesn't exist.
6020
6021 2013-12-17 Juri Linkov <juri@jurta.org>
6022
6023 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6024 (Bug#14751)
6025
6026 * net/eww.el (browse-web): Add alias to `eww'.
6027 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6028 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
6029
6030 * net/browse-url.el (browse-url-browser-function): Move `eww'
6031 closer to similar functions.
6032
6033 * startup.el (fancy-startup-screen, fancy-about-screen):
6034 Set browse-url-browser-function to eww-browse-url locally.
6035 (Bug#14751)
6036
6037 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6038
6039 * window.el (window--pixel-to-total): Remove unused `mini' var.
6040 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6041 (split-window): Remove unused `new' var.
6042 (window--display-buffer): Remove unused `frame' and `delta' vars.
6043 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6044 and display-width'.
6045
6046 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6047
6048 * dired.el (dired-mark-pop-up):
6049 * register.el (register-preview): Don't bind
6050 split-height-threshold here since it's now done in
6051 display-buffer-below-selected.
6052
6053 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6054
6055 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6056 xterm-rgb-convert-to-16bit.
6057 (rxvt-register-default-colors): Standardize with
6058 xterm-register-default-colors (Bug#14078).
6059
6060 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6061
6062 * simple.el (kill-region): Pass mark first, then point, so that
6063 kill-append works right (Bug#12819).
6064 (copy-region-as-kill, kill-ring-save): Likewise.
6065
6066 2013-12-17 Leo Liu <sdl.web@gmail.com>
6067
6068 * net/rcirc.el (rcirc-add-face):
6069 * eshell/em-prompt.el (eshell-emit-prompt):
6070 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6071 (Bug#16167)
6072
6073 2013-12-17 Chong Yidong <cyd@gnu.org>
6074
6075 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6076 Suggested by Xue Fuqiao.
6077
6078 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6079
6080 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6081
6082 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6083
6084 * net/shr.el (shr-insert-document): Remove unused var
6085 `shr-preliminary-table-render'.
6086 (shr-rescale-image): Remove unused arg `force'.
6087 (shr-put-image): Update calls accordingly.
6088 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6089
6090 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6091
6092 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6093 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6094 :close-all, to see which indentation method to use (Bug#16116).
6095 (smie-rules-function): Document the method :close-all.
6096
6097 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6098
6099 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6100
6101 * net/eww.el (eww-display-html): If we can't find the anchor we're
6102 looking for, then go to point-min.
6103
6104 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6105
6106 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6107 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6108 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6109 Expand dir too, in case it's relative.
6110
6111 2013-12-16 Juri Linkov <juri@jurta.org>
6112
6113 * desktop.el (desktop-auto-save-timeout): Change default to
6114 `auto-save-timeout'. Doc fix.
6115 (desktop-save): Skip the timestamp in desktop-saved-frameset
6116 when checking for auto-save changes.
6117 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6118 `desktop-auto-save' is called repeatedly by the idle timer.
6119 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6120 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6121 (Bug#15331)
6122
6123 2013-12-16 Juri Linkov <juri@jurta.org>
6124
6125 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6126 (Bug#16035)
6127 (isearch-pre-command-hook): Check `this-command' for symbolp.
6128
6129 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6132
6133 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6134
6135 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6136 (cfengine3--current-function): Bring in the current-function
6137 functionality from `cfengine3--current-word'.
6138 (cfengine3-completion-function): Bring in the
6139 bounds-of-current-word functionality from
6140 `cfengine3--current-word'.
6141
6142 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6143
6144 * window.el (display-buffer-below-selected):
6145 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6146
6147 2013-12-16 Leo Liu <sdl.web@gmail.com>
6148
6149 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6150 Remove NOMSG arg and all uses changed.
6151
6152 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6153
6154 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6155 (cua--deactivate-rectangle): Don't deactivate the mark.
6156 (cua-set-rectangle-mark): Don't set mark-active since
6157 cua--activate-rectangle already does it for us.
6158 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6159 non-rectangular region.
6160
6161 * emulation/cua-base.el (cua-repeat-replace-region):
6162 Use with-current-buffer.
6163
6164 * net/gnutls.el: Use cl-lib.
6165 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6166
6167 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6168
6169 * emacs-lisp/package.el (package-built-in-p): Support both
6170 built-in and the package.el converted package descriptions.
6171 (package-show-package-list): Allow keywords.
6172 (package-keyword-button-action): Use it instead of
6173 `finder-list-matches'.
6174 (package-menu-filter-interactive): Interactive filtering (by
6175 keyword) function.
6176 (package-menu--generate): Support keywords and change keymappings
6177 and headers when they are given.
6178 (package--has-keyword-p): Helper function.
6179 (package-menu--refresh): Use it.
6180 (package--mapc): Helper function.
6181 (package-all-keywords): Use it.
6182 (package-menu-mode-map): Set up menu items and keybindings to
6183 provide a filtering UI.
6184
6185 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6186
6187 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6188 the behavior when a certificate fails validation. Defaults to
6189 old behavior: never abort, just warn.
6190 (gnutls-negotiate): Use it.
6191
6192 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6193
6194 * window.el (display-buffer-below-selected): Never split window
6195 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6196
6197 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6198
6199 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6200 (package-buffer-info): Use it (bug#15108).
6201
6202 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * icomplete.el (icomplete-completions): Make sure the prefix is already
6205 displayed elsewhere before hiding it (bug#16219).
6206
6207 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6208
6209 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6210 open-paren tokens when preceded by a open-paren, too.
6211 (ruby-smie-rules): Handle virtual indentation after open-paren
6212 tokens specially. If there is code between it and eol, return the
6213 column where is starts (Bug#16118).
6214
6215 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6216
6217 * progmodes/cfengine.el: Fix `add-hook' doc.
6218 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6219 (cfengine3--current-word): Fix parameters.
6220 (cfengine3-make-syntax-cache): Simplify further.
6221 (cfengine3-completion-function, cfengine3--current-function):
6222 Use `assq' for symbols.
6223 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6224
6225 2013-12-13 Glenn Morris <rgm@gnu.org>
6226
6227 * loadup.el (load-path): Warn if site-load or site-init changes it.
6228 No more need to reset it when bootstrapping.
6229
6230 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6231
6232 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6233 locations for cf-promises.
6234 (cfengine-mode-syntax-functions-regex): New caching variable.
6235 (cfengine3-fallback-syntax): Fallback syntax for cases where
6236 cf-promises doesn't run.
6237 (cfengine3--current-word): Reimplement using
6238 `cfengine-mode-syntax-functions-regex'.
6239 (cfengine3-completion-function, cfengine3--current-function):
6240 Use `cfengine3-make-syntax-cache' directly.
6241 (cfengine3-clear-syntax-cache): New function.
6242 (cfengine3-make-syntax-cache): Simplify and create
6243 `cfengine-mode-syntax-functions-regex' on demand.
6244 (cfengine3-format-function-docstring): Don't call
6245 `cfengine3-make-syntax-cache' explicitly.
6246
6247 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6248
6249 Fix windmove-find-other-window broken after pixelwise resizing
6250 (Bug#16017).
6251 * windmove.el (windmove-other-window-loc): Revert change from
6252 2013-12-04.
6253 (windmove-find-other-window): Call window-in-direction.
6254 * window.el (window-in-direction): New arguments SIGN, WRAP and
6255 MINI to emulate original windmove-find-other-window behavior.
6256
6257 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6258
6259 * simple.el (blink-matching--overlay): New variable.
6260 (blink-matching-open): Instead of moving point, highlight the
6261 matching paren with an overlay
6262 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6263
6264 * faces.el (paren-showing-faces, show-paren-match)
6265 (show-paren-mismatch): Move from paren.el.
6266
6267 2013-12-13 Leo Liu <sdl.web@gmail.com>
6268
6269 * indent.el (indent-region): Disable progress reporter in
6270 minibuffer. (Bug#16108)
6271
6272 * bindings.el (visual-order-cursor-movement): Fix version.
6273
6274 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6275
6276 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6277 Also match after beginning of line.
6278 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6279 files. Thanks to Russell Sim. (Bug#15378)
6280
6281 2013-12-13 Juri Linkov <juri@jurta.org>
6282
6283 * simple.el <Keypad support>: Remove key bindings duplicated
6284 with bindings.el. (Bug#14397)
6285
6286 2013-12-13 Juri Linkov <juri@jurta.org>
6287
6288 * comint.el (comint-mode-map): Replace `delete-char' with
6289 `delete-forward-char'. (Bug#16109)
6290
6291 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6292
6293 * progmodes/python.el (python-indent-calculate-indentation):
6294 Fix de-denters cornercase. (Bug#15731)
6295
6296 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6299 (advice--make): Pay attention to `depth'.
6300 (advice--make-1): Don't autoload commands eagerly.
6301 * emacs-lisp/elp.el (elp-instrument-function):
6302 * emacs-lisp/trace.el (trace-function-internal):
6303 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6304
6305 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6306
6307 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6308
6309 * term/w32-win.el (w32-handle-dropped-file):
6310 * startup.el (normal-top-level):
6311 * net/browse-url.el (browse-url-file-url):
6312 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6313 decode file names using 'utf-8' rather than
6314 file-name-coding-system.
6315
6316 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6317
6318 * progmodes/python.el (python-indent-context)
6319 (python-indent-calculate-indentation): Fix auto-identation
6320 behavior for comment blocks. (Bug#15916)
6321
6322 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6323
6324 * progmodes/python.el (python-indent-calculate-indentation):
6325 When determining indentation, don't treat "return", "pass", etc., as
6326 operators when they are just string constituents. (Bug#15812)
6327
6328 2013-12-12 Juri Linkov <juri@jurta.org>
6329
6330 * uniquify.el (uniquify-buffer-name-style): Change default to
6331 `post-forward-angle-brackets'.
6332
6333 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6334 `uniquify'. Change default to `post-forward-angle-brackets'.
6335
6336 2013-12-11 Glenn Morris <rgm@gnu.org>
6337
6338 * emacs-lisp/package.el (finder-list-matches):
6339 Autoload rather than falsely declaring.
6340
6341 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6342
6343 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6344 (eww-mode-map): Use them.
6345
6346 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6347
6348 * window.el (display-buffer-in-side-window): Fix doc-string
6349 (Bug#16115).
6350
6351 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6352
6353 * vc/vc-git.el: Silence byte-compiler warnings.
6354 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6355 (log-edit-set-header): Declare.
6356
6357 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6358
6359 * Makefile.in (custom-deps, finder-data): Run output file names
6360 through unmsys--file-name. (Bug#16099)
6361
6362 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6365 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6366
6367 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6368 instead of deleting the selection "by hand" (bug#16098).
6369 Rely on insert-for-yank to yank rectangles.
6370 (cua-highlight-region-shift-only): Mark obsolete.
6371 (cua-mode): Don't enable/disable transient-mark-mode,
6372 shift-select-mode (cua-mode works both with and without them), and
6373 pc-selection-mode (obsolete).
6374 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6375 (cua--deactivate-rectangle): Deactivate it.
6376
6377 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6378 (delete-selection-helper): Make sure yank starts at the top of the
6379 deleted region.
6380 (minibuffer-keyboard-quit): Use region-active-p.
6381
6382 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6383
6384 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6385 to `delete' (bug#16109).
6386
6387 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6388
6389 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6390 info manual and show keybindings and set `:group' keyword.
6391
6392 2013-12-11 Juri Linkov <juri@jurta.org>
6393
6394 * delsel.el (delete-active-region): Let-bind `this-command'
6395 to prevent `kill-region' from changing its original value.
6396 (delete-selection-helper): Handle `overwrite-mode' for the type
6397 `kill' exactly the same way as for the type `t'.
6398 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6399 Support more commands. (Bug#13312)
6400
6401 2013-12-11 Juri Linkov <juri@jurta.org>
6402
6403 * bindings.el: Map kp keys to non-kp keys systematically
6404 with basic modifiers control, meta and shift. (Bug#14397)
6405
6406 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6407
6408 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6409 "Close browser" menu items. Fix wrong function of "List
6410 bookmarks".
6411
6412 2013-12-11 Juri Linkov <juri@jurta.org>
6413
6414 * misearch.el (multi-isearch-buffers): Set the value of
6415 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6416 arg of isearch-forward to t.
6417 (multi-isearch-buffers-regexp): Set the value of
6418 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6419 arg of isearch-forward-regexp to t.
6420 (multi-isearch-files): Set the value of
6421 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6422 arg of isearch-forward to t.
6423 (multi-isearch-files-regexp): Set the value of
6424 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6425 arg of isearch-forward-regexp to t. (Bug#16035)
6426
6427 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6428 arg of isearch-forward to t.
6429 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6430 arg of isearch-forward-regexp to t.
6431 (dired-isearch-filter-filenames): Remove unnecessary check for
6432 `dired-isearch-filenames'.
6433
6434 * comint.el (comint-history-isearch-backward):
6435 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6436 (comint-history-isearch-backward-regexp):
6437 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6438
6439 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6440
6441 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6442 unmsys--file-name. (Bug#16099)
6443
6444 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6445
6446 * emacs-lisp/package.el (package-keyword-button-action):
6447 Remove finder.el require dependency.
6448
6449 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6450
6451 * emacs-lisp/package.el: Require finder.el.
6452 (describe-package-1): Add keyword buttons.
6453 (package-make-button): New convenience function.
6454 (package-keyword-button-action): Keyword button action using
6455 `finder-list-matches'.
6456
6457 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6458
6459 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6460 last commit.
6461
6462 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6463
6464 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6465 symlinked files.
6466
6467 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6468
6469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6470 after the end of a percent literal.
6471
6472 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6473
6474 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6475 Handle caret-delimited strings (Bug#16079).
6476
6477 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6478
6479 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6480 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6481 `ruby-parse-partial' (Bug#16078).
6482
6483 2013-12-09 Leo Liu <sdl.web@gmail.com>
6484
6485 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6486
6487 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6488
6489 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6490 (js-switch-indent-offset): New option.
6491 (js--proper-indentation): Use it. And handle the case when
6492 "default" is actually a key in an object literal.
6493 (js--same-line): New function.
6494 (js--multi-line-declaration-indentation): Use it.
6495 (js--indent-in-array-comp, js--array-comp-indentation):
6496 New functions.
6497 (js--proper-indentation): Use them, to handle array comprehension
6498 continuations.
6499
6500 2013-12-08 Leo Liu <sdl.web@gmail.com>
6501
6502 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6503 (flymake-make-overlay): Remove arg MOUSE-FACE.
6504 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6505
6506 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6507
6508 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6509 New function.
6510 (redisplay-highlight-region-function): Use it.
6511
6512 * emulation/cua-base.el (cua--explicit-region-start)
6513 (cua--last-region-shifted): Remove.
6514 (cua--deactivate): Use deactivate-mark.
6515 (cua--pre-command-handler-1): Don't handle shift-selection.
6516 (cua--post-command-handler-1): Don't change transient-mark-mode.
6517 (cua--select-keymaps): Use region-active-p rather than
6518 cua--explicit-region-start or cua--last-region-shifted.
6519 (cua-mode): Enable shift-select-mode.
6520
6521 2013-12-08 Leo Liu <sdl.web@gmail.com>
6522
6523 * progmodes/flymake.el (flymake-popup-current-error-menu):
6524 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6525 (flymake-posn-at-point-as-event, flymake-popup-menu)
6526 (flymake-make-emacs-menu): Remove. (Bug#16077)
6527
6528 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * rect.el (rectangle-mark-mode): Activate mark even if
6531 transient-mark-mode is off (bug#16066).
6532 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6533 is > mark and at bolp.
6534
6535 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6536 (region-extract-function): Use it.
6537 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6538 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6539 Delete functions.
6540 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6541 kill-ring-save, kill-region, delete-char, delete-forward-char.
6542 Ignore self-insert-iso.
6543
6544 * emulation/cua-gmrk.el (cua--init-global-mark):
6545 Ignore `self-insert-iso'.
6546
6547 * emulation/cua-base.el (cua--prefix-copy-handler)
6548 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6549 checking cua--rectangle.
6550 (cua-delete-region): Use region-extract-function.
6551 (cua-replace-region): Delete function.
6552 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6553 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6554 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6555 (cua--init-keymaps): Don't remap delete-selection commands.
6556 (cua-mode): Use delete-selection-mode instead of rolling our own
6557 (bug#16085).
6558
6559 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6560 Obey region-extract-function.
6561
6562 Make registers and delete-selection-mode work on rectangles.
6563 * register.el (describe-register-1): Don't modify the register's value.
6564 (copy-to-register): Obey region-extract-function.
6565 * delsel.el (delete-active-region): Obey region-extract-function.
6566
6567 2013-12-08 Leo Liu <sdl.web@gmail.com>
6568
6569 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6570 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6571 (flymake-compilation-prevents-syntax-check)
6572 (flymake-start-syntax-check-on-newline)
6573 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6574 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6575 (flymake-xml-program, flymake-master-file-dirs)
6576 (flymake-master-file-count-limit)
6577 (flymake-allowed-file-name-masks): Relocate.
6578 (flymake-makehash, flymake-float-time)
6579 (flymake-replace-regexp-in-string, flymake-split-string)
6580 (flymake-get-temp-dir): Remove.
6581 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6582 (flymake-current-row, flymake-selected-frame)
6583 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6584 related functions. (Bug#16077)
6585
6586 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6587
6588 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6589
6590 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6591
6592 * help-fns.el (describe-function-1): Use new advice-* functions
6593 rather than old ad-* functions. Fix function type description and
6594 source links for advised functions and subrs.
6595
6596 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6597
6598 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6599
6600 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6601
6602 * progmodes/compile.el (compilation-start):
6603 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6604
6605 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6606 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6607
6608 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6609
6610 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6611 Touch up the last change.
6612
6613 2013-12-06 Leo Liu <sdl.web@gmail.com>
6614
6615 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6616 (inferior-octave-startup): Always use "octave> " for prompt.
6617 (octave-goto-function-definition)
6618 (octave-sync-function-file-names)
6619 (octave-find-definition-default-filename): Remove redundant backquotes.
6620
6621 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6622
6623 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6624 syntax for `?'.
6625 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6626 where appropriate already.
6627 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6628 end of method names (Bug#15874).
6629
6630 2013-12-06 Juri Linkov <juri@jurta.org>
6631
6632 * isearch.el (isearch--saved-overriding-local-map):
6633 New internal variable.
6634 (isearch-mode): Set it to the initial value of
6635 `overriding-terminal-local-map'.
6636 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6637 with `isearch--saved-overriding-local-map'. (Bug#16035)
6638
6639 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6640
6641 * progmodes/octave.el (inferior-octave-completion-table):
6642 Turn back into function, use `completion-table-with-cache'
6643 (Bug#11906). Update all references.
6644
6645 * minibuffer.el (completion-table-with-cache): New function.
6646
6647 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6648
6649 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6650
6651 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6652
6653 * net/eww.el (eww-current-source): New variable to store page
6654 source.
6655 (eww-display-html, eww-mode, eww-save-history)
6656 (eww-restore-history): Use it.
6657 (eww-view-source): New command to view page source.
6658 Opportunistically uses `html-mode' to highlight the buffer.
6659 (eww-mode-map): Install it.
6660
6661 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6662
6663 * net/dbus.el (dbus-unregister-service)
6664 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6665 Fix docstring.
6666 (dbus-unregister-service): Skip :serial entries in
6667 `dbus-registered-objects-table'.
6668 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6669
6670 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6671
6672 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6673 around keywords with extra `split-string' argument.
6674
6675 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6676
6677 * windmove.el (windmove-other-window-loc): Handle navigation
6678 between windows (excluding the minibuffer window - Bug#16017).
6679
6680 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6681
6682 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6683 in D-Bus type syntax.
6684 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6685 preserve unibyte strings. (Bug#16048)
6686
6687 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6690 Call force-mode-line-update is the proper buffer (bug#16042).
6691
6692 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6693
6694 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6695 `log-edit-remember-comment', make argument optional. Adjust all
6696 callers.
6697 (log-edit-mode): Add `log-edit-remember-comment' to
6698 `kill-buffer-hook' locally.
6699 (log-edit-kill-buffer): Don't remember comment explicitly since
6700 the buffer is killed anyway.
6701
6702 2013-12-04 Juri Linkov <juri@jurta.org>
6703
6704 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6705 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6706
6707 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6708
6709 * notifications.el (notifications-close-notification): Call the
6710 D-Bus method with ID being a `:uint32'. (Bug#16030)
6711
6712 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6713
6714 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6715
6716 2013-12-03 Juri Linkov <juri@jurta.org>
6717
6718 * progmodes/compile.el (compilation-start): Rename window alist
6719 entry `no-display-ok' to `allow-no-window'.
6720
6721 * simple.el (shell-command): Add window alist entry
6722 `allow-no-window' to `display-buffer'.
6723 (async-shell-command): Doc fix.
6724
6725 * window.el (display-buffer-no-window): New action function.
6726 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6727
6728 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6729
6730 * vc/log-edit.el (log-edit-set-header): Extract from
6731 `log-edit-toggle-header'.
6732 (log-edit-extract-headers): Separate the summary, when extracted
6733 from header, from the rest of the message with an empty line.
6734
6735 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6736 line, if present, to the Summary header.
6737
6738 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6741 in current-buffer (bug#16029).
6742
6743 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6744
6745 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6746 (debugger-mode-map): Bind it.
6747 (debugger--backtrace-base): New function.
6748 (debugger-eval-expression): Use it.
6749 (debugger-frame-number): Skip local vars when present.
6750 (debugger--locals-visible-p, debugger--insert-locals)
6751 (debugger--show-locals, debugger--hide-locals): New functions.
6752
6753 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6754
6755 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6756 "LC_ALL".
6757 (tramp-get-remote-locale): New defun.
6758 (tramp-open-connection-setup-interactive-shell): Use it.
6759
6760 2013-12-02 Leo Liu <sdl.web@gmail.com>
6761
6762 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6763
6764 * progmodes/sh-script.el (sh-shell-process):
6765 * progmodes/octave.el (inferior-octave-process-live-p):
6766 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6767 (gdb-inferior-io-sentinel):
6768 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6769
6770 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6771
6772 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6773 `save-selected-window' to `log-edit-hide-buf'. This makes
6774 `log-edit-show-files' idempotent.
6775 (log-edit-show-files): Mark the new window as dedicated.
6776
6777 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6778
6779 * vc/log-edit.el (log-edit-mode-map): Add binding for
6780 `log-edit-kill-biffer'.
6781 (log-edit-hide-buf): Add a FIXME comment.
6782 (log-edit-add-new-comment): New function, extracted from
6783 `log-edit-done'.
6784 (log-edit-done, log-edit-add-to-changelog): Use it.
6785 (log-edit-kill-buffer): New command.
6786
6787 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6788
6789 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6790 instead of killing the buffer.
6791
6792 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6795
6796 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6797
6798 * net/eww.el (eww-form-checkbox-selected-symbol)
6799 (eww-form-checkbox-symbol): New customizable variable.
6800 (eww-form-checkbox, eww-toggle-checkbox):
6801 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6802
6803 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6804 (shr--get-media-pref, shr--extract-best-source): New function.
6805 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6806 no :src tag was specified.
6807
6808 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6809 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6810 Use \\` to match beginning of string instead of ^.
6811 (eww-browse-with-external-browser): Provide optional URL parameter.
6812 (eww-render): Set `eww-current-title' back to "".
6813
6814 * net/shr.el (shr-tag-video): Display content for video if no
6815 poster is available.
6816 (shr-tag-audio): Add support for <audio> tag.
6817
6818 * net/eww.el (eww-text-input-types): New const.
6819 (eww-process-text-input): Treat input types in
6820 `eww-text-input-types' as text.
6821
6822 * net/shr.el (shr-tag-table): Fix comment typo.
6823
6824 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6825
6826 * net/eww.el (eww-follow-link): New command to avoid reloading
6827 pages when we follow #target links (bug#15243).
6828 (eww-quit): Special mode buffers shouldn't query before exiting.
6829
6830 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6831
6832 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6833 forms.
6834
6835 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6836
6837 * net/eww.el (eww-restore-history): Update the window title after
6838 moving in the history.
6839 (eww-current-dom): New variable used to save the current DOM.
6840
6841 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6842
6843 * vc/log-edit.el (log-edit-mode-map): Add binding for
6844 `log-edit-beginning-of-line'.
6845 (log-edit-setup-add-author): New user option.
6846 (log-edit-beginning-of-line): New command.
6847 (log-edit): Move major mode call above the contents setup so that
6848 the local variable values are already applied.
6849 (log-edit): Only insert "Author: " when
6850 `log-edit-setup-add-author' is non-nil.
6851 (log-edit): When SETUP is non-nil, position point after ": "
6852 instead of point-min.
6853
6854 2013-12-01 Glenn Morris <rgm@gnu.org>
6855
6856 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6857
6858 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6859
6860 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6861 redisplay to make sure the initial frame gets a chance to become
6862 visible. (Bug#16014)
6863
6864 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6865
6866 Support resizing frames and windows pixelwise.
6867 * cus-start.el (frame-resize-pixelwise)
6868 (window-resize-pixelwise): New entries.
6869 * emacs-lisp/debug.el (debug): Use window-total-height instead
6870 of window-total-size.
6871 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6872 * help.el (describe-bindings-internal): Use help-buffer as
6873 argument for with-help-window.
6874 (temp-buffer-max-width): New option.
6875 (resize-temp-buffer-window, help-window-setup)
6876 (with-help-window): Rewrite.
6877 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6878 dragging dividers.
6879 * window.el (frame-char-size, window-min-pixel-height)
6880 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6881 (window-min-pixel-width, window-safe-min-pixel-size)
6882 (window-combination-p, window-safe-min-size)
6883 (window-resizable-p, window--size-to-pixel)
6884 (window--pixel-to-size, window--resize-apply-p): New functions.
6885 (window-safe-min-height): Fix doc-string.
6886 (window-size, window-min-size, window--min-size-1)
6887 (window-sizable, window-sizable-p, window--min-delta-1)
6888 (window-min-delta, window--max-delta-1, window-max-delta)
6889 (window--resizable, window--resizable-p, window-resizable)
6890 (window-full-height-p, window-full-width-p, window-at-side-p)
6891 (window--in-direction-2, window-in-direction)
6892 (window--resize-reset-1, window--resize-mini-window)
6893 (window-resize, window-resize-no-error)
6894 (window--resize-child-windows-normal)
6895 (window--resize-child-windows, window--resize-siblings)
6896 (window--resize-this-window, window--resize-root-window)
6897 (window--resize-root-window-vertically)
6898 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6899 (maximize-window, minimize-window, delete-window)
6900 (quit-restore-window, window-split-min-size, split-window)
6901 (balance-windows-2, balance-windows)
6902 (balance-windows-area-adjust, balance-windows-area)
6903 (window--state-get-1, window-state-get, window--state-put-1)
6904 (window--state-put-2, window-state-put)
6905 (display-buffer-record-window, window--display-buffer):
6906 Make functions handle pixelwise sizing of windows.
6907 (display-buffer--action-function-custom-type)
6908 (display-buffer-fallback-action):
6909 Add display-buffer-in-previous-window.
6910 (display-buffer-use-some-window): Resize window to height it had
6911 before.
6912 (fit-window-to-buffer-horizontally): New option.
6913 (fit-frame-to-buffer): Describe new values.
6914 (fit-frame-to-buffer-bottom-margin): Replace with
6915 fit-frame-to-buffer-margins.
6916 (window--sanitize-margin): New function.
6917 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6918 using window-text-pixel-size.
6919
6920 2013-11-30 Glenn Morris <rgm@gnu.org>
6921
6922 * emacs-lisp/bytecomp.el (byte-compile-form):
6923 Make the `interactive-only' warning like the `obsolete' one.
6924 * comint.el (comint-run):
6925 * files.el (insert-file-literally, insert-file):
6926 * replace.el (replace-string, replace-regexp):
6927 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6928 (goto-line, insert-buffer, next-line, previous-line):
6929 Tweak `interactive-only' spec.
6930
6931 Stop keeping (most) generated cedet grammar files in the repository.
6932 * Makefile.in (semantic): New.
6933 (compile-main): Depend on semantic.
6934
6935 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6938 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6939
6940 * uniquify.el (uniquify-buffer-name-style): Change default.
6941
6942 * loadup.el: Preload "uniquify".
6943
6944 * time.el (display-time-update): Update all mode lines (bug#15999).
6945
6946 * electric.el (electric-indent-mode): Enable by default.
6947 * loadup.el: Preload "electric".
6948
6949 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6950
6951 * emacs-lisp/helpers.el (string-empty-p): New function.
6952 (string-blank-p): New function.
6953
6954 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6955
6956 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6957 (Bug#14029).
6958
6959 2013-11-29 Andreas Politz <politza@fh-trier.de>
6960 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6961 allow non-lambda lists as functions.
6962 (imenu--in-alist): Don't recurse into non-subalists.
6963 (imenu): Don't pass function itself as an argument (Bug#14029).
6964
6965 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * progmodes/python.el (python-mode-map): Remove binding for ":".
6968 (python-indent-electric-colon): Remove command.
6969 (python-indent-post-self-insert-function): Integrate the previous code
6970 of python-indent-electric-colon. Make it conditional on
6971 electric-indent-mode.
6972 (python-mode): Add ?: to electric-indent-chars.
6973 Move python-indent-post-self-insert-function to the end of
6974 post-self-insert-hook.
6975
6976 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6977
6978 * doc-view.el (doc-view-goto-page): Update mode-line.
6979
6980 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6981
6982 2013-11-27 Glenn Morris <rgm@gnu.org>
6983
6984 * international/charprop.el, international/uni-bidi.el:
6985 * international/uni-category.el, international/uni-combining.el:
6986 * international/uni-comment.el, international/uni-decimal.el:
6987 * international/uni-decomposition.el, international/uni-digit.el:
6988 * international/uni-lowercase.el, international/uni-mirrored.el:
6989 * international/uni-name.el, international/uni-numeric.el:
6990 * international/uni-old-name.el, international/uni-titlecase.el:
6991 * international/uni-uppercase.el:
6992 Remove generated files from VCS repository.
6993
6994 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6995
6996 * filenotify.el (file-notify-add-watch): Don't special-case
6997 w32notify when computing the directory to watch.
6998
6999 2013-11-27 Glenn Morris <rgm@gnu.org>
7000
7001 Make bootstrap without generated uni-*.el files possible again.
7002 * loadup.el: Update command-line-args checking for unidata-gen.
7003 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
7004 * composite.el, international/characters.el:
7005 Handle unicode tables being undefined.
7006
7007 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
7008 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7009 (compile-main): Depend on leim rule.
7010 (leim): New rule.
7011 * loadup.el: Move leim-list.el to leim/ subdirectory.
7012 * startup.el (normal-top-level): No more leim directory.
7013 * international/ja-dic-cnv.el (skkdic-convert):
7014 Disable version-control and autoloads in output files.
7015 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7016 Disable version-control and autoloads in output files.
7017 * leim/quail: Move here from ../leim.
7018 * leim/quail/hangul.el (hangul-input-method-activate):
7019 Add autoload cookie.
7020 (generated-autoload-load-name): Set file-local value.
7021 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7022 (generated-autoload-load-name): Set file-local value.
7023
7024 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
7025
7026 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7027 (eww-add-bookmark): Ask confirmation when add to bookmarks.
7028 (eww-quit): Ask confirmation before quitting eww.
7029
7030 2013-11-26 Eli Zaretskii <eliz@gnu.org>
7031
7032 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7033 reading output from Diff on MS-Windows and MS-DOS.
7034
7035 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
7036
7037 * emacs-lisp/helpers.el (string-reverse): New function.
7038
7039 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
7040
7041 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7042 names on MS Windows, like "/[::1]:".
7043
7044 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7045 SWITCHES.
7046
7047 2013-11-26 Glenn Morris <rgm@gnu.org>
7048
7049 * progmodes/python.el (python-indent-guess-indent-offset):
7050 Avoid corner-case error. (Bug#15975)
7051
7052 Preload leim-list.el. (Bug#4789)
7053 * loadup.el: Load leim-list.el when found.
7054 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7055
7056 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7057
7058 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7059
7060 * emacs-lisp/helpers.el (string-join): New function.
7061
7062 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7063
7064 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7065 Mark as obsolete and replace it with a symbol property.
7066 (byte-compile-form): Use new 'interactive-only property.
7067 * comint.el, files.el, replace.el, simple.el:
7068 Apply new 'interactive-only properly.
7069
7070 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7071
7072 * window.el (display-buffer-at-bottom): Make sure that
7073 split-window-sensibly creates the new window on bottom
7074 (Bug#15961).
7075
7076 2013-11-23 David Kastrup <dak@gnu.org>
7077
7078 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7079 on the conflict markers when available.
7080 (smerge--get-marker): New function.
7081 (smerge-end-re, smerge-base-re): Add subgroup.
7082
7083 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * frame.el (handle-focus-in, handle-focus-out): Add missing
7086 interactive spec.
7087
7088 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7089
7090 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7091 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7092
7093 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7094
7095 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7096 (gomoku--last-pos): New var.
7097 (gomoku--intangible-chars): New const.
7098 (gomoku--intangible): New function.
7099 (gomoku-mode): Use it. Derive from special-mode.
7100 (gomoku-move-up): Adjust line count.
7101 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7102 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7103 Simplify accordingly.
7104
7105 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7106 Remove blink-cursor code.
7107 (blink-cursor-timer-function, blink-cursor-suspend):
7108 Don't special-case GUIs.
7109 (blink-cursor-mode): Use focus-in/out-hook.
7110
7111 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7112
7113 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7114 work when annotation is invisible (Bug#13886).
7115
7116 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7117
7118 * json.el (json-alist-p): Only return non-nil if the alist has
7119 simple keys (Bug#13518).
7120
7121 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7122
7123 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7124 when control-statement is the first statement in a buffer (Bug#15956).
7125
7126 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7127
7128 * imenu.el (imenu-generic-skip-comments-and-strings):
7129 New option (Bug#15560).
7130 (imenu--generic-function): Use it.
7131
7132 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7133
7134 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7135 (Bug#13898)
7136
7137 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7138
7139 * emacs-lisp/helpers.el: Add some string helpers.
7140 (string-trim-left): Removes leading whitespace.
7141 (string-trim-right): Removes trailing whitespace.
7142 (string-trim): Removes leading and trailing whitespace.
7143
7144 * subr.el (string-suffix-p): New function.
7145
7146 2013-11-23 Glenn Morris <rgm@gnu.org>
7147
7148 * progmodes/python.el (python-shell-send-file):
7149 Add option to delete file when done. (Bug#15647)
7150 (python-shell-send-string, python-shell-send-region): Use it.
7151
7152 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7153
7154 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7155 to set buffer-read-only to t, never to nil. (Bug#15938)
7156
7157 * textmodes/tex-mode.el (latex-noindent-environments):
7158 Add safe-local-variable property. (Bug#15936)
7159
7160 2013-11-23 Glenn Morris <rgm@gnu.org>
7161
7162 * textmodes/enriched.el (enriched-mode): Doc fix.
7163 * emacs-lisp/authors.el (authors-renamed-files-alist):
7164 Add enriched.doc -> enriched.txt.
7165
7166 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7167
7168 2013-11-22 Leo Liu <sdl.web@gmail.com>
7169
7170 * progmodes/octave.el (inferior-octave-startup): Spit out error
7171 message.
7172
7173 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7174
7175 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7176 Improve docstring.
7177 Add :version.
7178 (ruby-encoding-magic-comment-style): Add :version.
7179
7180 2013-11-22 Leo Liu <sdl.web@gmail.com>
7181
7182 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7183 (Bug#15076)
7184 (octave-help-mode): Adapt to change to help-mode-finish to use
7185 derived-mode-p on 2013-09-17.
7186 (inferior-octave-prompt): Also match octave-gui.
7187 (octave-kill-process): Don't ask twice. (Bug#10564)
7188
7189 2013-11-22 Leo Liu <sdl.web@gmail.com>
7190
7191 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7192 (inferior-octave-startup, inferior-octave-check-process)
7193 (inferior-octave-track-window-width-change)
7194 (octave-completion-at-point, octave-eldoc-function): Use it.
7195 (octave-kill-process): Provide confirmation. (Bug#10564)
7196
7197 2013-11-21 Leo Liu <sdl.web@gmail.com>
7198
7199 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7200 Fix obsolete variable comment-use-global-state.
7201
7202 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7203
7204 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7205 Add `octave-source-file'.
7206 (octave-source-file): New function. (Bug#15935)
7207
7208 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7209
7210 * net/eww.el (eww-local-regex): New variable.
7211 (eww): Use it to detect localhost and similar.
7212
7213 2013-11-21 Leo Liu <sdl.web@gmail.com>
7214
7215 Add completion for command `ag'.
7216 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7217 (pcomplete/ag): New function.
7218 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7219
7220 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7223 (bug#14646).
7224 (make-obsolete): Remove interactive spec.
7225
7226 2013-11-21 Glenn Morris <rgm@gnu.org>
7227
7228 * startup.el (command-line-1): Use path-separator with -L.
7229
7230 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7231
7232 * emacs-lisp/package.el (describe-package-1): Add package archive
7233 to shown fields.
7234
7235 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7236
7237 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7238 Change default to "# encoding: %s" to differentiate it from the
7239 default Ruby encoding comment template.
7240
7241 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7242
7243 * ses.el (ses-mode): Doc fix. (Bug#14748)
7244
7245 2013-11-20 Leo Liu <sdl.web@gmail.com>
7246
7247 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7248
7249 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7250
7251 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7252 when rebase or bisect are in progress.
7253
7254 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7255
7256 * filenotify.el (file-notify-add-watch): Doc fix.
7257
7258 2013-11-19 Leo Liu <sdl.web@gmail.com>
7259
7260 * obsolete/rcompile.el: Mark obsolete.
7261
7262 * progmodes/compile.el (compilation-start)
7263 (compilation-goto-locus, compilation-find-file):
7264 Pass no-display-ok and handle nil value from display-buffer.
7265 (Bug#13594)
7266
7267 * window.el (display-buffer-alist, display-buffer): Document the
7268 new parameter no-display-ok. Return either a window or nil
7269 but never a non-window value.
7270
7271 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * electric.el (electric-indent-mode-map): Remove.
7274 (electric-indent-mode): Change the global-map instead (bug#15915).
7275
7276 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7277 Use add-function.
7278
7279 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7280
7281 * emacs-lisp/nadvice.el (remove-function): Align with
7282 add-function's behavior.
7283
7284 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7285 (gdb--string-regexp): New constant.
7286 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7287 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7288 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7289 submatch 1.
7290 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7291 Adjust use accordingly.
7292 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7293
7294 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7295
7296 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7297 interpolation curlies (Bug#15914).
7298
7299 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7300
7301 * calc/calc.el (calc-context-sensitive-enter): New variable.
7302 (calc-enter): Use `calc-context-sensitive-enter'.
7303
7304 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7305
7306 * progmodes/cfengine.el: Version bump.
7307 (cfengine-cf-promises): New defcustom to locate cf-promises.
7308 (cfengine3-vartypes): Add new "data" type.
7309 (cfengine3--current-word): New function to get current name-like
7310 word or its bounds.
7311 (cfengine3--current-function): New function to look up a CFEngine
7312 function's definition.
7313 (cfengine3-format-function-docstring): New function.
7314 (cfengine3-make-syntax-cache): New function.
7315 (cfengine3-documentation-function): New function: ElDoc glue.
7316 (cfengine3-completion-function): New function: completion glue.
7317 (cfengine3-mode): Set `compile-command',
7318 `eldoc-documentation-function', and add to
7319 `completion-at-point-functions'.
7320
7321 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7322
7323 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7324 `tramp-current-connection'.
7325
7326 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7327
7328 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7329 nil/self/true/false with "end of symbol".
7330
7331 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7332
7333 * subr.el (version-regexp-alist): Fix a typo.
7334
7335 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7336
7337 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7338 "en_US.utf8" and "LC_CTYPE" to "".
7339 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7340 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7341
7342 2013-11-15 Leo Liu <sdl.web@gmail.com>
7343
7344 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7345
7346 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7347
7348 * progmodes/gud.el (ctl-x-map):
7349 Remove C-x SPC binding. (Bug#12342)
7350 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7351
7352 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7353
7354 * subr.el (version-regexp-alist):
7355 Recognize hg, svn and darcs versions as snapshot versions.
7356
7357 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7358 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7359 (ruby--encoding-comment-required-p): Extract from
7360 `ruby-mode-set-encoding'.
7361 (ruby-mode-set-encoding): Add the ability to always insert an
7362 utf-8 encoding comment. Fix and simplify coding comment update
7363 logic.
7364
7365 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7366
7367 * net/tramp-gvfs.el (top): Run init code only when
7368 `tramp-gvfs-enabled' is not nil.
7369 (tramp-gvfs-enabled): Check also :system bus.
7370
7371 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 Sync with upstream verilog-mode revision 78e66ba.
7374 * progmodes/verilog-mode.el (verilog-end-of-defun)
7375 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7376 (verilog-get-end-of-defun): Remove unused argument.
7377 (verilog-comment-depth): Remove unused local `e'.
7378 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7379 Don't pass arg to verilog-get-end-of-defun.
7380
7381 2013-11-14 Glenn Morris <rgm@gnu.org>
7382
7383 * obsolete/assoc.el (aget): Prefix dynamic variable.
7384
7385 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7386
7387 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7388
7389 * widget.el, hfy-cmap.el: Remove bogus package version number.
7390
7391 2013-11-13 Glenn Morris <rgm@gnu.org>
7392
7393 * replace.el (replace-eval-replacement):
7394 Try to give more helpful error message. (Bug#15836)
7395
7396 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7397 (archive-7z-update): Avoid custom type mismatches.
7398
7399 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7400
7401 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7402
7403 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7404 address can be empty.
7405
7406 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7407 Accept nil SWITCHES.
7408 (tramp-gvfs-handle-write-region): Implement APPEND.
7409
7410 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7411
7412 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7413 binary "|" operator and closing block args delimiter.
7414 Remove FIXME comment referring to Ruby 1.8-only syntax.
7415 (ruby-smie--implicit-semi-p): Not after "|" operator.
7416 (ruby-smie--closing-pipe-p): New function.
7417 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7418 (ruby-smie-rules): Indent after "|".
7419
7420 2013-11-12 Glenn Morris <rgm@gnu.org>
7421
7422 * ps-print.el (ps-face-attribute-list):
7423 Handle anonymous faces. (Bug#15827)
7424
7425 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7426
7427 * window.el (display-buffer-other-frame): Fix doc-string.
7428 (Bug#15868)
7429
7430 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7431
7432 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7433
7434 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7435
7436 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7437 (tramp-sh-handle-file-local-copy): Don't write a message when
7438 saving temporary files.
7439
7440 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7441 both directories are remote.
7442 (tramp-smb-handle-directory-files): Do not return double entries.
7443 Do not expand full file names.
7444 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7445 (tramp-smb-handle-write-region): Implement APPEND.
7446 (tramp-smb-get-stat-capability): Fix a stupid bug.
7447
7448 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7451
7452 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7453
7454 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7455 throwing error over malformed let/let* (bug#15814).
7456
7457 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * iswitchb.el (iswitchb-mode): Mark obsolete.
7460
7461 2013-11-11 Glenn Morris <rgm@gnu.org>
7462
7463 * international/uni-bidi.el, international/uni-category.el:
7464 * international/uni-name.el, international/uni-numeric.el:
7465 Regenerate for Unicode 6.3.0.
7466
7467 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7468
7469 * net/tramp.el (tramp-methods):
7470 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7471 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7472
7473 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7474
7475 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7476 Force highlighting text after Summary keyword in doc face for rpm.
7477
7478 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7479
7480 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7481 available and the word has no wildcards, append one to the grep pattern.
7482 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7483 (ispell-complete-word): Call `ispell-lookup-words' with the value
7484 independent of `ispell-look-p'.
7485
7486 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7487
7488 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7489 Not after "||".
7490 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7491 their parent.
7492
7493 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7494
7495 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7496 (ruby-font-lock-keywords): Use backquote.
7497
7498 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7499
7500 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7501 (ruby-smie--backward-token): Only consider full-string matches.
7502
7503 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7504
7505 * faces.el (describe-face): Add distant-foreground.
7506
7507 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7508
7509 * progmodes/ruby-mode.el: Improve encoding comment handling.
7510 (ruby-encoding-magic-comment-style): New option.
7511 (ruby-custom-encoding-magic-comment-template): New option.
7512 (ruby--insert-coding-comment, ruby--detect-encoding):
7513 New functions extracted from `ruby-mode-set-encoding'.
7514 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7515 to control the style of the auto-inserted encoding comment.
7516
7517 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7518
7519 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7520 Use `smie-backward-sexp' with token argument.
7521
7522 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7523
7524 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7525 Remove instrumentation code.
7526
7527 2013-11-08 Glenn Morris <rgm@gnu.org>
7528
7529 * progmodes/autoconf.el (autoconf-mode):
7530 Tweak comment-start-skip. (Bug#15822)
7531
7532 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7533
7534 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7535 at bobp (bug#15826).
7536 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7537
7538 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7539
7540 * man.el (Man-start-calling): New macro, extracted from
7541 Man-getpage-in-background.
7542 (Man-getpage-in-background): Use it.
7543 (Man-update-manpage): New command.
7544 (Man-mode-map): Bind it.
7545
7546 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7547
7548 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7549 of "and", "or", "&&" and "||".
7550 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7551 argument. Prohibit opening curly brace because it could only be a
7552 block opener in that position.
7553 (ruby-smie--forward-token, ruby-smie--backward-token):
7554 Separate "|" from "&" or "*" going after it. That can happen in block
7555 arguments.
7556 (ruby-smie--indent-to-stmt): New function, seeks the end of
7557 previous statement or beginning of buffer.
7558 (ruby-smie-rules): Use it.
7559 (ruby-smie-rules): Check if there's a ":" before a curly block
7560 opener candidate; if there is, it's a hash.
7561
7562 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7563
7564 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7565 (cl--block-wrapper): Fix last accidental change.
7566
7567 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7568
7569 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7570 Instrument, in order to hunt failure on hydra.
7571
7572 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7573
7574 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7575 malformed bindings form (bug#15814).
7576
7577 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7578
7579 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7580 "." compared to " @ ". This incidentally fixes some indentation
7581 examples with "do".
7582 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7583 (ruby-smie-grammar): New tokens: "and" and "or".
7584 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7585 Exclude "and" and "or". Remove "do" in order to work around token
7586 priorities.
7587 (ruby-smie-rules): Add all infix tokens. Handle the case of
7588 beginning-of-buffer.
7589
7590 2013-11-06 Glenn Morris <rgm@gnu.org>
7591
7592 * Makefile.in (setwins_almost, setwins_for_subdirs):
7593 Avoid accidental matches.
7594
7595 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * menu-bar.el (popup-menu): Use key-binding.
7598
7599 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7600
7601 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7602 menus, support also the menus produced by minor modes.
7603 (Bug#15817)
7604
7605 2013-11-06 Leo Liu <sdl.web@gmail.com>
7606
7607 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7608 DISTANCE to bound the search. All uses changed. (Bug#15808)
7609
7610 2013-11-06 Glenn Morris <rgm@gnu.org>
7611
7612 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7613 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7614 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7615
7616 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * electric.el (electric-indent-just-newline): New command.
7619 (electric-indent-mode-map): New keymap.
7620 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7621 Re-add :group which weren't redundant.
7622
7623 * electric.el (electric-indent-local-mode): New minor mode.
7624 (electric-indent-functions-without-reindent): New var.
7625 (electric-indent-post-self-insert-function): Use it.
7626 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7627
7628 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7629
7630 * international/quail.el (quail-help): Be more explicit about the
7631 meaning of the labels shown on the keys. (Bug#15800)
7632
7633 * startup.el (normal-top-level): Load the subdirs.el files before
7634 setting the locale environment. (Bug#15805)
7635
7636 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7637
7638 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7639 via arguments so as to get the right ones (bug#15418).
7640
7641 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7642
7643 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7644
7645 Fix problems found while writing a test suite.
7646
7647 * net/tramp-compat.el (tramp-compat-load): New defun.
7648 * net/tramp.el (tramp-handle-load): Use it.
7649
7650 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7651 "(numberp ok-if-already-exists)" correctly.
7652
7653 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7654
7655 * international/characters.el (glyphless-char-display-control):
7656 Add usage note.
7657
7658 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7659
7660 * progmodes/python.el (python-mode):
7661 * progmodes/scheme.el (scheme-mode):
7662 * progmodes/prolog.el (prolog-mode):
7663 * progmodes/ruby-mode.el (ruby-mode):
7664 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7665 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7666
7667 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * rect.el (rectangle--highlight-for-redisplay):
7670 * emacs-lisp/smie.el (smie--next-indent-change):
7671 Use buffer-chars-modified-tick.
7672
7673 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7674
7675 * electric.el (electric-indent-post-self-insert-function):
7676 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7677
7678 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7679
7680 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7681
7682 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7683
7684 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7685 (bug#15786).
7686
7687 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7688
7689 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7690
7691 * progmodes/python.el: Fix up last change.
7692 (python-shell--save-temp-file): New function.
7693 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7694 `string' comes from the current buffer.
7695 (python-shell-send-string-no-output): Remove `msg' arg.
7696 (python--use-fake-loc): New var.
7697 (python-shell-buffer-substring): Obey it. Try to compensate for the
7698 extra coding line added by python-shell--save-temp-file.
7699 (python-shell-send-region): Use python-shell--save-temp-file and
7700 python-shell-send-file directly. Add `nomain' argument.
7701 (python-shell-send-buffer): Use python-shell-send-region.
7702 (python-electric-pair-string-delimiter): New function.
7703 (python-mode): Use it.
7704
7705 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7706
7707 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7708 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7709 environment and decoding all of the default-directory's to here
7710 from command-line.
7711 (command-line): Decode also argv[0].
7712
7713 * loadup.el: Error out if default-directory is a multibyte string
7714 when we are dumping.
7715
7716 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7717
7718 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7719
7720 * emacs-lisp/package.el (package-menu-mode)
7721 (package-menu--print-info, package-menu--archive-predicate):
7722 Add Archive column to package list.
7723
7724 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7725
7726 Fix problems found while writing a test suite.
7727
7728 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7729 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7730 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7731 to nil when running original file name handler. Otherwise,
7732 there are problems with constructs like "$$FOO".
7733
7734 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7735 for `localname'.
7736
7737 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7738
7739 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7740
7741 * subr.el (version<, version<=, version=):
7742 Update docstrings with information for snapshot versions.
7743
7744 * helpers.el: New library for misc helper functions.
7745 (hash-table-keys): New function returning a list of hash keys.
7746 (hash-table-values): New function returning a list of hash values.
7747
7748 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7749
7750 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7751 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7752
7753 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7754
7755 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7756 checking whether point is after a 1-letter word.
7757
7758 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7759
7760 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7761 Don't infloop when expanding region over `multiline' syntax-type that
7762 begins a line (bug#15778).
7763
7764 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7767 Make it into a proper minor mode.
7768 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7769 (rectangle-mark-mode-map): New keymap.
7770 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7771
7772 2013-11-04 Glenn Morris <rgm@gnu.org>
7773
7774 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7775
7776 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7779 (ruby-smie-rules): Use smie-rule-parent instead.
7780
7781 * emacs-lisp/smie.el (smie-rule-parent): Always call
7782 smie-indent-virtual rather than only for hanging tokens.
7783 (smie--next-indent-change): New helper command.
7784
7785 2013-11-03 Glenn Morris <rgm@gnu.org>
7786
7787 * Makefile.in (abs_srcdir): Remove.
7788 (emacs): Unset EMACSLOADPATH.
7789
7790 2013-11-02 Glenn Morris <rgm@gnu.org>
7791
7792 * Makefile.in (EMACS): Use a relative filename.
7793 (abs_top_builddir): Remove.
7794 (custom-deps, finder-data, autoloads): Use --chdir.
7795
7796 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7797
7798 Use relative filenames in TAGS files.
7799 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7800 (lisptagsfiles4, TAGS): Use relative file names.
7801 (TAGS-LISP): Remove.
7802 (maintainer-clean): No more TAGS-LISP file.
7803
7804 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7805 (lisptagsfiles4): Use absolute filenames again.
7806 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7807 Remove all *loaddefs files, not just the first. Remove esh-groups.
7808 (maintainer-clean): Delete TAGS, TAGS-LISP.
7809
7810 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7811
7812 * emacs-lisp/package.el (package-version-join):
7813 Recognize snapshot versions.
7814
7815 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7816
7817 * subr.el (version-regexp-alist): Add support for snapshot versions.
7818
7819 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7820
7821 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7822 New function, replacement for `smie-rule-parent' for when we want to
7823 skip over our direct parent if it's an assignment token..
7824 (ruby-smie-rules): Use it.
7825
7826 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7827
7828 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7829 unconditionally. Remove now unnecessary forward declarations.
7830 Remove XEmacs-specific setup.
7831 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7832 (ruby-font-lock-syntactic-keywords)
7833 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7834 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7835 (ruby-here-doc-end-syntax): Remove.
7836 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7837 defined as function.
7838
7839 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7840
7841 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7842
7843 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7844
7845 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7846 table and abbrev table, `define-derived-mode' does that for us
7847 anyway.
7848
7849 2013-11-01 Glenn Morris <rgm@gnu.org>
7850
7851 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7852 files is atomic for some time, so no parallel compilation issues).
7853
7854 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7855
7856 * faces.el (face-x-resources): Add :distant-foreground.
7857 (region): Use :distant-foreground for gtk and ns.
7858
7859 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7860
7861 Allow multiple bibliographies when BibLaTeX is used rather than
7862 BibTeX.
7863 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7864 (reftex-locate-bibliography-files): Us it.
7865
7866 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7867
7868 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7869 allow comments in pbm files.
7870
7871 * term/w32-win.el (dynamic-library-alist): Support newer versions
7872 of libjpeg starting with v7: look only for the DLL from the
7873 version against which Emacs was built.
7874 Support versions of libpng beyond 1.4.x.
7875 Support libtiff v4.x.
7876
7877 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7878
7879 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7880 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7881 Add property :safe.
7882 (ruby-deep-arglist): Add property :type.
7883
7884 2013-10-31 Glenn Morris <rgm@gnu.org>
7885
7886 * Makefile.in (custom-deps, finder-data): No need to setq the target
7887 variables, we are in the right directory and the defaults work fine.
7888
7889 2013-10-30 Glenn Morris <rgm@gnu.org>
7890
7891 * Makefile.in (autoloads): Do not use abs_lisp.
7892
7893 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7894 `newline' does not respect `standard-output', so use `princ'.
7895
7896 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7897
7898 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7899 * buff-menu.el (Buffer-menu--unmark): New function.
7900 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7901
7902 2013-10-30 Glenn Morris <rgm@gnu.org>
7903
7904 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7905
7906 * emacs-lisp/package.el (lm-homepage): Declare.
7907
7908 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7909 Fix doc typos.
7910
7911 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7912
7913 * Makefile.in (finder-data, autoloads, update-subdirs)
7914 (compile-main, compile-clean, compile-always, bootstrap-clean):
7915 Check return value of cd.
7916 (compile-calc): Remove.
7917
7918 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7919
7920 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7921
7922 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7923 (byte-compile-and-folded): New function.
7924 (=, <, >, <=, >=): Use it.
7925
7926 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7927 (path-separator, null-device, buffer-file-coding-system)
7928 (lpr-headers-switches): Check system-type before modifying them.
7929 (find-buffer-file-type-coding-system): Mark obsolete.
7930 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7931 find-file-not-found-set-buffer-file-coding-system.
7932 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7933 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7934 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7935 (w32-direct-print-region-helper, w32-direct-print-region-function)
7936 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7937 * startup.el (normal-top-level-add-subdirs-to-load-path):
7938 * ps-print.el (ps-print-region-function):
7939 * lpr.el (print-region-function): Use new name.
7940
7941 * subr.el (custom-declare-variable-early): Remove function.
7942 (custom-declare-variable-list): Remove var.
7943 (error, user-error): Remove `while' loop.
7944 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7945 (user-emacs-directory-warning, locate-user-emacs-file):
7946 Move to files.el.
7947 * simple.el (read-quoted-char-radix, read-quoted-char):
7948 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7949 Move from subr.el.
7950 * custom.el (custom-declare-variable-list): Don't process
7951 custom-declare-variable-list.
7952
7953 * progmodes/python.el (python-shell-get-buffer): New function.
7954 (python-shell-get-process): Use it.
7955 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7956 Python which encoding was used. Don't split-string since we only care
7957 about the first line. Return the temp-file, if applicable.
7958 (python-shell-send-region): Tell compile.el how to turn locations in
7959 the temp-file into locations in the source buffer.
7960
7961 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * subr.el (undefined): Add missing behavior from the C code for
7964 unbound keys.
7965
7966 * rect.el: Use lexical-binding. Add new rectangular region support.
7967 (rectangle-mark): New command.
7968 (rectangle--region): New var.
7969 (deactivate-mark-hook): Reset rectangle--region.
7970 (rectangle--extract-region, rectangle--insert-for-yank)
7971 (rectangle--highlight-for-redisplay)
7972 (rectangle--unhighlight-for-redisplay): New functions.
7973 (region-extract-function, redisplay-unhighlight-region-function)
7974 (redisplay-highlight-region-function): Use them to handle
7975 rectangular region.
7976 * simple.el (region-extract-function): New var.
7977 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7978 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7979 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7980 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7981 (redisplay-unhighlight-region-function)
7982 (redisplay-highlight-region-function): New vars.
7983 (redisplay--update-region-highlight): New function.
7984 (pre-redisplay-function): Use it.
7985 (exchange-point-and-mark): Don't deactivate the mark before
7986 reactivate-it anyway.
7987 * comint.el (comint-kill-region): Remove yank-handler argument.
7988 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7989 (delete-char): Remove property, since it's now part of their
7990 default behavior.
7991 (self-insert-iso): Remove property since this command doesn't exist.
7992
7993 * emacs-lisp/package.el (package--download-one-archive)
7994 (describe-package-1): Don't query the user about final newline.
7995
7996 2013-10-29 Daniel Colascione <dancol@dancol.org>
7997
7998 * net/tramp.el (tramp-methods): Document new functionality.
7999 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
8000 tramp-hostname-checker if method provides one instead of scanning
8001 argument list for "%h" to decide hostname acceptability.
8002
8003 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
8004
8005 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8006 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8007 Handle COPY-CONTENTS. (Bug#15737)
8008
8009 2013-10-28 Daiki Ueno <ueno@gnu.org>
8010
8011 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
8012 Document that this option has no effect with GnuPG 2.0 (bug#15552).
8013
8014 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
8015
8016 * image.el (defimage, image-load-path): Doc fixes.
8017
8018 2013-10-27 Alan Mackenzie <acm@muc.de>
8019
8020 Indent statements in macros following "##" correctly.
8021 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8022 Modify the "#" arm of a cond form to handle "#" and "##" operators.
8023
8024 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8025
8026 * linum.el (linum-update-window): Fix boundary test (bug#13446).
8027
8028 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
8029
8030 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8031 after `=' is probably a new expression.
8032
8033 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8034
8035 * man.el (man-imenu-title): New option.
8036 (Man-mode-map): Add menu. (Bug#15722)
8037 (Man-mode): Add imenu to menu.
8038
8039 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
8040
8041 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8042 specific in what the first arg can be: a non-keyword word,
8043 string/regexp/percent literal opener, opening paren, or unary
8044 operator followed directly by word.
8045
8046 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8049 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8050 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8051 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8052 Remove vars, they do not apply any more.
8053 (prolog-mode-abbrev-table): Remove redundant declaration.
8054 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8055 (prolog-use-smie): Remove.
8056 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8057 supported by prolog-electric-if-then-else-flag.
8058 (prolog-mode-variables, prolog-menu): Use setq-local.
8059 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8060 Remove binding to `Backspace' since this key doesn't exist anyway.
8061 Remove bindings for electric self-inserting keys.
8062 (prog-mode): Assume it's defined.
8063 (prolog-post-self-insert): New function.
8064 (prolog-mode): Use it.
8065 (prolog-indent-line, prolog-indent-level)
8066 (prolog-find-indent-of-matching-paren)
8067 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8068 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8069 (prolog-goto-next-paren, prolog-in-string-or-comment)
8070 (prolog-tokenize, prolog-inside-mline-comment)
8071 (prolog-find-start-of-mline-comment): Remove functions.
8072 (prolog-find-unmatched-paren, prolog-clause-end)
8073 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8074 (prolog-electric--if-then-else): Rename from
8075 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8076 (prolog-tokenize-searchkey): Remove const.
8077 (prolog-clause-info): Use forward-sexp.
8078 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8079 (prolog-electric-if-then-else): Remove commands.
8080 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8081 for use in post-self-insert-hook.
8082 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8083 for use in post-self-insert-hook.
8084 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8085 for use in post-self-insert-hook.
8086 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8087 adapt it for use in post-self-insert-hook.
8088
8089 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8090
8091 * emacs-lisp/ert.el (ert-run-tests-interactively):
8092 Use `completing-read'. (Bug#9756)
8093
8094 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8095
8096 * simple.el (line-move): Call line-move-1 instead of
8097 line-move-visual when the current window hscroll is zero, but
8098 temporary-goal-column indicates we will need to hscroll as result
8099 of the movement. (Bug#15712)
8100
8101 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8102
8103 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8104 capitalization. Use :visible instead of :active.
8105 Fix `ruby-indent-exp' reference. Add menu items for the generic
8106 commands that are used with SMIE.
8107 (ruby-do-end-to-brace): Insert space after `{'.
8108
8109 2013-10-25 John Anthony <john@jo.hnanthony.com>
8110
8111 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8112
8113 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8114
8115 2013-10-25 Glenn Morris <rgm@gnu.org>
8116
8117 * vc/vc.el (vc-print-log): Don't use a working revision unless
8118 one was explicitly specified. (Bug#15322)
8119
8120 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * subr.el (add-to-list): Preserve return value in compiler-macro
8123 (bug#15692).
8124
8125 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8126
8127 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8128 result. Ask user to retry using '-all' flag. (Bug#15701)
8129
8130 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 * emacs-lisp/smie.el: New smie-config system.
8133 (smie-config): New defcustom.
8134 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8135 (smie-config-guess, smie-config-save): New commands.
8136 (smie-config--mode-local, smie-config--buffer-local)
8137 (smie-config--trace, smie-config--modefuns): New vars.
8138 (smie-config--advice, smie-config--mode-hook)
8139 (smie-config--setter, smie-config-local, smie-config--get-trace)
8140 (smie-config--guess-value, smie-config--guess): New functions.
8141 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8142 text properties. Treat "string fence" syntax like string syntax.
8143
8144 * progmodes/sh-script.el (sh-use-smie): Change default.
8145 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8146 (sh-var-value): Simplify by CSE.
8147 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8148 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8149 is used.
8150 (sh-guess-basic-offset): Use cl-incf.
8151 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8152
8153 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8154
8155 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8156 (bug#15699).
8157
8158 2013-10-24 Glenn Morris <rgm@gnu.org>
8159
8160 * Makefile.in (abs_top_srcdir): Remove.
8161 (update-subdirs): Use relative path to update-subdirs.
8162
8163 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8164
8165 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8166 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8167 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8168 Call unmsys--file-name before expand-file-name, not after it.
8169
8170 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8171
8172 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8173 (ert-test-skipped): New error.
8174 (ert-skip, ert-stats-skipped): New defuns.
8175 (ert--skip-unless): New macro.
8176 (ert-test-skipped): New struct.
8177 (ert--run-test-debugger, ert-test-result-type-p)
8178 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8179 (ert--stats-set-test-and-result, ert-char-for-test-result)
8180 (ert-string-for-test-result, ert-run-tests-batch)
8181 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8182 Handle skipped tests. (Bug#9803)
8183
8184 2013-10-24 Glenn Morris <rgm@gnu.org>
8185
8186 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8187
8188 * Makefile.in (abs_top_srcdir): New, set by configure.
8189 (update-subdirs): Correct build-aux location.
8190
8191 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8192
8193 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8194 value, whether we could auto-deduce `backend', or not.
8195
8196 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8197 with parameters" example. Simplify the "is it block or is it
8198 hash" check, but also make it more thorough.
8199
8200 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8201
8202 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8203
8204 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8207 { if it is hanging.
8208
8209 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8210 :before ";".
8211
8212 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8213
8214 * progmodes/compile.el (compilation-directory-matcher)
8215 (compilation-page-delimiter):
8216 Support GNU Make-4.0 directory quoting. (Bug#15678)
8217
8218 2013-10-23 Leo Liu <sdl.web@gmail.com>
8219
8220 * ido.el (ido-tidy): Handle read-only text.
8221
8222 2013-10-23 Glenn Morris <rgm@gnu.org>
8223
8224 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8225 (emacs, compile, compile-always):
8226 Quote entities that might contain whitespace.
8227 (custom-deps, finder-data, autoloads): Use abs_lisp.
8228 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8229 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8230 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8231
8232 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8233
8234 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8235 Use `following-char'.
8236
8237 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8238
8239 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8240 * progmodes/ruby-mode.el (ruby-smie-rules):
8241 Remove corresponding workaround. Fix indentation rule of ";" so it
8242 also applies when ";" is the parent.
8243
8244 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8245
8246 * frame.el (display-screens, display-pixel-height)
8247 (display-pixel-width, display-mm-width, display-backing-store)
8248 (display-save-under, display-planes, display-color-cells)
8249 (display-visual-class, display-monitor-attributes-list):
8250 Mention the optional ‘display’ argument in doc strings.
8251
8252 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8253
8254 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8255 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8256
8257 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8258
8259 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8260 TODO. Add "." after " @ ".
8261 (ruby-smie--at-dot-call): New function. Checks if point at method
8262 call with explicit target.
8263 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8264 to the method name tokens when it precedes them.
8265 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8266 (ruby-smie-rules): Add rule for indentation before and after "."
8267 token.
8268
8269 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8270
8271 * textmodes/remember.el (remember-diary-extract-entries):
8272 Avoid add-to-list.
8273
8274 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8275 an instruction.
8276
8277 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8278
8279 * progmodes/ruby-mode.el (ruby-smie-grammar):
8280 Add (almost) all infix operators.
8281 (ruby-smie--implicit-semi-p): Add new operator chars.
8282
8283 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8284 `smie-down-list'.
8285 (ruby-smie--args-separator-p): Check that there's no newline
8286 between method call and its arguments.
8287
8288 2013-10-20 Alan Mackenzie <acm@muc.de>
8289
8290 Allow comma separated lists after Java "implements".
8291
8292 * progmodes/cc-engine.el (c-backward-over-enum-header):
8293 Parse commas.
8294 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8295 from a "disallowed" list in enum fontification.
8296
8297 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8298
8299 * startup.el (default-frame-background-mode): Remove unused defvar.
8300
8301 * progmodes/verilog-mode.el (verilog-mode): Don't set
8302 comment-indent-function globally.
8303
8304 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8305
8306 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8307 Move Info menu item creation to ns-win.el.
8308
8309 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8310 in menu bar.
8311
8312 * menu-bar.el: Move GNUstep specific menus...
8313
8314 * term/ns-win.el (ns-initialize-window-system): ... to here.
8315
8316 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * simple.el (newline): Only run post-self-insert-hook when
8319 called interactively.
8320
8321 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8322
8323 * icomplete.el (icomplete-with-completion-tables): Add :version.
8324
8325 2013-10-19 Alan Mackenzie <acm@muc.de>
8326
8327 Fix fontification bugs with constructors and const.
8328
8329 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8330 CASE 2) Remove the check for the absence of a suffix construct
8331 after a function declaration with only types (no identifiers) in
8332 the parentheses. Also, accept a function declaration with just a
8333 type inside the parentheses, if this type can be positively
8334 recognised as such, or if a prefix keyword like "explicit" nails
8335 down the construct as a declaration.
8336
8337 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8338
8339 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8340 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8341 the problem whereby selecting a menu item that leads to a
8342 minibuffer prompt moves the cursor out of the minibuffer window,
8343 making it hard to type at the prompt. Suggested by Stefan Monnier
8344 <monnier@iro.umontreal.ca>.
8345
8346 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8347
8348 * menu-bar.el: Don't make Services menu.
8349
8350 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8351
8352 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8353 (ffap-alist): Use ffap-c++-mode for c++-mode.
8354 (ffap-c++-path): New variable.
8355 (ffap-c++-mode): New function.
8356
8357 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8358
8359 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8360
8361 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8362
8363 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8364 introduced on 2013-09-08, which results in an infinite loop
8365 requesting a password.
8366
8367 2013-10-18 Glenn Morris <rgm@gnu.org>
8368
8369 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8370
8371 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8372
8373 Sync with upstream verilog-mode revision 1a6ecec7.
8374 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8375 (verilog-mode-release-date): Remove.
8376 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8377 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8378 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8379 (verilog-auto-tieoff-ignore-regexp)
8380 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8381 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8382 (verilog-signals-with, verilog-dir-cache-preserving)
8383 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8384 Doc fixes.
8385 (verilog-case-fold): New option, to control case folding in
8386 regexp searches, bug597.
8387 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8388 (verilog-string-match-fold, verilog-in-paren-count)
8389 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8390 (verilog-at-close-struct-p): New functions.
8391 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8392 (verilog-forward-sexp, verilog-set-auto-endcomments)
8393 (verilog-leap-to-case-head): Handle "unique0" case.
8394 (verilog-in-constraint-re): New constant.
8395 (verilog-keywords, verilog-type-font-keywords):
8396 Add some SystemVerilog 1800-2012 keywords.
8397 (verilog-label-be): Remove unimplemented argument, bug669.
8398 (verilog-batch-execute-func): When batch expanding clear
8399 create-lockfiles to prevent spurious user locks when a file ends
8400 up not changing.
8401 (verilog-calculate-indent, verilog-calc-1)
8402 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8403 (verilog-do-indent): Fix indentation of nested constraints
8404 and structures.
8405 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8406 (verilog-auto-inst-param): Use verilog-string-match-fold.
8407 (verilog-read-inst-module-matcher):
8408 Fix AUTOINST on gate primitives with #1.
8409 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8410 Reads all user-defined typed variables.
8411 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8412 (verilog-signals-matching-regexp)
8413 (verilog-signals-not-matching-regexp, verilog-auto):
8414 Respect verilog-case-fold.
8415 (verilog-diff-report): Fix line count.
8416 (verilog-auto-assign-modport): Remove unused local `modi'.
8417 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8418 better handle multidimensional arrays.
8419 Fix packed array ports misadding bit index in AUTOINST, bug637.
8420 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8421 to not double-declare existing outputs and inputs, respectively.
8422 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8423 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8424 (verilog-sk-uvm-component): New skeleton.
8425 (verilog-submit-bug-report): Add verilog-case-fold,
8426 remove verilog-mode-release-date.
8427
8428 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8429
8430 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8431 as before.
8432
8433 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8434
8435 * textmodes/remember.el (remember): Set buffer-offer-save in
8436 remember buffers (bug#13566).
8437
8438 2013-10-18 Daniel Colascione <dancol@dancol.org>
8439
8440 When evaluating forms in ielm, direct standard output to ielm
8441 buffer. Add new ielm-return-for-effect command. Remove trailing
8442 whitespace throughout.
8443
8444 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8445 (ielm-return-for-effect): New command.
8446 (ielm-send-input): Accept optional `for-effect' parameter.
8447 (ielm-eval-input): Accept optional `for-effect' parameter.
8448 Bind `standard-output' to stream we create using
8449 `ielm-standard-output-impl'. Suppress printing result when
8450 `for-effect'.
8451 (ielm-standard-output-impl): New function.
8452 (inferior-emacs-lisp-mode): Explain new features in documentation.
8453
8454 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8455
8456 Code cleanup.
8457
8458 * net/tramp.el (tramp-debug-message): Do not check for connection
8459 buffer.
8460 (tramp-message): Use "vector" connection property.
8461
8462 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8463 (tramp-equal-remote, tramp-eshell-directory-change)
8464 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8465 (tramp-adb-handle-rename-file)
8466 * net/tramp-cmds.el (tramp-list-remote-buffers)
8467 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8468 * net/tramp-compat.el (tramp-compat-process-running-p)
8469 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8470 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8471 (tramp-gvfs-handle-rename-file)
8472 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8473 (tramp-set-file-uid-gid)
8474 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8475 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8476 of `file-remote-p'.
8477
8478 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8479 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8480 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8481 (tramp-gw-open-network-stream): Suppress unrelated traces.
8482
8483 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8484 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8485 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8486 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8487 connection property.
8488
8489 * net/tramp-cache.el (top): Suppress traces when reading
8490 persistency file.
8491
8492 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8493 Refactor common code. Improve debug message.
8494 (tramp-maybe-open-connection)
8495 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8496 connection buffer too early.
8497
8498 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8499 from `tramp-smb-actions-with-acl'.
8500 (tramp-smb-actions-set-acl): New defconst.
8501 (tramp-smb-handle-copy-directory)
8502 (tramp-smb-action-get-acl): New defun, renamed from
8503 `tramp-smb-action-with-acl'.
8504 (tramp-smb-action-set-acl): New defun.
8505 (tramp-smb-handle-set-file-acl): Rewrite.
8506
8507 2013-10-17 Glenn Morris <rgm@gnu.org>
8508
8509 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8510
8511 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * skeleton.el (skeleton-newline): Remove.
8514 (skeleton-internal-1): Use (insert "\n") instead.
8515
8516 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8517 let-bindings.
8518
8519 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8520 forward-sexp-function while we redo its job (bug#15613).
8521
8522 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8523
8524 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8525 represented by lists.
8526
8527 2013-10-16 Glenn Morris <rgm@gnu.org>
8528
8529 * tmm.el (tmm--history): New dynamic variable.
8530 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8531
8532 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8533
8534 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8535 (tramp-smb-errors): Add error messages.
8536 (tramp-smb-actions-with-acl): New defconst.
8537 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8538 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8539 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8540 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8541 (tramp-smb-get-stat-capability): Fix tests.
8542
8543 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8544
8545 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8546 (bug#15580).
8547
8548 2013-10-16 Glenn Morris <rgm@gnu.org>
8549
8550 * ansi-color.el (ansi-color-drop-regexp):
8551 Add 1J, 1K, 2K. (Bug#15617)
8552
8553 * files.el (hack-local-variables--warned-lexical): New.
8554 (hack-local-variables):
8555 Warn about misplaced lexical-binding. (Bug#15616)
8556
8557 * net/eww.el (eww-render): Always set eww-current-url,
8558 and update header line. (Bug#15622)
8559 (eww-display-html): ... Rather than just doing it here.
8560
8561 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8562
8563 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8564 menu navigations commands.
8565
8566 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8567
8568 * progmodes/subword.el (subword-capitalize): Be careful when
8569 the search for [[:alpha:]] fails (bug#15580).
8570
8571 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8572
8573 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8574 to commands that scroll the menu.
8575
8576 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8577
8578 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8579 Handle methods ending with `?' and `!'.
8580
8581 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8582
8583 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8584 `japanese-cp932' to `cp932' to fix the problem where saving a
8585 source file written in Shift_JIS twice would end up having
8586 `coding: japanese-cp932' which Ruby could not recognize.
8587 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8588 in `ruby-encoding-map'.
8589 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8590 doesn't need to be explicitly declared in magic comment.
8591 (ruby-encoding-map): Add type declaration for better customize UI.
8592
8593 2013-10-13 Glenn Morris <rgm@gnu.org>
8594
8595 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8596 Occur buffers are read-only. http://bugs.debian.org/720775
8597
8598 * emacs-lisp/authors.el (authors-fixed-entries):
8599 Comment out old alpha stuff.
8600
8601 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8602
8603 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8604 to `after-save-hook' instead of `before-save-hook'.
8605 (ruby-mode-set-encoding): Use the value of coding system used to
8606 write the file. Call `basic-save-buffer-1' after modifying the
8607 buffer.
8608
8609 2013-10-13 Alan Mackenzie <acm@muc.de>
8610
8611 Fix indentation/fontification of Java enum with
8612 "implements"/generic.
8613
8614 * progmodes/cc-engine.el (c-backward-over-enum-header):
8615 Extracted from the three other places and enhanced to handle generics.
8616 (c-inside-bracelist-p): Uses new function above.
8617 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8618 function above.
8619 (c-font-lock-enum-tail): Uses new function above.
8620
8621 2013-10-13 Kenichi Handa <handa@gnu.org>
8622
8623 * international/mule-cmds.el (select-safe-coding-system): Remove a
8624 superfluous condition in chekcing whether a coding system is safe
8625 or not.
8626
8627 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8628
8629 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8630
8631 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8632
8633 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8634
8635 2013-10-13 Glenn Morris <rgm@gnu.org>
8636
8637 * menu-bar.el (menu-bar-update-buffers):
8638 Unify Buffers menu prompt string. (Bug#15576)
8639
8640 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8641
8642 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8643 Add some entries.
8644 (authors-fixed-entries): Use accented form of name.
8645
8646 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8649 method calls (bug#15594).
8650 (ruby-smie--args-separator-p): New function.
8651 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8652 recognize paren-free method calls.
8653
8654 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8655 internals of universal-argument.
8656
8657 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8658
8659 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8660 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8661 dropped menu on second mouse click on the menu bar.
8662
8663 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8666 (explicit-shell-file-name): Declare.
8667 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8668 (sh-completion-at-point-function): New function.
8669 (sh-mode): Use it.
8670 (sh-smie--keyword-p): Remove unused argument.
8671 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8672 vars.
8673 (sh-set-shell): Always setup SMIE, even if we use the
8674 old indentation code.
8675
8676 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8677
8678 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8679 cases of ? and =.
8680 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8681 predicate would return nil are almost non-existent.
8682 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8683
8684 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8685 cache also after commands that modify the buffer but don't move
8686 point.
8687
8688 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * env.el (substitute-env-in-file-name): New function.
8691 (substitute-env-vars): Extend the meaning of the optional arg.
8692
8693 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8694
8695 * term/w32-win.el (dynamic-library-alist): Define separate lists
8696 of GIF DLLs for versions before and after 5.0.0 of giflib.
8697 (Bug#15531)
8698
8699 2013-10-10 João Távora <joaotavora@gmail.com>
8700
8701 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8702 not locked, use last revision and current source as
8703 defaults. (Bug#15569)
8704
8705 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8706
8707 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8708 menu-bar is hidden.
8709
8710 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8711
8712 * window.el (pop-to-buffer-same-window): Fix doc-string.
8713 (Bug#15492)
8714
8715 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8716
8717 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8718
8719 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8720
8721 * calendar/icalendar.el (icalendar-import-file):
8722 Fix interactive spec. (Bug#15482)
8723
8724 2013-10-10 Glenn Morris <rgm@gnu.org>
8725
8726 * desktop.el (desktop-save): Default to saving in .emacs.d,
8727 since PWD is no longer in desktop-path by default. (Bug#15319)
8728
8729 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8730 now that text mode has a menu with the same entry.
8731 (menu-bar-text-mode-auto-fill): Remove now unused func.
8732 * textmodes/text-mode.el (text-mode-map):
8733 Use auto-fill help text from menu-bar.el.
8734
8735 2013-10-10 John Anthony <john@jo.hnanthony.com>
8736
8737 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8738
8739 2013-10-09 Juri Linkov <juri@jurta.org>
8740
8741 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8742 instead of this-command-keys. Add universal-argument-more and
8743 universal-argument-minus to the list of prefix commands. (Bug#15568)
8744
8745 2013-10-09 Glenn Morris <rgm@gnu.org>
8746
8747 * vc/vc-svn.el (vc-svn-create-repo):
8748 Expand paths in file://... url. (Bug#15446)
8749
8750 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8751 Add some entries.
8752 (authors): Remove unused local variables.
8753
8754 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * profiler.el: Create a more coherent calltree from partial backtraces.
8757 (profiler-format): Hide the tail with `invisible' so that C-s can still
8758 find the hidden elements.
8759 (profiler-calltree-depth): Don't recurse so enthusiastically.
8760 (profiler-function-equal): New hash-table-test.
8761 (profiler-calltree-build-unified): New function.
8762 (profiler-calltree-build): Use it.
8763 (profiler-report-make-name-part): Indent the calltree less.
8764 (profiler-report-mode): Add visibility specs for profiler-format.
8765 (profiler-report-expand-entry, profiler-report-toggle-entry):
8766 Expand the whole subtree when provided with a prefix arg.
8767
8768 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8769
8770 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8771 iuwu-mod token.
8772 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8773 hanging iuwu-mod token.
8774 (ruby-smie--forward-token): Do not include a dot after a token in
8775 that token.
8776 (ruby-smie--backward-token): Likewise.
8777
8778 2013-10-08 Juri Linkov <juri@jurta.org>
8779
8780 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8781 to isearch-other-control-char.
8782 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8783 and isearch-post-command-hook to post-command-hook.
8784 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8785 and isearch-post-command-hook from post-command-hook.
8786 (isearch-unread-key-sequence)
8787 (isearch-reread-key-sequence-naturally)
8788 (isearch-lookup-scroll-key, isearch-other-control-char)
8789 (isearch-other-meta-char): Remove functions.
8790 (isearch-pre-command-hook, isearch-post-command-hook):
8791 New functions based on isearch-other-meta-char rewritten
8792 relying on the new behavior of overriding-terminal-local-map
8793 that does not replace the local keymaps any more. (Bug#15200)
8794
8795 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8796
8797 Support menus on text-mode terminals.
8798 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8799 functionality.
8800
8801 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8802
8803 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8804 Move here from mouse.el.
8805 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8806 and arrow keys.
8807 (tty-menu-navigation-map): New map for TTY menu navigation.
8808
8809 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8810
8811 * frame.el (display-mouse-p): Report text-mode mouse as available
8812 on w32.
8813 (display-popup-menus-p): Report availability if mouse is
8814 available; don't condition on window-system.
8815
8816 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8817 (tty-menu-selected-face): New faces.
8818
8819 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8822 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8823 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8824 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8825 New constants.
8826 (lisp-mode-variables): New `elisp' argument.
8827 (emacs-lisp-mode): Use it.
8828 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8829 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8830
8831 * indent.el: Use lexical-binding.
8832 (indent-region): Add progress reporter.
8833 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8834 last step.
8835 (indent--next-tab-stop): New function to implement this behavior.
8836 (tab-to-tab-stop, move-to-tab-stop): Use it.
8837
8838 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8839
8840 * indent.el (indent-rigidly--current-indentation): New function.
8841 (indent-rigidly-map): New var.
8842 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8843
8844 2013-10-08 Bastien Guerry <bzg@gnu.org>
8845
8846 * register.el (insert-register): Fix 2013-10-07 change.
8847
8848 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * progmodes/perl-mode.el: Use lexical-binding.
8851 Remove redundant :group args.
8852 (perl-nochange): Change default to be closer to other major modes's
8853 standard behavior.
8854 (perl-indent-line): Don't consider text on current line as a
8855 valid beginning of function from which to indent.
8856
8857 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8858 with more than one argument (bug#15538).
8859
8860 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8861
8862 * vc/pcvs.el: Use lexical-binding.
8863 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8864 environment of `eval'.
8865 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8866 than a list of expressions. Adjust callers.
8867 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8868
8869 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8870
8871 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8872 case of the dot in a chained method call being on the following line.
8873
8874 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * electric.el (electric-indent-inhibit): New var.
8877 (electric-indent-post-self-insert-function): Use it.
8878 * progmodes/python.el (python-mode): Set it.
8879
8880 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8881 open braces.
8882
8883 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8884
8885 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8886 (css-mode): Use electric-indent-chars.
8887
8888 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8889 (font-lock-beg, font-lock-end): Move before first use.
8890 (nxml-mode): Use syntax-propertize-function.
8891 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8892 (nxml-extend-after-change-region): Remove.
8893 * nxml/xmltok.el: Use lexical-binding.
8894 (xmltok-save): Use `declare'.
8895 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8896 * nxml/nxml-util.el: Use lexical-binding.
8897 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8898 Use `declare'.
8899 * nxml/nxml-ns.el: Use lexical-binding.
8900 (nxml-ns-save): Use `declare'.
8901 (nxml-ns-prefixes-for): Avoid add-to-list.
8902 * nxml/rng-match.el: Use lexical-binding.
8903 (rng--ipattern): Use cl-defstruct.
8904 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8905 (rng-cons-group-after, rng-subst-group-after)
8906 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8907 Use closures instead of `(lambda...).
8908
8909 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8910
8911 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8912 of BEG and END.
8913
8914 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8915 Use `tramp-handle-insert-file-contents'.
8916 (tramp-gvfs-handle-insert-file-contents): Remove function.
8917
8918 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8919 Use `save-restriction' in order to keep markers.
8920
8921 * net/trampver.el: Update release number.
8922
8923 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8924
8925 * progmodes/compile.el (compilation-parse-errors):
8926 Use compilation--put-prop.
8927 (compilation--ensure-parse): Check compilation-multiline.
8928
8929 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8930
8931 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8932 lexical-binding.
8933
8934 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8935
8936 * progmodes/ruby-mode.el: Fix recently added tests.
8937 (ruby-smie-grammar): Add - and +.
8938 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8939 (ruby-smie--backward-id): New functions.
8940 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8941 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8942 any more.
8943
8944 2013-10-07 Leo Liu <sdl.web@gmail.com>
8945
8946 * register.el (register-preview-delay)
8947 (register-preview-functions): New variables.
8948 (register-read-with-preview, register-preview)
8949 (register-describe-oneline): New functions.
8950 (point-to-register, window-configuration-to-register)
8951 (frame-configuration-to-register, jump-to-register)
8952 (number-to-register, view-register, insert-register)
8953 (copy-to-register, append-to-register, prepend-to-register)
8954 (copy-rectangle-to-register): Use register-read-with-preview to
8955 read register. (Bug#15525)
8956
8957 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8958
8959 * net/network-stream.el (network-stream-open-starttls): Don't add
8960 --insecure if it's already present, because that gnutls-cli
8961 rejects getting that parameter twice.
8962
8963 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8964
8965 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8966 keyword, too.
8967
8968 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8969
8970 * newcomment.el (comment-use-global-state): Change default value
8971 to t, mark obsolete (Bug#15251).
8972 (comment-beginning): In addition to `comment-to-syntax', check the
8973 value of `comment-use-global-state'.
8974
8975 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8978 (ruby-comment-column): Follow the global default, by default.
8979 (ruby-smie-grammar): Add assignment syntax.
8980 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8981 open-paren, a comma, or a \.
8982 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8983 and line continuations.
8984 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8985 followed by implicit semi-colons. Add rule for string concatenation
8986 and for indentation at BOB.
8987 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8988
8989 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8990 calling next-sexp, since next-token may have skipped chars which
8991 next-sexp doesn't know should be skipped!
8992
8993 2013-10-05 Leo Liu <sdl.web@gmail.com>
8994
8995 * progmodes/octave.el (octave-send-region):
8996 Call compilation-forget-errors.
8997
8998 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8999
9000 * vc/vc-svn.el (vc-svn-find-admin-dir):
9001 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
9002 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
9003 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
9004 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
9005
9006 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9009
9010 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
9011
9012 * subr.el (read-passwd): Hide chars even when called within a context
9013 where after-change-functions is disabled (bug#15501).
9014 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9015 until we removed ourself from overriding-terminal-local-map.
9016
9017 2013-10-04 Leo Liu <sdl.web@gmail.com>
9018
9019 * progmodes/octave.el (inferior-octave-mode):
9020 Call compilation-forget-errors.
9021
9022 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9023
9024 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9025
9026 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
9027
9028 * net/secrets.el (secrets-create-collection): Add optional
9029 argument ALIAS. Use proper Label keyword. Append ALIAS as
9030 dbus-call-method argument. (Bug#15516)
9031
9032 2013-10-04 Leo Liu <sdl.web@gmail.com>
9033
9034 * progmodes/octave.el (inferior-octave-error-regexp-alist)
9035 (inferior-octave-compilation-font-lock-keywords): New variables.
9036 (compilation-error-regexp-alist)
9037 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9038 (inferior-octave-mode): Use compilation-shell-minor-mode.
9039
9040 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
9041
9042 * minibuffer.el (completion--replace): Be careful that `end' might be
9043 a marker.
9044
9045 2013-10-03 Daiki Ueno <ueno@gnu.org>
9046
9047 Add support for package signature checking.
9048 * emacs-lisp/package.el (url-http-file-exists-p)
9049 (epg-make-context, epg-context-set-home-directory)
9050 (epg-verify-string, epg-context-result-for)
9051 (epg-signature-status, epg-signature-to-string)
9052 (epg-check-configuration, epg-configuration)
9053 (epg-import-keys-from-file): Declare.
9054 (package-check-signature): New user option.
9055 (package-unsigned-archives): New user option.
9056 (package-desc): Add `signed' field.
9057 (package-load-descriptor): Set `signed' field if .signed file exists.
9058 (package--archive-file-exists-p): New function.
9059 (package--check-signature): New function.
9060 (package-install-from-archive): Check package signature.
9061 (package--download-one-archive): Check archive signature.
9062 (package-delete): Remove .signed file.
9063 (package-import-keyring): New command.
9064 (package-refresh-contents): Import default keyring.
9065 (package-desc-status): Add "unsigned" status.
9066 (describe-package-1, package-menu--print-info)
9067 (package-menu-mark-delete, package-menu--find-upgrades)
9068 (package-menu--status-predicate): Support "unsigned" status.
9069
9070 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9073 the new compilation scheme using the new byte-codes.
9074
9075 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9076 (byte-pophandler): New byte codes.
9077 (byte-goto-ops): Adjust accordingly.
9078 (byte-compile--use-old-handlers): New var.
9079 (byte-compile-catch): Use new byte codes depending on
9080 byte-compile--use-old-handlers.
9081 (byte-compile-condition-case--old): Rename from
9082 byte-compile-condition-case.
9083 (byte-compile-condition-case--new): New function.
9084 (byte-compile-condition-case): New function that dispatches depending
9085 on byte-compile--use-old-handlers.
9086 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9087 when we can.
9088
9089 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9090 Optimize under `condition-case' and `catch' if
9091 byte-compile--use-old-handlers is nil.
9092 (disassemble-offset): Handle new bytecodes.
9093
9094 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * subr.el (error): Use `declare'.
9097 (decode-char, encode-char): Use advertised-calling-convention instead
9098 of the docstring to discourage use of the `restriction' arg.
9099
9100 2013-10-03 Daiki Ueno <ueno@gnu.org>
9101
9102 * epg.el (epg-verify-file): Add a comment saying that it does not
9103 notify verification error as a return value nor a signal.
9104 (epg-verify-string): Ditto.
9105
9106 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9107
9108 * progmodes/compile.el (compilation-start): Try globbing the arg to
9109 `cd' (bug#15417).
9110
9111 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9112
9113 Sync with Tramp 2.2.8.
9114
9115 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9116 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9117 * net/trampver.el: Update release number.
9118
9119 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9120
9121 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9122 and default-process-coding-system for darwin only.
9123
9124 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9127
9128 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9129
9130 * vc/vc-git.el (vc-git-grep): Disable pager.
9131
9132 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9133
9134 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9135 Use :url instead of :homepage, as per
9136 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9137
9138 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9139 non-nil, use `syntax-ppss' (Bug#15251).
9140
9141 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9142
9143 * progmodes/octave.el (inferior-octave-startup-file):
9144 Prefer ~/.emacs.d/init_octave.m.
9145
9146 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9147
9148 * emacs-lisp/package.el (package-desc-from-define):
9149 Accept additional arguments as plist, convert them to an alist and store
9150 them in the `extras' slot.
9151 (package-generate-description-file): Convert extras alist back to
9152 plist and append to the `define-package' form arguments.
9153 (package--alist-to-plist): New function.
9154 (package--ac-desc): Add `extras' slot.
9155 (package--add-to-archive-contents): Check if the archive-contents
9156 vector is long enough, and if it is, pass its `extras' slot value
9157 to `package-desc-create'.
9158 (package-buffer-info): Call `lm-homepage', pass the returned value
9159 to `package-desc-from-define'.
9160 (describe-package-1): Render the homepage button (Bug#13291).
9161
9162 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9163 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9164
9165 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9166
9167 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9168 and default-process-coding-system to utf-8-unix (Bug#15402).
9169
9170 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9171
9172 * subr.el (looking-back): Do not recommend using looking-back.
9173
9174 2013-09-28 Alan Mackenzie <acm@muc.de>
9175
9176 Fix indentation/fontification of Java enum with "implements".
9177
9178 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9179 regexp which matches "implements", etc., in Java.
9180 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9181 specifier clauses coming after "enum".
9182 * progmodes/cc-fonts.el (c-font-lock-declarations)
9183 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9184 after "enum".
9185
9186 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9187
9188 * faces.el (region): Change ns_selection_color to
9189 ns_selection_fg_color, add ns_selection_bg_color.
9190
9191 2013-09-28 Leo Liu <sdl.web@gmail.com>
9192
9193 * progmodes/octave.el (inferior-octave-completion-table)
9194 (inferior-octave-completion-at-point): Minor tweaks.
9195
9196 * textmodes/ispell.el (ispell-lookup-words): Rename from
9197 lookup-words. (Bug#15460)
9198 (lookup-words): Obsolete.
9199 (ispell-complete-word, ispell-command-loop): All uses changed.
9200
9201 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9202
9203 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9204 (octave-mode-menu): Add octave-send-buffer.
9205 (octave-send-buffer): New function.
9206
9207 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9208
9209 * progmodes/octave.el (octave-mode-map): Add key binding for
9210 octave-lookfor.
9211 (octave-mode-menu): Add octave-lookfor.
9212 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9213 octave-lookfor.
9214 (octave-lookfor): New function.
9215
9216 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9219 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9220 its convention.
9221 (cl--loop-set-iterator-function): New function.
9222 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9223 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9224 Bind `it' with `let' instead of substituting it with `cl-subst'.
9225 (cl--unused-var-p): New function.
9226 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9227 Eliminate some unused variable warnings (bug#15326).
9228
9229 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9230
9231 * doc-view.el (doc-view-scale-reset): Rename from
9232 `doc-view-reset-zoom-level'.
9233 (doc-view-scale-adjust): New command.
9234 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9235 `doc-view-scale-adjust'.
9236
9237 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9238
9239 * doc-view.el (doc-view-reset-zoom-level): New command.
9240 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9241 zoom commands (bug#15466).
9242
9243 2013-09-26 Kenichi Handa <handa@gnu.org>
9244
9245 * international/quail.el (quail-help): Make it not a command.
9246
9247 2013-09-26 Leo Liu <sdl.web@gmail.com>
9248
9249 * minibuffer.el (completion-all-sorted-completions): Make args
9250 optional as they are.
9251
9252 2013-09-25 Daniel Colascione <dancol@dancol.org>
9253
9254 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9255 specs are and that they're not evaluated.
9256
9257 2013-09-24 Sam Steingold <sds@gnu.org>
9258
9259 * midnight.el (clean-buffer-list-kill-regexps)
9260 (clean-buffer-list-kill-buffer-names): Update for the new Man
9261 buffer naming which includes the object name.
9262
9263 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9264
9265 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9266 (eshell-parse-command, eshell-parse-pipeline): Use it since
9267 eshell-separate-commands requires a dynamic scoped var.
9268 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9269
9270 2013-09-23 Leo Liu <sdl.web@gmail.com>
9271
9272 * autoinsert.el (auto-insert-alist): Make the value of
9273 lexical-binding match its file setting.
9274
9275 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9276
9277 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9278
9279 * autoarg.el (autoarg-kp-digit-argument):
9280 * electric.el (Electric-command-loop):
9281 * kmacro.el (kmacro-step-edit-insert):
9282 Do not set universal-argument-num-events.
9283
9284 2013-09-22 Leo Liu <sdl.web@gmail.com>
9285
9286 * files.el (interpreter-mode-alist): Add octave.
9287
9288 2013-09-21 Alan Mackenzie <acm@muc.de>
9289
9290 C++: fontify identifier in declaration following "public:" correctly.
9291 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9292 to match "public", etc.
9293 (c-decl-prefix-re): Add ":" into the C++ value.
9294 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9295 bit. Add a check for a ":" preceded by "public", etc.
9296
9297 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9298
9299 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9300 recognized by GDB 7.5 and later.
9301
9302 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9303
9304 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9305
9306 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * subr.el (internal--call-interactively): New const.
9309 (called-interactively-p): Use it (bug#3984).
9310
9311 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9312
9313 * vc/pcvs.el (cvs-mode-ignore):
9314 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9315 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9316
9317 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9320 (eshell-ls-orig-insert-directory): Remove.
9321 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9322 (eshell-ls-use-in-dired): Use advice-add/remove.
9323 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9324 Add `orig-fun' arg for use in :around advice.
9325 Make it check (redundantly) eshell-ls-use-in-dired.
9326
9327 2013-09-19 Glenn Morris <rgm@gnu.org>
9328
9329 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9330
9331 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9332
9333 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9334
9335 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9336
9337 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9338 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9339 (tramp-get-remote-python): New defuns.
9340 (tramp-get-remote-uid-with-perl)
9341 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9342 contributed by yary <not.com@gmail.com> (tiny change).
9343 (tramp-get-remote-uid-with-python)
9344 (tramp-get-remote-gid-with-python): New defuns. Python code
9345 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9346 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9347
9348 2013-09-19 Glenn Morris <rgm@gnu.org>
9349
9350 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9351
9352 * eshell/em-unix.el (eshell-remove-entries):
9353 Rename argument to avoid name-clash with global `top-level'.
9354
9355 * eshell/esh-proc.el (eshell-kill-process-function):
9356 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9357 (eshell-reset-after-proc): Remove unused arg `proc'.
9358
9359 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9360 (directory-files-and-attributes): Mark unused arg.
9361
9362 * eshell/em-unix.el (eshell-remove-entries):
9363 Remove unused arg `path'. Update callers.
9364
9365 * eshell/em-hist.el (eshell-hist-parse-arguments):
9366 Remove unused arg `silent'. Update callers.
9367
9368 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9369 Fix (f)boundp mix-up.
9370
9371 * eshell/em-smart.el (eshell-smart-scroll-window)
9372 (eshell-disable-after-change):
9373 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9374
9375 2013-09-18 Alan Mackenzie <acm@muc.de>
9376
9377 Fix fontification of type when followed by "const".
9378 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9379 "known" types from fontification.
9380
9381 2013-09-18 Glenn Morris <rgm@gnu.org>
9382
9383 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9384 (chart-face-list): Drop Emacsen without display-color-p.
9385
9386 * net/eww.el (libxml-parse-html-region): Declare.
9387 (eww-display-html): Explicit error if no libxml2 support.
9388
9389 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9390
9391 * image.el (image-type-from-buffer, image-multi-frame-p):
9392 Remove --without-x warning/error.
9393
9394 * mouse.el (mouse-yank-primary):
9395 * term.el (term-mouse-paste):
9396 Reorder to silence --without-x compilation.
9397
9398 * mpc.el (doc-view-mode): Silence --without-x compilation.
9399
9400 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9401 Silence --without-x compilation.
9402
9403 * progmodes/gud.el (gud-find-file, gud-mode):
9404 Silence --without-x compilation.
9405 (tooltip-mode): Declare.
9406
9407 * wdired.el (dired-backup-overwrite): Remove declaration.
9408 (wdired-mode-map): Add doc string.
9409
9410 * custom.el (x-get-resource): Declare.
9411
9412 * eshell/em-glob.el (ange-cache):
9413 * eshell/em-unix.el (ange-cache): Declare.
9414
9415 * faces.el (x-display-list, x-open-connection, x-get-resource):
9416 Declare.
9417
9418 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9419 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9420 Declare.
9421
9422 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9423
9424 * net/gnutls.el (gnutls-log-level): Declare.
9425
9426 * net/shr.el (image-size, image-animate): Declare.
9427
9428 * simple.el (font-info): Declare.
9429
9430 * subr.el (x-popup-dialog): Declare.
9431
9432 * term/common-win.el (x-select-enable-primary)
9433 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9434 Declare.
9435
9436 * term/ns-win.el (x-handle-args): Declare.
9437
9438 * term/x-win.el (x-select-enable-clipboard): Declare.
9439
9440 * term/w32-win.el (create-default-fontset): Declare.
9441
9442 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9443 Declare.
9444
9445 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9446 (fit-frame-to-buffer): Explicit error if --without-x.
9447 (mouse-autoselect-window-select): Silence compiler.
9448
9449 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9450
9451 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9452 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9453 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9454 * eshell/esh-util.el (eshell-sublist):
9455 Remove unused local variables.
9456
9457 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9458
9459 * textmodes/two-column.el: Make 2C-split work for --without-x.
9460 (scroll-bar-columns): Autoload.
9461 (top-level): Require fringe when compiling.
9462
9463 2013-09-18 Leo Liu <sdl.web@gmail.com>
9464
9465 * subr.el (add-hook): Robustify to handle closure as well.
9466
9467 2013-09-17 Glenn Morris <rgm@gnu.org>
9468
9469 * simple.el (messages-buffer-mode-map): Unbind "g".
9470
9471 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9472
9473 * help-mode.el (help-mode-finish): Use derived-mode-p.
9474 Remove obsolete highlighting.
9475
9476 * play/life.el (life-mode): Use define-derived-mode. Derive from
9477 special-mode.
9478 (life): Let-bind inhibit-read-only.
9479 (life-setup): Avoid `setq'. Use `life-mode'.
9480
9481 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9482 which should not be needed any more.
9483 (package-menu-refresh, package-menu-describe-package): Use user-error.
9484
9485 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9486 (eshell-post-rewrite-command-hook): Make obsolete.
9487 (eshell-parse-command): Simplify.
9488 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9489 (eshell--cmd): Declare.
9490 (eshell-parse-pipeline): Remove unused var `final-p'.
9491 Pass a dynvar to eshell-post-rewrite-command-hook.
9492 Implement the new eshell-post-rewrite-command-function.
9493 (eshell-invoke-directly): Remove unused arg `input'.
9494 * eshell/esh-io.el (eshell-io-initialize):
9495 Use eshell-post-rewrite-command-function (bug#15399).
9496 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9497 adjust to new calling convention.
9498 (eshell-create-handles): Rename args to avoid clashing with dynvar
9499 `standard-output'.
9500
9501 2013-09-17 Glenn Morris <rgm@gnu.org>
9502
9503 * simple.el (messages-buffer-mode): New major mode.
9504 (messages-buffer): New function.
9505 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9506 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9507 (ert-run-test): Use `messages-buffer' function.
9508 (ert--force-message-log-buffer-truncation): Ignore read-only.
9509 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9510 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9511
9512 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9513
9514 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9515
9516 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9517
9518 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 * icomplete.el (icomplete-in-buffer): New var.
9521 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9522 vars and replace them with functions.
9523 (icomplete-minibuffer-setup): Adjust accordingly.
9524 (icomplete--completion-table, icomplete--completion-predicate)
9525 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9526 New functions.
9527 (icomplete-forward-completions, icomplete-backward-completions)
9528 (icomplete-simple-completing-p, icomplete-exhibit)
9529 (icomplete-completions): Use them.
9530 (icomplete--in-region-buffer): New var.
9531 (icomplete--in-region-setup): New function.
9532 (icomplete-mode): Use it.
9533
9534 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9535 (bug#15379).
9536 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9537 return args and options.
9538 (eshell-eval-using-options): Use the new return value of
9539 eshell--do-opts to set the options's vars in their scope.
9540 (eshell--set-option): Rename from eshell-set-option.
9541 Add arg `opt-vals'.
9542 (eshell--process-option): Rename from eshell-process-option.
9543 Add arg `opt-vals'.
9544 (eshell--process-args): Use an `opt-vals' alist to store the options's
9545 values during their processing and return them additionally to the
9546 remaining args.
9547
9548 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9549
9550 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9551 continuation character an operator, as far as indentation is
9552 concerned (Bug#15369).
9553
9554 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9555
9556 * window.el (window--state-put-2): Don't process buffer state
9557 when buffer doesn't exist any more (Bug#15382).
9558
9559 2013-09-15 Glenn Morris <rgm@gnu.org>
9560
9561 * eshell/em-unix.el (eshell/rm):
9562 Make -f ignore missing files. (Bug#15373)
9563
9564 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9565 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9566 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9567
9568 2013-09-14 Glenn Morris <rgm@gnu.org>
9569
9570 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9571
9572 2013-09-13 Glenn Morris <rgm@gnu.org>
9573
9574 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9575 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9576
9577 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9578
9579 * frame.el (x-focus-frame): Mark as declared in frame.c.
9580
9581 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * ls-lisp.el: Use advice-add.
9584 (original-insert-directory): Remove.
9585 (ls-lisp--insert-directory): Rename from insert-directory; add
9586 `orig-fun' argument.
9587 (insert-directory): Advise.
9588
9589 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9590
9591 * term.el (term-emulate-terminal): Decode the command string
9592 before passing it to term-command-hook. (Bug#15337)
9593
9594 2013-09-13 Glenn Morris <rgm@gnu.org>
9595
9596 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9597
9598 * eshell/esh-ext.el (eshell-search-path): Declare.
9599
9600 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9601 Otherwise an error occurs if eshell-dirs module not loaded.
9602
9603 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9604
9605 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9606
9607 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9608 `tramp-check-proper-host'. Check for a valid method name.
9609
9610 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9611 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9612 * net/tramp-sh.el (tramp-maybe-open-connection):
9613 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9614
9615 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9616 also for hash values.
9617
9618 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * term/ns-win.el (parameters): Don't declare as dynamic.
9621 (before-make-frame-hook): Don't add ineffective function.
9622
9623 * eshell/*.el: Use lexical-binding (bug#15231).
9624
9625 2013-09-12 Kenichi Handa <handa@gnu.org>
9626
9627 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9628
9629 2013-09-12 Glenn Morris <rgm@gnu.org>
9630
9631 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9632 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9633
9634 * subr.el (do-after-load-evaluation): Also give compiler warnings
9635 when obsolete files are used (except by obsolete files).
9636
9637 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9638 in the status output, assume `filename' is the first. (Bug#15322)
9639
9640 * vc/vc.el (vc-deduce-fileset): Doc fix.
9641
9642 * calc/calc-help.el (Info-goto-node):
9643 * progmodes/cperl-mode.el (Info-find-node):
9644 * vc/ediff.el (Info-goto-node): Update declarations.
9645
9646 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9647
9648 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9649 (vc-bzr-pull): Require vc-dispatcher.
9650 * vc/vc-git.el (vc-compilation-mode): Declare.
9651 (vc-git-pull): Require vc-dispatcher.
9652
9653 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9654
9655 * progmodes/octave.el (help-button-action): Declare.
9656
9657 * shell.el (shell-directory-tracker): Output error as a message
9658 rather than just returning it as a string.
9659 (shell-process-pushd): Remove useless use of message.
9660
9661 * dframe.el (dframe-timer-fn):
9662 * files.el (dir-locals-read-from-file):
9663 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9664 (mpc-format):
9665 * reveal.el (reveal-post-command):
9666 * saveplace.el (load-save-place-alist-from-file):
9667 * shell.el (shell-resync-dirs):
9668 * w32-common-fns.el (x-get-selection-value):
9669 * emacs-lisp/copyright.el (copyright-find-copyright):
9670 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9671 * emulation/tpu-edt.el (tpu-copy-keyfile):
9672 * play/bubbles.el (bubbles--mark-neighbourhood):
9673 * progmodes/executable.el
9674 (executable-make-buffer-file-executable-if-script-p):
9675 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9676
9677 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 Cleanup Eshell to rely less on dynamic scoping.
9680 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9681 last-value, and ext-command here. Bind `args' closer to `body'.
9682 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9683 (eshell--args): Declare new dynamic var.
9684 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9685 last-value, and ext-command. Pass `args' to `body'.
9686 (eshell-process-args): Bind eshell--args.
9687 (eshell-set-option): Use eshell--args.
9688 * eshell/eshell.el (eshell): Use derived-mode-p.
9689 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9690 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9691 (eshell-glob-function): Declare.
9692 * eshell/esh-util.el: Require cl-lib.
9693 (eshell-read-hosts-file): Avoid add-to-list.
9694 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9695 `err'.
9696 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9697 Declare.
9698 (eshell/diff): Remove unused var `err'.
9699 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9700 `killflag'.
9701 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9702 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9703 first use.
9704 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9705 Move declaration before first use.
9706 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9707 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9708 rely on cl-return.
9709
9710 2013-09-12 Glenn Morris <rgm@gnu.org>
9711
9712 * term/ns-win.el (global-map): Remove binding for ispell-next,
9713 deleted 1999-05-29. (Bug#15357)
9714
9715 2013-09-11 Glenn Morris <rgm@gnu.org>
9716
9717 * echistory.el (electric-command-history): Remove call to deleted func.
9718
9719 * play/landmark.el (landmark-mode): Fix typos.
9720
9721 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9722 Check cvs-sort-ignore-file is bound.
9723
9724 * savehist.el: No need for cl when compiling on Emacs.
9725
9726 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9727
9728 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9729 (bug#15338).
9730 (eshell-self-insert-command, eshell-send-invisible):
9731 Remove unused argument.
9732 (eshell-handle-control-codes): Remove unused var `orig'.
9733 Avoid delete-backward-char.
9734
9735 * files.el (set-auto-mode): Simplify a bit further.
9736
9737 2013-09-11 Glenn Morris <rgm@gnu.org>
9738
9739 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9740 (set-auto-mode): Don't regexp-quote elements.
9741 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9742 * progmodes/cc-mode.el (interpreter-mode-alist):
9743 * progmodes/ruby-mode.el (interpreter-mode-alist):
9744 Revert previous change.
9745
9746 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * play/snake.el (snake-mode):
9749 * play/mpuz.el (mpuz-mode):
9750 * play/landmark.el (lm-mode):
9751 * play/blackbox.el (blackbox-mode):
9752 * play/5x5.el (5x5-mode):
9753 * obsolete/options.el (Edit-options-mode):
9754 * net/quickurl.el (quickurl-list-mode):
9755 * net/newst-treeview.el (newsticker-treeview-mode):
9756 * mail/rmailsum.el (rmail-summary-mode):
9757 * mail/mspools.el (mspools-mode):
9758 * locate.el (locate-mode):
9759 * ibuffer.el (ibuffer-mode):
9760 * emulation/ws-mode.el (wordstar-mode):
9761 * emacs-lisp/debug.el (debugger-mode):
9762 * array.el (array-mode):
9763 * net/eudc.el (eudc-mode): Use define-derived-mode.
9764 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9765 Move initialization into declaration.
9766 (mairix-searches-mode): Use define-derived-mode.
9767 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9768 (eudc-edit-hotlist): Use dolist.
9769 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9770 (Man-mode): Use define-derived-mode.
9771 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9772 (Info-edit-mode): Use define-derived-mode.
9773 (Info-cease-edit): Use Info-mode.
9774 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9775 into declaration.
9776 (eshell-mode): Use define-derived-mode.
9777 * chistory.el (command-history-mode-map): Rename from
9778 command-history-map.
9779 (command-history-mode): Use define-derived-mode.
9780 (Command-history-setup): Remove function.
9781 * calc/calc.el (calc-trail-mode-map): New var.
9782 (calc-trail-mode): Use define-derived-mode.
9783 (calc-trail-buffer): Set calc-main-buffer manually.
9784 * bookmark.el (bookmark-insert-annotation): New function.
9785 (bookmark-edit-annotation): Use it.
9786 (bookmark-edit-annotation-mode): Make it a proper major mode.
9787 (bookmark-send-edited-annotation): Use derived-mode-p.
9788 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9789 closer to its ideal place. Use \' to match EOS.
9790
9791 * profiler.el (profiler-calltree-find): Use function-equal.
9792
9793 2013-09-10 Glenn Morris <rgm@gnu.org>
9794
9795 * files.el (interpreter-mode-alist): Convert to regexps.
9796 (set-auto-mode): Adapt for this. (Bug#15306)
9797 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9798 Comment out unused variable.
9799 * progmodes/cc-mode.el (interpreter-mode-alist):
9800 * progmodes/python.el (interpreter-mode-alist):
9801 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9802 * progmodes/sh-script.el (sh-set-shell):
9803 No longer use interpreter-mode-alist to get list of shells.
9804
9805 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9806
9807 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * simple.el: Use set-temporary-overlay-map for universal-argument.
9810 (universal-argument-map): Don't use default-bindings (bug#15317).
9811 Bind switch-frame explicitly. Replace universal-argument-minus with
9812 a conditional binding.
9813 (universal-argument-num-events, saved-overriding-map): Remove.
9814 (restore-overriding-map): Remove.
9815 (universal-argument--mode): Rename from save&set-overriding-map,
9816 and rewrite.
9817 (universal-argument, universal-argument-more, negative-argument)
9818 (digit-argument): Adjust accordingly.
9819 (universal-argument-minus): Remove.
9820 (universal-argument-other-key): Remove.
9821
9822 * subr.el (with-demoted-errors): Add `format' argument.
9823
9824 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9825
9826 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9827 `tramp-cleanup-connection'.
9828
9829 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9830 parameters KEEP-DEBUG and KEEP-PASSWORD.
9831
9832 * net/tramp.el (tramp-file-name-handler):
9833 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9834 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9835 (tramp-maybe-open-connection):
9836 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9837 Use `tramp-cleanup-connection'.
9838
9839 * net/tramp-sh.el (tramp-maybe-open-connection):
9840 Catch 'uname-changed inside the progress reporter.
9841
9842 2013-09-10 Glenn Morris <rgm@gnu.org>
9843
9844 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9845
9846 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9847 returns "alternate access method" in mode (eg "-rw-r--r--.").
9848
9849 2013-09-08 Glenn Morris <rgm@gnu.org>
9850
9851 * saveplace.el (load-save-place-alist-from-file):
9852 Demote errors. (Bug#15305)
9853
9854 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9855
9856 Improve compatibility with older Emacsen, and XEmacs.
9857
9858 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9859 only if it is bound. It isn't for XEmacs.
9860 (with-tramp-progress-reporter): Do not let-bind `result'.
9861 This yields to scoping errors in XEmacs.
9862 (tramp-handle-make-auto-save-file-name): New function, moved from
9863 tramp-sh.el.
9864
9865 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9866 for `make-auto-save-file-name'.
9867 (tramp-adb--gnu-switches-to-ash):
9868 Use `tramp-compat-replace-regexp-in-string'.
9869
9870 * net/tramp-cache.el (tramp-cache-print): Call
9871 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9872
9873 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9874 bound. It isn't for XEmacs.
9875
9876 * net/tramp-compat.el (tramp-compat-copy-file):
9877 Catch `wrong-number-of-arguments' error.
9878 (tramp-compat-replace-regexp-in-string): New defun.
9879
9880 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9881 for `make-auto-save-file-name'.
9882 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9883 `copy-file'.
9884 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9885 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9886 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9887
9888 * net/tramp-gw.el (tramp-gw-open-network-stream):
9889 Use `tramp-compat-replace-regexp-in-string'.
9890
9891 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9892 Call `tramp-handle-make-auto-save-file-name'.
9893 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9894 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9895 (tramp-sh-file-inotifywait-process-filter):
9896 Use `tramp-compat-replace-regexp-in-string'.
9897 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9898
9899 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9900 for `make-auto-save-file-name'.
9901 (tramp-smb-handle-copy-directory):
9902 Call `tramp-compat-replace-regexp-in-string'.
9903 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9904 (tramp-smb-handle-copy-file): Improve error message.
9905 (tramp-smb-handle-rename-file): Rename directly only in case
9906 `newname' does not exist yet. This is a restriction of smbclient.
9907 (tramp-smb-maybe-open-connection): Rerun the function only when
9908 `auth-sources' is non-nil.
9909
9910 2013-09-08 Kenichi Handa <handa@gnu.org>
9911
9912 * international/characters.el: Set category "^" (Combining) for
9913 more characters.
9914
9915 2013-09-07 Alan Mackenzie <acm@muc.de>
9916
9917 Correctly fontify Java class constructors.
9918 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9919 in Java Mode.
9920 (c-recognize-typeless-decls): Set the Java value to t.
9921 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9922 While handling a "(", add a check for, effectively, Java, and handle a
9923 "typeless" declaration there.
9924
9925 2013-09-07 Roland Winkler <winkler@gnu.org>
9926
9927 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9928 field subtitle for entry type book.
9929
9930 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * minibuffer.el: Make minibuffer-complete call completion-in-region
9933 rather than other way around.
9934 (completion--some, completion-pcm--find-all-completions):
9935 Don't delay signals when debugging.
9936 (minibuffer-completion-contents): Beware fields within the
9937 minibuffer contents.
9938 (completion-all-sorted-completions): Use defvar-local.
9939 (completion--do-completion, completion--cache-all-sorted-completions)
9940 (completion-all-sorted-completions, minibuffer-force-complete):
9941 Add args `beg' and `end'.
9942 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9943 (minibuffer-complete): Use completion-in-region.
9944 (completion-complete-and-exit): New fun, extracted from
9945 minibuffer-complete-and-exit.
9946 (minibuffer-complete-and-exit): Use it.
9947 (completion--complete-and-exit): Rename from
9948 minibuffer--complete-and-exit.
9949 (completion-in-region--single-word): New function, extracted from
9950 minibuffer-complete-word.
9951 (minibuffer-complete-word): Use it.
9952 (display-completion-list): Make `common-substring' argument obsolete.
9953 (completion--in-region): Call completion--in-region-1 instead of
9954 minibuffer-complete.
9955 (completion-help-at-point): Pass boundaries to
9956 minibuffer-completion-help as args rather than via an overlay.
9957 (completion-pcm--string->pattern): Use `any-delim'.
9958 (completion-pcm--optimize-pattern): New function.
9959 (completion-pcm--pattern->regex): Handle `any-delim'.
9960 * icomplete.el (icomplete-forward-completions)
9961 (icomplete-backward-completions, icomplete-completions):
9962 Adjust calls to completion-all-sorted-completions and
9963 completion--cache-all-sorted-completions.
9964 (icomplete-with-completion-tables): Default to t.
9965 * emacs-lisp/crm.el (crm--current-element): Rename from
9966 crm--select-current-element. Don't put an overlay but return the
9967 boundaries instead.
9968 (crm--completion-command): Take two new args to bind to the boundaries.
9969 (crm-completion-help): Adjust accordingly.
9970 (crm-complete): Use completion-in-region.
9971 (crm-complete-word): Use completion-in-region--single-word.
9972 (crm-complete-and-exit): Use completion-complete-and-exit.
9973
9974 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9977 than dynamically.
9978
9979 2013-09-06 Juri Linkov <juri@jurta.org>
9980
9981 * info.el (Info-display-images-node): When image file doesn't exist
9982 display text version of the image if it's provided in the Info file.
9983 Otherwise, display the location of missing image from SRC attribute.
9984 Add help-echo text property from ALT attribute. (Bug#15279)
9985
9986 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9987
9988 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9989 (edit-abbrevs-mode): Use define-derived-mode.
9990
9991 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9992 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9993 that it's defined.
9994 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9995 Use define-derived-mode.
9996
9997 * epg.el (epg-start-encrypt): Minor CSE simplification.
9998
9999 2013-09-06 William Xu <william.xwl@gmail.com>
10000
10001 * arc-mode.el: Add support for 7za (bug#15264).
10002 (archive-7z-program): New var.
10003 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
10004 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
10005 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
10006
10007 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
10008
10009 Remove URL syntax.
10010
10011 * net/tramp.el (tramp-syntax, tramp-prefix-format)
10012 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10013 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10014 (tramp-postfix-host-format, tramp-file-name-regexp)
10015 (tramp-completion-file-name-regexp)
10016 (tramp-completion-dissect-file-name)
10017 (tramp-handle-substitute-in-file-name): Remove 'url case.
10018 (tramp-file-name-regexp-url)
10019 (tramp-completion-file-name-regexp-url): Remove constants.
10020
10021 2013-09-06 Glenn Morris <rgm@gnu.org>
10022
10023 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
10024
10025 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
10026
10027 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10028 keywords" below "here-doc beginnings" (Bug#15270).
10029
10030 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * subr.el (pop): Use `car-safe'.
10033 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10034 to detect unused `pop' return value.
10035
10036 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10037 var `block-regexp'.
10038 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10039 (python-fill-string): Remove unused var `marker'.
10040 (python-skeleton-add-menu-items): Remove unused var `items'.
10041
10042 * international/mule-cmds.el: Require CL.
10043 (find-coding-systems-for-charsets): Avoid add-to-list.
10044 (sanitize-coding-system-list): New function, extracted from
10045 select-safe-coding-system-interactively.
10046 (select-safe-coding-system-interactively): Use it.
10047 (read-input-method-name): Accept symbols for `default'.
10048
10049 * emacs-lisp/advice.el (defadvice): Add indent rule.
10050
10051 2013-09-05 Daniel Hackney <dan@haxney.org>
10052
10053 * dired-x.el:
10054 * net/ange-ftp.el:
10055 * net/browse-url.el:
10056 * net/dbus.el:
10057 * net/eudc.el:
10058 * net/eudcb-ldap.el:
10059 * net/eww.el:
10060 * net/imap.el:
10061 * printing.el:
10062 * vc/ediff-diff.el:
10063 * vc/ediff-init.el:
10064 * vc/ediff-merg.el:
10065 * vc/ediff-mult.el:
10066 * vc/ediff-util.el:
10067 * vc/ediff-wind.el:
10068 * vc/ediff.el:
10069 * vc/emerge.el:
10070 * vc/pcvs.el:
10071 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10072 byte compiler. Remove some unused let-bound variables.
10073
10074 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10075
10076 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10077 a "ref-cell", since it gets better optimized (bug#14883).
10078
10079 2013-09-05 Glenn Morris <rgm@gnu.org>
10080
10081 * progmodes/cc-awk.el (c-forward-sws): Declare.
10082
10083 2013-09-04 Glenn Morris <rgm@gnu.org>
10084
10085 * generic-x.el [rul-generic-mode]: Require cc-mode.
10086 (c++-mode-syntax-table): Declare.
10087 (rul-generic-mode-syntax-table): Init in the defvar.
10088
10089 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10090
10091 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10092 (vc-do-command, vc-set-async-update):
10093 * vc/vc-mtn.el (vc-mtn-dir-status):
10094 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10095 (vc-hg-pull, vc-hg-merge-branch):
10096 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10097 (vc-git-merge-branch):
10098 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10099 (vc-cvs-dir-status-files):
10100 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10101 (vc-bzr-dir-status-files):
10102 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10103 * vc/vc-annotate.el: Use lexical-binding.
10104 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10105 (vc-sentinel-movepoint): Declare.
10106 (vc-annotate): Don't use `goto-line'.
10107 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10108 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10109 (vc-sentinel-movepoint): Declare.
10110 * vc/vc-svn.el: Use lexical-binding.
10111 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10112 * vc/vc-sccs.el:
10113 * vc/vc-rcs.el: Use lexical-binding.
10114
10115 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10116 `deleted'. Don't drop errors silently.
10117
10118 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10119
10120 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10121
10122 * vc/vc.el (vc-ignore): Rewrite.
10123 (vc-default-ignore): New function.
10124 (vc-default-ignore-completion-table): Use find-ignore-file.
10125
10126 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10127 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10128 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10129 Remove. Most code moved to vc.el.
10130
10131 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10134 * net/tramp-smb.el (tramp-smb-get-file-entries):
10135 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10136 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10137
10138 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10139 Update call to it.
10140 (eww-change-select): Remove unused var `properties'.
10141 (eww-make-unique-file-name): Remove unused var `base'.
10142
10143 * finder.el (finder-compile-keywords): Don't mess with windows.
10144
10145 * calculator.el (calculator-funcall): Fix typo in last change.
10146
10147 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10148
10149 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10150 <pkg>-autoloads.el file stop us.
10151
10152 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10153 warnings, and factor out common code.
10154
10155 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10156
10157 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10158 two-character operators and whether the character preceding them
10159 changes their meaning (Bug#15208).
10160
10161 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10162
10163 Format code sent to Python shell for robustness.
10164 * progmodes/python.el (python-shell-buffer-substring):
10165 New function.
10166 (python-shell-send-region, python-shell-send-buffer): Use it.
10167
10168 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10169
10170 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10171 * net/tramp.el (tramp-user-error): ... here.
10172 (tramp-find-method, tramp-check-proper-host)
10173 (tramp-dissect-file-name, tramp-debug-message)
10174 (tramp-handle-shell-command):
10175 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10176 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10177
10178 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10179
10180 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10181
10182 * avoid.el (mouse-avoidance-point-position)
10183 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10184 returns nil.
10185
10186 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10187
10188 * progmodes/python.el (python-shell-completion-get-completions):
10189 Drop use of deleted `comint-last-prompt-overlay'.
10190 (python-nav-if-name-main): New command.
10191
10192 2013-09-01 Glenn Morris <rgm@gnu.org>
10193
10194 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10195 Avoid leading space in $wins. Otherwise the sed command used by
10196 eg compile-main ends up containing "/*.el". (Bug#15170)
10197
10198 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10199
10200 2013-08-30 Glenn Morris <rgm@gnu.org>
10201
10202 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10203 Fix is-this-a-directory logic. (Bug#15220)
10204
10205 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * textmodes/css-mode.el: Use SMIE.
10208 (css-smie-grammar): New var.
10209 (css-smie--forward-token, css-smie--backward-token)
10210 (css-smie-rules): New functions.
10211 (css-mode): Use them.
10212 (css-navigation-syntax-table): Remove var.
10213 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10214 (css-indent-calculate, css-indent-line): Remove functions.
10215
10216 Misc changes to reduce use of `(lambda...); and other cleanups.
10217 * cus-edit.el: Use lexical-binding.
10218 (customize-push-and-save, customize-apropos)
10219 (custom-buffer-create-internal): Use closures.
10220 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10221 * progmodes/ada-xref.el: Use setq.
10222 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10223 * dframe.el: Use lexical-binding.
10224 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10225 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10226 * descr-text.el: Use lexical-binding.
10227 (describe-text-widget, describe-text-sexp, describe-property-list):
10228 Use closures.
10229 * comint.el (comint-history-isearch-push-state): Use a closure.
10230 * calculator.el: Use lexical-binding.
10231 (calculator-number-to-string): Make it work with lexical-binding.
10232 (calculator-funcall): Same and use cl-letf.
10233
10234 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10235 (lisp--company-doc-string, lisp--company-location): New functions.
10236 (lisp-completion-at-point): Use them to improve Company support.
10237
10238 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10239 params of lambda expressions.
10240 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10241 (ruby-smie--opening-pipe-p): New function.
10242 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10243 symbols and matched |...| for formal params.
10244 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10245 from being treated as hanging. Handle "rescue".
10246
10247 2013-08-29 Glenn Morris <rgm@gnu.org>
10248
10249 * progmodes/cc-engine.el (c-pull-open-brace):
10250 Move definition before use.
10251
10252 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10253
10254 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10255 are immutable. Don't use `unsafe' any more.
10256 (cl--defsubst-expand): Don't substitute at the same time as keeping
10257 a residual unused let-binding. Don't use `unsafe' any more.
10258
10259 2013-08-29 Glenn Morris <rgm@gnu.org>
10260
10261 * calendar/cal-china.el (calendar-chinese-year-cache):
10262 Recenter on 2015.
10263
10264 * nxml/nxml-util.el (nxml-debug-clear-inside):
10265 Use cl-loop rather than loop.
10266
10267 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10268
10269 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10270
10271 2013-08-28 Glenn Morris <rgm@gnu.org>
10272
10273 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10274
10275 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10276
10277 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10278
10279 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * simple.el (repeat-complex-command--called-interactively-skip):
10282 New function.
10283 (repeat-complex-command): Use it (bug#14136).
10284
10285 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10286 (c-define-abbrev-table): Add `doc' argument.
10287 (c-mode-abbrev-table, c++-mode-abbrev-table)
10288 (objc-mode-abbrev-table, java-mode-abbrev-table)
10289 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10290 (awk-mode-abbrev-table): Use it.
10291 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10292 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10293 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10294 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10295 Move initialization into the declaration; and remove any
10296 autoload cookie.
10297
10298 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10299 and dynamic let binding.
10300
10301 * vc/smerge-mode.el: Remove redundant :group args.
10302
10303 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10304 to load-path.
10305
10306 2013-08-28 Juri Linkov <juri@jurta.org>
10307
10308 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10309 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10310 (isearch-other-meta-char): Handle an undefined shifted printing
10311 character by downshifting it. (Bug#15200)
10312
10313 2013-08-28 Juri Linkov <juri@jurta.org>
10314
10315 * isearch.el (isearch-search): Change regexp error message for
10316 non-regexp searches. (Bug#15166)
10317
10318 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10319
10320 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10321 for portability to hosts where /bin/sh has problems.
10322
10323 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10326
10327 2013-08-27 Juri Linkov <juri@jurta.org>
10328
10329 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10330 in the keyboard macro. (Bug#15126)
10331
10332 2013-08-27 Juri Linkov <juri@jurta.org>
10333
10334 * isearch.el (isearch-quote-char): Comment out converting unibyte
10335 to multibyte, thus syncing with its `quoted-insert' counterpart.
10336 (Bug#15166)
10337
10338 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10339
10340 * window.el (display-buffer-use-some-window): Add missing
10341 argument in call of get-largest-window (Bug#15185).
10342 Reported by Stephen Leake.
10343
10344 2013-08-27 Glenn Morris <rgm@gnu.org>
10345
10346 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10347
10348 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10349
10350 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10351 from a matcher-function unless there's no more matches (bug#15161).
10352
10353 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10354
10355 * minibuffer.el: Revert change from 2013-08-20.
10356
10357 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10358 with text property `tramp-default', if appropriate.
10359 (tramp-check-proper-host): New defun.
10360 (tramp-dissect-file-name): Do not check hostname. Revert change
10361 of 2013-03-18.
10362 (tramp-backtrace): Make VEC-OR-PROC optional.
10363
10364 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10365 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10366 * net/tramp-sh.el (tramp-maybe-open-connection):
10367 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10368 Apply `tramp-check-proper-host'.
10369
10370 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10371
10372 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10373 lambda expression in order to have `describe-variable' display it.
10374
10375 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10376
10377 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10378 BUF can be optional. (Bug#15186)
10379
10380 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10381
10382 * progmodes/flymake.el (flymake-get-real-file-name-function):
10383 Fix broken customization. (Bug#15184)
10384
10385 2013-08-25 Alan Mackenzie <acm@muc.de>
10386
10387 Improve indentation of bracelists defined by macros (without "=").
10388
10389 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10390 expansion begins with "{", regard it as bracelist when it doesn't
10391 contain a ";".
10392
10393 Parse C++ inher-intro when there's a template split over 2 lines.
10394
10395 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10396 rigorously the search for "class" etc. followed by ":".
10397
10398 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10399 random languages a regexp which never matches rather than nil.
10400
10401 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10402
10403 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10404 (c-awk-regexp-one-line-possibly-open-char-list-re)
10405 (c-awk-one-line-possibly-open-regexp-re)
10406 (c-awk-one-line-non-syn-ws*-re): Remove.
10407 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10408 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10409 (c-awk-space*-unclosed-regexp-/-re): New constants.
10410 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10411 aren't regexp delimiters.
10412
10413 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10414 handling for a rare situation in AWK Mode involving unterminated
10415 strings/regexps.
10416
10417 2013-08-23 Glenn Morris <rgm@gnu.org>
10418
10419 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10420
10421 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10422
10423 * files.el (create-file-buffer): If the result would begin with
10424 spaces, prepend a "|" instead of removing them. (Bug#15162)
10425
10426 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10427
10428 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10429 text-properties (bug#15155).
10430
10431 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10432 exist any more.
10433 (calc-keypad-redraw): Remove unused var `pad'.
10434 (calc-keypad-press): Remove unused var `menu'.
10435
10436 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10437
10438 * window.el (display-buffer-pop-up-frame):
10439 Call pop-up-frame-function with BUFFER current so `make-frame' will
10440 use it as the new frame's buffer (Bug#15133).
10441
10442 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 * calendar/timeclock.el: Minor cleanups.
10445 (timeclock-ask-before-exiting, timeclock-use-display-time):
10446 Use `symbol'.
10447 (timeclock-modeline-display): Define as alias before the
10448 actual definition.
10449 (timeclock-mode-line-display): Use define-minor-mode.
10450 (timeclock-day-list-template): Make it a function, add an argument.
10451 (timeclock-day-list-required, timeclock-day-list-length)
10452 (timeclock-day-list-debt, timeclock-day-list-span)
10453 (timeclock-day-list-break): Adjust calls accordingly.
10454
10455 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10456
10457 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10458 Use read--expression so that completion works again.
10459
10460 2013-08-21 Sam Steingold <sds@gnu.org>
10461
10462 Add rudimentary inferior shell interaction
10463 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10464 (sh-set-shell): Reset it.
10465 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10466 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10467
10468 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10469
10470 * align.el: Use lexical-binding.
10471 (align-region): Simplify accordingly.
10472
10473 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10474
10475 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10476
10477 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10478 `non-essential' up.
10479
10480 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10481
10482 * net/tramp.el:
10483 * net/tramp-adb.el:
10484 * net/tramp-cmds.el:
10485 * net/tramp-ftp.el:
10486 * net/tramp-gvfs.el:
10487 * net/tramp-gw.el:
10488 * net/tramp-sh.el: Don't wrap external variable declarations by
10489 `eval-when-compile'.
10490
10491 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10492
10493 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10494 now that Emacs supports ImageMagick animations.
10495
10496 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10497
10498 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10499 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10500
10501 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10502
10503 * window.el (mouse-autoselect-window-select): Do autoselect when
10504 mouse pointer is on margin.
10505
10506 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10507
10508 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10509
10510 2013-08-16 Glenn Morris <rgm@gnu.org>
10511
10512 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10513 Handle "Remote Directory" response of some clients. (Bug#15058)
10514
10515 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10516 Tweak warning. (Bug#14926)
10517
10518 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10519 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10520
10521 * image-mode.el (image-mode-map): Add menu items to reverse,
10522 increase, decrease, reset animation speed.
10523 (image--set-speed, image-increase-speed, image-decrease-speed)
10524 (image-reverse-speed, image-reset-speed): New functions.
10525 (image-mode-map): Add bindings for speed commands.
10526
10527 * image.el (image-animate-get-speed, image-animate-set-speed):
10528 New functions.
10529 (image-animate-timeout): Respect image :speed property.
10530
10531 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10532
10533 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10534 previous line (bug#15101).
10535 (debugger-eval-expression, debugger-record-expression):
10536 Use read--expression (bug#15102).
10537
10538 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10539
10540 Remove byte compiler warnings, visible when compiling with
10541 `byte-compile-force-lexical-warnings' set to t.
10542
10543 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10544 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10545 (tramp-handle-unhandled-file-name-directory)
10546 (tramp-handle-file-notify-add-watch, tramp-action-login)
10547 (tramp-action-succeed, tramp-action-permission-denied)
10548 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10549 arguments with "_".
10550
10551 * net/tramp-adb.el (tramp-adb-parse-device-names)
10552 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10553 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10554 (tramp-adb-handle-file-truename): Remove unused arguments.
10555
10556 * net/tramp-cache.el (tramp-flush-directory-property)
10557 (tramp-flush-connection-property, tramp-list-connections)
10558 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10559
10560 * net/tramp-compat.el (tramp-compat-make-temp-file):
10561 Rename FILENAME to F.
10562
10563 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10564 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10565 (tramp-zeroconf-parse-workstation-device-names)
10566 (tramp-zeroconf-parse-webdav-device-names)
10567 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10568
10569 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10570 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10571
10572 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10573 arguments.
10574 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10575 (tramp-sh-handle-insert-file-contents-literally)
10576 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10577 with "_".
10578 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10579 Remove unused variables.
10580
10581 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10582 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10583 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10584
10585 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10586 Make them a defconst.
10587 (tramp-uuencode-region): Remove unused variable.
10588
10589 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * frameset.el (frameset--prop-setter): New function.
10592 (frameset-prop): Add gv-setter declaration.
10593 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10594 parameter was already set in FILTERED. Doc fix.
10595 (frameset--record-minibuffer-relationships): Allow saving a
10596 minibufferless frame without its corresponding minibuffer frame.
10597 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10598 frame, if the frame id matches.
10599 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10600 frames before orphaned ones.
10601 (frameset-restore): Warn about orphaned windows, instead of error out.
10602
10603 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10604
10605 * window.el (window-make-atom): Don't overwrite parameter
10606 already present.
10607 (display-buffer-in-atom-window): Handle special case where we
10608 split an already atomic window.
10609 (window--major-non-side-window, display-buffer-in-side-window)
10610 (window--side-check): Ignore minibuffer window when walking
10611 window tree.
10612 (window-deletable-p): Return 'frame only if no other frame uses
10613 our minibuffer window.
10614 (record-window-buffer): Run buffer-list-update-hook.
10615 (split-window): Make sure window--check-frame won't destroy an
10616 existing atomic window in case the new window gets nested
10617 inside.
10618 (display-buffer-at-bottom): Ignore minibuffer window when
10619 walking window tree. Don't split a side window.
10620 (pop-to-buffer): Don't set-buffer here, the select-window call
10621 should do that.
10622 (mouse-autoselect-window-select): Autoselect only if we are in the
10623 text portion of the window.
10624
10625 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10626
10627 * net/shr.el (shr-parse-image-data): New function to grab both the
10628 data itself and the Content-Type.
10629 (shr-put-image): Use it.
10630
10631 * net/eww.el (eww-display-image): Ditto.
10632
10633 * image.el (image-content-type-suffixes): New variable.
10634
10635 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10636
10637 * progmodes/python.el (python-imenu--build-tree)
10638 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10639
10640 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10641
10642 * simple.el (backward-word): Mention the optional argument.
10643
10644 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10645
10646 * frameset.el (frameset--make): Rename constructor from make-frameset.
10647 (frameset-p, frameset-valid-p): Don't autoload.
10648 (frameset-valid-p): Use normal accessors.
10649
10650 2013-08-13 Glenn Morris <rgm@gnu.org>
10651
10652 * progmodes/compile.el (compile-command): Tweak example in doc.
10653 * obsolete/scribe.el (scribe-mode):
10654 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10655
10656 * mail/feedmail.el (feedmail-confirm-outgoing)
10657 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10658
10659 * cus-start.el (truncate-partial-width-windows): Fix type.
10660
10661 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10662
10663 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10664
10665 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * emacs-lisp/timer.el (timer--time-setter): New function.
10668 (timer--time): Use it as gv-setter.
10669
10670 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10671 setter is not a symbol.
10672
10673 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10674
10675 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10676 if sending fails. This makes debugging easier.
10677
10678 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10679
10680 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10681 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10682 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10683
10684 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10685
10686 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10687
10688 2013-08-12 Glenn Morris <rgm@gnu.org>
10689
10690 * format.el (format-annotate-function):
10691 Handle read-only text properties in the source. (Bug#14887)
10692
10693 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10694
10695 * net/eww.el (eww-display-html): Ignore coding system errors.
10696 One web site uses "utf-8lias" as the coding system.
10697
10698 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10699
10700 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10701
10702 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10703
10704 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10705 (tutorial--detailed-help): Remove unused local variables.
10706 (tutorial--save-tutorial-to): Use ignore-errors.
10707 (help-with-tutorial): Use looking-at-p.
10708
10709 * view.el (view-buffer-other-window, view-buffer-other-frame):
10710 Mark unused arguments.
10711
10712 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10713 (woman-select-symbol-fonts, woman, woman-find-file)
10714 (woman-insert-file-contents, woman-non-underline-faces):
10715 Use string-match-p.
10716 (woman1-unquote): Move declaration.
10717
10718 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10719 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10720 argument. Remove unused local variable.
10721 (xml-parse-elem-type): Use string-match-p.
10722 (xml-substitute-numeric-entities): Use ignore-errors.
10723
10724 * calculator.el (calculator): Mark unused argument.
10725 (calculator-paste, calculator-quit, calculator-integer-p):
10726 Use ignore-errors.
10727 (calculator-string-to-number, calculator-decimal, calculator-exp)
10728 (calculator-op-or-exp): Use string-match-p.
10729
10730 * dired.el (dired-buffer-more-recently-used-p): Declare.
10731 (dired-insert-set-properties, dired-insert-old-subdirs):
10732 Use ignore-errors.
10733
10734 * dired-aux.el (dired-compress): Use ignore-errors.
10735 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10736 (dired-do-async-shell-command, dired-do-shell-command)
10737 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10738 (dired-insert-subdir-validate): Use string-match-p.
10739 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10740 (dired-add-entry): Use string-match-p, looking-at-p.
10741 (dired-insert-subdir-newpos): Remove unused local variable.
10742
10743 * filenotify.el (file-notify-callback): Remove unused local variable.
10744
10745 * filesets.el (filesets-error): Mark unused argument.
10746 (filesets-which-command-p, filesets-filter-dir-names)
10747 (filesets-directory-files, filesets-get-external-viewer)
10748 (filesets-ingroup-get-data): Use string-match-p.
10749
10750 * find-file.el (ff-other-file-name, ff-other-file-name)
10751 (ff-find-the-other-file, ff-cc-hh-converter):
10752 Remove unused local variables.
10753 (ff-get-file-name): Use string-match-p.
10754 (ff-all-dirs-under): Use ignore-errors.
10755
10756 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10757 (follow-select-if-visible): Remove unused local variable.
10758
10759 * forms.el (read-file-filter): Move declaration.
10760 (forms--make-format, forms--make-parser, forms-insert-record):
10761 Quote function with #'.
10762 (forms--update): Use string-match-p. Quote function with #'.
10763
10764 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10765 (help-make-xrefs): Use looking-at-p.
10766 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10767
10768 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10769 (ibuffer-confirm-operation-on): Use string-match-p.
10770
10771 * msb.el (msb-item-handler, msb-dired-item-handler):
10772 Mark unused arguments.
10773
10774 * ses.el (ses-decode-cell-symbol)
10775 (ses-kill-override): Remove unused local variable.
10776 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10777 (ses-load): Use ignore-errors, looking-at-p.
10778 (ses-jump-safe): Use ignore-errors.
10779 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10780
10781 * tabify.el (untabify, tabify): Mark unused arguments.
10782
10783 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10784 Mark unused argument.
10785 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10786 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10787
10788 * emacs-lisp/timer.el (timer--time): Define setter with
10789 gv-define-setter to avoid deprecation warning.
10790
10791 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10792 (*record-cmpl-statistics-p*): Remove (was commented out).
10793 (cmpl-statistics-block): Remove (body was commented out).
10794 All callers changed.
10795 (add-completions-from-buffer, load-completions-from-file):
10796 Remove unused variables.
10797
10798 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10799
10800 * filecache.el (file-cache-delete-file-list):
10801 Print message only when told so.
10802 (file-cache-files-matching): Use #' in mapconcat argument.
10803
10804 * ffap.el (ffap-url-at-point): Fix reference to variable
10805 thing-at-point-default-mail-uri-scheme.
10806
10807 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * subr.el (define-error): New function.
10810 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10811 error-file-not-found and define with define-error.
10812 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10813 and define with define-error.
10814 * userlock.el (file-locked, file-supersession):
10815 * simple.el (mark-inactive):
10816 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10817 * progmodes/ada-mode.el (ada-mode-errors):
10818 * play/life.el (life-extinct):
10819 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10820 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10821 * nxml/rng-util.el (rng-error):
10822 * nxml/rng-uri.el (rng-uri-error):
10823 * nxml/rng-match.el (rng-compile-error):
10824 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10825 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10826 * nxml/nxml-rap.el (nxml-scan-error):
10827 * nxml/nxml-outln.el (nxml-outline-error):
10828 * net/soap-client.el (soap-error):
10829 * net/gnutls.el (gnutls-error):
10830 * net/ange-ftp.el (ftp-error):
10831 * mpc.el (mpc-proc-error):
10832 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10833 (json-number-format, json-string-escape, json-string-format)
10834 (json-key-format, json-object-format):
10835 * jka-compr.el (compression-error):
10836 * international/quail.el (quail-error):
10837 * international/kkc.el (kkc-error):
10838 * emacs-lisp/ert.el (ert-test-failed):
10839 * calc/calc.el (calc-error, inexact-result, math-overflow)
10840 (math-underflow):
10841 * bookmark.el (bookmark-error-no-filename):
10842 * epg.el (epg-error): Define with define-error.
10843
10844 * time.el (display-time-event-handler)
10845 (display-time-next-load-average): Don't call sit-for since it seems
10846 unnecessary (bug#15045).
10847
10848 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10849 Use #' instead of ' to quote functions.
10850 (checkdoc-output-mode): Use setq-local.
10851 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10852 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10853 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10854 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10855 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10856 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10857 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10858 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10859
10860 * ido.el (ido-completion-help): Fix up compiler warning.
10861
10862 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10863
10864 * frameset.el (frameset-p): Add autoload cookie.
10865 (frameset--jump-to-register): New function, based on code moved from
10866 register.el.
10867 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10868
10869 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10870 (frameset-restore, frameset-save, frameset-session-filter-alist):
10871 Remove declarations.
10872 (register-alist): Doc fix.
10873 (frameset-to-register): Move to frameset.el.
10874 (jump-to-register, describe-register-1): Remove frameset-specific code.
10875
10876 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10877
10878 * allout-widgets.el (allout-widgets-pre-command-business)
10879 (allout-widgets-post-command-business)
10880 (allout-widgets-after-change-handler)
10881 (allout-decorate-item-and-context, allout-set-boundary-marker)
10882 (allout-body-modification-handler)
10883 (allout-graphics-modification-handler): Mark ignored arguments.
10884 (allout-widgets-post-command-business)
10885 (allout-widgets-exposure-change-processor)
10886 (allout-widgets-exposure-undo-processor)
10887 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10888 (allout-parse-item-at-point, allout-decorate-item-guides)
10889 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10890 * allout.el (epa-passphrase-callback-function): Declare.
10891 (allout-overlay-insert-in-front-handler)
10892 (allout-overlay-interior-modification-handler)
10893 (allout-isearch-end-handler, allout-chart-siblings)
10894 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10895 (allout-yank-processing, allout-process-exposed)
10896 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10897 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10898 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10899 (lisp-indent-defform): Mark ignored arguments.
10900 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10901 (calculate-lisp-indent): Remove unused variables.
10902 * international/characters.el (indian-2-column, arabic-2-column)
10903 (tibetan): Mark ignored arguments.
10904 (use-cjk-char-width-table): Mark ignored arguments.
10905 Remove unused variables.
10906 * international/fontset.el (build-default-fontset-data)
10907 (x-compose-font-name, create-fontset-from-fontset-spec):
10908 Mark ignored arguments.
10909 (fontset-plain-name): Remove unused variables.
10910 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10911 (keyboard-coding-system): Mark ignored arguments.
10912 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10913 * help.el (resize-temp-buffer-window):
10914 * window.el (display-buffer-in-major-side-window)
10915 (display-buffer-in-side-window, display-buffer-in-previous-window):
10916 Remove unused variables.
10917 * isearch.el (isearch-forward-symbol):
10918 * version.el (emacs-bzr-version-bzr):
10919 * international/mule-cmds.el (current-language-environment):
10920 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10921 (x-handle-display):
10922 * term/pc-win.el (x-list-fonts, x-display-planes)
10923 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10924 (x-server-version, x-display-screens, x-display-mm-height)
10925 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10926 (x-selection-owner-p, x-own-selection-internal)
10927 (x-disown-selection-internal, x-get-selection-internal)
10928 (msdos-initialize-window-system):
10929 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10930 * term/x-win.el (x-handle-no-bitmap-icon):
10931 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10932 (vc-default-find-file-hook, vc-default-extra-menu):
10933 Mark ignored arguments.
10934
10935 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10938 break-condition in the context of the debugged code (bug#12685).
10939
10940 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10941
10942 * comint.el:
10943 Do not use an overlay to highlight the last prompt. (Bug#14744)
10944 (comint-mode): Make comint-last-prompt buffer local.
10945 (comint-last-prompt): New variable.
10946 (comint-last-prompt-overlay): Remove. Superseded by
10947 comint-last-prompt.
10948 (comint-snapshot-last-prompt, comint-output-filter):
10949 Use comint-last-prompt.
10950
10951 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10952
10953 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10954 (frameset-save): Check validity of the resulting frameset.
10955
10956 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10957
10958 * ido.el (ido-record-command): Add doc string.
10959
10960 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10961
10962 * frameset.el (frameset): Do not disable creation of the default
10963 frameset-p predicate. Doc fix.
10964 (frameset-valid-p): New function, copied from the old predicate-p.
10965 Add additional checks.
10966 (frameset-restore): Check with frameset-valid-p.
10967 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10968 (frameset-name, frameset-description, frameset-properties)
10969 (frameset-states): Add docstring.
10970 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10971 (frameset-filter-alist): Doc fixes.
10972
10973 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10974
10975 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10976
10977 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10978
10979 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10980 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10981 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10982 (byte-compile-normal-call): Remove obsolescence check.
10983
10984 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10985
10986 * frameset.el (frameset-restore): Doc fix.
10987
10988 * register.el (frameset-frame-id, frameset-frame-with-id)
10989 (frameset-p, frameset-restore, frameset-save): Declare.
10990 (register-alist): Document framesets.
10991 (frameset-session-filter-alist): Declare.
10992 (frameset-to-register): New function.
10993 (jump-to-register): Implement jumping to framesets. Doc fix.
10994 (describe-register-1): Describe framesets.
10995
10996 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10997
10998 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10999
11000 * desktop.el (desktop-save-frameset): Use new frameset-save args.
11001 Use lexical-binding.
11002
11003 * frameset.el (frameset): Use type vector, not list (incompatible
11004 change). Do not declare a new constructor, use the default one.
11005 Upgrade suggested properties `app', `name' and `desc' to slots `app',
11006 `name' and `description', respectively, and add read-only slot
11007 `timestamp'. Doc fixes.
11008 (frameset-copy, frameset-persistent-filter-alist)
11009 (frameset-filter-alist, frameset-switch-to-gui-p)
11010 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11011 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11012 (frameset-filter-iconified, frameset-keep-original-display-p):
11013 Doc fixes.
11014 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11015 Rename from frameset-filter-(save|restore)-param. All callers changed.
11016 Doc fix.
11017 (frameset-p): Adapt to change to vector and be more thorough.
11018 Change arg name to OBJECT. Doc fix.
11019 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
11020 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11021 All callers changed.
11022 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11023 All callers changed.
11024 (frameset--record-minibuffer-relationships): Rename from
11025 frameset--process-minibuffer-frames. All callers changed.
11026 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11027 Use new default constructor (again). Doc fix.
11028 (frameset--find-frame-if): Rename from `frameset--find-frame'.
11029 All callers changed.
11030 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11031 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11032 Doc fix.
11033 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11034 PARAMETERS and WINDOW-STATE, respectively.
11035 (frameset-restore): Add new keyword argument PREDICATE.
11036 Reset frameset--target-display to nil. Doc fix.
11037
11038 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11041 (bat-mode): Use it.
11042 (bat-mode-syntax-table): Mark \n as end-of-comment.
11043 (bat-font-lock-keywords): Remove comment rule.
11044
11045 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11046 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11047
11048 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11049 (byte-compile-callargs-warn): Use `push'.
11050 (byte-compile-arglist-warn): Ignore higher-order "calls".
11051 (byte-compile-file-form-autoload): Use `pcase'.
11052 (byte-compile-function-form): If quoting a symbol, check that it exists.
11053
11054 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11055
11056 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11057 and add a few popular commands found in batch files.
11058 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11059 (dos-mode): Doc fixes.
11060
11061 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11064 (dos-mode): Use setq-local. Add space after "rem".
11065 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11066 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11067
11068 2013-08-07 Arni Magnusson <arnima@hafro.is>
11069
11070 * progmodes/dos.el: New file.
11071 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11072 dos-mode.
11073
11074 2013-08-06 Glenn Morris <rgm@gnu.org>
11075
11076 * calendar/calendar.el: Add new faces, and day-header-array.
11077 (calendar-weekday-header, calendar-weekend-header)
11078 (calendar-month-header): New faces.
11079 (calendar-day-header-construct): New function.
11080 (calendar-day-header-width): Also :set calendar-day-header-array.
11081 (calendar-american-month-header, calendar-european-month-header)
11082 (calendar-iso-month-header): Use calendar- faces.
11083 (calendar-generate-month):
11084 Use calendar-day-header-array for day headers; apply faces to them.
11085 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11086 (calendar-abbrev-construct): Add optional maxlen argument.
11087 (calendar-day-name-array): Doc fix.
11088 (calendar-day-name-array, calendar-abbrev-length)
11089 (calendar-day-abbrev-array):
11090 Also :set calendar-day-header-array, and maybe redraw.
11091 (calendar-day-header-array): New option. (Bug#15007)
11092 (calendar-font-lock-keywords): Set to nil and make obsolete.
11093 (calendar-day-name): Add option to use header array.
11094
11095 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11096
11097 * net/shr.el (shr-render-td): Remove debugging.
11098 (shr-render-td): Make width computation consistent by defaulting
11099 all zero-width columns to 10 characters. This may not be optimal,
11100 but it's at least consistent.
11101 (shr-make-table-1): Redo last change to fix the real problem in
11102 colspan handling.
11103
11104 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11105
11106 * files.el (cache-long-line-scans):
11107 Make obsolete alias to `cache-long-scans'.
11108
11109 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11110
11111 * frameset.el (frameset, frameset-filter-alist)
11112 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11113 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11114 (frameset-compute-pos): Rename from frameset--compute-pos,
11115 and add docstring.
11116 (frameset-move-onscreen): Use frameset-compute-pos.
11117 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11118
11119 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11120 Fix typos in docstrings.
11121
11122 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11123
11124 * frame.el (get-other-frame): Tiny cleanup.
11125
11126 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11127
11128 * vc/vc.el (vc-default-ignore-completion-table):
11129 Silence byte-compiler warning.
11130
11131 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11132 slot, which can indeed be nil.
11133 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11134 Move entry for `left' from persistent to live filter alist.
11135 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11136 Doc fixes.
11137 (frameset-filter-params): When restoring a frame, copy items added to
11138 `filtered', to avoid unwittingly modifying the original parameters.
11139 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11140 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11141
11142 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11143 to use looking-at-p instead of looking-at. (Bug#15028)
11144
11145 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 Revert introduction of isearch-filter-predicates (bug#14714).
11148 Rely on add-function instead.
11149 * isearch.el (isearch-filter-predicates): Rename it back to
11150 isearch-filter-predicate.
11151 (isearch-message-prefix): Use advice-function-mapc and advice
11152 properties to get the isearch-message-prefix.
11153 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11154 instead of run-hook-with-args-until-failure.
11155 (isearch-filter-visible): Not obsolete any more.
11156 * loadup.el: Preload nadvice.
11157 * replace.el (perform-replace): Revert to funcall
11158 instead of run-hook-with-args-until-failure.
11159 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11160 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11161 dired-isearch-filenames-toggle; make it into a proper minor mode.
11162 Use add/remove-function.
11163 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11164 Call the minor-mode rather than add/remove-hook.
11165 (dired-isearch-filter-filenames):
11166 Remove isearch-message-prefix property.
11167 * info.el (Info--search-loop): New function, extracted from Info-search.
11168 Funcall isearch-filter-predicate instead of
11169 run-hook-with-args-until-failure isearch-filter-predicates.
11170 (Info-search): Use it.
11171 (Info-mode): Use isearch-filter-predicate instead of
11172 isearch-filter-predicates.
11173
11174 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11175
11176 Do not call to `selected-window' where it is assumed by default.
11177 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11178 `window-hscroll', `window-width', `window-height', `window-buffer',
11179 `window-frame', `window-start', `window-point', `next-window'
11180 and `window-display-table'.
11181 * abbrev.el (abbrev--default-expand):
11182 * bs.el (bs--show-with-configuration):
11183 * buff-menu.el (Buffer-menu-mouse-select):
11184 * calc/calc.el (calc):
11185 * calendar/calendar.el (calendar-generate-window):
11186 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11187 (diary-make-entry):
11188 * comint.el (send-invisible, comint-dynamic-complete-filename)
11189 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11190 * completion.el (complete):
11191 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11192 * disp-table.el (describe-current-display-table):
11193 * doc-view.el (doc-view-insert-image):
11194 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11195 * ehelp.el (with-electric-help):
11196 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11197 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11198 * emacs-lisp/helper.el (Helper-help-scroller):
11199 * emulation/cua-base.el (cua--post-command-handler-1):
11200 * eshell/esh-mode.el (eshell-output-filter):
11201 * ffap.el (ffap-gnus-wrapper):
11202 * help-macro.el (make-help-screen):
11203 * hilit-chg.el (highlight-compare-buffers):
11204 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11205 * hl-line.el (global-hl-line-highlight):
11206 * icomplete.el (icomplete-simple-completing-p):
11207 * isearch.el (isearch-done):
11208 * jit-lock.el (jit-lock-stealth-fontify):
11209 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11210 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11211 * mpc.el (mpc-tagbrowser, mpc):
11212 * net/rcirc.el (rcirc-any-buffer):
11213 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11214 * play/landmark.el (landmark-max-width, landmark-max-height):
11215 * play/zone.el (zone):
11216 * progmodes/compile.el (compilation-goto-locus):
11217 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11218 * progmodes/etags.el (find-tag-other-window):
11219 * progmodes/fortran.el (fortran-column-ruler):
11220 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11221 * progmodes/verilog-mode.el (verilog-point-text):
11222 * reposition.el (reposition-window):
11223 * rot13.el (toggle-rot13-mode):
11224 * server.el (server-switch-buffer):
11225 * shell.el (shell-dynamic-complete-command)
11226 (shell-dynamic-complete-environment-variable):
11227 * simple.el (insert-buffer, set-selective-display)
11228 (delete-completion-window):
11229 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11230 (speedbar-recenter):
11231 * startup.el (fancy-splash-head):
11232 * textmodes/ispell.el (ispell-command-loop):
11233 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11234 * tutorial.el (help-with-tutorial):
11235 * vc/add-log.el (add-change-log-entry):
11236 * vc/compare-w.el (compare-windows):
11237 * vc/ediff-help.el (ediff-indent-help-message):
11238 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11239 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11240 (ediff-setup-control-frame):
11241 * vc/emerge.el (emerge-position-region):
11242 * vc/pcvs-util.el (cvs-bury-buffer):
11243 * window.el (walk-windows, mouse-autoselect-window-select):
11244 * winner.el (winner-set-conf, winner-undo): Related users changed.
11245
11246 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11247
11248 * frameset.el (frameset--set-id): Doc fix.
11249 (frameset-frame-id, frameset-frame-id-equal-p)
11250 (frameset-locate-frame-id): New functions.
11251 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11252 (frameset-restore): Use them.
11253
11254 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11255
11256 Do not call to `selected-frame' where it is assumed by default.
11257 Affected functions are `raise-frame', `redraw-frame',
11258 `frame-first-window', `frame-terminal' and `delete-frame'.
11259 * calendar/appt.el (appt-disp-window):
11260 * epg.el (epg-wait-for-completion):
11261 * follow.el (follow-delete-other-windows-and-split)
11262 (follow-avoid-tail-recenter):
11263 * international/mule.el (set-terminal-coding-system):
11264 * mail/rmail.el (rmail-mail-return):
11265 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11266 * progmodes/f90.el (f90-add-imenu-menu):
11267 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11268 * server.el (server-switch-buffer):
11269 * simple.el (delete-completion-window):
11270 * talk.el (talk):
11271 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11272 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11273 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11274 * vc/ediff.el (ediff-documentation): Related users changed.
11275 * frame.el (selected-terminal): Remove the leftover.
11276
11277 2013-08-05 Glenn Morris <rgm@gnu.org>
11278
11279 * calendar/calendar.el (calendar-generate-month):
11280 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11281 (calendar-generate-month, calendar-font-lock-keywords):
11282 Fix for calendar-day-header-width > length of any day name.
11283
11284 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11285
11286 * desktop.el (desktop-clear): Use new name of sort predicate.
11287
11288 * frameset.el (frameset): Add docstring. Move :version property to its
11289 own `version' slot.
11290 (frameset-copy): Rename from copy-frameset.
11291 (frameset-p): Check more thoroughly.
11292 (frameset-prop): Do not check for :version, which is no longer a prop.
11293 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11294 Use new :never value instead of t.
11295 (frameset-filter-alist): Expand and clarify docstring.
11296 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11297 (frameset-filter-minibuffer, frameset-filter-save-param)
11298 (frameset-filter-restore-param, frameset-filter-iconified):
11299 Add pointer to docstring of frameset-filter-alist.
11300 (frameset-filter-params): Rename filter values to be more meaningful:
11301 :never instead of t, and reverse the meanings of :save and :restore.
11302 (frameset--process-minibuffer-frames): Clarify error message.
11303 (frameset-save): Avoid unnecessary and confusing call to framep.
11304 Use new BOA constructor for framesets.
11305 (frameset--reuse-list): Doc fix.
11306 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11307 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11308 (frameset-minibufferless-first-p): Doc fix.
11309 Rename from frameset-sort-frames-for-deletion.
11310 (frameset-restore): Doc fixes. Use new function names.
11311 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11312
11313 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11314
11315 * desktop.el (desktop-restore-forces-onscreen)
11316 (desktop-restore-reuses-frames): Document :keyword constant values.
11317 (desktop-filter-parameters-alist): Remove, now identical to
11318 frameset-filter-alist.
11319 (desktop--filter-tty*): Remove, moved to frameset.el.
11320 (desktop-save-frameset, desktop-restore-frameset):
11321 Do not pass :filters argument.
11322
11323 * frameset.el (frameset-live-filter-alist)
11324 (frameset-persistent-filter-alist): New variables.
11325 (frameset-filter-alist): Use them. Add autoload cookie.
11326 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11327 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11328 `frameset--id' (it's supposed to be internal to frameset.el).
11329 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11330 (frameset--initial-params): New function.
11331 (frameset--get-frame): Use it. Doc fix.
11332 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11333 Accept :all, not 'all.
11334 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11335 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11336 with fbound symbols. Fix frame id matching, and remove matching ids if
11337 the frame being restored is deleted. Obey :delete.
11338
11339 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11340
11341 * subr.el (macrop): New function.
11342 (text-clone--maintaining): New var.
11343 (text-clone--maintain): Rename from text-clone-maintain. Use it
11344 instead of inhibit-modification-hooks.
11345
11346 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11347 a proxy, so as handle autoloads and redefinitions of the target.
11348 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11349
11350 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11351 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11352 (pcase--mutually-exclusive-p): New function.
11353 (pcase--split-consp): Use it.
11354 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11355 mutually exclusive with the current predicate.
11356
11357 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11358 (edebug-macrop): Remove. Use `macrop' instead.
11359 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11360 (ad-macro-p):
11361 * eshell/esh-cmd.el (eshell-macrop):
11362 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11363
11364 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11367 (advice-mapc): New function, using it.
11368 (advice-function-member-p): New function.
11369 (advice--normalize): Store the cdr in advice--saved-rewrite since
11370 that's the part that will be changed.
11371 (advice--symbol-function): New function.
11372 (advice-remove): Handle removal before the function is defined.
11373 Adjust to new advice--saved-rewrite.
11374 (advice-member-p): Use advice-function-member-p and
11375 advice--symbol-function.
11376
11377 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11378
11379 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11380 (frameset-filter-minibuffer): Doc fix.
11381 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11382 (frameset--set-id, frameset--process-minibuffer-frames)
11383 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11384 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11385
11386 * desktop.el (desktop-clear): Only delete frames when called
11387 interactively and desktop-restore-frames is non-nil. Doc fix.
11388 (desktop-read): Set desktop-saved-frameset to nil.
11389
11390 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11391
11392 * vc/vc.el (vc-ignore): Rewrite.
11393 (vc-default-ignore-completion-table, vc--read-lines)
11394 (vc--add-line, vc--remove-regexp): New functions.
11395
11396 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11397 (vc-svn-ignore-completion-table): New function.
11398
11399 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11400 (vc-hg-ignore-completion-table)
11401 (vc-hg-find-ignore-file): New functions.
11402
11403 * vc/vc-git.el (vc-git-ignore): Rewrite.
11404 (vc-git-ignore-completion-table)
11405 (vc-git-find-ignore-file): New functions.
11406
11407 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11408
11409 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11410 (vc-bzr-ignore-completion-table)
11411 (vc-bzr-find-ignore-file): New functions.
11412
11413 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11414
11415 * frameset.el (frameset-prop): New function and setter.
11416 (frameset-save): Do not modify frame list passed by the caller.
11417
11418 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11421
11422 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11423
11424 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11425 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11426
11427 * custom.el (custom-initialize-default, custom-initialize-set)
11428 (custom-initialize-reset, custom-initialize-changed): Affect the
11429 toplevel-default-value (bug#6275, bug#14586).
11430 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11431 for bug#6275.
11432
11433 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11434
11435 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11436 Add cl-def* expressions.
11437
11438 * frameset.el (frameset-filter-params): Fix order of arguments.
11439
11440 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11441
11442 Move code related to saving frames to frameset.el.
11443 * desktop.el: Require frameset.
11444 (desktop-restore-frames): Doc fix.
11445 (desktop-restore-reuses-frames): Rename from
11446 desktop-restoring-reuses-frames.
11447 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11448 (desktop-clear): Clear frames too.
11449 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11450 (desktop--filter-tty*, desktop-save, desktop-read):
11451 Use frameset functions.
11452 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11453 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11454 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11455 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11456 (desktop--process-minibuffer-frames, desktop-save-frames)
11457 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11458 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11459 (desktop--sort-states, desktop-restoring-frames-p)
11460 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11461 (desktop-restoring-frameset-p, desktop-restore-frameset)
11462 (desktop--check-dont-save, desktop-save-frameset): New functions.
11463 (desktop--app-id): New constant.
11464 (desktop-first-buffer, desktop-buffer-ok-count)
11465 (desktop-buffer-fail-count): Move before first use.
11466 * frameset.el: New file.
11467
11468 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * files.el: Use lexical-binding.
11471 (dir-locals-read-from-file): Remove unused `err' variable.
11472 (hack-dir-local-variables--warned-coding): New var.
11473 (hack-dir-local-variables): Use it to avoid repeated warnings.
11474 (make-backup-file-name--default-function): New function.
11475 (make-backup-file-name-function): Use it as default.
11476 (buffer-stale--default-function): New function.
11477 (buffer-stale-function): Use it as default.
11478 (revert-buffer-insert-file-contents--default-function): New function.
11479 (revert-buffer-insert-file-contents-function): Use it as default.
11480 (insert-directory): Avoid add-to-list.
11481
11482 * autorevert.el (auto-revert-handler): Simplify.
11483 Use buffer-stale--default-function.
11484
11485 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11486
11487 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11488
11489 * whitespace.el (whitespace-ensure-local-variables): New function.
11490 (whitespace-cleanup-region): Call it.
11491 (whitespace-turn-on): Call it.
11492
11493 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11494
11495 Complete file name handlers.
11496
11497 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11498 (tramp-handle-verify-visited-file-modtime)
11499 (tramp-handle-file-notify-rm-watch): New functions.
11500 (tramp-call-process): Do not bind `default-directory'.
11501
11502 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11503 Order alphabetically.
11504 <access-file, add-name-to-file, dired-call-process>:
11505 <dired-compress-file, file-acl, file-notify-rm-watch>:
11506 <file-ownership-preserved-p, file-selinux-context>:
11507 <make-directory-internal, make-symbolic-link, set-file-acl>:
11508 <set-file-selinux-context, set-visited-file-modtime>:
11509 <verify-visited-file-modtime>: Add handler.
11510 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11511
11512 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11513 <file-notify-add-watch, file-notify-rm-watch>:
11514 <set-file-times, set-visited-file-modtime>:
11515 <verify-visited-file-modtime>: Add handler.
11516 (with-tramp-gvfs-error-message)
11517 (tramp-gvfs-handle-set-visited-file-modtime)
11518 (tramp-gvfs-fuse-file-name): Remove.
11519 (tramp-gvfs-handle-file-notify-add-watch)
11520 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11521 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11522
11523 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11524 Order alphabetically.
11525 <file-notify-rm-watch>: Use default Tramp handler.
11526 <executable-find>: Remove private handler.
11527 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11528 `default-directory'.
11529 (tramp-sh-handle-executable-find)
11530 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11531 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11532 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11533 Do not use `format' in `tramp-message'.
11534
11535 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11536 <file-notify-rm-watch, set-visited-file-modtime>:
11537 <verify-visited-file-modtime>: Add handler.
11538 (tramp-smb-call-winexe): Do not bind `default-directory'.
11539
11540 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11541
11542 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11543
11544 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11545
11546 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11547 use it.
11548 (log-view-diff-changeset): Same.
11549 (log-view-diff-common): Call backend command `previous-revision'
11550 to find out the previous revision, in both cases. Swap the
11551 variables `to' and `fr', so that `fr' usually refers to the
11552 earlier revision (Bug#14989).
11553
11554 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11555
11556 * ibuf-ext.el (ibuffer-filter-by-filename):
11557 Make it work with dired buffers too.
11558
11559 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11560
11561 * emacs-lisp/re-builder.el (reb-color-display-p):
11562 * files.el (save-buffers-kill-terminal):
11563 * net/browse-url.el (browse-url):
11564 * server.el (server-save-buffers-kill-terminal):
11565 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11566 Prefer nil to selected-frame for the first arg of frame-parameter.
11567
11568 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11569
11570 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11571
11572 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11573
11574 * minibuffer.el (completion--twq-all): Try and preserve each
11575 completion's case choice (bug#14907).
11576
11577 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11578
11579 * net/network-stream.el (open-network-stream): Mention the new
11580 :nogreeting parameter.
11581 (network-stream-open-starttls): Use the :nogreeting parameter
11582 (bug#14938).
11583
11584 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11585
11586 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11587 more natural than popping.
11588
11589 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11590 (shr-urlify): Highlight under mouse.
11591
11592 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11593
11594 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11595
11596 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11597
11598 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11599 buffer for output.
11600
11601 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11602 point-min==1. Fix search string. Fix parentheses missing.
11603
11604 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11605 assume point-min==1. Fix search string. Fix parentheses missing.
11606
11607 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11608
11609 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11610 buffer for output.
11611
11612 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11613
11614 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11615 initial frame is minibuffer-less. (Bug#14841)
11616
11617 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11618
11619 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11620 option.
11621
11622 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11623 (tramp-maybe-open-connection): Use it.
11624
11625 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11626
11627 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11628 minimal set of parameters passed when creating a frame, because
11629 the minibuffer status of a frame cannot be changed later.
11630
11631 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11632
11633 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11634 replace-regexp-in-string and inadvertent omissions in previous change.
11635 (todo-filter-items): Ensure only file names are comma-separated in
11636 name of filtered items buffer.
11637
11638 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11639
11640 * desktop.el: Optionally force offscreen frames back onscreen.
11641 (desktop-restoring-reuses-frames): New option.
11642 (desktop--compute-pos, desktop--move-onscreen): New functions.
11643 (desktop--make-frame): Use desktop--move-onscreen.
11644
11645 2013-07-27 Alan Mackenzie <acm@muc.de>
11646
11647 Fontify a Java generic method as a function.
11648 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11649 value to t.
11650
11651 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11652
11653 * calendar/todo-mode.el: Add command to rename todo files.
11654 (todo-rename-file): New command.
11655 (todo-key-bindings-t): Add key binding for it. Change the
11656 bindings of todo-filter-regexp-items(-multifile) to use `x'
11657 instead of `r', since the latter is better suited to the new
11658 renaming command.
11659
11660 2013-07-27 Alan Mackenzie <acm@muc.de>
11661
11662 Make Java try-with-resources statement parse properly.
11663 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11664 (c-block-stmt-1-2-key): New language constants/variables.
11665 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11666 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11667 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11668 with c-block-stmt-1-2-key.
11669
11670 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11671
11672 * desktop.el (desktop--make-frame): Apply most frame parameters after
11673 creating the frame to force (partially or totally) offscreen frames to
11674 be restored as such.
11675
11676 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11677
11678 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11679 (Bug#14948)
11680
11681 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11682
11683 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11684 `base' arg of backtrace-frame.
11685
11686 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11687
11688 * simple.el (list-processes): Doc fix.
11689
11690 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11691
11692 * desktop.el (desktop--select-frame):
11693 Try harder to reuse existing frames.
11694
11695 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11698 (edebug-eval): Use backtrace-eval.
11699 (edebug--display, edebug--recursive-edit): Don't let-bind the
11700 edebug-outer-* vars that keep track of variables we locally let-bind.
11701 (edebug-outside-excursion): Don't restore outside values of locally
11702 let-bound vars.
11703 (edebug--display): Use user-error.
11704 (cl-lexical-debug, cl-debug-env): Remove.
11705
11706 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11707
11708 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11709 are restored to be sure that they are visible before deleting any
11710 remaining ones.
11711
11712 2013-07-26 Matthias Meulien <orontee@gmail.com>
11713
11714 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11715 vc-print-root-log. (Bug#14948)
11716
11717 2013-07-26 Richard Stallman <rms@gnu.org>
11718
11719 Add aliases for encrypting mail.
11720 * epa.el (epa-mail-aliases): New option.
11721 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11722 Bind inhibit-read-only so read-only text doesn't ruin everything.
11723 (epa-mail-default-recipients): New subroutine broken out.
11724 Handle epa-mail-aliases.
11725
11726 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 Add support for lexical variables to the debugger's `e' command.
11729 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11730 vars, except for debugger-outer-match-data.
11731 (debugger-frame-number): Move check for "on a function call" from
11732 callers into it. Add `skip-base' argument.
11733 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11734 (debugger-env-macro): Only reset the state stored in non-variables,
11735 i.e. current-buffer and match-data.
11736 (debugger-eval-expression): Rewrite using backtrace-eval.
11737 * subr.el (internal--called-interactively-p--get-frame): Remove.
11738 (called-interactively-p):
11739 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11740 `base' arg of backtrace-frame instead.
11741
11742 2013-07-26 Glenn Morris <rgm@gnu.org>
11743
11744 * align.el (align-regexp): Doc fix. (Bug#14857)
11745 (align-region): Explicit error if subexpression missing/does not match.
11746
11747 * simple.el (global-visual-line-mode):
11748 Do not duplicate the mode lighter. (Bug#14858)
11749
11750 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11751
11752 * window.el (display-buffer): In display-buffer bind
11753 split-window-keep-point to t, bug#14829.
11754
11755 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11756
11757 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11758 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11759 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11760 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11761 Change accordingly.
11762 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11763 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11764
11765 2013-07-25 Glenn Morris <rgm@gnu.org>
11766
11767 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11768
11769 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11770
11771 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11772 parameter to modify-frame-parameters if the value has not changed;
11773 this is a workaround for bug#14949.
11774 (desktop--make-frame): On cl-delete-if call, check parameter name,
11775 not full parameter.
11776
11777 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11778
11779 * vc/vc.el (vc-ignore): New function.
11780
11781 * vc/vc-svn.el (vc-svn-ignore): New function.
11782
11783 * vc/vc-hg.el (vc-hg-ignore): New function.
11784
11785 * vc/vc-git.el (vc-git-ignore): New function.
11786
11787 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11788 (vc-dir-ignore): New function.
11789
11790 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11791 (cvs-append-to-ignore): Move here from pcvs.el.
11792
11793 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11794
11795 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11796
11797 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11798
11799 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11800 (desktop-restore-frames): Warn when deleting an existing frame failed.
11801
11802 2013-07-24 Glenn Morris <rgm@gnu.org>
11803
11804 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11805
11806 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11807
11808 * filenotify.el (file-notify-supported-p):
11809 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11810 Remove functions.
11811
11812 * autorevert.el (auto-revert-use-notify)
11813 (auto-revert-notify-add-watch):
11814 * net/tramp.el (tramp-file-name-for-operation):
11815 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11816 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11817 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11818 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11819 Remove `file-notify-supported-p' entry.
11820
11821 2013-07-24 Glenn Morris <rgm@gnu.org>
11822
11823 * printing.el: Replace all uses of deleted ps-windows-system,
11824 ps-lp-system, ps-flatten-list with lpr- versions.
11825
11826 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11829 checked with memq (bug#14935).
11830
11831 * files.el (revert-buffer-function): Use a non-nil default.
11832 (revert-buffer-preserve-modes): Declare var to
11833 provide access to the `preserve-modes' argument.
11834 (revert-buffer): Let-bind it.
11835 (revert-buffer--default): New function, extracted from revert-buffer.
11836
11837 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 * lpr.el: Signal print errors more prominently.
11840 (print-region-function): Don't default to nil.
11841 (lpr-print-region): New function, extracted from print-region-1.
11842 Check lpr's return value and signal an error in case of problem.
11843 (print-region-1): Use it.
11844 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11845 versions instead.
11846 (ps-printer-name): Default to nil.
11847 (ps-printer-name-option): Default to lpr-printer-switch.
11848 (ps-print-region-function): Don't default to nil.
11849 (ps-postscript-code-directory): Simplify default.
11850 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11851 (ps-string-list, ps-eval-switch, ps-flatten-list)
11852 (ps-flatten-list-1): Remove.
11853 (ps-multibyte-buffer): Avoid setq.
11854 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11855 (print-region-function, ps-print-region-function): Don't set them here.
11856
11857 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11858
11859 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11860 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11861 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11862 (ido-decorations): Doc fix.
11863
11864 * ansi-color.el: Fix old URL.
11865
11866 2013-07-23 Michael R. Mauger <michael@mauger.com>
11867
11868 * progmodes/sql.el: Version 3.3
11869 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11870 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11871 (sql-interactive-remove-continuation-prompt): Rewrite, use
11872 functions above. Fix continuation prompt and complete output line
11873 handling.
11874 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11875 redirected output buffer.
11876 (sql-mode): Restore deleted code (Bug#13591).
11877
11878 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11879
11880 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11881
11882 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11883
11884 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11885
11886 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11887 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11888 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11889
11890 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11891
11892 * desktop.el (desktop-clear): Simplify; remove useless checks
11893 against invalid buffer names.
11894 (desktop-list*): Use cl-list*.
11895 (desktop-buffer-info, desktop-create-buffer): Simplify.
11896
11897 2013-07-23 Leo Liu <sdl.web@gmail.com>
11898
11899 * bookmark.el (bookmark-make-record): Restore NAME as a default
11900 value. (Bug#14933)
11901
11902 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11905 extracted from autoload--insert-text.
11906 (autoload--insert-text): Remove.
11907 (autoload--print-cookie-text): New function, extracted from
11908 autoload--insert-cookie-text.
11909 (autoload--insert-cookie-text): Remove.
11910 (autoload-generate-file-autoloads): Adjust calls accordingly.
11911
11912 * winner.el (winner-hook-installed-p): Remove.
11913 (winner-mode): Simplify accordingly.
11914
11915 * subr.el (add-to-list): Fix compiler-macro when `append' is
11916 not constant. Don't use `cl-member' for the base case.
11917
11918 * progmodes/subword.el: Fix boundary case (bug#13758).
11919 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11920 own group.
11921 (subword-backward-regexp): Make it a constant.
11922 (subword-forward-internal): Don't treat a trailing capital as the
11923 beginning of a word.
11924
11925 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11926
11927 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11928 global value of tabulated-list-revert-hook (bug#14930).
11929
11930 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11931
11932 * desktop.el: Require 'cl-lib.
11933 (desktop-before-saving-frames-functions): New hook.
11934 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11935 for frames being saved. Rename from desktop--save-minibuffer-frames.
11936 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11937 Do not save frames with non-nil `desktop-dont-save' parameter.
11938 Filter out deleted frames.
11939 (desktop--find-frame): Use cl-find-if.
11940 (desktop--select-frame): Use cl-(first|second|third) to access values
11941 of desktop-mini.
11942 (desktop--make-frame): Use cl-delete-if.
11943 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11944 (desktop-restore-frames): Use cl-(first|second|third) to access values
11945 of desktop-mini. Look for visible frame at the end, not while
11946 restoring frames.
11947
11948 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11949 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11950 Use string-match-p, looking-at-p (bug#14927).
11951
11952 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11953
11954 * desktop.el (desktop-saved-frame-states):
11955 Rename from desktop--saved-states; all users changed.
11956 (desktop-save-frames): Rename from desktop--save-frames.
11957 Do not save state to desktop file.
11958 (desktop-save): Save desktop-saved-frame-states to desktop file
11959 and reset to nil.
11960 (desktop-restoring-frames-p): New function.
11961 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11962 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11963 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11964
11965 * desktop.el: Correctly restore iconified frames.
11966 (desktop--filter-iconified-position): New function.
11967 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11968
11969 2013-07-20 Glenn Morris <rgm@gnu.org>
11970
11971 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11972 Let `message' do the formatting.
11973 (def-gdb-preempt-display-buffer): Add explicit format.
11974
11975 * image-dired.el (image-dired-track-original-file):
11976 Use with-current-buffer.
11977 (image-dired-track-thumbnail): Use with-current-buffer.
11978 Avoid changing point of wrong window.
11979
11980 * image-dired.el (image-dired-track-original-file):
11981 Avoid changing point of wrong window. (Bug#14909)
11982
11983 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11984
11985 * progmodes/gdb-mi.el (gdb-done-or-error):
11986 Guard against "%" in gdb output. (Bug#14127)
11987
11988 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11989
11990 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11991 (Bug#14826)
11992
11993 * international/mule.el (coding-system-iso-2022-flags): Fix last
11994 change.
11995
11996 2013-07-20 Kenichi Handa <handa@gnu.org>
11997
11998 * international/mule.el (coding-system-iso-2022-flags):
11999 Add `8-bit-level-4'. (Bug#8522)
12000
12001 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12002
12003 * net/shr.el (shr-mouse-browse-url): New command and keystroke
12004 (bug#14815).
12005
12006 * net/eww.el (eww-process-text-input): Allow inputting when the
12007 point is at the start of the line, as the properties aren't
12008 front-sticky.
12009
12010 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12011 degenerate widths.
12012
12013 2013-07-19 Richard Stallman <rms@gnu.org>
12014
12015 * epa.el (epa-popup-info-window): Doc fix.
12016
12017 * subr.el (split-string): New arg TRIM.
12018
12019 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
12020
12021 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12022 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12023
12024 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
12025
12026 * filenotify.el (file-notify--library): Rename from
12027 `file-notify-support'. Do not autoload. Adapt all uses.
12028 (file-notify-supported-p): New defun.
12029
12030 * autorevert.el (auto-revert-use-notify):
12031 Use `file-notify-supported-p' instead of `file-notify-support'.
12032 Adapt docstring.
12033 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12034
12035 * net/tramp.el (tramp-file-name-for-operation):
12036 Add `file-notify-supported-p'.
12037
12038 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12039 New defun.
12040 (tramp-sh-file-name-handler-alist): Add it as handler for
12041 `file-notify-supported-p '.
12042
12043 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12044 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12045 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12046 Add `ignore' as handler for `file-notify-*' functions.
12047
12048 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12049
12050 * simple.el (line-move-partial, line-move): Don't start vscroll or
12051 scroll-up if the current line is not taller than the window.
12052 (Bug#14881)
12053
12054 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12055
12056 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12057 highlight question marks in the method names as strings.
12058 (ruby-block-beg-keywords): Inline.
12059 (ruby-font-lock-keyword-beg-re): Extract from
12060 `ruby-font-lock-keywords'.
12061
12062 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12063
12064 * frame.el (blink-cursor-blinks): New defcustom.
12065 (blink-cursor-blinks-done): New defvar.
12066 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12067 (blink-cursor-timer-function): Check if number of blinks has been
12068 done on X and NS.
12069 (blink-cursor-suspend, blink-cursor-check): New defuns.
12070
12071 2013-07-15 Glenn Morris <rgm@gnu.org>
12072
12073 * edmacro.el (edmacro-format-keys): Fix previous change.
12074
12075 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12076
12077 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12078 The hack didn't work outside English locales anyway.
12079
12080 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12081
12082 * simple.el (define-alternatives): Rename from alternatives-define,
12083 per RMS' suggestion.
12084
12085 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12086
12087 * desktop.el (desktop-restore-frames): Change default to t.
12088 (desktop-restore-in-current-display): Now offer more options.
12089 (desktop-restoring-reuses-frames): New customization option.
12090 (desktop--saved-states): Doc fix.
12091 (desktop-filter-parameters-alist): New variable, renamed and expanded
12092 from desktop--excluded-frame-parameters.
12093 (desktop--target-display): New variable.
12094 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12095 (desktop--filter-tty*, desktop--filter-*-color)
12096 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12097 (desktop--filter-save-desktop-parm)
12098 (desktop-restore-in-original-display-p): New functions.
12099 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12100 (desktop--save-minibuffer-frames): New function, inspired by a similar
12101 function from Martin Rudalics.
12102 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12103 (desktop--restore-in-this-display-p): Remove.
12104 (desktop--find-frame): Rename from desktop--find-frame-in-display
12105 and add predicate argument.
12106 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12107 (desktop--reuse-list): New variable.
12108 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12109 New functions.
12110 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12111
12112 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12113
12114 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12115
12116 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12117
12118 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12119 Highlight conversion methods on Kernel.
12120
12121 2013-07-13 Alan Mackenzie <acm@muc.de>
12122
12123 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12124 and comment it out. This out-commenting enables certain C++
12125 declarations to be parsed correctly.
12126
12127 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12128
12129 * international/mule.el (define-coding-system): Doc fix.
12130
12131 * simple.el (default-font-height): Don't call font-info if the
12132 frame's default font didn't change since the frame was created.
12133 (Bug#14838)
12134
12135 2013-07-13 Leo Liu <sdl.web@gmail.com>
12136
12137 * ido.el (ido-read-file-name): Guard against non-symbol value.
12138
12139 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12140
12141 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12142 in nested defuns.
12143
12144 2013-07-13 Leo Liu <sdl.web@gmail.com>
12145
12146 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12147 ido-set-matches call. (Bug#6852)
12148
12149 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12150
12151 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12152 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12153 Ruby 2.0.
12154 (ruby-font-lock-keywords): Distinguish calls to functions with
12155 module-like names from module references. Highlight character
12156 literals.
12157
12158 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12159
12160 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12161 (gdb-send): Handle continued commands. (Bug#14847)
12162
12163 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12164
12165 * desktop.el (desktop--v2s): Remove unused local variable.
12166 (desktop-save-buffer): Make defvar-local; adjust docstring.
12167 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12168 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12169
12170 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12171
12172 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12173
12174 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12175
12176 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12177 (Bug#14842)
12178
12179 2013-07-12 Glenn Morris <rgm@gnu.org>
12180
12181 * doc-view.el: Require cl-lib at runtime too.
12182 (doc-view-remove-if): Remove.
12183 (doc-view-search-next-match, doc-view-search-previous-match):
12184 Use cl-remove-if.
12185
12186 * edmacro.el: Require cl-lib at runtime too.
12187 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12188 (edmacro-mismatch, edmacro-subseq): Remove.
12189
12190 * shadowfile.el: Require cl-lib.
12191 (shadow-remove-if): Remove.
12192 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12193 Use cl-remove-if.
12194
12195 * wid-edit.el: Require cl-lib.
12196 (widget-choose): Use cl-remove-if.
12197 (widget-remove-if): Remove.
12198
12199 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12200 (ebrowse-delete-if-not): Remove.
12201 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12202 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12203 Use cl-delete-if-not.
12204
12205 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12206
12207 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12208 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12209
12210 2013-07-12 Leo Liu <sdl.web@gmail.com>
12211
12212 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12213
12214 2013-07-11 Glenn Morris <rgm@gnu.org>
12215
12216 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12217 (edebug-gensym-index, edebug-gensym):
12218 Remove reimplementation of cl-gensym.
12219 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12220
12221 * thumbs.el: Require cl-lib at run-time too.
12222 (thumbs-gensym-counter, thumbs-gensym):
12223 Remove reimplementation of cl-gensym.
12224 (thumbs-temp-file): Use cl-gensym.
12225
12226 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12227 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12228 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12229 (ert--union, ert--gensym-counter, ert--gensym-counter)
12230 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12231 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12232 (ert-make-test-unbound, ert--expand-should-1)
12233 (ert--expand-should, ert--should-error-handle-error)
12234 (should-error, ert--explain-equal-rec)
12235 (ert--plist-difference-explanation, ert-select-tests)
12236 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12237 Use cl-lib functions rather than reimplementations.
12238
12239 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12240
12241 * net/tramp.el (tramp-methods): Extend docstring.
12242 (tramp-connection-timeout): New defcustom.
12243 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12244 (with-tramp-progress-reporter): Simplify.
12245 (tramp-process-actions): Improve messages.
12246
12247 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12248 * net/tramp-sh.el (tramp-maybe-open-connection):
12249 Use `tramp-connection-timeout'.
12250 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12251 (Bug#14808)
12252
12253 2013-07-11 Leo Liu <sdl.web@gmail.com>
12254
12255 * ido.el (ido-read-file-name): Conform to the requirements of
12256 read-file-name. (Bug#11861)
12257 (ido-read-directory-name): Conform to the requirements of
12258 read-directory-name.
12259
12260 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12261
12262 * subr.el (delay-warning): New function.
12263
12264 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12265
12266 * simple.el (default-line-height): New function.
12267 (line-move-partial, line-move): Use it instead of computing the
12268 line height inline.
12269 (line-move-partial): Always compute ROWH. If the last line is
12270 partially-visible, but its text is completely visible, allow
12271 cursor to enter such a partially-visible line.
12272
12273 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12274
12275 Improve error messages. (Bug#14808)
12276
12277 * net/tramp.el (tramp-current-connection): New defvar, moved from
12278 tramp-sh.el.
12279 (tramp-message-show-progress-reporter-message): Remove, not
12280 needed anymore.
12281 (tramp-error-with-buffer): Show message in minibuffer.
12282 Discard input before waiting. Reset connection timestamp.
12283 (with-tramp-progress-reporter): Improve messages.
12284 (tramp-process-actions): Use progress reporter. Delete process in
12285 case of error. Improve messages.
12286
12287 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12288 Call `tramp-error-with-buffer' with vector and buffer.
12289 (tramp-current-connection): Remove.
12290 (tramp-maybe-open-connection): The car of
12291 `tramp-current-connection' are the first 3 slots of the vector.
12292
12293 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12294
12295 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12296 inside continued strings.
12297
12298 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12299
12300 Timestamp fixes for undo (Bug#14824).
12301 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12302
12303 2013-07-10 Leo Liu <sdl.web@gmail.com>
12304
12305 * files.el (require-final-newline): Allow safe local value.
12306 (Bug#14834)
12307
12308 2013-07-09 Leo Liu <sdl.web@gmail.com>
12309
12310 * ido.el (ido-read-directory-name): Handle fallback.
12311 (ido-read-file-name): Update DIR to ido-current-directory.
12312 (Bug#1516)
12313 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12314
12315 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12316
12317 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12318 "autoload". Remove "warn lower camel case" section, previously
12319 commented out. Highlight negation char. Do not highlight the
12320 target in singleton method definitions.
12321
12322 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * faces.el (tty-setup-hook): Declare the hook.
12325
12326 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12327 and detect when a guard/pred depends on local vars (bug#14773).
12328 (pcase--u1): Adjust caller.
12329
12330 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12331
12332 * simple.el (line-move-partial, line-move): Account for
12333 line-spacing.
12334 (line-move-partial): Avoid setting vscroll when the last
12335 partially-visible line in window is of default height.
12336
12337 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12338
12339 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12340 been used a while.
12341
12342 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12343
12344 * subr.el (read-quoted-char): Remove unused local variable `char'.
12345
12346 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12347
12348 * vc/ediff.el (ediff-version): Version update.
12349 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12350 (ediff-merge-with-ancestor-command, ediff-directories-command)
12351 (ediff-directories3-command, ediff-merge-directories-command)
12352 (ediff-merge-directories-with-ancestor-command): New functions.
12353 All are command-line interfaces to ediff: to facilitate calling
12354 Emacs with the appropriate ediff functions invoked.
12355
12356 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12357 New function.
12358 (viper-save-kill-buffer): Check if buffer is modified.
12359
12360 * emulation/viper.el (viper-version): Version update.
12361 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12362
12363 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12364
12365 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12366 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12367 (viper-intercept-ESC-key): Simplify.
12368 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12369 don't use kbd.
12370 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12371 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12372 (viper-setup-ESC-to-escape): New functions.
12373 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12374 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12375
12376 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12377
12378 * simple.el (default-font-height, window-screen-lines):
12379 New functions.
12380 (line-move, line-move-partial): Use them instead of
12381 frame-char-height and window-text-height. This makes scrolling
12382 text smoother when the buffer's default face uses a font that is
12383 different from the frame's default font.
12384
12385 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12386
12387 * files.el (write-file): Do not display confirm dialog for NS,
12388 it does its own dialog, which can't be canceled (Bug#14578).
12389
12390 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12391
12392 * simple.el (line-move-partial): Adjust the row returned by
12393 posn-at-point for the current window-vscroll. (Bug#14567)
12394
12395 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12396
12397 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12398 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12399 spaces.
12400
12401 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12402
12403 * window.el (window-state-put-stale-windows): New variable.
12404 (window--state-put-2): Save list of windows without matching buffer.
12405 (window-state-put): Remove "bufferless" windows if possible.
12406
12407 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12408
12409 * simple.el (alternatives-define): Remove leftover :group keyword.
12410 Tweak docstring.
12411
12412 2013-07-06 Leo Liu <sdl.web@gmail.com>
12413
12414 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12415 (ido-enable-virtual-buffers): New variable.
12416 (ido-buffer-internal, ido-toggle-virtual-buffers)
12417 (ido-make-buffer-list): Use it.
12418 (ido-exhibit): Support turning on and off virtual buffers
12419 automatically.
12420
12421 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12422
12423 * simple.el (alternatives-define): New macro.
12424
12425 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12426
12427 * subr.el (read-quoted-char): Use read-key.
12428 (sit-for): Let read-event decode tty input (bug#14782).
12429
12430 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12431
12432 * calendar/todo-mode.el: Add handling of file deletion, both by
12433 mode command and externally. Fix various related bugs.
12434 Clarify Commentary and improve some documentation strings and code.
12435 (todo-delete-file): New command.
12436 (todo-check-file): New function.
12437 (todo-show): Handle external deletion of the file we're trying to
12438 show (bug#14688). Replace called-interactively-p by an optional
12439 prefix argument to avoid problematic interaction with catch form
12440 when byte compiled (bug#14702).
12441 (todo-quit): Handle external deletion of the archive's todo file.
12442 Make sure the buffer that was visiting the archive file is still
12443 live before trying to bury it.
12444 (todo-category-completions): Handle external deletion of any
12445 category completion files.
12446 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12447 of todo files, in case of external deletion.
12448 (todo-add-file): Replace unnecessary setq by let-binding.
12449 (todo-find-archive): Check whether there are any archives.
12450 Replace unnecessary setq by let-binding.
12451 (todo-archive-done-item): Use find-file-noselect to get the
12452 archive buffer whether or not the archive already exists.
12453 Remove superfluous code. Use file size instead of buffer-file-name to
12454 check if the archive is new; if it is, update list of archives.
12455 (todo-default-todo-file): Allow nil to be a valid value for when
12456 there are no todo files.
12457 (todo-reevaluate-default-file-defcustom): Use corrected definition
12458 of todo-default-todo-file.
12459 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12460 (todo-delete-category, todo-show-categories-table)
12461 (todo-category-number): Clarify comment.
12462 (todo-filter-items): Clarify documentation string.
12463 (todo-show-current-file, todo-display-as-todo-file)
12464 (todo-reset-and-enable-done-separator): Tweak documentation string.
12465 (todo-done-separator): Make separator length window-width, since
12466 bug#2749 is now fixed.
12467
12468 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12469
12470 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12471 Support both "gvfs-monitor-dir" and "inotifywait".
12472 (tramp-sh-file-inotifywait-process-filter): Rename from
12473 `tramp-sh-file-notify-process-filter'.
12474 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12475 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12476
12477 2013-07-05 Leo Liu <sdl.web@gmail.com>
12478
12479 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12480
12481 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12482
12483 * frame.el (display-pixel-height, display-pixel-width)
12484 (display-mm-height, display-mm-width): Mention behavior on
12485 multi-monitor setups in docstrings.
12486 (w32-display-monitor-attributes-list): Declare function.
12487 (display-monitor-attributes-list): Use it.
12488
12489 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12490
12491 * filenotify.el: New package.
12492
12493 * autorevert.el (top): Require filenotify.el.
12494 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12495 instead.
12496 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12497 (auto-revert-notify-handler): Use `file-notify-*' functions.
12498
12499 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12500
12501 * net/tramp.el (tramp-file-name-for-operation):
12502 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12503
12504 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12505 for `file-notify-add-watch' and `file-notify-rm-watch'.
12506 (tramp-process-sentinel): Improve trace.
12507 (tramp-sh-handle-file-notify-add-watch)
12508 (tramp-sh-file-notify-process-filter)
12509 (tramp-sh-handle-file-notify-rm-watch)
12510 (tramp-get-remote-inotifywait): New defuns.
12511
12512 2013-07-03 Juri Linkov <juri@jurta.org>
12513
12514 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12515 call of `occur-read-primary-args' to interactive spec.
12516
12517 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12518 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12519
12520 2013-07-03 Matthias Meulien <orontee@gmail.com>
12521
12522 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12523 `Buffer-menu-multi-occur'. Add it to the menu.
12524 (Buffer-menu-mode): Document it in docstring.
12525 (Buffer-menu-multi-occur): New command. (Bug#14673)
12526
12527 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12528
12529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12530 keywords and built-ins.
12531
12532 2013-07-03 Glenn Morris <rgm@gnu.org>
12533
12534 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12535
12536 Make info-xref checks case-sensitive by default
12537 * info.el (Info-find-node, Info-find-in-tag-table)
12538 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12539 Add option for exact case matching of nodes.
12540 * info-xref.el (info-xref): New custom group.
12541 (info-xref-case-fold): New option.
12542 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12543
12544 2013-07-03 Leo Liu <sdl.web@gmail.com>
12545
12546 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12547
12548 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12549
12550 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12551 middle of block statement initially, lower the depth. Remove
12552 FIXME comment, not longer valid. Remove middle of block statement
12553 detection, no need to do that anymore since we've been using
12554 `ruby-parse-region' here.
12555
12556 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12557
12558 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12559
12560 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12561
12562 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12563
12564 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12565
12566 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12567 (desktop-restore-in-current-display): New customization option.
12568 (desktop--excluded-frame-parameters): Add `font'.
12569 (desktop--save-frames): Rename from desktop--save-windows.
12570 (desktop--restore-in-this-display-p): New function.
12571 (desktop--make-full-frame): Remove unwanted width/height from
12572 full(width|height) frames.
12573 (desktop--restore-frames): Rename from desktop--restore-windows.
12574 Obey desktop-restore-current-display. Do not delete old frames or
12575 select a new frame unless we were able to restore at least one frame.
12576
12577 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12578
12579 * files.el (find-file-noselect): Simplify conditional expression.
12580
12581 * textmodes/remember.el (remember-append-to-file):
12582 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12583
12584 Add `remember-notes' function to store random notes across Emacs
12585 restarts.
12586 * textmodes/remember.el (remember-data-file): Add :set callback to
12587 affect notes buffer (if any).
12588 (remember-notes): New command.
12589 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12590 New defcustoms for the `remember-notes' function.
12591 (remember-notes-save-and-bury-buffer): New command.
12592 (remember-notes-mode-map): New variable.
12593 (remember-mode): New minor mode.
12594 (remember-notes--kill-buffer-query): New function.
12595 * startup.el (initial-buffer-choice): Add notes to custom type.
12596
12597 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12598
12599 * bindings.el (right-char, left-char): Don't call sit-for, this is
12600 no longer needed. Use arithmetic comparison only for numerical
12601 arguments.
12602
12603 * international/mule-cmds.el (select-safe-coding-system):
12604 Handle the case of FROM being a string correctly. (Bug#14755)
12605
12606 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12607
12608 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12609 progression on degenerate tables.
12610 (shr-rescale-image): ImageMagick animated images currently don't work.
12611
12612 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12613
12614 Some fixes and improvements for desktop frame restoration.
12615 It is still experimental and disabled by default.
12616 * desktop.el (desktop--save-windows): Put the selected frame at
12617 the head of the list.
12618 (desktop--make-full-frame): New function.
12619 (desktop--restore-windows): Try to re-select the frame that was
12620 selected upon saving. Do not abort if some frames fail to restore,
12621 just show an error message and continue. Set up maximized frames
12622 so they have default non-maximized dimensions.
12623
12624 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12625
12626 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12627 Don't start heredoc inside a string or comment.
12628
12629 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12630
12631 * bindings.el (visual-order-cursor-movement): New defcustom.
12632 (right-char, left-char): Provide visual-order cursor motion by
12633 calling move-point-visually. Update the doc strings.
12634
12635 2013-06-28 Kenichi Handa <handa@gnu.org>
12636
12637 * international/mule.el (define-coding-system): New coding system
12638 properties :inhibit-null-byte-detection,
12639 :inhibit-iso-escape-detection, and :prefer-utf-8.
12640 (set-buffer-file-coding-system): If :charset-list property of
12641 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12642 appropriate for setting.
12643
12644 * international/mule-cmds.el (select-safe-coding-system):
12645 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12646 multibyte characters, return utf-8 (or one of its siblings).
12647
12648 * international/mule-conf.el (prefer-utf-8): New coding system.
12649 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12650 files.
12651
12652 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12653
12654 * net/shr.el (shr-render-region): New function.
12655
12656 * net/eww.el: Autoload `eww-browse-url'.
12657
12658 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12659
12660 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12661 Adapt to `package-desc-version' being a list.
12662 Use `package--ac-desc-version' to retrieve version from a package
12663 archive element.
12664
12665 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12666
12667 New experimental feature to save&restore window and frame setup.
12668 * desktop.el (desktop-save-windows): New defcustom.
12669 (desktop--saved-states): New var.
12670 (desktop--excluded-frame-parameters): New defconst.
12671 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12672 (desktop--restore-windows, desktop--save-windows): New functions.
12673 (desktop-save): Call `desktop--save-windows'.
12674 (desktop-read): Call `desktop--restore-windows'.
12675
12676 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12677
12678 * net/shr.el (add-face-text-property): Remove compat definition.
12679
12680 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12681
12682 * info.el (Info-try-follow-nearest-node): Move search for footnote
12683 above search for node name to prevent missing a footnote (bug#14717).
12684
12685 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12686
12687 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12688
12689 2013-06-27 Leo Liu <sdl.web@gmail.com>
12690
12691 * net/eww.el (eww-read-bookmarks): Check file size.
12692
12693 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12696 advice--pending if newdef is nil or an autoload (bug#13820).
12697 (advice-mapc): New function.
12698
12699 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12700
12701 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12702 probably.
12703 (eww-mode-map): Add a menu bar.
12704 (eww-add-bookmark): New command.
12705 (eww-bookmark-mode): New mode and commands.
12706 (eww-add-bookmark): Remove newlines from the title.
12707 (eww-bookmark-browse): Don't bug out if it's the only window.
12708
12709 2013-06-26 Glenn Morris <rgm@gnu.org>
12710
12711 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12712 (hfy-size): Handle ttys. (Bug#14668)
12713
12714 * info-xref.el: Update for Texinfo 5 change in *note format.
12715 (info-xref-node-re, info-xref-note-re): New constants.
12716 (info-xref-check-buffer): Use info-xref-note-re.
12717
12718 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12719
12720 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12721
12722 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12723 nil terminate the loop (bug#14718).
12724
12725 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12726
12727 * net/eww.el: Rework history traversal. When going forward/back,
12728 put these actions into the history, too, so that they can be
12729 replayed.
12730 (eww-render): Move the history reset to the correct buffer.
12731
12732 2013-06-25 Juri Linkov <juri@jurta.org>
12733
12734 * files-x.el (modify-dir-local-variable): Change the header comment
12735 in the file with directory local variables. (Bug#14692)
12736
12737 * files-x.el (read-file-local-variable-value): Add `default'.
12738 (Bug#14710)
12739
12740 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12741
12742 * net/eww.el (eww-make-unique-file-name): Create a unique file
12743 name before saving to entering `y' accidentally asynchronously.
12744
12745 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12746
12747 * net/eww.el (eww-download): New command and keystroke.
12748
12749 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12750
12751 * net/eww.el (eww-copy-page-url): Change name of command.
12752
12753 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12754 be more consistent with Info and dired.
12755
12756 * net/eww.el (eww-mode-map): Ditto.
12757
12758 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12759
12760 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12761 packages from archives.
12762 (package-archive-contents): Change format; include obsolete packages.
12763 (package-desc): Use `dir' to mark builtin packages.
12764 (package--from-builtin): Set the `dir' field to `builtin'.
12765 (generated-autoload-file, version-control): Declare.
12766 (package-compute-transaction): Change first arg and return value to be
12767 lists of package-descs. Adjust to new package-archive-contents format.
12768 (package--add-to-archive-contents): Adjust to new
12769 package-archive-contents format.
12770 (package-download-transaction): Arg is now a list of package-descs.
12771 (package-install): If `pkg' is a package name, pass it as
12772 a requirement, so it is subject to the usual (e.g. disabled) checks.
12773 (describe-package): Accept package-desc as well.
12774 (describe-package-1): Describe a specific package-desc. Add links to
12775 other package-descs for the same package name.
12776 (package-menu-describe-package): Pass the actual package-desc.
12777 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12778 works correctly.
12779 (package-desc-status): New function.
12780 (package-menu--refresh): New function, extracted
12781 from package-menu--generate.
12782 (package-menu--generate): Use it.
12783 (package-delete): Update package-alist.
12784 (package-menu-execute): Don't call package-initialize.
12785
12786 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12787 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12788 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12789 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12790 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12791 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12792
12793 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12794
12795 * window.el (window--state-get-1): Workaround for bug#14527.
12796 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12797
12798 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12799
12800 * net/eww.el (eww-back-url): Implement the history by stashing all
12801 the data into a list.
12802 (eww-forward-url): Allow going forward in the history, too.
12803
12804 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12805
12806 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12807 for values and use read--expression for expressions (bug#14710).
12808 (read-file-local-variable): Avoid setq.
12809 (read-file-local-variable-mode): Use minor-mode-list.
12810
12811 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12812
12813 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12814 for DOI URLs.
12815
12816 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12817
12818 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12819 Update imenu-support when dialect changes.
12820
12821 2013-06-25 Leo Liu <sdl.web@gmail.com>
12822
12823 * ido.el (ido-read-internal): Allow forward slash on windows.
12824
12825 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12826
12827 * net/eww.el (eww): Start of strings is \\`, not ^.
12828
12829 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12830
12831 * net/shr.el (shr-browse-url): Fix interactive spec.
12832
12833 * net/eww.el (eww): Add a trailing slash to domain names.
12834
12835 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12836
12837 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12838
12839 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12840
12841 * net/shr.el (shr-browse-url): Use an external browser if given a
12842 prefix.
12843
12844 * net/eww.el (eww-external-browser): Move to shr.
12845
12846 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12847
12848 * net/eww.el (eww): Work more correctly for file: URLs.
12849 (eww-detect-charset): Allow quoted charsets.
12850 (eww-yank-page-url): New command and keystroke.
12851
12852 2013-06-24 Daiki Ueno <ueno@gnu.org>
12853
12854 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12855 file name of gpg executable.
12856 (epg-context-program): New function.
12857 (epg-context-home-directory): New function.
12858 (epg-context-set-program): New function.
12859 (epg-context-set-home-directory): New function.
12860 (epg--start): Use `epg-context-program' instead of
12861 'epg-gpg-program'.
12862 (epg--list-keys-1): Likewise.
12863
12864 2013-06-24 Leo Liu <sdl.web@gmail.com>
12865
12866 * ido.el (ido-read-internal): Fix bug#14620.
12867
12868 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12869
12870 * faces.el (face-documentation): Simplify.
12871 (read-face-attribute, tty-find-type, x-resolve-font-name):
12872 Use `string-match-p'.
12873 (list-faces-display): Use `string-match-p'. Simplify.
12874 (face-spec-recalc): Check face to avoid face alias loops.
12875 (read-color): Use `string-match-p' and non-capturing parenthesis.
12876
12877 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12878
12879 * net/shr.el (shr-rescale-image): Use the new
12880 :max-width/:max-height functionality.
12881
12882 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12883
12884 * net/eww.el (eww-search-prefix): New variable.
12885 (eww): Use it.
12886 (eww-external-browser): New variable.
12887 (eww-mode-map): New keystroke.
12888 (eww-browse-with-external-browser): New command.
12889
12890 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12891
12892 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12893
12894 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12895 Don't skip aligning the next header field when padding is 0;
12896 otherwise, field width is not respected unless the title is as
12897 wide as the field.
12898
12899 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12900
12901 * emacs-lisp/package.el (package-el-version): Remove.
12902 (package-process-define-package): Fix inf-loop.
12903 (package-install): Allow symbols as arguments again.
12904
12905 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12906
12907 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12908 add some more keyword-like methods.
12909 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12910
12911 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12912
12913 * bs.el (bs-buffer-show-mark): Make defvar-local.
12914 (bs-mode): Use setq-local.
12915
12916 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12917 (emacs-lock--try-unlocking): Make defvar-local.
12918
12919 2013-06-22 Glenn Morris <rgm@gnu.org>
12920
12921 * play/cookie1.el (cookie-apropos): Minor simplification.
12922
12923 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12924
12925 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12926
12927 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12928 `regexp-opt', it breaks the build during dumping.
12929
12930 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12931
12932 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12933 Highlight keyword-like methods on Kernel and Module with
12934 font-lock-builtin-face.
12935 (auto-mode-alist): Consolidate different entries into one regexp
12936 and add more *file-s.
12937
12938 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12939
12940 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12941
12942 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12943 (diary-entry): Use it in the action of this button type instead of
12944 diary-goto-entry.
12945
12946 * calendar/todo-mode.el: New version.
12947 (todo-add-category): Append new category to end of file and give
12948 it the highest number, instead of putting it at the beginning and
12949 giving it 0. Incorporate noninteractive functionality.
12950 (todo-forward-category): Adapt to 1-based category numbering.
12951 Allow skipping over archived categories.
12952 (todo-backward-category): Derive from todo-forward-category.
12953 (todo-backward-item, todo-forward-item): Make noninteractive and
12954 delegate interactive part to new commands. Make sensitive to done items.
12955 (todo-categories): Make value an alist of category names and
12956 vectors of item counts.
12957 (todo-category-beg): Make a defconst.
12958 (todo-category-number): Use 1 instead of 0 as initial value.
12959 (todo-category-select): Make sensitive to overlays, optional item
12960 highlighting and done items.
12961 (todo-delete-item): Make sensitive to overlays and marked and done items.
12962 (todo-edit-item): Make sensitive to overlays and editing of
12963 date/time header optional. Add format checks.
12964 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12965 no-op if point is not on an item. Advertise using todo-edit-quit.
12966 (todo-edit-mode): Make sensitive to new format, font-locking, and
12967 multiple todo files.
12968 (todo-insert-item, todo-insert-item-here): Derive from
12969 todo-basic-insert-item and extend functionality.
12970 (todo-item-end, todo-item-start): Make sensitive to done items.
12971 (todo-item-string): Don't return text properties. Restore point.
12972 (todo-jump-to-category): Make sensitive to multiple todo files and
12973 todo archives. Use extended category completion.
12974 (todo-lower-item, todo-raise-item): Rename to *-priority and
12975 derive from todo-set-item-priority.
12976 (todo-mode): Derive from special-mode. Make sensitive to new
12977 format, font-locking and multiple todo files. Make read-only.
12978 (todo-mode-map): Don't suppress digit keys, so they can supply
12979 prefix arguments. Add many new key bindings.
12980 (todo-prefix): Insert as an overlay instead of file text.
12981 Change semantics from diary date expression to purely visual mark.
12982 (todo-print): Rename to todo-print-buffer. Make buffer display
12983 features printable. Remove option to restrict number of items
12984 printed. Add option to print to file.
12985 (todo-print-function): Rename to todo-print-buffer-function.
12986 (todo-quit): Extend to handle exiting new todo modes.
12987 (todo-remove-item): Make sensitive to overlays.
12988 (todo-save): Extend to buffers of filtered items.
12989 (todo-show): Make sensitive to done items, multiple todo files and
12990 new todo modes. Offer to convert legacy todo file before creating
12991 first new todo file.
12992 (todo-show-priorities): Rename to todo-top-priorities.
12993 Change semantics of value 0.
12994 (todo-top-priorities): Rename to todo-filter-top-priorities,
12995 derive from todo-filter-items and extend functionality.
12996 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12997 and extend functionality to other types of filtered items.
12998 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12999 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
13000 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
13001 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
13002 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
13003 (todo-edit-mode-hook, todo-entry-prefix-function)
13004 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
13005 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
13006 (todo-initials, todo-insert-threshold, todo-item-string-start)
13007 (todo-line-string, todo-menu, todo-mode-hook)
13008 (todo-more-important-p, todo-previous-answer, todo-previous-line)
13009 (todo-print-priorities, todo-remove-separator)
13010 (todo-save-top-priorities-too, todo-string-count-lines)
13011 (todo-string-multiline-p, todo-time-string-format)
13012 (todo-tmp-buffer-name): Remove.
13013 (todo-add-file, todo-archive-done-item, todo-choose-archive)
13014 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13015 (todo-edit-category-diary-inclusion)
13016 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13017 (todo-edit-file, todo-edit-item-date-day)
13018 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13019 (todo-edit-item-date-month, todo-edit-item-date-to-today)
13020 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13021 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13022 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13023 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13024 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13025 (todo-filter-top-priorities-multifile, todo-find-archive)
13026 (todo-find-filtered-items-file, todo-go-to-source-item)
13027 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13028 (todo-jump-to-archive-category, todo-lower-category)
13029 (todo-mark-category, todo-marked-item-p, todo-merge-category)
13030 (todo-move-category, todo-move-item, todo-next-button)
13031 (todo-next-item, todo-padded-string, todo-powerset)
13032 (todo-previous-button, todo-previous-item)
13033 (todo-print-buffer-to-file, todo-raise-category)
13034 (todo-rename-category, todo-repair-categories-sexp, todo-search)
13035 (todo-set-category-number, todo-set-item-priority)
13036 (todo-set-top-priorities-in-category)
13037 (todo-set-top-priorities-in-file, todo-show-categories-table)
13038 (todo-sort-categories-alphabetically-or-numerically)
13039 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13040 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13041 (todo-toggle-item-header, todo-toggle-item-highlighting)
13042 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13043 (todo-toggle-view-done-items, todo-toggle-view-done-only)
13044 (todo-unarchive-items, todo-unmark-category): New commands.
13045 (todo-absolute-file-name, todo-add-to-buffer-list)
13046 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13047 (todo-basic-insert-item, todo-category-completions)
13048 (todo-category-number, todo-category-string-matcher-1)
13049 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13050 (todo-check-format, todo-clear-matches)
13051 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13052 (todo-current-category, todo-date-string-matcher)
13053 (todo-define-insertion-command, todo-diary-expired-matcher)
13054 (todo-diary-goto-entry, todo-diary-item-p)
13055 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13056 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13057 (todo-done-item-section-p, todo-done-separator)
13058 (todo-done-string-matcher, todo-files, todo-filter-items)
13059 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13060 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13061 (todo-insert-category-line, todo-insert-item-from-calendar)
13062 (todo-insert-sort-button, todo-insert-with-overlays)
13063 (todo-insertion-command-name, todo-insertion-key-bindings)
13064 (todo-label-to-key, todo-longest-category-name-length)
13065 (todo-make-categories-list, todo-mode-external-set)
13066 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13067 (todo-modes-set-3, todo-multiple-filter-files)
13068 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13069 (todo-read-category, todo-read-date, todo-read-dayname)
13070 (todo-read-file-name, todo-read-time)
13071 (todo-reevaluate-category-completions-files-defcustom)
13072 (todo-reevaluate-default-file-defcustom)
13073 (todo-reevaluate-filelist-defcustoms)
13074 (todo-reevaluate-filter-files-defcustom)
13075 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13076 (todo-reset-done-separator, todo-reset-done-separator-string)
13077 (todo-reset-done-string, todo-reset-global-current-todo-file)
13078 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13079 (todo-reset-prefix, todo-set-categories)
13080 (todo-set-date-from-calendar, todo-set-show-current-file)
13081 (todo-set-top-priorities, todo-short-file-name)
13082 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13083 (todo-total-item-counts, todo-update-buffer-list)
13084 (todo-update-categories-display, todo-update-categories-sexp)
13085 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13086 New functions.
13087 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13088 New major modes.
13089 (todo-categories, todo-display, todo-edit, todo-faces)
13090 (todo-filtered): New defgroups.
13091 (todo-archived-only, todo-button, todo-category-string, todo-date)
13092 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13093 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13094 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13095 (todo-add-item-if-new-category, todo-always-add-time-string)
13096 (todo-categories-align, todo-categories-archived-label)
13097 (todo-categories-category-label, todo-categories-diary-label)
13098 (todo-categories-done-label, todo-categories-number-separator)
13099 (todo-categories-todo-label, todo-categories-totals-label)
13100 (todo-category-completions-files, todo-completion-ignore-case)
13101 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13102 (todo-done-separator-string, todo-done-string)
13103 (todo-files-function, todo-filter-done-items, todo-filter-files)
13104 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13105 (todo-initial-category, todo-initial-file, todo-item-mark)
13106 (todo-legacy-date-time-regexp, todo-mode-line-function)
13107 (todo-nondiary-marker, todo-number-prefix)
13108 (todo-print-buffer-function, todo-show-current-file)
13109 (todo-show-done-only, todo-show-first, todo-show-with-done)
13110 (todo-skip-archived-categories, todo-top-priorities-overrides)
13111 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13112 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13113 New defcustoms.
13114 (todo-category-done, todo-date-pattern, todo-date-string-start)
13115 (todo-diary-items-buffer, todo-done-string-start)
13116 (todo-filtered-items-buffer, todo-item-start)
13117 (todo-month-abbrev-array, todo-month-name-array)
13118 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13119 (todo-top-priorities-buffer): New defconsts.
13120 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13121 (todo-categories-with-marks, todo-category-string-face)
13122 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13123 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13124 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13125 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13126 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13127 (todo-font-lock-keywords, todo-global-current-todo-file)
13128 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13129 (todo-insertion-commands-args)
13130 (todo-insertion-commands-args-genlist)
13131 (todo-insertion-commands-names, todo-insertion-map)
13132 (todo-key-bindings-t, todo-key-bindings-t+a)
13133 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13134 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13135 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13136 (todo-visited): New variables.
13137
13138 2013-06-21 Glenn Morris <rgm@gnu.org>
13139
13140 * play/cookie1.el (cookie-apropos): Add optional display argument.
13141 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13142 (psychoanalyze-pinhead): Use cookie-doctor.
13143
13144 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13145
13146 * emacs-lisp/package.el (tar-get-file-descriptor)
13147 (tar--extract): Declare.
13148
13149 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13150
13151 Extend flymake's warning predicate to be a function (bug#14217).
13152 * progmodes/flymake.el (flymake-warning-predicate): New.
13153 (flymake-parse-line): Use it.
13154 (flymake-warning-re): Make obsolete alias to
13155 `flymake-warning-predicate'.
13156
13157 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13158
13159 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13160 (package-obsolete-list): Remove.
13161 (package-activate): Remove min-version argument. Add `force' argument.
13162 Adjust to new package-alist format.
13163 (package-mark-obsolete): Remove.
13164 (package-unpack): Force reload of the package's autoloads.
13165 (package-installed-p): Check builtins if the installed package is not
13166 recent enough.
13167 (package-initialize): Don't reset package-obsolete-list.
13168 Don't specify which package version to activate.
13169 (package-process-define-package, describe-package-1)
13170 (package-menu--generate): Adjust to new package-alist format.
13171
13172 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13173
13174 * allout-widgets.el (allout-widgets-mode-off)
13175 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13176 (allout-widgets-post-command-business)
13177 (allout-widgets-after-copy-or-kill-function)
13178 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13179 (allout-decorate-item-and-context)
13180 (allout-graphics-modification-handler): Fix typos in docstrings.
13181 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13182
13183 * cmuscheme.el (scheme-start-file): Doc fix.
13184 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13185 (scheme-input-filter): Use `string-match-p'.
13186
13187 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13188
13189 * dired-x.el: Use Dired consistently in docstrings.
13190
13191 * dired.el: Use Dired consistently in docstrings.
13192 (dired-readin, dired-mode): Use `setq-local'.
13193 (dired-switches-alist): Make defvar-local.
13194 (dired-buffers-for-dir): Use `zerop'.
13195 (dired-safe-switches-p, dired-switches-escape-p)
13196 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13197 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13198 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13199 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13200 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13201 (dired-toggle-marks, dired-mark-files-containing-regexp)
13202 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13203 (dired-flag-auto-save-files, dired-flag-backup-files):
13204 Use `looking-at-p'.
13205 (dired-mark-files-regexp, dired-build-subdir-alist):
13206 Use `string-match-p', `looking-at-p'.
13207
13208 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13209 (direct-print-region-helper): Use `string-match-p'.
13210
13211 2013-06-21 Leo Liu <sdl.web@gmail.com>
13212
13213 * comint.el (comint-redirect-results-list-from-process):
13214 Fix infinite loop.
13215
13216 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13217
13218 * net/eww.el (eww-update-header-line-format): Quote % characters.
13219
13220 2013-06-21 Glenn Morris <rgm@gnu.org>
13221
13222 * play/cookie1.el (cookie): New custom group.
13223 (cookie-file): New option.
13224 (cookie-check-file): New function.
13225 (cookie): Make it interactive. Make start and end messages optional.
13226 Interactively, display the result. Default to cookie-file.
13227 (cookie-insert): Default to cookie-file.
13228 (cookie-snarf): Make start and end messages optional.
13229 Default to cookie-file. Use with-temp-buffer.
13230 (cookie-read): Rename from read-cookie.
13231 Make start and end messages optional. Default to cookie-file.
13232 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13233 Do not autoload it.
13234 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13235 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13236
13237 2013-06-21 Leo Liu <sdl.web@gmail.com>
13238
13239 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13240
13241 2013-06-21 Glenn Morris <rgm@gnu.org>
13242
13243 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13244
13245 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13246 Daniel Hackney <dan@haxney.org>
13247
13248 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13249 Consolidate the single-file vs tarball code.
13250 (package-desc-suffix): New function.
13251 (package-desc-full-name): Don't bother inlining it.
13252 (package-load-descriptor): Return the new package-desc.
13253 (package-mark-obsolete): Remove unused arg `package'.
13254 (package-unpack): Make it work for single files as well.
13255 Make it update package-alist.
13256 (package--make-autoloads-and-stuff): Rename from
13257 package--make-autoloads-and-compile. Don't compile any more.
13258 (package--compile): New function.
13259 (package-generate-description-file): New function, extracted from
13260 package-unpack-single.
13261 (package-unpack-single): Remove.
13262 (package--with-work-buffer): Add indentation and debugging info.
13263 (package-download-single): Remove.
13264 (package-install-from-archive): Rename from package-download-tar, make
13265 it take a pkg-desc, and make it work for single files as well.
13266 (package-download-transaction): Simplify.
13267 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13268 external tar program.
13269 (package-install-from-buffer): Remove `pkg-desc' argument.
13270 Use package-tar-file-info for tar-mode buffers.
13271 (package-install-file): Simplify accordingly.
13272 (package-archive-base): Change to take a pkg-desc.
13273 * tar-mode.el (tar--check-descriptor): New function, extracted from
13274 tar-get-descriptor.
13275 (tar-get-descriptor): Use it.
13276 (tar-get-file-descriptor): New function.
13277 (tar--extract): New function, extracted from tar-extract.
13278 (tar--extract): Use it.
13279 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13280 case the summary uses non-ascii. Adjust to new calling convention of
13281 package-tar-file-info.
13282
13283 2013-06-21 Leo Liu <sdl.web@gmail.com>
13284
13285 * comint.el (comint-redirect-results-list-from-process):
13286 Fix random delay. (Bug#14681)
13287
13288 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13289
13290 * profiler.el (profiler-format-number): Use log, not log10.
13291
13292 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13293
13294 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13295
13296 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13299 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13300 yet available.
13301 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13302 (AUTOGENEL): ... here.
13303 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13304 (cl--defsubst-expand): Use it.
13305
13306 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13307
13308 * subr.el (log10): Move here from C code, and declare as obsolete.
13309 All uses of (log10 X) replaced with (log X 10).
13310
13311 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13312
13313 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13314 Declare with `defvar-local'.
13315 (tabulated-list-use-header-line, tabulated-list-entries)
13316 (tabulated-list-padding, tabulated-list-printer)
13317 (tabulated-list-sort-key): Declare with `defvar-local'.
13318 (tabulated-list-init-header, tabulated-list-print-fake-header):
13319 Use `setq-local'.
13320
13321 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13322
13323 * arc-mode.el (archive-mode): Add `archive-write-file' to
13324 `write-contents-functions' also for remote files. (Bug#14652)
13325
13326 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13327
13328 * cus-edit.el (custom-commands): Fix typos.
13329 (custom-display): Fix tooltip text.
13330 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13331 Fix typos in docstrings.
13332 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13333 (custom-unlispify-menu-entry, custom-magic-value-create)
13334 (custom-add-see-also, custom-group-value-create): Use ?\s.
13335 (custom-guess-type, customize-apropos, editable-field)
13336 (custom-face-value-create): Use `string-match-p'.
13337 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13338
13339 * custom.el (custom-load-symbol): Use `string-match-p'.
13340
13341 * ansi-color.el: Convert to lexical binding.
13342 (ansi-colors): Fix URL.
13343 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13344 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13345 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13346
13347 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13348
13349 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13350
13351 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13352
13353 2013-06-19 Tom Tromey <tromey@redhat.com>
13354
13355 * net/eww.el (eww-top-url): Remove.
13356 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13357 (eww-render): Set new variables. Don't set eww-top-url.
13358 (eww-handle-link): Handle "prev", "home", and "contents".
13359 Downcase the rel text.
13360 (eww-top-url): Choose best top URL.
13361
13362 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13363
13364 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13365 relying in widget.el. Using widget.el leads to too many
13366 user interface inconsistencies.
13367 (eww-self-insert): Implement entering commands in text fields.
13368 (eww-process-text-input): New function to make text input field editing
13369 work.
13370 (eww-submit): Rewrite to use the new-style form methods.
13371 (eww-select-display): Display the correct selected item.
13372 (eww-change-select): Implement changing the select value.
13373 (eww-toggle-checkbox): Implement radio/checkboxes.
13374 (eww-update-field): Fix compilation error.
13375 (eww-tag-textarea): Implement <textarea>.
13376
13377 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13378 we don't shadow mode-specific bindings.
13379
13380 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13381 nothing to push.
13382
13383 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13384
13385 2013-06-19 Glenn Morris <rgm@gnu.org>
13386
13387 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13388
13389 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13390
13391 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13392 not needed.
13393
13394 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13395
13396 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13397
13398 * net/browse-url.el (browse-url-browser-function):
13399 `eww-browse-url' has the right calling signature, `eww' does not.
13400
13401 2013-06-19 Glenn Morris <rgm@gnu.org>
13402
13403 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13404 Only eval autoloaded macros.
13405 (byte-compile-autoload): Only give the macro warning for macros.
13406
13407 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13408 (ps-underlined-faces): Declare.
13409
13410 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13411 (speedbar-add-supported-extension): Declare.
13412
13413 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13414 Don't include a date stamp in the header of the generated file;
13415 it leads to needless differences between output files.
13416
13417 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13418
13419 * net/secrets.el (secrets-struct-secret-content-type):
13420 Replace check of introspection data by a test call of "CreateItem".
13421 Some servers do not offer introspection.
13422
13423 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13424
13425 * electric.el (electric-pair-mode): Improve interaction with
13426 electric-layout-mode.
13427 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13428 (electric-pair-syntax): Use text-mode-syntax-table in comments
13429 and strings.
13430 (electric-pair--insert): New function.
13431 (electric-pair-post-self-insert-function): Use it and
13432 electric--after-char-pos.
13433
13434 2013-06-19 Leo Liu <sdl.web@gmail.com>
13435
13436 * progmodes/octave.el (octave-help): Fix regexp.
13437
13438 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13439
13440 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13441 (shr-table-horizontal-line): Allow nil as a value, and change the
13442 default.
13443 (shr-insert-table-ruler): Respect the nil value.
13444
13445 2013-06-18 Tom Tromey <tromey@barimba>
13446
13447 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13448 New defvars.
13449 (eww-open-file): New defun.
13450 (eww-render): Initialize new variables.
13451 (eww-display-html): Handle "link" and "a".
13452 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13453 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13454 (eww-back-url): Rename from eww-previous-url.
13455 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13456 New defuns.
13457
13458 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13459
13460 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13461 Distinguish ternary operator tokens from slash symbol and slash
13462 char literal.
13463
13464 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13465
13466 Convert symbol prettification into minor mode and global minor mode.
13467
13468 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13469 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13470 (prettify-symbols--keywords): Rename from
13471 `prog-prettify-symbols-alist' and make a local defvar.
13472 (prettify-symbols--compose-symbol): Rename from
13473 `prog--prettify-font-lock-compose-symbol'.
13474 (prettify-symbols--make-keywords): Rename from
13475 `prog-prettify-font-lock-symbols-keywords' and simplify.
13476 (prog-prettify-install): Remove.
13477 (prettify-symbols-mode): New minor mode, based on
13478 `prog-prettify-install'.
13479 (turn-on-prettify-symbols-mode): New function.
13480 (global-prettify-symbols-mode): New globalized minor mode.
13481
13482 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13483 * progmodes/cfengine.el (cfengine3-mode):
13484 * progmodes/perl-mode.el (perl-mode): Don't call
13485 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13486
13487 2013-06-18 Juri Linkov <juri@jurta.org>
13488
13489 * files-x.el (modify-file-local-variable-message): New function.
13490 (modify-file-local-variable)
13491 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13492 and call `modify-file-local-variable-message' when it's non-nil.
13493 (add-file-local-variable, delete-file-local-variable)
13494 (add-file-local-variable-prop-line)
13495 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13496 and use it. (Bug#9820)
13497
13498 2013-06-18 Juri Linkov <juri@jurta.org>
13499
13500 * emulation/vi.el (vi-shell-op):
13501 * emulation/vip.el (vip-execute-com, ex-command):
13502 * emulation/viper-cmd.el (viper-exec-bang):
13503 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13504 the call of `shell-command-on-region'. (Bug#14637)
13505
13506 * simple.el (shell-command-on-region): Doc fix.
13507
13508 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13509
13510 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13511 (bug#14633).
13512
13513 2013-06-18 Glenn Morris <rgm@gnu.org>
13514
13515 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13516
13517 * newcomment.el (comment-search-forward, comment-search-backward):
13518 Doc fix. (Bug#14376)
13519
13520 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13521
13522 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13523 (buffer-face-mode-invoke): Doc fix.
13524
13525 2013-06-18 Matthias Meulien <orontee@gmail.com>
13526
13527 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13528 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13529
13530 2013-06-18 Glenn Morris <rgm@gnu.org>
13531
13532 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13533 Replace obsolete function generic-make-keywords with its expansion.
13534
13535 * progmodes/python.el (ffap-alist): Declare.
13536
13537 * textmodes/reftex.el (bibtex-mode-map): Declare.
13538
13539 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13540
13541 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13542 (package-unpack, package-unpack-single): Return the pkg-dir.
13543 (package-download-transaction): Use it to update package-alist.
13544
13545 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13546
13547 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13548 possible choice.
13549
13550 2013-06-17 Juri Linkov <juri@jurta.org>
13551
13552 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13553
13554 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13555
13556 * emacs-lisp/package.el (package-load-descriptor):
13557 Remove `with-syntax-table' call, `read' doesn't need it.
13558 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13559
13560 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13561
13562 * startup.el (command-line): Expand package name returned by
13563 `package--description-file' (bug#14639).
13564
13565 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13566
13567 * emacs-lisp/package.el (package-load-descriptor): Do not call
13568 `emacs-lisp-mode', just use its syntax table.
13569
13570 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13571
13572 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13573 `font-lock-extra-managed-props' if any prettifying keyword is added.
13574 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13575 (prog-mode): Use `setq-local'.
13576
13577 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * international/characters.el (standard-case-table): Set syntax of ?»
13580 and ?« to punctuation.
13581
13582 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13583
13584 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13585 Save relevant match data before calling `syntax-ppss' (bug#14595).
13586
13587 2013-06-15 Juri Linkov <juri@jurta.org>
13588
13589 * files-x.el (modify-file-local-variable-prop-line): Add local
13590 variables to the end of the existing comment on the first line.
13591 Use `file-auto-mode-skip' to skip interpreter magic line,
13592 and also skip XML declaration.
13593
13594 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13595
13596 * startup.el (package--builtin-versions): New var.
13597 (package-subdirectory-regexp): Remove.
13598 (package--description-file): Hard code its value instead.
13599
13600 * emacs-lisp/package.el: Don't activate packages older than builtin.
13601 (package-obsolete-list): Rename from package-obsolete-alist, and make
13602 it into a simple list of package-desc.
13603 (package-strip-version): Remove.
13604 (package-built-in-p): Use package--builtin-versions.
13605 (package-mark-obsolete): Simplify.
13606 (package-process-define-package): Mark it obsolete if older than the
13607 builtin version.
13608 (package-handle-response): Use line-end-position.
13609 (package-read-archive-contents, package--download-one-archive):
13610 Simplify.
13611 (package--add-to-archive-contents): Skip if older than the builtin or
13612 installed version.
13613 (package-menu-describe-package): Fix last change.
13614 (package-list-unversioned): New var.
13615 (package-menu--generate): Use it.
13616
13617 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13618 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13619 (autoload-builtin-package-versions): New variable.
13620 (autoload-generate-file-autoloads): Use them.
13621 Remove the list of autoloaded functions/macros from the
13622 (autoload...) comments.
13623
13624 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13625
13626 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13627
13628 * simple.el (line-move-partial): Don't jump to the next screen
13629 line as soon as it becomes visible. Instead, continue enlarging
13630 the vscroll until the portion of a tall screen line that's left on
13631 display is about the height of the frame's default font.
13632 (Bug#14567)
13633
13634 2013-06-15 Glenn Morris <rgm@gnu.org>
13635
13636 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13637 compilation-error-regexp-alist void, or local while let-bound.
13638
13639 * progmodes/make-mode.el (makefile-mode-syntax-table):
13640 Treat "=" as punctuation. (Bug#14614)
13641
13642 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13643
13644 * help-fns.el (describe-variable):
13645 Add extra line for permanent-local variables.
13646
13647 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13648
13649 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13650 Add export, import, library. (Bug#9164)
13651 (library): Set indent function.
13652
13653 2013-06-14 Glenn Morris <rgm@gnu.org>
13654
13655 * term/xterm.el (xterm--query):
13656 Stop after first matching handler. (Bug#14615)
13657
13658 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13659
13660 Add support for dired in saveplace.
13661 * dired.el (dired-initial-position-hook): New variable.
13662 (dired-initial-position): Call hook to place cursor position.
13663 * saveplace.el (save-place-to-alist): Add dired position.
13664 (save-place-dired-hook): New function.
13665
13666 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13667
13668 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13669 through a symbol rather than letrec.
13670
13671 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13672 (package-desc): Add `dir' field.
13673 (package-desc-full-name): New function.
13674 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13675 (package-maybe-load-descriptor): Remove.
13676 (package-load-all-descriptors): Just call package-load-descriptor.
13677 (package--disabled-p): New function.
13678 (package-desc-vers, package-desc-doc): Remove aliases.
13679 (package--dir): Remove function.
13680 (package-activate): Check if a package is disabled.
13681 (package-process-define-package): New function, extracted from
13682 define-package.
13683 (define-package): Turn into a place holder.
13684 (package-unpack-single, package-tar-file-info):
13685 Use package--description-file.
13686 (package-compute-transaction): Use package--disabled-p.
13687 (package-download-transaction): Don't call
13688 package-maybe-load-descriptor since they're all loaded anyway.
13689 (package-install): Change argument to be a pkg-desc.
13690 (package-delete): Use a single pkg-desc argument.
13691 (describe-package-1): Use package-desc-dir instead of package--dir.
13692 Use package-desc property instead of package-symbol.
13693 (package-install-button-action): Adjust accordingly.
13694 (package--push): Rewrite.
13695 (package-menu--print-info): Adjust accordingly. Change the ID format
13696 to be a pkg-desc.
13697 (package-menu-describe-package, package-menu-get-status)
13698 (package-menu--find-upgrades, package-menu-mark-upgrades)
13699 (package-menu-execute, package-menu--name-predicate):
13700 Adjust accordingly.
13701 * startup.el (package--description-file): New function.
13702 (command-line): Use it.
13703 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13704 Use package-desc-version.
13705
13706 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13707 (byte-compile-preprocess): Use it.
13708 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13709 can't quite recognize.
13710 (byte-compile-add-to-list): Remove.
13711 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13712 (cconv-closure-convert): Add assertion.
13713
13714 * emacs-lisp/map-ynp.el: Use lexical-binding.
13715 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13716 Factor out some repeated code.
13717
13718 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13719
13720 * subr.el (with-eval-after-load): New macro.
13721 (eval-after-load): Allow form to be a function.
13722 take advantage of lexical-binding.
13723 (do-after-load-evaluation): Use dolist and adjust to new format.
13724 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13725
13726 2013-06-13 Juri Linkov <juri@jurta.org>
13727
13728 * replace.el (perform-replace): Display "symbol " and other search
13729 modes from `isearch-message-prefix' in the *Help* buffer.
13730
13731 * isearch.el (isearch-query-replace): Add " symbol" and other
13732 possible search modes from `isearch-message-prefix' to the prompt.
13733 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13734 when reading a regexp to collect.
13735
13736 2013-06-13 Juri Linkov <juri@jurta.org>
13737
13738 * isearch.el (word-search-regexp): Match whitespace if the search
13739 string begins or ends in whitespace. The LAX arg is applied to
13740 both ends of the search string. Use `regexp-quote' and explicit
13741 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13742 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13743 boundaries are replaced with symbol boundaries, and characters
13744 between symbols match non-word non-symbol syntax. (Bug#14602)
13745
13746 2013-06-13 Juri Linkov <juri@jurta.org>
13747
13748 * isearch.el (isearch-del-char): Don't exceed the length of
13749 `isearch-string' by the prefix arg. (Bug#14563)
13750
13751 2013-06-13 Juri Linkov <juri@jurta.org>
13752
13753 * isearch.el (isearch-yank-word, isearch-yank-line)
13754 (isearch-char-by-name, isearch-quote-char)
13755 (isearch-printing-char, isearch-process-search-char):
13756 Add optional count prefix arg. (Bug#14563)
13757
13758 * international/isearch-x.el
13759 (isearch-process-search-multibyte-characters):
13760 Add optional count prefix arg.
13761
13762 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13765 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13766 lexical-binding.
13767
13768 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13769
13770 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13771
13772 2013-06-13 Glenn Morris <rgm@gnu.org>
13773
13774 * startup.el (tty-handle-args):
13775 Don't just discard "--" and anything after. (Bug#14608)
13776
13777 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13778
13779 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13780
13781 Implement changes in Secret Service API. Make it backward compatible.
13782 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13783 (secrets-create-item): Use it. Prefix properties with interface.
13784
13785 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13786
13787 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13788 (term-emulate-terminal): Respect term-suppress-hard-newline.
13789
13790 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13791
13792 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13793 Only remove a `thumb-file' overlay. (Bug#14548)
13794
13795 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13796
13797 * mail/reporter.el (reporter-submit-bug-report):
13798 Handle missing package-name. (Bug#14600)
13799
13800 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13801
13802 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13803 (reftex-citation-prompt, reftex-default-bibliography)
13804 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13805 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13806 (reftex-bib-sort-author, reftex-bib-sort-year)
13807 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13808 (reftex-extract-bib-entries-from-thebibliography)
13809 (reftex-get-bibkey-default, reftex-get-bib-names)
13810 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13811 (reftex-format-bib-entry, reftex-parse-bibitem)
13812 (reftex-format-bibitem, reftex-do-citation)
13813 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13814 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13815 (reftex-insert-bib-matches, reftex-format-citation)
13816 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13817 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13818 existing comments into docstrings.
13819
13820 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13821
13822 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13823
13824 2013-06-12 Andreas Schwab <schwab@suse.de>
13825
13826 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13827 for auto-save files.
13828
13829 2013-06-12 Glenn Morris <rgm@gnu.org>
13830
13831 * ido.el (ido-delete-ignored-files): Remove.
13832 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13833 Go back to calling ido-ignore-item-p directly.
13834
13835 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13836
13837 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13838
13839 * ido.el (ido-delete-ignored-files): New function,
13840 split from ido-make-file-list-1.
13841 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13842 (ido-make-file-list-1): Use ido-delete-ignored-files.
13843
13844 2013-06-12 Leo Liu <sdl.web@gmail.com>
13845
13846 * progmodes/octave.el (inferior-octave-startup)
13847 (inferior-octave-completion-table)
13848 (inferior-octave-track-window-width-change)
13849 (octave-eldoc-function-signatures, octave-help)
13850 (octave-find-definition): Use single quoted strings.
13851 (inferior-octave-startup-args): Change default value.
13852 (inferior-octave-startup): Do not hard code "-i" and
13853 "--no-line-editing".
13854 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13855 (inferior-octave-directory-tracker): Use it.
13856 (octave-goto-function-definition): Robustify.
13857 (octave-help): Support highlighting operators in 'See also'.
13858 (octave-find-definition): Find subfunctions only in Octave mode.
13859
13860 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * help-fns.el (help-fns--compiler-macro): If the handler function is
13863 named, then put a link to it.
13864 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13865 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13866 (cl-typep): Use it.
13867 (cl-eval-when): Simplify debug spec.
13868 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13869 compiler-macro function instead of setting `compiler-macro-file'.
13870
13871 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13872
13873 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13874 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13875
13876 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13877 Daniel Hackney <dan@haxney.org>
13878
13879 First part of Daniel Hackney's patch to package.el.
13880 * emacs-lisp/package.el: Use defstruct.
13881 (package-desc): New, main struct.
13882 (package--bi-desc, package--ac-desc): New structs, used to describe the
13883 format in external files.
13884 (package-desc-vers): Replace with package-desc-version accessor.
13885 (package-desc-doc): Replace with package-desc-summary accessor.
13886 (package-activate-1): Remove `package' arg since the pkg-vec now
13887 includes the name.
13888 (define-package): Use package-desc-from-define.
13889 (package-unpack-single): Change file-name arg to be a symbol.
13890 (package--add-to-archive-contents): Use package-desc-create and new
13891 accessor functions to package--ac-desc.
13892 (package-buffer-info, package-tar-file-info): Return a package-desc.
13893 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13894 arg to be a package-desc.
13895 (package-install-file): Adjust accordingly. Use \' to match EOS.
13896 (package--from-builtin): New function.
13897 (describe-package-1, package-menu--generate): Use it.
13898 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13899 (package-generate-autoloads): Idem and return the name of the file.
13900 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13901 Change pkg-info arg to be a package-desc.
13902 Use package-make-ac-desc.
13903 (package-upload-file): Use \' to match EOS.
13904 * finder.el (finder-compile-keywords): Use package-make-builtin.
13905
13906 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * vc/vc.el (vc-deduce-fileset): Change error message.
13909 (vc-read-backend): New function.
13910 (vc-next-action): Use it.
13911
13912 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13913
13914 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13915 (prolog-font-lock-keywords): Use regexp-opt instead.
13916 Don't manually highlight strings.
13917 (prolog-mode-variables): Simplify comment-start-skip.
13918 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13919
13920 * emacs-lisp/generic.el (generic--normalise-comments)
13921 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13922 (generic-mode-set-comments): Use them.
13923 (generic-bracket-support): Use setq-local.
13924 (generic-make-keywords-list): Declare obsolete.
13925
13926 2013-06-11 Glenn Morris <rgm@gnu.org>
13927
13928 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13929 Prettify after setting font-lock-defaults. (Bug#14574)
13930
13931 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13932
13933 * replace.el (query-replace, occur-read-regexp-defaults-function)
13934 (replace-search):
13935 * subr.el (declare-function, number-sequence, local-set-key)
13936 (substitute-key-definition, locate-user-emacs-file)
13937 (with-silent-modifications, split-string, eval-after-load):
13938 Fix typos, remove unneeded backslashes and reflow some docstrings.
13939
13940 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13941
13942 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13943 default for Elisp files.
13944
13945 2013-06-11 Glenn Morris <rgm@gnu.org>
13946
13947 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13948 although define-derived-mode was doing this anyway. (Bug#14583)
13949
13950 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13951
13952 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13953 Fix make-variable-buffer-local call to refer to the correct variable.
13954
13955 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13956
13957 * eshell/em-term.el (eshell-visual-commands)
13958 (eshell-visual-subcommands, eshell-visual-options):
13959 Add summary line to docstrings. Add cross-references.
13960
13961 2013-06-10 Glenn Morris <rgm@gnu.org>
13962
13963 * epa.el (epa-read-file-name): New function. (Bug#14510)
13964 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13965
13966 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13967
13968 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13969 output redirection to be ignored with visual commands.
13970
13971 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13972
13973 * eshell/em-term.el (eshell-visual-command-p): New function.
13974 (eshell-term-initialize): Move long lambda to separate function
13975 eshell-visual-command-p.
13976 * eshell/em-dirs.el (eshell-dirs-initialize):
13977 * eshell/em-script.el (eshell-script-initialize):
13978 Add missing #' to lambda.
13979
13980 2013-06-08 Leo Liu <sdl.web@gmail.com>
13981
13982 * progmodes/octave.el (octave-add-log-current-defun): New function.
13983 (octave-mode): Set add-log-current-defun-function.
13984 (octave-goto-function-definition): Do not move point if not found.
13985 (octave-find-definition): Enhance to try subfunctions first.
13986
13987 2013-06-08 Glenn Morris <rgm@gnu.org>
13988
13989 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13990 (byte-compile-backward-char, byte-compile-backward-word):
13991 Improve previous change, to handle non-explicit nil.
13992
13993 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13994
13995 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13996 (smie--opener/closer-at-point): New function.
13997 (smie--matching-block-data): Use it. Don't match from right after an
13998 opener or right before a closer. Obey smie-blink-matching-inners.
13999 Don't signal a mismatch for repeated inners like "switch..case..case".
14000
14001 2013-06-07 Leo Liu <sdl.web@gmail.com>
14002
14003 * progmodes/octave.el (octave-mode): Set comment-use-global-state
14004 to t. (Bug#14303)
14005 (octave-function-header-regexp): Fix. (Bug#14570)
14006 (octave-help-mode-finish-hook, octave-help-mode-finish):
14007 Remove. Just use temp-buffer-show-hook.
14008
14009 * newcomment.el (comment-search-backward): Revert last change.
14010 (Bug#14434)
14011
14012 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14013
14014 2013-06-07 Eli Zaretskii <eliz@gnu.org>
14015
14016 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14017 through xargs, to avoid failure due to MS-Windows limitations on
14018 command-line length.
14019
14020 2013-06-06 Glenn Morris <rgm@gnu.org>
14021
14022 * font-lock.el (lisp-font-lock-keywords-2):
14023 Treat user-error like error.
14024
14025 * emacs-lisp/bytecomp.el (byte-compile-char-before)
14026 (byte-compile-backward-char, byte-compile-backward-word):
14027 Handle explicit nil arguments. (Bug#14565)
14028
14029 2013-06-05 Alan Mackenzie <acm@muc.de>
14030
14031 * isearch.el (isearch-allow-prefix): New user option.
14032 (isearch-other-meta-char): Don't exit isearch when a prefix
14033 argument is typed whilst `isearch-allow-prefix' is non-nil.
14034 (Bug#9706)
14035
14036 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14037
14038 * autorevert.el (auto-revert-notify-handler): Use memq.
14039 Hide assertion failure.
14040
14041 * skeleton.el: Use cl-lib.
14042 (skeleton-further-elements): Use defvar-local.
14043 (skeleton-insert): Use cl-progv.
14044
14045 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14046
14047 * progmodes/prog-mode.el (prog-prettify-symbols)
14048 (prog-prettify-install): Update docstrings.
14049
14050 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * simple.el: Move all the prog-mode code to prog-mode.el.
14053 * progmodes/prog-mode.el: New file.
14054 * loadup.el: Add prog-mode.el.
14055
14056 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14057
14058 * simple.el (prog-prettify-symbols): Add version.
14059 (prog-prettify-install): Add convenience function to prettify symbols.
14060
14061 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14062 (perl--augmented-font-lock-keywords-1)
14063 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14064 variables and use it.
14065
14066 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14067 (cfengine3-mode): Remove unneeded variable and use it.
14068
14069 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14070 (lisp--augmented-font-lock-keywords-1)
14071 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14072 Remove unneeded variables and use it.
14073
14074 2013-06-05 João Távora <joaotavora@gmail.com>
14075
14076 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14077 to point when opening the connection. (Bug#14380)
14078
14079 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14080
14081 * subr.el (load-history-regexp, load-history-filename-element)
14082 (eval-after-load, after-load-functions, do-after-load-evaluation)
14083 (eval-next-after-load, display-delayed-warnings)
14084 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14085 definition of save-match-data.
14086 (overriding-local-map): Remove accidental obsolescence declaration.
14087
14088 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14089
14090 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14091
14092 Generalize symbol prettify support to prog-mode and implement it
14093 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14094 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14095 (prog--prettify-font-lock-compose-symbol)
14096 (prog-prettify-font-lock-symbols-keywords): New variables and
14097 functions to support symbol prettification.
14098 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14099 (lisp--augmented-font-lock-keywords-1)
14100 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14101 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14102 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14103 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14104 Implement prettify of -> => :: strings.
14105 * progmodes/perl-mode.el (perl-prettify-symbols)
14106 (perl--font-lock-compose-symbol)
14107 (perl--font-lock-symbols-keywords): Move to prog-mode.
14108 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14109 (perl-font-lock-keywords-1)
14110 (perl-font-lock-keywords-2): Remove explicit prettify support.
14111 (perl--augmented-font-lock-keywords)
14112 (perl--augmented-font-lock-keywords-1)
14113 (perl--augmented-font-lock-keywords-2, perl-mode):
14114 Implement prettify support.
14115
14116 2013-06-05 Leo Liu <sdl.web@gmail.com>
14117
14118 Re-implement SMIE matching block highlight using
14119 show-paren-data-function. (Bug#14395)
14120 * emacs-lisp/smie.el (smie-matching-block-highlight)
14121 (smie--highlight-matching-block-overlay)
14122 (smie--highlight-matching-block-lastpos)
14123 (smie-highlight-matching-block)
14124 (smie-highlight-matching-block-mode): Remove.
14125 (smie--matching-block-data-cache): New variable.
14126 (smie--matching-block-data): New function.
14127 (smie-setup): Use smie--matching-block-data for
14128 show-paren-data-function.
14129
14130 * progmodes/octave.el (octave-mode-menu): Fix.
14131 (octave-find-definition): Skip garbage lines.
14132
14133 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14134
14135 Fix compilation error with simultaneous dynamic+lexical scoping.
14136 Add warning when a defvar appears after the first let-binding.
14137 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14138 (byte-compile-close-variables): Initialize it.
14139 (byte-compile--declare-var): New function.
14140 (byte-compile-file-form-defvar)
14141 (byte-compile-file-form-define-abbrev-table)
14142 (byte-compile-file-form-custom-declare-variable): Use it.
14143 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14144 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14145 (byte-compile-bind): Handle dynamic bindings that shadow
14146 lexical bindings.
14147 (byte-compile-unbind): Make arg non-optional.
14148 (byte-compile-let): Simplify.
14149 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14150 (cconv--analyse-function, cconv-analyse-form): Populate it.
14151 Protect byte-compile-bound-variables to limit the scope of defvars.
14152 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14153 Remove unneeded rule for `declare'.
14154
14155 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14156 so as to avoid depending on cl-adjoin at run-time.
14157 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14158
14159 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14160 (macroexp--warn-and-return): Use it.
14161
14162 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14163
14164 * subr.el: Convert to lexical binding.
14165 (overriding-local-map): Make obsolete.
14166 (add-to-list): Doc fix. Add compiler macro.
14167 (read-key): Swap values of local maps.
14168
14169 2013-06-05 Leo Liu <sdl.web@gmail.com>
14170
14171 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14172
14173 2013-06-04 Leo Liu <sdl.web@gmail.com>
14174
14175 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14176 (compilation-auto-jump): Suppress the "Mark set" message to give
14177 way to exit message.
14178
14179 2013-06-04 Alan Mackenzie <acm@muc.de>
14180
14181 Remove faulty optimisation from indentation calculation.
14182 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14183 search limit based on 2000 characters back from indent-point.
14184
14185 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14186
14187 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14188
14189 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14190
14191 * emacs-lisp/lisp.el: Use lexical-binding.
14192 (lisp--local-variables-1, lisp--local-variables): New functions.
14193 (lisp--local-variables-completion-table): New var.
14194 (lisp-completion-at-point): Use it complete let-bound vars.
14195
14196 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14197 eagerly (bug#14422).
14198
14199 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14200
14201 * autorevert.el (auto-revert-notify-enabled)
14202 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14203 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14204 (auto-revert-notify-handler): Handle also gfilenotify.
14205
14206 * subr.el (file-notify-handle-event): New defun. Replacing ...
14207 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14208 Remove.
14209
14210 2013-06-03 Juri Linkov <juri@jurta.org>
14211
14212 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14213 `M-s h .'. (Bug#14427)
14214
14215 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14216 command `hi-lock-face-symbol-at-point'.
14217 (hi-lock-face-symbol-at-point): New command.
14218 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14219 (hi-lock-menu): Add `highlight-symbol-at-point'.
14220 (hi-lock-mode): Doc fix.
14221
14222 * isearch.el (isearch-forward-symbol-at-point): New command.
14223 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14224 (isearch-highlight-regexp): Add a regexp which matches
14225 words/symbols for word/symbol mode.
14226
14227 * subr.el (find-tag-default-bounds): New function with the body
14228 mostly moved from `find-tag-default'.
14229 (find-tag-default): Move most code to `find-tag-default-bounds',
14230 call it and apply `buffer-substring-no-properties' afterwards.
14231
14232 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14233
14234 * eshell/em-term.el (eshell-term-initialize):
14235 Use `cl-intersection' rather than `intersection'.
14236
14237 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14238
14239 * vc/log-view.el: Doc fix.
14240 (log-view-mode-map): Copy keymap from `special-mode-map'.
14241
14242 2013-06-02 Eric Ludlam <zappo@gnu.org>
14243
14244 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14245 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14246 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14247 (eieio-unbound, eieio-default-superclass)
14248 (eieio--define-field-accessors, method-static, method-before)
14249 (method-primary, method-after, method-num-lists)
14250 (method-generic-before, method-generic-primary)
14251 (method-generic-after, method-num-slots)
14252 (eieio-specialized-key-to-generic-key)
14253 (eieio--check-type, class-v, class-p)
14254 (eieio-class-name, define-obsolete-function-alias)
14255 (eieio-class-parents-fast, eieio-class-children-fast)
14256 (same-class-fast-p, class-constructor, generic-p)
14257 (generic-primary-only-p, generic-primary-only-one-p)
14258 (class-option-assoc, class-option, eieio-object-p)
14259 (class-abstract-p, class-method-invocation-order)
14260 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14261 (eieio-class-un-autoload, eieio-defclass)
14262 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14263 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14264 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14265 (eieio-defgeneric-reset-generic-form)
14266 (eieio-defgeneric-form-primary-only)
14267 (eieio-defgeneric-reset-generic-form-primary-only)
14268 (eieio-defgeneric-form-primary-only-one)
14269 (eieio-defgeneric-reset-generic-form-primary-only-one)
14270 (eieio-unbind-method-implementations)
14271 (eieio--defmethod, eieio--typep)
14272 (eieio-perform-slot-validation, eieio-validate-slot-value)
14273 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14274 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14275 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14276 (eieio-slot-name-index, eieio-class-slot-name-index)
14277 (eieio-set-defaults, eieio-initarg-to-attribute)
14278 (eieio-attribute-to-initarg, eieio-c3-candidate)
14279 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14280 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14281 (eieio-class-precedence-list, eieio-generic-call-methodname)
14282 (eieio-generic-call-arglst, eieio-generic-call-key)
14283 (eieio-generic-call-next-method-list)
14284 (eieio-pre-method-execution-functions, eieio-generic-call)
14285 (eieio-generic-call-primary-only, eieiomt-method-list)
14286 (eieiomt-optimizing-obarray, eieiomt-install)
14287 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14288 (eieio-generic-form, eieio-defmethod, make-obsolete)
14289 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14290 (defclass): Remove `eval-and-compile' from macro.
14291 (call-next-method, shared-initialize): Instead of using
14292 `scoped-class' variable, use new eieio--scoped-class, and
14293 eieio--with-scoped-class.
14294 (initialize-instance): Rename local variable 'scoped-class' to
14295 'this-class' to remove ambiguitity from old global.
14296
14297 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14298 eieio.el.
14299 (eieio--scoped-class-stack): New variable.
14300 (eieio--scoped-class): New fcn.
14301 (eieio--with-scoped-class): New scoping macro.
14302 (eieio-defclass): Use pushnew instead of add-to-list.
14303 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14304 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14305 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14306 `scoped-class' variable, use new eieio--scoped-class, and
14307 eieio--with-scoped-class.
14308
14309 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14310
14311 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14312
14313 * eshell/esh-ext.el (eshell-external-command): Pass args to
14314 `eshell-find-interpreter'.
14315 (eshell-find-interpreter): Add new second parameter ARGS.
14316
14317 * eshell/em-script.el (eshell-script-initialize): Add second arg
14318 to the function added as MATCH to `eshell-interpreter-alist'.
14319
14320 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14321 the function added as MATCH to `eshell-interpreter-alist'.
14322
14323 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14324 (eshell-visual-options): New defcustom.
14325 (eshell-escape-control-x): Adapt docstring.
14326 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14327 `eshell-visual-options' in addition to `eshell-visual-commands'.
14328 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14329
14330 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14331
14332 * progmodes/python.el (python-indent-block-enders): Add break,
14333 continue and raise keywords.
14334
14335 2013-06-01 Glenn Morris <rgm@gnu.org>
14336
14337 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14338
14339 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14340 * progmodes/cc-cmds.el (delete-forward-p):
14341 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14342 * progmodes/cc-engine.el (buffer-syntactic-context):
14343 * progmodes/cc-fonts.el (face-property-instance):
14344 * progmodes/cc-mode.el (set-keymap-parents):
14345 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14346 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14347 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14348 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14349 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14350
14351 * progmodes/cc-vars.el (other): Emacs has this widget since
14352 at least 21.1, so don't (re)define it.
14353
14354 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14355 Replace the obsolete alias pcomplete-arg-quote-list.
14356
14357 2013-06-01 Leo Liu <sdl.web@gmail.com>
14358
14359 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14360 punctuation syntax.
14361 (inferior-octave-minimal-columns)
14362 (inferior-octave-last-column-width): New variables.
14363 (inferior-octave-track-window-width-change): New function.
14364 (inferior-octave-mode): Adjust column width so that Octave output,
14365 for example from 'ls', can fit into the window nicely.
14366
14367 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14368
14369 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14370 Highlight expansions inside regexp literals.
14371
14372 2013-05-31 Glenn Morris <rgm@gnu.org>
14373
14374 * obsolete/sym-comp.el (symbol-complete):
14375 Replace obsolete completion-annotate-function.
14376
14377 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14378
14379 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14380
14381 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14382 New function, checks if point is inside a literal that allows
14383 expression expansion.
14384 (ruby-syntax-propertize-expansion): Use it.
14385 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14386 around the body.
14387
14388 2013-05-30 Juri Linkov <juri@jurta.org>
14389
14390 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14391 to "\M-si".
14392 (isearch-invisible): New variable.
14393 (isearch-forward): Doc fix.
14394 (isearch-mode): Set `isearch-invisible'
14395 to the value of `search-invisible'.
14396 (isearch-toggle-case-fold): Doc fix.
14397 (isearch-toggle-invisible): New command.
14398 (isearch-query-replace): Let-bind `search-invisible'
14399 to the value of `isearch-invisible'.
14400 (isearch-search): Use `isearch-invisible' instead of
14401 `search-invisible'. Let-bind `search-invisible'
14402 to the value of `isearch-invisible'. (Bug#11378)
14403
14404 2013-05-30 Juri Linkov <juri@jurta.org>
14405
14406 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14407 call when `query-flag' is nil and `search-invisible' is non-nil.
14408 (Bug#11746)
14409
14410 2013-05-30 Glenn Morris <rgm@gnu.org>
14411
14412 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14413
14414 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14415 (cc-require): Suppress spurious "noruntime" warnings.
14416 (cc-require-when-compile): Use fboundp, for sake of compiler.
14417
14418 * progmodes/cc-mode.el: Move load of cc-vars before that of
14419 cc-langs (which in turn loads cc-vars), to quieten compiler.
14420
14421 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14422
14423 * paren.el: Simplify the code.
14424 (show-paren-mode): Always start the timer.
14425 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14426 (show-paren--overlay, show-paren--overlay-1): Rename from
14427 show-paren-overlay and show-paren-overlay-1, and initialize to an
14428 overlay rather than to nil.
14429 (show-paren-function): Misc cleanup and simplifications.
14430
14431 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14432
14433 * paren.el (show-paren-data-function): New hook.
14434 (show-paren--default): New function, extracted from show-paren-function.
14435 (show-paren-function): Use show-paren-data-function.
14436
14437 2013-05-30 Glenn Morris <rgm@gnu.org>
14438
14439 * ielm.el (ielm-map, ielm-complete-symbol):
14440 Use completion-at-point rather than obsolete functions.
14441 (inferior-emacs-lisp-mode): Doc fix.
14442 Set completion-at-point-functions, rather than
14443 comint-dynamic-complete-functions.
14444
14445 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14446 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14447 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14448
14449 * image.el (image-animated-p): Tweak definition.
14450
14451 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14452 (rlogin-process-connection-type): Tweak default. Add set-after.
14453 (rlogin-host): Doc fix.
14454 (rlogin): Tweak prompt.
14455 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14456
14457 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14458 * progmodes/tcl.el (inferior-tcl-mode-map):
14459 Use completion-at-point rather than obsolete alias.
14460
14461 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14462
14463 * minibuffer.el (read-file-name-completion-ignore-case):
14464 Move before completion--in-region, for eager macro expansion.
14465
14466 2013-05-29 Juri Linkov <juri@jurta.org>
14467
14468 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14469 for total count of matching lines. Add `global-matches' for total
14470 count of matches. Rename `matches' to `lines' for count of
14471 matching lines. Add `matches' for count of matches.
14472 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14473 to `prev-line' for line number of prev match endpt.
14474 Increment `matches' for every match. Print the number of
14475 matching lines in the header.
14476 (occur-context-lines): Rename `lines' to `curr-line'.
14477 Rename `prev-lines' to `prev-line'. (Bug#14017)
14478
14479 2013-05-29 Juri Linkov <juri@jurta.org>
14480
14481 * replace.el (perform-replace): Add `skip-read-only-count',
14482 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14483 Increment them for corresponding conditions and report the number
14484 of skipped occurrences in the final message. (Bug#11746)
14485 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14486 (replace-string, replace-regexp): Doc fix.
14487
14488 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14489
14490 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14491
14492 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14493 prog-mode-map (bug#14504).
14494
14495 2013-05-29 Leo Liu <sdl.web@gmail.com>
14496
14497 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14498 (octave-help): Small simplification.
14499
14500 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14501 off the highlight first.
14502
14503 2013-05-29 Glenn Morris <rgm@gnu.org>
14504
14505 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14506 Handle idlwave-last-system-routine-info-cons-cell being nil.
14507
14508 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14509 (idlwave-write-paths): Simplify via with-temp-buffer.
14510
14511 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14512 * emulation/cua-rect.el: Also load cua-base at run time.
14513
14514 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14515 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14516 (cperl-imenu-on-info): Require imenu.
14517
14518 2013-05-28 Alan Mackenzie <acm@muc.de>
14519
14520 Handle "capitalised keywords" correctly.
14521 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14522
14523 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14524
14525 * eshell/em-unix.el: Add -r option to cp.
14526
14527 2013-05-28 Glenn Morris <rgm@gnu.org>
14528
14529 * vc/vc-arch.el (vc-exec-after): Declare.
14530 (vc-switches): Autoload.
14531 * vc/vc-bzr.el: No need to require vc when compiling.
14532 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14533 (vc-resynch-buffer, vc-dir-refresh): Declare.
14534 (vc-setup-buffer, vc-switches): Autoload.
14535 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14536 (vc-resynch-buffer): Declare.
14537 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14538 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14539 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14540 (grep-read-regexp, grep-read-files, grep-expand-template)
14541 (vc-dir-refresh): Declare.
14542 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14543 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14544 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14545 * vc/vc-mtn.el (vc-exec-after): Declare.
14546 (vc-switches): Autoload.
14547 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14548 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14549 (vc-file-tree-walk): Declare.
14550 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14551 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14552 (vc-tag-precondition, vc-rename-master): Autoload.
14553 * vc/vc-svn.el (vc-exec-after): Declare.
14554 (vc-switches, vc-setup-buffer): Autoload.
14555 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14556 Autoload.
14557 (vc-resynch-buffer): Declare.
14558
14559 * obsolete/fast-lock.el (byte-compile-warnings):
14560 Don't warn about obsolete features in this obsolete file.
14561
14562 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14563 Move definition before use.
14564
14565 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14566 (dun-unix-verbs): Remove dun-zippy.
14567 (dun-zippy): Remove function.
14568
14569 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14570
14571 2013-05-27 Juri Linkov <juri@jurta.org>
14572
14573 * replace.el (replace-search): New function with code moved out
14574 from `perform-replace'.
14575 (replace-highlight, replace-dehighlight): Move function definitions
14576 up closer to `replace-search'. (Bug#11746)
14577
14578 2013-05-27 Juri Linkov <juri@jurta.org>
14579
14580 * replace.el (perform-replace): Ignore invisible matches.
14581 In addition to checking `query-replace-skip-read-only', also
14582 filter out matches by calling `run-hook-with-args-until-failure'
14583 on `isearch-filter-predicates', and also check `search-invisible'
14584 for t or call `isearch-range-invisible'.
14585 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14586
14587 2013-05-27 Juri Linkov <juri@jurta.org>
14588
14589 * isearch.el (isearch-filter-predicates): Rename from
14590 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14591 (isearch-message-prefix): Display text from the property
14592 `isearch-message-prefix' of the currently active filters.
14593 (isearch-search): Don't compare `isearch-filter-predicate' with
14594 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14595 on `isearch-filter-predicates'. Also check `search-invisible' for t
14596 or call `isearch-range-invisible'.
14597 (isearch-filter-visible): Make obsolete.
14598 (isearch-lazy-highlight-search):
14599 Call `run-hook-with-args-until-failure' on
14600 `isearch-filter-predicates' and use `isearch-range-invisible'.
14601
14602 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14603 `isearch-filter-predicates' instead of `funcall'ing
14604 `isearch-filter-predicate'.
14605 (Info-mode): Set `Info-isearch-filter' to
14606 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14607
14608 * dired-aux.el (dired-isearch-filter-predicate-orig):
14609 Remove variable.
14610 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14611 (dired-isearch-filenames-end): Add and remove
14612 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14613 instead of changing the value of `isearch-filter-predicate'.
14614 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14615 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14616 Put property `isearch-message-prefix' to "filename " on
14617 `dired-isearch-filter-filenames'.
14618
14619 * wdired.el (wdired-change-to-wdired-mode):
14620 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14621 locally instead of changing `isearch-filter-predicate'.
14622 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14623
14624 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14625
14626 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14627 return the commit hash (Bug#14459). Also set the
14628 `vc-git-detached' property.
14629 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14630 (vc-git-mode-line-string): Use the same help-echo format whether
14631 in detached mode or not, because we know the actual revision now.
14632 When in detached mode, shorten the revision to 7 chars.
14633
14634 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 * emacs-lisp/easy-mmode.el (define-minor-mode):
14637 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14638 mode hook and provide a docstring.
14639
14640 2013-05-27 Alan Mackenzie <acm@muc.de>
14641
14642 Remove spurious syntax-table text properties inserted by C-y.
14643 * progmodes/cc-mode.el (c-after-change): Also clear hard
14644 syntax-table property with value nil.
14645
14646 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14647
14648 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14649 when reading the events; the buffer layout shall not be changed.
14650
14651 2013-05-27 Leo Liu <sdl.web@gmail.com>
14652
14653 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14654 New variable.
14655 (inferior-octave-directory-tracker): Automatically re-sync
14656 default-directory.
14657 (octave-help): Improve handling of 'See also'.
14658
14659 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * doc-view.el: Minor naming convention tweaks.
14662 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14663
14664 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14665 even if there's no `display' property yet (bug#14435).
14666
14667 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14668
14669 * subr.el (unmsys--file-name): Rename from reveal-filename.
14670
14671 * Makefile.in (custom-deps, finder-data, autoloads)
14672 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14673 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14674 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14675
14676 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14677
14678 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14679 error-completion on the first 2 args of condition-case (bug#14446).
14680 Don't burp at EOB.
14681
14682 2013-05-25 Leo Liu <sdl.web@gmail.com>
14683
14684 * comint.el (comint-previous-matching-input): Do not flood the
14685 *Messages* buffer with trivial messages.
14686
14687 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * progmodes/flymake.el (flymake-nop): Don't return a string.
14690 (flymake-set-at): Fix typo.
14691
14692 * simple.el (read--expression): New function, extracted from
14693 eval-expression. Set completion-at-point-functions (bug#14465).
14694 (eval-expression, eval-minibuffer): Use it.
14695
14696 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14697
14698 * progmodes/flymake.el (flymake-save-buffer-in-file)
14699 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14700 (flymake-selected-frame, flymake-log, flymake-ins-after)
14701 (flymake-set-at, flymake-get-buildfile-from-cache)
14702 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14703 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14704 Refine the doc string.
14705 (flymake-get-file-name-mode-and-masks): Reformat.
14706 (flymake-get-real-file-name-function): Fix a minor bug.
14707
14708 2013-05-24 Juri Linkov <juri@jurta.org>
14709
14710 * progmodes/grep.el (grep-mode-font-lock-keywords):
14711 Support =linenumber= format used by git-grep for lines with
14712 function names. (Bug#13549)
14713
14714 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14715
14716 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14717 0 after a semi-colon; it works better for smie-auto-fill.
14718 (octave--indent-new-comment-line): New function.
14719 (octave-indent-new-comment-line): Use it (indirectly).
14720 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14721 modify comment-line-break-function.
14722
14723 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14724 (smie-setup): Use add-function to set it.
14725
14726 2013-05-24 Sam Steingold <sds@gnu.org>
14727
14728 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14729 argument (before the `interactive' argument).
14730
14731 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14732
14733 * image-mode.el (image-mode-winprops): Add winprops to
14734 image-mode-winprops-alist before running
14735 image-mode-new-window-functions.
14736 * doc-view.el (doc-view-new-window-function): Don't delay
14737 doc-view-goto-page via timers (bug#14435).
14738
14739 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14740
14741 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14742 (doc-view-desktop-save-buffer): New function.
14743 (doc-view-restore-desktop-buffer): New function.
14744 (desktop-buffer-mode-handlers):
14745 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14746 handler.
14747 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14748 `desktop-save-buffer' function.
14749
14750 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14751
14752 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14753 (tramp-gvfs-file-name-handler): Raise a user error when
14754 `tramp-gvfs-enabled' is nil.
14755 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14756 Do not raise a user error when loading package. (Bug#14447)
14757
14758 * net/xesam.el: Move to obsolete/.
14759
14760 2013-05-24 Glenn Morris <rgm@gnu.org>
14761
14762 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14763
14764 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14765
14766 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14767 (Info-find-node, Man-getpage-in-background): Declare.
14768
14769 * mail/unrmail.el (unrmail):
14770 Replace obsolete detect-coding-with-priority.
14771
14772 * net/socks.el (socks-split-string): Use this rather than split-string.
14773 (socks-nslookup-host): Update for above change.
14774 (dynamic-choice, s5-dynamic-choice-match)
14775 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14776 Comment out unused code.
14777
14778 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14779 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14780 (gud-tooltip-echo-area): Make obsolete.
14781 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14782
14783 * progmodes/js.el (js--optimize-arglist): Declare.
14784
14785 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14786
14787 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14788 (ediff-window-C): Declare.
14789
14790 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14791 Tweak requires to silence compiler.
14792
14793 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14794 (he-search-string, he-tried-table, he-expand-list)
14795 (he-init-string, he-string-member, he-substitute-string)
14796 (he-reset-string): Declare.
14797
14798 * obsolete/options.el (list-options): Use custom-variable-p,
14799 rather than obsolete alias.
14800
14801 2013-05-23 Sam Steingold <sds@gnu.org>
14802
14803 * simple.el (shell-command-on-region): Pass the `replace' argument
14804 down to `call-process-region' to comply with the doc as reported on
14805 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14806
14807 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * emacs-lisp/smie.el (smie-indent-forward-token)
14810 (smie-indent-backward-token): Handle string tokens (bug#14381).
14811
14812 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14813
14814 * ielm.el (ielm-menu): New menu.
14815 (inferior-emacs-lisp-mode): Set comment-start.
14816
14817 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14818
14819 * textmodes/reftex.el (reftex-ref-style-toggle):
14820 Fix deactivate action.
14821
14822 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14823 Add cleveref macros.
14824
14825 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14826 Accept options for bibliography commands.
14827 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14828 Add addbibresource. Basic Biblatex support.
14829
14830 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14831
14832 * net/tramp-gvfs.el (top):
14833 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14834 when loading package. (Bug#14447)
14835
14836 2013-05-23 Glenn Morris <rgm@gnu.org>
14837
14838 * progmodes/js.el: No need to load comint when compiling.
14839 (ring-insert, comint-send-string, comint-send-input)
14840 (comint-last-input-end, ido-chop): Declare.
14841
14842 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14843 * vc/ediff-mult.el: Adjust requires.
14844 (ediff-directories-internal, ediff-directory-revisions-internal)
14845 (ediff-patch-file-internal): Declare.
14846 * vc/ediff-ptch.el: Adjust requires.
14847 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14848 (ediff-find-file): Autoload.
14849 * vc/ediff-util.el: No need to load ediff when compiling.
14850 (ediff-regions-internal): Declare.
14851 * vc/ediff-wind.el: Adjust requires.
14852 (ediff-compute-toolbar-width): Define when compiling.
14853 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14854 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14855 (dired-get-filename, dired-get-marked-files)
14856 (ediff-last-dir-patch, ediff-patch-default-directory)
14857 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14858 (ediff-patch-buffer-internal): Declare.
14859
14860 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14861 (ispell-process, ispell-buffer-local-words, lm-summary)
14862 (lm-section-start, lm-section-end): Declare.
14863 (checkdoc-ispell-init): Simplify.
14864
14865 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14866 (he-string-member, he-reset-string, he-substitute-string): Declare.
14867
14868 * eshell/em-ls.el: Adjust requires.
14869 (eshell-glob-regexp): Declare.
14870 * eshell/em-tramp.el: Adjust requires.
14871 (eshell-parse-command): Autoload.
14872 * eshell/em-xtra.el: Adjust requires.
14873 (eshell-parse-command): Autoload.
14874 * eshell/esh-ext.el: Adjust requires.
14875 (eshell-parse-command, eshell-close-handles): Autoload.
14876 * eshell/esh-io.el: Adjust requires.
14877 (eshell-output-filter): Autoload.
14878 * eshell/esh-util.el: No need to load tramp when compiling.
14879 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14880 Declare.
14881 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14882 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14883 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14884 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14885 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14886 * eshell/esh-opt.el, eshell/esh-proc.el:
14887 * eshell/esh-var.el: Adjust requires.
14888 * eshell/eshell.el: Do not require esh-util twice.
14889 (eshell-add-input-to-history): Declare.
14890 (eshell-command): Check history module is active before using it.
14891
14892 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14893
14894 2013-05-22 Leo Liu <sdl.web@gmail.com>
14895
14896 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14897
14898 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14899
14900 * autorevert.el (auto-revert-notify-add-watch)
14901 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14902 it indicates changes in file modification time.
14903
14904 2013-05-22 Glenn Morris <rgm@gnu.org>
14905
14906 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14907 Always delete the autoloaded function from the noruntime and
14908 unresolved functions lists.
14909
14910 * allout.el: No need to load epa, epg, overlay when compiling.
14911 (epg-context-set-passphrase-callback, epg-list-keys)
14912 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14913 (epg-key-user-id-list): Declare.
14914
14915 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14916 (viper-set-parsing-style-toggling-macro)
14917 (viper-set-emacs-state-searchstyle-macros):
14918 Use called-interactively-p on Emacs.
14919 (viper-looking-back): Make it an obsolete alias. Update callers.
14920 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14921 Use looking-back rather than viper-looking-back.
14922 (viper-tmp-insert-at-eob, viper-enlarge-region)
14923 (viper-read-string-with-history, viper-register-to-point)
14924 (viper-append-to-register, viper-change-state-to-vi)
14925 (viper-backward-char-carefully, viper-forward-char-carefully)
14926 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14927 (viper-change-state-to-emacs): Declare.
14928 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14929 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14930 * emulation/viper-mous.el: Do not load viper-cmd.
14931 (viper-backward-char-carefully, viper-forward-char-carefully)
14932 (viper-forward-word, viper-adjust-window): Declare.
14933
14934 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14935
14936 * progmodes/idlw-help.el (idlwave-help-fontify):
14937 Use called-interactively-p.
14938
14939 * term/w32console.el (w32-get-console-codepage)
14940 (w32-get-console-output-codepage): Declare.
14941
14942 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14943 Remove unnecessary declarations.
14944 (dframe-message): Doc fix.
14945
14946 * info.el (dframe-select-attached-frame, dframe-current-frame):
14947 Declare.
14948
14949 * speedbar.el (speedbar-message): Make it an obsolete alias.
14950 Update all callers.
14951 (speedbar-with-attached-buffer)
14952 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14953 (speedbar-with-writable): Use backquote.
14954 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14955 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14956 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14957 rather than speedbar- aliases.
14958 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14959 (speedbar-make-specialized-keymap, speedbar-insert-button)
14960 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14961 (speedbar-do-function-pointer): Declare.
14962 (rmail-speedbar-button, rmail-speedbar-find-file)
14963 (rmail-speedbar-move-message):
14964 Use dframe-with-attached-buffer rather than speedbar- alias.
14965 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14966 (dframe-message, speedbar-make-specialized-keymap)
14967 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14968 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14969 (speedbar-insert-button, dframe-select-attached-frame)
14970 (dframe-maybee-jump-to-attached-frame)
14971 (speedbar-change-initial-expansion-list)
14972 (speedbar-previously-used-expansion-list-name): Declare.
14973 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14974 Use dframe-message, dframe-with-attached-buffer rather than
14975 speedbar- aliases.
14976 (gud-sentinel): Silence compiler.
14977 * progmodes/vhdl-mode.el (speedbar-refresh)
14978 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14979 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14980 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14981 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14982 (speedbar-file-lists, speedbar-make-tag-line)
14983 (speedbar-line-directory, speedbar-goto-this-file)
14984 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14985 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14986 (speedbar-make-button, speedbar-reset-scanners)
14987 (speedbar-files-item-info, speedbar-line-text)
14988 (speedbar-find-file-in-frame, speedbar-set-timer)
14989 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14990 (speedbar-with-writable): Do not (re)define it.
14991 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14992 rather than speedbar- alias.
14993
14994 2013-05-21 Leo Liu <sdl.web@gmail.com>
14995
14996 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14997 menu items.
14998 (octave-mode): Tweak fill-nobreak-predicate.
14999 (inferior-octave-startup): Check process to avoid infinite loop.
15000 (inferior-octave): Pop to buffer first to show abornmal process
15001 exit information.
15002
15003 2013-05-21 Glenn Morris <rgm@gnu.org>
15004
15005 * printing.el (pr-menu-bar): Define when compiling.
15006
15007 2013-05-21 Leo Liu <sdl.web@gmail.com>
15008
15009 * progmodes/octave.el (octave-auto-fill): Remove.
15010 (octave-indent-new-comment-line): Improve.
15011 (octave-mode): Use auto fill mode through
15012 comment-line-break-function and fill-nobreak-predicate.
15013 (octave-goto-function-definition): Support DEFUN_DLD.
15014 (octave-beginning-of-defun): Small tweak.
15015 (octave-help): Show parent directory.
15016
15017 2013-05-21 Glenn Morris <rgm@gnu.org>
15018
15019 * files.el (dired-unmark):
15020 * progmodes/gud.el (gdb-input): Update declarations.
15021
15022 * calculator.el (electric, ehelp): No need to load when compiling.
15023 (Electric-command-loop, electric-describe-mode): Declare.
15024
15025 * doc-view.el (doc-view-current-converter-processes): Move before use.
15026
15027 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15028 Move MODE-set-explicitly definition before use.
15029
15030 * international/mule-diag.el (mule-diag):
15031 Don't use obsolete window-system-version.
15032
15033 * mail/feedmail.el (smtpmail): No need to load when compiling.
15034 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15035
15036 * mail/mail-utils.el (rfc822): No need to load when compiling.
15037 (rfc822-addresses): Autoload it.
15038 (mail-strip-quoted-names): Trivial simplification.
15039
15040 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15041 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15042
15043 * net/snmp-mode.el (tempo): Don't duplicate requires.
15044
15045 * progmodes/prolog.el (info): No need to load when compiling.
15046 (comint): Require before shell requires it.
15047 (Info-goto-node): Autoload it.
15048 (Info-follow-nearest-node): Declare.
15049 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15050
15051 * textmodes/artist.el (picture-mode-exit): Declare.
15052
15053 * textmodes/reftex-parse.el (reftex-parse-from-file):
15054 Trivial rewrite so the compiler can parse it better.
15055
15056 2013-05-20 Leo Liu <sdl.web@gmail.com>
15057
15058 * progmodes/octave.el (octave-help-mode-map)
15059 (octave-help-mode-finish-hook): New variables.
15060 (octave-help-mode, octave-help-mode-finish): New functions.
15061 (octave-help): Use octave-help-mode.
15062
15063 2013-05-20 Glenn Morris <rgm@gnu.org>
15064
15065 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15066
15067 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15068
15069 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15070 start at point, so that expansion starting right after opening
15071 slash in a regexp is recognized.
15072 (ruby-syntax-before-regexp-re): New defvar, extracted from
15073 ruby-syntax-propertize-function. Since the value of this regexp
15074 is looked up at runtime now, we should be able to turn
15075 `ruby-syntax-methods-before-regexp' into a defcustom later.
15076 (ruby-syntax-propertize-function): Split regexp matching into two
15077 parts, for opening and closing slashes. That allows us to skip
15078 over string interpolations and support multiline regexps.
15079 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15080 for them, which calls `ruby-syntax-propertize-expansion'.
15081 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15082 call to `ruby-syntax-propertize-function'.
15083 (ruby-syntax-propertize-expansion): Extracted from
15084 `ruby-syntax-propertize-expansions'. Handles one expansion.
15085 (ruby-syntax-propertize-percent-literal): Leave point right after
15086 the percent symbol, so that the expression expansion rule can
15087 propertize the contents.
15088 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15089 heredoc openers.
15090 (ruby-syntax-propertize-expansions): Remove.
15091
15092 2013-05-18 Juri Linkov <juri@jurta.org>
15093
15094 * man.el (Man-default-man-entry): Remove `-' from the end
15095 of the default value. (Bug#14400)
15096
15097 2013-05-18 Glenn Morris <rgm@gnu.org>
15098
15099 * comint.el (comint-password-prompt-regexp):
15100 Allow "password for XXX" where XXX contains colons (eg https://...).
15101
15102 2013-05-18 Leo Liu <sdl.web@gmail.com>
15103
15104 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15105 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15106 (octave-source-directories): Don't check process.
15107 (octave-source-directories, octave-find-definition): Doc fix.
15108
15109 2013-05-18 Glenn Morris <rgm@gnu.org>
15110
15111 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15112 Remove backspace/delete bindings. (Bug#14392)
15113
15114 * cus-dep.el (custom-make-dependencies): Sort the output.
15115 (custom-versions-load-alist): Convert comment to doc.
15116
15117 2013-05-17 Leo Liu <sdl.web@gmail.com>
15118
15119 * newcomment.el (comment-search-backward): Stricter in finding
15120 comment start. (Bug#14303)
15121
15122 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15123 (octave-comment-start-skip): Properly anchored.
15124
15125 2013-05-17 Leo Liu <sdl.web@gmail.com>
15126
15127 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15128 Clean up when turned off. (Bug#14395)
15129 (smie--highlight-matching-block-overlay): No longer buffer-local.
15130 (smie-highlight-matching-block): Adjust.
15131
15132 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15133
15134 Doc string fix for "nanoseconds" (Bug#14406).
15135 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15136 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15137
15138 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15139
15140 * calc/calc-units.el (math-extract-units): Preserve powers
15141 of units.
15142
15143 2013-05-17 Leo Liu <sdl.web@gmail.com>
15144
15145 * subr.el (delete-consecutive-dups): New function.
15146 * ido.el (ido-set-matches-1): Use it.
15147 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15148 * ido.el (ido-remove-consecutive-dups): Remove.
15149
15150 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15151
15152 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15153 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15154 regexp-opt's `words'.
15155
15156 2013-05-16 Leo Liu <sdl.web@gmail.com>
15157
15158 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15159 (smie--highlight-matching-block-overlay)
15160 (smie--highlight-matching-block-lastpos)
15161 (smie--highlight-matching-block-timer): New variables.
15162 (smie-highlight-matching-block): New function.
15163 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15164 (smie-setup): Conditionally enable smie-blink-matching-open.
15165
15166 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15167
15168 Sync with upstream verilog-mode r840.
15169 * progmodes/verilog-mode.el (verilog-mode-version)
15170 (verilog-mode-release-date): Update.
15171 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15172 (verilog-sig-tieoff): Fix string error on
15173 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15174 (verilog-read-decls): Fix parameters confusing
15175 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15176
15177 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15178
15179 * subr.el (reveal-filename): New function.
15180
15181 * loadup.el: Compute Emacs executable versions on MS-Windows,
15182 where executables have the .exe extension. Add a hard link
15183 emacs-XX.YY.ZZ.exe on MS-Windows.
15184
15185 * Makefile.in (XARGS_LIMIT): New variable.
15186 (custom-deps, finder-data, autoloads)
15187 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15188 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15189 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15190 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15191
15192 2013-05-16 Leo Liu <sdl.web@gmail.com>
15193
15194 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15195 (octave-mode-menu, octave-mode-map): Remove its uses.
15196
15197 2013-05-16 Reto Zimmermann <reto@gnu.org>
15198
15199 Sync with upstream vhdl mode v3.34.2.
15200 * progmodes/vhdl-mode.el: Use `push' throughout.
15201 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15202 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15203 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15204 (vhdl-actual-generic-name): New option to derive actual generic name.
15205 (vhdl-port-paste-signals): Replace formal by actual generics.
15206 (vhdl-beautify): New name for old group vhdl-align. Update users.
15207 (vhdl-beautify-options): New option.
15208 (vhdl-last-input-event): New compat alias. Use throughout.
15209 (vhdl-goto-line): Replace user level function `goto-line'.
15210 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15211 vhdl-fix-statement-buffer.
15212 (vhdl-create-mode-menu): Add some entries.
15213 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15214 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15215 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15216 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15217 to force statements on one line.
15218 (vhdl-remove-trailing-spaces-region):
15219 New, split from vhdl-remove-trailing-spaces.
15220 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15221 Respect vhdl-beautify-options.
15222 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15223 (vhdl-update-sensitivity-list): Not add with index if exists without.
15224 Not include array index with signal. Ignore keywords in comments.
15225 (vhdl-get-visible-signals): Regexp tweaks.
15226 (vhdl-template-component-inst): Handle empty library.
15227 (vhdl-template-type): Add template for 'enum' type.
15228 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15229 Use vhdl-replace-string.
15230 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15231 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15232 (vhdl-speedbar-initialize): Update for above name change.
15233 (vhdl-compose-wire-components): Fix in handling of constants.
15234 (vhdl-error-regexp-emacs-alist): New variable.
15235 (vhdl-error-regexp-add-emacs): New function;
15236 adds support for new compile.el (Emacs 22+)
15237 (vhdl-generate-makefile-1): Change target order for single lib. units.
15238 Allow use of absolute file names.
15239
15240 2013-05-16 Leo Liu <sdl.web@gmail.com>
15241
15242 * simple.el (prog-indent-sexp): Indent enclosing defun.
15243
15244 2013-05-15 Glenn Morris <rgm@gnu.org>
15245
15246 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15247 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15248 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15249 (whitespace-highlight): Move to whitespace group.
15250
15251 * comint.el (comint-source):
15252 * pcmpl-linux.el (pcmpl-linux):
15253 * shell.el (shell-faces):
15254 * eshell/esh-opt.el (eshell-opt):
15255 * international/ccl.el (ccl): Remove empty custom groups.
15256
15257 * completion.el (dynamic-completion-mode):
15258 * jit-lock.el (jit-lock-debug-mode):
15259 * minibuffer.el (completion-in-region-mode):
15260 * type-break.el (type-break-mode-line-message-mode)
15261 (type-break-query-mode):
15262 * emulation/tpu-edt.el (tpu-edt-mode):
15263 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15264 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15265 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15266
15267 * term/xterm.el (xterm): Change parent group to terminals.
15268
15269 * master.el (master): Remove empty custom group.
15270 (master-mode): Remove unused :group argument.
15271 * textmodes/refill.el (refill): Remove empty custom group.
15272 (refill-mode): Remove unused :group argument.
15273
15274 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15275
15276 * cus-dep.el: Provide a feature.
15277 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15278 Don't mistakenly ignore files whose basenames match a basename
15279 from preloaded-file-list (eg cedet/ede/simple.el).
15280 Add a fallback method for getting :group.
15281
15282 2013-05-15 Juri Linkov <juri@jurta.org>
15283
15284 * isearch.el (isearch-char-by-name): Rename from
15285 `isearch-insert-char-by-name'. Doc fix.
15286 (isearch-forward): Mention `isearch-char-by-name' in
15287 the docstring. (Bug#13348)
15288
15289 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15290 `exit-minibuffer' instead of
15291 `isearch-nonincremental-exit-minibuffer'.
15292 (isearch-edit-string): Remove mention of
15293 `isearch-nonincremental-exit-minibuffer' from docstring.
15294 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15295 (isearch-forward-exit-minibuffer)
15296 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15297
15298 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15299
15300 * loadup.el: Just use unversioned DOC.
15301
15302 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15303 literals as extending to EOB.
15304 (nxml-last-fontify-end): Remove unused variable.
15305 (nxml-after-change1): Use with-silent-modifications.
15306 (nxml-extend-after-change-region): Simplify.
15307 (nxml-extend-after-change-region1): Remove function.
15308 (nxml-after-change1): Don't adjust for dependent regions.
15309 (nxml-fontify-matcher): Simplify.
15310 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15311 (xmltok-add-dependent): Remove function.
15312 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15313 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15314 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15315 unclosed <[[, <?, comment, and other literals as extending to EOB.
15316 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15317 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15318 Remove functions.
15319 (rng-do-some-validation-1): Don't mark dependent regions.
15320 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15321 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15322 (nxml-clear-dependent-regions): Remove functions.
15323 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15324 (nxml-ensure-scan-up-to-date):
15325 Don't clear&mark dependent regions.
15326
15327 2013-05-15 Leo Liu <sdl.web@gmail.com>
15328
15329 * progmodes/octave.el (octave-goto-function-definition):
15330 Improve and fix callers.
15331
15332 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15333
15334 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15335 the setter (bug#14387).
15336
15337 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15338 surrounding group (bug#14402).
15339
15340 2013-05-14 Juri Linkov <juri@jurta.org>
15341
15342 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15343 (Bug#14390)
15344
15345 2013-05-14 Glenn Morris <rgm@gnu.org>
15346
15347 * progmodes/f90.el (f90-imenu-generic-expression):
15348 Fix typo in 2013-05-08 change. (Bug#14402)
15349
15350 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15351
15352 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15353 Remove signals for which replies are never received.
15354
15355 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15356
15357 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15358 (gdb-handler-alist, gdb-handler-number): Remove variables.
15359 (gdb-handler-list): New variable.
15360 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15361 (gdb-pending-handler-p, gdb-handle-reply)
15362 (gdb-remove-all-pending-triggers): New functions.
15363 (gdb-discard-unordered-replies): New defcustom.
15364 (gdb-handler): New defstruct.
15365 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15366 instead of gdb-pending-triggers. Update docstring.
15367 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15368 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15369 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15370 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15371 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15372 (gdb-frame-handler): Pending triggers are now automatically managed.
15373 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15374 Remove argument.
15375 (gdb-input): Automatically handles pending triggers. Update docstring.
15376 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15377 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15378 Update comments.
15379 (gdb-done-or-error): Now use gdb-handle-reply.
15380
15381 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15382
15383 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15384 gdb-debug-log.
15385
15386 2013-05-14 Glenn Morris <rgm@gnu.org>
15387
15388 * subr.el (user-emacs-directory-warning): New option.
15389 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15390
15391 2013-05-14 Leo Liu <sdl.web@gmail.com>
15392
15393 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15394 during redisplay.
15395 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15396 (octave-font-lock-texinfo-comment): Fix invalid search bound
15397 error: wrong side of point.
15398
15399 2013-05-14 Glenn Morris <rgm@gnu.org>
15400
15401 * progmodes/flymake.el (flymake-xml-program): New option.
15402 (flymake-xml-init): Use it.
15403
15404 * term/xterm.el: Provide a feature.
15405
15406 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15407
15408 2013-05-13 Glenn Morris <rgm@gnu.org>
15409
15410 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15411 Add compat aliases as a hack workaround. (Bug#14384)
15412
15413 2013-05-13 Leo Liu <sdl.web@gmail.com>
15414
15415 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15416 ###, and %!.
15417 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15418 C-M-q.
15419 (octave-comment-start-skip): Include %!.
15420 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15421
15422 2013-05-12 Leo Liu <sdl.web@gmail.com>
15423
15424 * progmodes/octave.el (inferior-octave-startup): Store the value
15425 of __octave_srcdir__ for octave-source-directories.
15426 (inferior-octave-check-process): New function refactored out of
15427 inferior-octave-send-list-and-digest.
15428 (octave-source-directories)
15429 (octave-find-definition-filename-function): New variables.
15430 (octave-source-directories)
15431 (octave-find-definition-default-filename): New functions.
15432 (octave-find-definition): Improve to find functions implemented in C++.
15433
15434 2013-05-12 Glenn Morris <rgm@gnu.org>
15435
15436 * calendar/diary-lib.el (diary-outlook-format-1):
15437 Don't include dayname in the output. (Bug#14349)
15438
15439 2013-05-11 Glenn Morris <rgm@gnu.org>
15440
15441 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15442
15443 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15444 Treat cc-provide like provide.
15445
15446 2013-05-11 Kevin Ryde <user42@zip.com.au>
15447
15448 * cus-dep.el (custom-make-dependencies):
15449 Use generated-autoload-load-name for the sake of files such
15450 such cedet/semantic/bovine/c.el, where the base file name
15451 is not in load-path. (Bug#5277)
15452
15453 2013-05-11 Glenn Morris <rgm@gnu.org>
15454
15455 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15456 Provide features.
15457
15458 2013-05-11 Leo Liu <sdl.web@gmail.com>
15459
15460 * progmodes/octave.el (octave-indent-comment): Improve.
15461 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15462 (octave-eldoc-function-signatures, octave-eldoc-function):
15463 New functions.
15464 (octave-mode, inferior-octave-mode): Add eldoc support.
15465
15466 2013-05-11 Richard Stallman <rms@gnu.org>
15467
15468 * epa.el (epa-decrypt-file): Take output file name as argument
15469 and read it using `interactive'.
15470
15471 2013-05-11 Leo Liu <sdl.web@gmail.com>
15472
15473 * progmodes/octave.el (octave-beginning-of-line)
15474 (octave-end-of-line): Check before using up-list because it jumps
15475 out of more syntactic contructs since moving to smie.
15476 (octave-indent-comment): New function.
15477 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15478 (octave-begin-keywords, octave-end-keywords)
15479 (octave-reserved-words, octave-smie-bnf-table)
15480 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15481
15482 2013-05-11 Glenn Morris <rgm@gnu.org>
15483
15484 * faces.el (internal-face-x-get-resource):
15485 * frame.el (ns-display-monitor-attributes-list):
15486 * calc/calc-aent.el (math-to-radians-2):
15487 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15488 Fix declarations.
15489
15490 * calc/calc-menu.el: Make it loadable in isolation.
15491
15492 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15493 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15494 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15495 (eudc-bbdb-query-internal): Require 'bbdb.
15496
15497 * lpr.el (lpr-headers-switches):
15498 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15499
15500 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15501
15502 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15503
15504 * term.el (term-set-escape-char): Make it idempotent.
15505
15506 2013-05-10 Leo Liu <sdl.web@gmail.com>
15507
15508 * progmodes/octave.el (inferior-octave-completion-table):
15509 No longer a function and all uses changed. Use cache to speed up
15510 completion due to bug#11906.
15511 (octave-beginning-of-defun): Re-write to be more general.
15512
15513 2013-05-10 Glenn Morris <rgm@gnu.org>
15514
15515 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15516
15517 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15518
15519 * comint.el (comint-redirect-send-command-to-process): Use :around
15520 rather than :override for comint-redirect-filter.
15521 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15522 Call it instead of comint-redirect-original-filter-function (which
15523 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15524
15525 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15526
15527 * frame.el (display-monitor-attributes-list): Add NS case.
15528 (ns-display-monitor-attributes-list): Declare.
15529
15530 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15531
15532 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15533
15534 2013-05-09 Glenn Morris <rgm@gnu.org>
15535
15536 * international/fontset.el (vertical-centering-font-regexp):
15537 Set standard-value.
15538
15539 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15540
15541 * bookmark.el (bookmark-search-delay):
15542 * cus-start.el (vertical-centering-font-regexp):
15543 * ps-mule.el (ps-mule-font-info-database-default):
15544 * ps-print.el (ps-default-fg, ps-default-bg):
15545 * type-break.el (type-break-good-break-interval):
15546 * whitespace.el (whitespace-indentation-regexp)
15547 (whitespace-space-after-tab-regexp):
15548 * emacs-lisp/testcover.el (testcover-1value-functions)
15549 (testcover-noreturn-functions, testcover-progn-functions)
15550 (testcover-prog1-functions):
15551 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15552 * eshell/em-glob.el (eshell-glob-translate-alist):
15553 * play/tetris.el (tetris-tty-colors):
15554 * progmodes/cpp.el (cpp-face-default-list):
15555 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15556 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15557 (idlwave-help-browser-generic-args):
15558 * progmodes/make-mode.el (makefile-special-targets-list):
15559 * progmodes/python.el (python-shell-virtualenv-path):
15560 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15561 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15562 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15563 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15564 * textmodes/reftex-vars.el (reftex-format-label-function):
15565 * textmodes/remember.el (remember-diary-file): Fix custom types.
15566
15567 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15568 Add :version.
15569
15570 2013-05-09 Leo Liu <sdl.web@gmail.com>
15571
15572 * progmodes/octave.el (inferior-octave-completion-at-point):
15573 Restore file completion. (Bug#14300)
15574 (inferior-octave-startup): Fix incorrect highlighting for the
15575 first prompt.
15576
15577 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * progmodes/ruby-mode.el: First cut at SMIE support.
15580 (ruby-use-smie): New var.
15581 (ruby-smie-grammar): New constant.
15582 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15583 (ruby-smie--forward-token, ruby-smie--backward-token)
15584 (ruby-smie-rules): New functions.
15585 (ruby-mode-variables): Setup SMIE if applicable.
15586
15587 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15588
15589 * simple.el (line-move-visual): Signal beginning/end of buffer
15590 only if vertical-motion moved less than it was requested. Avoids
15591 silly incorrect error messages when there are display strings with
15592 multiple newlines at EOL.
15593
15594 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15595
15596 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15597 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15598 (prolog-char-quote-workaround):
15599 * progmodes/cperl-mode.el (cperl-under-as-char):
15600 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15601 Mark as obsolete.
15602 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15603 their declaration.
15604 (vhdl-mode-syntax-table-init): Remove.
15605
15606 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15607 last change.
15608
15609 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15610 syntax for "_".
15611 (ld-script-font-lock-keywords):
15612 Change regexps to use things like \_< and \_>.
15613
15614 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15615 Change all regexps to use things like \_< and \_>.
15616
15617 * progmodes/autoconf.el (autoconf-definition-regexp)
15618 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15619 Handle a _ with symbol syntax.
15620 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15621
15622 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15623 Consolidate declaration.
15624 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15625 the declaration.
15626 (ada-create-syntax-table): Remove.
15627 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15628 already has the right syntax nowadays.
15629 (ada-goto-next-word): Don't change the syntax of "_".
15630
15631 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15632 with-wrapper-hook.
15633
15634 2013-05-08 Sam Steingold <sds@gnu.org>
15635
15636 * thingatpt.el (thing-at-point): Accept optional second argument
15637 NO-PROPERTIES to strip the text properties from the return value.
15638 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15639 to `thing-at-point' instead of stripping the properties ourselves.
15640 Also, when `thing-at-point' fails to find a url, prepend "http://"
15641 to the filename at point on the assumption that the user is
15642 pointing at something like gnu.org/gnu.
15643
15644 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15645
15646 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15647 * faces.el (crm-separator):
15648 Silence byte-compiler.
15649
15650 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15651 (tool-bar-map): Remove unneeded defvars.
15652
15653 2013-05-08 Leo Liu <sdl.web@gmail.com>
15654
15655 Re-work a fix for bug#10994 based on Le Wang's patch.
15656 * ido.el (ido-remove-consecutive-dups): New helper.
15657 (ido-completing-read): Use it.
15658 (ido-chop): Revert fix for bug#10994.
15659
15660 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15661
15662 * cus-edit.el (custom-save-variables):
15663 Pretty-print long values. (Bug#14187)
15664
15665 2013-05-08 Glenn Morris <rgm@gnu.org>
15666
15667 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15668 (m4-mode-syntax-table): Init in the defvar.
15669 (m4-mode-abbrev-table): Let define-derived-mode define it.
15670
15671 2013-05-08 Tom Tromey <tromey@redhat.com>
15672
15673 * progmodes/m4-mode.el (m4-mode-syntax-table):
15674 Do not treat "_" as word constituent. (Bug#14167)
15675
15676 2013-05-07 Glenn Morris <rgm@gnu.org>
15677
15678 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15679 Remove explicit eshell-isearch-cancel-map.
15680
15681 * progmodes/f90.el (f90-smart-end-names): New option.
15682 (f90-smart-end): Doc fix.
15683 (f90-end-block-optional-name): New constant.
15684 (f90-block-match): Respect f90-smart-end-names.
15685
15686 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15687
15688 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15689 about implicit semi-colons (bug#14218).
15690
15691 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15692
15693 * frame.el (display-monitor-attributes-list)
15694 (frame-monitor-attributes): New functions.
15695
15696 2013-05-06 Leo Liu <sdl.web@gmail.com>
15697
15698 * progmodes/octave.el (octave-syntax-propertize-function): Change
15699 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15700 (octave-font-lock-keywords): Use octave-operator-regexp.
15701 (octave-completion-at-point): Rename from
15702 octave-completion-at-point-function.
15703 (inferior-octave-directory-tracker): Robustify.
15704 (octave-text-functions): Remove and fix its uses. No such things
15705 any more.
15706
15707 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * emacs-lisp/trace.el (trace--display-buffer): New function.
15710 (trace-make-advice): Use it.
15711
15712 2013-05-06 Juri Linkov <juri@jurta.org>
15713
15714 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15715 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15716 Doc fix.
15717 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15718 in the help string. (Bug#12985)
15719
15720 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15721
15722 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15723
15724 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * progmodes/perl-mode.el: Add support for here documents.
15727 (perl-syntax-propertize-function): Match here-doc markers.
15728 (perl-syntax-propertize-special-constructs): Find their end.
15729 (perl-imenu-generic-expression): Use [:alnum:].
15730
15731 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15732 (advice--add-function): Refresh the advice if already present
15733 (bug#14317).
15734
15735 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15736
15737 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15738
15739 2013-05-06 Glenn Morris <rgm@gnu.org>
15740
15741 * w32-fns.el (w32-charset-info-alist): Declare.
15742
15743 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15744 of its defcustom properties.
15745 (eshell-cmpl-initialize): No need to load pcomplete.
15746
15747 * generic-x.el: No need to require comint when compiling.
15748
15749 * net/eudc-export.el: Make it loadable without bbdb.
15750 (top-level): Use require rather than load-library.
15751 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15752 (eudc-batch-export-records-to-bbdb)
15753 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15754 Require bbdb.
15755
15756 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15757
15758 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15759 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15760 some tweaks, instead.
15761
15762 2013-05-05 Leo Liu <sdl.web@gmail.com>
15763
15764 * progmodes/octave.el (octave-font-lock-keywords)
15765 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15766 (inferior-octave-send-list-and-digest): Improve error message.
15767 (octave-mode, inferior-octave-mode): Use setq-local.
15768 (octave-help): Set info-lookup-mode.
15769
15770 2013-05-05 Richard Stallman <rms@gnu.org>
15771
15772 * vc/compare-w.el (compare-windows-whitespace):
15773 Treat no-break space as whitespace.
15774
15775 * mail/rmailsum.el (rmail-summary-rmail-update):
15776 Detect empty summary and don't change selected message.
15777 (rmail-summary-goto-msg): Likewise.
15778
15779 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15780 Doc fixes, rename args.
15781
15782 2013-05-05 Alan Mackenzie <acm@muc.de>
15783
15784 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15785
15786 2013-05-05 Juri Linkov <juri@jurta.org>
15787
15788 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15789 to not add the length of the summary segment to the return value.
15790 (Bug#14125)
15791
15792 2013-05-05 Leo Liu <sdl.web@gmail.com>
15793
15794 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15795 (inferior-octave-output-filter): Remove.
15796 (octave-send-region, inferior-octave-startup): Fix callers.
15797 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15798 (octave-binary-file-extensions): New user variable.
15799 (octave-find-definition): Confirm if opening binary files.
15800 (octave-help-file): Use octave-find-definition to get the binary
15801 confirmation.
15802 (octave-help): Adjust for octave-help-file change.
15803
15804 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15805
15806 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15807 Merge the two entries that handle function definitions.
15808 (pascal--syntax-propertize): New const.
15809 (pascal-mode): Use it. Use setq-local.
15810
15811 2013-05-04 Glenn Morris <rgm@gnu.org>
15812
15813 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15814 (diary-from-outlook): Respect diary-from-outlook-function.
15815
15816 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15817
15818 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15819 Move the declaration from C.
15820 (read-minibuffer, eval-minibuffer): Move from C.
15821 (completion-setup-function): Avoid minibuffer-completion-contents.
15822
15823 2013-05-03 Leo Liu <sdl.web@gmail.com>
15824
15825 * progmodes/octave.el (octave-font-lock-keywords): Do not
15826 dehighlight 'end' in comments or strings.
15827 (octave-completing-read, octave-goto-function-definition):
15828 New helpers.
15829 (octave-help-buffer): New user variable.
15830 (octave-help-file, octave-help-function): New button types.
15831 (octave-help): New command and bind it to C-h ;.
15832 (octave-find-definition): New command and bind it to M-.
15833 (user-error): Alias to error if not defined.
15834
15835 2013-05-02 Leo Liu <sdl.web@gmail.com>
15836
15837 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15838 for \. (bug#14332)
15839 (octave-font-lock-keywords): Include [ and {.
15840
15841 2013-05-02 Leo Liu <sdl.web@gmail.com>
15842
15843 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15844 (inferior-octave): Remove calling comint-mode and return the buffer.
15845 (inferior-octave-startup): Cosmetic changes.
15846
15847 2013-05-02 Leo Liu <sdl.web@gmail.com>
15848
15849 * progmodes/octave.el (octave-syntax-propertize-function):
15850 Include the case when ' is at line beginning. (Bug#14336)
15851
15852 2013-05-02 Glenn Morris <rgm@gnu.org>
15853
15854 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15855 * desktop.el (vc-dir-mode): Just autoload it here.
15856
15857 2013-05-02 Alan Mackenzie <acm@muc.de>
15858
15859 Eliminate variable c-standard-font-lock-fontify-region-function.
15860 * progmodes/cc-mode.el
15861 (c-standard-font-lock-fontify-region-function): Remove.
15862 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15863
15864 2013-05-01 Leo Liu <sdl.web@gmail.com>
15865
15866 * progmodes/octave.el: Compatible with older emacs-24 releases.
15867 (inferior-octave-has-built-in-variables): Remove. Built-in
15868 variables were removed from Octave in 2007.
15869 (inferior-octave-startup): Fix uses.
15870 (comint-line-beginning-position): Remove compatibility code for
15871 emacs 21.
15872
15873 2013-05-01 Juri Linkov <juri@jurta.org>
15874
15875 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15876
15877 2013-05-01 Juri Linkov <juri@jurta.org>
15878
15879 * comint.el (comint-previous-matching-input): Don't print message
15880 "History item: %d" when `isearch-mode' is active.
15881 (comint-history-isearch-message): Print message "History item: %d"
15882 when `comint-input-ring-index' is not empty and this function is
15883 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15884
15885 2013-05-01 Leo Liu <sdl.web@gmail.com>
15886
15887 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15888 definitions. Use completion-at-point to insert keywords.
15889 (octave-abbrev-start): Remove.
15890 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15891
15892 2013-04-30 Leo Liu <sdl.web@gmail.com>
15893
15894 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15895 change.
15896
15897 2013-04-30 Alan Mackenzie <acm@muc.de>
15898
15899 Handle arbitrarily long C++ member initialisation lists.
15900 * progmodes/cc-engine.el (c-back-over-member-initializers):
15901 new function.
15902 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15903 (most) member init lists.
15904
15905 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15906
15907 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15908 variable.
15909
15910 2013-04-30 Leo Liu <sdl.web@gmail.com>
15911
15912 * progmodes/octave.el (octave-variables): Remove. No builtin
15913 variables any more. All converted to functions.
15914 (octave-font-lock-keywords, octave-completion-at-point-function):
15915 Fix uses.
15916 (octave-font-lock-texinfo-comment): New user variable.
15917 (octave-texinfo-font-lock-keywords): New variable for texinfo
15918 comment block.
15919 (octave-function-comment-block): New face.
15920 (octave-font-lock-texinfo-comment): New function.
15921 (octave-mode): Font lock texinfo comment block.
15922
15923 2013-04-29 Leo Liu <sdl.web@gmail.com>
15924
15925 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15926 indexing expression.
15927 (octave-continuation-string): Do not use \.
15928 (inferior-octave-complete-impossible): Remove.
15929 (inferior-octave-completion-table)
15930 (inferior-octave-completion-at-point): Remove its uses.
15931 (inferior-octave-startup): completion_matches was introduced to
15932 Octave in 1996 so safe to assume it.
15933 (octave-function-file-comment): Improve to follow how Octave does it.
15934 (octave-update-function-file-comment): Tweak.
15935
15936 2013-04-29 Leo Liu <sdl.web@gmail.com>
15937
15938 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15939 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15940 (octave-function-file-comment): Fix typo.
15941 (octave-sync-function-file-names): Use read-char-choice.
15942
15943 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15944
15945 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15946 to t for the less important warnings.
15947
15948 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15949
15950 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15951
15952 2013-04-27 Glenn Morris <rgm@gnu.org>
15953
15954 * vc/log-view.el (log-view-current-entry):
15955 Treat "---" separator lines as part of the following rev. (Bug#14169)
15956
15957 2013-04-27 Juri Linkov <juri@jurta.org>
15958
15959 * subr.el (read-number): Doc fix about using it by interactive
15960 code letter `n'. (Bug#14254)
15961
15962 2013-04-27 Juri Linkov <juri@jurta.org>
15963
15964 * desktop.el (desktop-auto-save-timeout): New option.
15965 (desktop-file-checksum): New variable.
15966 (desktop-save): Add optional arg `auto-save' and don't auto-save
15967 if nothing changed.
15968 (desktop-auto-save-timer): New variable.
15969 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15970 (after-init-hook): Call `desktop-auto-save-set-timer'.
15971 Suggested by Reuben Thomas <rrt@sc3d.org> in
15972 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15973
15974 2013-04-27 Leo Liu <sdl.web@gmail.com>
15975
15976 * progmodes/octave.el (octave-function-file-p)
15977 (octave-skip-comment-forward, octave-function-file-comment)
15978 (octave-update-function-file-comment): New functions.
15979 (octave-mode-map): Bind C-c ; to
15980 octave-update-function-file-comment.
15981 (octave-mode-menu): Add octave-update-function-file-comment.
15982 (octave-mode, inferior-octave-mode): Fix doc-string.
15983 (octave-insert-defun): Conform to Octave's coding convention.
15984 (Bug#14285)
15985
15986 * files.el (basic-save-buffer): Don't let errors in
15987 before-save-hook prevent saving buffer.
15988
15989 2013-04-20 Roland Winkler <winkler@gnu.org>
15990
15991 * faces.el (read-face-name): Use completing-read if arg multiple
15992 is nil.
15993
15994 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15995
15996 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15997 displayed, move point to after the totals line.
15998 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15999 for the details.
16000
16001 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * emacs-lisp/package.el (package-autoload-ensure-default-file):
16004 Add current dir to the load-path.
16005 (package-generate-autoloads): Don't rely on
16006 autoload-ensure-default-file.
16007
16008 2013-04-26 Reuben Thomas <rrt@sc3d.org>
16009
16010 * textmodes/remember.el (remember-store-in-files): Document that
16011 the file name format is passed to `format-time-string'.
16012
16013 2013-04-26 Leo Liu <sdl.web@gmail.com>
16014
16015 * progmodes/octave.el (octave-sync-function-file-names): New function.
16016 (octave-mode): Use it in before-save-hook.
16017
16018 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
16019
16020 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16021 (bug#14274).
16022
16023 * progmodes/octave.el (octave-smie-forward-token): Properly skip
16024 \n and comment, even if it's not an implicit ; (bug#14218).
16025
16026 2013-04-26 Glenn Morris <rgm@gnu.org>
16027
16028 * subr.el (read-number): Once more use `read' rather than
16029 `string-to-number', to trap non-numeric input. (Bug#14254)
16030
16031 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
16032
16033 * emacs-lisp/syntax.el (syntax-propertize-multiline):
16034 Use `syntax-multiline' text property consistently instead of
16035 `font-lock-multiline'. (Bug#14237)
16036
16037 2013-04-26 Glenn Morris <rgm@gnu.org>
16038
16039 * emacs-lisp/shadow.el (list-load-path-shadows):
16040 No longer necessary to check for duplicate simple.el, since
16041 2012-07-07 change to init_lread to not include installation lisp
16042 directories in load-path when running uninstalled. (Bug#14270)
16043
16044 2013-04-26 Leo Liu <sdl.web@gmail.com>
16045
16046 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16047 (octave-mode, inferior-octave-mode): Use setq-local.
16048 (octave-not-in-string-or-comment-p): Rename to
16049 octave-in-string-or-comment-p.
16050 (octave-in-comment-p, octave-in-string-p)
16051 (octave-in-string-or-comment-p): Replace defsubst with defun.
16052
16053 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16054
16055 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16056
16057 2013-04-25 Bastien Guerry <bzg@gnu.org>
16058
16059 * textmodes/remember.el (remember-data-directory)
16060 (remember-directory-file-name-format): Fix custom types.
16061
16062 2013-04-25 Leo Liu <sdl.web@gmail.com>
16063
16064 * progmodes/octave.el (octave-completion-at-point-function):
16065 Make use of inferior octave process.
16066 (octave-initialize-completions): Remove.
16067 (inferior-octave-completion-table): New function.
16068 (inferior-octave-completion-at-point): Use it.
16069 (octave-completion-alist): Remove.
16070
16071 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16072
16073 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16074 (opascal-mode-syntax-table): New var.
16075 (opascal-literal-kind, opascal-is-literal-end)
16076 (opascal-literal-token-at): Rewrite.
16077 (opascal--literal-start-re, opascal-font-lock-keywords)
16078 (opascal--syntax-propertize): New constants.
16079 (opascal-font-lock-defaults): Adjust.
16080 (opascal-mode): Use them. Set comment-<foo> variables as well.
16081 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16082 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16083 (delphi-other-face, opascal-other-face): Remove face variables.
16084 (opascal-save-state): Remove macro.
16085 (opascal-fontifying-progress-step): Remove constant.
16086 (opascal--ignore-changes): Remove var.
16087 (opascal-set-token-property, opascal-parse-next-literal)
16088 (opascal-is-stable-literal, opascal-complete-literal)
16089 (opascal-is-literal-start, opascal-face-of)
16090 (opascal-parse-region, opascal-parse-region-until-stable)
16091 (opascal-fontify-region, opascal-after-change)
16092 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16093 (opascal-debug-parse-region, opascal-debug-parse-window)
16094 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16095 (opascal-debug-fontify-buffer): Remove.
16096 (opascal-debug-mode-map): Adjust accordingly.
16097
16098 2013-04-25 Leo Liu <sdl.web@gmail.com>
16099
16100 Merge octave-mod.el and octave-inf.el into octave.el with some
16101 cleanups.
16102 * progmodes/octave.el: New file renamed from octave-mod.el.
16103 * progmodes/octave-inf.el: Merged into octave.el.
16104 * progmodes/octave-mod.el: Renamed to octave.el.
16105
16106 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16107
16108 * textmodes/reftex-vars.el
16109 (reftex-label-ignored-macros-and-environments): New defcustom.
16110
16111 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16112
16113 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16114
16115 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16116 (smie-indent-keyword): Improve the check to ensure that the next
16117 comment is really on the same line.
16118 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16119
16120 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16121 semi-colons if the line is not otherwise empty (bug#14218).
16122
16123 2013-04-25 Glenn Morris <rgm@gnu.org>
16124
16125 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16126
16127 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16128
16129 * progmodes/opascal.el (opascal-set-token-property): Rename from
16130 opascal-set-text-properties and only set `token' (bug#14134).
16131 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16132 (opascal-literal-text-properties): Remove.
16133 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16134 Adjust callers.
16135
16136 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16137
16138 * textmodes/remember.el (remember-handler-functions): Add an
16139 option for a new handler `remember-store-in-files'.
16140 (remember-data-directory, remember-directory-file-name-format):
16141 New options.
16142 (remember-store-in-files): New function to store remember notes
16143 as separate files within a directory.
16144
16145 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16146
16147 * progmodes/compile.el (compilation-next-error-function):
16148 Pass "formats" to compilation-find-file (bug#11777).
16149
16150 2013-04-24 Glenn Morris <rgm@gnu.org>
16151
16152 * vc/vc-bzr.el (vc-bzr-print-log):
16153 * vc/vc-hg.el (vc-hg-print-log):
16154 * vc/vc-svn.el (vc-svn-print-log):
16155 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16156
16157 * vc/vc-bzr.el (vc-bzr-print-log):
16158 * vc/vc-cvs.el (vc-cvs-print-log):
16159 * vc/vc-git.el (vc-git-print-log):
16160 * vc/vc-hg.el (vc-hg-print-log):
16161 * vc/vc-mtn.el (vc-mtn-print-log):
16162 * vc/vc-rcs.el (vc-rcs-print-log):
16163 * vc/vc-sccs.el (vc-sccs-print-log):
16164 * vc/vc-svn.el (vc-svn-print-log):
16165 * vc/vc.el (vc-print-log-internal): Doc fixes.
16166
16167 2013-04-23 Glenn Morris <rgm@gnu.org>
16168
16169 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16170 Remove venerable code attempting to avoid substitute-command-keys.
16171
16172 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16173
16174 * textmodes/reftex-vars.el (reftex-label-regexps):
16175 Call `reftex-compile-variables' after changes to this variable.
16176
16177 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16178
16179 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16180 Use lexical-binding.
16181 (jit-lock-force-redisplay): Use markers, check buffer's continued
16182 existence and beware narrowed buffers.
16183 (jit-lock-fontify-now): Adjust call accordingly.
16184
16185 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16186
16187 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16188 to avoid misleading the user.
16189
16190 2013-04-22 Leo Liu <sdl.web@gmail.com>
16191
16192 * info-look.el: Prefer latex2e.info. (Bug#14240)
16193
16194 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16195
16196 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16197
16198 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16199 * net/tramp.el (tramp-call-process): ... here.
16200 (tramp-set-completion-function, tramp-parse-putty):
16201 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16202 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16203 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16204 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16205 (tramp-call-local-coding-command): Use `tramp-call-process'
16206 instead of `tramp-compat-call-process'.
16207
16208 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16209 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16210 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16211 (tramp-find-inline-compress): Improve traces.
16212 (tramp-maybe-send-script): Check for Perl binary.
16213 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16214
16215 2013-04-22 Daiki Ueno <ueno@gnu.org>
16216
16217 * epg.el (epg-context-pinentry-mode): New function.
16218 (epg-context-set-pinentry-mode): New function.
16219 (epg--start): Pass --pinentry-mode option to gpg command.
16220
16221 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16222
16223 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16224 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16225 `completion-at-point'. (Bug#13774)
16226
16227 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16228 default key binding for `describe-distribution' has been moved to
16229 `C-h C-o'. (Bug#13970)
16230
16231 2013-04-21 Glenn Morris <rgm@gnu.org>
16232
16233 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16234 Add doc strings.
16235 (vc-print-log): Clarify interactive prompt.
16236
16237 2013-04-20 Glenn Morris <rgm@gnu.org>
16238
16239 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16240 No longer include timestamp etc information.
16241
16242 2013-04-20 Roland Winkler <winkler@gnu.org>
16243
16244 * faces.el (read-face-name): Bug fix, return just one face if arg
16245 multiple is nil. (Bug#14209)
16246
16247 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16248
16249 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16250 (remove-function): Autoload.
16251
16252 * comint.el (comint-redirect-original-filter-function): Remove.
16253 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16254 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16255 (vc-cvs-annotate-command):
16256 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16257 * progmodes/prolog.el (prolog-consult-compile):
16258 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16259 Use add/remove-function instead.
16260 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16261 (gud-tooltip-process-output, gud-tooltip-tips):
16262 Use add/remove-function instead.
16263 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16264 (scheme-interaction-mode, exit-scheme-interaction-mode):
16265 Use add/remove-function instead.
16266
16267 * vc/vc-dispatcher.el: Use lexical-binding.
16268 (vc--process-sentinel): Rename from vc-process-sentinel.
16269 Change last arg to be the code to run. Don't use vc-previous-sentinel
16270 and vc-sentinel-commands any more.
16271 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16272 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16273
16274 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16275
16276 * progmodes/sh-script.el (sh-imenu-generic-expression):
16277 Handle function names with a single character. (Bug#14111)
16278
16279 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16280
16281 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16282 for subroutines defined in an eval (bug#14182).
16283
16284 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16285
16286 * bookmark.el (bookmark-completing-read): Improve handling of empty
16287 string (bug#14176).
16288
16289 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16290
16291 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16292
16293 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16294
16295 New faster Imenu implementation (bug#14058).
16296 * progmodes/python.el (python-imenu-prev-index-position)
16297 (python-imenu-format-item-label-function)
16298 (python-imenu-format-parent-item-label-function)
16299 (python-imenu-format-parent-item-jump-label-function):
16300 New vars.
16301 (python-imenu-format-item-label)
16302 (python-imenu-format-parent-item-label)
16303 (python-imenu-format-parent-item-jump-label)
16304 (python-imenu--put-parent, python-imenu--build-tree)
16305 (python-imenu-create-index, python-imenu-create-flat-index)
16306 (python-util-popn): New functions.
16307 (python-mode): Set imenu-create-index-function to
16308 python-imenu-create-index.
16309
16310 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16311
16312 * winner.el (winner-active-region): Use region-active-p, activate-mark
16313 and deactivate-mark (bug#14225).
16314
16315 * simple.el (deactivate-mark): Don't inline it.
16316
16317 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16318
16319 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16320
16321 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16322
16323 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16324 file extensions from the archive-mode entry in order to prefer
16325 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16326
16327 2013-04-18 Leo Liu <sdl.web@gmail.com>
16328
16329 * bindings.el (help-event-list): Add ?\?.
16330
16331 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16332
16333 * subr.el (with-wrapper-hook): Declare obsolete.
16334 * simple.el (filter-buffer-substring-function): New hook.
16335 (filter-buffer-substring): Use it.
16336 (filter-buffer-substring-functions): Mark obsolete.
16337 * minibuffer.el (completion-in-region-function): New hook.
16338 (completion-in-region): Use it.
16339 (completion-in-region-functions): Mark obsolete.
16340 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16341 * abbrev.el (abbrev-expand-function): New hook.
16342 (expand-abbrev): Use it.
16343 (abbrev-expand-functions): Mark obsolete.
16344 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16345 and :filter-return.
16346
16347 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16348
16349 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16350 and do not care about match data.
16351
16352 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16353
16354 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16355 completion tables when completing error conditions and
16356 `declare' arguments.
16357 (lisp-complete-symbol, field-complete): Mark as obsolete.
16358 (check-parens): Unmatched parens are user errors.
16359 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16360
16361 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16362
16363 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16364 command changed buffer (ie. `flyspell-pre-buffer' is not current
16365 buffer), which prevents making decisions based on invalid value of
16366 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16367 cause an error when `flyspell-pre-point' was nil after switching
16368 buffers.
16369 (flyspell-post-command-hook): No longer needs to change buffers when
16370 checking pre-word. While at it remove unnecessary progn.
16371
16372 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16373
16374 * textmodes/ispell.el (ispell-add-per-file-word-list):
16375 Fix `flyspell-correct-word-before-point' error when accepting
16376 words and `coment-padding' is an integer by using
16377 `comment-normalize-vars' (Bug #14214).
16378
16379 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16380
16381 New defun movement commands.
16382 * progmodes/python.el (python-nav--syntactically)
16383 (python-nav--forward-defun, python-nav-backward-defun)
16384 (python-nav-forward-defun): New functions.
16385
16386 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16387
16388 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16389 (python-syntax-context): Use named compiler-macro for backwards
16390 compatibility with Emacs 24.x.
16391
16392 2013-04-17 Leo Liu <sdl.web@gmail.com>
16393
16394 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16395 octave-hide-process-buffer.
16396
16397 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16398
16399 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16400 (bug#14216).
16401
16402 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16403
16404 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16405 Fix adjustment of offset when receiving incomplete responses from GDB
16406 (bug#14129).
16407
16408 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16409
16410 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16411 python-mode-abbrev-table.
16412 (python-skeleton-define): Adjust accordingly.
16413 (python-mode-abbrev-table): New table that inherits from it so that
16414 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16415
16416 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16417 (abbrev-symbol): Use it.
16418 (abbrev--before-point): Use it since we already handle inheritance.
16419
16420 2013-04-16 Leo Liu <sdl.web@gmail.com>
16421
16422 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16423 binding to info-lookup-symbol.
16424
16425 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16426
16427 * minibuffer.el (completion--twq-all):
16428 * term/ns-win.el (ns-initialize-window-system):
16429 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16430
16431 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16432
16433 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16434 global bindings.
16435
16436 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16437
16438 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16439
16440 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16441 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16442 to nil.
16443 (ruby-end-of-defun): Remove the unused arg, change the docstring
16444 to reflect that this function is only used as the value of
16445 `end-of-defun-function'.
16446 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16447 to reflect an earlier change that beginning/end-of-defun functions
16448 jump between methods in a class definition, as well as top-level
16449 functions.
16450
16451 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16452
16453 * minibuffer.el (minibuffer-complete): Don't just scroll
16454 a *Completions* that's been iconified.
16455 (minibuffer-force-complete): Make sure repetitions do cycle when going
16456 through completion-in-region -> minibuffer-complete.
16457
16458 2013-04-15 Alan Mackenzie <acm@muc.de>
16459
16460 Correct the placement of c-cpp-delimiters when there're #s not at
16461 col 0.
16462
16463 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16464 place a submatch around the #.
16465 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16466 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16467 on the #, not BOL.
16468
16469 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16470
16471 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16472 (advice--member-p): New arg `name'.
16473 (advice--add-function, advice-member-p): Use it (bug#14202).
16474
16475 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16476
16477 Reformulate java imenu-generic-expression.
16478 The old expression contained ill formed regexps.
16479
16480 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16481 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16482 (cc-imenu-java-method-arg-regexp): New defconsts.
16483 (cc-imenu-java-build-type-args-regex): New defun.
16484 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16485 handling of spaces in the regexp.
16486
16487 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16488
16489 * textmodes/ispell.el (ispell-command-loop): Remove
16490 flyspell highlight of a word when ispell accepts it (bug #14178).
16491
16492 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16493
16494 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16495 uses code from the previous `ange-ftp-run-real-handler'.
16496 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16497 only in case that function exist. This is needed for proper
16498 unloading of Tramp.
16499
16500 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16501
16502 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16503
16504 * textmodes/reftex.el (reftex-compile-variables): Use it.
16505
16506 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16507
16508 * files.el (normal-mode): Only use default major-mode if no other mode
16509 was specified.
16510
16511 * emacs-lisp/trace.el (trace-values): New function.
16512
16513 * files.el: Allow : in local variables (bug#14089).
16514 (hack-local-variable-regexp): New var.
16515 (hack-local-variables-prop-line, hack-local-variables): Use it.
16516
16517 2013-04-13 Roland Winkler <winkler@gnu.org>
16518
16519 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16520 data before it gets modified by bibtex-beginning-of-entry.
16521
16522 2013-04-13 Roland Winkler <winkler@gnu.org>
16523
16524 * textmodes/bibtex.el (bibtex-url): Doc fix.
16525
16526 2013-04-13 Roland Winkler <winkler@gnu.org>
16527
16528 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16529 does not visit a BibTeX file, exclude it from the list of buffers
16530 returned by bibtex-initialize.
16531
16532 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16533
16534 * window.el (split-window): Remove interactive form, since as a
16535 command this function is a special case of split-window-below.
16536 Correct doc string.
16537
16538 2013-04-12 Roland Winkler <winkler@gnu.org>
16539
16540 * faces.el (read-face-name): Do not override value of arg default.
16541 Allow single faces and strings as default values. Remove those
16542 elements from return value that are not faces.
16543 (describe-face): Simplify.
16544 (face-at-point): New optional args thing and multiple so that this
16545 function can provide the same functionality previously provided by
16546 read-face-name.
16547 (make-face-bold, make-face-unbold, make-face-italic)
16548 (make-face-unitalic, make-face-bold-italic, invert-face)
16549 (modify-face, read-face-and-attribute): Use face-at-point.
16550
16551 * cus-edit.el (customize-face, customize-face-other-window)
16552 * cus-theme.el (custom-theme-add-face)
16553 * face-remap.el (buffer-face-set)
16554 * facemenu.el (facemenu-set-face): Use face-at-point.
16555
16556 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16557
16558 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16559
16560 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16561
16562 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16563 off leading { and trailing } from field values.
16564
16565 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16566
16567 * emacs-lisp/timer.el (timer--check): New function.
16568 (timer--time, timer-set-function, timer-event-handler): Use it.
16569 (timer-set-idle-time): Simplify.
16570 (timer--activate): CSE.
16571 (timer-event-handler): Give more info in error message.
16572 (internal-timer-start-idle): New function, moved from C.
16573
16574 * mpc.el (mpc-proc): Add `restart' argument.
16575 (mpc-proc-cmd): Use it.
16576 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16577 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16578 less often.
16579
16580 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16581
16582 * progmodes/sh-script.el: Implement `sh-mode' own
16583 `add-log-current-defun-function' (bug#14112).
16584 (sh-current-defun-name): New function.
16585 (sh-mode): Use the function.
16586
16587 2013-04-09 Bastien Guerry <bzg@gnu.org>
16588
16589 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16590
16591 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16592
16593 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16594
16595 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16596 timer (bug#14156).
16597
16598 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16599
16600 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16601 declaration.
16602
16603 2013-04-07 Leo Liu <sdl.web@gmail.com>
16604
16605 * pcmpl-x.el: New file.
16606
16607 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16608
16609 Do not set x-display-name until X connection is established.
16610 This is needed to prevent from weird situation described at
16611 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16612 * frame.el (make-frame): Set x-display-name after call to
16613 window system initialization function, not before.
16614 * term/x-win.el (x-initialize-window-system): Add optional
16615 display argument and use it.
16616 * term/w32-win.el (w32-initialize-window-system):
16617 * term/ns-win.el (ns-initialize-window-system):
16618 * term/pc-win.el (msdos-initialize-window-system):
16619 Add compatible optional display argument.
16620
16621 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16622
16623 * files.el (normal-backup-enable-predicate): On MS-Windows and
16624 MS-DOS compare truenames of temporary-file-directory and of the
16625 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16626 don't fail comparison by compare-strings. Also, compare file
16627 names case-insensitively on MS-Windows and MS-DOS.
16628
16629 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16630
16631 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16632 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16633
16634 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16635
16636 * whitespace.el (whitespace-color-on, whitespace-color-off):
16637 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16638
16639 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16640
16641 * ispell.el (ispell-set-spellchecker-params):
16642 Really set `ispell-args' for all equivs.
16643
16644 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16645
16646 * ido.el (ido-completions): Use extra elements of ido-decorations
16647 (bug#14143).
16648 (ido-decorations): Update docstring.
16649
16650 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16651
16652 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16653 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16654 nil during initialization, in order not to miss changes since the
16655 file was opened. (Bug#14140)
16656
16657 2013-04-05 Leo Liu <sdl.web@gmail.com>
16658
16659 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16660
16661 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16662
16663 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16664
16665 2013-04-04 Glenn Morris <rgm@gnu.org>
16666
16667 * electric.el (electric-pair-inhibit-predicate): Add :version.
16668
16669 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16670
16671 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16672 when a package is required several times (bug#14082).
16673
16674 2013-04-04 Roland Winkler <winkler@gnu.org>
16675
16676 * faces.el (read-face-name): Behave as promised by the docstring.
16677 Assume that arg default is a list of faces.
16678 (describe-face): Call read-face-name with list of default faces.
16679
16680 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16681
16682 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16683 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16684 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16685 the header.
16686 (bookmark-exit-hook-internal): Save even if list is empty.
16687
16688 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16689
16690 * emacs-lisp/package.el (package-pinned-packages): New var.
16691 (package--add-to-archive-contents): Obey it (bug#14118).
16692
16693 2013-04-03 Alan Mackenzie <acm@muc.de>
16694
16695 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16696 Also adapt to the new values of element 7 of a parse state.
16697
16698 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16699 parameter `not-in-delimiter'. Handle being inside comment opener.
16700 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16701 character in case we're typing a '*' after a '/'.
16702 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16703 instead by passing the parameter to c-state-pp-to-literal.
16704
16705 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16706 for elt. 7 of a parse state.
16707
16708 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16709
16710 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16711 * international/latin1-disp.el, international/mule-util.el:
16712 * language/cyril-util.el, language/european.el, language/ind-util.el:
16713 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16714 * language/tibetan.el, language/viet-util.el:
16715 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16716
16717 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16718
16719 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16720 (electric-pair-post-self-insert-function): Use it.
16721 (electric-pair-default-inhibit): New function, extracted from
16722 electric-pair-post-self-insert-function.
16723
16724 2013-03-31 Roland Winkler <winkler@gnu.org>
16725
16726 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16727
16728 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16729
16730 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16731
16732 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16733
16734 Un-indent after "pass" and "return" statements (Bug#13888)
16735 * progmodes/python.el (python-indent-block-enders): New var.
16736 (python-indent-calculate-indentation): Use it.
16737
16738 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16739
16740 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16741 defun. Defining it as defalias could introduce too eager
16742 byte-compiler optimization. (Bug#14030)
16743
16744 2013-03-30 Chong Yidong <cyd@gnu.org>
16745
16746 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16747
16748 2013-03-30 Leo Liu <sdl.web@gmail.com>
16749
16750 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16751 (kmacro-execute-from-register): Pass the keyboard macro to
16752 kmacro-call-macro or repeating won't work correctly.
16753
16754 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16755
16756 * progmodes/subword.el: Back to using `forward-symbol'.
16757
16758 * subr.el (forward-whitespace, forward-symbol)
16759 (forward-same-syntax): Move from thingatpt.el.
16760
16761 2013-03-29 Leo Liu <sdl.web@gmail.com>
16762
16763 * kmacro.el (kmacro-to-register): New command.
16764 (kmacro-execute-from-register): New function.
16765 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16766
16767 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16768
16769 * mpc.el: Use defvar-local and setq-local.
16770 (mpc--proc-connect): Connection failures are not bugs.
16771 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16772 (mpc-volume-map): Bind to the up-events.
16773
16774 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16775
16776 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16777 instead of `forward-symbol'.
16778
16779 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16780
16781 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16782 (edebug--recursive-edit): Use it.
16783 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16784 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16785
16786 2013-03-28 Leo Liu <sdl.web@gmail.com>
16787
16788 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16789
16790 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16791
16792 * facemenu.el (list-colors-callback): New defvar.
16793 (list-colors-redisplay): New function.
16794 (list-colors-display): Install list-colors-redisplay as the
16795 revert-buffer-function. (Bug#14063)
16796
16797 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16798
16799 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16800 and suffixes don't overlap (bug#14061).
16801
16802 * case-table.el: Use lexical-binding.
16803 (case-table-get-table): New function.
16804 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16805
16806 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16807
16808 * progmodes/subword.el: Add `superword-mode' to do word motion
16809 over symbol_words (parallels and leverages `subword-mode' which
16810 does word motion inside MixedCaseWords).
16811
16812 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16813
16814 * eshell/em-unix.el: Move su and sudo to...
16815 * eshell/em-tramp.el: ...Eshell tramp module.
16816
16817 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16818
16819 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16820 Change return value to be a sexp. Delay `get-buffer' to after
16821 restoring the desktop (bug#13951).
16822
16823 2013-03-26 Leo Liu <sdl.web@gmail.com>
16824
16825 * register.el: Move semantic tag handling back to
16826 cedet/semantic/senator.el. (Bug#14052)
16827
16828 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16829
16830 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16831 into the prompt either (bug#13963).
16832
16833 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16834
16835 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16836 part of "(error-foo)".
16837
16838 2013-03-24 Juri Linkov <juri@jurta.org>
16839
16840 * replace.el (list-matching-lines-prefix-face): New defcustom.
16841 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16842 `occur-engine' if `face-differs-from-default-p' returns t.
16843 (occur-engine): Add `,' inside backquote construct to evaluate
16844 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16845 Pass `prefix-face' to the functions `occur-context-lines' and
16846 `occur-engine-add-prefix'.
16847 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16848 `prefix-face' and propertize the prefix with `prefix-face'.
16849 (Bug#14017)
16850
16851 2013-03-24 Leo Liu <sdl.web@gmail.com>
16852
16853 * nxml/rng-valid.el (rng-validate-while-idle)
16854 (rng-validate-quick-while-idle): Guard against deleted buffer.
16855 (Bug#13999)
16856
16857 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16858 is the last entry in kill-buffer-hook.
16859
16860 * files.el (kill-buffer-hook): Doc fix.
16861
16862 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16863
16864 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16865 Make it safe-local.
16866
16867 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16868
16869 2013-03-23 Leo Liu <sdl.web@gmail.com>
16870
16871 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16872 Remove.
16873
16874 * nxml/rng-valid.el (rng-validate-mode)
16875 (rng-after-change-function, rng-do-some-validation):
16876 * nxml/rng-maint.el (rng-validate-buffer):
16877 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16878 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16879 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16880 (nxml-extend-after-change-region): Use with-silent-modifications.
16881
16882 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16883 timer-idle-list.
16884
16885 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16886 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16887 timer-idle-list. (Bug#13999)
16888
16889 2013-03-23 Juri Linkov <juri@jurta.org>
16890
16891 * info.el (info-index-match): New face.
16892 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16893 main pattern and add text properties with the new face to matches
16894 in index entries relative to the beginning of the index entry.
16895 (Bug#14015)
16896
16897 2013-03-21 Eric Ludlam <zappo@gnu.org>
16898
16899 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16900 Inhibit read only while inserting objects.
16901
16902 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16903
16904 * progmodes/cfengine.el: Update docs to mention
16905 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16906 symbol motion. Remove "_" from the word syntax.
16907
16908 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16909
16910 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16911 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16912
16913 2013-03-20 Juri Linkov <juri@jurta.org>
16914
16915 * info.el (Info-next-reference-or-link)
16916 (Info-prev-reference-or-link): New functions.
16917 (Info-next-reference, Info-prev-reference): Use them.
16918 (Info-try-follow-nearest-node): Handle footnote navigation.
16919 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16920
16921 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16922
16923 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16924 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16925
16926 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16927
16928 Suppress unnecessary non-ASCII chatter during build process.
16929 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16930 (batch-skkdic-convert): Suppress most of the chatter.
16931 It's not needed so much now that machines are faster,
16932 and its non-ASCII component was confusing; see Dmitry Gutov in
16933 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16934
16935 2013-03-20 Leo Liu <sdl.web@gmail.com>
16936
16937 * ido.el (ido-chop): Fix bug#10994.
16938
16939 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16940
16941 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16942 Remove vars.
16943 (whitespace-color-on, whitespace-color-off):
16944 Use `font-lock-fontify-buffer' (Bug#13817).
16945
16946 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16947
16948 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16949 remapping in mode-line.
16950 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16951
16952 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16953
16954 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16955 value for `whitespace-line' face (Bug#13875).
16956 (whitespace-font-lock-keywords): Change description.
16957 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16958 the constructed keywords instead.
16959 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16960
16961 2013-03-19 Leo Liu <sdl.web@gmail.com>
16962
16963 * progmodes/compile.el (compilation-display-error): New command.
16964 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16965 C-o. (Bug#13992)
16966
16967 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16968
16969 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16970
16971 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16972
16973 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16974
16975 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16976
16977 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16978
16979 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16980 * net/tramp-gvfs.el (top):
16981 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16982 (tramp-handle-shell-command): Use it.
16983 (tramp-dissect-file-name): Raise an error when hostname is a
16984 method name, and neither method nor user is specified.
16985
16986 * net/trampver.el: Update release number.
16987
16988 2013-03-18 Leo Liu <sdl.web@gmail.com>
16989
16990 Make sure eldoc can be turned off properly.
16991 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16992 eldoc-mode.
16993 (eldoc-display-message-p): Revert last change.
16994 (eldoc-display-message-no-interference-p)
16995 (eldoc-print-current-symbol-info): Tweak.
16996
16997 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16998
16999 * doc-view.el (doc-view-new-window-function): Check the new window
17000 overlay's display property instead the char property of the
17001 buffer's first char. Use `with-selected-window' instead of
17002 `save-window-excursion' with `select-window'.
17003 (doc-view-document->bitmap): Check the current doc-view overlay's
17004 display property instead the char property of the buffer's first char.
17005
17006 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
17007
17008 Automate the build of ja-dic.el (Bug#13984).
17009 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17010 from the input, rather than assume that it's been done for us by the
17011 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
17012 the current date into a ja-dic.el comment, as that complicates
17013 regression testing.
17014
17015 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17016
17017 * whitespace.el: Fix double evaluation.
17018 (whitespace-space, whitespace-hspace, whitespace-tab)
17019 (whitespace-newline, whitespace-trailing, whitespace-line)
17020 (whitespace-space-before-tab, whitespace-indentation)
17021 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17022 obsolete defvars.
17023 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17024 (whitespace-color-on): Use a single font-lock-add-keywords call.
17025 Fix double-evaluation of face variables.
17026
17027 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
17028
17029 * net/tramp-adb.el (tramp-adb-parse-device-names):
17030 Use `start-process' instead of `call-process'. Otherwise, the
17031 function might be blocked under MS Windows. (Bug#13299)
17032
17033 2013-03-17 Leo Liu <sdl.web@gmail.com>
17034
17035 Extend eldoc to display info in the mode-line. (Bug#13978)
17036 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17037 (eldoc-mode-line-string): New variable.
17038 (eldoc-minibuffer-message): New function.
17039 (eldoc-message-function): New variable.
17040 (eldoc-message): Use it.
17041 (eldoc-display-message-p)
17042 (eldoc-display-message-no-interference-p):
17043 Support eldoc-post-insert-mode.
17044
17045 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17046 (eval-expression): Run it.
17047
17048 2013-03-17 Roland Winkler <winkler@gnu.org>
17049
17050 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17051 strings in the list of return values.
17052
17053 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17054
17055 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17056 radix before checking for HMS forms.
17057
17058 2013-03-16 Leo Liu <sdl.web@gmail.com>
17059
17060 * progmodes/scheme.el: Add indentation and font-locking for λ.
17061 (Bug#13975)
17062
17063 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17064
17065 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17066 token before point (bug#13942).
17067
17068 2013-03-16 Leo Liu <sdl.web@gmail.com>
17069
17070 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17071
17072 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17073
17074 * startup.el (command-line-normalize-file-name): Fix handling of
17075 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17076 <xfq.free@gmail.com> in
17077 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17078
17079 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17080
17081 Sync with Tramp 2.2.7.
17082
17083 * net/trampver.el: Update release number.
17084
17085 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17086
17087 * doc-view.el: Fix bug#13887.
17088 (doc-view-insert-image): Don't modify overlay associated to
17089 non-live windows, and implement horizontal centering of image in
17090 case it's smaller than the window.
17091 (doc-view-new-window-function): Force redisplay of new windows on
17092 doc-view buffers.
17093
17094 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17095
17096 * saveplace.el (save-place-alist-to-file): Don't sort
17097 `save-place-alist', just pretty-print it (bug#13882).
17098
17099 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17100
17101 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17102 Check whether `default-file-name-coding-system' is bound.
17103 It isn't in XEmacs.
17104
17105 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17106
17107 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17108 backquotes for `obsolete' (bug#13929).
17109
17110 * international/mule.el (find-auto-coding): Include file name in
17111 obsolescence warning (bug#13922).
17112
17113 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17114
17115 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17116 for CFEngine 3-specific indentation.
17117 (cfengine3-indent-line): Use it. Fix up category regex.
17118 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17119
17120 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17121
17122 * type-break.el (type-break-file-name):
17123 * textmodes/remember.el (remember-data-file):
17124 * strokes.el (strokes-file):
17125 * shadowfile.el (shadow-initialize):
17126 * saveplace.el (save-place-file):
17127 * ps-bdf.el (bdf-cache-file):
17128 * progmodes/idlwave.el (idlwave-config-directory):
17129 * net/quickurl.el (quickurl-url-file):
17130 * international/kkc.el (kkc-init-file-name):
17131 * ido.el (ido-save-directory-list-file):
17132 * emulation/viper.el (viper-custom-file-name):
17133 * emulation/vip.el (vip-startup-file):
17134 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17135 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17136
17137 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17138
17139 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17140 * language/thai-word.el: Switch to UTF-8.
17141
17142 See ChangeLog.16 for earlier changes.
17143
17144 ;; Local Variables:
17145 ;; coding: utf-8
17146 ;; End:
17147
17148 Copyright (C) 2011-2014 Free Software Foundation, Inc.
17149
17150 This file is part of GNU Emacs.
17151
17152 GNU Emacs is free software: you can redistribute it and/or modify
17153 it under the terms of the GNU General Public License as published by
17154 the Free Software Foundation, either version 3 of the License, or
17155 (at your option) any later version.
17156
17157 GNU Emacs is distributed in the hope that it will be useful,
17158 but WITHOUT ANY WARRANTY; without even the implied warranty of
17159 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17160 GNU General Public License for more details.
17161
17162 You should have received a copy of the GNU General Public License
17163 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.