Improve performance of &key parsing
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-24 Daniel Colascione <dancol@dancol.org>
2
3 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
4 instead of cl-loop search function.
5
6 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
7
8 * calendar/parse-time.el (parse-time-iso8601-regexp)
9 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
10 it more generally.
11
12 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
13
14 * net/dns.el (network-interface-list): Define for XEmacs.
15
16 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
17
18 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
19 the network interfaces changed.
20 (dns-query): Use it to flush the data.
21
22 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
23
24 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
25
26 2014-03-23 Daniel Colascione <dancol@dancol.org>
27
28 Change subword-mode to use `find-word-boundary-function-table' and
29 replace `capitalized-words-mode'. Also, convert to lexical
30 binding.
31
32 * progmodes/cap-words.el: Delete now-obsolete file.
33 * progmodes/subword.el: Reimplement using
34 `find-word-boundary-function-table'.
35 (subword-mode-map): Hollow out.
36 (capitalized-words-mode): Define as obsolete alias for
37 `subword-mode'.
38 (subword-mode,superword-mode): Tweak documentation to reflect new
39 implementation; call `subword-setup-buffer'.
40 (subword-forward,subword-capitalize): Add underscore to indicate
41 unused variable.
42 (subword-find-word-boundary-function-table): New constant.
43 (subword-empty-char-table): New constant.
44 (subword-setup-buffer): New function.
45 (subword-find-word-boundary): New function.
46
47 2014-03-23 Daniel Colascione <dancol@dancol.org>
48
49 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
50 list to look for keyword arguments instead of `memq', fixing
51 (Bug#3647) --- unfortunately, only for freshly-compiled code.
52 Please make bootstrap.
53
54 2014-03-22 Glenn Morris <rgm@gnu.org>
55
56 * dired.el (dired-read-regexp): Make obsolete.
57 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
58 (dired-flag-files-regexp):
59 * dired-aux.el (dired-mark-read-regexp):
60 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
61
62 * startup.el (fancy-startup-text):
63 * help.el (describe-gnu-project): Visit online info about GNU project.
64
65 * help-fns.el (help-fns--interactive-only): New function.
66 (help-fns-describe-function-functions): Add the above function.
67 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
68 (next-line, previous-line): Remove hand-written interactive-only
69 information from doc strings, it is auto-generated now.
70 * bookmark.el (bookmark-write):
71 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
72 (epa-mail-import-keys): Mark interactive-only,
73 and remove hand-written interactive-only information from doc strings.
74 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
75 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
76 * files.el (not-modified):
77 * simple.el (mark-whole-buffer): Mark interactive-only.
78
79 * emacs-lisp/byte-run.el (defun-declarations-alist):
80 Add interactive-only. Doc tweak.
81 (macro-declarations-alist): Doc tweak.
82 * subr.el (declare): Doc tweak (add xref to manual).
83 * comint.el (comint-run):
84 * files.el (insert-file-literally, insert-file):
85 * replace.el (replace-string, replace-regexp):
86 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
87 (delete-forward-char, goto-line, insert-buffer, next-line)
88 (previous-line): Set interactive-only via declare.
89
90 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
91
92 * emacs-lisp/package.el (package-desc): Use the contents of the
93 quoted form, not its cdr. (Bug#16873)
94
95 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
96
97 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
98 benefit of doc.c; change parameter profile to match the X function.
99
100 2014-03-22 Leo Liu <sdl.web@gmail.com>
101
102 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
103 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
104
105 2014-03-21 Richard Stallman <rms@gnu.org>
106
107 * battery.el (battery-linux-sysfs): Search for each field
108 from the beginning of the buffer.
109
110 * subr.el (set-transient-map): Clear out function and value
111 of the temporary symbol when we're done with it.
112
113 * mail/rmailsum.el (rmail-summary-delete-forward):
114 Optimize case of reaching end and handling count.
115 (rmail-summary-mark-deleted): Optimize when N is current msg.
116 Don't create new summary line.
117 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
118 (rmail-summary-undelete-many): Rewrite for speed.
119 (rmail-summary-msg-number): New function.
120
121 * mail/rmail.el (rmail-delete-message): Update summary.
122 (rmail-undelete-previous-message): Handle repeat count arg.
123 (rmail-delete-backward, rmail-delete-forward): Likewise.
124
125 2014-03-21 Daniel Colascione <dancol@dancol.org>
126
127 * mail/emacsbug.el (report-emacs-bug): Include memory usage
128 information in bug reports.
129
130 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
131
132 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
133 and `tramp-copy-env'.
134
135 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
136 (tramp-maybe-open-connection): Handle `tramp-login-env'.
137
138 2014-03-21 Glenn Morris <rgm@gnu.org>
139
140 * electric.el (electric-indent-post-self-insert-function): Add doc.
141
142 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
143
144 * emacs-lisp/package.el (package-compute-transaction):
145 Use `version-list-<=' to compare the requirement version against
146 the version of package already to be installed. Update the error
147 message. (Bug#16826)
148
149 * progmodes/ruby-mode.el (ruby-smie-rules):
150 Add indentation rule for ` @ '. (Bug#17050)
151
152 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
153
154 * align.el (align-regexp): Remove superfluous backslash.
155
156 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
157 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
158 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
159 Fix docstring typos.
160 (ffap-next): Use C-u in docstring.
161 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
162 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
163 Remove superfluous backslashes.
164 (ffap-string-at-point): Reflow docstring.
165
166 * server.el (server-host): Reflow docstring.
167 (server-unload-function): Fix docstring typo.
168 (server-eval-at): Remove superfluous backslash.
169
170 * skeleton.el (skeleton-insert): Remove superfluous backslash.
171 (skeleton-insert): Doc fix.
172 (skeleton-insert): Reflow docstring.
173
174 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
175 (tty-color-approximate, tty-color-by-index, tty-color-values)
176 (tty-color-desc): Remove superfluous backslashes.
177
178 2014-03-21 Glenn Morris <rgm@gnu.org>
179
180 * cus-start.el (history-length): Bump :version.
181
182 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
183 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
184 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
185 Don't set `make-backup-files'.
186
187 * info.el (info--prettify-description): New function,
188 to give info-finder descriptions consistent case, punctuation.
189 (Info-finder-find-node): Use it. Sort packages.
190 Refer to "description" rather than "commentary".
191
192 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
193
194 * frameset.el (frameset--print-register): New function.
195 (frameset-to-register): Use it.
196
197 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
198
199 * progmodes/hideif.el (hif-string-to-number): New function.
200 (hif-tokenize): Use it to understand non-decimal floats.
201
202 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
203
204 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
205
206 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * electric.el (electric-newline-and-maybe-indent): New command.
209 Bind it globally to C-j.
210 (electric-indent-mode): Don't mess with the global map any more.
211 Don't drop the post-self-insert-hook is some buffer is still using it
212 (bug#16770).
213 * bindings.el (global-map): Remove C-j binding.
214
215 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
216 the docstring of functions advised before dumping (bug#16993).
217
218 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
219
220 * ps-print.el (ps-generate-postscript-with-faces):
221 Explicitly deactivate the mark (bug#16866).
222 * simple.el (deactivate-mark): Update region highlight.
223
224 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
225
226 * emacs-lisp/package.el (describe-package-1):
227 Decode commentary (bug#16733).
228
229 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
230
231 * custom.el (defcustom): Doc fix: recommend avoiding destructive
232 modification of the value argument of :set (bug#16755).
233
234 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * simple.el (newline-and-indent): Do autofill (bug#17031).
237
238 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
239
240 * newcomment.el (comment-normalize-vars): Only add escaping check
241 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
242 (comment-beginning): Use `narrow-to-region' instead of moving back
243 one character.
244 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
245 (comment-start-skip): Update the docstring.
246
247 2014-03-18 Richard Stallman <rms@gnu.org>
248
249 * dired.el (dired-display-file): Force use of other window.
250
251 2014-03-18 Daniel Colascione <dancol@dancol.org>
252
253 * startup.el (tty-handle-args): Remove debug message from 2007.
254
255 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
258 (advice--make-interactive-form): Use it to avoid (auto)loading function.
259 (advice--make-1, advice-add, advice-remove):
260 Remove braindead :advice-pending hack.
261
262 2014-03-17 Glenn Morris <rgm@gnu.org>
263
264 * calendar/calendar.el (calendar-generate-month): Apply weekend
265 face to the right days; fixes 2013-08-06 change. (Bug#17028)
266
267 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
268
269 * net/tramp.el (tramp-action-out-of-band): Read pending output.
270 (tramp-call-process): Trace also DESTINATION.
271
272 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
273 Quote file names when they are local. Remove superfluous trace.
274
275 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
276
277 * newcomment.el (comment-beginning): If `comment-start-skip'
278 doesn't match, move back one char and try again. (Bug#16971)
279
280 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
281 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
282 Set `comment-start-skip' to a simpler value that doesn't try to
283 check if the semicolon is escaped (this is handled by
284 `syntax-ppss' now). (Bug#16971)
285
286 * progmodes/scheme.el (scheme-mode-variables): Same.
287
288 2014-03-16 Martin Rudalics <rudalics@gmx.at>
289
290 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
291 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
292 current (Bug#16816, Bug#17007).
293 (with-current-buffer-window): New macro doing the same as
294 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
295 * help.el (help-print-return-message): Warn in doc-string to not
296 use this in `with-help-window'.
297 (describe-bindings-internal): Call `describe-buffer-bindings'
298 from within help buffer. See Juanma's scenario in (Bug#16816).
299 (with-help-window): Update doc-string.
300 * dired.el (dired-mark-pop-up):
301 * files.el (save-buffers-kill-emacs):
302 * register.el (register-preview): Use `with-current-buffer-window'
303 instead of `with-temp-buffer-window'.
304
305 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
306
307 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
308 Implement inserting into current buffer, documented in their docstrings.
309 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
310 (rst-section-tree-point, rst-forward-section, rst-indent)
311 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
312 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
313 (rst-font-lock-handle-adornment-pre-match-form)
314 (rst-repeat-last-character): Reflow docstrings.
315 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
316 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
317 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
318 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
319 Fix docstring typos.
320 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
321 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
322 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
323
324 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
325
326 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
327 for compatibility with other ports.
328 (ns-initialize-window-system): Use it. It is set in term/common-win.el
329 from the -xrm command line argument, but in the Nextstep port its value
330 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
331
332 * progmodes/python.el (defconst, python-syntax-count-quotes)
333 (python-indent-region, python-indent-shift-right)
334 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
335 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
336 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
337 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
338 (inferior-python-mode, python-shell-make-comint, run-python-internal)
339 (python-shell-buffer-substring, python-shell-send-buffer)
340 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
341 (python-completion-complete-at-point, python-fill-docstring-style)
342 (python-eldoc-function, python-imenu-format-item-label)
343 (python-imenu-format-parent-item-label)
344 (python-imenu-format-parent-item-jump-label)
345 (python-imenu--build-tree, python-imenu-create-index)
346 (python-imenu-create-flat-index): Fix docstring typos.
347 (python-indent-context, python-shell-prompt-regexp, run-python):
348 Remove superfluous backslashes.
349 (python-indent-line, python-nav-beginning-of-defun)
350 (python-shell-get-buffer, python-shell-get-process)
351 (python-info-current-defun, python-info-current-line-comment-p)
352 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
353 (python-indent-post-self-insert-function, python-shell-send-file)
354 (python-shell-completion-get-completions)
355 (python-shell-completion-complete-or-indent)
356 (python-eldoc--get-doc-at-point): Reflow docstrings.
357
358 2014-03-14 Glenn Morris <rgm@gnu.org>
359
360 * emacs-lisp/package.el (package-menu-mode-map):
361 Replace use of obsolete function alias. Tweak menu item text.
362
363 * info.el (Info-finder-find-node):
364 Ignore the `emacs' metapackage. (Bug#10813)
365
366 * finder.el (finder-list-matches): Include unversioned packages
367 in the result of a keyword search.
368
369 * finder.el (finder--builtins-descriptions): New constant.
370 (finder-compile-keywords): Use finder--builtins-descriptions.
371
372 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
373
374 * simple.el (blink-matching-paren): Describe the new value,
375 `jump', enabling the old behavior.
376 (blink-matching-open): Use that value. (Bug#17008)
377
378 2014-03-14 Glenn Morris <rgm@gnu.org>
379
380 * finder.el (finder-no-scan-regexp): Add leim-list.
381 (finder-compile-keywords):
382 Don't skip files with same basename. (Bug#14010)
383 * Makefile.in (setwins_finder): New, excluding leim.
384 (finder-data): Use setwins_finder.
385
386 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
387 (help-function-arglist, help-make-usage): Move from here...
388 * help.el (help-split-fundoc, help-add-fundoc-usage)
389 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
390 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
391
392 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
393
394 * net/socks.el (socks, socks-override-functions)
395 (socks-find-services-entry):
396 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
397 (hif-find-ifdef-block):
398 * progmodes/modula2.el (m2-indent): Fix docstring typos.
399
400 * net/tls.el (tls-program): Reflow docstring.
401
402 * progmodes/pascal.el (pascal-mode-abbrev-table)
403 (pascal-imenu-generic-expression, pascal-auto-endcomments)
404 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
405 (pascal-outline-mode): Fix docstring typos.
406 (pascal-mode): Let define-derived-mode document mode hook.
407 (pascal-uncomment-area): Reflow.
408 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
409
410 * progmodes/opascal.el (opascal-compound-block-indent)
411 (opascal-case-label-indent): Fix docstring typos.
412 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
413
414 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
415
416 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
417 Fontify multiple adjacent negation chars. (Bug#17004)
418
419 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
420
421 * emacs-lisp/package.el (package--prepare-dependencies):
422 Accept requirements without explicit version (bug#14941).
423
424 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
425
426 * register.el (register-separator, copy-to-register): Doc fixes.
427 (register-preview-default): Remove unnecessary call to concat.
428
429 * frameset.el (frameset-restore): When checking for a visible frame,
430 use the action map instead of calling visible-frame-list.
431
432 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
433
434 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
435
436 2014-03-12 Martin Rudalics <rudalics@gmx.at>
437
438 * window.el (fit-frame-to-buffer): Get maximum width from
439 display's width instead of height.
440
441 2014-03-12 Glenn Morris <rgm@gnu.org>
442
443 * desktop.el (desktop-restore-frames)
444 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
445 (desktop-restore-reuses-frames): Doc tweaks.
446
447 * electric.el (electric-indent-mode): Doc fix.
448
449 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
450
451 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
452 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
453 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
454 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
455 (cvs-dired-use-hook): Fix docstring typos.
456 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
457 Doc fixes.
458
459 * vc/pcvs-defs.el (cvs-auto-remove-handled)
460 (cvs-auto-remove-directories, cvs-default-ignore-marks)
461 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
462 (cvs-execute-single-dir): Fix docstring typos.
463
464 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
465 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
466
467 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
468
469 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
470 Fix docstring typos.
471
472 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
473
474 * frameset.el (frameset--jump-to-register): Add autoload; it could be
475 called from jump-to-register after unloading the frameset package.
476
477 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
480 (bug#16975). Deactivate the mark before setting it to nil.
481 (activate-mark): Do nothing if region is already active.
482
483 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
484
485 * frameset.el (frameset--target-display): Remove definition; declare.
486 (frameset-save, frameset-restore): Let-bind frameset--target-display.
487
488 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
489
490 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
491 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
492 when the advice is pending.
493 (advice-remove): Remove this marker when not needed any more.
494
495 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
496
497 * frameset.el: Separate options for reusing frames and cleaning up.
498 (frameset--reuse-list): Remove definition; declare.
499 (frameset--action-map): Declare.
500 (frameset--find-frame-if): Doc fix.
501 (frameset--restore-frame): Cache frame action.
502 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
503 how to clean up the frame list after restoring. Remove cleaning
504 options from REUSE-FRAMES. Change all keyword values to symbols.
505 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
506
507 * desktop.el (desktop-restore-forces-onscreen)
508 (desktop-restore-reuses-frames): Use non-keyword values.
509 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
510
511 2014-03-10 Glenn Morris <rgm@gnu.org>
512
513 * files.el (find-file): Doc fix: update info node name.
514
515 * emacs-lisp/advice.el (ad-add-advice, defadvice):
516 Doc fix: remove references to deleted info nodes.
517
518 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
519
520 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
521 Do not add `nil' to the environment, when there's no remote `locale'.
522 (tramp-find-inline-encoding): Check, that the remote host has
523 installed perl, before sending scripts.
524
525 2014-03-10 Leo Liu <sdl.web@gmail.com>
526
527 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
528 Clear eldoc-last-message. (Bug#16920)
529
530 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
533 (bug#14430).
534
535 2014-03-09 Juri Linkov <juri@jurta.org>
536
537 * ansi-color.el (ansi-color-names-vector): Copy default colors
538 from `xterm-standard-colors' that look well on the default white
539 background (and also on the black background) to avoid illegible
540 color combinations like yellow-on-white and white-on-white.
541 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
542
543 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
544
545 * frameset.el (frameset-restore): When no frame is visible, do not
546 generate a list of frames, just make visible the selected one.
547
548 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
549
550 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
551 it only contains the repository root. (Bug#16897)
552
553 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
554
555 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
556 only when `remote-file-name-inhibit-cache' is nil.
557 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
558
559 2014-03-06 Martin Rudalics <rudalics@gmx.at>
560
561 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
562 Fix doc-strings.
563 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
564 fit-frame-to-buffer variable. Fix doc-string.
565 (fit-window-to-buffer): Set ONLY argument in call of
566 fit-frame-to-buffer. Fix doc-string.
567
568 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
569
570 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
571 (tramp-action-password): Clear password cache if needed.
572 (tramp-read-passwd): Do not clear password cache.
573
574 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
575 cache unless it is the first password request.
576
577 2014-03-06 Glenn Morris <rgm@gnu.org>
578
579 * simple.el (newline): Doc tweak.
580
581 * emacs-lisp/shadow.el (load-path-shadows-find):
582 Ignore dir-locals. (Bug#12357)
583
584 2014-03-05 Glenn Morris <rgm@gnu.org>
585
586 * files.el (interpreter-mode-alist):
587 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
588
589 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
590
591 * frameset.el (frameset--initial-params): Filter out null entries.
592
593 2014-03-05 Martin Rudalics <rudalics@gmx.at>
594
595 * window.el (window-min-height, window-min-width):
596 Rewrite doc-strings.
597 (window-body-size): Add PIXELWISE argument to make it consistent
598 with its callees.
599
600 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
601
602 * finder.el (finder-mode-map, finder-mode-syntax-table):
603 Revert part of 2014-02-28 change.
604
605 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
606
607 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
608 (eww-setup-buffer): Clear next/prev/etc more reliably.
609 (eww-textarea-map): [tab] doesn't work on tty.
610 Reported by Mario Lang.
611
612 * net/shr.el (shr-map): Ditto.
613
614 2014-03-04 Glenn Morris <rgm@gnu.org>
615
616 * minibuffer.el (completion-hilit-commonality):
617 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
618
619 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
620
621 * hilit-chg.el (hilit-chg-unload-function): New function.
622 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
623 (hilit-chg-map-changes): Prefer cardinal number to digit.
624 (hilit-chg-display-changes): Reflow docstring.
625 (highlight-changes-rotate-faces): Remove superfluous backslash.
626
627 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
628
629 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
630 `tramp-send-command-and-check'.
631
632 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
633
634 * hexl.el (hexl-address-region, hexl-ascii-region)
635 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
636 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
637 (hexl-forward-word, hexl-previous-line, hexl-next-line):
638 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
639 (hexl-mode): Doc fix.
640 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
641 (hexl-mode-ruler): Fix typos in docstrings.
642
643 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
644 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
645 Remove superfluous backslashes.
646 (strokes-last-stroke, strokes-global-map, strokes-mode):
647 Reflow docstrings.
648 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
649 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
650 (strokes-distance-squared, strokes-global-set-stroke)
651 (strokes-global-set-stroke-string): Doc fixes.
652 (strokes-help): Fix typos; reflow docstring.
653
654 2014-03-04 Martin Rudalics <rudalics@gmx.at>
655
656 * window.el (window-in-direction): Fix doc-string.
657
658 2014-03-04 Glenn Morris <rgm@gnu.org>
659
660 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
661 Explicit error if no grammar.
662 (smie-config-save): Doc fix. Fix quote typo.
663
664 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
667 electric-indent-mode-hook if we obey electric-indent-mode.
668 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
669 decide whether we obey electric-indent-mode.
670 (c-change-set-fl-decl-start, c-extend-after-change-region):
671 Silence warnings.
672 (c-electric-indent-mode-hook): Assume we do want to obey
673 electric-indent-mode.
674
675 * electric.el (electric-indent-mode-has-been-called): Remove.
676 (electric-indent-mode): Fix accordingly.
677
678 * files.el (hack-local-variables): Mention file name in warning.
679
680 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
681
682 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
683
684 * binding.el: Add comment describing why C-d binds to `delete-char'.
685 * simple.el (delete-forward-char): Mark as interactive-only.
686
687 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
688
689 * icomplete.el (icomplete-completions):
690 Follow-up to 2014-03-01 change.
691
692 * icomplete.el: Miscellaneous doc fixes.
693 Use Icomplete everywhere instead of icomplete for consistency.
694 (icomplete-max-delay-chars): Fix typo.
695 (icomplete-mode): Use \[].
696 (icomplete-tidy, icomplete-exhibit): Reflow.
697 (icomplete-minibuffer-setup-hook, icomplete-completions):
698 Remove superfluous backlashes.
699
700 * ido.el: Miscellaneous doc fixes.
701 Use Ido everywhere instead of ido or `ido' for consistency.
702 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
703 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
704 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
705 (ido-separator): Extract obsolescence info from docstring and declare
706 with make-obsolete-variable.
707 (ido-minibuffer-setup-hook): Simplify example.
708 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
709 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
710 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
711 (ido-everywhere): Reflow docstring.
712 (ido-toggle-vc): Doc fix.
713 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
714 of long list of keybindings.
715
716 2014-03-03 Glenn Morris <rgm@gnu.org>
717
718 * frame.el (display-pixel-height, display-pixel-width)
719 (display-mm-dimensions-alist, display-mm-height)
720 (display-mm-width): Doc tweaks.
721
722 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
723
724 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
725 case of undo in region.
726
727 2014-03-02 Martin Rudalics <rudalics@gmx.at>
728
729 * window.el (fit-window-to-buffer): Fix argument in window-size
730 call when window is horizontally combined.
731
732 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
733
734 * icomplete.el (icomplete-completions): Use string-width.
735 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
736
737 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
738
739 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
740 Highlight regexp options. (Bug#16914)
741
742 2014-03-01 Martin Rudalics <rudalics@gmx.at>
743
744 * window.el (window--max-delta-1): Round down when calculating
745 how many lines/columns we can get from a window.
746
747 2014-03-01 Glenn Morris <rgm@gnu.org>
748
749 * isearch.el (search-invisible): Doc fix.
750
751 * minibuffer.el (completion-hilit-commonality):
752 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
753 * comint.el (comint-dynamic-list-completions): Doc fix.
754 * comint.el (comint-dynamic-list-completions):
755 * filecache.el (file-cache-minibuffer-complete):
756 * tempo.el (tempo-display-completions):
757 * eshell/em-hist.el (eshell-list-history):
758 Replace use of obsolete argument of display-completion-list.
759
760 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
761
762 * icomplete.el (icomplete-completions):
763 Revert back to using "..." when ?… cannot be displayed.
764
765 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
766
767 * finder.el (finder-unload-function): New function.
768
769 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
770
771 * dframe.el (dframe-detach):
772 * find-dired.el (find-dired, find-name-dired):
773 * finder.el (finder-mode-map, finder-mode-syntax-table)
774 (finder-headmark, finder-select, finder-mouse-select):
775 Fix docstring typos.
776
777 2014-02-28 Martin Rudalics <rudalics@gmx.at>
778
779 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
780 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
781 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
782 Fix doc-string based on a suggestion by Nicolas Richard
783 <theonewiththeevillook@yahoo.fr>.
784 * help.el (with-help-window): Fix doc-string.
785
786 2014-02-28 Ivan Kanis <ivan@kanis.fr>
787
788 * net/shr.el (shr-image-animate): New option.
789 (shr-put-image): Respect shr-image-animate.
790
791 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
792
793 * net/tramp-adb.el (tramp-adb-parse-device-names):
794 Use `accept-process-output'.
795 (tramp-adb-handle-file-truename): Cache the localname only.
796 (tramp-adb-handle-make-directory)
797 (tramp-adb-handle-delete-directory): Flush file properties correctly.
798 (tramp-adb-handle-set-file-modes): Do not raise an error when file
799 modes cannot be changed.
800
801 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
802 file properties of symlinks.
803
804 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
805
806 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
807 required/optional fields to match development biblatex. (Bug#16781)
808
809 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
810
811 * saveplace.el (toggle-save-place):
812 Fix argument handling. (Bug#16673)
813
814 2014-02-28 Glenn Morris <rgm@gnu.org>
815
816 * minibuffer.el (completions-first-difference)
817 (completions-common-part, completion-hilit-commonality): Doc fixes.
818
819 2014-02-28 Karl Berry <karl@gnu.org>
820
821 * info.el (Info-mode-map): Add H for describe-mode,
822 to synchronize with standalone Info.
823
824 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
825
826 * progmodes/sql.el (sql-interactive-mode):
827 Avoid setting global comint-input-ring-separator. (Bug#16814)
828
829 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
830
831 * net/dbus.el (dbus--init-bus): Declare function.
832 (dbus-path-local, dbus-interface-local): New defconst.
833 (dbus-init-bus): Use them.
834 (dbus-return-values-table): Extend doc.
835 (dbus-handle-bus-disconnect): Extend error message.
836
837 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
838
839 * subr.el (y-or-n-p): Fix double space issue in message.
840
841 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
842
843 * net/tramp.el (tramp-call-process): Improve trace message.
844 (tramp-handle-insert-file-contents): Trace error case.
845
846 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
847 <insert-directory>: Use `tramp-handle-insert-directory'.
848 (tramp-adb-handle-insert-directory): Remove function.
849 (tramp-adb-send-command-and-check): New defun, replacing
850 `tramp-adb-command-exit-status'. Change all callees.
851 (tramp-adb-handle-file-attributes)
852 (tramp-adb-handle-directory-files-and-attributes): Use it.
853 (tramp-adb-ls-output-name-less-p):
854 Use `directory-listing-before-filename-regexp'.
855 (tramp-adb-handle-delete-directory): Flush also file properties of
856 the truename of directory.
857 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
858 (tramp-adb-handle-file-local-copy): Make the local copy readable.
859 (tramp-adb-handle-write-region): Implement APPEND.
860 (tramp-adb-handle-rename-file): Make it more robust. Flush file
861 properties correctly.
862 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
863 variables. Check for connected devices only when needed.
864
865 2014-02-27 Glenn Morris <rgm@gnu.org>
866
867 * minibuffer.el (completion-table-dynamic)
868 (completion-table-with-cache): Doc fixes.
869
870 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
871 (completing-read-multiple): Doc fixes.
872
873 2014-02-27 Daniel Colascione <dancol@dancol.org>
874
875 * minibuffer.el (completion--nth-completion): Fix indentation.
876
877 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
878 explicit tramp path is empty.
879
880 2014-02-27 Glenn Morris <rgm@gnu.org>
881
882 * emacs-lisp/crm.el (completing-read-multiple):
883 Empower help-enable-auto-load.
884
885 2014-02-26 Glenn Morris <rgm@gnu.org>
886
887 * startup.el (command-line): Don't init the tty in daemon mode.
888
889 Avoid calling tty-setup-hook twice, eg if a term file
890 explicitly calls tty-run-terminal-initialization. (Bug#16859)
891 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
892 (tty-create-frame-with-faces): Use it.
893 * startup.el (command-line): Pass run-hook argument
894 to tty-run-terminal-initialization.
895
896 * dired.el (dired-restore-desktop-buffer): Demote errors;
897 eg in case a glob match fails. (Bug#16884)
898
899 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
900
901 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
902 error from `read-from-string'. (Bug#16850)
903
904 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
905 result of `completing-read' in the interactive form. (Bug#16854)
906
907 2014-02-25 Glenn Morris <rgm@gnu.org>
908
909 * image.el (image-animate, image-animate-timeout):
910 Stop animating images in dead buffers. (Bug#16878)
911
912 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
913
914 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
915 Doc fixes.
916 * startup.el (term-setup-hook): Doc fix. Make obsolete.
917 * term/sun.el (sun-raw-prefix-hooks):
918 Use tty-setup-hook instead of term-setup-hook.
919 (terminal-init-sun): Construct message from bytecomp plist.
920 * term/wyse50.el (enable-arrow-keys): Doc fix.
921
922 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
923
924 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
925 Fix docstring typos.
926
927 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
928
929 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
930
931 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
932
933 * minibuffer.el (completion--try-word-completion):
934 Fix error when completing M-x commands (bug#16808).
935
936 2014-02-24 Leo Liu <sdl.web@gmail.com>
937
938 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
939
940 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
941
942 * apropos.el (apropos-print): Avoid formatting error when
943 apropos-do-all and apropos-compact-layout are both t.
944
945 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
946
947 * apropos.el (apropos-property, apropos-all-words-regexp)
948 (apropos-true-hit, apropos-variable, apropos-print):
949 Fix docstring typos, and remove obsolete comment.
950
951 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
952
953 * net/tramp-sh.el (tramp-sh-handle-file-truename):
954 Preserve trailing "/". (Bug#16851)
955
956 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
957
958 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
959 after `=>' (bug#16811).
960 (ruby-smie-rules): Handle the inconsistent second element of the
961 list returned by `smie-indent--parent'.
962 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
963 method call.
964
965 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
966
967 * elec-pair.el (electric-pair-text-syntax-table)
968 (electric-pair-syntax-info, electric-pair--syntax-ppss)
969 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
970 (electric-pair--looking-at-unterminated-string-p): Doc fix.
971 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
972
973 2014-02-22 Glenn Morris <rgm@gnu.org>
974
975 * imenu.el (imenu--generic-function): Doc fix.
976
977 * register.el (frame-configuration-to-register): Make obsolete.
978
979 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
980
981 * desktop.el (desktop-save-buffer-p): Do not fail when
982 desktop-files-not-to-save is nil. Return t for true result
983 as the doc says.
984
985 2014-02-22 Daniel Colascione <dancol@dancol.org>
986
987 * net/secrets.el (secrets-create-item, secrets-search-items):
988 Check that attribute values are strings, avoiding the construction
989 of invalid dbus messages.
990
991 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
992
993 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
994 defun-declarations-alist.
995
996 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
999 (bug#16829).
1000
1001 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1002
1003 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1004 (whitespace-newline, whitespace-trailing, whitespace-line)
1005 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1006 (whitespace-space-after-tab): Fix typo in docstrings.
1007
1008 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1009
1010 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1011
1012 * electric.el (electric-indent-functions-without-reindent):
1013 Add `yaml-indent-line'.
1014
1015 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1016
1017 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1018 It has done nothing for years; should be removed after the release.
1019
1020 * simple.el (choose-completion): Fix docstring typo.
1021 (read-quoted-char-radix): Remove unneeded * in docstring.
1022 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1023 Don't escape parentheses unnecessarily in docstrings.
1024
1025 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1026
1027 Fix handling of window-min-height/-width (Bug#16738).
1028 * window.el (window--dump-window, window--dump-frame):
1029 New functions.
1030 (window--min-size-1): Account for window dividers.
1031 When window-resize-pixelwise is nil, delay rounding till after the
1032 sum of the window components has been calculated.
1033 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1034 nil make sure at least one text line and two text columns remain
1035 fully visible.
1036 (window-resize): Signal an error when window-resize-apply fails.
1037 (window--resize-child-windows): Fix calculation of by how many
1038 pixels a window can still be shrunk via window-new-normal.
1039 (adjust-window-trailing-edge): Call window--resizable with
1040 correct TRAIL argument.
1041
1042 (with-temp-buffer-window): Don't evaluate BODY within
1043 with-current-buffer (Bug#16816).
1044
1045 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1046
1047 * net/tramp.el (tramp-check-cached-permissions):
1048 Call `file-attributes' with `suffix' being a symbol but a string.
1049
1050 2014-02-21 Daniel Colascione <dancol@dancol.org>
1051
1052 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1053 (dbus-init-bus): New function: call into dbus-init-bus-1
1054 and installs a handler for the disconnect signal.
1055 (dbus-call-method): Rewrite to look for result in cons.
1056 (dbus-call-method-handler): Store result in cons.
1057 (dbus-check-event): Recognize events with nil sender as valid.
1058 (dbus-handle-bus-disconnect): New function. React to bus
1059 disconnection signal by synthesizing dbus error for each
1060 pending synchronous or asynchronous call.
1061 (dbus-notice-synchronous-call-errors): New function.
1062 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1063 is true, not all the time.
1064
1065 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1066
1067 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1068 Remove obsolescence declarations, these variables do not exist anymore.
1069
1070 * savehist.el (savehist-save-minibuffer-history)
1071 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1072 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1073 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1074 mostly, refer to "Savehist mode" when talking about the mode,
1075 and not the function.
1076
1077 * saveplace.el (save-place): Remove redundant info in docstring.
1078 (save-place-forget-unreadable-files, toggle-save-place)
1079 (save-place-forget-unreadable-files, save-place-dired-hook):
1080 Fix typos and remove unneeded backslashes.
1081
1082 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1083
1084 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1085 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1086
1087 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1088 <insert-directory>: Use `tramp-handle-insert-directory'.
1089 (tramp-gvfs-handle-insert-directory): Remove function.
1090
1091 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1092 Call `tramp-handle-insert-directory'.
1093
1094 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1095
1096 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1097 before the start of buffer/region (bug#16799).
1098
1099 2014-02-20 Glenn Morris <rgm@gnu.org>
1100
1101 * isearch.el (search-invisible): Doc fix.
1102
1103 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1104
1105 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1106 (bug#16657).
1107
1108 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1109
1110 * frameset.el (frameset-restore): Delay removing an old frame's
1111 duplicate id until the new frame has been correctly created.
1112
1113 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1114
1115 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1116 (tramp-check-cached-permissions): Call `file-attributes' if the
1117 cache is empty.
1118
1119 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1120 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1121
1122 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1123 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1124 (tramp-gvfs-maybe-open-connection): Set always connection
1125 properties, even if target is mounted already.
1126
1127 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1128 Set tramp-autoload cookie.
1129 (tramp-get-remote-touch): New defun.
1130 (tramp-sh-handle-set-file-times): Use it.
1131 (tramp-sh-handle-directory-files-and-attributes):
1132 Use `tramp-handle-directory-files-and-attributes' if neither stat
1133 nor perl are available on the remote host.
1134
1135 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1136 "/". Write long listing only when "l" belongs to the switches.
1137
1138 * net/trampver.el: Update release number.
1139
1140 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1141
1142 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1143
1144 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1145
1146 * window.el (window-state-put): Allow WINDOW to refer to an
1147 internal window (Bug#16793).
1148
1149 2014-02-19 Glenn Morris <rgm@gnu.org>
1150
1151 * textmodes/remember.el: Move provide statement to end.
1152 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1153 (remember-notes): Doc fixes.
1154
1155 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1156
1157 * delsel.el (delete-char): Restore incorrectly erased property
1158 (bug#16795).
1159
1160 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1161
1162 * frameset.el (frameset--restore-frame): When a frame is being reused
1163 and its root window is not alive, delete all the frame's windows before
1164 restoring the window state. This works around the issue in bug#16793.
1165
1166 2014-02-18 Glenn Morris <rgm@gnu.org>
1167
1168 * textmodes/remember.el (remember-data-directory)
1169 (remember-directory-file-name-format, remember-store-in-files)
1170 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1171 (remember-notes-save-and-bury-buffer)
1172 (remember-notes--kill-buffer-query): Doc fixes.
1173
1174 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1175
1176 2014-02-17 Alan Mackenzie <acm@muc.de>
1177
1178 Connect electric-indent-mode up with CC Mode. Bug #15478.
1179 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1180 to electric-indent-{,local-}-mode.
1181 (c-basic-common-init): Set electric-indent-inhibit.
1182 Initialise c-electric-flag from electric-indent-mode.
1183 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1184 New hook functions which propagate electric-indent-mode to CC mode.
1185
1186 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1187 hit, toggle electric-indent-local-mode.
1188
1189 * electric.el (electric-indent-mode-has-been-called):
1190 New variable.
1191
1192 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1193
1194 * frameset.el (frameset-cfg-id): New function.
1195 (frameset--reuse-frame, frameset-restore): Use it.
1196 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1197
1198 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * ido.el (ido-file-internal): Remove unused var `d'.
1201 Use \` for to match BoS. Fit within 80n columns.
1202
1203 2014-02-17 Daniel Colascione <dancol@dancol.org>
1204
1205 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1206 dbus-call-method check for completion using a busy-wait loop with
1207 gradual backoff.
1208
1209 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1210
1211 Sync with Tramp 2.2.9.
1212
1213 * net/trampver.el: Update release number.
1214
1215 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1216
1217 * ido.el (ido-file-internal): Don't add the name of an existing
1218 directory twice. (Bug#16747)
1219
1220 2014-02-16 Glenn Morris <rgm@gnu.org>
1221
1222 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1223 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1224
1225 2014-02-15 Michael R. Mauger <michael@mauger.com>
1226
1227 * progmodes/sql.el: Version 3.4
1228 (sql-oracle-options): New default value ("-L").
1229 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1230 (sql-placeholders-filter): Correct placeholder pattern.
1231 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1232 (sql-login-delay): New variable.
1233 (sql-product-interactive): Use it.
1234
1235 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1236
1237 * frameset.el (frameset--jump-to-register): Check that buffer is live
1238 (bug#16749).
1239
1240 2014-02-15 Glenn Morris <rgm@gnu.org>
1241
1242 * info.el (info-initialize): Revert 2014-01-10 change.
1243
1244 2014-02-14 Glenn Morris <rgm@gnu.org>
1245
1246 * replace.el (map-query-replace-regexp)
1247 (read-regexp-defaults-function, read-regexp): Doc fixes.
1248
1249 * dired.el (dired-read-regexp):
1250 * faces.el (list-faces-display):
1251 * misearch.el (multi-isearch-read-matching-buffers)
1252 (multi-isearch-read-matching-files):
1253 * play/cookie1.el (cookie-apropos):
1254 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1255
1256 * textmodes/remember.el (remember): Use frameset-to-register
1257 rather than frame-configuration-to-register.
1258
1259 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1260
1261 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1262 incorrect keybinding.
1263
1264 2014-02-13 Daniel Colascione <dancol@dancol.org>
1265
1266 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1267 when adding overlays so that line numbers from compiler match line
1268 numbers we use.
1269
1270 2014-02-13 Glenn Morris <rgm@gnu.org>
1271
1272 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1273
1274 * jit-lock.el (jit-lock-mode): Doc fix.
1275
1276 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1277
1278 * apropos.el (apropos-read-pattern): When the user passes an empty
1279 string, give a more helpful error message than "Wrong type
1280 argument: stringp, nil".
1281
1282 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1285
1286 2014-02-13 Glenn Morris <rgm@gnu.org>
1287
1288 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1289
1290 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1293 shift-select commands.
1294
1295 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1296
1297 * progmodes/js.el (js-indent-line): Don't widen.
1298 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1299
1300 2014-02-12 Glenn Morris <rgm@gnu.org>
1301
1302 * icomplete.el (icomplete): Add info-link to defgroup.
1303 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1304 (icomplete-minibuffer-map, icomplete-mode)
1305 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1306
1307 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1308 (package-menu-filter): Rename from package-menu-filter-interactive.
1309 Doc fix.
1310
1311 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1312
1313 * frameset.el (frameset--jump-to-register): Select the required
1314 window and buffer before restoring position (bug#16696).
1315
1316 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1317
1318 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1319
1320 2014-02-10 Glenn Morris <rgm@gnu.org>
1321
1322 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1323
1324 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1325
1326 * w32-common-fns.el (x-get-selection): Doc fix.
1327 * select.el (x-get-selection): Doc fix. (Bug#15109)
1328
1329 * face-remap.el (face-remap-add-relative)
1330 (face-remap-remove-relative, face-remap-reset-base)
1331 (face-remap-set-base): Call force-mode-line-update to redisplay
1332 the current buffer due to potential change in faces. (Bug#16709)
1333
1334 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1335
1336 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1337 script more robustly.
1338
1339 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1340
1341 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1342
1343 * simple.el (choose-completion): Doc fix (bug#14160).
1344
1345 * subr.el (event-start): Say what a nil EVENT value means.
1346
1347 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1348 (bug#14197).
1349
1350 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1351
1352 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1353
1354 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1355
1356 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1357 predicate function (bug#15455).
1358
1359 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1360
1361 * ielm.el (inferior-emacs-lisp-mode): Instead of
1362 `comment-use-global-state', set `comment-use-syntax'.
1363
1364 2014-02-10 Glenn Morris <rgm@gnu.org>
1365
1366 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1367
1368 2014-02-09 Alan Mackenzie <acm@muc.de>
1369
1370 Fix c-invalidate-state-cache on narrowed buffers.
1371 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1372 Widen when setting and clearing the CPP delimiter properties.
1373
1374 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1375
1376 * help.el (describe-bindings): Doc fix (bug#9888).
1377
1378 * files.el (save-buffer): Use ARG as the parameter name for
1379 consistency (bug#10346).
1380 (save-buffer): Clarify the 0 argument (bug#10346).
1381
1382 * cus-edit.el (customize-apropos): Fix error string.
1383 (custom-buffer-create): Doc fix (bug#11122).
1384 (custom-sort-items): Doc fix (bug#11121).
1385
1386 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1387
1388 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1389 (icomplete-simple-completing-p): Mention the previous variable.
1390
1391 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1392 meaning of the parameter (bug#12282).
1393
1394 * files.el (find-file-noselect): Clarify prompt when changing
1395 readedness (bug#13261).
1396 (locate-file): Suffixes aren't returned, so don't say that they
1397 are (bug#12674).
1398 (backup-inhibited): Doc clarification (bug#12525).
1399
1400 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1401 before we actually start to delete things (bug#16331).
1402
1403 * subr.el (event-start): Doc fix (bug#14228).
1404 (event-end): Ditto.
1405
1406 2014-02-09 Glenn Morris <rgm@gnu.org>
1407
1408 * emacs-lisp/warnings.el (lwarn):
1409 Empower help-enable-auto-load. (Bug#15940)
1410
1411 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1412
1413 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1414 (Bug#16690)
1415
1416 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1417
1418 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1419 Insert output at end of buffer. (Bug#16120)
1420
1421 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1422
1423 * simple.el (choose-completion-string-functions): Document new
1424 calling convention (bug#14153).
1425 (execute-extended-command): Clarify doc string (bug#13373).
1426
1427 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1428
1429 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1430 (find-grep-dired): Doc fix (bug#14288).
1431
1432 2014-02-08 Juri Linkov <juri@jurta.org>
1433
1434 * isearch.el (isearch-quote-char): Check character validity
1435 like in `quoted-insert' (bug#16677).
1436
1437 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1438
1439 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1440
1441 * isearch.el (isearch-hide-immediately): Doc clarification
1442 (bug#14723).
1443
1444 * simple.el (line-move): Document utility function used many
1445 places in the Emacs sources (bug#14843).
1446
1447 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1448 (dired-prev-marked-file): Doc fix (bug#14855).
1449 (dired-up-directory): Doc fix (bug#14848).
1450
1451 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1452
1453 * files.el (file-relative-name): Doc fix (bug#15159).
1454
1455 * fringe.el (fringe-styles): Doc fix (bug#15239).
1456
1457 * isearch.el (isearch-filter-predicate): Documentation typo fix
1458 (bug#15474).
1459
1460 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1461
1462 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1463
1464 * replace.el (replace-match-maybe-edit): Doc clarification
1465 (bug#15632).
1466
1467 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1468
1469 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1470
1471 2014-02-08 Glenn Morris <rgm@gnu.org>
1472
1473 * help-fns.el (describe-variable):
1474 Check {file,dir}-local-variables-alist, and buffer-file-name,
1475 in the correct buffer.
1476
1477 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1478
1479 * help-fns.el (describe-variable): Fix the case where
1480 a value is directory-local with no dir-locals file. (Bug#16635)
1481
1482 2014-02-08 Glenn Morris <rgm@gnu.org>
1483
1484 * abbrev.el (edit-abbrevs-mode):
1485 Derive from fundamental-mode. (Bug#16682)
1486
1487 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1488
1489 * simple.el (quoted-insert): Check character validity (bug#16677).
1490
1491 2014-02-07 Juri Linkov <juri@jurta.org>
1492
1493 * desktop.el (desktop-read): Claim the lock when the owner is not
1494 the current process. (Bug#16157)
1495
1496 2014-02-07 Juri Linkov <juri@jurta.org>
1497
1498 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1499 to "\\` ". (Bug#16651)
1500
1501 2014-02-07 Juri Linkov <juri@jurta.org>
1502
1503 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1504 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1505 (desktop-auto-save-cancel-timer): New function with some code from
1506 `desktop-auto-save-set-timer'.
1507 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1508 Instead of setting `desktop-save-mode' to nil, call
1509 `desktop-save-mode' with arg 0. (Bug#16630)
1510
1511 2014-02-07 Glenn Morris <rgm@gnu.org>
1512
1513 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1514 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1515 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1516
1517 * obsolete/iswitchb.el: Move to obsolete/.
1518 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1519 since obsolete/ is not scanned for autoloads.
1520 * emacs-lisp/authors.el (authors-valid-file-names):
1521 Add iswitchb.el.
1522
1523 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1524 Disable now non-functional find-file-hook.
1525
1526 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1527
1528 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1529 instead of ";" in order to avoid additional prompts. Let heredoc
1530 scripts read from tty. (Bug#16582)
1531 (tramp-send-command): No special handling of heredocs, it isn't
1532 necessary anymore.
1533
1534 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1537 with a space (bug#16664). Limit the symbols considered to the ones
1538 that are bound or fbound (bug#16646).
1539
1540 2014-02-06 Glenn Morris <rgm@gnu.org>
1541
1542 * epa.el (epa-mail-aliases): Doc fix.
1543
1544 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1545
1546 * emacs-lisp/lisp.el (lisp-completion-at-point):
1547 Use `completion-table-merge' instead of `completion-table-in-turn'
1548 (bug#16604).
1549
1550 * minibuffer.el (completion-table-merge): New function.
1551
1552 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1553
1554 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1555 (tramp-sh-handle-set-file-acl)
1556 (tramp-sh-handle-start-file-process)
1557 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1558 (tramp-find-executable, tramp-send-command): Use it.
1559
1560 2014-02-05 Glenn Morris <rgm@gnu.org>
1561
1562 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1563
1564 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1565
1566 * progmodes/python.el (python-shell-send-string)
1567 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1568
1569 2014-02-04 Anders Lindgren <andlind@gmail.com>
1570
1571 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1572 the names (bug#16620).
1573
1574 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1575
1576 * faces.el (window-divider): New default value. Rewrite doc-string.
1577 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1578
1579 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1580
1581 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1582 `protected' and `public' can also be called without arguments.
1583
1584 2014-02-03 Glenn Morris <rgm@gnu.org>
1585
1586 * register.el (window-configuration-to-register)
1587 (frame-configuration-to-register): Unadvertise unused argument.
1588 * frameset.el (frameset-to-register): Remove unused argument.
1589
1590 * frameset.el (frameset-to-register):
1591 * kmacro.el (kmacro-to-register):
1592 * register.el (increment-register):
1593 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1594 (calc-append-to-register, calc-prepend-to-register):
1595 * play/gametree.el (gametree-layout-to-register)
1596 (gametree-apply-register-layout):
1597 * textmodes/picture.el (picture-clear-rectangle-to-register)
1598 (picture-yank-rectangle-from-register):
1599 * vc/emerge.el (emerge-combine-versions-register):
1600 Use register-read-with-preview to read registers.
1601
1602 2014-02-03 João Távora <joaotavora@gmail.com>
1603
1604 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1605 when at beginning of (possibly narrowed) buffer.
1606
1607 2014-02-02 Daniel Colascione <dancol@dancol.org>
1608
1609 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1610 Also try to display local help from just before point.
1611
1612 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1613
1614 c-parse-state. Don't "append-lower-brace-pair" in certain
1615 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1616 recognised as a comment.
1617
1618 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1619 as well as normal comment starter.
1620 (c-parse-state-get-strategy): Extra return possibility
1621 'back-and-forward.
1622 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1623 return value list to indicate replacement of a brace-pair cons
1624 with its car.
1625 (c-parse-state-1): With 'back-and-forward, only call
1626 c-append-lower-brace-pair-to state-cache when cons-separated.
1627
1628 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1629
1630 * term/ns-win.el (ns-suspend-error): New function.
1631 (ns-initialize-window-system): Add ns-suspend-error to
1632 suspend-hook (Bug#16612).
1633
1634 2014-02-02 Daniel Colascione <dancol@dancol.org>
1635
1636 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1637 Make loading cc-mode silent.
1638
1639 2014-02-02 Daniel Colascione <dancol@dancol.org>
1640
1641 * comint.el (comint-prompt-read-only): Change doc to suggest
1642 remap keybinding.
1643
1644 2014-02-02 Glenn Morris <rgm@gnu.org>
1645
1646 * register.el (register-read-with-preview, point-to-register)
1647 (window-configuration-to-register, frame-configuration-to-register)
1648 (jump-to-register, number-to-register, view-register, insert-register)
1649 (copy-to-register, append-to-register, prepend-to-register)
1650 (copy-rectangle-to-register): Doc fixes.
1651
1652 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1653
1654 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1655 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1656 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1657 * help-fns.el (describe-function-1): Use it.
1658
1659 2014-02-02 Glenn Morris <rgm@gnu.org>
1660
1661 * register.el (register-preview-default): New function,
1662 split from register-preview.
1663 (register-preview-function): Rename from register-preview-functions,
1664 make it not a hook.
1665 (register-preview): Use register-preview-function.
1666 (register-read-with-preview): Error on non-character event. (Bug#16595)
1667
1668 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1669
1670 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1671 `:' before binary operators (bug#16609). Don't check for `:'
1672 before `[' and `(', or their syntax status. A percent literal
1673 can't end with either.
1674 (ruby-font-lock-keywords): For built-ins that require arguments,
1675 check that they're followed by something that looks like argument
1676 (bug#16610).
1677
1678 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1679
1680 * subr.el (butlast): Document what an omitted N means (bug#13437).
1681 (nbutlast): Ditto.
1682
1683 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1684
1685 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1686 depth shallower (bug#16587).
1687 (shr-tag-svg): Respect `shr-inhibit-images'.
1688 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1689
1690 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1691
1692 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1693 (ruby-smie-grammar): Make "." right-associative. Make its priority
1694 lower than the ternary and all binary operators.
1695 (ruby-smie-rules): Indent "(" relative to the first non-"."
1696 parent, or the first "." parent at indentation.
1697 Use `ruby-align-chained-calls' for indentation of "." tokens.
1698 (Bug#16593)
1699
1700 2014-01-31 Juri Linkov <juri@jurta.org>
1701
1702 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1703 from `make-hash-table'.
1704
1705 * textmodes/ispell.el (ispell-init-process): Change message format
1706 to be consistent with other messages.
1707
1708 2014-01-31 Glenn Morris <rgm@gnu.org>
1709
1710 * delsel.el (delete-selection-mode): Doc fix.
1711
1712 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1713 (trace-function-background): Doc fixes.
1714
1715 * ido.el (ido-use-virtual-buffers): Doc fix.
1716 Reset :version, since the default value has not changed.
1717
1718 * register.el (register-preview-delay, register-read-with-preview):
1719 Doc fixes.
1720
1721 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1722 do not mess with mail-buffer position (fixes 2009-11-03 change).
1723 * progmodes/cc-mode.el (c-submit-bug-report):
1724 Check auto-fill-mode is bound. (Bug#16592)
1725
1726 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1727
1728 * startup.el (fancy-splash-image-file): New function,
1729 split from fancy-splash-head.
1730 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1731 so that we are both using the same image. (Bug#16574)
1732
1733 2014-01-30 Glenn Morris <rgm@gnu.org>
1734
1735 * simple.el (eval-expression): Doc fix.
1736
1737 * hexl.el (hexl-mode-hook):
1738 * ielm.el (ielm-mode-hook):
1739 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1740 (lisp-interaction-mode-hook):
1741 * progmodes/cfengine.e (cfengine3-documentation-function):
1742 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1743
1744 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1747 is a symbol (bug#16584).
1748
1749 2014-01-30 Glenn Morris <rgm@gnu.org>
1750
1751 * help.el (help-for-help-internal): Add "P" to text.
1752
1753 2014-01-29 Glenn Morris <rgm@gnu.org>
1754
1755 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1756
1757 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1758
1759 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1760 height constraints.
1761
1762 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1763
1764 * progmodes/hideif.el: Extend to full CPP expression syntax.
1765 (hif-token-alist): Add missing tokens.
1766 (hif-token-regexp): Add support for float/octal/hex immediates.
1767 (hif-string-literal-regexp): New const.
1768 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1769 (hif-exprlist): New function.
1770 (hif-parse-if-exp): Use it.
1771 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1772 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1773 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1774 (hif-logxor, hif-comma): New functions.
1775
1776 2014-01-28 Glenn Morris <rgm@gnu.org>
1777
1778 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1779
1780 * indent.el (tab-stop-list): Doc fix. Add :version.
1781
1782 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1783 (cvs-append-to-ignore): Add compatibility alias.
1784
1785 2014-01-27 Glenn Morris <rgm@gnu.org>
1786
1787 * dired.el (dired-hide-details-mode): Don't autoload it,
1788 since it cannot be used outside Dired buffers anyway.
1789
1790 * emulation/cua-base.el (cua-mode): Doc fix.
1791
1792 * dired.el (dired-hide-details-hide-symlink-targets)
1793 (dired-hide-details-hide-information-lines)
1794 (dired-hide-details-mode): Doc fixes.
1795
1796 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1797 * strokes.el (strokes-file): Doc fix. Bump :version.
1798 (strokes-help): Doc fix.
1799 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1800 * emulation/viper.el (viper): Doc fix for custom group.
1801 (top-level): Remove oh-so-no-longer-relevant text about vip.
1802 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1803
1804 * ido.el (ido-save-directory-list-file):
1805 * saveplace.el (save-place-file):
1806 * calendar/timeclock.el (timeclock-file):
1807 * net/quickurl.el (quickurl-url-file):
1808 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1809 * progmodes/idlwave.el (idlwave-config-directory):
1810 * textmodes/remember.el (remember-data-file):
1811 Bump :version.
1812
1813 2014-01-26 Glenn Morris <rgm@gnu.org>
1814
1815 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1816 Doc fix. Make obsolete.
1817 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1818
1819 * sort.el (delete-duplicate-lines): Doc fix.
1820
1821 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1822
1823 * progmodes/ada-mode.el (ada):
1824 * woman.el (woman): Link to info manual and Commentary section.
1825
1826 * progmodes/flymake.el (flymake):
1827 * nxml/nxml-mode.el (nxml):
1828 * net/eww.el (eww):
1829 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1830 * htmlfontify.el (htmlfontify):
1831 * ses.el (ses):
1832 * epa.el (epa):
1833 * ido.el (ido): Link to info manual.
1834
1835 2014-01-25 Leo Liu <sdl.web@gmail.com>
1836
1837 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1838
1839 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1840
1841 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1842 (bug#16537).
1843
1844 >>>>>>> MERGE-SOURCE
1845 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1846
1847 * net/eww.el (eww-download-callback):
1848 Fix reference to eww-download-directory.
1849
1850 * emacs-lisp/bytecomp.el (byte-compile-file):
1851 Remove unused local variable `file-name'.
1852
1853 2014-01-24 Glenn Morris <rgm@gnu.org>
1854
1855 * woman.el (woman-default-faces, woman-monochrome-faces):
1856 Fix obsolescence specification.
1857
1858 * subr.el (with-demoted-errors): Doc fix.
1859
1860 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1861
1862 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1863 (cl--macroexp-fboundp): New function.
1864 (cl--make-type-test): Use it.
1865
1866 2014-01-23 Glenn Morris <rgm@gnu.org>
1867
1868 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1869 * simple.el (eval-expression): Doc fixes.
1870
1871 2014-01-22 Glenn Morris <rgm@gnu.org>
1872
1873 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1874
1875 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * emacs-lisp/package.el: Write files silently.
1878 (package-autoload-ensure-default-file, package--write-file-no-coding)
1879 (package-generate-description-file, package--download-one-archive)
1880 (package-install-from-archive): Tell `write-region' to stay quiet.
1881 (package-menu-mode, package-menu--print-info): Omit the Archive column
1882 if there's only one archive.
1883 (package-all-keywords, package--has-keyword-p): Remove dead code.
1884
1885 2014-01-22 Glenn Morris <rgm@gnu.org>
1886
1887 * version.el (emacs-bzr-version-bzr): Fix typo.
1888
1889 * version.el (emacs-repository-get-version):
1890 Check either .bzr or .git, but not both.
1891 Make the git case actually use the DIR argument, and return nil
1892 rather than the empty string.
1893 Avoid error if .git exists but the git executable is not found.
1894
1895 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1896
1897 Fixes in window size functions around Bug#16430 and Bug#16470.
1898 * window.el (window-total-size, window-size): New argument ROUND.
1899 (window--min-delta-1, window-min-delta, window--max-delta-1):
1900 Be more conservative when calculating the numbers of lines or
1901 columns a window can shrink (Bug#16430).
1902 (fit-window-to-buffer): Simplify code.
1903 * term.el (term-window-width): Call window-body-width again.
1904
1905 2014-01-22 Glenn Morris <rgm@gnu.org>
1906
1907 * image.el (image-format-suffixes): Doc fix.
1908
1909 * international/quail.el (quail-define-package): Doc fix.
1910
1911 * emacs-lisp/authors.el (authors-valid-file-names)
1912 (authors-renamed-files-alist): Additions.
1913
1914 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1915 reverts 2014-01-09 change. (Bug#16422)
1916
1917 * calc/calc-embed.el (thing-at-point-looking-at):
1918 * emacs-lisp/map-ynp.el (x-popup-dialog):
1919 * obsolete/lmenu.el (x-popup-dialog):
1920 * emacs-lisp/package.el (url-recreate-url):
1921 * mail/mailclient.el (clipboard-kill-ring-save):
1922 * subr.el (x-popup-dialog): Update declaration.
1923 * mail/rmail.el (rmail-mime-message-p):
1924 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1925
1926 2014-01-21 Daniel Colascione <dancol@dancol.org>
1927
1928 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1929 Correctly detect when we're inside an arithmetic expansion form
1930 containing nested parenthesis.
1931 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1932 to detect cases where we shouldn't expand "<<" to a heredoc
1933 skeleton.
1934
1935 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1936
1937 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1938 (eldoc--message-command-p): New function.
1939 (eldoc-display-message-p): Use it.
1940 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1941 message is not automatically erased for us.
1942 (eldoc-print-current-symbol-info): Erase previous message, if any.
1943
1944 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1945
1946 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1947 specify it's an interactive function.
1948
1949 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1950 Fix regex used for scanning for citation keys which failed for
1951 citations with optional arguments.
1952
1953 2014-01-21 Leo Liu <sdl.web@gmail.com>
1954
1955 * simple.el (read--expression): Don't enable eldoc-mode.
1956
1957 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * simple.el (move-beginning-of-line): Make sure we don't move forward
1960 (bug#16497).
1961
1962 2014-01-20 Juri Linkov <juri@jurta.org>
1963
1964 * saveplace.el (toggle-save-place, save-place-to-alist)
1965 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1966 'dired-mode) before checking for dired-directory. (Bug#16477)
1967
1968 2014-01-20 Juri Linkov <juri@jurta.org>
1969
1970 * indent.el (indent-line-to): Use backward-to-indentation
1971 instead of back-to-indentation. (Bug#16461)
1972
1973 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1974
1975 Revert some of the CANNOT_DUMP fix (Bug#16494).
1976 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1977 but fixing this can wait until after the next release.
1978 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1979
1980 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1981
1982 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1983 Use `password-word-equivalents'.
1984 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1985 to t. (Bug#5664, Bug#13124)
1986
1987 2014-01-19 Alan Mackenzie <acm@muc.de>
1988
1989 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1990 points.
1991 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1992 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1993 * progmodes/cc-mode.el (c-before-change, c-after-change)
1994 (c-font-lock-fontify-region): Bind it here.
1995
1996 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1997
1998 * term.el (term-window-width): Call window-text-width instead of
1999 window-width (Bug#16470).
2000
2001 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2002
2003 * simple.el (password-word-equivalents): Remove duplicates.
2004 Sort, to make this easier next time.
2005 Downcase. Omit ": " after "jelszó".
2006
2007 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2008
2009 * term/common-win.el (saved-region-selection): Defvar it.
2010 (x-select-text): Set saved-region-selection (Bug#16382).
2011
2012 2014-01-18 Glenn Morris <rgm@gnu.org>
2013
2014 * emacs-lisp/authors.el (authors-aliases)
2015 (authors-renamed-files-alist): Add some entries.
2016
2017 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2018
2019 * net/tramp.el (tramp-password-prompt-regexp):
2020 Use `password-word-equivalents' if available.
2021 (tramp-action-password, tramp-process-one-action)
2022 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2023
2024 2014-01-17 Chong Yidong <cyd@gnu.org>
2025
2026 * simple.el (password-word-equivalents): New defcustom.
2027 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2028 to 24.4.
2029 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2030 to t. (Bug#13124)
2031
2032 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2033
2034 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2035 (ruby-align-to-stmt-keywords): Change the default value.
2036 Use `ruby-alignable-keywords' to generate the possible customization
2037 choices.
2038 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2039 keywords, check against the value of `ruby-alignable-keywords'
2040 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2041
2042 2014-01-17 Glenn Morris <rgm@gnu.org>
2043
2044 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2045
2046 Make M-x authors return zero *Authors Errors* from current logs.
2047 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2048 (authors-ignored-files): Add some entries, remove others.
2049 (authors-ambiguous-files, authors-valid-file-names):
2050 Add some entries.
2051 (authors-renamed-files-alist): Add, remove, and adjust entries.
2052 (authors-renamed-files-regexps): Add some entries.
2053 Remove some very broad ones. Make some entries `lax'.
2054 (authors-lax-changelogs): New constant.
2055 (authors-disambiguate-file-name): Treat top-level specially.
2056 (authors-lax-changelog-p): New function.
2057 (authors-canonical-file-name): Check file as written against
2058 authors-valid-file-names. Do not special-case etc/.
2059 Handle `lax' logs and authors-renamed-files-regexps elements.
2060
2061 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2062
2063 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2064 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2065 callers.
2066
2067 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2070 Assume we're already in the proper buffer.
2071 Inspired by Anders Lindgren <andlind@gmail.com>.
2072 (follow-post-command-hook): Call it from the right buffer.
2073 (follow-comint-scroll-to-bottom): Adjust call.
2074 (follow-all-followers): Use get-buffer-window-list.
2075
2076 2014-01-15 Daniel Colascione <dancol@dancol.org>
2077
2078 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2079 `buffer-file-name' in interactive-form so that we don't leave
2080 pathless file names in `file-name-history'.
2081
2082 2014-01-15 Juri Linkov <juri@jurta.org>
2083
2084 * indent.el (indent-rigidly): Set deactivate-mark to nil
2085 in transient indentation mode. (Bug#16438)
2086
2087 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2088
2089 * emacs-lisp/package.el (package-desc-keywords): New function
2090 (Bug#16222).
2091 (describe-package-1, package-all-keywords)
2092 (package--has-keyword-p): Use it.
2093
2094 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2095
2096 * simple.el (define-alternatives): When creating the
2097 COMMAND-alternatives variable, assign COMMAND as its definition
2098 name so that `describe-variable' can relocate it.
2099
2100 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2101
2102 * font-lock.el (font-lock-keywords): Fix typo in docstring
2103 (bug#16307).
2104
2105 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2106
2107 * ispell.el (ispell-region): Reset `in-comment' for new line
2108 instead of wrongly reset `add-coment' (bug#13577).
2109
2110 2014-01-14 Daiki Ueno <ueno@gnu.org>
2111
2112 * epa-file.el (epa-file-write-region): Encode the region according
2113 to `buffer-file-format'. Problem reported at:
2114 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2115
2116 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2119 so it applies in the right buffer (bug#16410).
2120
2121 2014-01-13 Daniel Colascione <dancol@dancol.org>
2122
2123 * textmodes/rst.el (rst-define-key): Provide deprecated
2124 keybindings through named functions instead of anonymous ones so
2125 that "??" doesn't appear in describe-mode output.
2126
2127 2014-01-13 Bastien Guerry <bzg@gnu.org>
2128
2129 * simple.el (define-alternatives): Call the selected command
2130 interactively. When setting `COMMAND--implementation' for the
2131 first time, tell the user how to chose another implementation.
2132 Enhance the docstring.
2133
2134 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2137 (log-edit--match-first-line): New function.
2138 (log-edit-font-lock-keywords): Use it.
2139 (log-edit-mode): Make jit-lock-defer-multiline work.
2140
2141 2014-01-13 Bastien Guerry <bzg@gnu.org>
2142
2143 * rect.el (rectangle-mark-mode): When the region is not active,
2144 display a message saying that the mark as been set and that
2145 rectangle mode is in use.
2146 (rectangle--highlight-for-redisplay): Only put an overlay with a
2147 visible vertical bar when (display-graphic-p) is non-nil.
2148 This partially fixes Bug#16403.
2149
2150 2014-01-13 Juri Linkov <juri@jurta.org>
2151
2152 * info.el (Info-find-file): Go to DIR before displaying the error
2153 about a nonexistent file if no previous Info file is visited.
2154 Use `user-error' instead of `error' for "Info file %s does not exist".
2155 (Info-find-node-2): In case of a nonexistent node in unwind forms
2156 go to the Top node if there is no previous node to revert to.
2157 (Bug#16405)
2158
2159 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2160
2161 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2162 * window.el (fit-frame-to-buffer): Fix doc-string.
2163 Respect window-min-height/-width. Fit pixelwise when
2164 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2165 when avoiding that frame goes partially off-screen.
2166 (fit-window-to-buffer): Respect window-min-height/-width
2167 (Bug#14096).
2168
2169 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2172 after an empty line.
2173
2174 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * net/shr.el (shr-render-region): Autoload.
2177
2178 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2179
2180 * net/eww.el (eww-download-directory): Rename from
2181 `eww-download-path' (Bug#16419).
2182
2183 2014-01-12 Leo Liu <sdl.web@gmail.com>
2184
2185 * dired-x.el (dired-mode-map): Fix last change.
2186
2187 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2188
2189 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2190
2191 Spelling fixes.
2192 * emacs-lisp/generic.el (generic--normalize-comments):
2193 Rename from generic--normalise-comments. All uses changed.
2194 * play/bubbles.el (bubbles--neighborhood-score)
2195 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2196 (bubbles--neighborhood-available)
2197 (bubbles--update-neighborhood-score):
2198 Rename from names with 'neighbourhood'. All uses changed.
2199
2200 2014-01-12 Leo Liu <sdl.web@gmail.com>
2201
2202 Re-implement the feature of showing eldoc info after editing.
2203 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2204 (eldoc-edit-message-commands): New function.
2205 (eldoc-print-after-edit): New variable.
2206 (eldoc-pre-command-refresh-echo-area): Emit message only by
2207 eldoc-message-commands.
2208 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2209 if eldoc-print-after-edit is set. (Bug#16346)
2210 * simple.el (read--expression): Enable eldoc-mode.
2211 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2212
2213 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2214 Eric S. Raymond <esr@thyrsus.com>
2215
2216 * version.el (emacs-repository-get-version): Enhance so the
2217 function works correctly in either a Bazaar or Git repo.
2218
2219 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2220
2221 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2222 Goes with removal of the joke manpages from /etc.
2223
2224 2014-01-10 Kenichi Handa <handa@gnu.org>
2225
2226 * mail/rmail.el (rmail-get-coding-system):
2227 Check rmail-get-coding-function before "funcall"ing it.
2228
2229 2014-01-10 Glenn Morris <rgm@gnu.org>
2230
2231 * emacs-lisp/authors.el (authors-fixed-entries):
2232 Update for files that no longer exist.
2233
2234 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2235
2236 * version.el (emacs-bzr-get-version): Restore compatibilty with
2237 24.3 (Tested).
2238
2239 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2240
2241 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2242 and Podfile.
2243
2244 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2245
2246 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2247
2248 2014-01-10 Chong Yidong <cyd@gnu.org>
2249
2250 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2251
2252 2014-01-10 Anders Lindgren <andlind@gmail.com>
2253
2254 * follow.el (follow-cache-command-list): Include right-char and
2255 left-char.
2256
2257 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2258
2259 Spelling fixes.
2260 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2261 * woman.el (woman-mark-horizontal-position):
2262 Rename from woman-mark-horizonal-position. Use changed.
2263
2264 2014-01-10 Glenn Morris <rgm@gnu.org>
2265
2266 * info.el (info-initialize): If running uninstalled, ensure our
2267 own info files are always found first, even if INFOPATH is set.
2268
2269 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2270
2271 2014-01-09 David Engster <deng@randomsample.de>
2272
2273 * emacs-lisp/eieio-custom.el:
2274 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2275 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2276 * emacs-lisp/eieio.el: Regenerate autoloads.
2277
2278 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2279
2280 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2281 following renames. (Bug#8756)
2282
2283 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2286 (bug#16382).
2287 (activate-mark): Add `no-tmm' argument.
2288 (set-mark, push-mark-command): Use it instead of running
2289 activate-mark-hook by hand.
2290
2291 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2292
2293 In preparation for the move to git, sanitize out some
2294 Bazaar-specific names.
2295
2296 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2297
2298 * version.el (emacs-bzr-version): Name changed to
2299 emacs-repository-version. Obsolete-variable alias made.
2300 * loadup.el: Follow through on this name change.
2301 * mail/emacsbug.el (report-emacs-bug): Factor out any
2302 assumption about the version control system in use.
2303
2304 2014-01-08 David Engster <deng@randomsample.de>
2305
2306 * help-fns.el (help-fns-describe-function-functions):
2307 New variable to call functions for augmenting help buffers.
2308 (describe-function-1): Remove explicit calls to
2309 `help-fns--compiler-macro', `help-fns--parent-mode' and
2310 `help-fns--obsolete'. Put them in above new variable instead, and
2311 call them through `run-hook-with-args'.
2312 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2313 `eieio-describe-class'. Not meant for interactive use anymore,
2314 but to augment existing help buffers. Remove optional second
2315 argument. Create proper button for file location.
2316 Rewrite function to use `insert' instead of `princ' and `prin1' where
2317 possible.
2318 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2319 (eieio-method-def, eieio-class-def): Move further up.
2320 (describe-method, describe-generic, eieio-describe-method):
2321 Remove aliases.
2322 (eieio-help-constructor, eieio-help-generic): Rename from
2323 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2324 Rewrite to use `insert' in the current buffer and use proper help
2325 buttons.
2326 (eieio-help-find-method-definition)
2327 (eieio-help-find-class-definition): Also accept symbols as
2328 arguments.
2329 (eieio-help-mode-augmentation-maybee): Remove.
2330 (eieio-describe-class-sb): Use `describe-function'.
2331 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2332 Add `eieio-help-generic' and `eieio-help-constructor'.
2333
2334 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2335
2336 Spelling fixes.
2337 * language/china-util.el (hz-ascii-designation):
2338 Rename from hz-ascii-designnation.
2339 (hz-ascii-designation): Rename from hz-ascii-designnation.
2340 All uses changed.
2341
2342 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2343
2344 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2345 package-alist.
2346
2347 2014-01-08 Bastien Guerry <bzg@gnu.org>
2348
2349 * emacs-lisp/package.el (package-delete):
2350 Correctly delete the package from package-alist.
2351
2352 2014-01-08 Daiki Ueno <ueno@gnu.org>
2353
2354 * emacs-lisp/package.el (url-recreate-url): Declare.
2355 (url-http-target-url): Declare.
2356 (package-handle-response): Include requested URL in the error message.
2357 (package--check-signature): Don't re-signal errors from
2358 package--with-work-buffer. Suggested by Stefan Monnier.
2359
2360 2014-01-07 Bastien Guerry <bzg@gnu.org>
2361
2362 * minibuffer.el (completion--try-word-completion): When both a
2363 hyphen and a space are possible candidates for the character
2364 following a word, display both candidates. (Bug#15980)
2365
2366 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2367
2368 * window.el (balance-windows-2): While rounding don't give a
2369 window more than the remainder. Bug#16351, bug#16383.
2370
2371 2014-01-07 Glenn Morris <rgm@gnu.org>
2372
2373 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2374 (menu-bar-help-menu): Use view-external-packages instead.
2375
2376 2014-01-07 Bastien Guerry <bzg@gnu.org>
2377
2378 * emacs-lisp/package.el (package-delete): Also delete the package
2379 name from `package-alist', not its description only.
2380
2381 2014-01-07 Glenn Morris <rgm@gnu.org>
2382
2383 * help.el (view-external-packages):
2384 * menu-bar.el (menu-bar-help-extra-packages):
2385 Visit efaq.info rather than etc/MORE.STUFF.
2386
2387 2014-01-07 Juri Linkov <juri@jurta.org>
2388
2389 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2390 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2391
2392 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2393 that shadows RET. (Bug#16342)
2394
2395 2014-01-07 Chong Yidong <cyd@gnu.org>
2396
2397 * isearch.el (isearch-yank-char, isearch-yank-word)
2398 (isearch-yank-line): Doc fix.
2399
2400 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2401
2402 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2403 * emacs-lisp/elint.el (elint-find-builtins):
2404 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2405 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2406 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2407 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2408 * apropos.el (apropos-safe-documentation):
2409 * subr.el (symbol-file): Remove redundant fboundp.
2410 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2411
2412 2014-01-06 Bastien Guerry <bzg@gnu.org>
2413
2414 * hl-line.el (global-hl-line-overlay): Make a local variable.
2415 (global-hl-line-overlays): New variable to store all overlays.
2416 (global-hl-line-mode): Don't delete overlays from the current
2417 buffer when `global-hl-line-sticky-flag' is non-nil.
2418 (global-hl-line-highlight): Add new overlays to
2419 `global-hl-line-overlays'.
2420 (global-hl-line-unhighlight-all): New function to delete all
2421 overlays when turning off `global-hl-line-mode'.
2422 This fixes Bug#16183.
2423
2424 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * subr.el (set-transient-map): Fix nested case and docstring.
2427
2428 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2429
2430 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2431 `Texinfo' entry.
2432
2433 2014-01-06 Daniel Colascione <dancol@dancol.org>
2434
2435 Fix defun navigation in vc log view.
2436
2437 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2438 like `beginning-of-defun'.
2439 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2440 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2441 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2442 (log-view-extract-comment): Call `log-view-current-entry' directly
2443 instead of relying on broken `log-view-beginning-of-defun' behavior.
2444
2445 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2446
2447 Spelling fixes.
2448 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2449 * emacs-lisp/debug.el (cancel-debug-on-entry):
2450 * epg.el (epg-error-to-string):
2451 * files.el (recover-file):
2452 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2453 * mail/emacsbug.el (report-emacs-bug-hook):
2454 * mail/sendmail.el (mail-recover):
2455 * ses.el (ses-yank-resize):
2456 * term/ns-win.el (ns-print-buffer):
2457 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2458 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2459 All uses changed.
2460 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2461
2462 2014-01-06 Leo Liu <sdl.web@gmail.com>
2463
2464 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2465 to avoid shadowing global key. (Bug#16354)
2466
2467 2014-01-06 Daniel Colascione <dancol@dancol.org>
2468
2469 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2470 rst-mode.
2471
2472 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2473
2474 * window.el (balance-windows): Add mising t to fix Bug#16351.
2475
2476 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2477
2478 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2479 (bug#16285).
2480 (shr-insert): If we have a word that's longer than `shr-width',
2481 break after it anyway. Otherwise we'll do no breaking once we get
2482 such a long word.
2483
2484 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2485
2486 * net/eww.el (eww): Support single/double quote for search.
2487 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2488 (eww-history-quit): Delete and use quit-window.
2489 (eww-history-kill): Delete, because it doesn't work well and
2490 not necessary.
2491 (eww-history-mode-map): Delete some keys and add easy-menu.
2492
2493 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2494
2495 Fix misspelling of 'chinese' in rx (Bug#16237).
2496 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2497 chinese-two-byte.
2498
2499 Change subword regexps back to vars (Bug#16296).
2500 * progmodes/subword.el (subword-forward-regexp)
2501 (subword-backward-regexp): Change these back to variables.
2502
2503 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2506 syntax-begin-function (bug#16247).
2507
2508 2014-01-03 Chong Yidong <cyd@gnu.org>
2509
2510 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2511 (advice--docstring): Delete variable.
2512 (advice--make-1): Leave the docstring empty.
2513 (advice-add): Use function-documentation for advised docstring.
2514
2515 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2516 Ignore function-documentation property when getting documentation.
2517 (ad-activate-advised-definition): Use function-documentation
2518 generate the docstring.
2519 (ad-make-advised-definition): Don't call
2520 ad-make-advised-definition-docstring.
2521 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2522 Delete functions.
2523
2524 * progmodes/sql.el (sql-help): Use function-documentation instead
2525 of dynamic-docstring-function property. No need to autoload now.
2526 (sql--help-docstring): New variable.
2527 (sql--make-help-docstring): Use it.
2528
2529 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * ielm.el (ielm-tab): Retarget.
2532 (ielm-map): Use ielm-tab for tab.
2533 (ielm-complete-filename): Use comint-filename-completion.
2534 (ielm-complete-symbol): Remove.
2535 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2536 remove ielm-tab from completion-at-point-functions (bug#16224).
2537
2538 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2539 Beware signals raised by predicates (bug#16201).
2540
2541 2014-01-02 Richard Stallman <rms@gnu.org>
2542
2543 * dired-aux.el (dired-do-print): Handle printer-name.
2544
2545 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2546 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2547 (rmail-epa-decrypt): Turn off mime processing.
2548
2549 * mail/rmail.el (rmail-make-in-reply-to-field):
2550 Add parens in message-id.
2551
2552 * mail/rmail.el (rmail-get-coding-function): Variable.
2553 (rmail-get-coding-system): Use it.
2554
2555 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2556
2557 * international/mule-conf.el: Unify the charset indian-is13194.
2558 (indian-is13194): Specify unify-map.
2559
2560 2013-12-31 Leo Liu <sdl.web@gmail.com>
2561
2562 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2563
2564 2013-12-30 Daniel Colascione <dancol@dancol.org>
2565
2566 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2567 of printing a useless when we resume from sleep.
2568
2569 * progmodes/sh-script.el
2570 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2571 in indentation code. (Bug#16233)
2572
2573 2013-12-28 João Távora <joaotavora@gmail.com>
2574
2575 * elec-pair.el (electric-pair-post-self-insert-function):
2576 Don't open extra newlines at beginning of buffer. (Bug#16272)
2577
2578 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2579
2580 * frame.el (window-system-for-display): Don't allow to create a
2581 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2582
2583 2013-12-28 Glenn Morris <rgm@gnu.org>
2584
2585 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2586 Update callers.
2587
2588 * apropos.el (apropos-match-face):
2589 * calculator.el (calculator-displayer):
2590 * dabbrev.el (dabbrev-search-these-buffers-only):
2591 * face-remap.el (buffer-face-mode-face):
2592 * simple.el (yank-handled-properties):
2593 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2594 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2595 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2596 (hashcash-double-spend-database):
2597 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2598 (ruby-deep-indent-paren-style):
2599 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2600 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2601 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2602 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2603 Specify custom types.
2604
2605 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2606 * bookmark.el (bookmark-bmenu-use-header-line):
2607 * doc-view.el (doc-view-scale-internally):
2608 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2609 * register.el (register-preview-delay):
2610 * net/shr.el (shr-bullet):
2611 * progmodes/cfengine.el (cfengine-cf-promises)
2612 (cfengine-parameters-indent):
2613 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2614 * textmodes/reftex-vars.el (reftex-label-regexps):
2615 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2616
2617 * net/tls.el (tls-certtool-program): Fix default value.
2618
2619 * desktop.el (desktop-restore-in-current-display):
2620 * newcomment.el (comment-empty-lines):
2621 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2622 (idlwave-pad-keyword):
2623 * progmodes/tcl.el (tcl-tab-always-indent):
2624 * textmodes/reftex-vars.el (reftex-index-default-tag):
2625 * elec-pair.el (electric-pair-skip-whitespace):
2626 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2627
2628 * emacs-lisp/authors.el (authors-ignored-files)
2629 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2630
2631 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2632
2633 * shell.el (shell-dynamic-complete-command): Doc fix.
2634 (shell--command-completion-data): Shell completion now matches
2635 executable filenames from the current buffer's directory, on
2636 systems in which this behavior is the default (windows-nt, ms-dos).
2637
2638 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2639
2640 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2641
2642 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2645 (bug#16251).
2646
2647 * electric.el: Move all electric-pair-* to elec-pair.el.
2648 * elec-pair.el: New file, split from electric.el.
2649
2650 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2651
2652 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2653 indentation level is larger than the width, because that will
2654 infloop.
2655 (shr-insert): Fill repeatedly long texts, so that Japanese is
2656 formatted correctly (bug#16263).
2657 (shr-find-fill-point): Off by one error in comparison with the
2658 indentation.
2659
2660 2013-12-26 João Távora <joaotavora@gmail.com>
2661
2662 * electric.el (electric-pair-mode): More flexible engine for skip-
2663 and inhibit predicates, new options for pairing-related functionality.
2664 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2665 if that keeps or improves their balance in buffers.
2666 (electric-pair-delete-adjacent-pairs): Delete the pair when
2667 backspacing over adjacent matched delimiters.
2668 (electric-pair-open-extra-newline): Open extra newline when
2669 inserting newlines between adjacent matched delimiters.
2670 (electric--sort-post-self-insertion-hook):
2671 Sort post-self-insert-hook according to priority values when
2672 minor-modes are activated.
2673 * simple.el (newline-and-indent): Call newline with interactive
2674 set to t.
2675 (blink-paren-post-self-insert-function): Set priority to 100.
2676 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2677 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2678 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2679 electric-pair-open-newline-between-pairs to nil.
2680
2681 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2682
2683 * progmodes/python.el: Use lexical-binding.
2684 (python-nav-beginning-of-defun): Stop searching ASAP.
2685
2686 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2687
2688 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2689 Fix interactive spec. Doc fix. (Bug#15754)
2690
2691 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2692
2693 * emacs-lisp/byte-run.el (eval-when-compile):
2694 * progmodes/cc-defs.el (cc-eval-when-compile):
2695 Fix edebug spec (bug#16184).
2696
2697 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2698
2699 * net/shr.el (shr-visit-file): Remove debugging function.
2700 (shr-insert): Don't infloop if we can't find a good place to break
2701 the line (bug#16256).
2702
2703 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2704
2705 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2706 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2707 python-nav-lisp-forward-sexp-safe.
2708 (python-nav--forward-sexp): New argument SAFE allows switching
2709 forward sexp movement behavior for parens.
2710 (python-nav-forward-sexp): Throw errors on unterminated parens
2711 (Bug#16191).
2712 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2713 (python-nav-backward-sexp-safe): New functions.
2714 (python-shell-buffer-substring):
2715 Use `python-nav-forward-sexp-safe'.
2716
2717 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2718
2719 * net/shr.el (shr-find-fill-point): Don't break lines before a
2720 quotation mark.
2721 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2722 (shr-find-fill-point): Remove the special checks for the quotation
2723 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2724
2725 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2726
2727 * net/eww.el (eww-form-textarea): Use a different face for
2728 textareas than text input since they have different keymaps
2729 (bug#16142).
2730
2731 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2732
2733 * progmodes/python.el (python-nav-beginning-of-statement):
2734 Speed up (Bug#15295).
2735
2736 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2737
2738 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2739 the window configuration.
2740
2741 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2742
2743 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2744 we run on MS-Windows or MS-DOS.
2745
2746 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2747
2748 * window.el (balance-windows-area): Call window-size instead of
2749 window-height and window-width. Bug#16241.
2750
2751 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2752
2753 * net/eww.el (eww-bookmark-quit): Remove.
2754 (eww-bookmark-browse): Restore the window configuration when you
2755 choose a bookmark (bug#16144).
2756
2757 2013-12-24 Daniel Colascione <dancol@dancol.org>
2758
2759 * icomplete.el: Remove redundant :group arguments to `defcustom'
2760 throughout.
2761 (icomplete-show-matches-on-no-input): New customizable variable.
2762 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2763 we have something to show.
2764 (icomplete-exhibit): Compute completions even if we have no user input.
2765
2766 2013-12-23 Daniel Colascione <dancol@dancol.org>
2767
2768 * icomplete.el: Move `provide' to end of file.
2769
2770 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2771
2772 * net/gnutls.el (gnutls-verify-error): Add version tag.
2773
2774 2013-12-23 Chong Yidong <cyd@gnu.org>
2775
2776 * subr.el (set-transient-map): Rename from
2777 set-temporary-overlay-map. Doc fix.
2778
2779 * face-remap.el (text-scale-adjust):
2780 * indent.el (indent-rigidly):
2781 * kmacro.el (kmacro-call-macro):
2782 * minibuffer.el (minibuffer-force-complete):
2783 * repeat.el (repeat):
2784 * simple.el (universal-argument--mode):
2785 * calendar/todo-mode.el (todo-insert-item--next-param):
2786 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2787
2788 * indent.el (indent-rigidly): Use substitute-command-keys.
2789
2790 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2791
2792 * net/eww.el (eww-tag-select): Add text-property to jump to next
2793 select field.
2794 (eww): Add non-supported ftp error.
2795
2796 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2797
2798 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2799 comments. Handle electric indent after typing `?' and `!'.
2800
2801 2013-12-22 Chong Yidong <cyd@gnu.org>
2802
2803 * faces.el (face-spec-recalc): If the theme specs are not
2804 applicable to a frame, fall back on the defface spec.
2805 This prevents themes from obliterating faces on low-color terminals.
2806
2807 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2808
2809 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2810 after `{'. We need it after block openers, and it doesn't seem
2811 to hurt after hash openers.
2812
2813 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2814
2815 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2816 extracted from `ruby-smie-rules'.
2817 (ruby--electric-indent-chars): New variable.
2818 (ruby--electric-indent-p): New function.
2819 (ruby-mode): Use `electric-indent-functions' instead of
2820 `electric-indent-chars'.
2821
2822 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2823
2824 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2825 docstring.
2826 (ruby-smie-rules): Indent plus one level after `=>'.
2827
2828 2013-12-21 Richard Stallman <rms@gnu.org>
2829
2830 * simple.el (newline): Doc fix.
2831
2832 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2833
2834 * net/eww.el (eww-list-histories, eww-list-histories)
2835 (eww-history-browse, eww-history-quit, eww-history-kill)
2836 (eww-history-mode-map, eww-history-mode): New command and
2837 functions to list browser histories.
2838 (eww-form-text): Support text form with disabled
2839 and readonly attributes.
2840 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2841
2842 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2843
2844 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2845 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2846 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2847 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2848 Use `user-error'.
2849 (eww-bookmark-mode-map): Add menu.
2850 (eww-render, eww-mode): Use `setq-local'.
2851 (eww-tool-bar-map): New variable.
2852 (eww-mode): Set `tool-bar-map'.
2853 (eww-view-source): Check for `html-mode' with `fboundp'.
2854
2855 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2856
2857 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2858 elements with text inside. Also remove debugging.
2859
2860 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2861
2862 * cus-start.el (all): Add ns-use-srgb-colorspace.
2863
2864 2013-12-21 Chong Yidong <cyd@gnu.org>
2865
2866 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2867 undefined. Thus, theme settings for undefined faces do not take
2868 effect until the faces are defined with defface, the same as with
2869 theme variables.
2870
2871 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2872 (face-spec-reset-face): Don't assign extra properties in temacs.
2873 (face-spec-recalc): Apply X resources too.
2874
2875 2013-12-21 Chong Yidong <cyd@gnu.org>
2876
2877 * faces.el (face-spec-set):
2878 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2879 * custom.el (defface): Doc fixes (Bug#16203).
2880
2881 * indent.el (indent-rigidly-map): Add docstring, and move commands
2882 into named functions.
2883 (indent-rigidly-left, indent-rigidly-right)
2884 (indent-rigidly-left-to-tab-stop)
2885 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2886 indentation direction based on bidi direction, and accumulate
2887 sequential commands in a single undo boundary.
2888 (indent-rigidly--pop-undo): New utility function.
2889
2890 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2891
2892 * faces.el (read-face-name): Require crm.el when using crm-separator.
2893
2894 2013-12-20 Daniel Colascione <dancol@dancol.org>
2895
2896 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2897 so that we don't reflow comments into the shebang line.
2898
2899 2013-12-20 Juri Linkov <juri@jurta.org>
2900
2901 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2902 a position when `dired-directory' is non-nil. Check integer
2903 positions with `integerp'.
2904 (toggle-save-place, save-places-to-alist): Add check for
2905 `dired-directory'.
2906 (save-place-find-file-hook): Check integer positions with
2907 `integerp'.
2908 (save-place-dired-hook): Use `dired-goto-file' when
2909 `dired-filename' is found in the assoc list. Check integer
2910 positions with `integerp'.
2911 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2912
2913 * dired.el (dired-initial-position-hook): Rename back from
2914 `dired-initial-point-hook'.
2915 (dired-initial-position): Rename `dired-initial-point-hook' to
2916 `dired-initial-position-hook'.
2917 (dired-file-name-at-point): Doc fix. (Bug#15329)
2918
2919 2013-12-20 Juri Linkov <juri@jurta.org>
2920
2921 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2922 (read-regexp-suggestions): New function.
2923 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2924 Use `read-regexp-suggestions'. Add non-empty default to history
2925 for empty input.
2926 (occur-read-regexp-defaults-function): Remove function.
2927 (occur-read-primary-args): Use `regexp-history-last' instead of
2928 `occur-read-regexp-defaults-function'.
2929
2930 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2931 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2932 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2933 `hi-lock-read-regexp-defaults-function'. Doc fix.
2934 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2935 with `find-tag-default-as-symbol-regexp'. Doc fix.
2936 (hi-lock-read-regexp-defaults): Remove function.
2937 (hi-lock-regexp-okay): Add check for null.
2938
2939 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2940 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2941
2942 * subr.el (find-tag-default-as-symbol-regexp): New function.
2943 (find-tag-default-as-regexp): Move symbol regexp formatting to
2944 `find-tag-default-as-symbol-regexp'.
2945
2946 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2947
2948 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2949 (Bug#14179)
2950
2951 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2952
2953 * calendar/todo-mode.el: New implementation of item insertion
2954 commands and key bindings.
2955 (todo-key-prompt): New face.
2956 (todo-insert-item): New command.
2957 (todo-insert-item--parameters): New defconst, replacing defvar
2958 todo-insertion-commands-args-genlist.
2959 (todo-insert-item--param-key-alist): New defconst, replacing
2960 defvar todo-insertion-commands-arg-key-list.
2961 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2962 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2963 (todo-insert-item--next-param): New functions.
2964 (todo-insert-item--args, todo-insert-item--argleft)
2965 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2966 New variables.
2967 (todo-key-bindings-t): Change binding of "i" from
2968 todo-insertion-map to todo-insert-item.
2969 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2970 (todo-insertion-command-name, todo-insertion-commands-names)
2971 (todo-define-insertion-command, todo-insertion-commands)
2972 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2973
2974 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2975
2976 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2977 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2978 eval-when-compile.
2979 (todo-move-category): Allow choosing a non-existing todo file to
2980 move the category to, and create that file.
2981 (todo-default-priority): New user option.
2982 (todo-set-item-priority): Use it.
2983 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2984 (desktop-restore-file-buffer): Declare.
2985 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2986 (todo-modes-set-2): Locally set desktop-save-buffer to
2987 todo-desktop-save-buffer.
2988 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2989 (auto-mode-alist): Add autoload cookie.
2990
2991 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2992
2993 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2994 helpers.el was a poor choice of name.
2995 (string-remove-prefix): New function.
2996 (string-remove-suffix): New function.
2997
2998 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2999
3000 Fix assignment for new window total sizes.
3001 * window.el (window--pixel-to-size): Remove function.
3002 (window--pixel-to-total-1, window--pixel-to-total):
3003 Fix calculation of new total sizes.
3004
3005 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3006
3007 * comint.el (comint-output-filter): Fix rear-nonsticky property
3008 placement (Bug#16010).
3009
3010 2013-12-20 Chong Yidong <cyd@gnu.org>
3011
3012 * faces.el (read-color): Minor fix for completion function.
3013
3014 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3015
3016 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3017 New option. (Bug#16182)
3018 (ruby-smie--indent-to-stmt-p): Use it.
3019 (ruby-smie-rules): Revert the logic in the handling of `when'.
3020 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3021 (ruby-deep-arglist, ruby-deep-indent-paren)
3022 (ruby-deep-indent-paren-style): Update docstrings to note that the
3023 vars don't have any effect with SMIE.
3024
3025 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3026
3027 * calc/calc.el (calc-enter, calc-pop): Use the variable
3028 `calc-context-sensitive-enter'.
3029
3030 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3031
3032 * net/shr.el (shr-insert): Protect against infloops in degenerate
3033 tables.
3034
3035 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3036
3037 * progmodes/octave.el (octave): Add link to manual and octave
3038 homepage.
3039 (octave-mode-menu): Link to octave-mode manual.
3040
3041 2013-12-20 Leo Liu <sdl.web@gmail.com>
3042
3043 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3044 insertion using skeleton-end-newline. (Bug#16138)
3045
3046 2013-12-20 Juri Linkov <juri@jurta.org>
3047
3048 * replace.el (occur-engine): Use `add-face-text-property'
3049 to add the face property to matches and titles. (Bug#14645)
3050
3051 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3052 the palette of other hi-lock colors.
3053 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3054
3055 2013-12-19 Juri Linkov <juri@jurta.org>
3056
3057 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3058 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3059 (minibuffer-history-symbol): Move variable declaration closer to
3060 its usage.
3061
3062 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3063 (Bug#14785)
3064
3065 2013-12-19 Juri Linkov <juri@jurta.org>
3066
3067 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3068 New function.
3069 (log-edit-hook): Add it to :options. (Bug#16170)
3070
3071 2013-12-19 Juri Linkov <juri@jurta.org>
3072
3073 * simple.el (eval-expression-print-format): Don't check for
3074 command names and the last command. Always display additional
3075 formats of the integer result in the echo area, and insert them
3076 to the current buffer only with a zero prefix arg.
3077 Display character when char-displayable-p is non-nil.
3078 (eval-expression): With a zero prefix arg, set `print-length' and
3079 `print-level' to nil, and insert the integer values from
3080 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3081
3082 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3083 `eval-last-sexp-arg-internal'. Doc fix.
3084 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3085 `eval-last-sexp-print-value'. Doc fix.
3086 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3087 Set `print-length' and `print-level' to nil when arg is zero.
3088 (eval-last-sexp): Doc fix.
3089 (eval-defun-2): Print the integer values from
3090 `eval-expression-print-format' at the end.
3091
3092 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3093 values from `eval-expression-print-format' at the end.
3094
3095 * ielm.el (ielm-eval-input): Print the integer
3096 values from `eval-expression-print-format' at the end.
3097
3098 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3099
3100 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3101 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3102
3103 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3106 (hl-line-highlight, global-hl-line-highlight): Use it.
3107 (hl-line-overlay): Use defvar-local.
3108
3109 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3110
3111 * term/ns-win.el: Require dnd.
3112 (global-map): Remove drag items.
3113 (ns-insert-text, ns-set-foreground-at-mouse)
3114 (ns-set-background-at-mouse):
3115 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3116 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3117 New functions.
3118
3119 2013-12-19 Glenn Morris <rgm@gnu.org>
3120
3121 * emacs-lisp/ert.el (ert-select-tests):
3122 Fix string/symbol mixup. (Bug#16121)
3123
3124 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3125
3126 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3127 keywords to their parent.
3128
3129 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3130
3131 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3132 first arg to be a string (fixed dead code), or an operator symbol.
3133 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3134 operator symbols.
3135 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3136 did nothing. Don't respond to `(:after ".")', it will be called
3137 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3138 change anything. Only return indentation for binary operators
3139 when they are hanging. De-dent opening paren when its parent is
3140 `.', otherwise it looks bad when the dot is not at bol or eol
3141 (bug#16182).
3142
3143 2013-12-19 Juri Linkov <juri@jurta.org>
3144
3145 * replace.el (query-replace-read-args): Split a non-negative arg
3146 and a negative arg into separate elements.
3147 (query-replace, query-replace-regexp, replace-string)
3148 (replace-regexp): Add arg `backward'. Doc fix.
3149 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3150 move point to the beginning of the match.
3151 (replace-search, replace-highlight): Use new arg `backward'
3152 to set the value of `isearch-forward'.
3153 (perform-replace): Add arg `backward' and use it to perform
3154 replacement backward. (Bug#14979)
3155
3156 * isearch.el (isearch-query-replace): Use a negative prefix arg
3157 to call `perform-replace' with a non-nil arg `backward'.
3158
3159 2013-12-18 Juri Linkov <juri@jurta.org>
3160
3161 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3162 to the default list. Move `log-edit-show-files' to the end.
3163 Add more available functions to options.
3164 (log-edit): Move default specific settings to
3165 `log-edit-insert-message-template'. Don't move point.
3166 (log-edit-insert-message-template): New function.
3167 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3168 (Bug#16170)
3169
3170 2013-12-18 Juri Linkov <juri@jurta.org>
3171
3172 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3173 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3174
3175 2013-12-18 Leo Liu <sdl.web@gmail.com>
3176
3177 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3178 (Bug#16186)
3179
3180 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3181
3182 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3183 formats for displaying file sizes when the -s switch is given.
3184 Instead, compute a separate format for displaying the size in
3185 blocks, which is displayed in addition to the "regular" size.
3186 When -h is given in addition to -s, produce size in blocks in
3187 human-readable form as well. (Bug#16179)
3188
3189 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3190
3191 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3192 Reference tables with ~\ref{...} instead of only \ref{...}.
3193
3194 2013-12-18 Chong Yidong <cyd@gnu.org>
3195
3196 * cus-edit.el (custom-magic-alist): Fix "themed" description
3197 (Bug#14348).
3198
3199 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3200 is non-nil, do not create a new entry in the symbol's theme-value
3201 or theme-face property; update theme-settings only (Bug#14664).
3202 (custom-available-themes): Doc fix.
3203
3204 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3205 (Bug#15674).
3206
3207 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3208
3209 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3210
3211 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3212 (Bug#13914).
3213
3214 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3215
3216 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3217
3218 2013-12-18 Glenn Morris <rgm@gnu.org>
3219
3220 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3221 * cus-start.el (load-prefer-newer): New option.
3222
3223 2013-12-18 Le Wang <l26wang@gmail.com>
3224
3225 * comint.el (comint-previous-matching-input-from-input):
3226 Retain point (Bug#13404).
3227
3228 2013-12-18 Chong Yidong <cyd@gnu.org>
3229
3230 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3231
3232 2013-12-18 Glenn Morris <rgm@gnu.org>
3233
3234 * mail/emacsbug.el (report-emacs-bug):
3235 Only mention enable-multibyte-characters if non-standard.
3236
3237 2013-12-17 Juri Linkov <juri@jurta.org>
3238
3239 * arc-mode.el (archive-extract-by-file): Check if directory exists
3240 before deletion to not show irrelevant errors if it doesn't exist.
3241
3242 2013-12-17 Juri Linkov <juri@jurta.org>
3243
3244 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3245 (Bug#14751)
3246
3247 * net/eww.el (browse-web): Add alias to `eww'.
3248 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3249 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3250
3251 * net/browse-url.el (browse-url-browser-function): Move `eww'
3252 closer to similar functions.
3253
3254 * startup.el (fancy-startup-screen, fancy-about-screen):
3255 Set browse-url-browser-function to eww-browse-url locally.
3256 (Bug#14751)
3257
3258 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3259
3260 * window.el (window--pixel-to-total): Remove unused `mini' var.
3261 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3262 (split-window): Remove unused `new' var.
3263 (window--display-buffer): Remove unused `frame' and `delta' vars.
3264 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3265 and display-width'.
3266
3267 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3268
3269 * dired.el (dired-mark-pop-up):
3270 * register.el (register-preview): Don't bind
3271 split-height-threshold here since it's now done in
3272 display-buffer-below-selected.
3273
3274 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3275
3276 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3277 xterm-rgb-convert-to-16bit.
3278 (rxvt-register-default-colors): Standardize with
3279 xterm-register-default-colors (Bug#14078).
3280
3281 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3282
3283 * simple.el (kill-region): Pass mark first, then point, so that
3284 kill-append works right (Bug#12819).
3285 (copy-region-as-kill, kill-ring-save): Likewise.
3286
3287 2013-12-17 Leo Liu <sdl.web@gmail.com>
3288
3289 * net/rcirc.el (rcirc-add-face):
3290 * eshell/em-prompt.el (eshell-emit-prompt):
3291 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3292 (Bug#16167)
3293
3294 2013-12-17 Chong Yidong <cyd@gnu.org>
3295
3296 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3297 Suggested by Xue Fuqiao.
3298
3299 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3300
3301 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3302
3303 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3304
3305 * net/shr.el (shr-insert-document): Remove unused var
3306 `shr-preliminary-table-render'.
3307 (shr-rescale-image): Remove unused arg `force'.
3308 (shr-put-image): Update calls accordingly.
3309 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3310
3311 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3312
3313 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3314 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3315 :close-all, to see which indentation method to use (Bug#16116).
3316 (smie-rules-function): Document the method :close-all.
3317
3318 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3319
3320 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3321
3322 * net/eww.el (eww-display-html): If we can't find the anchor we're
3323 looking for, then go to point-min.
3324
3325 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3326
3327 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3328 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3329 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3330 Expand dir too, in case it's relative.
3331
3332 2013-12-16 Juri Linkov <juri@jurta.org>
3333
3334 * desktop.el (desktop-auto-save-timeout): Change default to
3335 `auto-save-timeout'. Doc fix.
3336 (desktop-save): Skip the timestamp in desktop-saved-frameset
3337 when checking for auto-save changes.
3338 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3339 `desktop-auto-save' is called repeatedly by the idle timer.
3340 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3341 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3342 (Bug#15331)
3343
3344 2013-12-16 Juri Linkov <juri@jurta.org>
3345
3346 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3347 (Bug#16035)
3348 (isearch-pre-command-hook): Check `this-command' for symbolp.
3349
3350 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3353
3354 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3355
3356 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3357 (cfengine3--current-function): Bring in the current-function
3358 functionality from `cfengine3--current-word'.
3359 (cfengine3-completion-function): Bring in the
3360 bounds-of-current-word functionality from
3361 `cfengine3--current-word'.
3362
3363 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3364
3365 * window.el (display-buffer-below-selected):
3366 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3367
3368 2013-12-16 Leo Liu <sdl.web@gmail.com>
3369
3370 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3371 Remove NOMSG arg and all uses changed.
3372
3373 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3376 (cua--deactivate-rectangle): Don't deactivate the mark.
3377 (cua-set-rectangle-mark): Don't set mark-active since
3378 cua--activate-rectangle already does it for us.
3379 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3380 non-rectangular region.
3381
3382 * emulation/cua-base.el (cua-repeat-replace-region):
3383 Use with-current-buffer.
3384
3385 * net/gnutls.el: Use cl-lib.
3386 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3387
3388 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3389
3390 * emacs-lisp/package.el (package-built-in-p): Support both
3391 built-in and the package.el converted package descriptions.
3392 (package-show-package-list): Allow keywords.
3393 (package-keyword-button-action): Use it instead of
3394 `finder-list-matches'.
3395 (package-menu-filter-interactive): Interactive filtering (by
3396 keyword) function.
3397 (package-menu--generate): Support keywords and change keymappings
3398 and headers when they are given.
3399 (package--has-keyword-p): Helper function.
3400 (package-menu--refresh): Use it.
3401 (package--mapc): Helper function.
3402 (package-all-keywords): Use it.
3403 (package-menu-mode-map): Set up menu items and keybindings to
3404 provide a filtering UI.
3405
3406 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3407
3408 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3409 the behavior when a certificate fails validation. Defaults to
3410 old behavior: never abort, just warn.
3411 (gnutls-negotiate): Use it.
3412
3413 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3414
3415 * window.el (display-buffer-below-selected): Never split window
3416 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3417
3418 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3419
3420 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3421 (package-buffer-info): Use it (bug#15108).
3422
3423 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3424
3425 * icomplete.el (icomplete-completions): Make sure the prefix is already
3426 displayed elsewhere before hiding it (bug#16219).
3427
3428 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3429
3430 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3431 open-paren tokens when preceded by a open-paren, too.
3432 (ruby-smie-rules): Handle virtual indentation after open-paren
3433 tokens specially. If there is code between it and eol, return the
3434 column where is starts (Bug#16118).
3435
3436 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3437
3438 * progmodes/cfengine.el: Fix `add-hook' doc.
3439 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3440 (cfengine3--current-word): Fix parameters.
3441 (cfengine3-make-syntax-cache): Simplify further.
3442 (cfengine3-completion-function, cfengine3--current-function):
3443 Use `assq' for symbols.
3444 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3445
3446 2013-12-13 Glenn Morris <rgm@gnu.org>
3447
3448 * loadup.el (load-path): Warn if site-load or site-init changes it.
3449 No more need to reset it when bootstrapping.
3450
3451 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3452
3453 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3454 locations for cf-promises.
3455 (cfengine-mode-syntax-functions-regex): New caching variable.
3456 (cfengine3-fallback-syntax): Fallback syntax for cases where
3457 cf-promises doesn't run.
3458 (cfengine3--current-word): Reimplement using
3459 `cfengine-mode-syntax-functions-regex'.
3460 (cfengine3-completion-function, cfengine3--current-function):
3461 Use `cfengine3-make-syntax-cache' directly.
3462 (cfengine3-clear-syntax-cache): New function.
3463 (cfengine3-make-syntax-cache): Simplify and create
3464 `cfengine-mode-syntax-functions-regex' on demand.
3465 (cfengine3-format-function-docstring): Don't call
3466 `cfengine3-make-syntax-cache' explicitly.
3467
3468 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3469
3470 Fix windmove-find-other-window broken after pixelwise resizing
3471 (Bug#16017).
3472 * windmove.el (windmove-other-window-loc): Revert change from
3473 2013-12-04.
3474 (windmove-find-other-window): Call window-in-direction.
3475 * window.el (window-in-direction): New arguments SIGN, WRAP and
3476 MINI to emulate original windmove-find-other-window behavior.
3477
3478 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3479
3480 * simple.el (blink-matching--overlay): New variable.
3481 (blink-matching-open): Instead of moving point, highlight the
3482 matching paren with an overlay
3483 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3484
3485 * faces.el (paren-showing-faces, show-paren-match)
3486 (show-paren-mismatch): Move from paren.el.
3487
3488 2013-12-13 Leo Liu <sdl.web@gmail.com>
3489
3490 * indent.el (indent-region): Disable progress reporter in
3491 minibuffer. (Bug#16108)
3492
3493 * bindings.el (visual-order-cursor-movement): Fix version.
3494
3495 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3496
3497 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3498 Also match after beginning of line.
3499 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3500 files. Thanks to Russell Sim. (Bug#15378)
3501
3502 2013-12-13 Juri Linkov <juri@jurta.org>
3503
3504 * simple.el <Keypad support>: Remove key bindings duplicated
3505 with bindings.el. (Bug#14397)
3506
3507 2013-12-13 Juri Linkov <juri@jurta.org>
3508
3509 * comint.el (comint-mode-map): Replace `delete-char' with
3510 `delete-forward-char'. (Bug#16109)
3511
3512 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3513
3514 * progmodes/python.el (python-indent-calculate-indentation):
3515 Fix de-denters cornercase. (Bug#15731)
3516
3517 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3520 (advice--make): Pay attention to `depth'.
3521 (advice--make-1): Don't autoload commands eagerly.
3522 * emacs-lisp/elp.el (elp-instrument-function):
3523 * emacs-lisp/trace.el (trace-function-internal):
3524 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3525
3526 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3527
3528 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3529
3530 * term/w32-win.el (w32-handle-dropped-file):
3531 * startup.el (normal-top-level):
3532 * net/browse-url.el (browse-url-file-url):
3533 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3534 decode file names using 'utf-8' rather than
3535 file-name-coding-system.
3536
3537 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3538
3539 * progmodes/python.el (python-indent-context)
3540 (python-indent-calculate-indentation): Fix auto-identation
3541 behavior for comment blocks. (Bug#15916)
3542
3543 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3544
3545 * progmodes/python.el (python-indent-calculate-indentation):
3546 When determining indentation, don't treat "return", "pass", etc., as
3547 operators when they are just string constituents. (Bug#15812)
3548
3549 2013-12-12 Juri Linkov <juri@jurta.org>
3550
3551 * uniquify.el (uniquify-buffer-name-style): Change default to
3552 `post-forward-angle-brackets'.
3553
3554 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3555 `uniquify'. Change default to `post-forward-angle-brackets'.
3556
3557 2013-12-11 Glenn Morris <rgm@gnu.org>
3558
3559 * emacs-lisp/package.el (finder-list-matches):
3560 Autoload rather than falsely declaring.
3561
3562 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3563
3564 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3565 (eww-mode-map): Use them.
3566
3567 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3568
3569 * window.el (display-buffer-in-side-window): Fix doc-string
3570 (Bug#16115).
3571
3572 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3573
3574 * vc/vc-git.el: Silence byte-compiler warnings.
3575 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3576 (log-edit-set-header): Declare.
3577
3578 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3579
3580 * Makefile.in (custom-deps, finder-data): Run output file names
3581 through unmsys--file-name. (Bug#16099)
3582
3583 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3586 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3587
3588 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3589 instead of deleting the selection "by hand" (bug#16098).
3590 Rely on insert-for-yank to yank rectangles.
3591 (cua-highlight-region-shift-only): Mark obsolete.
3592 (cua-mode): Don't enable/disable transient-mark-mode,
3593 shift-select-mode (cua-mode works both with and without them), and
3594 pc-selection-mode (obsolete).
3595 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3596 (cua--deactivate-rectangle): Deactivate it.
3597
3598 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3599 (delete-selection-helper): Make sure yank starts at the top of the
3600 deleted region.
3601 (minibuffer-keyboard-quit): Use region-active-p.
3602
3603 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3604
3605 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3606 to `delete' (bug#16109).
3607
3608 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3609
3610 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3611 info manual and show keybindings and set `:group' keyword.
3612
3613 2013-12-11 Juri Linkov <juri@jurta.org>
3614
3615 * delsel.el (delete-active-region): Let-bind `this-command'
3616 to prevent `kill-region' from changing its original value.
3617 (delete-selection-helper): Handle `overwrite-mode' for the type
3618 `kill' exactly the same way as for the type `t'.
3619 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3620 Support more commands. (Bug#13312)
3621
3622 2013-12-11 Juri Linkov <juri@jurta.org>
3623
3624 * bindings.el: Map kp keys to non-kp keys systematically
3625 with basic modifiers control, meta and shift. (Bug#14397)
3626
3627 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3628
3629 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3630 "Close browser" menu items. Fix wrong function of "List
3631 bookmarks".
3632
3633 2013-12-11 Juri Linkov <juri@jurta.org>
3634
3635 * misearch.el (multi-isearch-buffers): Set the value of
3636 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3637 arg of isearch-forward to t.
3638 (multi-isearch-buffers-regexp): Set the value of
3639 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3640 arg of isearch-forward-regexp to t.
3641 (multi-isearch-files): Set the value of
3642 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3643 arg of isearch-forward to t.
3644 (multi-isearch-files-regexp): Set the value of
3645 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3646 arg of isearch-forward-regexp to t. (Bug#16035)
3647
3648 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3649 arg of isearch-forward to t.
3650 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3651 arg of isearch-forward-regexp to t.
3652 (dired-isearch-filter-filenames): Remove unnecessary check for
3653 `dired-isearch-filenames'.
3654
3655 * comint.el (comint-history-isearch-backward):
3656 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3657 (comint-history-isearch-backward-regexp):
3658 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3659
3660 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3661
3662 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3663 unmsys--file-name. (Bug#16099)
3664
3665 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3666
3667 * emacs-lisp/package.el (package-keyword-button-action):
3668 Remove finder.el require dependency.
3669
3670 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3671
3672 * emacs-lisp/package.el: Require finder.el.
3673 (describe-package-1): Add keyword buttons.
3674 (package-make-button): New convenience function.
3675 (package-keyword-button-action): Keyword button action using
3676 `finder-list-matches'.
3677
3678 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3679
3680 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3681 last commit.
3682
3683 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3684
3685 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3686 symlinked files.
3687
3688 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3689
3690 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3691 after the end of a percent literal.
3692
3693 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3694
3695 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3696 Handle caret-delimited strings (Bug#16079).
3697
3698 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3699
3700 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3701 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3702 `ruby-parse-partial' (Bug#16078).
3703
3704 2013-12-09 Leo Liu <sdl.web@gmail.com>
3705
3706 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3707
3708 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3709
3710 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3711 (js-switch-indent-offset): New option.
3712 (js--proper-indentation): Use it. And handle the case when
3713 "default" is actually a key in an object literal.
3714 (js--same-line): New function.
3715 (js--multi-line-declaration-indentation): Use it.
3716 (js--indent-in-array-comp, js--array-comp-indentation):
3717 New functions.
3718 (js--proper-indentation): Use them, to handle array comprehension
3719 continuations.
3720
3721 2013-12-08 Leo Liu <sdl.web@gmail.com>
3722
3723 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3724 (flymake-make-overlay): Remove arg MOUSE-FACE.
3725 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3726
3727 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3730 New function.
3731 (redisplay-highlight-region-function): Use it.
3732
3733 * emulation/cua-base.el (cua--explicit-region-start)
3734 (cua--last-region-shifted): Remove.
3735 (cua--deactivate): Use deactivate-mark.
3736 (cua--pre-command-handler-1): Don't handle shift-selection.
3737 (cua--post-command-handler-1): Don't change transient-mark-mode.
3738 (cua--select-keymaps): Use region-active-p rather than
3739 cua--explicit-region-start or cua--last-region-shifted.
3740 (cua-mode): Enable shift-select-mode.
3741
3742 2013-12-08 Leo Liu <sdl.web@gmail.com>
3743
3744 * progmodes/flymake.el (flymake-popup-current-error-menu):
3745 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3746 (flymake-posn-at-point-as-event, flymake-popup-menu)
3747 (flymake-make-emacs-menu): Remove. (Bug#16077)
3748
3749 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3750
3751 * rect.el (rectangle-mark-mode): Activate mark even if
3752 transient-mark-mode is off (bug#16066).
3753 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3754 is > mark and at bolp.
3755
3756 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3757 (region-extract-function): Use it.
3758 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3759 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3760 Delete functions.
3761 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3762 kill-ring-save, kill-region, delete-char, delete-forward-char.
3763 Ignore self-insert-iso.
3764
3765 * emulation/cua-gmrk.el (cua--init-global-mark):
3766 Ignore `self-insert-iso'.
3767
3768 * emulation/cua-base.el (cua--prefix-copy-handler)
3769 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3770 checking cua--rectangle.
3771 (cua-delete-region): Use region-extract-function.
3772 (cua-replace-region): Delete function.
3773 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3774 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3775 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3776 (cua--init-keymaps): Don't remap delete-selection commands.
3777 (cua-mode): Use delete-selection-mode instead of rolling our own
3778 (bug#16085).
3779
3780 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3781 Obey region-extract-function.
3782
3783 Make registers and delete-selection-mode work on rectangles.
3784 * register.el (describe-register-1): Don't modify the register's value.
3785 (copy-to-register): Obey region-extract-function.
3786 * delsel.el (delete-active-region): Obey region-extract-function.
3787
3788 2013-12-08 Leo Liu <sdl.web@gmail.com>
3789
3790 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3791 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3792 (flymake-compilation-prevents-syntax-check)
3793 (flymake-start-syntax-check-on-newline)
3794 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3795 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3796 (flymake-xml-program, flymake-master-file-dirs)
3797 (flymake-master-file-count-limit)
3798 (flymake-allowed-file-name-masks): Relocate.
3799 (flymake-makehash, flymake-float-time)
3800 (flymake-replace-regexp-in-string, flymake-split-string)
3801 (flymake-get-temp-dir): Remove.
3802 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3803 (flymake-current-row, flymake-selected-frame)
3804 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3805 related functions. (Bug#16077)
3806
3807 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3808
3809 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3810
3811 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3812
3813 * help-fns.el (describe-function-1): Use new advice-* functions
3814 rather than old ad-* functions. Fix function type description and
3815 source links for advised functions and subrs.
3816
3817 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3818
3819 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3820
3821 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3822
3823 * progmodes/compile.el (compilation-start):
3824 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3825
3826 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3827 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3828
3829 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3830
3831 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3832 Touch up the last change.
3833
3834 2013-12-06 Leo Liu <sdl.web@gmail.com>
3835
3836 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3837 (inferior-octave-startup): Always use "octave> " for prompt.
3838 (octave-goto-function-definition)
3839 (octave-sync-function-file-names)
3840 (octave-find-definition-default-filename): Remove redundant backquotes.
3841
3842 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3843
3844 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3845 syntax for `?'.
3846 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3847 where appropriate already.
3848 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3849 end of method names (Bug#15874).
3850
3851 2013-12-06 Juri Linkov <juri@jurta.org>
3852
3853 * isearch.el (isearch--saved-overriding-local-map):
3854 New internal variable.
3855 (isearch-mode): Set it to the initial value of
3856 `overriding-terminal-local-map'.
3857 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3858 with `isearch--saved-overriding-local-map'. (Bug#16035)
3859
3860 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3861
3862 * progmodes/octave.el (inferior-octave-completion-table):
3863 Turn back into function, use `completion-table-with-cache'
3864 (Bug#11906). Update all references.
3865
3866 * minibuffer.el (completion-table-with-cache): New function.
3867
3868 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3869
3870 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3871
3872 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3873
3874 * net/eww.el (eww-current-source): New variable to store page
3875 source.
3876 (eww-display-html, eww-mode, eww-save-history)
3877 (eww-restore-history): Use it.
3878 (eww-view-source): New command to view page source.
3879 Opportunistically uses `html-mode' to highlight the buffer.
3880 (eww-mode-map): Install it.
3881
3882 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3883
3884 * net/dbus.el (dbus-unregister-service)
3885 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3886 Fix docstring.
3887 (dbus-unregister-service): Skip :serial entries in
3888 `dbus-registered-objects-table'.
3889 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3890
3891 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3892
3893 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3894 around keywords with extra `split-string' argument.
3895
3896 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3897
3898 * windmove.el (windmove-other-window-loc): Handle navigation
3899 between windows (excluding the minibuffer window - Bug#16017).
3900
3901 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3902
3903 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3904 in D-Bus type syntax.
3905 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3906 preserve unibyte strings. (Bug#16048)
3907
3908 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3911 Call force-mode-line-update is the proper buffer (bug#16042).
3912
3913 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3914
3915 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3916 `log-edit-remember-comment', make argument optional. Adjust all
3917 callers.
3918 (log-edit-mode): Add `log-edit-remember-comment' to
3919 `kill-buffer-hook' locally.
3920 (log-edit-kill-buffer): Don't remember comment explicitly since
3921 the buffer is killed anyway.
3922
3923 2013-12-04 Juri Linkov <juri@jurta.org>
3924
3925 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3926 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3927
3928 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3929
3930 * notifications.el (notifications-close-notification): Call the
3931 D-Bus method with ID being a `:uint32'. (Bug#16030)
3932
3933 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3934
3935 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3936
3937 2013-12-03 Juri Linkov <juri@jurta.org>
3938
3939 * progmodes/compile.el (compilation-start): Rename window alist
3940 entry `no-display-ok' to `allow-no-window'.
3941
3942 * simple.el (shell-command): Add window alist entry
3943 `allow-no-window' to `display-buffer'.
3944 (async-shell-command): Doc fix.
3945
3946 * window.el (display-buffer-no-window): New action function.
3947 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3948
3949 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3950
3951 * vc/log-edit.el (log-edit-set-header): Extract from
3952 `log-edit-toggle-header'.
3953 (log-edit-extract-headers): Separate the summary, when extracted
3954 from header, from the rest of the message with an empty line.
3955
3956 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3957 line, if present, to the Summary header.
3958
3959 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3962 in current-buffer (bug#16029).
3963
3964 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3965
3966 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3967 (debugger-mode-map): Bind it.
3968 (debugger--backtrace-base): New function.
3969 (debugger-eval-expression): Use it.
3970 (debugger-frame-number): Skip local vars when present.
3971 (debugger--locals-visible-p, debugger--insert-locals)
3972 (debugger--show-locals, debugger--hide-locals): New functions.
3973
3974 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3977 "LC_ALL".
3978 (tramp-get-remote-locale): New defun.
3979 (tramp-open-connection-setup-interactive-shell): Use it.
3980
3981 2013-12-02 Leo Liu <sdl.web@gmail.com>
3982
3983 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3984
3985 * progmodes/sh-script.el (sh-shell-process):
3986 * progmodes/octave.el (inferior-octave-process-live-p):
3987 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3988 (gdb-inferior-io-sentinel):
3989 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3990
3991 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3992
3993 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3994 `save-selected-window' to `log-edit-hide-buf'. This makes
3995 `log-edit-show-files' idempotent.
3996 (log-edit-show-files): Mark the new window as dedicated.
3997
3998 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3999
4000 * vc/log-edit.el (log-edit-mode-map): Add binding for
4001 `log-edit-kill-biffer'.
4002 (log-edit-hide-buf): Add a FIXME comment.
4003 (log-edit-add-new-comment): New function, extracted from
4004 `log-edit-done'.
4005 (log-edit-done, log-edit-add-to-changelog): Use it.
4006 (log-edit-kill-buffer): New command.
4007
4008 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4009
4010 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4011 instead of killing the buffer.
4012
4013 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4014
4015 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4016
4017 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4018
4019 * net/eww.el (eww-form-checkbox-selected-symbol)
4020 (eww-form-checkbox-symbol): New customizable variable.
4021 (eww-form-checkbox, eww-toggle-checkbox):
4022 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4023
4024 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4025 (shr--get-media-pref, shr--extract-best-source): New function.
4026 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4027 no :src tag was specified.
4028
4029 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4030 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4031 Use \\` to match beginning of string instead of ^.
4032 (eww-browse-with-external-browser): Provide optional URL parameter.
4033 (eww-render): Set `eww-current-title' back to "".
4034
4035 * net/shr.el (shr-tag-video): Display content for video if no
4036 poster is available.
4037 (shr-tag-audio): Add support for <audio> tag.
4038
4039 * net/eww.el (eww-text-input-types): New const.
4040 (eww-process-text-input): Treat input types in
4041 `eww-text-input-types' as text.
4042
4043 * net/shr.el (shr-tag-table): Fix comment typo.
4044
4045 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4046
4047 * net/eww.el (eww-follow-link): New command to avoid reloading
4048 pages when we follow #target links (bug#15243).
4049 (eww-quit): Special mode buffers shouldn't query before exiting.
4050
4051 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4052
4053 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4054 forms.
4055
4056 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4057
4058 * net/eww.el (eww-restore-history): Update the window title after
4059 moving in the history.
4060 (eww-current-dom): New variable used to save the current DOM.
4061
4062 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4063
4064 * vc/log-edit.el (log-edit-mode-map): Add binding for
4065 `log-edit-beginning-of-line'.
4066 (log-edit-setup-add-author): New user option.
4067 (log-edit-beginning-of-line): New command.
4068 (log-edit): Move major mode call above the contents setup so that
4069 the local variable values are already applied.
4070 (log-edit): Only insert "Author: " when
4071 `log-edit-setup-add-author' is non-nil.
4072 (log-edit): When SETUP is non-nil, position point after ": "
4073 instead of point-min.
4074
4075 2013-12-01 Glenn Morris <rgm@gnu.org>
4076
4077 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4078
4079 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4080
4081 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4082 redisplay to make sure the initial frame gets a chance to become
4083 visible. (Bug#16014)
4084
4085 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4086
4087 Support resizing frames and windows pixelwise.
4088 * cus-start.el (frame-resize-pixelwise)
4089 (window-resize-pixelwise): New entries.
4090 * emacs-lisp/debug.el (debug): Use window-total-height instead
4091 of window-total-size.
4092 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4093 * help.el (describe-bindings-internal): Use help-buffer as
4094 argument for with-help-window.
4095 (temp-buffer-max-width): New option.
4096 (resize-temp-buffer-window, help-window-setup)
4097 (with-help-window): Rewrite.
4098 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4099 dragging dividers.
4100 * window.el (frame-char-size, window-min-pixel-height)
4101 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4102 (window-min-pixel-width, window-safe-min-pixel-size)
4103 (window-combination-p, window-safe-min-size)
4104 (window-resizable-p, window--size-to-pixel)
4105 (window--pixel-to-size, window--resize-apply-p): New functions.
4106 (window-safe-min-height): Fix doc-string.
4107 (window-size, window-min-size, window--min-size-1)
4108 (window-sizable, window-sizable-p, window--min-delta-1)
4109 (window-min-delta, window--max-delta-1, window-max-delta)
4110 (window--resizable, window--resizable-p, window-resizable)
4111 (window-full-height-p, window-full-width-p, window-at-side-p)
4112 (window--in-direction-2, window-in-direction)
4113 (window--resize-reset-1, window--resize-mini-window)
4114 (window-resize, window-resize-no-error)
4115 (window--resize-child-windows-normal)
4116 (window--resize-child-windows, window--resize-siblings)
4117 (window--resize-this-window, window--resize-root-window)
4118 (window--resize-root-window-vertically)
4119 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4120 (maximize-window, minimize-window, delete-window)
4121 (quit-restore-window, window-split-min-size, split-window)
4122 (balance-windows-2, balance-windows)
4123 (balance-windows-area-adjust, balance-windows-area)
4124 (window--state-get-1, window-state-get, window--state-put-1)
4125 (window--state-put-2, window-state-put)
4126 (display-buffer-record-window, window--display-buffer):
4127 Make functions handle pixelwise sizing of windows.
4128 (display-buffer--action-function-custom-type)
4129 (display-buffer-fallback-action):
4130 Add display-buffer-in-previous-window.
4131 (display-buffer-use-some-window): Resize window to height it had
4132 before.
4133 (fit-window-to-buffer-horizontally): New option.
4134 (fit-frame-to-buffer): Describe new values.
4135 (fit-frame-to-buffer-bottom-margin): Replace with
4136 fit-frame-to-buffer-margins.
4137 (window--sanitize-margin): New function.
4138 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4139 using window-text-pixel-size.
4140
4141 2013-11-30 Glenn Morris <rgm@gnu.org>
4142
4143 * emacs-lisp/bytecomp.el (byte-compile-form):
4144 Make the `interactive-only' warning like the `obsolete' one.
4145 * comint.el (comint-run):
4146 * files.el (insert-file-literally, insert-file):
4147 * replace.el (replace-string, replace-regexp):
4148 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4149 (goto-line, insert-buffer, next-line, previous-line):
4150 Tweak `interactive-only' spec.
4151
4152 Stop keeping (most) generated cedet grammar files in the repository.
4153 * Makefile.in (semantic): New.
4154 (compile-main): Depend on semantic.
4155
4156 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4157
4158 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4159 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4160
4161 * uniquify.el (uniquify-buffer-name-style): Change default.
4162
4163 * loadup.el: Preload "uniquify".
4164
4165 * time.el (display-time-update): Update all mode lines (bug#15999).
4166
4167 * electric.el (electric-indent-mode): Enable by default.
4168 * loadup.el: Preload "electric".
4169
4170 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4171
4172 * emacs-lisp/helpers.el (string-empty-p): New function.
4173 (string-blank-p): New function.
4174
4175 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4176
4177 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4178 (Bug#14029).
4179
4180 2013-11-29 Andreas Politz <politza@fh-trier.de>
4181 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4182 allow non-lambda lists as functions.
4183 (imenu--in-alist): Don't recurse into non-subalists.
4184 (imenu): Don't pass function itself as an argument (Bug#14029).
4185
4186 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4187
4188 * progmodes/python.el (python-mode-map): Remove binding for ":".
4189 (python-indent-electric-colon): Remove command.
4190 (python-indent-post-self-insert-function): Integrate the previous code
4191 of python-indent-electric-colon. Make it conditional on
4192 electric-indent-mode.
4193 (python-mode): Add ?: to electric-indent-chars.
4194 Move python-indent-post-self-insert-function to the end of
4195 post-self-insert-hook.
4196
4197 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * doc-view.el (doc-view-goto-page): Update mode-line.
4200
4201 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4202
4203 2013-11-27 Glenn Morris <rgm@gnu.org>
4204
4205 * international/charprop.el, international/uni-bidi.el:
4206 * international/uni-category.el, international/uni-combining.el:
4207 * international/uni-comment.el, international/uni-decimal.el:
4208 * international/uni-decomposition.el, international/uni-digit.el:
4209 * international/uni-lowercase.el, international/uni-mirrored.el:
4210 * international/uni-name.el, international/uni-numeric.el:
4211 * international/uni-old-name.el, international/uni-titlecase.el:
4212 * international/uni-uppercase.el:
4213 Remove generated files from VCS repository.
4214
4215 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4216
4217 * filenotify.el (file-notify-add-watch): Don't special-case
4218 w32notify when computing the directory to watch.
4219
4220 2013-11-27 Glenn Morris <rgm@gnu.org>
4221
4222 Make bootstrap without generated uni-*.el files possible again.
4223 * loadup.el: Update command-line-args checking for unidata-gen.
4224 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4225 * composite.el, international/characters.el:
4226 Handle unicode tables being undefined.
4227
4228 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4229 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4230 (compile-main): Depend on leim rule.
4231 (leim): New rule.
4232 * loadup.el: Move leim-list.el to leim/ subdirectory.
4233 * startup.el (normal-top-level): No more leim directory.
4234 * international/ja-dic-cnv.el (skkdic-convert):
4235 Disable version-control and autoloads in output files.
4236 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4237 Disable version-control and autoloads in output files.
4238 * leim/quail: Move here from ../leim.
4239 * leim/quail/hangul.el (hangul-input-method-activate):
4240 Add autoload cookie.
4241 (generated-autoload-load-name): Set file-local value.
4242 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4243 (generated-autoload-load-name): Set file-local value.
4244
4245 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4246
4247 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4248 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4249 (eww-quit): Ask confirmation before quitting eww.
4250
4251 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4252
4253 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4254 reading output from Diff on MS-Windows and MS-DOS.
4255
4256 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4257
4258 * emacs-lisp/helpers.el (string-reverse): New function.
4259
4260 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4261
4262 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4263 names on MS Windows, like "/[::1]:".
4264
4265 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4266 SWITCHES.
4267
4268 2013-11-26 Glenn Morris <rgm@gnu.org>
4269
4270 * progmodes/python.el (python-indent-guess-indent-offset):
4271 Avoid corner-case error. (Bug#15975)
4272
4273 Preload leim-list.el. (Bug#4789)
4274 * loadup.el: Load leim-list.el when found.
4275 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4276
4277 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4278
4279 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4280
4281 * emacs-lisp/helpers.el (string-join): New function.
4282
4283 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4284
4285 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4286 Mark as obsolete and replace it with a symbol property.
4287 (byte-compile-form): Use new 'interactive-only property.
4288 * comint.el, files.el, replace.el, simple.el:
4289 Apply new 'interactive-only properly.
4290
4291 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4292
4293 * window.el (display-buffer-at-bottom): Make sure that
4294 split-window-sensibly creates the new window on bottom
4295 (Bug#15961).
4296
4297 2013-11-23 David Kastrup <dak@gnu.org>
4298
4299 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4300 on the conflict markers when available.
4301 (smerge--get-marker): New function.
4302 (smerge-end-re, smerge-base-re): Add subgroup.
4303
4304 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4305
4306 * frame.el (handle-focus-in, handle-focus-out): Add missing
4307 interactive spec.
4308
4309 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4310
4311 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4312 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4313
4314 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4317 (gomoku--last-pos): New var.
4318 (gomoku--intangible-chars): New const.
4319 (gomoku--intangible): New function.
4320 (gomoku-mode): Use it. Derive from special-mode.
4321 (gomoku-move-up): Adjust line count.
4322 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4323 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4324 Simplify accordingly.
4325
4326 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4327 Remove blink-cursor code.
4328 (blink-cursor-timer-function, blink-cursor-suspend):
4329 Don't special-case GUIs.
4330 (blink-cursor-mode): Use focus-in/out-hook.
4331
4332 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4333
4334 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4335 work when annotation is invisible (Bug#13886).
4336
4337 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4338
4339 * json.el (json-alist-p): Only return non-nil if the alist has
4340 simple keys (Bug#13518).
4341
4342 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4343
4344 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4345 when control-statement is the first statement in a buffer (Bug#15956).
4346
4347 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4348
4349 * imenu.el (imenu-generic-skip-comments-and-strings):
4350 New option (Bug#15560).
4351 (imenu--generic-function): Use it.
4352
4353 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4354
4355 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4356 (Bug#13898)
4357
4358 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4359
4360 * emacs-lisp/helpers.el: Add some string helpers.
4361 (string-trim-left): Removes leading whitespace.
4362 (string-trim-right): Removes trailing whitespace.
4363 (string-trim): Removes leading and trailing whitespace.
4364
4365 * subr.el (string-suffix-p): New function.
4366
4367 2013-11-23 Glenn Morris <rgm@gnu.org>
4368
4369 * progmodes/python.el (python-shell-send-file):
4370 Add option to delete file when done. (Bug#15647)
4371 (python-shell-send-string, python-shell-send-region): Use it.
4372
4373 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4374
4375 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4376 to set buffer-read-only to t, never to nil. (Bug#15938)
4377
4378 * textmodes/tex-mode.el (latex-noindent-environments):
4379 Add safe-local-variable property. (Bug#15936)
4380
4381 2013-11-23 Glenn Morris <rgm@gnu.org>
4382
4383 * textmodes/enriched.el (enriched-mode): Doc fix.
4384 * emacs-lisp/authors.el (authors-renamed-files-alist):
4385 Add enriched.doc -> enriched.txt.
4386
4387 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4388
4389 2013-11-22 Leo Liu <sdl.web@gmail.com>
4390
4391 * progmodes/octave.el (inferior-octave-startup): Spit out error
4392 message.
4393
4394 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4395
4396 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4397 Improve docstring.
4398 Add :version.
4399 (ruby-encoding-magic-comment-style): Add :version.
4400
4401 2013-11-22 Leo Liu <sdl.web@gmail.com>
4402
4403 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4404 (Bug#15076)
4405 (octave-help-mode): Adapt to change to help-mode-finish to use
4406 derived-mode-p on 2013-09-17.
4407 (inferior-octave-prompt): Also match octave-gui.
4408 (octave-kill-process): Don't ask twice. (Bug#10564)
4409
4410 2013-11-22 Leo Liu <sdl.web@gmail.com>
4411
4412 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4413 (inferior-octave-startup, inferior-octave-check-process)
4414 (inferior-octave-track-window-width-change)
4415 (octave-completion-at-point, octave-eldoc-function): Use it.
4416 (octave-kill-process): Provide confirmation. (Bug#10564)
4417
4418 2013-11-21 Leo Liu <sdl.web@gmail.com>
4419
4420 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4421 Fix obsolete variable comment-use-global-state.
4422
4423 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4424
4425 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4426 Add `octave-source-file'.
4427 (octave-source-file): New function. (Bug#15935)
4428
4429 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4430
4431 * net/eww.el (eww-local-regex): New variable.
4432 (eww): Use it to detect localhost and similar.
4433
4434 2013-11-21 Leo Liu <sdl.web@gmail.com>
4435
4436 Add completion for command `ag'.
4437 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4438 (pcomplete/ag): New function.
4439 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4440
4441 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4442
4443 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4444 (bug#14646).
4445 (make-obsolete): Remove interactive spec.
4446
4447 2013-11-21 Glenn Morris <rgm@gnu.org>
4448
4449 * startup.el (command-line-1): Use path-separator with -L.
4450
4451 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4452
4453 * emacs-lisp/package.el (describe-package-1): Add package archive
4454 to shown fields.
4455
4456 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4457
4458 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4459 Change default to "# encoding: %s" to differentiate it from the
4460 default Ruby encoding comment template.
4461
4462 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4463
4464 * ses.el (ses-mode): Doc fix. (Bug#14748)
4465
4466 2013-11-20 Leo Liu <sdl.web@gmail.com>
4467
4468 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4469
4470 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4471
4472 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4473 when rebase or bisect are in progress.
4474
4475 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4476
4477 * filenotify.el (file-notify-add-watch): Doc fix.
4478
4479 2013-11-19 Leo Liu <sdl.web@gmail.com>
4480
4481 * obsolete/rcompile.el: Mark obsolete.
4482
4483 * progmodes/compile.el (compilation-start)
4484 (compilation-goto-locus, compilation-find-file):
4485 Pass no-display-ok and handle nil value from display-buffer.
4486 (Bug#13594)
4487
4488 * window.el (display-buffer-alist, display-buffer): Document the
4489 new parameter no-display-ok. Return either a window or nil
4490 but never a non-window value.
4491
4492 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * electric.el (electric-indent-mode-map): Remove.
4495 (electric-indent-mode): Change the global-map instead (bug#15915).
4496
4497 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4498 Use add-function.
4499
4500 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * emacs-lisp/nadvice.el (remove-function): Align with
4503 add-function's behavior.
4504
4505 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4506 (gdb--string-regexp): New constant.
4507 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4508 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4509 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4510 submatch 1.
4511 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4512 Adjust use accordingly.
4513 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4514
4515 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4516
4517 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4518 interpolation curlies (Bug#15914).
4519
4520 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4521
4522 * calc/calc.el (calc-context-sensitive-enter): New variable.
4523 (calc-enter): Use `calc-context-sensitive-enter'.
4524
4525 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4526
4527 * progmodes/cfengine.el: Version bump.
4528 (cfengine-cf-promises): New defcustom to locate cf-promises.
4529 (cfengine3-vartypes): Add new "data" type.
4530 (cfengine3--current-word): New function to get current name-like
4531 word or its bounds.
4532 (cfengine3--current-function): New function to look up a CFEngine
4533 function's definition.
4534 (cfengine3-format-function-docstring): New function.
4535 (cfengine3-make-syntax-cache): New function.
4536 (cfengine3-documentation-function): New function: ElDoc glue.
4537 (cfengine3-completion-function): New function: completion glue.
4538 (cfengine3-mode): Set `compile-command',
4539 `eldoc-documentation-function', and add to
4540 `completion-at-point-functions'.
4541
4542 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4543
4544 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4545 `tramp-current-connection'.
4546
4547 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4548
4549 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4550 nil/self/true/false with "end of symbol".
4551
4552 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4553
4554 * subr.el (version-regexp-alist): Fix a typo.
4555
4556 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4557
4558 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4559 "en_US.utf8" and "LC_CTYPE" to "".
4560 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4561 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4562
4563 2013-11-15 Leo Liu <sdl.web@gmail.com>
4564
4565 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4566
4567 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * progmodes/gud.el (ctl-x-map):
4570 Remove C-x SPC binding. (Bug#12342)
4571 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4572
4573 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4574
4575 * subr.el (version-regexp-alist):
4576 Recognize hg, svn and darcs versions as snapshot versions.
4577
4578 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4579 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4580 (ruby--encoding-comment-required-p): Extract from
4581 `ruby-mode-set-encoding'.
4582 (ruby-mode-set-encoding): Add the ability to always insert an
4583 utf-8 encoding comment. Fix and simplify coding comment update
4584 logic.
4585
4586 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4587
4588 * net/tramp-gvfs.el (top): Run init code only when
4589 `tramp-gvfs-enabled' is not nil.
4590 (tramp-gvfs-enabled): Check also :system bus.
4591
4592 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 Sync with upstream verilog-mode revision 78e66ba.
4595 * progmodes/verilog-mode.el (verilog-end-of-defun)
4596 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4597 (verilog-get-end-of-defun): Remove unused argument.
4598 (verilog-comment-depth): Remove unused local `e'.
4599 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4600 Don't pass arg to verilog-get-end-of-defun.
4601
4602 2013-11-14 Glenn Morris <rgm@gnu.org>
4603
4604 * obsolete/assoc.el (aget): Prefix dynamic variable.
4605
4606 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4607
4608 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * widget.el, hfy-cmap.el: Remove bogus package version number.
4611
4612 2013-11-13 Glenn Morris <rgm@gnu.org>
4613
4614 * replace.el (replace-eval-replacement):
4615 Try to give more helpful error message. (Bug#15836)
4616
4617 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4618 (archive-7z-update): Avoid custom type mismatches.
4619
4620 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4621
4622 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4623
4624 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4625 address can be empty.
4626
4627 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4628 Accept nil SWITCHES.
4629 (tramp-gvfs-handle-write-region): Implement APPEND.
4630
4631 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4632
4633 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4634 binary "|" operator and closing block args delimiter.
4635 Remove FIXME comment referring to Ruby 1.8-only syntax.
4636 (ruby-smie--implicit-semi-p): Not after "|" operator.
4637 (ruby-smie--closing-pipe-p): New function.
4638 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4639 (ruby-smie-rules): Indent after "|".
4640
4641 2013-11-12 Glenn Morris <rgm@gnu.org>
4642
4643 * ps-print.el (ps-face-attribute-list):
4644 Handle anonymous faces. (Bug#15827)
4645
4646 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4647
4648 * window.el (display-buffer-other-frame): Fix doc-string.
4649 (Bug#15868)
4650
4651 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4654
4655 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4656
4657 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4658 (tramp-sh-handle-file-local-copy): Don't write a message when
4659 saving temporary files.
4660
4661 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4662 both directories are remote.
4663 (tramp-smb-handle-directory-files): Do not return double entries.
4664 Do not expand full file names.
4665 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4666 (tramp-smb-handle-write-region): Implement APPEND.
4667 (tramp-smb-get-stat-capability): Fix a stupid bug.
4668
4669 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4672
4673 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4674
4675 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4676 throwing error over malformed let/let* (bug#15814).
4677
4678 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * iswitchb.el (iswitchb-mode): Mark obsolete.
4681
4682 2013-11-11 Glenn Morris <rgm@gnu.org>
4683
4684 * international/uni-bidi.el, international/uni-category.el:
4685 * international/uni-name.el, international/uni-numeric.el:
4686 Regenerate for Unicode 6.3.0.
4687
4688 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4689
4690 * net/tramp.el (tramp-methods):
4691 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4692 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4693
4694 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4695
4696 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4697 Force highlighting text after Summary keyword in doc face for rpm.
4698
4699 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4700
4701 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4702 available and the word has no wildcards, append one to the grep pattern.
4703 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4704 (ispell-complete-word): Call `ispell-lookup-words' with the value
4705 independent of `ispell-look-p'.
4706
4707 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4708
4709 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4710 Not after "||".
4711 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4712 their parent.
4713
4714 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4717 (ruby-font-lock-keywords): Use backquote.
4718
4719 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4720
4721 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4722 (ruby-smie--backward-token): Only consider full-string matches.
4723
4724 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4725
4726 * faces.el (describe-face): Add distant-foreground.
4727
4728 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4729
4730 * progmodes/ruby-mode.el: Improve encoding comment handling.
4731 (ruby-encoding-magic-comment-style): New option.
4732 (ruby-custom-encoding-magic-comment-template): New option.
4733 (ruby--insert-coding-comment, ruby--detect-encoding):
4734 New functions extracted from `ruby-mode-set-encoding'.
4735 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4736 to control the style of the auto-inserted encoding comment.
4737
4738 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4739
4740 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4741 Use `smie-backward-sexp' with token argument.
4742
4743 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4744
4745 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4746 Remove instrumentation code.
4747
4748 2013-11-08 Glenn Morris <rgm@gnu.org>
4749
4750 * progmodes/autoconf.el (autoconf-mode):
4751 Tweak comment-start-skip. (Bug#15822)
4752
4753 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4756 at bobp (bug#15826).
4757 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4758
4759 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4760
4761 * man.el (Man-start-calling): New macro, extracted from
4762 Man-getpage-in-background.
4763 (Man-getpage-in-background): Use it.
4764 (Man-update-manpage): New command.
4765 (Man-mode-map): Bind it.
4766
4767 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4768
4769 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4770 of "and", "or", "&&" and "||".
4771 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4772 argument. Prohibit opening curly brace because it could only be a
4773 block opener in that position.
4774 (ruby-smie--forward-token, ruby-smie--backward-token):
4775 Separate "|" from "&" or "*" going after it. That can happen in block
4776 arguments.
4777 (ruby-smie--indent-to-stmt): New function, seeks the end of
4778 previous statement or beginning of buffer.
4779 (ruby-smie-rules): Use it.
4780 (ruby-smie-rules): Check if there's a ":" before a curly block
4781 opener candidate; if there is, it's a hash.
4782
4783 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4786 (cl--block-wrapper): Fix last accidental change.
4787
4788 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4789
4790 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4791 Instrument, in order to hunt failure on hydra.
4792
4793 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4794
4795 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4796 malformed bindings form (bug#15814).
4797
4798 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4799
4800 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4801 "." compared to " @ ". This incidentally fixes some indentation
4802 examples with "do".
4803 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4804 (ruby-smie-grammar): New tokens: "and" and "or".
4805 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4806 Exclude "and" and "or". Remove "do" in order to work around token
4807 priorities.
4808 (ruby-smie-rules): Add all infix tokens. Handle the case of
4809 beginning-of-buffer.
4810
4811 2013-11-06 Glenn Morris <rgm@gnu.org>
4812
4813 * Makefile.in (setwins_almost, setwins_for_subdirs):
4814 Avoid accidental matches.
4815
4816 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * menu-bar.el (popup-menu): Use key-binding.
4819
4820 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4821
4822 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4823 menus, support also the menus produced by minor modes.
4824 (Bug#15817)
4825
4826 2013-11-06 Leo Liu <sdl.web@gmail.com>
4827
4828 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4829 DISTANCE to bound the search. All uses changed. (Bug#15808)
4830
4831 2013-11-06 Glenn Morris <rgm@gnu.org>
4832
4833 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4834 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4835 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4836
4837 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * electric.el (electric-indent-just-newline): New command.
4840 (electric-indent-mode-map): New keymap.
4841 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4842 Re-add :group which weren't redundant.
4843
4844 * electric.el (electric-indent-local-mode): New minor mode.
4845 (electric-indent-functions-without-reindent): New var.
4846 (electric-indent-post-self-insert-function): Use it.
4847 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4848
4849 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4850
4851 * international/quail.el (quail-help): Be more explicit about the
4852 meaning of the labels shown on the keys. (Bug#15800)
4853
4854 * startup.el (normal-top-level): Load the subdirs.el files before
4855 setting the locale environment. (Bug#15805)
4856
4857 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4860 via arguments so as to get the right ones (bug#15418).
4861
4862 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4863
4864 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4865
4866 Fix problems found while writing a test suite.
4867
4868 * net/tramp-compat.el (tramp-compat-load): New defun.
4869 * net/tramp.el (tramp-handle-load): Use it.
4870
4871 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4872 "(numberp ok-if-already-exists)" correctly.
4873
4874 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4875
4876 * international/characters.el (glyphless-char-display-control):
4877 Add usage note.
4878
4879 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4880
4881 * progmodes/python.el (python-mode):
4882 * progmodes/scheme.el (scheme-mode):
4883 * progmodes/prolog.el (prolog-mode):
4884 * progmodes/ruby-mode.el (ruby-mode):
4885 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4886 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4887
4888 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4889
4890 * rect.el (rectangle--highlight-for-redisplay):
4891 * emacs-lisp/smie.el (smie--next-indent-change):
4892 Use buffer-chars-modified-tick.
4893
4894 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4895
4896 * electric.el (electric-indent-post-self-insert-function):
4897 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4898
4899 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4900
4901 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4902
4903 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4904
4905 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4906 (bug#15786).
4907
4908 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4911
4912 * progmodes/python.el: Fix up last change.
4913 (python-shell--save-temp-file): New function.
4914 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4915 `string' comes from the current buffer.
4916 (python-shell-send-string-no-output): Remove `msg' arg.
4917 (python--use-fake-loc): New var.
4918 (python-shell-buffer-substring): Obey it. Try to compensate for the
4919 extra coding line added by python-shell--save-temp-file.
4920 (python-shell-send-region): Use python-shell--save-temp-file and
4921 python-shell-send-file directly. Add `nomain' argument.
4922 (python-shell-send-buffer): Use python-shell-send-region.
4923 (python-electric-pair-string-delimiter): New function.
4924 (python-mode): Use it.
4925
4926 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4927
4928 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4929 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4930 environment and decoding all of the default-directory's to here
4931 from command-line.
4932 (command-line): Decode also argv[0].
4933
4934 * loadup.el: Error out if default-directory is a multibyte string
4935 when we are dumping.
4936
4937 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4938
4939 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4940
4941 * emacs-lisp/package.el (package-menu-mode)
4942 (package-menu--print-info, package-menu--archive-predicate):
4943 Add Archive column to package list.
4944
4945 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4946
4947 Fix problems found while writing a test suite.
4948
4949 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4950 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4951 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4952 to nil when running original file name handler. Otherwise,
4953 there are problems with constructs like "$$FOO".
4954
4955 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4956 for `localname'.
4957
4958 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4959
4960 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4961
4962 * subr.el (version<, version<=, version=):
4963 Update docstrings with information for snapshot versions.
4964
4965 * helpers.el: New library for misc helper functions.
4966 (hash-table-keys): New function returning a list of hash keys.
4967 (hash-table-values): New function returning a list of hash values.
4968
4969 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4970
4971 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4972 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4973
4974 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4975
4976 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4977 checking whether point is after a 1-letter word.
4978
4979 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4980
4981 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4982 Don't infloop when expanding region over `multiline' syntax-type that
4983 begins a line (bug#15778).
4984
4985 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4988 Make it into a proper minor mode.
4989 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4990 (rectangle-mark-mode-map): New keymap.
4991 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4992
4993 2013-11-04 Glenn Morris <rgm@gnu.org>
4994
4995 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4996
4997 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5000 (ruby-smie-rules): Use smie-rule-parent instead.
5001
5002 * emacs-lisp/smie.el (smie-rule-parent): Always call
5003 smie-indent-virtual rather than only for hanging tokens.
5004 (smie--next-indent-change): New helper command.
5005
5006 2013-11-03 Glenn Morris <rgm@gnu.org>
5007
5008 * Makefile.in (abs_srcdir): Remove.
5009 (emacs): Unset EMACSLOADPATH.
5010
5011 2013-11-02 Glenn Morris <rgm@gnu.org>
5012
5013 * Makefile.in (EMACS): Use a relative filename.
5014 (abs_top_builddir): Remove.
5015 (custom-deps, finder-data, autoloads): Use --chdir.
5016
5017 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5018
5019 Use relative filenames in TAGS files.
5020 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5021 (lisptagsfiles4, TAGS): Use relative file names.
5022 (TAGS-LISP): Remove.
5023 (maintainer-clean): No more TAGS-LISP file.
5024
5025 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5026 (lisptagsfiles4): Use absolute filenames again.
5027 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5028 Remove all *loaddefs files, not just the first. Remove esh-groups.
5029 (maintainer-clean): Delete TAGS, TAGS-LISP.
5030
5031 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5032
5033 * emacs-lisp/package.el (package-version-join):
5034 Recognize snapshot versions.
5035
5036 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5037
5038 * subr.el (version-regexp-alist): Add support for snapshot versions.
5039
5040 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5041
5042 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5043 New function, replacement for `smie-rule-parent' for when we want to
5044 skip over our direct parent if it's an assignment token..
5045 (ruby-smie-rules): Use it.
5046
5047 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5048
5049 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5050 unconditionally. Remove now unnecessary forward declarations.
5051 Remove XEmacs-specific setup.
5052 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5053 (ruby-font-lock-syntactic-keywords)
5054 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5055 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5056 (ruby-here-doc-end-syntax): Remove.
5057 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5058 defined as function.
5059
5060 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5061
5062 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5063
5064 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5065
5066 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5067 table and abbrev table, `define-derived-mode' does that for us
5068 anyway.
5069
5070 2013-11-01 Glenn Morris <rgm@gnu.org>
5071
5072 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5073 files is atomic for some time, so no parallel compilation issues).
5074
5075 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5076
5077 * faces.el (face-x-resources): Add :distant-foreground.
5078 (region): Use :distant-foreground for gtk and ns.
5079
5080 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5081
5082 Allow multiple bibliographies when BibLaTeX is used rather than
5083 BibTeX.
5084 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5085 (reftex-locate-bibliography-files): Us it.
5086
5087 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5088
5089 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5090 allow comments in pbm files.
5091
5092 * term/w32-win.el (dynamic-library-alist): Support newer versions
5093 of libjpeg starting with v7: look only for the DLL from the
5094 version against which Emacs was built.
5095 Support versions of libpng beyond 1.4.x.
5096 Support libtiff v4.x.
5097
5098 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5099
5100 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5101 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5102 Add property :safe.
5103 (ruby-deep-arglist): Add property :type.
5104
5105 2013-10-31 Glenn Morris <rgm@gnu.org>
5106
5107 * Makefile.in (custom-deps, finder-data): No need to setq the target
5108 variables, we are in the right directory and the defaults work fine.
5109
5110 2013-10-30 Glenn Morris <rgm@gnu.org>
5111
5112 * Makefile.in (autoloads): Do not use abs_lisp.
5113
5114 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5115 `newline' does not respect `standard-output', so use `princ'.
5116
5117 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5118
5119 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5120 * buff-menu.el (Buffer-menu--unmark): New function.
5121 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5122
5123 2013-10-30 Glenn Morris <rgm@gnu.org>
5124
5125 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5126
5127 * emacs-lisp/package.el (lm-homepage): Declare.
5128
5129 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5130 Fix doc typos.
5131
5132 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5133
5134 * Makefile.in (finder-data, autoloads, update-subdirs)
5135 (compile-main, compile-clean, compile-always, bootstrap-clean):
5136 Check return value of cd.
5137 (compile-calc): Remove.
5138
5139 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5140
5141 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5142
5143 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5144 (byte-compile-and-folded): New function.
5145 (=, <, >, <=, >=): Use it.
5146
5147 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5148 (path-separator, null-device, buffer-file-coding-system)
5149 (lpr-headers-switches): Check system-type before modifying them.
5150 (find-buffer-file-type-coding-system): Mark obsolete.
5151 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5152 find-file-not-found-set-buffer-file-coding-system.
5153 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5154 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5155 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5156 (w32-direct-print-region-helper, w32-direct-print-region-function)
5157 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5158 * startup.el (normal-top-level-add-subdirs-to-load-path):
5159 * ps-print.el (ps-print-region-function):
5160 * lpr.el (print-region-function): Use new name.
5161
5162 * subr.el (custom-declare-variable-early): Remove function.
5163 (custom-declare-variable-list): Remove var.
5164 (error, user-error): Remove `while' loop.
5165 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5166 (user-emacs-directory-warning, locate-user-emacs-file):
5167 Move to files.el.
5168 * simple.el (read-quoted-char-radix, read-quoted-char):
5169 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5170 Move from subr.el.
5171 * custom.el (custom-declare-variable-list): Don't process
5172 custom-declare-variable-list.
5173
5174 * progmodes/python.el (python-shell-get-buffer): New function.
5175 (python-shell-get-process): Use it.
5176 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5177 Python which encoding was used. Don't split-string since we only care
5178 about the first line. Return the temp-file, if applicable.
5179 (python-shell-send-region): Tell compile.el how to turn locations in
5180 the temp-file into locations in the source buffer.
5181
5182 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * subr.el (undefined): Add missing behavior from the C code for
5185 unbound keys.
5186
5187 * rect.el: Use lexical-binding. Add new rectangular region support.
5188 (rectangle-mark): New command.
5189 (rectangle--region): New var.
5190 (deactivate-mark-hook): Reset rectangle--region.
5191 (rectangle--extract-region, rectangle--insert-for-yank)
5192 (rectangle--highlight-for-redisplay)
5193 (rectangle--unhighlight-for-redisplay): New functions.
5194 (region-extract-function, redisplay-unhighlight-region-function)
5195 (redisplay-highlight-region-function): Use them to handle
5196 rectangular region.
5197 * simple.el (region-extract-function): New var.
5198 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5199 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5200 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5201 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5202 (redisplay-unhighlight-region-function)
5203 (redisplay-highlight-region-function): New vars.
5204 (redisplay--update-region-highlight): New function.
5205 (pre-redisplay-function): Use it.
5206 (exchange-point-and-mark): Don't deactivate the mark before
5207 reactivate-it anyway.
5208 * comint.el (comint-kill-region): Remove yank-handler argument.
5209 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5210 (delete-char): Remove property, since it's now part of their
5211 default behavior.
5212 (self-insert-iso): Remove property since this command doesn't exist.
5213
5214 * emacs-lisp/package.el (package--download-one-archive)
5215 (describe-package-1): Don't query the user about final newline.
5216
5217 2013-10-29 Daniel Colascione <dancol@dancol.org>
5218
5219 * net/tramp.el (tramp-methods): Document new functionality.
5220 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5221 tramp-hostname-checker if method provides one instead of scanning
5222 argument list for "%h" to decide hostname acceptability.
5223
5224 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5225
5226 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5227 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5228 Handle COPY-CONTENTS. (Bug#15737)
5229
5230 2013-10-28 Daiki Ueno <ueno@gnu.org>
5231
5232 * epa-file.el
5233 (epa-file-cache-passphrase-for-symmetric-encryption):
5234 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5235
5236 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5237
5238 * image.el (defimage, image-load-path): Doc fixes.
5239
5240 2013-10-27 Alan Mackenzie <acm@muc.de>
5241
5242 Indent statements in macros following "##" correctly.
5243 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5244 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5245
5246 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5247
5248 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5249
5250 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5251
5252 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5253 after `=' is probably a new expression.
5254
5255 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5256
5257 * man.el (man-imenu-title): New option.
5258 (Man-mode-map): Add menu. (Bug#15722)
5259 (Man-mode): Add imenu to menu.
5260
5261 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5262
5263 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5264 specific in what the first arg can be: a non-keyword word,
5265 string/regexp/percent literal opener, opening paren, or unary
5266 operator followed directly by word.
5267
5268 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5269
5270 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5271 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5272 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5273 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5274 Remove vars, they do not apply any more.
5275 (prolog-mode-abbrev-table): Remove redundant declaration.
5276 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5277 (prolog-use-smie): Remove.
5278 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5279 supported by prolog-electric-if-then-else-flag.
5280 (prolog-mode-variables, prolog-menu): Use setq-local.
5281 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5282 Remove binding to `Backspace' since this key doesn't exist anyway.
5283 Remove bindings for electric self-inserting keys.
5284 (prog-mode): Assume it's defined.
5285 (prolog-post-self-insert): New function.
5286 (prolog-mode): Use it.
5287 (prolog-indent-line, prolog-indent-level)
5288 (prolog-find-indent-of-matching-paren)
5289 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5290 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5291 (prolog-goto-next-paren, prolog-in-string-or-comment)
5292 (prolog-tokenize, prolog-inside-mline-comment)
5293 (prolog-find-start-of-mline-comment): Remove functions.
5294 (prolog-find-unmatched-paren, prolog-clause-end)
5295 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5296 (prolog-electric--if-then-else): Rename from
5297 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5298 (prolog-tokenize-searchkey): Remove const.
5299 (prolog-clause-info): Use forward-sexp.
5300 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5301 (prolog-electric-if-then-else): Remove commands.
5302 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5303 for use in post-self-insert-hook.
5304 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5305 for use in post-self-insert-hook.
5306 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5307 for use in post-self-insert-hook.
5308 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5309 adapt it for use in post-self-insert-hook.
5310
5311 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5312
5313 * emacs-lisp/ert.el (ert-run-tests-interactively):
5314 Use `completing-read'. (Bug#9756)
5315
5316 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5317
5318 * simple.el (line-move): Call line-move-1 instead of
5319 line-move-visual when the current window hscroll is zero, but
5320 temporary-goal-column indicates we will need to hscroll as result
5321 of the movement. (Bug#15712)
5322
5323 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5324
5325 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5326 capitalization. Use :visible instead of :active.
5327 Fix `ruby-indent-exp' reference. Add menu items for the generic
5328 commands that are used with SMIE.
5329 (ruby-do-end-to-brace): Insert space after `{'.
5330
5331 2013-10-25 John Anthony <john@jo.hnanthony.com>
5332
5333 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5334
5335 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5336
5337 2013-10-25 Glenn Morris <rgm@gnu.org>
5338
5339 * vc/vc.el (vc-print-log): Don't use a working revision unless
5340 one was explicitly specified. (Bug#15322)
5341
5342 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * subr.el (add-to-list): Preserve return value in compiler-macro
5345 (bug#15692).
5346
5347 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5348
5349 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5350 result. Ask user to retry using '-all' flag. (Bug#15701)
5351
5352 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * emacs-lisp/smie.el: New smie-config system.
5355 (smie-config): New defcustom.
5356 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5357 (smie-config-guess, smie-config-save): New commands.
5358 (smie-config--mode-local, smie-config--buffer-local)
5359 (smie-config--trace, smie-config--modefuns): New vars.
5360 (smie-config--advice, smie-config--mode-hook)
5361 (smie-config--setter, smie-config-local, smie-config--get-trace)
5362 (smie-config--guess-value, smie-config--guess): New functions.
5363 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5364 text properties. Treat "string fence" syntax like string syntax.
5365
5366 * progmodes/sh-script.el (sh-use-smie): Change default.
5367 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5368 (sh-var-value): Simplify by CSE.
5369 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5370 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5371 is used.
5372 (sh-guess-basic-offset): Use cl-incf.
5373 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5374
5375 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5376
5377 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5378 (bug#15699).
5379
5380 2013-10-24 Glenn Morris <rgm@gnu.org>
5381
5382 * Makefile.in (abs_top_srcdir): Remove.
5383 (update-subdirs): Use relative path to update-subdirs.
5384
5385 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5386
5387 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5388 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5389 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5390 Call unmsys--file-name before expand-file-name, not after it.
5391
5392 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5393
5394 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5395 (ert-test-skipped): New error.
5396 (ert-skip, ert-stats-skipped): New defuns.
5397 (ert--skip-unless): New macro.
5398 (ert-test-skipped): New struct.
5399 (ert--run-test-debugger, ert-test-result-type-p)
5400 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5401 (ert--stats-set-test-and-result, ert-char-for-test-result)
5402 (ert-string-for-test-result, ert-run-tests-batch)
5403 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5404 Handle skipped tests. (Bug#9803)
5405
5406 2013-10-24 Glenn Morris <rgm@gnu.org>
5407
5408 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5409
5410 * Makefile.in (abs_top_srcdir): New, set by configure.
5411 (update-subdirs): Correct build-aux location.
5412
5413 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5414
5415 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5416 value, whether we could auto-deduce `backend', or not.
5417
5418 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5419 with parameters" example. Simplify the "is it block or is it
5420 hash" check, but also make it more thorough.
5421
5422 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5423
5424 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5425
5426 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5427
5428 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5429 { if it is hanging.
5430
5431 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5432 :before ";".
5433
5434 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5435
5436 * progmodes/compile.el (compilation-directory-matcher)
5437 (compilation-page-delimiter):
5438 Support GNU Make-4.0 directory quoting. (Bug#15678)
5439
5440 2013-10-23 Leo Liu <sdl.web@gmail.com>
5441
5442 * ido.el (ido-tidy): Handle read-only text.
5443
5444 2013-10-23 Glenn Morris <rgm@gnu.org>
5445
5446 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5447 (emacs, compile, compile-always):
5448 Quote entities that might contain whitespace.
5449 (custom-deps, finder-data, autoloads): Use abs_lisp.
5450 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5451 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5452 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5453
5454 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5455
5456 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5457 Use `following-char'.
5458
5459 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5462 * progmodes/ruby-mode.el (ruby-smie-rules):
5463 Remove corresponding workaround. Fix indentation rule of ";" so it
5464 also applies when ";" is the parent.
5465
5466 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5467
5468 * frame.el (display-screens, display-pixel-height)
5469 (display-pixel-width, display-mm-width, display-backing-store)
5470 (display-save-under, display-planes, display-color-cells)
5471 (display-visual-class, display-monitor-attributes-list):
5472 Mention the optional ‘display’ argument in doc strings.
5473
5474 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5475
5476 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5477 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5478
5479 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5480
5481 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5482 TODO. Add "." after " @ ".
5483 (ruby-smie--at-dot-call): New function. Checks if point at method
5484 call with explicit target.
5485 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5486 to the method name tokens when it precedes them.
5487 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5488 (ruby-smie-rules): Add rule for indentation before and after "."
5489 token.
5490
5491 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * textmodes/remember.el (remember-diary-extract-entries):
5494 Avoid add-to-list.
5495
5496 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5497 an instruction.
5498
5499 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5500
5501 * progmodes/ruby-mode.el (ruby-smie-grammar):
5502 Add (almost) all infix operators.
5503 (ruby-smie--implicit-semi-p): Add new operator chars.
5504
5505 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5506 `smie-down-list'.
5507 (ruby-smie--args-separator-p): Check that there's no newline
5508 between method call and its arguments.
5509
5510 2013-10-20 Alan Mackenzie <acm@muc.de>
5511
5512 Allow comma separated lists after Java "implements".
5513
5514 * progmodes/cc-engine.el (c-backward-over-enum-header):
5515 Parse commas.
5516 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5517 from a "disallowed" list in enum fontification.
5518
5519 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5520
5521 * startup.el (default-frame-background-mode): Remove unused defvar.
5522
5523 * progmodes/verilog-mode.el (verilog-mode): Don't set
5524 comment-indent-function globally.
5525
5526 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5527
5528 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5529 Move Info menu item creation to ns-win.el.
5530
5531 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5532 in menu bar.
5533
5534 * menu-bar.el: Move GNUstep specific menus...
5535
5536 * term/ns-win.el (ns-initialize-window-system): ... to here.
5537
5538 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5539
5540 * simple.el (newline): Only run post-self-insert-hook when
5541 called interactively.
5542
5543 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5544
5545 * icomplete.el (icomplete-with-completion-tables): Add :version.
5546
5547 2013-10-19 Alan Mackenzie <acm@muc.de>
5548
5549 Fix fontification bugs with constructors and const.
5550
5551 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5552 CASE 2) Remove the check for the absence of a suffix construct
5553 after a function declaration with only types (no identifiers) in
5554 the parentheses. Also, accept a function declaration with just a
5555 type inside the parentheses, if this type can be positively
5556 recognised as such, or if a prefix keyword like "explicit" nails
5557 down the construct as a declaration.
5558
5559 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5560
5561 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5562 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5563 the problem whereby selecting a menu item that leads to a
5564 minibuffer prompt moves the cursor out of the minibuffer window,
5565 making it hard to type at the prompt. Suggested by Stefan Monnier
5566 <monnier@iro.umontreal.ca>.
5567
5568 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5569
5570 * menu-bar.el: Don't make Services menu.
5571
5572 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5573
5574 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5575 (ffap-alist): Use ffap-c++-mode for c++-mode.
5576 (ffap-c++-path): New variable.
5577 (ffap-c++-mode): New function.
5578
5579 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5580
5581 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5582
5583 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5584
5585 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5586 introduced on 2013-09-08, which results in an infinite loop
5587 requesting a password.
5588
5589 2013-10-18 Glenn Morris <rgm@gnu.org>
5590
5591 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5592
5593 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5594
5595 Sync with upstream verilog-mode revision 1a6ecec7.
5596 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5597 (verilog-mode-release-date): Remove.
5598 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5599 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5600 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5601 (verilog-auto-tieoff-ignore-regexp)
5602 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5603 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5604 (verilog-signals-with, verilog-dir-cache-preserving)
5605 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5606 Doc fixes.
5607 (verilog-case-fold): New option, to control case folding in
5608 regexp searches, bug597.
5609 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5610 (verilog-string-match-fold, verilog-in-paren-count)
5611 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5612 (verilog-at-close-struct-p): New functions.
5613 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5614 (verilog-forward-sexp, verilog-set-auto-endcomments)
5615 (verilog-leap-to-case-head): Handle "unique0" case.
5616 (verilog-in-constraint-re): New constant.
5617 (verilog-keywords, verilog-type-font-keywords):
5618 Add some SystemVerilog 1800-2012 keywords.
5619 (verilog-label-be): Remove unimplemented argument, bug669.
5620 (verilog-batch-execute-func): When batch expanding clear
5621 create-lockfiles to prevent spurious user locks when a file ends
5622 up not changing.
5623 (verilog-calculate-indent, verilog-calc-1)
5624 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5625 (verilog-do-indent): Fix indentation of nested constraints
5626 and structures.
5627 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5628 (verilog-auto-inst-param): Use verilog-string-match-fold.
5629 (verilog-read-inst-module-matcher):
5630 Fix AUTOINST on gate primitives with #1.
5631 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5632 Reads all user-defined typed variables.
5633 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5634 (verilog-signals-matching-regexp)
5635 (verilog-signals-not-matching-regexp, verilog-auto):
5636 Respect verilog-case-fold.
5637 (verilog-diff-report): Fix line count.
5638 (verilog-auto-assign-modport): Remove unused local `modi'.
5639 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5640 better handle multidimensional arrays.
5641 Fix packed array ports misadding bit index in AUTOINST, bug637.
5642 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5643 to not double-declare existing outputs and inputs, respectively.
5644 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5645 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5646 (verilog-sk-uvm-component): New skeleton.
5647 (verilog-submit-bug-report): Add verilog-case-fold,
5648 remove verilog-mode-release-date.
5649
5650 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5651
5652 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5653 as before.
5654
5655 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5656
5657 * textmodes/remember.el (remember): Set buffer-offer-save in
5658 remember buffers (bug#13566).
5659
5660 2013-10-18 Daniel Colascione <dancol@dancol.org>
5661
5662 When evaluating forms in ielm, direct standard output to ielm
5663 buffer. Add new ielm-return-for-effect command. Remove trailing
5664 whitespace throughout.
5665
5666 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5667 (ielm-return-for-effect): New command.
5668 (ielm-send-input): Accept optional `for-effect' parameter.
5669 (ielm-eval-input): Accept optional `for-effect' parameter.
5670 Bind `standard-output' to stream we create using
5671 `ielm-standard-output-impl'. Suppress printing result when
5672 `for-effect'.
5673 (ielm-standard-output-impl): New function.
5674 (inferior-emacs-lisp-mode): Explain new features in documentation.
5675
5676 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5677
5678 Code cleanup.
5679
5680 * net/tramp.el (tramp-debug-message): Do not check for connection
5681 buffer.
5682 (tramp-message): Use "vector" connection property.
5683
5684 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5685 (tramp-equal-remote, tramp-eshell-directory-change)
5686 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5687 (tramp-adb-handle-rename-file)
5688 * net/tramp-cmds.el (tramp-list-remote-buffers)
5689 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5690 * net/tramp-compat.el (tramp-compat-process-running-p)
5691 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5692 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5693 (tramp-gvfs-handle-rename-file)
5694 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5695 (tramp-set-file-uid-gid)
5696 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5697 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5698 of `file-remote-p'.
5699
5700 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5701 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5702 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5703 (tramp-gw-open-network-stream): Suppress unrelated traces.
5704
5705 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5706 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5707 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5708 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5709 connection property.
5710
5711 * net/tramp-cache.el (top): Suppress traces when reading
5712 persistency file.
5713
5714 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5715 Refactor common code. Improve debug message.
5716 (tramp-maybe-open-connection)
5717 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5718 connection buffer too early.
5719
5720 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5721 from `tramp-smb-actions-with-acl'.
5722 (tramp-smb-actions-set-acl): New defconst.
5723 (tramp-smb-handle-copy-directory)
5724 (tramp-smb-action-get-acl): New defun, renamed from
5725 `tramp-smb-action-with-acl'.
5726 (tramp-smb-action-set-acl): New defun.
5727 (tramp-smb-handle-set-file-acl): Rewrite.
5728
5729 2013-10-17 Glenn Morris <rgm@gnu.org>
5730
5731 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5732
5733 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * skeleton.el (skeleton-newline): Remove.
5736 (skeleton-internal-1): Use (insert "\n") instead.
5737
5738 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5739 let-bindings.
5740
5741 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5742 forward-sexp-function while we redo its job (bug#15613).
5743
5744 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5745
5746 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5747 represented by lists.
5748
5749 2013-10-16 Glenn Morris <rgm@gnu.org>
5750
5751 * tmm.el (tmm--history): New dynamic variable.
5752 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5753
5754 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5755
5756 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5757 (tramp-smb-errors): Add error messages.
5758 (tramp-smb-actions-with-acl): New defconst.
5759 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5760 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5761 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5762 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5763 (tramp-smb-get-stat-capability): Fix tests.
5764
5765 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5766
5767 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5768 (bug#15580).
5769
5770 2013-10-16 Glenn Morris <rgm@gnu.org>
5771
5772 * ansi-color.el (ansi-color-drop-regexp):
5773 Add 1J, 1K, 2K. (Bug#15617)
5774
5775 * files.el (hack-local-variables--warned-lexical): New.
5776 (hack-local-variables):
5777 Warn about misplaced lexical-binding. (Bug#15616)
5778
5779 * net/eww.el (eww-render): Always set eww-current-url,
5780 and update header line. (Bug#15622)
5781 (eww-display-html): ... Rather than just doing it here.
5782
5783 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5784
5785 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5786 menu navigations commands.
5787
5788 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5789
5790 * progmodes/subword.el (subword-capitalize): Be careful when
5791 the search for [[:alpha:]] fails (bug#15580).
5792
5793 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5794
5795 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5796 to commands that scroll the menu.
5797
5798 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5799
5800 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5801 Handle methods ending with `?' and `!'.
5802
5803 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5804
5805 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5806 `japanese-cp932' to `cp932' to fix the problem where saving a
5807 source file written in Shift_JIS twice would end up having
5808 `coding: japanese-cp932' which Ruby could not recognize.
5809 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5810 in `ruby-encoding-map'.
5811 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5812 doesn't need to be explicitly declared in magic comment.
5813 (ruby-encoding-map): Add type declaration for better customize UI.
5814
5815 2013-10-13 Glenn Morris <rgm@gnu.org>
5816
5817 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5818 Occur buffers are read-only. http://bugs.debian.org/720775
5819
5820 * emacs-lisp/authors.el (authors-fixed-entries):
5821 Comment out old alpha stuff.
5822
5823 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5824
5825 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5826 to `after-save-hook' instead of `before-save-hook'.
5827 (ruby-mode-set-encoding): Use the value of coding system used to
5828 write the file. Call `basic-save-buffer-1' after modifying the
5829 buffer.
5830
5831 2013-10-13 Alan Mackenzie <acm@muc.de>
5832
5833 Fix indentation/fontification of Java enum with
5834 "implements"/generic.
5835
5836 * progmodes/cc-engine.el (c-backward-over-enum-header):
5837 Extracted from the three other places and enhanced to handle generics.
5838 (c-inside-bracelist-p): Uses new function above.
5839 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5840 function above.
5841 (c-font-lock-enum-tail): Uses new function above.
5842
5843 2013-10-13 Kenichi Handa <handa@gnu.org>
5844
5845 * international/mule-cmds.el (select-safe-coding-system): Remove a
5846 superfluous condition in chekcing whether a coding system is safe
5847 or not.
5848
5849 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5850
5851 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5852
5853 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5854
5855 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5856
5857 2013-10-13 Glenn Morris <rgm@gnu.org>
5858
5859 * menu-bar.el (menu-bar-update-buffers):
5860 Unify Buffers menu prompt string. (Bug#15576)
5861
5862 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5863
5864 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5865 Add some entries.
5866 (authors-fixed-entries): Use accented form of name.
5867
5868 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5871 method calls (bug#15594).
5872 (ruby-smie--args-separator-p): New function.
5873 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5874 recognize paren-free method calls.
5875
5876 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5877 internals of universal-argument.
5878
5879 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5880
5881 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5882 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5883 dropped menu on second mouse click on the menu bar.
5884
5885 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5888 (explicit-shell-file-name): Declare.
5889 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5890 (sh-completion-at-point-function): New function.
5891 (sh-mode): Use it.
5892 (sh-smie--keyword-p): Remove unused argument.
5893 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5894 vars.
5895 (sh-set-shell): Always setup SMIE, even if we use the
5896 old indentation code.
5897
5898 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5899
5900 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5901 cases of ? and =.
5902 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5903 predicate would return nil are almost non-existent.
5904 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5905
5906 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5907 cache also after commands that modify the buffer but don't move
5908 point.
5909
5910 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * env.el (substitute-env-in-file-name): New function.
5913 (substitute-env-vars): Extend the meaning of the optional arg.
5914
5915 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5916
5917 * term/w32-win.el (dynamic-library-alist): Define separate lists
5918 of GIF DLLs for versions before and after 5.0.0 of giflib.
5919 (Bug#15531)
5920
5921 2013-10-10 João Távora <joaotavora@gmail.com>
5922
5923 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5924 not locked, use last revision and current source as
5925 defaults. (Bug#15569)
5926
5927 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5928
5929 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5930 menu-bar is hidden.
5931
5932 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5933
5934 * window.el (pop-to-buffer-same-window): Fix doc-string.
5935 (Bug#15492)
5936
5937 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5938
5939 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5940
5941 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5942
5943 * calendar/icalendar.el (icalendar-import-file):
5944 Fix interactive spec. (Bug#15482)
5945
5946 2013-10-10 Glenn Morris <rgm@gnu.org>
5947
5948 * desktop.el (desktop-save): Default to saving in .emacs.d,
5949 since PWD is no longer in desktop-path by default. (Bug#15319)
5950
5951 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5952 now that text mode has a menu with the same entry.
5953 (menu-bar-text-mode-auto-fill): Remove now unused func.
5954 * textmodes/text-mode.el (text-mode-map):
5955 Use auto-fill help text from menu-bar.el.
5956
5957 2013-10-10 John Anthony <john@jo.hnanthony.com>
5958
5959 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5960
5961 2013-10-09 Juri Linkov <juri@jurta.org>
5962
5963 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5964 instead of this-command-keys. Add universal-argument-more and
5965 universal-argument-minus to the list of prefix commands. (Bug#15568)
5966
5967 2013-10-09 Glenn Morris <rgm@gnu.org>
5968
5969 * vc/vc-svn.el (vc-svn-create-repo):
5970 Expand paths in file://... url. (Bug#15446)
5971
5972 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5973 Add some entries.
5974 (authors): Remove unused local variables.
5975
5976 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * profiler.el: Create a more coherent calltree from partial backtraces.
5979 (profiler-format): Hide the tail with `invisible' so that C-s can still
5980 find the hidden elements.
5981 (profiler-calltree-depth): Don't recurse so enthusiastically.
5982 (profiler-function-equal): New hash-table-test.
5983 (profiler-calltree-build-unified): New function.
5984 (profiler-calltree-build): Use it.
5985 (profiler-report-make-name-part): Indent the calltree less.
5986 (profiler-report-mode): Add visibility specs for profiler-format.
5987 (profiler-report-expand-entry, profiler-report-toggle-entry):
5988 Expand the whole subtree when provided with a prefix arg.
5989
5990 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5991
5992 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5993 iuwu-mod token.
5994 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5995 hanging iuwu-mod token.
5996 (ruby-smie--forward-token): Do not include a dot after a token in
5997 that token.
5998 (ruby-smie--backward-token): Likewise.
5999
6000 2013-10-08 Juri Linkov <juri@jurta.org>
6001
6002 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6003 to isearch-other-control-char.
6004 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6005 and isearch-post-command-hook to post-command-hook.
6006 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6007 and isearch-post-command-hook from post-command-hook.
6008 (isearch-unread-key-sequence)
6009 (isearch-reread-key-sequence-naturally)
6010 (isearch-lookup-scroll-key, isearch-other-control-char)
6011 (isearch-other-meta-char): Remove functions.
6012 (isearch-pre-command-hook, isearch-post-command-hook):
6013 New functions based on isearch-other-meta-char rewritten
6014 relying on the new behavior of overriding-terminal-local-map
6015 that does not replace the local keymaps any more. (Bug#15200)
6016
6017 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6018
6019 Support menus on text-mode terminals.
6020 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6021 functionality.
6022
6023 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6024
6025 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6026 Move here from mouse.el.
6027 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6028 and arrow keys.
6029 (tty-menu-navigation-map): New map for TTY menu navigation.
6030
6031 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6032
6033 * frame.el (display-mouse-p): Report text-mode mouse as available
6034 on w32.
6035 (display-popup-menus-p): Report availability if mouse is
6036 available; don't condition on window-system.
6037
6038 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6039 (tty-menu-selected-face): New faces.
6040
6041 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6044 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6045 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6046 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6047 New constants.
6048 (lisp-mode-variables): New `elisp' argument.
6049 (emacs-lisp-mode): Use it.
6050 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6051 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6052
6053 * indent.el: Use lexical-binding.
6054 (indent-region): Add progress reporter.
6055 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6056 last step.
6057 (indent--next-tab-stop): New function to implement this behavior.
6058 (tab-to-tab-stop, move-to-tab-stop): Use it.
6059
6060 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6061
6062 * indent.el (indent-rigidly--current-indentation): New function.
6063 (indent-rigidly-map): New var.
6064 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6065
6066 2013-10-08 Bastien Guerry <bzg@gnu.org>
6067
6068 * register.el (insert-register): Fix 2013-10-07 change.
6069
6070 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6071
6072 * progmodes/perl-mode.el: Use lexical-binding.
6073 Remove redundant :group args.
6074 (perl-nochange): Change default to be closer to other major modes's
6075 standard behavior.
6076 (perl-indent-line): Don't consider text on current line as a
6077 valid beginning of function from which to indent.
6078
6079 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6080 with more than one argument (bug#15538).
6081
6082 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6083
6084 * vc/pcvs.el: Use lexical-binding.
6085 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6086 environment of `eval'.
6087 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6088 than a list of expressions. Adjust callers.
6089 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6090
6091 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6092
6093 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6094 case of the dot in a chained method call being on the following line.
6095
6096 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 * electric.el (electric-indent-inhibit): New var.
6099 (electric-indent-post-self-insert-function): Use it.
6100 * progmodes/python.el (python-mode): Set it.
6101
6102 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6103 open braces.
6104
6105 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6106
6107 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6108 (css-mode): Use electric-indent-chars.
6109
6110 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6111 (font-lock-beg, font-lock-end): Move before first use.
6112 (nxml-mode): Use syntax-propertize-function.
6113 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6114 (nxml-extend-after-change-region): Remove.
6115 * nxml/xmltok.el: Use lexical-binding.
6116 (xmltok-save): Use `declare'.
6117 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6118 * nxml/nxml-util.el: Use lexical-binding.
6119 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6120 Use `declare'.
6121 * nxml/nxml-ns.el: Use lexical-binding.
6122 (nxml-ns-save): Use `declare'.
6123 (nxml-ns-prefixes-for): Avoid add-to-list.
6124 * nxml/rng-match.el: Use lexical-binding.
6125 (rng--ipattern): Use cl-defstruct.
6126 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6127 (rng-cons-group-after, rng-subst-group-after)
6128 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6129 Use closures instead of `(lambda...).
6130
6131 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6132
6133 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6134 of BEG and END.
6135
6136 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6137 Use `tramp-handle-insert-file-contents'.
6138 (tramp-gvfs-handle-insert-file-contents): Remove function.
6139
6140 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6141 Use `save-restriction' in order to keep markers.
6142
6143 * net/trampver.el: Update release number.
6144
6145 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * progmodes/compile.el (compilation-parse-errors):
6148 Use compilation--put-prop.
6149 (compilation--ensure-parse): Check compilation-multiline.
6150
6151 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6152
6153 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6154 lexical-binding.
6155
6156 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6157
6158 * progmodes/ruby-mode.el: Fix recently added tests.
6159 (ruby-smie-grammar): Add - and +.
6160 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6161 (ruby-smie--backward-id): New functions.
6162 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6163 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6164 any more.
6165
6166 2013-10-07 Leo Liu <sdl.web@gmail.com>
6167
6168 * register.el (register-preview-delay)
6169 (register-preview-functions): New variables.
6170 (register-read-with-preview, register-preview)
6171 (register-describe-oneline): New functions.
6172 (point-to-register, window-configuration-to-register)
6173 (frame-configuration-to-register, jump-to-register)
6174 (number-to-register, view-register, insert-register)
6175 (copy-to-register, append-to-register, prepend-to-register)
6176 (copy-rectangle-to-register): Use register-read-with-preview to
6177 read register. (Bug#15525)
6178
6179 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6180
6181 * net/network-stream.el (network-stream-open-starttls): Don't add
6182 --insecure if it's already present, because that gnutls-cli
6183 rejects getting that parameter twice.
6184
6185 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6186
6187 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6188 keyword, too.
6189
6190 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6191
6192 * newcomment.el (comment-use-global-state): Change default value
6193 to t, mark obsolete (Bug#15251).
6194 (comment-beginning): In addition to `comment-to-syntax', check the
6195 value of `comment-use-global-state'.
6196
6197 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6200 (ruby-comment-column): Follow the global default, by default.
6201 (ruby-smie-grammar): Add assignment syntax.
6202 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6203 open-paren, a comma, or a \.
6204 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6205 and line continuations.
6206 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6207 followed by implicit semi-colons. Add rule for string concatenation
6208 and for indentation at BOB.
6209 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6210
6211 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6212 calling next-sexp, since next-token may have skipped chars which
6213 next-sexp doesn't know should be skipped!
6214
6215 2013-10-05 Leo Liu <sdl.web@gmail.com>
6216
6217 * progmodes/octave.el (octave-send-region):
6218 Call compilation-forget-errors.
6219
6220 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6221
6222 * vc/vc-svn.el (vc-svn-find-admin-dir):
6223 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6224 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6225 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6226 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6227
6228 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6231
6232 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6233
6234 * subr.el (read-passwd): Hide chars even when called within a context
6235 where after-change-functions is disabled (bug#15501).
6236 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6237 until we removed ourself from overriding-terminal-local-map.
6238
6239 2013-10-04 Leo Liu <sdl.web@gmail.com>
6240
6241 * progmodes/octave.el (inferior-octave-mode):
6242 Call compilation-forget-errors.
6243
6244 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6245
6246 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6247
6248 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6249
6250 * net/secrets.el (secrets-create-collection): Add optional
6251 argument ALIAS. Use proper Label keyword. Append ALIAS as
6252 dbus-call-method argument. (Bug#15516)
6253
6254 2013-10-04 Leo Liu <sdl.web@gmail.com>
6255
6256 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6257 (inferior-octave-compilation-font-lock-keywords): New variables.
6258 (compilation-error-regexp-alist)
6259 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6260 (inferior-octave-mode): Use compilation-shell-minor-mode.
6261
6262 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6263
6264 * minibuffer.el (completion--replace): Be careful that `end' might be
6265 a marker.
6266
6267 2013-10-03 Daiki Ueno <ueno@gnu.org>
6268
6269 Add support for package signature checking.
6270 * emacs-lisp/package.el (url-http-file-exists-p)
6271 (epg-make-context, epg-context-set-home-directory)
6272 (epg-verify-string, epg-context-result-for)
6273 (epg-signature-status, epg-signature-to-string)
6274 (epg-check-configuration, epg-configuration)
6275 (epg-import-keys-from-file): Declare.
6276 (package-check-signature): New user option.
6277 (package-unsigned-archives): New user option.
6278 (package-desc): Add `signed' field.
6279 (package-load-descriptor): Set `signed' field if .signed file exists.
6280 (package--archive-file-exists-p): New function.
6281 (package--check-signature): New function.
6282 (package-install-from-archive): Check package signature.
6283 (package--download-one-archive): Check archive signature.
6284 (package-delete): Remove .signed file.
6285 (package-import-keyring): New command.
6286 (package-refresh-contents): Import default keyring.
6287 (package-desc-status): Add "unsigned" status.
6288 (describe-package-1, package-menu--print-info)
6289 (package-menu-mark-delete, package-menu--find-upgrades)
6290 (package-menu--status-predicate): Support "unsigned" status.
6291
6292 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6295 the new compilation scheme using the new byte-codes.
6296
6297 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6298 (byte-pophandler): New byte codes.
6299 (byte-goto-ops): Adjust accordingly.
6300 (byte-compile--use-old-handlers): New var.
6301 (byte-compile-catch): Use new byte codes depending on
6302 byte-compile--use-old-handlers.
6303 (byte-compile-condition-case--old): Rename from
6304 byte-compile-condition-case.
6305 (byte-compile-condition-case--new): New function.
6306 (byte-compile-condition-case): New function that dispatches depending
6307 on byte-compile--use-old-handlers.
6308 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6309 when we can.
6310
6311 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6312 Optimize under `condition-case' and `catch' if
6313 byte-compile--use-old-handlers is nil.
6314 (disassemble-offset): Handle new bytecodes.
6315
6316 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6317
6318 * subr.el (error): Use `declare'.
6319 (decode-char, encode-char): Use advertised-calling-convention instead
6320 of the docstring to discourage use of the `restriction' arg.
6321
6322 2013-10-03 Daiki Ueno <ueno@gnu.org>
6323
6324 * epg.el (epg-verify-file): Add a comment saying that it does not
6325 notify verification error as a return value nor a signal.
6326 (epg-verify-string): Ditto.
6327
6328 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6329
6330 * progmodes/compile.el (compilation-start): Try globbing the arg to
6331 `cd' (bug#15417).
6332
6333 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6334
6335 Sync with Tramp 2.2.8.
6336
6337 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6338 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6339 * net/trampver.el: Update release number.
6340
6341 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6342
6343 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6344 and default-process-coding-system for darwin only.
6345
6346 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6349
6350 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6351
6352 * vc/vc-git.el (vc-git-grep): Disable pager.
6353
6354 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6355
6356 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6357 Use :url instead of :homepage, as per
6358 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6359
6360 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6361 non-nil, use `syntax-ppss' (Bug#15251).
6362
6363 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6364
6365 * progmodes/octave.el (inferior-octave-startup-file):
6366 Prefer ~/.emacs.d/init_octave.m.
6367
6368 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6369
6370 * emacs-lisp/package.el (package-desc-from-define):
6371 Accept additional arguments as plist, convert them to an alist and store
6372 them in the `extras' slot.
6373 (package-generate-description-file): Convert extras alist back to
6374 plist and append to the `define-package' form arguments.
6375 (package--alist-to-plist): New function.
6376 (package--ac-desc): Add `extras' slot.
6377 (package--add-to-archive-contents): Check if the archive-contents
6378 vector is long enough, and if it is, pass its `extras' slot value
6379 to `package-desc-create'.
6380 (package-buffer-info): Call `lm-homepage', pass the returned value
6381 to `package-desc-from-define'.
6382 (describe-package-1): Render the homepage button (Bug#13291).
6383
6384 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6385 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6386
6387 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6388
6389 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6390 and default-process-coding-system to utf-8-unix (Bug#15402).
6391
6392 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6393
6394 * subr.el (looking-back): Do not recommend using looking-back.
6395
6396 2013-09-28 Alan Mackenzie <acm@muc.de>
6397
6398 Fix indentation/fontification of Java enum with "implements".
6399
6400 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6401 regexp which matches "implements", etc., in Java.
6402 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6403 specifier clauses coming after "enum".
6404 * progmodes/cc-fonts.el (c-font-lock-declarations)
6405 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6406 after "enum".
6407
6408 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6409
6410 * faces.el (region): Change ns_selection_color to
6411 ns_selection_fg_color, add ns_selection_bg_color.
6412
6413 2013-09-28 Leo Liu <sdl.web@gmail.com>
6414
6415 * progmodes/octave.el (inferior-octave-completion-table)
6416 (inferior-octave-completion-at-point): Minor tweaks.
6417
6418 * textmodes/ispell.el (ispell-lookup-words): Rename from
6419 lookup-words. (Bug#15460)
6420 (lookup-words): Obsolete.
6421 (ispell-complete-word, ispell-command-loop): All uses changed.
6422
6423 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6424
6425 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6426 (octave-mode-menu): Add octave-send-buffer.
6427 (octave-send-buffer): New function.
6428
6429 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6430
6431 * progmodes/octave.el (octave-mode-map): Add key binding for
6432 octave-lookfor.
6433 (octave-mode-menu): Add octave-lookfor.
6434 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6435 octave-lookfor.
6436 (octave-lookfor): New function.
6437
6438 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6441 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6442 its convention.
6443 (cl--loop-set-iterator-function): New function.
6444 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6445 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6446 Bind `it' with `let' instead of substituting it with `cl-subst'.
6447 (cl--unused-var-p): New function.
6448 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6449 Eliminate some unused variable warnings (bug#15326).
6450
6451 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6452
6453 * doc-view.el (doc-view-scale-reset): Rename from
6454 `doc-view-reset-zoom-level'.
6455 (doc-view-scale-adjust): New command.
6456 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6457 `doc-view-scale-adjust'.
6458
6459 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6460
6461 * doc-view.el (doc-view-reset-zoom-level): New command.
6462 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6463 zoom commands (bug#15466).
6464
6465 2013-09-26 Kenichi Handa <handa@gnu.org>
6466
6467 * international/quail.el (quail-help): Make it not a command.
6468
6469 2013-09-26 Leo Liu <sdl.web@gmail.com>
6470
6471 * minibuffer.el (completion-all-sorted-completions): Make args
6472 optional as they are.
6473
6474 2013-09-25 Daniel Colascione <dancol@dancol.org>
6475
6476 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6477 specs are and that they're not evaluated.
6478
6479 2013-09-24 Sam Steingold <sds@gnu.org>
6480
6481 * midnight.el (clean-buffer-list-kill-regexps)
6482 (clean-buffer-list-kill-buffer-names): Update for the new Man
6483 buffer naming which includes the object name.
6484
6485 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6488 (eshell-parse-command, eshell-parse-pipeline): Use it since
6489 eshell-separate-commands requires a dynamic scoped var.
6490 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6491
6492 2013-09-23 Leo Liu <sdl.web@gmail.com>
6493
6494 * autoinsert.el (auto-insert-alist): Make the value of
6495 lexical-binding match its file setting.
6496
6497 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6498
6499 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6500
6501 * autoarg.el (autoarg-kp-digit-argument):
6502 * electric.el (Electric-command-loop):
6503 * kmacro.el (kmacro-step-edit-insert):
6504 Do not set universal-argument-num-events.
6505
6506 2013-09-22 Leo Liu <sdl.web@gmail.com>
6507
6508 * files.el (interpreter-mode-alist): Add octave.
6509
6510 2013-09-21 Alan Mackenzie <acm@muc.de>
6511
6512 C++: fontify identifier in declaration following "public:" correctly.
6513 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6514 to match "public", etc.
6515 (c-decl-prefix-re): Add ":" into the C++ value.
6516 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6517 bit. Add a check for a ":" preceded by "public", etc.
6518
6519 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6520
6521 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6522 recognized by GDB 7.5 and later.
6523
6524 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6525
6526 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6527
6528 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * subr.el (internal--call-interactively): New const.
6531 (called-interactively-p): Use it (bug#3984).
6532
6533 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6534
6535 * vc/pcvs.el (cvs-mode-ignore):
6536 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6537 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6538
6539 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6540
6541 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6542 (eshell-ls-orig-insert-directory): Remove.
6543 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6544 (eshell-ls-use-in-dired): Use advice-add/remove.
6545 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6546 Add `orig-fun' arg for use in :around advice.
6547 Make it check (redundantly) eshell-ls-use-in-dired.
6548
6549 2013-09-19 Glenn Morris <rgm@gnu.org>
6550
6551 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6552
6553 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6554
6555 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6556
6557 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6558
6559 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6560 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6561 (tramp-get-remote-python): New defuns.
6562 (tramp-get-remote-uid-with-perl)
6563 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6564 contributed by yary <not.com@gmail.com> (tiny change).
6565 (tramp-get-remote-uid-with-python)
6566 (tramp-get-remote-gid-with-python): New defuns. Python code
6567 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6568 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6569
6570 2013-09-19 Glenn Morris <rgm@gnu.org>
6571
6572 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6573
6574 * eshell/em-unix.el (eshell-remove-entries):
6575 Rename argument to avoid name-clash with global `top-level'.
6576
6577 * eshell/esh-proc.el (eshell-kill-process-function):
6578 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6579 (eshell-reset-after-proc): Remove unused arg `proc'.
6580
6581 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6582 (directory-files-and-attributes): Mark unused arg.
6583
6584 * eshell/em-unix.el (eshell-remove-entries):
6585 Remove unused arg `path'. Update callers.
6586
6587 * eshell/em-hist.el (eshell-hist-parse-arguments):
6588 Remove unused arg `silent'. Update callers.
6589
6590 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6591 Fix (f)boundp mix-up.
6592
6593 * eshell/em-smart.el (eshell-smart-scroll-window)
6594 (eshell-disable-after-change):
6595 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6596
6597 2013-09-18 Alan Mackenzie <acm@muc.de>
6598
6599 Fix fontification of type when followed by "const".
6600 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6601 "known" types from fontification.
6602
6603 2013-09-18 Glenn Morris <rgm@gnu.org>
6604
6605 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6606 (chart-face-list): Drop Emacsen without display-color-p.
6607
6608 * net/eww.el (libxml-parse-html-region): Declare.
6609 (eww-display-html): Explicit error if no libxml2 support.
6610
6611 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6612
6613 * image.el (image-type-from-buffer, image-multi-frame-p):
6614 Remove --without-x warning/error.
6615
6616 * mouse.el (mouse-yank-primary):
6617 * term.el (term-mouse-paste):
6618 Reorder to silence --without-x compilation.
6619
6620 * mpc.el (doc-view-mode): Silence --without-x compilation.
6621
6622 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6623 Silence --without-x compilation.
6624
6625 * progmodes/gud.el (gud-find-file, gud-mode):
6626 Silence --without-x compilation.
6627 (tooltip-mode): Declare.
6628
6629 * wdired.el (dired-backup-overwrite): Remove declaration.
6630 (wdired-mode-map): Add doc string.
6631
6632 * custom.el (x-get-resource): Declare.
6633
6634 * eshell/em-glob.el (ange-cache):
6635 * eshell/em-unix.el (ange-cache): Declare.
6636
6637 * faces.el (x-display-list, x-open-connection, x-get-resource):
6638 Declare.
6639
6640 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6641 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6642 Declare.
6643
6644 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6645
6646 * net/gnutls.el (gnutls-log-level): Declare.
6647
6648 * net/shr.el (image-size, image-animate): Declare.
6649
6650 * simple.el (font-info): Declare.
6651
6652 * subr.el (x-popup-dialog): Declare.
6653
6654 * term/common-win.el (x-select-enable-primary)
6655 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6656 Declare.
6657
6658 * term/ns-win.el (x-handle-args): Declare.
6659
6660 * term/x-win.el (x-select-enable-clipboard): Declare.
6661
6662 * term/w32-win.el (create-default-fontset): Declare.
6663
6664 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6665 Declare.
6666
6667 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6668 (fit-frame-to-buffer): Explicit error if --without-x.
6669 (mouse-autoselect-window-select): Silence compiler.
6670
6671 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6672
6673 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6674 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6675 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6676 * eshell/esh-util.el (eshell-sublist):
6677 Remove unused local variables.
6678
6679 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6680
6681 * textmodes/two-column.el: Make 2C-split work for --without-x.
6682 (scroll-bar-columns): Autoload.
6683 (top-level): Require fringe when compiling.
6684
6685 2013-09-18 Leo Liu <sdl.web@gmail.com>
6686
6687 * subr.el (add-hook): Robustify to handle closure as well.
6688
6689 2013-09-17 Glenn Morris <rgm@gnu.org>
6690
6691 * simple.el (messages-buffer-mode-map): Unbind "g".
6692
6693 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6694
6695 * help-mode.el (help-mode-finish): Use derived-mode-p.
6696 Remove obsolete highlighting.
6697
6698 * play/life.el (life-mode): Use define-derived-mode. Derive from
6699 special-mode.
6700 (life): Let-bind inhibit-read-only.
6701 (life-setup): Avoid `setq'. Use `life-mode'.
6702
6703 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6704 which should not be needed any more.
6705 (package-menu-refresh, package-menu-describe-package): Use user-error.
6706
6707 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6708 (eshell-post-rewrite-command-hook): Make obsolete.
6709 (eshell-parse-command): Simplify.
6710 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6711 (eshell--cmd): Declare.
6712 (eshell-parse-pipeline): Remove unused var `final-p'.
6713 Pass a dynvar to eshell-post-rewrite-command-hook.
6714 Implement the new eshell-post-rewrite-command-function.
6715 (eshell-invoke-directly): Remove unused arg `input'.
6716 * eshell/esh-io.el (eshell-io-initialize):
6717 Use eshell-post-rewrite-command-function (bug#15399).
6718 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6719 adjust to new calling convention.
6720 (eshell-create-handles): Rename args to avoid clashing with dynvar
6721 `standard-output'.
6722
6723 2013-09-17 Glenn Morris <rgm@gnu.org>
6724
6725 * simple.el (messages-buffer-mode): New major mode.
6726 (messages-buffer): New function.
6727 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6728 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6729 (ert-run-test): Use `messages-buffer' function.
6730 (ert--force-message-log-buffer-truncation): Ignore read-only.
6731 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6732 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6733
6734 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6737
6738 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6739
6740 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 * icomplete.el (icomplete-in-buffer): New var.
6743 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6744 vars and replace them with functions.
6745 (icomplete-minibuffer-setup): Adjust accordingly.
6746 (icomplete--completion-table, icomplete--completion-predicate)
6747 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6748 New functions.
6749 (icomplete-forward-completions, icomplete-backward-completions)
6750 (icomplete-simple-completing-p, icomplete-exhibit)
6751 (icomplete-completions): Use them.
6752 (icomplete--in-region-buffer): New var.
6753 (icomplete--in-region-setup): New function.
6754 (icomplete-mode): Use it.
6755
6756 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6757 (bug#15379).
6758 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6759 return args and options.
6760 (eshell-eval-using-options): Use the new return value of
6761 eshell--do-opts to set the options's vars in their scope.
6762 (eshell--set-option): Rename from eshell-set-option.
6763 Add arg `opt-vals'.
6764 (eshell--process-option): Rename from eshell-process-option.
6765 Add arg `opt-vals'.
6766 (eshell--process-args): Use an `opt-vals' alist to store the options's
6767 values during their processing and return them additionally to the
6768 remaining args.
6769
6770 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6771
6772 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6773 continuation character an operator, as far as indentation is
6774 concerned (Bug#15369).
6775
6776 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6777
6778 * window.el (window--state-put-2): Don't process buffer state
6779 when buffer doesn't exist any more (Bug#15382).
6780
6781 2013-09-15 Glenn Morris <rgm@gnu.org>
6782
6783 * eshell/em-unix.el (eshell/rm):
6784 Make -f ignore missing files. (Bug#15373)
6785
6786 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6787 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6788 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6789
6790 2013-09-14 Glenn Morris <rgm@gnu.org>
6791
6792 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6793
6794 2013-09-13 Glenn Morris <rgm@gnu.org>
6795
6796 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6797 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6798
6799 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6800
6801 * frame.el (x-focus-frame): Mark as declared in frame.c.
6802
6803 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6804
6805 * ls-lisp.el: Use advice-add.
6806 (original-insert-directory): Remove.
6807 (ls-lisp--insert-directory): Rename from insert-directory; add
6808 `orig-fun' argument.
6809 (insert-directory): Advise.
6810
6811 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6812
6813 * term.el (term-emulate-terminal): Decode the command string
6814 before passing it to term-command-hook. (Bug#15337)
6815
6816 2013-09-13 Glenn Morris <rgm@gnu.org>
6817
6818 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6819
6820 * eshell/esh-ext.el (eshell-search-path): Declare.
6821
6822 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6823 Otherwise an error occurs if eshell-dirs module not loaded.
6824
6825 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6826
6827 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6828
6829 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6830 `tramp-check-proper-host'. Check for a valid method name.
6831
6832 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6833 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6834 * net/tramp-sh.el (tramp-maybe-open-connection):
6835 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6836
6837 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6838 also for hash values.
6839
6840 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * term/ns-win.el (parameters): Don't declare as dynamic.
6843 (before-make-frame-hook): Don't add ineffective function.
6844
6845 * eshell/*.el: Use lexical-binding (bug#15231).
6846
6847 2013-09-12 Kenichi Handa <handa@gnu.org>
6848
6849 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6850
6851 2013-09-12 Glenn Morris <rgm@gnu.org>
6852
6853 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6854 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6855
6856 * subr.el (do-after-load-evaluation): Also give compiler warnings
6857 when obsolete files are used (except by obsolete files).
6858
6859 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6860 in the status output, assume `filename' is the first. (Bug#15322)
6861
6862 * vc/vc.el (vc-deduce-fileset): Doc fix.
6863
6864 * calc/calc-help.el (Info-goto-node):
6865 * progmodes/cperl-mode.el (Info-find-node):
6866 * vc/ediff.el (Info-goto-node): Update declarations.
6867
6868 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6869
6870 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6871 (vc-bzr-pull): Require vc-dispatcher.
6872 * vc/vc-git.el (vc-compilation-mode): Declare.
6873 (vc-git-pull): Require vc-dispatcher.
6874
6875 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6876
6877 * progmodes/octave.el (help-button-action): Declare.
6878
6879 * shell.el (shell-directory-tracker): Output error as a message
6880 rather than just returning it as a string.
6881 (shell-process-pushd): Remove useless use of message.
6882
6883 * dframe.el (dframe-timer-fn):
6884 * files.el (dir-locals-read-from-file):
6885 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6886 (mpc-format):
6887 * reveal.el (reveal-post-command):
6888 * saveplace.el (load-save-place-alist-from-file):
6889 * shell.el (shell-resync-dirs):
6890 * w32-common-fns.el (x-get-selection-value):
6891 * emacs-lisp/copyright.el (copyright-find-copyright):
6892 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6893 * emulation/tpu-edt.el (tpu-copy-keyfile):
6894 * play/bubbles.el (bubbles--mark-neighbourhood):
6895 * progmodes/executable.el
6896 (executable-make-buffer-file-executable-if-script-p):
6897 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6898
6899 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 Cleanup Eshell to rely less on dynamic scoping.
6902 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6903 last-value, and ext-command here. Bind `args' closer to `body'.
6904 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6905 (eshell--args): Declare new dynamic var.
6906 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6907 last-value, and ext-command. Pass `args' to `body'.
6908 (eshell-process-args): Bind eshell--args.
6909 (eshell-set-option): Use eshell--args.
6910 * eshell/eshell.el (eshell): Use derived-mode-p.
6911 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6912 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6913 (eshell-glob-function): Declare.
6914 * eshell/esh-util.el: Require cl-lib.
6915 (eshell-read-hosts-file): Avoid add-to-list.
6916 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6917 `err'.
6918 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6919 Declare.
6920 (eshell/diff): Remove unused var `err'.
6921 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6922 `killflag'.
6923 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6924 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6925 first use.
6926 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6927 Move declaration before first use.
6928 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6929 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6930 rely on cl-return.
6931
6932 2013-09-12 Glenn Morris <rgm@gnu.org>
6933
6934 * term/ns-win.el (global-map): Remove binding for ispell-next,
6935 deleted 1999-05-29. (Bug#15357)
6936
6937 2013-09-11 Glenn Morris <rgm@gnu.org>
6938
6939 * echistory.el (electric-command-history): Remove call to deleted func.
6940
6941 * play/landmark.el (landmark-mode): Fix typos.
6942
6943 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6944 Check cvs-sort-ignore-file is bound.
6945
6946 * savehist.el: No need for cl when compiling on Emacs.
6947
6948 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6951 (bug#15338).
6952 (eshell-self-insert-command, eshell-send-invisible):
6953 Remove unused argument.
6954 (eshell-handle-control-codes): Remove unused var `orig'.
6955 Avoid delete-backward-char.
6956
6957 * files.el (set-auto-mode): Simplify a bit further.
6958
6959 2013-09-11 Glenn Morris <rgm@gnu.org>
6960
6961 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6962 (set-auto-mode): Don't regexp-quote elements.
6963 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6964 * progmodes/cc-mode.el (interpreter-mode-alist):
6965 * progmodes/ruby-mode.el (interpreter-mode-alist):
6966 Revert previous change.
6967
6968 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * play/snake.el (snake-mode):
6971 * play/mpuz.el (mpuz-mode):
6972 * play/landmark.el (lm-mode):
6973 * play/blackbox.el (blackbox-mode):
6974 * play/5x5.el (5x5-mode):
6975 * obsolete/options.el (Edit-options-mode):
6976 * net/quickurl.el (quickurl-list-mode):
6977 * net/newst-treeview.el (newsticker-treeview-mode):
6978 * mail/rmailsum.el (rmail-summary-mode):
6979 * mail/mspools.el (mspools-mode):
6980 * locate.el (locate-mode):
6981 * ibuffer.el (ibuffer-mode):
6982 * emulation/ws-mode.el (wordstar-mode):
6983 * emacs-lisp/debug.el (debugger-mode):
6984 * array.el (array-mode):
6985 * net/eudc.el (eudc-mode): Use define-derived-mode.
6986 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6987 Move initialization into declaration.
6988 (mairix-searches-mode): Use define-derived-mode.
6989 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6990 (eudc-edit-hotlist): Use dolist.
6991 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6992 (Man-mode): Use define-derived-mode.
6993 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6994 (Info-edit-mode): Use define-derived-mode.
6995 (Info-cease-edit): Use Info-mode.
6996 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6997 into declaration.
6998 (eshell-mode): Use define-derived-mode.
6999 * chistory.el (command-history-mode-map): Rename from
7000 command-history-map.
7001 (command-history-mode): Use define-derived-mode.
7002 (Command-history-setup): Remove function.
7003 * calc/calc.el (calc-trail-mode-map): New var.
7004 (calc-trail-mode): Use define-derived-mode.
7005 (calc-trail-buffer): Set calc-main-buffer manually.
7006 * bookmark.el (bookmark-insert-annotation): New function.
7007 (bookmark-edit-annotation): Use it.
7008 (bookmark-edit-annotation-mode): Make it a proper major mode.
7009 (bookmark-send-edited-annotation): Use derived-mode-p.
7010 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7011 closer to its ideal place. Use \' to match EOS.
7012
7013 * profiler.el (profiler-calltree-find): Use function-equal.
7014
7015 2013-09-10 Glenn Morris <rgm@gnu.org>
7016
7017 * files.el (interpreter-mode-alist): Convert to regexps.
7018 (set-auto-mode): Adapt for this. (Bug#15306)
7019 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7020 Comment out unused variable.
7021 * progmodes/cc-mode.el (interpreter-mode-alist):
7022 * progmodes/python.el (interpreter-mode-alist):
7023 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7024 * progmodes/sh-script.el (sh-set-shell):
7025 No longer use interpreter-mode-alist to get list of shells.
7026
7027 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7028
7029 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * simple.el: Use set-temporary-overlay-map for universal-argument.
7032 (universal-argument-map): Don't use default-bindings (bug#15317).
7033 Bind switch-frame explicitly. Replace universal-argument-minus with
7034 a conditional binding.
7035 (universal-argument-num-events, saved-overriding-map): Remove.
7036 (restore-overriding-map): Remove.
7037 (universal-argument--mode): Rename from save&set-overriding-map,
7038 and rewrite.
7039 (universal-argument, universal-argument-more, negative-argument)
7040 (digit-argument): Adjust accordingly.
7041 (universal-argument-minus): Remove.
7042 (universal-argument-other-key): Remove.
7043
7044 * subr.el (with-demoted-errors): Add `format' argument.
7045
7046 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7047
7048 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7049 `tramp-cleanup-connection'.
7050
7051 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7052 parameters KEEP-DEBUG and KEEP-PASSWORD.
7053
7054 * net/tramp.el (tramp-file-name-handler):
7055 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7056 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7057 (tramp-maybe-open-connection):
7058 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7059 Use `tramp-cleanup-connection'.
7060
7061 * net/tramp-sh.el (tramp-maybe-open-connection):
7062 Catch 'uname-changed inside the progress reporter.
7063
7064 2013-09-10 Glenn Morris <rgm@gnu.org>
7065
7066 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7067
7068 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7069 returns "alternate access method" in mode (eg "-rw-r--r--.").
7070
7071 2013-09-08 Glenn Morris <rgm@gnu.org>
7072
7073 * saveplace.el (load-save-place-alist-from-file):
7074 Demote errors. (Bug#15305)
7075
7076 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7077
7078 Improve compatibility with older Emacsen, and XEmacs.
7079
7080 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7081 only if it is bound. It isn't for XEmacs.
7082 (with-tramp-progress-reporter): Do not let-bind `result'.
7083 This yields to scoping errors in XEmacs.
7084 (tramp-handle-make-auto-save-file-name): New function, moved from
7085 tramp-sh.el.
7086
7087 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7088 for `make-auto-save-file-name'.
7089 (tramp-adb--gnu-switches-to-ash):
7090 Use `tramp-compat-replace-regexp-in-string'.
7091
7092 * net/tramp-cache.el (tramp-cache-print): Call
7093 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7094
7095 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7096 bound. It isn't for XEmacs.
7097
7098 * net/tramp-compat.el (tramp-compat-copy-file):
7099 Catch `wrong-number-of-arguments' error.
7100 (tramp-compat-replace-regexp-in-string): New defun.
7101
7102 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7103 for `make-auto-save-file-name'.
7104 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7105 `copy-file'.
7106 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7107 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7108 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7109
7110 * net/tramp-gw.el (tramp-gw-open-network-stream):
7111 Use `tramp-compat-replace-regexp-in-string'.
7112
7113 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7114 Call `tramp-handle-make-auto-save-file-name'.
7115 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7116 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7117 (tramp-sh-file-inotifywait-process-filter):
7118 Use `tramp-compat-replace-regexp-in-string'.
7119 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7120
7121 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7122 for `make-auto-save-file-name'.
7123 (tramp-smb-handle-copy-directory):
7124 Call `tramp-compat-replace-regexp-in-string'.
7125 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7126 (tramp-smb-handle-copy-file): Improve error message.
7127 (tramp-smb-handle-rename-file): Rename directly only in case
7128 `newname' does not exist yet. This is a restriction of smbclient.
7129 (tramp-smb-maybe-open-connection): Rerun the function only when
7130 `auth-sources' is non-nil.
7131
7132 2013-09-08 Kenichi Handa <handa@gnu.org>
7133
7134 * international/characters.el: Set category "^" (Combining) for
7135 more characters.
7136
7137 2013-09-07 Alan Mackenzie <acm@muc.de>
7138
7139 Correctly fontify Java class constructors.
7140 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7141 in Java Mode.
7142 (c-recognize-typeless-decls): Set the Java value to t.
7143 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7144 While handling a "(", add a check for, effectively, Java, and handle a
7145 "typeless" declaration there.
7146
7147 2013-09-07 Roland Winkler <winkler@gnu.org>
7148
7149 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7150 field subtitle for entry type book.
7151
7152 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7153
7154 * minibuffer.el: Make minibuffer-complete call completion-in-region
7155 rather than other way around.
7156 (completion--some, completion-pcm--find-all-completions):
7157 Don't delay signals when debugging.
7158 (minibuffer-completion-contents): Beware fields within the
7159 minibuffer contents.
7160 (completion-all-sorted-completions): Use defvar-local.
7161 (completion--do-completion, completion--cache-all-sorted-completions)
7162 (completion-all-sorted-completions, minibuffer-force-complete):
7163 Add args `beg' and `end'.
7164 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7165 (minibuffer-complete): Use completion-in-region.
7166 (completion-complete-and-exit): New fun, extracted from
7167 minibuffer-complete-and-exit.
7168 (minibuffer-complete-and-exit): Use it.
7169 (completion--complete-and-exit): Rename from
7170 minibuffer--complete-and-exit.
7171 (completion-in-region--single-word): New function, extracted from
7172 minibuffer-complete-word.
7173 (minibuffer-complete-word): Use it.
7174 (display-completion-list): Make `common-substring' argument obsolete.
7175 (completion--in-region): Call completion--in-region-1 instead of
7176 minibuffer-complete.
7177 (completion-help-at-point): Pass boundaries to
7178 minibuffer-completion-help as args rather than via an overlay.
7179 (completion-pcm--string->pattern): Use `any-delim'.
7180 (completion-pcm--optimize-pattern): New function.
7181 (completion-pcm--pattern->regex): Handle `any-delim'.
7182 * icomplete.el (icomplete-forward-completions)
7183 (icomplete-backward-completions, icomplete-completions):
7184 Adjust calls to completion-all-sorted-completions and
7185 completion--cache-all-sorted-completions.
7186 (icomplete-with-completion-tables): Default to t.
7187 * emacs-lisp/crm.el (crm--current-element): Rename from
7188 crm--select-current-element. Don't put an overlay but return the
7189 boundaries instead.
7190 (crm--completion-command): Take two new args to bind to the boundaries.
7191 (crm-completion-help): Adjust accordingly.
7192 (crm-complete): Use completion-in-region.
7193 (crm-complete-word): Use completion-in-region--single-word.
7194 (crm-complete-and-exit): Use completion-complete-and-exit.
7195
7196 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7197
7198 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7199 than dynamically.
7200
7201 2013-09-06 Juri Linkov <juri@jurta.org>
7202
7203 * info.el (Info-display-images-node): When image file doesn't exist
7204 display text version of the image if it's provided in the Info file.
7205 Otherwise, display the location of missing image from SRC attribute.
7206 Add help-echo text property from ALT attribute. (Bug#15279)
7207
7208 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7211 (edit-abbrevs-mode): Use define-derived-mode.
7212
7213 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7214 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7215 that it's defined.
7216 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7217 Use define-derived-mode.
7218
7219 * epg.el (epg-start-encrypt): Minor CSE simplification.
7220
7221 2013-09-06 William Xu <william.xwl@gmail.com>
7222
7223 * arc-mode.el: Add support for 7za (bug#15264).
7224 (archive-7z-program): New var.
7225 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7226 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7227 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7228
7229 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7230
7231 Remove URL syntax.
7232
7233 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7234 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7235 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7236 (tramp-postfix-host-format, tramp-file-name-regexp)
7237 (tramp-completion-file-name-regexp)
7238 (tramp-completion-dissect-file-name)
7239 (tramp-handle-substitute-in-file-name): Remove 'url case.
7240 (tramp-file-name-regexp-url)
7241 (tramp-completion-file-name-regexp-url): Remove constants.
7242
7243 2013-09-06 Glenn Morris <rgm@gnu.org>
7244
7245 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7246
7247 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7248
7249 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7250 keywords" below "here-doc beginnings" (Bug#15270).
7251
7252 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * subr.el (pop): Use `car-safe'.
7255 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7256 to detect unused `pop' return value.
7257
7258 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7259 var `block-regexp'.
7260 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7261 (python-fill-string): Remove unused var `marker'.
7262 (python-skeleton-add-menu-items): Remove unused var `items'.
7263
7264 * international/mule-cmds.el: Require CL.
7265 (find-coding-systems-for-charsets): Avoid add-to-list.
7266 (sanitize-coding-system-list): New function, extracted from
7267 select-safe-coding-system-interactively.
7268 (select-safe-coding-system-interactively): Use it.
7269 (read-input-method-name): Accept symbols for `default'.
7270
7271 * emacs-lisp/advice.el (defadvice): Add indent rule.
7272
7273 2013-09-05 Daniel Hackney <dan@haxney.org>
7274
7275 * dired-x.el:
7276 * net/ange-ftp.el:
7277 * net/browse-url.el:
7278 * net/dbus.el:
7279 * net/eudc.el:
7280 * net/eudcb-ldap.el:
7281 * net/eww.el:
7282 * net/imap.el:
7283 * printing.el:
7284 * vc/ediff-diff.el:
7285 * vc/ediff-init.el:
7286 * vc/ediff-merg.el:
7287 * vc/ediff-mult.el:
7288 * vc/ediff-util.el:
7289 * vc/ediff-wind.el:
7290 * vc/ediff.el:
7291 * vc/emerge.el:
7292 * vc/pcvs.el:
7293 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7294 byte compiler. Remove some unused let-bound variables.
7295
7296 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7297
7298 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7299 a "ref-cell", since it gets better optimized (bug#14883).
7300
7301 2013-09-05 Glenn Morris <rgm@gnu.org>
7302
7303 * progmodes/cc-awk.el (c-forward-sws): Declare.
7304
7305 2013-09-04 Glenn Morris <rgm@gnu.org>
7306
7307 * generic-x.el [rul-generic-mode]: Require cc-mode.
7308 (c++-mode-syntax-table): Declare.
7309 (rul-generic-mode-syntax-table): Init in the defvar.
7310
7311 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7314 (vc-do-command, vc-set-async-update):
7315 * vc/vc-mtn.el (vc-mtn-dir-status):
7316 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7317 (vc-hg-pull, vc-hg-merge-branch):
7318 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7319 (vc-git-merge-branch):
7320 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7321 (vc-cvs-dir-status-files):
7322 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7323 (vc-bzr-dir-status-files):
7324 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7325 * vc/vc-annotate.el: Use lexical-binding.
7326 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7327 (vc-sentinel-movepoint): Declare.
7328 (vc-annotate): Don't use `goto-line'.
7329 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7330 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7331 (vc-sentinel-movepoint): Declare.
7332 * vc/vc-svn.el: Use lexical-binding.
7333 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7334 * vc/vc-sccs.el:
7335 * vc/vc-rcs.el: Use lexical-binding.
7336
7337 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7338 `deleted'. Don't drop errors silently.
7339
7340 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7341
7342 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7343
7344 * vc/vc.el (vc-ignore): Rewrite.
7345 (vc-default-ignore): New function.
7346 (vc-default-ignore-completion-table): Use find-ignore-file.
7347
7348 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7349 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7350 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7351 Remove. Most code moved to vc.el.
7352
7353 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7356 * net/tramp-smb.el (tramp-smb-get-file-entries):
7357 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7358 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7359
7360 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7361 Update call to it.
7362 (eww-change-select): Remove unused var `properties'.
7363 (eww-make-unique-file-name): Remove unused var `base'.
7364
7365 * finder.el (finder-compile-keywords): Don't mess with windows.
7366
7367 * calculator.el (calculator-funcall): Fix typo in last change.
7368
7369 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7370
7371 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7372 <pkg>-autoloads.el file stop us.
7373
7374 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7375 warnings, and factor out common code.
7376
7377 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7378
7379 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7380 two-character operators and whether the character preceding them
7381 changes their meaning (Bug#15208).
7382
7383 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7384
7385 Format code sent to Python shell for robustness.
7386 * progmodes/python.el (python-shell-buffer-substring):
7387 New function.
7388 (python-shell-send-region, python-shell-send-buffer): Use it.
7389
7390 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7393 * net/tramp.el (tramp-user-error): ... here.
7394 (tramp-find-method, tramp-check-proper-host)
7395 (tramp-dissect-file-name, tramp-debug-message)
7396 (tramp-handle-shell-command):
7397 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7398 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7399
7400 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7401
7402 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7403
7404 * avoid.el (mouse-avoidance-point-position)
7405 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7406 returns nil.
7407
7408 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7409
7410 * progmodes/python.el (python-shell-completion-get-completions):
7411 Drop use of deleted `comint-last-prompt-overlay'.
7412 (python-nav-if-name-main): New command.
7413
7414 2013-09-01 Glenn Morris <rgm@gnu.org>
7415
7416 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7417 Avoid leading space in $wins. Otherwise the sed command used by
7418 eg compile-main ends up containing "/*.el". (Bug#15170)
7419
7420 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7421
7422 2013-08-30 Glenn Morris <rgm@gnu.org>
7423
7424 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7425 Fix is-this-a-directory logic. (Bug#15220)
7426
7427 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * textmodes/css-mode.el: Use SMIE.
7430 (css-smie-grammar): New var.
7431 (css-smie--forward-token, css-smie--backward-token)
7432 (css-smie-rules): New functions.
7433 (css-mode): Use them.
7434 (css-navigation-syntax-table): Remove var.
7435 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7436 (css-indent-calculate, css-indent-line): Remove functions.
7437
7438 Misc changes to reduce use of `(lambda...); and other cleanups.
7439 * cus-edit.el: Use lexical-binding.
7440 (customize-push-and-save, customize-apropos)
7441 (custom-buffer-create-internal): Use closures.
7442 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7443 * progmodes/ada-xref.el: Use setq.
7444 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7445 * dframe.el: Use lexical-binding.
7446 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7447 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7448 * descr-text.el: Use lexical-binding.
7449 (describe-text-widget, describe-text-sexp, describe-property-list):
7450 Use closures.
7451 * comint.el (comint-history-isearch-push-state): Use a closure.
7452 * calculator.el: Use lexical-binding.
7453 (calculator-number-to-string): Make it work with lexical-binding.
7454 (calculator-funcall): Same and use cl-letf.
7455
7456 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7457 (lisp--company-doc-string, lisp--company-location): New functions.
7458 (lisp-completion-at-point): Use them to improve Company support.
7459
7460 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7461 params of lambda expressions.
7462 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7463 (ruby-smie--opening-pipe-p): New function.
7464 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7465 symbols and matched |...| for formal params.
7466 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7467 from being treated as hanging. Handle "rescue".
7468
7469 2013-08-29 Glenn Morris <rgm@gnu.org>
7470
7471 * progmodes/cc-engine.el (c-pull-open-brace):
7472 Move definition before use.
7473
7474 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7477 are immutable. Don't use `unsafe' any more.
7478 (cl--defsubst-expand): Don't substitute at the same time as keeping
7479 a residual unused let-binding. Don't use `unsafe' any more.
7480
7481 2013-08-29 Glenn Morris <rgm@gnu.org>
7482
7483 * calendar/cal-china.el (calendar-chinese-year-cache):
7484 Recenter on 2015.
7485
7486 * nxml/nxml-util.el (nxml-debug-clear-inside):
7487 Use cl-loop rather than loop.
7488
7489 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7490
7491 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7492
7493 2013-08-28 Glenn Morris <rgm@gnu.org>
7494
7495 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7496
7497 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7498
7499 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7500
7501 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7502
7503 * simple.el (repeat-complex-command--called-interactively-skip):
7504 New function.
7505 (repeat-complex-command): Use it (bug#14136).
7506
7507 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7508 (c-define-abbrev-table): Add `doc' argument.
7509 (c-mode-abbrev-table, c++-mode-abbrev-table)
7510 (objc-mode-abbrev-table, java-mode-abbrev-table)
7511 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7512 (awk-mode-abbrev-table): Use it.
7513 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7514 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7515 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7516 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7517 Move initialization into the declaration; and remove any
7518 autoload cookie.
7519
7520 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7521 and dynamic let binding.
7522
7523 * vc/smerge-mode.el: Remove redundant :group args.
7524
7525 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7526 to load-path.
7527
7528 2013-08-28 Juri Linkov <juri@jurta.org>
7529
7530 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7531 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7532 (isearch-other-meta-char): Handle an undefined shifted printing
7533 character by downshifting it. (Bug#15200)
7534
7535 2013-08-28 Juri Linkov <juri@jurta.org>
7536
7537 * isearch.el (isearch-search): Change regexp error message for
7538 non-regexp searches. (Bug#15166)
7539
7540 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7541
7542 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7543 for portability to hosts where /bin/sh has problems.
7544
7545 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7546
7547 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7548
7549 2013-08-27 Juri Linkov <juri@jurta.org>
7550
7551 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7552 in the keyboard macro. (Bug#15126)
7553
7554 2013-08-27 Juri Linkov <juri@jurta.org>
7555
7556 * isearch.el (isearch-quote-char): Comment out converting unibyte
7557 to multibyte, thus syncing with its `quoted-insert' counterpart.
7558 (Bug#15166)
7559
7560 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7561
7562 * window.el (display-buffer-use-some-window): Add missing
7563 argument in call of get-largest-window (Bug#15185).
7564 Reported by Stephen Leake.
7565
7566 2013-08-27 Glenn Morris <rgm@gnu.org>
7567
7568 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7569
7570 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7573 from a matcher-function unless there's no more matches (bug#15161).
7574
7575 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7576
7577 * minibuffer.el: Revert change from 2013-08-20.
7578
7579 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7580 with text property `tramp-default', if appropriate.
7581 (tramp-check-proper-host): New defun.
7582 (tramp-dissect-file-name): Do not check hostname. Revert change
7583 of 2013-03-18.
7584 (tramp-backtrace): Make VEC-OR-PROC optional.
7585
7586 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7587 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7588 * net/tramp-sh.el (tramp-maybe-open-connection):
7589 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7590 Apply `tramp-check-proper-host'.
7591
7592 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7593
7594 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7595 lambda expression in order to have `describe-variable' display it.
7596
7597 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7598
7599 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7600 BUF can be optional. (Bug#15186)
7601
7602 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7603
7604 * progmodes/flymake.el (flymake-get-real-file-name-function):
7605 Fix broken customization. (Bug#15184)
7606
7607 2013-08-25 Alan Mackenzie <acm@muc.de>
7608
7609 Improve indentation of bracelists defined by macros (without "=").
7610
7611 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7612 expansion begins with "{", regard it as bracelist when it doesn't
7613 contain a ";".
7614
7615 Parse C++ inher-intro when there's a template split over 2 lines.
7616
7617 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7618 rigorously the search for "class" etc. followed by ":".
7619
7620 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7621 random languages a regexp which never matches rather than nil.
7622
7623 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7624
7625 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7626 (c-awk-regexp-one-line-possibly-open-char-list-re)
7627 (c-awk-one-line-possibly-open-regexp-re)
7628 (c-awk-one-line-non-syn-ws*-re): Remove.
7629 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7630 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7631 (c-awk-space*-unclosed-regexp-/-re): New constants.
7632 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7633 aren't regexp delimiters.
7634
7635 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7636 handling for a rare situation in AWK Mode involving unterminated
7637 strings/regexps.
7638
7639 2013-08-23 Glenn Morris <rgm@gnu.org>
7640
7641 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7642
7643 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7644
7645 * files.el (create-file-buffer): If the result would begin with
7646 spaces, prepend a "|" instead of removing them. (Bug#15162)
7647
7648 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7651 text-properties (bug#15155).
7652
7653 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7654 exist any more.
7655 (calc-keypad-redraw): Remove unused var `pad'.
7656 (calc-keypad-press): Remove unused var `menu'.
7657
7658 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7659
7660 * window.el (display-buffer-pop-up-frame):
7661 Call pop-up-frame-function with BUFFER current so `make-frame' will
7662 use it as the new frame's buffer (Bug#15133).
7663
7664 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * calendar/timeclock.el: Minor cleanups.
7667 (timeclock-ask-before-exiting, timeclock-use-display-time):
7668 Use `symbol'.
7669 (timeclock-modeline-display): Define as alias before the
7670 actual definition.
7671 (timeclock-mode-line-display): Use define-minor-mode.
7672 (timeclock-day-list-template): Make it a function, add an argument.
7673 (timeclock-day-list-required, timeclock-day-list-length)
7674 (timeclock-day-list-debt, timeclock-day-list-span)
7675 (timeclock-day-list-break): Adjust calls accordingly.
7676
7677 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7678
7679 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7680 Use read--expression so that completion works again.
7681
7682 2013-08-21 Sam Steingold <sds@gnu.org>
7683
7684 Add rudimentary inferior shell interaction
7685 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7686 (sh-set-shell): Reset it.
7687 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7688 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7689
7690 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * align.el: Use lexical-binding.
7693 (align-region): Simplify accordingly.
7694
7695 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7696
7697 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7698
7699 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7700 `non-essential' up.
7701
7702 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7703
7704 * net/tramp.el:
7705 * net/tramp-adb.el:
7706 * net/tramp-cmds.el:
7707 * net/tramp-ftp.el:
7708 * net/tramp-gvfs.el:
7709 * net/tramp-gw.el:
7710 * net/tramp-sh.el: Don't wrap external variable declarations by
7711 `eval-when-compile'.
7712
7713 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7714
7715 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7716 now that Emacs supports ImageMagick animations.
7717
7718 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7719
7720 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7721 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7722
7723 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7724
7725 * window.el (mouse-autoselect-window-select): Do autoselect when
7726 mouse pointer is on margin.
7727
7728 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7729
7730 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7731
7732 2013-08-16 Glenn Morris <rgm@gnu.org>
7733
7734 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7735 Handle "Remote Directory" response of some clients. (Bug#15058)
7736
7737 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7738 Tweak warning. (Bug#14926)
7739
7740 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7741 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7742
7743 * image-mode.el (image-mode-map): Add menu items to reverse,
7744 increase, decrease, reset animation speed.
7745 (image--set-speed, image-increase-speed, image-decrease-speed)
7746 (image-reverse-speed, image-reset-speed): New functions.
7747 (image-mode-map): Add bindings for speed commands.
7748
7749 * image.el (image-animate-get-speed, image-animate-set-speed):
7750 New functions.
7751 (image-animate-timeout): Respect image :speed property.
7752
7753 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7756 previous line (bug#15101).
7757 (debugger-eval-expression, debugger-record-expression):
7758 Use read--expression (bug#15102).
7759
7760 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7761
7762 Remove byte compiler warnings, visible when compiling with
7763 `byte-compile-force-lexical-warnings' set to t.
7764
7765 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7766 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7767 (tramp-handle-unhandled-file-name-directory)
7768 (tramp-handle-file-notify-add-watch, tramp-action-login)
7769 (tramp-action-succeed, tramp-action-permission-denied)
7770 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7771 arguments with "_".
7772
7773 * net/tramp-adb.el (tramp-adb-parse-device-names)
7774 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7775 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7776 (tramp-adb-handle-file-truename): Remove unused arguments.
7777
7778 * net/tramp-cache.el (tramp-flush-directory-property)
7779 (tramp-flush-connection-property, tramp-list-connections)
7780 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7781
7782 * net/tramp-compat.el (tramp-compat-make-temp-file):
7783 Rename FILENAME to F.
7784
7785 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7786 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7787 (tramp-zeroconf-parse-workstation-device-names)
7788 (tramp-zeroconf-parse-webdav-device-names)
7789 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7790
7791 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7792 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7793
7794 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7795 arguments.
7796 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7797 (tramp-sh-handle-insert-file-contents-literally)
7798 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7799 with "_".
7800 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7801 Remove unused variables.
7802
7803 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7804 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7805 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7806
7807 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7808 Make them a defconst.
7809 (tramp-uuencode-region): Remove unused variable.
7810
7811 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * frameset.el (frameset--prop-setter): New function.
7814 (frameset-prop): Add gv-setter declaration.
7815 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7816 parameter was already set in FILTERED. Doc fix.
7817 (frameset--record-minibuffer-relationships): Allow saving a
7818 minibufferless frame without its corresponding minibuffer frame.
7819 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7820 frame, if the frame id matches.
7821 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7822 frames before orphaned ones.
7823 (frameset-restore): Warn about orphaned windows, instead of error out.
7824
7825 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7826
7827 * window.el (window-make-atom): Don't overwrite parameter
7828 already present.
7829 (display-buffer-in-atom-window): Handle special case where we
7830 split an already atomic window.
7831 (window--major-non-side-window, display-buffer-in-side-window)
7832 (window--side-check): Ignore minibuffer window when walking
7833 window tree.
7834 (window-deletable-p): Return 'frame only if no other frame uses
7835 our minibuffer window.
7836 (record-window-buffer): Run buffer-list-update-hook.
7837 (split-window): Make sure window--check-frame won't destroy an
7838 existing atomic window in case the new window gets nested
7839 inside.
7840 (display-buffer-at-bottom): Ignore minibuffer window when
7841 walking window tree. Don't split a side window.
7842 (pop-to-buffer): Don't set-buffer here, the select-window call
7843 should do that.
7844 (mouse-autoselect-window-select): Autoselect only if we are in the
7845 text portion of the window.
7846
7847 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7848
7849 * net/shr.el (shr-parse-image-data): New function to grab both the
7850 data itself and the Content-Type.
7851 (shr-put-image): Use it.
7852
7853 * net/eww.el (eww-display-image): Ditto.
7854
7855 * image.el (image-content-type-suffixes): New variable.
7856
7857 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7858
7859 * progmodes/python.el (python-imenu--build-tree)
7860 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7861
7862 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7863
7864 * simple.el (backward-word): Mention the optional argument.
7865
7866 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * frameset.el (frameset--make): Rename constructor from make-frameset.
7869 (frameset-p, frameset-valid-p): Don't autoload.
7870 (frameset-valid-p): Use normal accessors.
7871
7872 2013-08-13 Glenn Morris <rgm@gnu.org>
7873
7874 * progmodes/compile.el (compile-command): Tweak example in doc.
7875 * obsolete/scribe.el (scribe-mode):
7876 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7877
7878 * mail/feedmail.el (feedmail-confirm-outgoing)
7879 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7880
7881 * cus-start.el (truncate-partial-width-windows): Fix type.
7882
7883 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7884
7885 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7886
7887 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7888
7889 * emacs-lisp/timer.el (timer--time-setter): New function.
7890 (timer--time): Use it as gv-setter.
7891
7892 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7893 setter is not a symbol.
7894
7895 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7896
7897 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7898 if sending fails. This makes debugging easier.
7899
7900 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7901
7902 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7903 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7904 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7905
7906 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7907
7908 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7909
7910 2013-08-12 Glenn Morris <rgm@gnu.org>
7911
7912 * format.el (format-annotate-function):
7913 Handle read-only text properties in the source. (Bug#14887)
7914
7915 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7916
7917 * net/eww.el (eww-display-html): Ignore coding system errors.
7918 One web site uses "utf-8lias" as the coding system.
7919
7920 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7921
7922 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7923
7924 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7925
7926 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7927 (tutorial--detailed-help): Remove unused local variables.
7928 (tutorial--save-tutorial-to): Use ignore-errors.
7929 (help-with-tutorial): Use looking-at-p.
7930
7931 * view.el (view-buffer-other-window, view-buffer-other-frame):
7932 Mark unused arguments.
7933
7934 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7935 (woman-select-symbol-fonts, woman, woman-find-file)
7936 (woman-insert-file-contents, woman-non-underline-faces):
7937 Use string-match-p.
7938 (woman1-unquote): Move declaration.
7939
7940 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7941 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7942 argument. Remove unused local variable.
7943 (xml-parse-elem-type): Use string-match-p.
7944 (xml-substitute-numeric-entities): Use ignore-errors.
7945
7946 * calculator.el (calculator): Mark unused argument.
7947 (calculator-paste, calculator-quit, calculator-integer-p):
7948 Use ignore-errors.
7949 (calculator-string-to-number, calculator-decimal, calculator-exp)
7950 (calculator-op-or-exp): Use string-match-p.
7951
7952 * dired.el (dired-buffer-more-recently-used-p): Declare.
7953 (dired-insert-set-properties, dired-insert-old-subdirs):
7954 Use ignore-errors.
7955
7956 * dired-aux.el (dired-compress): Use ignore-errors.
7957 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7958 (dired-do-async-shell-command, dired-do-shell-command)
7959 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7960 (dired-insert-subdir-validate): Use string-match-p.
7961 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7962 (dired-add-entry): Use string-match-p, looking-at-p.
7963 (dired-insert-subdir-newpos): Remove unused local variable.
7964
7965 * filenotify.el (file-notify-callback): Remove unused local variable.
7966
7967 * filesets.el (filesets-error): Mark unused argument.
7968 (filesets-which-command-p, filesets-filter-dir-names)
7969 (filesets-directory-files, filesets-get-external-viewer)
7970 (filesets-ingroup-get-data): Use string-match-p.
7971
7972 * find-file.el (ff-other-file-name, ff-other-file-name)
7973 (ff-find-the-other-file, ff-cc-hh-converter):
7974 Remove unused local variables.
7975 (ff-get-file-name): Use string-match-p.
7976 (ff-all-dirs-under): Use ignore-errors.
7977
7978 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7979 (follow-select-if-visible): Remove unused local variable.
7980
7981 * forms.el (read-file-filter): Move declaration.
7982 (forms--make-format, forms--make-parser, forms-insert-record):
7983 Quote function with #'.
7984 (forms--update): Use string-match-p. Quote function with #'.
7985
7986 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7987 (help-make-xrefs): Use looking-at-p.
7988 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7989
7990 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7991 (ibuffer-confirm-operation-on): Use string-match-p.
7992
7993 * msb.el (msb-item-handler, msb-dired-item-handler):
7994 Mark unused arguments.
7995
7996 * ses.el (ses-decode-cell-symbol)
7997 (ses-kill-override): Remove unused local variable.
7998 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7999 (ses-load): Use ignore-errors, looking-at-p.
8000 (ses-jump-safe): Use ignore-errors.
8001 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8002
8003 * tabify.el (untabify, tabify): Mark unused arguments.
8004
8005 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8006 Mark unused argument.
8007 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8008 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8009
8010 * emacs-lisp/timer.el (timer--time): Define setter with
8011 gv-define-setter to avoid deprecation warning.
8012
8013 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8014 (*record-cmpl-statistics-p*): Remove (was commented out).
8015 (cmpl-statistics-block): Remove (body was commented out).
8016 All callers changed.
8017 (add-completions-from-buffer, load-completions-from-file):
8018 Remove unused variables.
8019
8020 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8021
8022 * filecache.el (file-cache-delete-file-list):
8023 Print message only when told so.
8024 (file-cache-files-matching): Use #' in mapconcat argument.
8025
8026 * ffap.el (ffap-url-at-point): Fix reference to variable
8027 thing-at-point-default-mail-uri-scheme.
8028
8029 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * subr.el (define-error): New function.
8032 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8033 error-file-not-found and define with define-error.
8034 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8035 and define with define-error.
8036 * userlock.el (file-locked, file-supersession):
8037 * simple.el (mark-inactive):
8038 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8039 * progmodes/ada-mode.el (ada-mode-errors):
8040 * play/life.el (life-extinct):
8041 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8042 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8043 * nxml/rng-util.el (rng-error):
8044 * nxml/rng-uri.el (rng-uri-error):
8045 * nxml/rng-match.el (rng-compile-error):
8046 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8047 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8048 * nxml/nxml-rap.el (nxml-scan-error):
8049 * nxml/nxml-outln.el (nxml-outline-error):
8050 * net/soap-client.el (soap-error):
8051 * net/gnutls.el (gnutls-error):
8052 * net/ange-ftp.el (ftp-error):
8053 * mpc.el (mpc-proc-error):
8054 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8055 (json-number-format, json-string-escape, json-string-format)
8056 (json-key-format, json-object-format):
8057 * jka-compr.el (compression-error):
8058 * international/quail.el (quail-error):
8059 * international/kkc.el (kkc-error):
8060 * emacs-lisp/ert.el (ert-test-failed):
8061 * calc/calc.el (calc-error, inexact-result, math-overflow)
8062 (math-underflow):
8063 * bookmark.el (bookmark-error-no-filename):
8064 * epg.el (epg-error): Define with define-error.
8065
8066 * time.el (display-time-event-handler)
8067 (display-time-next-load-average): Don't call sit-for since it seems
8068 unnecessary (bug#15045).
8069
8070 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8071 Use #' instead of ' to quote functions.
8072 (checkdoc-output-mode): Use setq-local.
8073 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8074 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8075 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8076 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8077 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8078 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8079 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8080 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8081
8082 * ido.el (ido-completion-help): Fix up compiler warning.
8083
8084 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8085
8086 * frameset.el (frameset-p): Add autoload cookie.
8087 (frameset--jump-to-register): New function, based on code moved from
8088 register.el.
8089 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8090
8091 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8092 (frameset-restore, frameset-save, frameset-session-filter-alist):
8093 Remove declarations.
8094 (register-alist): Doc fix.
8095 (frameset-to-register): Move to frameset.el.
8096 (jump-to-register, describe-register-1): Remove frameset-specific code.
8097
8098 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8099
8100 * allout-widgets.el (allout-widgets-pre-command-business)
8101 (allout-widgets-post-command-business)
8102 (allout-widgets-after-change-handler)
8103 (allout-decorate-item-and-context, allout-set-boundary-marker)
8104 (allout-body-modification-handler)
8105 (allout-graphics-modification-handler): Mark ignored arguments.
8106 (allout-widgets-post-command-business)
8107 (allout-widgets-exposure-change-processor)
8108 (allout-widgets-exposure-undo-processor)
8109 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8110 (allout-parse-item-at-point, allout-decorate-item-guides)
8111 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8112 * allout.el (epa-passphrase-callback-function): Declare.
8113 (allout-overlay-insert-in-front-handler)
8114 (allout-overlay-interior-modification-handler)
8115 (allout-isearch-end-handler, allout-chart-siblings)
8116 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8117 (allout-yank-processing, allout-process-exposed)
8118 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8119 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8120 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8121 (lisp-indent-defform): Mark ignored arguments.
8122 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8123 (calculate-lisp-indent): Remove unused variables.
8124 * international/characters.el (indian-2-column, arabic-2-column)
8125 (tibetan): Mark ignored arguments.
8126 (use-cjk-char-width-table): Mark ignored arguments.
8127 Remove unused variables.
8128 * international/fontset.el (build-default-fontset-data)
8129 (x-compose-font-name, create-fontset-from-fontset-spec):
8130 Mark ignored arguments.
8131 (fontset-plain-name): Remove unused variables.
8132 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8133 (keyboard-coding-system): Mark ignored arguments.
8134 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8135 * help.el (resize-temp-buffer-window):
8136 * window.el (display-buffer-in-major-side-window)
8137 (display-buffer-in-side-window, display-buffer-in-previous-window):
8138 Remove unused variables.
8139 * isearch.el (isearch-forward-symbol):
8140 * version.el (emacs-bzr-version-bzr):
8141 * international/mule-cmds.el (current-language-environment):
8142 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8143 (x-handle-display):
8144 * term/pc-win.el (x-list-fonts, x-display-planes)
8145 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8146 (x-server-version, x-display-screens, x-display-mm-height)
8147 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8148 (x-selection-owner-p, x-own-selection-internal)
8149 (x-disown-selection-internal, x-get-selection-internal)
8150 (msdos-initialize-window-system):
8151 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8152 * term/x-win.el (x-handle-no-bitmap-icon):
8153 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8154 (vc-default-find-file-hook, vc-default-extra-menu):
8155 Mark ignored arguments.
8156
8157 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8160 break-condition in the context of the debugged code (bug#12685).
8161
8162 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8163
8164 * comint.el:
8165 Do not use an overlay to highlight the last prompt. (Bug#14744)
8166 (comint-mode): Make comint-last-prompt buffer local.
8167 (comint-last-prompt): New variable.
8168 (comint-last-prompt-overlay): Remove. Superseded by
8169 comint-last-prompt.
8170 (comint-snapshot-last-prompt, comint-output-filter):
8171 Use comint-last-prompt.
8172
8173 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8174
8175 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8176 (frameset-save): Check validity of the resulting frameset.
8177
8178 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8179
8180 * ido.el (ido-record-command): Add doc string.
8181
8182 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8183
8184 * frameset.el (frameset): Do not disable creation of the default
8185 frameset-p predicate. Doc fix.
8186 (frameset-valid-p): New function, copied from the old predicate-p.
8187 Add additional checks.
8188 (frameset-restore): Check with frameset-valid-p.
8189 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8190 (frameset-name, frameset-description, frameset-properties)
8191 (frameset-states): Add docstring.
8192 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8193 (frameset-filter-alist): Doc fixes.
8194
8195 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8196
8197 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8198
8199 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8200
8201 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8202 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8203 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8204 (byte-compile-normal-call): Remove obsolescence check.
8205
8206 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8207
8208 * frameset.el (frameset-restore): Doc fix.
8209
8210 * register.el (frameset-frame-id, frameset-frame-with-id)
8211 (frameset-p, frameset-restore, frameset-save): Declare.
8212 (register-alist): Document framesets.
8213 (frameset-session-filter-alist): Declare.
8214 (frameset-to-register): New function.
8215 (jump-to-register): Implement jumping to framesets. Doc fix.
8216 (describe-register-1): Describe framesets.
8217
8218 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8219
8220 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8221
8222 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8223 Use lexical-binding.
8224
8225 * frameset.el (frameset): Use type vector, not list (incompatible
8226 change). Do not declare a new constructor, use the default one.
8227 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8228 `name' and `description', respectively, and add read-only slot
8229 `timestamp'. Doc fixes.
8230 (frameset-copy, frameset-persistent-filter-alist)
8231 (frameset-filter-alist, frameset-switch-to-gui-p)
8232 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8233 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8234 (frameset-filter-iconified, frameset-keep-original-display-p):
8235 Doc fixes.
8236 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8237 Rename from frameset-filter-(save|restore)-param. All callers changed.
8238 Doc fix.
8239 (frameset-p): Adapt to change to vector and be more thorough.
8240 Change arg name to OBJECT. Doc fix.
8241 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8242 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8243 All callers changed.
8244 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8245 All callers changed.
8246 (frameset--record-minibuffer-relationships): Rename from
8247 frameset--process-minibuffer-frames. All callers changed.
8248 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8249 Use new default constructor (again). Doc fix.
8250 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8251 All callers changed.
8252 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8253 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8254 Doc fix.
8255 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8256 PARAMETERS and WINDOW-STATE, respectively.
8257 (frameset-restore): Add new keyword argument PREDICATE.
8258 Reset frameset--target-display to nil. Doc fix.
8259
8260 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8263 (bat-mode): Use it.
8264 (bat-mode-syntax-table): Mark \n as end-of-comment.
8265 (bat-font-lock-keywords): Remove comment rule.
8266
8267 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8268 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8269
8270 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8271 (byte-compile-callargs-warn): Use `push'.
8272 (byte-compile-arglist-warn): Ignore higher-order "calls".
8273 (byte-compile-file-form-autoload): Use `pcase'.
8274 (byte-compile-function-form): If quoting a symbol, check that it exists.
8275
8276 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8277
8278 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8279 and add a few popular commands found in batch files.
8280 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8281 (dos-mode): Doc fixes.
8282
8283 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8286 (dos-mode): Use setq-local. Add space after "rem".
8287 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8288 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8289
8290 2013-08-07 Arni Magnusson <arnima@hafro.is>
8291
8292 * progmodes/dos.el: New file.
8293 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8294 dos-mode.
8295
8296 2013-08-06 Glenn Morris <rgm@gnu.org>
8297
8298 * calendar/calendar.el: Add new faces, and day-header-array.
8299 (calendar-weekday-header, calendar-weekend-header)
8300 (calendar-month-header): New faces.
8301 (calendar-day-header-construct): New function.
8302 (calendar-day-header-width): Also :set calendar-day-header-array.
8303 (calendar-american-month-header, calendar-european-month-header)
8304 (calendar-iso-month-header): Use calendar- faces.
8305 (calendar-generate-month):
8306 Use calendar-day-header-array for day headers; apply faces to them.
8307 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8308 (calendar-abbrev-construct): Add optional maxlen argument.
8309 (calendar-day-name-array): Doc fix.
8310 (calendar-day-name-array, calendar-abbrev-length)
8311 (calendar-day-abbrev-array):
8312 Also :set calendar-day-header-array, and maybe redraw.
8313 (calendar-day-header-array): New option. (Bug#15007)
8314 (calendar-font-lock-keywords): Set to nil and make obsolete.
8315 (calendar-day-name): Add option to use header array.
8316
8317 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8318
8319 * net/shr.el (shr-render-td): Remove debugging.
8320 (shr-render-td): Make width computation consistent by defaulting
8321 all zero-width columns to 10 characters. This may not be optimal,
8322 but it's at least consistent.
8323 (shr-make-table-1): Redo last change to fix the real problem in
8324 colspan handling.
8325
8326 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8327
8328 * files.el (cache-long-line-scans):
8329 Make obsolete alias to `cache-long-scans'.
8330
8331 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8332
8333 * frameset.el (frameset, frameset-filter-alist)
8334 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8335 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8336 (frameset-compute-pos): Rename from frameset--compute-pos,
8337 and add docstring.
8338 (frameset-move-onscreen): Use frameset-compute-pos.
8339 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8340
8341 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8342 Fix typos in docstrings.
8343
8344 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8345
8346 * frame.el (get-other-frame): Tiny cleanup.
8347
8348 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8349
8350 * vc/vc.el (vc-default-ignore-completion-table):
8351 Silence byte-compiler warning.
8352
8353 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8354 slot, which can indeed be nil.
8355 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8356 Move entry for `left' from persistent to live filter alist.
8357 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8358 Doc fixes.
8359 (frameset-filter-params): When restoring a frame, copy items added to
8360 `filtered', to avoid unwittingly modifying the original parameters.
8361 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8362 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8363
8364 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8365 to use looking-at-p instead of looking-at. (Bug#15028)
8366
8367 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 Revert introduction of isearch-filter-predicates (bug#14714).
8370 Rely on add-function instead.
8371 * isearch.el (isearch-filter-predicates): Rename it back to
8372 isearch-filter-predicate.
8373 (isearch-message-prefix): Use advice-function-mapc and advice
8374 properties to get the isearch-message-prefix.
8375 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8376 instead of run-hook-with-args-until-failure.
8377 (isearch-filter-visible): Not obsolete any more.
8378 * loadup.el: Preload nadvice.
8379 * replace.el (perform-replace): Revert to funcall
8380 instead of run-hook-with-args-until-failure.
8381 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8382 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8383 dired-isearch-filenames-toggle; make it into a proper minor mode.
8384 Use add/remove-function.
8385 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8386 Call the minor-mode rather than add/remove-hook.
8387 (dired-isearch-filter-filenames):
8388 Remove isearch-message-prefix property.
8389 * info.el (Info--search-loop): New function, extracted from Info-search.
8390 Funcall isearch-filter-predicate instead of
8391 run-hook-with-args-until-failure isearch-filter-predicates.
8392 (Info-search): Use it.
8393 (Info-mode): Use isearch-filter-predicate instead of
8394 isearch-filter-predicates.
8395
8396 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8397
8398 Do not call to `selected-window' where it is assumed by default.
8399 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8400 `window-hscroll', `window-width', `window-height', `window-buffer',
8401 `window-frame', `window-start', `window-point', `next-window'
8402 and `window-display-table'.
8403 * abbrev.el (abbrev--default-expand):
8404 * bs.el (bs--show-with-configuration):
8405 * buff-menu.el (Buffer-menu-mouse-select):
8406 * calc/calc.el (calc):
8407 * calendar/calendar.el (calendar-generate-window):
8408 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8409 (diary-make-entry):
8410 * comint.el (send-invisible, comint-dynamic-complete-filename)
8411 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8412 * completion.el (complete):
8413 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8414 * disp-table.el (describe-current-display-table):
8415 * doc-view.el (doc-view-insert-image):
8416 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8417 * ehelp.el (with-electric-help):
8418 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8419 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8420 * emacs-lisp/helper.el (Helper-help-scroller):
8421 * emulation/cua-base.el (cua--post-command-handler-1):
8422 * eshell/esh-mode.el (eshell-output-filter):
8423 * ffap.el (ffap-gnus-wrapper):
8424 * help-macro.el (make-help-screen):
8425 * hilit-chg.el (highlight-compare-buffers):
8426 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8427 * hl-line.el (global-hl-line-highlight):
8428 * icomplete.el (icomplete-simple-completing-p):
8429 * isearch.el (isearch-done):
8430 * jit-lock.el (jit-lock-stealth-fontify):
8431 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8432 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8433 * mpc.el (mpc-tagbrowser, mpc):
8434 * net/rcirc.el (rcirc-any-buffer):
8435 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8436 * play/landmark.el (landmark-max-width, landmark-max-height):
8437 * play/zone.el (zone):
8438 * progmodes/compile.el (compilation-goto-locus):
8439 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8440 * progmodes/etags.el (find-tag-other-window):
8441 * progmodes/fortran.el (fortran-column-ruler):
8442 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8443 * progmodes/verilog-mode.el (verilog-point-text):
8444 * reposition.el (reposition-window):
8445 * rot13.el (toggle-rot13-mode):
8446 * server.el (server-switch-buffer):
8447 * shell.el (shell-dynamic-complete-command)
8448 (shell-dynamic-complete-environment-variable):
8449 * simple.el (insert-buffer, set-selective-display)
8450 (delete-completion-window):
8451 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8452 (speedbar-recenter):
8453 * startup.el (fancy-splash-head):
8454 * textmodes/ispell.el (ispell-command-loop):
8455 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8456 * tutorial.el (help-with-tutorial):
8457 * vc/add-log.el (add-change-log-entry):
8458 * vc/compare-w.el (compare-windows):
8459 * vc/ediff-help.el (ediff-indent-help-message):
8460 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8461 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8462 (ediff-setup-control-frame):
8463 * vc/emerge.el (emerge-position-region):
8464 * vc/pcvs-util.el (cvs-bury-buffer):
8465 * window.el (walk-windows, mouse-autoselect-window-select):
8466 * winner.el (winner-set-conf, winner-undo): Related users changed.
8467
8468 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8469
8470 * frameset.el (frameset--set-id): Doc fix.
8471 (frameset-frame-id, frameset-frame-id-equal-p)
8472 (frameset-locate-frame-id): New functions.
8473 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8474 (frameset-restore): Use them.
8475
8476 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8477
8478 Do not call to `selected-frame' where it is assumed by default.
8479 Affected functions are `raise-frame', `redraw-frame',
8480 `frame-first-window', `frame-terminal' and `delete-frame'.
8481 * calendar/appt.el (appt-disp-window):
8482 * epg.el (epg-wait-for-completion):
8483 * follow.el (follow-delete-other-windows-and-split)
8484 (follow-avoid-tail-recenter):
8485 * international/mule.el (set-terminal-coding-system):
8486 * mail/rmail.el (rmail-mail-return):
8487 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8488 * progmodes/f90.el (f90-add-imenu-menu):
8489 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8490 * server.el (server-switch-buffer):
8491 * simple.el (delete-completion-window):
8492 * talk.el (talk):
8493 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8494 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8495 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8496 * vc/ediff.el (ediff-documentation): Related users changed.
8497 * frame.el (selected-terminal): Remove the leftover.
8498
8499 2013-08-05 Glenn Morris <rgm@gnu.org>
8500
8501 * calendar/calendar.el (calendar-generate-month):
8502 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8503 (calendar-generate-month, calendar-font-lock-keywords):
8504 Fix for calendar-day-header-width > length of any day name.
8505
8506 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8507
8508 * desktop.el (desktop-clear): Use new name of sort predicate.
8509
8510 * frameset.el (frameset): Add docstring. Move :version property to its
8511 own `version' slot.
8512 (frameset-copy): Rename from copy-frameset.
8513 (frameset-p): Check more thoroughly.
8514 (frameset-prop): Do not check for :version, which is no longer a prop.
8515 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8516 Use new :never value instead of t.
8517 (frameset-filter-alist): Expand and clarify docstring.
8518 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8519 (frameset-filter-minibuffer, frameset-filter-save-param)
8520 (frameset-filter-restore-param, frameset-filter-iconified):
8521 Add pointer to docstring of frameset-filter-alist.
8522 (frameset-filter-params): Rename filter values to be more meaningful:
8523 :never instead of t, and reverse the meanings of :save and :restore.
8524 (frameset--process-minibuffer-frames): Clarify error message.
8525 (frameset-save): Avoid unnecessary and confusing call to framep.
8526 Use new BOA constructor for framesets.
8527 (frameset--reuse-list): Doc fix.
8528 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8529 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8530 (frameset-minibufferless-first-p): Doc fix.
8531 Rename from frameset-sort-frames-for-deletion.
8532 (frameset-restore): Doc fixes. Use new function names.
8533 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8534
8535 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8536
8537 * desktop.el (desktop-restore-forces-onscreen)
8538 (desktop-restore-reuses-frames): Document :keyword constant values.
8539 (desktop-filter-parameters-alist): Remove, now identical to
8540 frameset-filter-alist.
8541 (desktop--filter-tty*): Remove, moved to frameset.el.
8542 (desktop-save-frameset, desktop-restore-frameset):
8543 Do not pass :filters argument.
8544
8545 * frameset.el (frameset-live-filter-alist)
8546 (frameset-persistent-filter-alist): New variables.
8547 (frameset-filter-alist): Use them. Add autoload cookie.
8548 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8549 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8550 `frameset--id' (it's supposed to be internal to frameset.el).
8551 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8552 (frameset--initial-params): New function.
8553 (frameset--get-frame): Use it. Doc fix.
8554 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8555 Accept :all, not 'all.
8556 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8557 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8558 with fbound symbols. Fix frame id matching, and remove matching ids if
8559 the frame being restored is deleted. Obey :delete.
8560
8561 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * subr.el (macrop): New function.
8564 (text-clone--maintaining): New var.
8565 (text-clone--maintain): Rename from text-clone-maintain. Use it
8566 instead of inhibit-modification-hooks.
8567
8568 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8569 a proxy, so as handle autoloads and redefinitions of the target.
8570 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8571
8572 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8573 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8574 (pcase--mutually-exclusive-p): New function.
8575 (pcase--split-consp): Use it.
8576 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8577 mutually exclusive with the current predicate.
8578
8579 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8580 (edebug-macrop): Remove. Use `macrop' instead.
8581 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8582 (ad-macro-p):
8583 * eshell/esh-cmd.el (eshell-macrop):
8584 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8585
8586 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8589 (advice-mapc): New function, using it.
8590 (advice-function-member-p): New function.
8591 (advice--normalize): Store the cdr in advice--saved-rewrite since
8592 that's the part that will be changed.
8593 (advice--symbol-function): New function.
8594 (advice-remove): Handle removal before the function is defined.
8595 Adjust to new advice--saved-rewrite.
8596 (advice-member-p): Use advice-function-member-p and
8597 advice--symbol-function.
8598
8599 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8600
8601 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8602 (frameset-filter-minibuffer): Doc fix.
8603 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8604 (frameset--set-id, frameset--process-minibuffer-frames)
8605 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8606 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8607
8608 * desktop.el (desktop-clear): Only delete frames when called
8609 interactively and desktop-restore-frames is non-nil. Doc fix.
8610 (desktop-read): Set desktop-saved-frameset to nil.
8611
8612 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8613
8614 * vc/vc.el (vc-ignore): Rewrite.
8615 (vc-default-ignore-completion-table, vc--read-lines)
8616 (vc--add-line, vc--remove-regexp): New functions.
8617
8618 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8619 (vc-svn-ignore-completion-table): New function.
8620
8621 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8622 (vc-hg-ignore-completion-table)
8623 (vc-hg-find-ignore-file): New functions.
8624
8625 * vc/vc-git.el (vc-git-ignore): Rewrite.
8626 (vc-git-ignore-completion-table)
8627 (vc-git-find-ignore-file): New functions.
8628
8629 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8630
8631 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8632 (vc-bzr-ignore-completion-table)
8633 (vc-bzr-find-ignore-file): New functions.
8634
8635 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8636
8637 * frameset.el (frameset-prop): New function and setter.
8638 (frameset-save): Do not modify frame list passed by the caller.
8639
8640 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8643
8644 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8645
8646 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8647 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8648
8649 * custom.el (custom-initialize-default, custom-initialize-set)
8650 (custom-initialize-reset, custom-initialize-changed): Affect the
8651 toplevel-default-value (bug#6275, bug#14586).
8652 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8653 for bug#6275.
8654
8655 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8656
8657 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8658 Add cl-def* expressions.
8659
8660 * frameset.el (frameset-filter-params): Fix order of arguments.
8661
8662 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8663
8664 Move code related to saving frames to frameset.el.
8665 * desktop.el: Require frameset.
8666 (desktop-restore-frames): Doc fix.
8667 (desktop-restore-reuses-frames): Rename from
8668 desktop-restoring-reuses-frames.
8669 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8670 (desktop-clear): Clear frames too.
8671 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8672 (desktop--filter-tty*, desktop-save, desktop-read):
8673 Use frameset functions.
8674 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8675 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8676 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8677 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8678 (desktop--process-minibuffer-frames, desktop-save-frames)
8679 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8680 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8681 (desktop--sort-states, desktop-restoring-frames-p)
8682 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8683 (desktop-restoring-frameset-p, desktop-restore-frameset)
8684 (desktop--check-dont-save, desktop-save-frameset): New functions.
8685 (desktop--app-id): New constant.
8686 (desktop-first-buffer, desktop-buffer-ok-count)
8687 (desktop-buffer-fail-count): Move before first use.
8688 * frameset.el: New file.
8689
8690 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * files.el: Use lexical-binding.
8693 (dir-locals-read-from-file): Remove unused `err' variable.
8694 (hack-dir-local-variables--warned-coding): New var.
8695 (hack-dir-local-variables): Use it to avoid repeated warnings.
8696 (make-backup-file-name--default-function): New function.
8697 (make-backup-file-name-function): Use it as default.
8698 (buffer-stale--default-function): New function.
8699 (buffer-stale-function): Use it as default.
8700 (revert-buffer-insert-file-contents--default-function): New function.
8701 (revert-buffer-insert-file-contents-function): Use it as default.
8702 (insert-directory): Avoid add-to-list.
8703
8704 * autorevert.el (auto-revert-handler): Simplify.
8705 Use buffer-stale--default-function.
8706
8707 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8708
8709 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8710
8711 * whitespace.el (whitespace-ensure-local-variables): New function.
8712 (whitespace-cleanup-region): Call it.
8713 (whitespace-turn-on): Call it.
8714
8715 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8716
8717 Complete file name handlers.
8718
8719 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8720 (tramp-handle-verify-visited-file-modtime)
8721 (tramp-handle-file-notify-rm-watch): New functions.
8722 (tramp-call-process): Do not bind `default-directory'.
8723
8724 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8725 Order alphabetically.
8726 <access-file, add-name-to-file, dired-call-process>:
8727 <dired-compress-file, file-acl, file-notify-rm-watch>:
8728 <file-ownership-preserved-p, file-selinux-context>:
8729 <make-directory-internal, make-symbolic-link, set-file-acl>:
8730 <set-file-selinux-context, set-visited-file-modtime>:
8731 <verify-visited-file-modtime>: Add handler.
8732 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8733
8734 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8735 <file-notify-add-watch, file-notify-rm-watch>:
8736 <set-file-times, set-visited-file-modtime>:
8737 <verify-visited-file-modtime>: Add handler.
8738 (with-tramp-gvfs-error-message)
8739 (tramp-gvfs-handle-set-visited-file-modtime)
8740 (tramp-gvfs-fuse-file-name): Remove.
8741 (tramp-gvfs-handle-file-notify-add-watch)
8742 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8743 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8744
8745 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8746 Order alphabetically.
8747 <file-notify-rm-watch>: Use default Tramp handler.
8748 <executable-find>: Remove private handler.
8749 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8750 `default-directory'.
8751 (tramp-sh-handle-executable-find)
8752 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8753 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8754 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8755 Do not use `format' in `tramp-message'.
8756
8757 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8758 <file-notify-rm-watch, set-visited-file-modtime>:
8759 <verify-visited-file-modtime>: Add handler.
8760 (tramp-smb-call-winexe): Do not bind `default-directory'.
8761
8762 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8763
8764 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8765
8766 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8767
8768 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8769 use it.
8770 (log-view-diff-changeset): Same.
8771 (log-view-diff-common): Call backend command `previous-revision'
8772 to find out the previous revision, in both cases. Swap the
8773 variables `to' and `fr', so that `fr' usually refers to the
8774 earlier revision (Bug#14989).
8775
8776 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8777
8778 * ibuf-ext.el (ibuffer-filter-by-filename):
8779 Make it work with dired buffers too.
8780
8781 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8782
8783 * emacs-lisp/re-builder.el (reb-color-display-p):
8784 * files.el (save-buffers-kill-terminal):
8785 * net/browse-url.el (browse-url):
8786 * server.el (server-save-buffers-kill-terminal):
8787 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8788 Prefer nil to selected-frame for the first arg of frame-parameter.
8789
8790 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8791
8792 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8793
8794 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8795
8796 * minibuffer.el (completion--twq-all): Try and preserve each
8797 completion's case choice (bug#14907).
8798
8799 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8800
8801 * net/network-stream.el (open-network-stream): Mention the new
8802 :nogreeting parameter.
8803 (network-stream-open-starttls): Use the :nogreeting parameter
8804 (bug#14938).
8805
8806 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8807
8808 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8809 more natural than popping.
8810
8811 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8812 (shr-urlify): Highlight under mouse.
8813
8814 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8815
8816 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8817
8818 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8819
8820 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8821 buffer for output.
8822
8823 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8824 point-min==1. Fix search string. Fix parentheses missing.
8825
8826 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8827 assume point-min==1. Fix search string. Fix parentheses missing.
8828
8829 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8830
8831 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8832 buffer for output.
8833
8834 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8835
8836 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8837 initial frame is minibuffer-less. (Bug#14841)
8838
8839 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8840
8841 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8842 option.
8843
8844 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8845 (tramp-maybe-open-connection): Use it.
8846
8847 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8848
8849 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8850 minimal set of parameters passed when creating a frame, because
8851 the minibuffer status of a frame cannot be changed later.
8852
8853 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8854
8855 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8856 replace-regexp-in-string and inadvertent omissions in previous change.
8857 (todo-filter-items): Ensure only file names are comma-separated in
8858 name of filtered items buffer.
8859
8860 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8861
8862 * desktop.el: Optionally force offscreen frames back onscreen.
8863 (desktop-restoring-reuses-frames): New option.
8864 (desktop--compute-pos, desktop--move-onscreen): New functions.
8865 (desktop--make-frame): Use desktop--move-onscreen.
8866
8867 2013-07-27 Alan Mackenzie <acm@muc.de>
8868
8869 Fontify a Java generic method as a function.
8870 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8871 value to t.
8872
8873 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8874
8875 * calendar/todo-mode.el: Add command to rename todo files.
8876 (todo-rename-file): New command.
8877 (todo-key-bindings-t): Add key binding for it. Change the
8878 bindings of todo-filter-regexp-items(-multifile) to use `x'
8879 instead of `r', since the latter is better suited to the new
8880 renaming command.
8881
8882 2013-07-27 Alan Mackenzie <acm@muc.de>
8883
8884 Make Java try-with-resources statement parse properly.
8885 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8886 (c-block-stmt-1-2-key): New language constants/variables.
8887 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8888 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8889 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8890 with c-block-stmt-1-2-key.
8891
8892 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8893
8894 * desktop.el (desktop--make-frame): Apply most frame parameters after
8895 creating the frame to force (partially or totally) offscreen frames to
8896 be restored as such.
8897
8898 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8899
8900 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8901 (Bug#14948)
8902
8903 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8906 `base' arg of backtrace-frame.
8907
8908 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8909
8910 * simple.el (list-processes): Doc fix.
8911
8912 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8913
8914 * desktop.el (desktop--select-frame):
8915 Try harder to reuse existing frames.
8916
8917 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8918
8919 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8920 (edebug-eval): Use backtrace-eval.
8921 (edebug--display, edebug--recursive-edit): Don't let-bind the
8922 edebug-outer-* vars that keep track of variables we locally let-bind.
8923 (edebug-outside-excursion): Don't restore outside values of locally
8924 let-bound vars.
8925 (edebug--display): Use user-error.
8926 (cl-lexical-debug, cl-debug-env): Remove.
8927
8928 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8929
8930 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8931 are restored to be sure that they are visible before deleting any
8932 remaining ones.
8933
8934 2013-07-26 Matthias Meulien <orontee@gmail.com>
8935
8936 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8937 vc-print-root-log. (Bug#14948)
8938
8939 2013-07-26 Richard Stallman <rms@gnu.org>
8940
8941 Add aliases for encrypting mail.
8942 * epa.el (epa-mail-aliases): New option.
8943 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8944 Bind inhibit-read-only so read-only text doesn't ruin everything.
8945 (epa-mail-default-recipients): New subroutine broken out.
8946 Handle epa-mail-aliases.
8947
8948 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 Add support for lexical variables to the debugger's `e' command.
8951 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8952 vars, except for debugger-outer-match-data.
8953 (debugger-frame-number): Move check for "on a function call" from
8954 callers into it. Add `skip-base' argument.
8955 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8956 (debugger-env-macro): Only reset the state stored in non-variables,
8957 i.e. current-buffer and match-data.
8958 (debugger-eval-expression): Rewrite using backtrace-eval.
8959 * subr.el (internal--called-interactively-p--get-frame): Remove.
8960 (called-interactively-p):
8961 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8962 `base' arg of backtrace-frame instead.
8963
8964 2013-07-26 Glenn Morris <rgm@gnu.org>
8965
8966 * align.el (align-regexp): Doc fix. (Bug#14857)
8967 (align-region): Explicit error if subexpression missing/does not match.
8968
8969 * simple.el (global-visual-line-mode):
8970 Do not duplicate the mode lighter. (Bug#14858)
8971
8972 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8973
8974 * window.el (display-buffer): In display-buffer bind
8975 split-window-keep-point to t, bug#14829.
8976
8977 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8978
8979 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8980 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8981 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8982 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8983 Change accordingly.
8984 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8985 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8986
8987 2013-07-25 Glenn Morris <rgm@gnu.org>
8988
8989 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8990
8991 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8992
8993 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8994 parameter to modify-frame-parameters if the value has not changed;
8995 this is a workaround for bug#14949.
8996 (desktop--make-frame): On cl-delete-if call, check parameter name,
8997 not full parameter.
8998
8999 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9000
9001 * vc/vc.el (vc-ignore): New function.
9002
9003 * vc/vc-svn.el (vc-svn-ignore): New function.
9004
9005 * vc/vc-hg.el (vc-hg-ignore): New function.
9006
9007 * vc/vc-git.el (vc-git-ignore): New function.
9008
9009 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9010 (vc-dir-ignore): New function.
9011
9012 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9013 (cvs-append-to-ignore): Move here from pcvs.el.
9014
9015 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9016
9017 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9018
9019 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9020
9021 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9022 (desktop-restore-frames): Warn when deleting an existing frame failed.
9023
9024 2013-07-24 Glenn Morris <rgm@gnu.org>
9025
9026 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9027
9028 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9029
9030 * filenotify.el (file-notify-supported-p):
9031 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9032 Remove functions.
9033
9034 * autorevert.el (auto-revert-use-notify)
9035 (auto-revert-notify-add-watch):
9036 * net/tramp.el (tramp-file-name-for-operation):
9037 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9039 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9040 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9041 Remove `file-notify-supported-p' entry.
9042
9043 2013-07-24 Glenn Morris <rgm@gnu.org>
9044
9045 * printing.el: Replace all uses of deleted ps-windows-system,
9046 ps-lp-system, ps-flatten-list with lpr- versions.
9047
9048 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9049
9050 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9051 checked with memq (bug#14935).
9052
9053 * files.el (revert-buffer-function): Use a non-nil default.
9054 (revert-buffer-preserve-modes): Declare var to
9055 provide access to the `preserve-modes' argument.
9056 (revert-buffer): Let-bind it.
9057 (revert-buffer--default): New function, extracted from revert-buffer.
9058
9059 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9060
9061 * lpr.el: Signal print errors more prominently.
9062 (print-region-function): Don't default to nil.
9063 (lpr-print-region): New function, extracted from print-region-1.
9064 Check lpr's return value and signal an error in case of problem.
9065 (print-region-1): Use it.
9066 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9067 versions instead.
9068 (ps-printer-name): Default to nil.
9069 (ps-printer-name-option): Default to lpr-printer-switch.
9070 (ps-print-region-function): Don't default to nil.
9071 (ps-postscript-code-directory): Simplify default.
9072 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9073 (ps-string-list, ps-eval-switch, ps-flatten-list)
9074 (ps-flatten-list-1): Remove.
9075 (ps-multibyte-buffer): Avoid setq.
9076 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9077 (print-region-function, ps-print-region-function): Don't set them here.
9078
9079 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9080
9081 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9082 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9083 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9084 (ido-decorations): Doc fix.
9085
9086 * ansi-color.el: Fix old URL.
9087
9088 2013-07-23 Michael R. Mauger <michael@mauger.com>
9089
9090 * progmodes/sql.el: Version 3.3
9091 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9092 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9093 (sql-interactive-remove-continuation-prompt): Rewrite, use
9094 functions above. Fix continuation prompt and complete output line
9095 handling.
9096 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9097 redirected output buffer.
9098 (sql-mode): Restore deleted code (Bug#13591).
9099
9100 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9101
9102 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9103
9104 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9105
9106 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9107
9108 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9109 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9110 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9111
9112 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9113
9114 * desktop.el (desktop-clear): Simplify; remove useless checks
9115 against invalid buffer names.
9116 (desktop-list*): Use cl-list*.
9117 (desktop-buffer-info, desktop-create-buffer): Simplify.
9118
9119 2013-07-23 Leo Liu <sdl.web@gmail.com>
9120
9121 * bookmark.el (bookmark-make-record): Restore NAME as a default
9122 value. (Bug#14933)
9123
9124 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9125
9126 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9127 extracted from autoload--insert-text.
9128 (autoload--insert-text): Remove.
9129 (autoload--print-cookie-text): New function, extracted from
9130 autoload--insert-cookie-text.
9131 (autoload--insert-cookie-text): Remove.
9132 (autoload-generate-file-autoloads): Adjust calls accordingly.
9133
9134 * winner.el (winner-hook-installed-p): Remove.
9135 (winner-mode): Simplify accordingly.
9136
9137 * subr.el (add-to-list): Fix compiler-macro when `append' is
9138 not constant. Don't use `cl-member' for the base case.
9139
9140 * progmodes/subword.el: Fix boundary case (bug#13758).
9141 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9142 own group.
9143 (subword-backward-regexp): Make it a constant.
9144 (subword-forward-internal): Don't treat a trailing capital as the
9145 beginning of a word.
9146
9147 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9148
9149 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9150 global value of tabulated-list-revert-hook (bug#14930).
9151
9152 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9153
9154 * desktop.el: Require 'cl-lib.
9155 (desktop-before-saving-frames-functions): New hook.
9156 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9157 for frames being saved. Rename from desktop--save-minibuffer-frames.
9158 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9159 Do not save frames with non-nil `desktop-dont-save' parameter.
9160 Filter out deleted frames.
9161 (desktop--find-frame): Use cl-find-if.
9162 (desktop--select-frame): Use cl-(first|second|third) to access values
9163 of desktop-mini.
9164 (desktop--make-frame): Use cl-delete-if.
9165 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9166 (desktop-restore-frames): Use cl-(first|second|third) to access values
9167 of desktop-mini. Look for visible frame at the end, not while
9168 restoring frames.
9169
9170 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9171 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9172 Use string-match-p, looking-at-p (bug#14927).
9173
9174 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9175
9176 * desktop.el (desktop-saved-frame-states):
9177 Rename from desktop--saved-states; all users changed.
9178 (desktop-save-frames): Rename from desktop--save-frames.
9179 Do not save state to desktop file.
9180 (desktop-save): Save desktop-saved-frame-states to desktop file
9181 and reset to nil.
9182 (desktop-restoring-frames-p): New function.
9183 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9184 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9185 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9186
9187 * desktop.el: Correctly restore iconified frames.
9188 (desktop--filter-iconified-position): New function.
9189 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9190
9191 2013-07-20 Glenn Morris <rgm@gnu.org>
9192
9193 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9194 Let `message' do the formatting.
9195 (def-gdb-preempt-display-buffer): Add explicit format.
9196
9197 * image-dired.el (image-dired-track-original-file):
9198 Use with-current-buffer.
9199 (image-dired-track-thumbnail): Use with-current-buffer.
9200 Avoid changing point of wrong window.
9201
9202 * image-dired.el (image-dired-track-original-file):
9203 Avoid changing point of wrong window. (Bug#14909)
9204
9205 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9206
9207 * progmodes/gdb-mi.el (gdb-done-or-error):
9208 Guard against "%" in gdb output. (Bug#14127)
9209
9210 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9211
9212 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9213 (Bug#14826)
9214
9215 * international/mule.el (coding-system-iso-2022-flags): Fix last
9216 change.
9217
9218 2013-07-20 Kenichi Handa <handa@gnu.org>
9219
9220 * international/mule.el (coding-system-iso-2022-flags):
9221 Add `8-bit-level-4'. (Bug#8522)
9222
9223 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9224
9225 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9226 (bug#14815).
9227
9228 * net/eww.el (eww-process-text-input): Allow inputting when the
9229 point is at the start of the line, as the properties aren't
9230 front-sticky.
9231
9232 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9233 degenerate widths.
9234
9235 2013-07-19 Richard Stallman <rms@gnu.org>
9236
9237 * epa.el (epa-popup-info-window): Doc fix.
9238
9239 * subr.el (split-string): New arg TRIM.
9240
9241 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9242
9243 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9244 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9245
9246 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9247
9248 * filenotify.el (file-notify--library): Rename from
9249 `file-notify-support'. Do not autoload. Adapt all uses.
9250 (file-notify-supported-p): New defun.
9251
9252 * autorevert.el (auto-revert-use-notify):
9253 Use `file-notify-supported-p' instead of `file-notify-support'.
9254 Adapt docstring.
9255 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9256
9257 * net/tramp.el (tramp-file-name-for-operation):
9258 Add `file-notify-supported-p'.
9259
9260 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9261 New defun.
9262 (tramp-sh-file-name-handler-alist): Add it as handler for
9263 `file-notify-supported-p '.
9264
9265 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9266 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9267 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9268 Add `ignore' as handler for `file-notify-*' functions.
9269
9270 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9271
9272 * simple.el (line-move-partial, line-move): Don't start vscroll or
9273 scroll-up if the current line is not taller than the window.
9274 (Bug#14881)
9275
9276 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9277
9278 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9279 highlight question marks in the method names as strings.
9280 (ruby-block-beg-keywords): Inline.
9281 (ruby-font-lock-keyword-beg-re): Extract from
9282 `ruby-font-lock-keywords'.
9283
9284 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9285
9286 * frame.el (blink-cursor-blinks): New defcustom.
9287 (blink-cursor-blinks-done): New defvar.
9288 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9289 (blink-cursor-timer-function): Check if number of blinks has been
9290 done on X and NS.
9291 (blink-cursor-suspend, blink-cursor-check): New defuns.
9292
9293 2013-07-15 Glenn Morris <rgm@gnu.org>
9294
9295 * edmacro.el (edmacro-format-keys): Fix previous change.
9296
9297 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9298
9299 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9300 The hack didn't work outside English locales anyway.
9301
9302 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9303
9304 * simple.el (define-alternatives): Rename from alternatives-define,
9305 per RMS' suggestion.
9306
9307 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9308
9309 * desktop.el (desktop-restore-frames): Change default to t.
9310 (desktop-restore-in-current-display): Now offer more options.
9311 (desktop-restoring-reuses-frames): New customization option.
9312 (desktop--saved-states): Doc fix.
9313 (desktop-filter-parameters-alist): New variable, renamed and expanded
9314 from desktop--excluded-frame-parameters.
9315 (desktop--target-display): New variable.
9316 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9317 (desktop--filter-tty*, desktop--filter-*-color)
9318 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9319 (desktop--filter-save-desktop-parm)
9320 (desktop-restore-in-original-display-p): New functions.
9321 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9322 (desktop--save-minibuffer-frames): New function, inspired by a similar
9323 function from Martin Rudalics.
9324 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9325 (desktop--restore-in-this-display-p): Remove.
9326 (desktop--find-frame): Rename from desktop--find-frame-in-display
9327 and add predicate argument.
9328 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9329 (desktop--reuse-list): New variable.
9330 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9331 New functions.
9332 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9333
9334 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9335
9336 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9337
9338 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9339
9340 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9341 Highlight conversion methods on Kernel.
9342
9343 2013-07-13 Alan Mackenzie <acm@muc.de>
9344
9345 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9346 and comment it out. This out-commenting enables certain C++
9347 declarations to be parsed correctly.
9348
9349 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9350
9351 * international/mule.el (define-coding-system): Doc fix.
9352
9353 * simple.el (default-font-height): Don't call font-info if the
9354 frame's default font didn't change since the frame was created.
9355 (Bug#14838)
9356
9357 2013-07-13 Leo Liu <sdl.web@gmail.com>
9358
9359 * ido.el (ido-read-file-name): Guard against non-symbol value.
9360
9361 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9362
9363 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9364 in nested defuns.
9365
9366 2013-07-13 Leo Liu <sdl.web@gmail.com>
9367
9368 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9369 ido-set-matches call. (Bug#6852)
9370
9371 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9372
9373 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9374 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9375 Ruby 2.0.
9376 (ruby-font-lock-keywords): Distinguish calls to functions with
9377 module-like names from module references. Highlight character
9378 literals.
9379
9380 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9381
9382 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9383 (gdb-send): Handle continued commands. (Bug#14847)
9384
9385 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9386
9387 * desktop.el (desktop--v2s): Remove unused local variable.
9388 (desktop-save-buffer): Make defvar-local; adjust docstring.
9389 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9390 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9391
9392 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9393
9394 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9395
9396 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9397
9398 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9399 (Bug#14842)
9400
9401 2013-07-12 Glenn Morris <rgm@gnu.org>
9402
9403 * doc-view.el: Require cl-lib at runtime too.
9404 (doc-view-remove-if): Remove.
9405 (doc-view-search-next-match, doc-view-search-previous-match):
9406 Use cl-remove-if.
9407
9408 * edmacro.el: Require cl-lib at runtime too.
9409 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9410 (edmacro-mismatch, edmacro-subseq): Remove.
9411
9412 * shadowfile.el: Require cl-lib.
9413 (shadow-remove-if): Remove.
9414 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9415 Use cl-remove-if.
9416
9417 * wid-edit.el: Require cl-lib.
9418 (widget-choose): Use cl-remove-if.
9419 (widget-remove-if): Remove.
9420
9421 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9422 (ebrowse-delete-if-not): Remove.
9423 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9424 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9425 Use cl-delete-if-not.
9426
9427 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9428
9429 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9430 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9431
9432 2013-07-12 Leo Liu <sdl.web@gmail.com>
9433
9434 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9435
9436 2013-07-11 Glenn Morris <rgm@gnu.org>
9437
9438 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9439 (edebug-gensym-index, edebug-gensym):
9440 Remove reimplementation of cl-gensym.
9441 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9442
9443 * thumbs.el: Require cl-lib at run-time too.
9444 (thumbs-gensym-counter, thumbs-gensym):
9445 Remove reimplementation of cl-gensym.
9446 (thumbs-temp-file): Use cl-gensym.
9447
9448 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9449 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9450 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9451 (ert--union, ert--gensym-counter, ert--gensym-counter)
9452 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9453 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9454 (ert-make-test-unbound, ert--expand-should-1)
9455 (ert--expand-should, ert--should-error-handle-error)
9456 (should-error, ert--explain-equal-rec)
9457 (ert--plist-difference-explanation, ert-select-tests)
9458 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9459 Use cl-lib functions rather than reimplementations.
9460
9461 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9462
9463 * net/tramp.el (tramp-methods): Extend docstring.
9464 (tramp-connection-timeout): New defcustom.
9465 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9466 (with-tramp-progress-reporter): Simplify.
9467 (tramp-process-actions): Improve messages.
9468
9469 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9470 * net/tramp-sh.el (tramp-maybe-open-connection):
9471 Use `tramp-connection-timeout'.
9472 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9473 (Bug#14808)
9474
9475 2013-07-11 Leo Liu <sdl.web@gmail.com>
9476
9477 * ido.el (ido-read-file-name): Conform to the requirements of
9478 read-file-name. (Bug#11861)
9479 (ido-read-directory-name): Conform to the requirements of
9480 read-directory-name.
9481
9482 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9483
9484 * subr.el (delay-warning): New function.
9485
9486 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9487
9488 * simple.el (default-line-height): New function.
9489 (line-move-partial, line-move): Use it instead of computing the
9490 line height inline.
9491 (line-move-partial): Always compute ROWH. If the last line is
9492 partially-visible, but its text is completely visible, allow
9493 cursor to enter such a partially-visible line.
9494
9495 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9496
9497 Improve error messages. (Bug#14808)
9498
9499 * net/tramp.el (tramp-current-connection): New defvar, moved from
9500 tramp-sh.el.
9501 (tramp-message-show-progress-reporter-message): Remove, not
9502 needed anymore.
9503 (tramp-error-with-buffer): Show message in minibuffer.
9504 Discard input before waiting. Reset connection timestamp.
9505 (with-tramp-progress-reporter): Improve messages.
9506 (tramp-process-actions): Use progress reporter. Delete process in
9507 case of error. Improve messages.
9508
9509 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9510 Call `tramp-error-with-buffer' with vector and buffer.
9511 (tramp-current-connection): Remove.
9512 (tramp-maybe-open-connection): The car of
9513 `tramp-current-connection' are the first 3 slots of the vector.
9514
9515 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9516
9517 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9518 inside continued strings.
9519
9520 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9521
9522 Timestamp fixes for undo (Bug#14824).
9523 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9524
9525 2013-07-10 Leo Liu <sdl.web@gmail.com>
9526
9527 * files.el (require-final-newline): Allow safe local value.
9528 (Bug#14834)
9529
9530 2013-07-09 Leo Liu <sdl.web@gmail.com>
9531
9532 * ido.el (ido-read-directory-name): Handle fallback.
9533 (ido-read-file-name): Update DIR to ido-current-directory.
9534 (Bug#1516)
9535 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9536
9537 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9538
9539 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9540 "autoload". Remove "warn lower camel case" section, previously
9541 commented out. Highlight negation char. Do not highlight the
9542 target in singleton method definitions.
9543
9544 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * faces.el (tty-setup-hook): Declare the hook.
9547
9548 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9549 and detect when a guard/pred depends on local vars (bug#14773).
9550 (pcase--u1): Adjust caller.
9551
9552 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9553
9554 * simple.el (line-move-partial, line-move): Account for
9555 line-spacing.
9556 (line-move-partial): Avoid setting vscroll when the last
9557 partially-visible line in window is of default height.
9558
9559 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9560
9561 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9562 been used a while.
9563
9564 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9565
9566 * subr.el (read-quoted-char): Remove unused local variable `char'.
9567
9568 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9569
9570 * ediff.el (ediff-version): Version update.
9571 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9572 (ediff-merge-with-ancestor-command, ediff-directories-command)
9573 (ediff-directories3-command, ediff-merge-directories-command)
9574 (ediff-merge-directories-with-ancestor-command): New functions.
9575 All are command-line interfaces to ediff: to facilitate calling
9576 Emacs with the appropriate ediff functions invoked.
9577
9578 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9579 (viper-save-kill-buffer): Check if buffer is modified.
9580
9581 * viper.el (viper-version): Version update.
9582 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9583
9584 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9585
9586 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9587 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9588 (viper-intercept-ESC-key): Simplify.
9589 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9590 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9591 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9592 (viper-setup-ESC-to-escape): New functions.
9593 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9594 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9595
9596 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9597
9598 * simple.el (default-font-height, window-screen-lines):
9599 New functions.
9600 (line-move, line-move-partial): Use them instead of
9601 frame-char-height and window-text-height. This makes scrolling
9602 text smoother when the buffer's default face uses a font that is
9603 different from the frame's default font.
9604
9605 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9606
9607 * files.el (write-file): Do not display confirm dialog for NS,
9608 it does its own dialog, which can't be canceled (Bug#14578).
9609
9610 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9611
9612 * simple.el (line-move-partial): Adjust the row returned by
9613 posn-at-point for the current window-vscroll. (Bug#14567)
9614
9615 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9616
9617 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9618 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9619 spaces.
9620
9621 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9622
9623 * window.el (window-state-put-stale-windows): New variable.
9624 (window--state-put-2): Save list of windows without matching buffer.
9625 (window-state-put): Remove "bufferless" windows if possible.
9626
9627 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9628
9629 * simple.el (alternatives-define): Remove leftover :group keyword.
9630 Tweak docstring.
9631
9632 2013-07-06 Leo Liu <sdl.web@gmail.com>
9633
9634 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9635 (ido-enable-virtual-buffers): New variable.
9636 (ido-buffer-internal, ido-toggle-virtual-buffers)
9637 (ido-make-buffer-list): Use it.
9638 (ido-exhibit): Support turning on and off virtual buffers
9639 automatically.
9640
9641 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9642
9643 * simple.el (alternatives-define): New macro.
9644
9645 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9646
9647 * subr.el (read-quoted-char): Use read-key.
9648 (sit-for): Let read-event decode tty input (bug#14782).
9649
9650 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9651
9652 * calendar/todo-mode.el: Add handling of file deletion, both by
9653 mode command and externally. Fix various related bugs.
9654 Clarify Commentary and improve some documentation strings and code.
9655 (todo-delete-file): New command.
9656 (todo-check-file): New function.
9657 (todo-show): Handle external deletion of the file we're trying to
9658 show (bug#14688). Replace called-interactively-p by an optional
9659 prefix argument to avoid problematic interaction with catch form
9660 when byte compiled (bug#14702).
9661 (todo-quit): Handle external deletion of the archive's todo file.
9662 Make sure the buffer that was visiting the archive file is still
9663 live before trying to bury it.
9664 (todo-category-completions): Handle external deletion of any
9665 category completion files.
9666 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9667 of todo files, in case of external deletion.
9668 (todo-add-file): Replace unnecessary setq by let-binding.
9669 (todo-find-archive): Check whether there are any archives.
9670 Replace unnecessary setq by let-binding.
9671 (todo-archive-done-item): Use find-file-noselect to get the
9672 archive buffer whether or not the archive already exists.
9673 Remove superfluous code. Use file size instead of buffer-file-name to
9674 check if the archive is new; if it is, update list of archives.
9675 (todo-default-todo-file): Allow nil to be a valid value for when
9676 there are no todo files.
9677 (todo-reevaluate-default-file-defcustom): Use corrected definition
9678 of todo-default-todo-file.
9679 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9680 (todo-delete-category, todo-show-categories-table)
9681 (todo-category-number): Clarify comment.
9682 (todo-filter-items): Clarify documentation string.
9683 (todo-show-current-file, todo-display-as-todo-file)
9684 (todo-reset-and-enable-done-separator): Tweak documentation string.
9685 (todo-done-separator): Make separator length window-width, since
9686 bug#2749 is now fixed.
9687
9688 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9691 Support both "gvfs-monitor-dir" and "inotifywait".
9692 (tramp-sh-file-inotifywait-process-filter): Rename from
9693 `tramp-sh-file-notify-process-filter'.
9694 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9695 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9696
9697 2013-07-05 Leo Liu <sdl.web@gmail.com>
9698
9699 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9700
9701 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9702
9703 * frame.el (display-pixel-height, display-pixel-width)
9704 (display-mm-height, display-mm-width): Mention behavior on
9705 multi-monitor setups in docstrings.
9706 (w32-display-monitor-attributes-list): Declare function.
9707 (display-monitor-attributes-list): Use it.
9708
9709 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9710
9711 * filenotify.el: New package.
9712
9713 * autorevert.el (top): Require filenotify.el.
9714 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9715 instead.
9716 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9717 (auto-revert-notify-handler): Use `file-notify-*' functions.
9718
9719 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9720
9721 * net/tramp.el (tramp-file-name-for-operation):
9722 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9723
9724 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9725 for `file-notify-add-watch' and `file-notify-rm-watch'.
9726 (tramp-process-sentinel): Improve trace.
9727 (tramp-sh-handle-file-notify-add-watch)
9728 (tramp-sh-file-notify-process-filter)
9729 (tramp-sh-handle-file-notify-rm-watch)
9730 (tramp-get-remote-inotifywait): New defuns.
9731
9732 2013-07-03 Juri Linkov <juri@jurta.org>
9733
9734 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9735 call of `occur-read-primary-args' to interactive spec.
9736
9737 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9738 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9739
9740 2013-07-03 Matthias Meulien <orontee@gmail.com>
9741
9742 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9743 `Buffer-menu-multi-occur'. Add it to the menu.
9744 (Buffer-menu-mode): Document it in docstring.
9745 (Buffer-menu-multi-occur): New command. (Bug#14673)
9746
9747 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9748
9749 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9750 keywords and built-ins.
9751
9752 2013-07-03 Glenn Morris <rgm@gnu.org>
9753
9754 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9755
9756 Make info-xref checks case-sensitive by default
9757 * info.el (Info-find-node, Info-find-in-tag-table)
9758 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9759 Add option for exact case matching of nodes.
9760 * info-xref.el (info-xref): New custom group.
9761 (info-xref-case-fold): New option.
9762 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9763
9764 2013-07-03 Leo Liu <sdl.web@gmail.com>
9765
9766 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9767
9768 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9769
9770 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9771 middle of block statement initially, lower the depth. Remove
9772 FIXME comment, not longer valid. Remove middle of block statement
9773 detection, no need to do that anymore since we've been using
9774 `ruby-parse-region' here.
9775
9776 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9777
9778 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9779
9780 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9781
9782 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9783
9784 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9785
9786 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9787 (desktop-restore-in-current-display): New customization option.
9788 (desktop--excluded-frame-parameters): Add `font'.
9789 (desktop--save-frames): Rename from desktop--save-windows.
9790 (desktop--restore-in-this-display-p): New function.
9791 (desktop--make-full-frame): Remove unwanted width/height from
9792 full(width|height) frames.
9793 (desktop--restore-frames): Rename from desktop--restore-windows.
9794 Obey desktop-restore-current-display. Do not delete old frames or
9795 select a new frame unless we were able to restore at least one frame.
9796
9797 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9798
9799 * files.el (find-file-noselect): Simplify conditional expression.
9800
9801 * textmodes/remember.el (remember-append-to-file):
9802 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9803
9804 Add `remember-notes' function to store random notes across Emacs
9805 restarts.
9806 * textmodes/remember.el (remember-data-file): Add :set callback to
9807 affect notes buffer (if any).
9808 (remember-notes): New command.
9809 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9810 New defcustoms for the `remember-notes' function.
9811 (remember-notes-save-and-bury-buffer): New command.
9812 (remember-notes-mode-map): New variable.
9813 (remember-mode): New minor mode.
9814 (remember-notes--kill-buffer-query): New function.
9815 * startup.el (initial-buffer-choice): Add notes to custom type.
9816
9817 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9818
9819 * bindings.el (right-char, left-char): Don't call sit-for, this is
9820 no longer needed. Use arithmetic comparison only for numerical
9821 arguments.
9822
9823 * international/mule-cmds.el (select-safe-coding-system):
9824 Handle the case of FROM being a string correctly. (Bug#14755)
9825
9826 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9827
9828 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9829 progression on degenerate tables.
9830 (shr-rescale-image): ImageMagick animated images currently don't work.
9831
9832 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9833
9834 Some fixes and improvements for desktop frame restoration.
9835 It is still experimental and disabled by default.
9836 * desktop.el (desktop--save-windows): Put the selected frame at
9837 the head of the list.
9838 (desktop--make-full-frame): New function.
9839 (desktop--restore-windows): Try to re-select the frame that was
9840 selected upon saving. Do not abort if some frames fail to restore,
9841 just show an error message and continue. Set up maximized frames
9842 so they have default non-maximized dimensions.
9843
9844 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9845
9846 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9847 Don't start heredoc inside a string or comment.
9848
9849 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9850
9851 * bindings.el (visual-order-cursor-movement): New defcustom.
9852 (right-char, left-char): Provide visual-order cursor motion by
9853 calling move-point-visually. Update the doc strings.
9854
9855 2013-06-28 Kenichi Handa <handa@gnu.org>
9856
9857 * international/mule.el (define-coding-system): New coding system
9858 properties :inhibit-null-byte-detection,
9859 :inhibit-iso-escape-detection, and :prefer-utf-8.
9860 (set-buffer-file-coding-system): If :charset-list property of
9861 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9862 appropriate for setting.
9863
9864 * international/mule-cmds.el (select-safe-coding-system):
9865 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9866 multibyte characters, return utf-8 (or one of its siblings).
9867
9868 * international/mule-conf.el (prefer-utf-8): New coding system.
9869 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9870 files.
9871
9872 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9873
9874 * net/shr.el (shr-render-region): New function.
9875
9876 * net/eww.el: Autoload `eww-browse-url'.
9877
9878 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9879
9880 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9881 Adapt to `package-desc-version' being a list.
9882 Use `package--ac-desc-version' to retrieve version from a package
9883 archive element.
9884
9885 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9886
9887 New experimental feature to save&restore window and frame setup.
9888 * desktop.el (desktop-save-windows): New defcustom.
9889 (desktop--saved-states): New var.
9890 (desktop--excluded-frame-parameters): New defconst.
9891 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9892 (desktop--restore-windows, desktop--save-windows): New functions.
9893 (desktop-save): Call `desktop--save-windows'.
9894 (desktop-read): Call `desktop--restore-windows'.
9895
9896 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9897
9898 * net/shr.el (add-face-text-property): Remove compat definition.
9899
9900 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9901
9902 * info.el (Info-try-follow-nearest-node): Move search for footnote
9903 above search for node name to prevent missing a footnote (bug#14717).
9904
9905 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9906
9907 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9908
9909 2013-06-27 Leo Liu <sdl.web@gmail.com>
9910
9911 * net/eww.el (eww-read-bookmarks): Check file size.
9912
9913 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9916 advice--pending if newdef is nil or an autoload (bug#13820).
9917 (advice-mapc): New function.
9918
9919 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9920
9921 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9922 probably.
9923 (eww-mode-map): Add a menu bar.
9924 (eww-add-bookmark): New command.
9925 (eww-bookmark-mode): New mode and commands.
9926 (eww-add-bookmark): Remove newlines from the title.
9927 (eww-bookmark-browse): Don't bug out if it's the only window.
9928
9929 2013-06-26 Glenn Morris <rgm@gnu.org>
9930
9931 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9932 (hfy-size): Handle ttys. (Bug#14668)
9933
9934 * info-xref.el: Update for Texinfo 5 change in *note format.
9935 (info-xref-node-re, info-xref-note-re): New constants.
9936 (info-xref-check-buffer): Use info-xref-note-re.
9937
9938 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9939
9940 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9941
9942 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9943 nil terminate the loop (bug#14718).
9944
9945 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9946
9947 * net/eww.el: Rework history traversal. When going forward/back,
9948 put these actions into the history, too, so that they can be
9949 replayed.
9950 (eww-render): Move the history reset to the correct buffer.
9951
9952 2013-06-25 Juri Linkov <juri@jurta.org>
9953
9954 * files-x.el (modify-dir-local-variable): Change the header comment
9955 in the file with directory local variables. (Bug#14692)
9956
9957 * files-x.el (read-file-local-variable-value): Add `default'.
9958 (Bug#14710)
9959
9960 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9961
9962 * net/eww.el (eww-make-unique-file-name): Create a unique file
9963 name before saving to entering `y' accidentally asynchronously.
9964
9965 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9966
9967 * net/eww.el (eww-download): New command and keystroke.
9968
9969 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9970
9971 * net/eww.el (eww-copy-page-url): Change name of command.
9972
9973 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9974 be more consistent with Info and dired.
9975
9976 * net/eww.el (eww-mode-map): Ditto.
9977
9978 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9981 packages from archives.
9982 (package-archive-contents): Change format; include obsolete packages.
9983 (package-desc): Use `dir' to mark builtin packages.
9984 (package--from-builtin): Set the `dir' field to `builtin'.
9985 (generated-autoload-file, version-control): Declare.
9986 (package-compute-transaction): Change first arg and return value to be
9987 lists of package-descs. Adjust to new package-archive-contents format.
9988 (package--add-to-archive-contents): Adjust to new
9989 package-archive-contents format.
9990 (package-download-transaction): Arg is now a list of package-descs.
9991 (package-install): If `pkg' is a package name, pass it as
9992 a requirement, so it is subject to the usual (e.g. disabled) checks.
9993 (describe-package): Accept package-desc as well.
9994 (describe-package-1): Describe a specific package-desc. Add links to
9995 other package-descs for the same package name.
9996 (package-menu-describe-package): Pass the actual package-desc.
9997 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9998 works correctly.
9999 (package-desc-status): New function.
10000 (package-menu--refresh): New function, extracted
10001 from package-menu--generate.
10002 (package-menu--generate): Use it.
10003 (package-delete): Update package-alist.
10004 (package-menu-execute): Don't call package-initialize.
10005
10006 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10007 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10008 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10009 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10010 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10011 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10012
10013 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10014
10015 * window.el (window--state-get-1): Workaround for bug#14527.
10016 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10017
10018 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10019
10020 * net/eww.el (eww-back-url): Implement the history by stashing all
10021 the data into a list.
10022 (eww-forward-url): Allow going forward in the history, too.
10023
10024 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10025
10026 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10027 for values and use read--expression for expressions (bug#14710).
10028 (read-file-local-variable): Avoid setq.
10029 (read-file-local-variable-mode): Use minor-mode-list.
10030
10031 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10032
10033 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10034 for DOI URLs.
10035
10036 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10037
10038 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10039 Update imenu-support when dialect changes.
10040
10041 2013-06-25 Leo Liu <sdl.web@gmail.com>
10042
10043 * ido.el (ido-read-internal): Allow forward slash on windows.
10044
10045 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10046
10047 * net/eww.el (eww): Start of strings is \\`, not ^.
10048
10049 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10050
10051 * net/shr.el (shr-browse-url): Fix interactive spec.
10052
10053 * net/eww.el (eww): Add a trailing slash to domain names.
10054
10055 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10056
10057 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10058
10059 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10060
10061 * net/shr.el (shr-browse-url): Use an external browser if given a
10062 prefix.
10063
10064 * net/eww.el (eww-external-browser): Move to shr.
10065
10066 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10067
10068 * net/eww.el (eww): Work more correctly for file: URLs.
10069 (eww-detect-charset): Allow quoted charsets.
10070 (eww-yank-page-url): New command and keystroke.
10071
10072 2013-06-24 Daiki Ueno <ueno@gnu.org>
10073
10074 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10075 file name of gpg executable.
10076 (epg-context-program): New function.
10077 (epg-context-home-directory): New function.
10078 (epg-context-set-program): New function.
10079 (epg-context-set-home-directory): New function.
10080 (epg--start): Use `epg-context-program' instead of
10081 'epg-gpg-program'.
10082 (epg--list-keys-1): Likewise.
10083
10084 2013-06-24 Leo Liu <sdl.web@gmail.com>
10085
10086 * ido.el (ido-read-internal): Fix bug#14620.
10087
10088 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10089
10090 * faces.el (face-documentation): Simplify.
10091 (read-face-attribute, tty-find-type, x-resolve-font-name):
10092 Use `string-match-p'.
10093 (list-faces-display): Use `string-match-p'. Simplify.
10094 (face-spec-recalc): Check face to avoid face alias loops.
10095 (read-color): Use `string-match-p' and non-capturing parenthesis.
10096
10097 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10098
10099 * net/shr.el (shr-rescale-image): Use the new
10100 :max-width/:max-height functionality.
10101
10102 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10103
10104 * net/eww.el (eww-search-prefix): New variable.
10105 (eww): Use it.
10106 (eww-external-browser): New variable.
10107 (eww-mode-map): New keystroke.
10108 (eww-browse-with-external-browser): New command.
10109
10110 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10111
10112 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10113
10114 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10115 Don't skip aligning the next header field when padding is 0;
10116 otherwise, field width is not respected unless the title is as
10117 wide as the field.
10118
10119 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * emacs-lisp/package.el (package-el-version): Remove.
10122 (package-process-define-package): Fix inf-loop.
10123 (package-install): Allow symbols as arguments again.
10124
10125 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10126
10127 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10128 add some more keyword-like methods.
10129 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10130
10131 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10132
10133 * bs.el (bs-buffer-show-mark): Make defvar-local.
10134 (bs-mode): Use setq-local.
10135
10136 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10137 (emacs-lock--try-unlocking): Make defvar-local.
10138
10139 2013-06-22 Glenn Morris <rgm@gnu.org>
10140
10141 * play/cookie1.el (cookie-apropos): Minor simplification.
10142
10143 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10144
10145 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10146
10147 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10148 `regexp-opt', it breaks the build during dumping.
10149
10150 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10151
10152 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10153 Highlight keyword-like methods on Kernel and Module with
10154 font-lock-builtin-face.
10155 (auto-mode-alist): Consolidate different entries into one regexp
10156 and add more *file-s.
10157
10158 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10159
10160 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10161
10162 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10163 (diary-entry): Use it in the action of this button type instead of
10164 diary-goto-entry.
10165
10166 * calendar/todo-mode.el: New version.
10167 (todo-add-category): Append new category to end of file and give
10168 it the highest number, instead of putting it at the beginning and
10169 giving it 0. Incorporate noninteractive functionality.
10170 (todo-forward-category): Adapt to 1-based category numbering.
10171 Allow skipping over archived categories.
10172 (todo-backward-category): Derive from todo-forward-category.
10173 (todo-backward-item, todo-forward-item): Make noninteractive and
10174 delegate interactive part to new commands. Make sensitive to done items.
10175 (todo-categories): Make value an alist of category names and
10176 vectors of item counts.
10177 (todo-category-beg): Make a defconst.
10178 (todo-category-number): Use 1 instead of 0 as initial value.
10179 (todo-category-select): Make sensitive to overlays, optional item
10180 highlighting and done items.
10181 (todo-delete-item): Make sensitive to overlays and marked and done items.
10182 (todo-edit-item): Make sensitive to overlays and editing of
10183 date/time header optional. Add format checks.
10184 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10185 no-op if point is not on an item. Advertise using todo-edit-quit.
10186 (todo-edit-mode): Make sensitive to new format, font-locking, and
10187 multiple todo files.
10188 (todo-insert-item, todo-insert-item-here): Derive from
10189 todo-basic-insert-item and extend functionality.
10190 (todo-item-end, todo-item-start): Make sensitive to done items.
10191 (todo-item-string): Don't return text properties. Restore point.
10192 (todo-jump-to-category): Make sensitive to multiple todo files and
10193 todo archives. Use extended category completion.
10194 (todo-lower-item, todo-raise-item): Rename to *-priority and
10195 derive from todo-set-item-priority.
10196 (todo-mode): Derive from special-mode. Make sensitive to new
10197 format, font-locking and multiple todo files. Make read-only.
10198 (todo-mode-map): Don't suppress digit keys, so they can supply
10199 prefix arguments. Add many new key bindings.
10200 (todo-prefix): Insert as an overlay instead of file text.
10201 Change semantics from diary date expression to purely visual mark.
10202 (todo-print): Rename to todo-print-buffer. Make buffer display
10203 features printable. Remove option to restrict number of items
10204 printed. Add option to print to file.
10205 (todo-print-function): Rename to todo-print-buffer-function.
10206 (todo-quit): Extend to handle exiting new todo modes.
10207 (todo-remove-item): Make sensitive to overlays.
10208 (todo-save): Extend to buffers of filtered items.
10209 (todo-show): Make sensitive to done items, multiple todo files and
10210 new todo modes. Offer to convert legacy todo file before creating
10211 first new todo file.
10212 (todo-show-priorities): Rename to todo-top-priorities.
10213 Change semantics of value 0.
10214 (todo-top-priorities): Rename to todo-filter-top-priorities,
10215 derive from todo-filter-items and extend functionality.
10216 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10217 and extend functionality to other types of filtered items.
10218 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10219 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10220 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10221 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10222 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10223 (todo-edit-mode-hook, todo-entry-prefix-function)
10224 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10225 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10226 (todo-initials, todo-insert-threshold, todo-item-string-start)
10227 (todo-line-string, todo-menu, todo-mode-hook)
10228 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10229 (todo-print-priorities, todo-remove-separator)
10230 (todo-save-top-priorities-too, todo-string-count-lines)
10231 (todo-string-multiline-p, todo-time-string-format)
10232 (todo-tmp-buffer-name): Remove.
10233 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10234 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10235 (todo-edit-category-diary-inclusion)
10236 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10237 (todo-edit-file, todo-edit-item-date-day)
10238 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10239 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10240 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10241 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10242 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10243 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10244 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10245 (todo-filter-top-priorities-multifile, todo-find-archive)
10246 (todo-find-filtered-items-file, todo-go-to-source-item)
10247 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10248 (todo-jump-to-archive-category, todo-lower-category)
10249 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10250 (todo-move-category, todo-move-item, todo-next-button)
10251 (todo-next-item, todo-padded-string, todo-powerset)
10252 (todo-previous-button, todo-previous-item)
10253 (todo-print-buffer-to-file, todo-raise-category)
10254 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10255 (todo-set-category-number, todo-set-item-priority)
10256 (todo-set-top-priorities-in-category)
10257 (todo-set-top-priorities-in-file, todo-show-categories-table)
10258 (todo-sort-categories-alphabetically-or-numerically)
10259 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10260 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10261 (todo-toggle-item-header, todo-toggle-item-highlighting)
10262 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10263 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10264 (todo-unarchive-items, todo-unmark-category): New commands.
10265 (todo-absolute-file-name, todo-add-to-buffer-list)
10266 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10267 (todo-basic-insert-item, todo-category-completions)
10268 (todo-category-number, todo-category-string-matcher-1)
10269 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10270 (todo-check-format, todo-clear-matches)
10271 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10272 (todo-current-category, todo-date-string-matcher)
10273 (todo-define-insertion-command, todo-diary-expired-matcher)
10274 (todo-diary-goto-entry, todo-diary-item-p)
10275 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10276 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10277 (todo-done-item-section-p, todo-done-separator)
10278 (todo-done-string-matcher, todo-files, todo-filter-items)
10279 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10280 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10281 (todo-insert-category-line, todo-insert-item-from-calendar)
10282 (todo-insert-sort-button, todo-insert-with-overlays)
10283 (todo-insertion-command-name, todo-insertion-key-bindings)
10284 (todo-label-to-key, todo-longest-category-name-length)
10285 (todo-make-categories-list, todo-mode-external-set)
10286 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10287 (todo-modes-set-3, todo-multiple-filter-files)
10288 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10289 (todo-read-category, todo-read-date, todo-read-dayname)
10290 (todo-read-file-name, todo-read-time)
10291 (todo-reevaluate-category-completions-files-defcustom)
10292 (todo-reevaluate-default-file-defcustom)
10293 (todo-reevaluate-filelist-defcustoms)
10294 (todo-reevaluate-filter-files-defcustom)
10295 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10296 (todo-reset-done-separator, todo-reset-done-separator-string)
10297 (todo-reset-done-string, todo-reset-global-current-todo-file)
10298 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10299 (todo-reset-prefix, todo-set-categories)
10300 (todo-set-date-from-calendar, todo-set-show-current-file)
10301 (todo-set-top-priorities, todo-short-file-name)
10302 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10303 (todo-total-item-counts, todo-update-buffer-list)
10304 (todo-update-categories-display, todo-update-categories-sexp)
10305 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10306 New functions.
10307 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10308 New major modes.
10309 (todo-categories, todo-display, todo-edit, todo-faces)
10310 (todo-filtered): New defgroups.
10311 (todo-archived-only, todo-button, todo-category-string, todo-date)
10312 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10313 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10314 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10315 (todo-add-item-if-new-category, todo-always-add-time-string)
10316 (todo-categories-align, todo-categories-archived-label)
10317 (todo-categories-category-label, todo-categories-diary-label)
10318 (todo-categories-done-label, todo-categories-number-separator)
10319 (todo-categories-todo-label, todo-categories-totals-label)
10320 (todo-category-completions-files, todo-completion-ignore-case)
10321 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10322 (todo-done-separator-string, todo-done-string)
10323 (todo-files-function, todo-filter-done-items, todo-filter-files)
10324 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10325 (todo-initial-category, todo-initial-file, todo-item-mark)
10326 (todo-legacy-date-time-regexp, todo-mode-line-function)
10327 (todo-nondiary-marker, todo-number-prefix)
10328 (todo-print-buffer-function, todo-show-current-file)
10329 (todo-show-done-only, todo-show-first, todo-show-with-done)
10330 (todo-skip-archived-categories, todo-top-priorities-overrides)
10331 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10332 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10333 New defcustoms.
10334 (todo-category-done, todo-date-pattern, todo-date-string-start)
10335 (todo-diary-items-buffer, todo-done-string-start)
10336 (todo-filtered-items-buffer, todo-item-start)
10337 (todo-month-abbrev-array, todo-month-name-array)
10338 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10339 (todo-top-priorities-buffer): New defconsts.
10340 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10341 (todo-categories-with-marks, todo-category-string-face)
10342 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10343 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10344 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10345 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10346 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10347 (todo-font-lock-keywords, todo-global-current-todo-file)
10348 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10349 (todo-insertion-commands-args)
10350 (todo-insertion-commands-args-genlist)
10351 (todo-insertion-commands-names, todo-insertion-map)
10352 (todo-key-bindings-t, todo-key-bindings-t+a)
10353 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10354 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10355 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10356 (todo-visited): New variables.
10357
10358 2013-06-21 Glenn Morris <rgm@gnu.org>
10359
10360 * play/cookie1.el (cookie-apropos): Add optional display argument.
10361 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10362 (psychoanalyze-pinhead): Use cookie-doctor.
10363
10364 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10365
10366 * emacs-lisp/package.el (tar-get-file-descriptor)
10367 (tar--extract): Declare.
10368
10369 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10370
10371 Extend flymake's warning predicate to be a function (bug#14217).
10372 * progmodes/flymake.el (flymake-warning-predicate): New.
10373 (flymake-parse-line): Use it.
10374 (flymake-warning-re): Make obsolete alias to
10375 `flymake-warning-predicate'.
10376
10377 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10378
10379 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10380 (package-obsolete-list): Remove.
10381 (package-activate): Remove min-version argument. Add `force' argument.
10382 Adjust to new package-alist format.
10383 (package-mark-obsolete): Remove.
10384 (package-unpack): Force reload of the package's autoloads.
10385 (package-installed-p): Check builtins if the installed package is not
10386 recent enough.
10387 (package-initialize): Don't reset package-obsolete-list.
10388 Don't specify which package version to activate.
10389 (package-process-define-package, describe-package-1)
10390 (package-menu--generate): Adjust to new package-alist format.
10391
10392 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10393
10394 * allout-widgets.el (allout-widgets-mode-off)
10395 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10396 (allout-widgets-post-command-business)
10397 (allout-widgets-after-copy-or-kill-function)
10398 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10399 (allout-decorate-item-and-context)
10400 (allout-graphics-modification-handler): Fix typos in docstrings.
10401 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10402
10403 * cmuscheme.el (scheme-start-file): Doc fix.
10404 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10405 (scheme-input-filter): Use `string-match-p'.
10406
10407 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10408
10409 * dired-x.el: Use Dired consistently in docstrings.
10410
10411 * dired.el: Use Dired consistently in docstrings.
10412 (dired-readin, dired-mode): Use `setq-local'.
10413 (dired-switches-alist): Make defvar-local.
10414 (dired-buffers-for-dir): Use `zerop'.
10415 (dired-safe-switches-p, dired-switches-escape-p)
10416 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10417 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10418 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10419 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10420 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10421 (dired-toggle-marks, dired-mark-files-containing-regexp)
10422 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10423 (dired-flag-auto-save-files, dired-flag-backup-files):
10424 Use `looking-at-p'.
10425 (dired-mark-files-regexp, dired-build-subdir-alist):
10426 Use `string-match-p', `looking-at-p'.
10427
10428 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10429 (direct-print-region-helper): Use `string-match-p'.
10430
10431 2013-06-21 Leo Liu <sdl.web@gmail.com>
10432
10433 * comint.el (comint-redirect-results-list-from-process):
10434 Fix infinite loop.
10435
10436 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10437
10438 * net/eww.el (eww-update-header-line-format): Quote % characters.
10439
10440 2013-06-21 Glenn Morris <rgm@gnu.org>
10441
10442 * play/cookie1.el (cookie): New custom group.
10443 (cookie-file): New option.
10444 (cookie-check-file): New function.
10445 (cookie): Make it interactive. Make start and end messages optional.
10446 Interactively, display the result. Default to cookie-file.
10447 (cookie-insert): Default to cookie-file.
10448 (cookie-snarf): Make start and end messages optional.
10449 Default to cookie-file. Use with-temp-buffer.
10450 (cookie-read): Rename from read-cookie.
10451 Make start and end messages optional. Default to cookie-file.
10452 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10453 Do not autoload it.
10454 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10455 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10456
10457 2013-06-21 Leo Liu <sdl.web@gmail.com>
10458
10459 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10460
10461 2013-06-21 Glenn Morris <rgm@gnu.org>
10462
10463 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10464
10465 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10466 Daniel Hackney <dan@haxney.org>
10467
10468 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10469 Consolidate the single-file vs tarball code.
10470 (package-desc-suffix): New function.
10471 (package-desc-full-name): Don't bother inlining it.
10472 (package-load-descriptor): Return the new package-desc.
10473 (package-mark-obsolete): Remove unused arg `package'.
10474 (package-unpack): Make it work for single files as well.
10475 Make it update package-alist.
10476 (package--make-autoloads-and-stuff): Rename from
10477 package--make-autoloads-and-compile. Don't compile any more.
10478 (package--compile): New function.
10479 (package-generate-description-file): New function, extracted from
10480 package-unpack-single.
10481 (package-unpack-single): Remove.
10482 (package--with-work-buffer): Add indentation and debugging info.
10483 (package-download-single): Remove.
10484 (package-install-from-archive): Rename from package-download-tar, make
10485 it take a pkg-desc, and make it work for single files as well.
10486 (package-download-transaction): Simplify.
10487 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10488 external tar program.
10489 (package-install-from-buffer): Remove `pkg-desc' argument.
10490 Use package-tar-file-info for tar-mode buffers.
10491 (package-install-file): Simplify accordingly.
10492 (package-archive-base): Change to take a pkg-desc.
10493 * tar-mode.el (tar--check-descriptor): New function, extracted from
10494 tar-get-descriptor.
10495 (tar-get-descriptor): Use it.
10496 (tar-get-file-descriptor): New function.
10497 (tar--extract): New function, extracted from tar-extract.
10498 (tar--extract): Use it.
10499 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10500 case the summary uses non-ascii. Adjust to new calling convention of
10501 package-tar-file-info.
10502
10503 2013-06-21 Leo Liu <sdl.web@gmail.com>
10504
10505 * comint.el (comint-redirect-results-list-from-process):
10506 Fix random delay. (Bug#14681)
10507
10508 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10509
10510 * profiler.el (profiler-format-number): Use log, not log10.
10511
10512 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10513
10514 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10515
10516 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10517
10518 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10519 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10520 yet available.
10521 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10522 (AUTOGENEL): ... here.
10523 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10524 (cl--defsubst-expand): Use it.
10525
10526 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10527
10528 * subr.el (log10): Move here from C code, and declare as obsolete.
10529 All uses of (log10 X) replaced with (log X 10).
10530
10531 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10532
10533 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10534 Declare with `defvar-local'.
10535 (tabulated-list-use-header-line, tabulated-list-entries)
10536 (tabulated-list-padding, tabulated-list-printer)
10537 (tabulated-list-sort-key): Declare with `defvar-local'.
10538 (tabulated-list-init-header, tabulated-list-print-fake-header):
10539 Use `setq-local'.
10540
10541 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10542
10543 * arc-mode.el (archive-mode): Add `archive-write-file' to
10544 `write-contents-functions' also for remote files. (Bug#14652)
10545
10546 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10547
10548 * cus-edit.el (custom-commands): Fix typos.
10549 (custom-display): Fix tooltip text.
10550 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10551 Fix typos in docstrings.
10552 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10553 (custom-unlispify-menu-entry, custom-magic-value-create)
10554 (custom-add-see-also, custom-group-value-create): Use ?\s.
10555 (custom-guess-type, customize-apropos, editable-field)
10556 (custom-face-value-create): Use `string-match-p'.
10557 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10558
10559 * custom.el (custom-load-symbol): Use `string-match-p'.
10560
10561 * ansi-color.el: Convert to lexical binding.
10562 (ansi-colors): Fix URL.
10563 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10564 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10565 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10566
10567 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10568
10569 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10570
10571 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10572
10573 2013-06-19 Tom Tromey <tromey@redhat.com>
10574
10575 * net/eww.el (eww-top-url): Remove.
10576 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10577 (eww-render): Set new variables. Don't set eww-top-url.
10578 (eww-handle-link): Handle "prev", "home", and "contents".
10579 Downcase the rel text.
10580 (eww-top-url): Choose best top URL.
10581
10582 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10583
10584 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10585 relying in widget.el. Using widget.el leads to too many
10586 user interface inconsistencies.
10587 (eww-self-insert): Implement entering commands in text fields.
10588 (eww-process-text-input): New function to make text input field editing
10589 work.
10590 (eww-submit): Rewrite to use the new-style form methods.
10591 (eww-select-display): Display the correct selected item.
10592 (eww-change-select): Implement changing the select value.
10593 (eww-toggle-checkbox): Implement radio/checkboxes.
10594 (eww-update-field): Fix compilation error.
10595 (eww-tag-textarea): Implement <textarea>.
10596
10597 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10598 we don't shadow mode-specific bindings.
10599
10600 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10601 nothing to push.
10602
10603 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10604
10605 2013-06-19 Glenn Morris <rgm@gnu.org>
10606
10607 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10608
10609 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10610
10611 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10612 not needed.
10613
10614 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10615
10616 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10617
10618 * net/browse-url.el (browse-url-browser-function):
10619 `eww-browse-url' has the right calling signature, `eww' does not.
10620
10621 2013-06-19 Glenn Morris <rgm@gnu.org>
10622
10623 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10624 Only eval autoloaded macros.
10625 (byte-compile-autoload): Only give the macro warning for macros.
10626
10627 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10628 (ps-underlined-faces): Declare.
10629
10630 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10631 (speedbar-add-supported-extension): Declare.
10632
10633 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10634 Don't include a date stamp in the header of the generated file;
10635 it leads to needless differences between output files.
10636
10637 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10638
10639 * net/secrets.el (secrets-struct-secret-content-type):
10640 Replace check of introspection data by a test call of "CreateItem".
10641 Some servers do not offer introspection.
10642
10643 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10644
10645 * electric.el (electric-pair-mode): Improve interaction with
10646 electric-layout-mode.
10647 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10648 (electric-pair-syntax): Use text-mode-syntax-table in comments
10649 and strings.
10650 (electric-pair--insert): New function.
10651 (electric-pair-post-self-insert-function): Use it and
10652 electric--after-char-pos.
10653
10654 2013-06-19 Leo Liu <sdl.web@gmail.com>
10655
10656 * progmodes/octave.el (octave-help): Fix regexp.
10657
10658 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10659
10660 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10661 (shr-table-horizontal-line): Allow nil as a value, and change the
10662 default.
10663 (shr-insert-table-ruler): Respect the nil value.
10664
10665 2013-06-18 Tom Tromey <tromey@barimba>
10666
10667 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10668 New defvars.
10669 (eww-open-file): New defun.
10670 (eww-render): Initialize new variables.
10671 (eww-display-html): Handle "link" and "a".
10672 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10673 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10674 (eww-back-url): Rename from eww-previous-url.
10675 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10676 New defuns.
10677
10678 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10679
10680 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10681 Distinguish ternary operator tokens from slash symbol and slash
10682 char literal.
10683
10684 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10685
10686 Convert symbol prettification into minor mode and global minor mode.
10687
10688 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10689 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10690 (prettify-symbols--keywords): Rename from
10691 `prog-prettify-symbols-alist' and make a local defvar.
10692 (prettify-symbols--compose-symbol): Rename from
10693 `prog--prettify-font-lock-compose-symbol'.
10694 (prettify-symbols--make-keywords): Rename from
10695 `prog-prettify-font-lock-symbols-keywords' and simplify.
10696 (prog-prettify-install): Remove.
10697 (prettify-symbols-mode): New minor mode, based on
10698 `prog-prettify-install'.
10699 (turn-on-prettify-symbols-mode): New function.
10700 (global-prettify-symbols-mode): New globalized minor mode.
10701
10702 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10703 * progmodes/cfengine.el (cfengine3-mode):
10704 * progmodes/perl-mode.el (perl-mode): Don't call
10705 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10706
10707 2013-06-18 Juri Linkov <juri@jurta.org>
10708
10709 * files-x.el (modify-file-local-variable-message): New function.
10710 (modify-file-local-variable)
10711 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10712 and call `modify-file-local-variable-message' when it's non-nil.
10713 (add-file-local-variable, delete-file-local-variable)
10714 (add-file-local-variable-prop-line)
10715 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10716 and use it. (Bug#9820)
10717
10718 2013-06-18 Juri Linkov <juri@jurta.org>
10719
10720 * emulation/vi.el (vi-shell-op):
10721 * emulation/vip.el (vip-execute-com, ex-command):
10722 * emulation/viper-cmd.el (viper-exec-bang):
10723 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10724 the call of `shell-command-on-region'. (Bug#14637)
10725
10726 * simple.el (shell-command-on-region): Doc fix.
10727
10728 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10731 (bug#14633).
10732
10733 2013-06-18 Glenn Morris <rgm@gnu.org>
10734
10735 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10736
10737 * newcomment.el (comment-search-forward, comment-search-backward):
10738 Doc fix. (Bug#14376)
10739
10740 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10741
10742 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10743 (buffer-face-mode-invoke): Doc fix.
10744
10745 2013-06-18 Matthias Meulien <orontee@gmail.com>
10746
10747 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10748 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10749
10750 2013-06-18 Glenn Morris <rgm@gnu.org>
10751
10752 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10753 Replace obsolete function generic-make-keywords with its expansion.
10754
10755 * progmodes/python.el (ffap-alist): Declare.
10756
10757 * textmodes/reftex.el (bibtex-mode-map): Declare.
10758
10759 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10762 (package-unpack, package-unpack-single): Return the pkg-dir.
10763 (package-download-transaction): Use it to update package-alist.
10764
10765 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10766
10767 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10768 possible choice.
10769
10770 2013-06-17 Juri Linkov <juri@jurta.org>
10771
10772 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10773
10774 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10775
10776 * emacs-lisp/package.el (package-load-descriptor):
10777 Remove `with-syntax-table' call, `read' doesn't need it.
10778 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10779
10780 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10781
10782 * startup.el (command-line): Expand package name returned by
10783 `package--description-file' (bug#14639).
10784
10785 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10786
10787 * emacs-lisp/package.el (package-load-descriptor): Do not call
10788 `emacs-lisp-mode', just use its syntax table.
10789
10790 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10791
10792 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10793 `font-lock-extra-managed-props' if any prettifying keyword is added.
10794 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10795 (prog-mode): Use `setq-local'.
10796
10797 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * international/characters.el (standard-case-table): Set syntax of ?»
10800 and ?« to punctuation.
10801
10802 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10803
10804 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10805 Save relevant match data before calling `syntax-ppss' (bug#14595).
10806
10807 2013-06-15 Juri Linkov <juri@jurta.org>
10808
10809 * files-x.el (modify-file-local-variable-prop-line): Add local
10810 variables to the end of the existing comment on the first line.
10811 Use `file-auto-mode-skip' to skip interpreter magic line,
10812 and also skip XML declaration.
10813
10814 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * startup.el (package--builtin-versions): New var.
10817 (package-subdirectory-regexp): Remove.
10818 (package--description-file): Hard code its value instead.
10819
10820 * emacs-lisp/package.el: Don't activate packages older than builtin.
10821 (package-obsolete-list): Rename from package-obsolete-alist, and make
10822 it into a simple list of package-desc.
10823 (package-strip-version): Remove.
10824 (package-built-in-p): Use package--builtin-versions.
10825 (package-mark-obsolete): Simplify.
10826 (package-process-define-package): Mark it obsolete if older than the
10827 builtin version.
10828 (package-handle-response): Use line-end-position.
10829 (package-read-archive-contents, package--download-one-archive):
10830 Simplify.
10831 (package--add-to-archive-contents): Skip if older than the builtin or
10832 installed version.
10833 (package-menu-describe-package): Fix last change.
10834 (package-list-unversioned): New var.
10835 (package-menu--generate): Use it.
10836
10837 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10838 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10839 (autoload-builtin-package-versions): New variable.
10840 (autoload-generate-file-autoloads): Use them.
10841 Remove the list of autoloaded functions/macros from the
10842 (autoload...) comments.
10843
10844 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10845
10846 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10847
10848 * simple.el (line-move-partial): Don't jump to the next screen
10849 line as soon as it becomes visible. Instead, continue enlarging
10850 the vscroll until the portion of a tall screen line that's left on
10851 display is about the height of the frame's default font.
10852 (Bug#14567)
10853
10854 2013-06-15 Glenn Morris <rgm@gnu.org>
10855
10856 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10857 compilation-error-regexp-alist void, or local while let-bound.
10858
10859 * progmodes/make-mode.el (makefile-mode-syntax-table):
10860 Treat "=" as punctuation. (Bug#14614)
10861
10862 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10863
10864 * help-fns.el (describe-variable):
10865 Add extra line for permanent-local variables.
10866
10867 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10868
10869 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10870 Add export, import, library. (Bug#9164)
10871 (library): Set indent function.
10872
10873 2013-06-14 Glenn Morris <rgm@gnu.org>
10874
10875 * term/xterm.el (xterm--query):
10876 Stop after first matching handler. (Bug#14615)
10877
10878 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10879
10880 Add support for dired in saveplace.
10881 * dired.el (dired-initial-position-hook): New variable.
10882 (dired-initial-position): Call hook to place cursor position.
10883 * saveplace.el (save-place-to-alist): Add dired position.
10884 (save-place-dired-hook): New function.
10885
10886 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10889 through a symbol rather than letrec.
10890
10891 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10892 (package-desc): Add `dir' field.
10893 (package-desc-full-name): New function.
10894 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10895 (package-maybe-load-descriptor): Remove.
10896 (package-load-all-descriptors): Just call package-load-descriptor.
10897 (package--disabled-p): New function.
10898 (package-desc-vers, package-desc-doc): Remove aliases.
10899 (package--dir): Remove function.
10900 (package-activate): Check if a package is disabled.
10901 (package-process-define-package): New function, extracted from
10902 define-package.
10903 (define-package): Turn into a place holder.
10904 (package-unpack-single, package-tar-file-info):
10905 Use package--description-file.
10906 (package-compute-transaction): Use package--disabled-p.
10907 (package-download-transaction): Don't call
10908 package-maybe-load-descriptor since they're all loaded anyway.
10909 (package-install): Change argument to be a pkg-desc.
10910 (package-delete): Use a single pkg-desc argument.
10911 (describe-package-1): Use package-desc-dir instead of package--dir.
10912 Use package-desc property instead of package-symbol.
10913 (package-install-button-action): Adjust accordingly.
10914 (package--push): Rewrite.
10915 (package-menu--print-info): Adjust accordingly. Change the ID format
10916 to be a pkg-desc.
10917 (package-menu-describe-package, package-menu-get-status)
10918 (package-menu--find-upgrades, package-menu-mark-upgrades)
10919 (package-menu-execute, package-menu--name-predicate):
10920 Adjust accordingly.
10921 * startup.el (package--description-file): New function.
10922 (command-line): Use it.
10923 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10924 Use package-desc-version.
10925
10926 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10927 (byte-compile-preprocess): Use it.
10928 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10929 can't quite recognize.
10930 (byte-compile-add-to-list): Remove.
10931 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10932 (cconv-closure-convert): Add assertion.
10933
10934 * emacs-lisp/map-ynp.el: Use lexical-binding.
10935 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10936 Factor out some repeated code.
10937
10938 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * subr.el (with-eval-after-load): New macro.
10941 (eval-after-load): Allow form to be a function.
10942 take advantage of lexical-binding.
10943 (do-after-load-evaluation): Use dolist and adjust to new format.
10944 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10945
10946 2013-06-13 Juri Linkov <juri@jurta.org>
10947
10948 * replace.el (perform-replace): Display "symbol " and other search
10949 modes from `isearch-message-prefix' in the *Help* buffer.
10950
10951 * isearch.el (isearch-query-replace): Add " symbol" and other
10952 possible search modes from `isearch-message-prefix' to the prompt.
10953 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10954 when reading a regexp to collect.
10955
10956 2013-06-13 Juri Linkov <juri@jurta.org>
10957
10958 * isearch.el (word-search-regexp): Match whitespace if the search
10959 string begins or ends in whitespace. The LAX arg is applied to
10960 both ends of the search string. Use `regexp-quote' and explicit
10961 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10962 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10963 boundaries are replaced with symbol boundaries, and characters
10964 between symbols match non-word non-symbol syntax. (Bug#14602)
10965
10966 2013-06-13 Juri Linkov <juri@jurta.org>
10967
10968 * isearch.el (isearch-del-char): Don't exceed the length of
10969 `isearch-string' by the prefix arg. (Bug#14563)
10970
10971 2013-06-13 Juri Linkov <juri@jurta.org>
10972
10973 * isearch.el (isearch-yank-word, isearch-yank-line)
10974 (isearch-char-by-name, isearch-quote-char)
10975 (isearch-printing-char, isearch-process-search-char):
10976 Add optional count prefix arg. (Bug#14563)
10977
10978 * international/isearch-x.el
10979 (isearch-process-search-multibyte-characters):
10980 Add optional count prefix arg.
10981
10982 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10985 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10986 lexical-binding.
10987
10988 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10989
10990 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10991
10992 2013-06-13 Glenn Morris <rgm@gnu.org>
10993
10994 * startup.el (tty-handle-args):
10995 Don't just discard "--" and anything after. (Bug#14608)
10996
10997 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10998
10999 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11000
11001 Implement changes in Secret Service API. Make it backward compatible.
11002 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11003 (secrets-create-item): Use it. Prefix properties with interface.
11004
11005 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11006
11007 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11008 (term-emulate-terminal): Respect term-suppress-hard-newline.
11009
11010 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11011
11012 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11013 Only remove a `thumb-file' overlay. (Bug#14548)
11014
11015 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11016
11017 * mail/reporter.el (reporter-submit-bug-report):
11018 Handle missing package-name. (Bug#14600)
11019
11020 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11021
11022 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11023 (reftex-citation-prompt, reftex-default-bibliography)
11024 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11025 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11026 (reftex-bib-sort-author, reftex-bib-sort-year)
11027 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11028 (reftex-extract-bib-entries-from-thebibliography)
11029 (reftex-get-bibkey-default, reftex-get-bib-names)
11030 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11031 (reftex-format-bib-entry, reftex-parse-bibitem)
11032 (reftex-format-bibitem, reftex-do-citation)
11033 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11034 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11035 (reftex-insert-bib-matches, reftex-format-citation)
11036 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11037 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11038 existing comments into docstrings.
11039
11040 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11041
11042 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11043
11044 2013-06-12 Andreas Schwab <schwab@suse.de>
11045
11046 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11047 for auto-save files.
11048
11049 2013-06-12 Glenn Morris <rgm@gnu.org>
11050
11051 * ido.el (ido-delete-ignored-files): Remove.
11052 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11053 Go back to calling ido-ignore-item-p directly.
11054
11055 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11056
11057 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11058
11059 * ido.el (ido-delete-ignored-files): New function,
11060 split from ido-make-file-list-1.
11061 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11062 (ido-make-file-list-1): Use ido-delete-ignored-files.
11063
11064 2013-06-12 Leo Liu <sdl.web@gmail.com>
11065
11066 * progmodes/octave.el (inferior-octave-startup)
11067 (inferior-octave-completion-table)
11068 (inferior-octave-track-window-width-change)
11069 (octave-eldoc-function-signatures, octave-help)
11070 (octave-find-definition): Use single quoted strings.
11071 (inferior-octave-startup-args): Change default value.
11072 (inferior-octave-startup): Do not hard code "-i" and
11073 "--no-line-editing".
11074 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11075 (inferior-octave-directory-tracker): Use it.
11076 (octave-goto-function-definition): Robustify.
11077 (octave-help): Support highlighting operators in 'See also'.
11078 (octave-find-definition): Find subfunctions only in Octave mode.
11079
11080 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * help-fns.el (help-fns--compiler-macro): If the handler function is
11083 named, then put a link to it.
11084 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11085 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11086 (cl-typep): Use it.
11087 (cl-eval-when): Simplify debug spec.
11088 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11089 compiler-macro function instead of setting `compiler-macro-file'.
11090
11091 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11092
11093 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11094 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11095
11096 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11097 Daniel Hackney <dan@haxney.org>
11098
11099 First part of Daniel Hackney's patch to package.el.
11100 * emacs-lisp/package.el: Use defstruct.
11101 (package-desc): New, main struct.
11102 (package--bi-desc, package--ac-desc): New structs, used to describe the
11103 format in external files.
11104 (package-desc-vers): Replace with package-desc-version accessor.
11105 (package-desc-doc): Replace with package-desc-summary accessor.
11106 (package-activate-1): Remove `package' arg since the pkg-vec now
11107 includes the name.
11108 (define-package): Use package-desc-from-define.
11109 (package-unpack-single): Change file-name arg to be a symbol.
11110 (package--add-to-archive-contents): Use package-desc-create and new
11111 accessor functions to package--ac-desc.
11112 (package-buffer-info, package-tar-file-info): Return a package-desc.
11113 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11114 arg to be a package-desc.
11115 (package-install-file): Adjust accordingly. Use \' to match EOS.
11116 (package--from-builtin): New function.
11117 (describe-package-1, package-menu--generate): Use it.
11118 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11119 (package-generate-autoloads): Idem and return the name of the file.
11120 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11121 Change pkg-info arg to be a package-desc.
11122 Use package-make-ac-desc.
11123 (package-upload-file): Use \' to match EOS.
11124 * finder.el (finder-compile-keywords): Use package-make-builtin.
11125
11126 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * vc/vc.el (vc-deduce-fileset): Change error message.
11129 (vc-read-backend): New function.
11130 (vc-next-action): Use it.
11131
11132 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11133
11134 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11135 (prolog-font-lock-keywords): Use regexp-opt instead.
11136 Don't manually highlight strings.
11137 (prolog-mode-variables): Simplify comment-start-skip.
11138 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11139
11140 * emacs-lisp/generic.el (generic--normalise-comments)
11141 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11142 (generic-mode-set-comments): Use them.
11143 (generic-bracket-support): Use setq-local.
11144 (generic-make-keywords-list): Declare obsolete.
11145
11146 2013-06-11 Glenn Morris <rgm@gnu.org>
11147
11148 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11149 Prettify after setting font-lock-defaults. (Bug#14574)
11150
11151 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11152
11153 * replace.el (query-replace, occur-read-regexp-defaults-function)
11154 (replace-search):
11155 * subr.el (declare-function, number-sequence, local-set-key)
11156 (substitute-key-definition, locate-user-emacs-file)
11157 (with-silent-modifications, split-string, eval-after-load):
11158 Fix typos, remove unneeded backslashes and reflow some docstrings.
11159
11160 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11163 default for Elisp files.
11164
11165 2013-06-11 Glenn Morris <rgm@gnu.org>
11166
11167 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11168 although define-derived-mode was doing this anyway. (Bug#14583)
11169
11170 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11171
11172 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11173 Fix make-variable-buffer-local call to refer to the correct variable.
11174
11175 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11176
11177 * eshell/em-term.el (eshell-visual-commands)
11178 (eshell-visual-subcommands, eshell-visual-options):
11179 Add summary line to docstrings. Add cross-references.
11180
11181 2013-06-10 Glenn Morris <rgm@gnu.org>
11182
11183 * epa.el (epa-read-file-name): New function. (Bug#14510)
11184 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11185
11186 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11187
11188 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11189 output redirection to be ignored with visual commands.
11190
11191 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11192
11193 * eshell/em-term.el (eshell-visual-command-p): New function.
11194 (eshell-term-initialize): Move long lambda to separate function
11195 eshell-visual-command-p.
11196 * eshell/em-dirs.el (eshell-dirs-initialize):
11197 * eshell/em-script.el (eshell-script-initialize):
11198 Add missing #' to lambda.
11199
11200 2013-06-08 Leo Liu <sdl.web@gmail.com>
11201
11202 * progmodes/octave.el (octave-add-log-current-defun): New function.
11203 (octave-mode): Set add-log-current-defun-function.
11204 (octave-goto-function-definition): Do not move point if not found.
11205 (octave-find-definition): Enhance to try subfunctions first.
11206
11207 2013-06-08 Glenn Morris <rgm@gnu.org>
11208
11209 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11210 (byte-compile-backward-char, byte-compile-backward-word):
11211 Improve previous change, to handle non-explicit nil.
11212
11213 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11216 (smie--opener/closer-at-point): New function.
11217 (smie--matching-block-data): Use it. Don't match from right after an
11218 opener or right before a closer. Obey smie-blink-matching-inners.
11219 Don't signal a mismatch for repeated inners like "switch..case..case".
11220
11221 2013-06-07 Leo Liu <sdl.web@gmail.com>
11222
11223 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11224 to t. (Bug#14303)
11225 (octave-function-header-regexp): Fix. (Bug#14570)
11226 (octave-help-mode-finish-hook, octave-help-mode-finish):
11227 Remove. Just use temp-buffer-show-hook.
11228
11229 * newcomment.el (comment-search-backward): Revert last change.
11230 (Bug#14434)
11231
11232 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11233
11234 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11235
11236 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11237 through xargs, to avoid failure due to MS-Windows limitations on
11238 command-line length.
11239
11240 2013-06-06 Glenn Morris <rgm@gnu.org>
11241
11242 * font-lock.el (lisp-font-lock-keywords-2):
11243 Treat user-error like error.
11244
11245 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11246 (byte-compile-backward-char, byte-compile-backward-word):
11247 Handle explicit nil arguments. (Bug#14565)
11248
11249 2013-06-05 Alan Mackenzie <acm@muc.de>
11250
11251 * isearch.el (isearch-allow-prefix): New user option.
11252 (isearch-other-meta-char): Don't exit isearch when a prefix
11253 argument is typed whilst `isearch-allow-prefix' is non-nil.
11254 (Bug#9706)
11255
11256 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * autorevert.el (auto-revert-notify-handler): Use memq.
11259 Hide assertion failure.
11260
11261 * skeleton.el: Use cl-lib.
11262 (skeleton-further-elements): Use defvar-local.
11263 (skeleton-insert): Use cl-progv.
11264
11265 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11266
11267 * progmodes/prog-mode.el (prog-prettify-symbols)
11268 (prog-prettify-install): Update docstrings.
11269
11270 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * simple.el: Move all the prog-mode code to prog-mode.el.
11273 * progmodes/prog-mode.el: New file.
11274 * loadup.el: Add prog-mode.el.
11275
11276 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11277
11278 * simple.el (prog-prettify-symbols): Add version.
11279 (prog-prettify-install): Add convenience function to prettify symbols.
11280
11281 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11282 (perl--augmented-font-lock-keywords-1)
11283 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11284 variables and use it.
11285
11286 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11287 (cfengine3-mode): Remove unneeded variable and use it.
11288
11289 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11290 (lisp--augmented-font-lock-keywords-1)
11291 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11292 Remove unneeded variables and use it.
11293
11294 2013-06-05 João Távora <joaotavora@gmail.com>
11295
11296 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11297 to point when opening the connection. (Bug#14380)
11298
11299 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * subr.el (load-history-regexp, load-history-filename-element)
11302 (eval-after-load, after-load-functions, do-after-load-evaluation)
11303 (eval-next-after-load, display-delayed-warnings)
11304 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11305 definition of save-match-data.
11306 (overriding-local-map): Remove accidental obsolescence declaration.
11307
11308 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11309
11310 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11311
11312 Generalize symbol prettify support to prog-mode and implement it
11313 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11314 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11315 (prog--prettify-font-lock-compose-symbol)
11316 (prog-prettify-font-lock-symbols-keywords): New variables and
11317 functions to support symbol prettification.
11318 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11319 (lisp--augmented-font-lock-keywords-1)
11320 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11321 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11322 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11323 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11324 Implement prettify of -> => :: strings.
11325 * progmodes/perl-mode.el (perl-prettify-symbols)
11326 (perl--font-lock-compose-symbol)
11327 (perl--font-lock-symbols-keywords): Move to prog-mode.
11328 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11329 (perl-font-lock-keywords-1)
11330 (perl-font-lock-keywords-2): Remove explicit prettify support.
11331 (perl--augmented-font-lock-keywords)
11332 (perl--augmented-font-lock-keywords-1)
11333 (perl--augmented-font-lock-keywords-2, perl-mode):
11334 Implement prettify support.
11335
11336 2013-06-05 Leo Liu <sdl.web@gmail.com>
11337
11338 Re-implement SMIE matching block highlight using
11339 show-paren-data-function. (Bug#14395)
11340 * emacs-lisp/smie.el (smie-matching-block-highlight)
11341 (smie--highlight-matching-block-overlay)
11342 (smie--highlight-matching-block-lastpos)
11343 (smie-highlight-matching-block)
11344 (smie-highlight-matching-block-mode): Remove.
11345 (smie--matching-block-data-cache): New variable.
11346 (smie--matching-block-data): New function.
11347 (smie-setup): Use smie--matching-block-data for
11348 show-paren-data-function.
11349
11350 * progmodes/octave.el (octave-mode-menu): Fix.
11351 (octave-find-definition): Skip garbage lines.
11352
11353 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11354
11355 Fix compilation error with simultaneous dynamic+lexical scoping.
11356 Add warning when a defvar appears after the first let-binding.
11357 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11358 (byte-compile-close-variables): Initialize it.
11359 (byte-compile--declare-var): New function.
11360 (byte-compile-file-form-defvar)
11361 (byte-compile-file-form-define-abbrev-table)
11362 (byte-compile-file-form-custom-declare-variable): Use it.
11363 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11364 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11365 (byte-compile-bind): Handle dynamic bindings that shadow
11366 lexical bindings.
11367 (byte-compile-unbind): Make arg non-optional.
11368 (byte-compile-let): Simplify.
11369 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11370 (cconv--analyse-function, cconv-analyse-form): Populate it.
11371 Protect byte-compile-bound-variables to limit the scope of defvars.
11372 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11373 Remove unneeded rule for `declare'.
11374
11375 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11376 so as to avoid depending on cl-adjoin at run-time.
11377 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11378
11379 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11380 (macroexp--warn-and-return): Use it.
11381
11382 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * subr.el: Convert to lexical binding.
11385 (overriding-local-map): Make obsolete.
11386 (add-to-list): Doc fix. Add compiler macro.
11387 (read-key): Swap values of local maps.
11388
11389 2013-06-05 Leo Liu <sdl.web@gmail.com>
11390
11391 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11392
11393 2013-06-04 Leo Liu <sdl.web@gmail.com>
11394
11395 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11396 (compilation-auto-jump): Suppress the "Mark set" message to give
11397 way to exit message.
11398
11399 2013-06-04 Alan Mackenzie <acm@muc.de>
11400
11401 Remove faulty optimisation from indentation calculation.
11402 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11403 search limit based on 2000 characters back from indent-point.
11404
11405 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11406
11407 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11408
11409 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 * emacs-lisp/lisp.el: Use lexical-binding.
11412 (lisp--local-variables-1, lisp--local-variables): New functions.
11413 (lisp--local-variables-completion-table): New var.
11414 (lisp-completion-at-point): Use it complete let-bound vars.
11415
11416 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11417 eagerly (bug#14422).
11418
11419 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * autorevert.el (auto-revert-notify-enabled)
11422 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11423 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11424 (auto-revert-notify-handler): Handle also gfilenotify.
11425
11426 * subr.el (file-notify-handle-event): New defun. Replacing ...
11427 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11428 Remove.
11429
11430 2013-06-03 Juri Linkov <juri@jurta.org>
11431
11432 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11433 `M-s h .'. (Bug#14427)
11434
11435 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11436 command `hi-lock-face-symbol-at-point'.
11437 (hi-lock-face-symbol-at-point): New command.
11438 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11439 (hi-lock-menu): Add `highlight-symbol-at-point'.
11440 (hi-lock-mode): Doc fix.
11441
11442 * isearch.el (isearch-forward-symbol-at-point): New command.
11443 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11444 (isearch-highlight-regexp): Add a regexp which matches
11445 words/symbols for word/symbol mode.
11446
11447 * subr.el (find-tag-default-bounds): New function with the body
11448 mostly moved from `find-tag-default'.
11449 (find-tag-default): Move most code to `find-tag-default-bounds',
11450 call it and apply `buffer-substring-no-properties' afterwards.
11451
11452 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11453
11454 * eshell/em-term.el (eshell-term-initialize):
11455 Use `cl-intersection' rather than `intersection'.
11456
11457 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11458
11459 * vc/log-view.el: Doc fix.
11460 (log-view-mode-map): Copy keymap from `special-mode-map'.
11461
11462 2013-06-02 Eric Ludlam <zappo@gnu.org>
11463
11464 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11465 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11466 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11467 (eieio-unbound, eieio-default-superclass)
11468 (eieio--define-field-accessors, method-static, method-before)
11469 (method-primary, method-after, method-num-lists)
11470 (method-generic-before, method-generic-primary)
11471 (method-generic-after, method-num-slots)
11472 (eieio-specialized-key-to-generic-key)
11473 (eieio--check-type, class-v, class-p)
11474 (eieio-class-name, define-obsolete-function-alias)
11475 (eieio-class-parents-fast, eieio-class-children-fast)
11476 (same-class-fast-p, class-constructor, generic-p)
11477 (generic-primary-only-p, generic-primary-only-one-p)
11478 (class-option-assoc, class-option, eieio-object-p)
11479 (class-abstract-p, class-method-invocation-order)
11480 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11481 (eieio-class-un-autoload, eieio-defclass)
11482 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11483 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11484 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11485 (eieio-defgeneric-reset-generic-form)
11486 (eieio-defgeneric-form-primary-only)
11487 (eieio-defgeneric-reset-generic-form-primary-only)
11488 (eieio-defgeneric-form-primary-only-one)
11489 (eieio-defgeneric-reset-generic-form-primary-only-one)
11490 (eieio-unbind-method-implementations)
11491 (eieio--defmethod, eieio--typep)
11492 (eieio-perform-slot-validation, eieio-validate-slot-value)
11493 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11494 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11495 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11496 (eieio-slot-name-index, eieio-class-slot-name-index)
11497 (eieio-set-defaults, eieio-initarg-to-attribute)
11498 (eieio-attribute-to-initarg, eieio-c3-candidate)
11499 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11500 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11501 (eieio-class-precedence-list, eieio-generic-call-methodname)
11502 (eieio-generic-call-arglst, eieio-generic-call-key)
11503 (eieio-generic-call-next-method-list)
11504 (eieio-pre-method-execution-functions, eieio-generic-call)
11505 (eieio-generic-call-primary-only, eieiomt-method-list)
11506 (eieiomt-optimizing-obarray, eieiomt-install)
11507 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11508 (eieio-generic-form, eieio-defmethod, make-obsolete)
11509 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11510 (defclass): Remove `eval-and-compile' from macro.
11511 (call-next-method, shared-initialize): Instead of using
11512 `scoped-class' variable, use new eieio--scoped-class, and
11513 eieio--with-scoped-class.
11514 (initialize-instance): Rename local variable 'scoped-class' to
11515 'this-class' to remove ambiguitity from old global.
11516
11517 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11518 eieio.el.
11519 (eieio--scoped-class-stack): New variable.
11520 (eieio--scoped-class): New fcn.
11521 (eieio--with-scoped-class): New scoping macro.
11522 (eieio-defclass): Use pushnew instead of add-to-list.
11523 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11524 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11525 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11526 `scoped-class' variable, use new eieio--scoped-class, and
11527 eieio--with-scoped-class.
11528
11529 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11530
11531 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11532
11533 * eshell/esh-ext.el (eshell-external-command): Pass args to
11534 `eshell-find-interpreter'.
11535 (eshell-find-interpreter): Add new second parameter ARGS.
11536
11537 * eshell/em-script.el (eshell-script-initialize): Add second arg
11538 to the function added as MATCH to `eshell-interpreter-alist'.
11539
11540 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11541 the function added as MATCH to `eshell-interpreter-alist'.
11542
11543 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11544 (eshell-visual-options): New defcustom.
11545 (eshell-escape-control-x): Adapt docstring.
11546 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11547 `eshell-visual-options' in addition to `eshell-visual-commands'.
11548 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11549
11550 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11551
11552 * progmodes/python.el (python-indent-block-enders): Add break,
11553 continue and raise keywords.
11554
11555 2013-06-01 Glenn Morris <rgm@gnu.org>
11556
11557 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11558
11559 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11560 * progmodes/cc-cmds.el (delete-forward-p):
11561 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11562 * progmodes/cc-engine.el (buffer-syntactic-context):
11563 * progmodes/cc-fonts.el (face-property-instance):
11564 * progmodes/cc-mode.el (set-keymap-parents):
11565 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11566 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11567 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11568 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11569 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11570
11571 * progmodes/cc-vars.el (other): Emacs has this widget since
11572 at least 21.1, so don't (re)define it.
11573
11574 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11575 Replace the obsolete alias pcomplete-arg-quote-list.
11576
11577 2013-06-01 Leo Liu <sdl.web@gmail.com>
11578
11579 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11580 punctuation syntax.
11581 (inferior-octave-minimal-columns)
11582 (inferior-octave-last-column-width): New variables.
11583 (inferior-octave-track-window-width-change): New function.
11584 (inferior-octave-mode): Adjust column width so that Octave output,
11585 for example from 'ls', can fit into the window nicely.
11586
11587 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11588
11589 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11590 Highlight expansions inside regexp literals.
11591
11592 2013-05-31 Glenn Morris <rgm@gnu.org>
11593
11594 * obsolete/sym-comp.el (symbol-complete):
11595 Replace obsolete completion-annotate-function.
11596
11597 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11598
11599 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11600
11601 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11602 New function, checks if point is inside a literal that allows
11603 expression expansion.
11604 (ruby-syntax-propertize-expansion): Use it.
11605 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11606 around the body.
11607
11608 2013-05-30 Juri Linkov <juri@jurta.org>
11609
11610 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11611 to "\M-si".
11612 (isearch-invisible): New variable.
11613 (isearch-forward): Doc fix.
11614 (isearch-mode): Set `isearch-invisible'
11615 to the value of `search-invisible'.
11616 (isearch-toggle-case-fold): Doc fix.
11617 (isearch-toggle-invisible): New command.
11618 (isearch-query-replace): Let-bind `search-invisible'
11619 to the value of `isearch-invisible'.
11620 (isearch-search): Use `isearch-invisible' instead of
11621 `search-invisible'. Let-bind `search-invisible'
11622 to the value of `isearch-invisible'. (Bug#11378)
11623
11624 2013-05-30 Juri Linkov <juri@jurta.org>
11625
11626 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11627 call when `query-flag' is nil and `search-invisible' is non-nil.
11628 (Bug#11746)
11629
11630 2013-05-30 Glenn Morris <rgm@gnu.org>
11631
11632 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11633
11634 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11635 (cc-require): Suppress spurious "noruntime" warnings.
11636 (cc-require-when-compile): Use fboundp, for sake of compiler.
11637
11638 * progmodes/cc-mode.el: Move load of cc-vars before that of
11639 cc-langs (which in turn loads cc-vars), to quieten compiler.
11640
11641 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * paren.el: Simplify the code.
11644 (show-paren-mode): Always start the timer.
11645 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11646 (show-paren--overlay, show-paren--overlay-1): Rename from
11647 show-paren-overlay and show-paren-overlay-1, and initialize to an
11648 overlay rather than to nil.
11649 (show-paren-function): Misc cleanup and simplifications.
11650
11651 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11652
11653 * paren.el (show-paren-data-function): New hook.
11654 (show-paren--default): New function, extracted from show-paren-function.
11655 (show-paren-function): Use show-paren-data-function.
11656
11657 2013-05-30 Glenn Morris <rgm@gnu.org>
11658
11659 * ielm.el (ielm-map, ielm-complete-symbol):
11660 Use completion-at-point rather than obsolete functions.
11661 (inferior-emacs-lisp-mode): Doc fix.
11662 Set completion-at-point-functions, rather than
11663 comint-dynamic-complete-functions.
11664
11665 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11666 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11667 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11668
11669 * image.el (image-animated-p): Tweak definition.
11670
11671 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11672 (rlogin-process-connection-type): Tweak default. Add set-after.
11673 (rlogin-host): Doc fix.
11674 (rlogin): Tweak prompt.
11675 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11676
11677 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11678 * progmodes/tcl.el (inferior-tcl-mode-map):
11679 Use completion-at-point rather than obsolete alias.
11680
11681 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11682
11683 * minibuffer.el (read-file-name-completion-ignore-case):
11684 Move before completion--in-region, for eager macro expansion.
11685
11686 2013-05-29 Juri Linkov <juri@jurta.org>
11687
11688 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11689 for total count of matching lines. Add `global-matches' for total
11690 count of matches. Rename `matches' to `lines' for count of
11691 matching lines. Add `matches' for count of matches.
11692 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11693 to `prev-line' for line number of prev match endpt.
11694 Increment `matches' for every match. Print the number of
11695 matching lines in the header.
11696 (occur-context-lines): Rename `lines' to `curr-line'.
11697 Rename `prev-lines' to `prev-line'. (Bug#14017)
11698
11699 2013-05-29 Juri Linkov <juri@jurta.org>
11700
11701 * replace.el (perform-replace): Add `skip-read-only-count',
11702 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11703 Increment them for corresponding conditions and report the number
11704 of skipped occurrences in the final message. (Bug#11746)
11705 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11706 (replace-string, replace-regexp): Doc fix.
11707
11708 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11709
11710 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11711
11712 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11713 prog-mode-map (bug#14504).
11714
11715 2013-05-29 Leo Liu <sdl.web@gmail.com>
11716
11717 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11718 (octave-help): Small simplification.
11719
11720 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11721 off the highlight first.
11722
11723 2013-05-29 Glenn Morris <rgm@gnu.org>
11724
11725 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11726 Handle idlwave-last-system-routine-info-cons-cell being nil.
11727
11728 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11729 (idlwave-write-paths): Simplify via with-temp-buffer.
11730
11731 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11732 * emulation/cua-rect.el: Also load cua-base at run time.
11733
11734 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11735 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11736 (cperl-imenu-on-info): Require imenu.
11737
11738 2013-05-28 Alan Mackenzie <acm@muc.de>
11739
11740 Handle "capitalised keywords" correctly.
11741 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11742
11743 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11744
11745 * eshell/em-unix.el: Add -r option to cp.
11746
11747 2013-05-28 Glenn Morris <rgm@gnu.org>
11748
11749 * vc/vc-arch.el (vc-exec-after): Declare.
11750 (vc-switches): Autoload.
11751 * vc/vc-bzr.el: No need to require vc when compiling.
11752 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11753 (vc-resynch-buffer, vc-dir-refresh): Declare.
11754 (vc-setup-buffer, vc-switches): Autoload.
11755 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11756 (vc-resynch-buffer): Declare.
11757 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11758 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11759 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11760 (grep-read-regexp, grep-read-files, grep-expand-template)
11761 (vc-dir-refresh): Declare.
11762 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11763 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11764 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11765 * vc/vc-mtn.el (vc-exec-after): Declare.
11766 (vc-switches): Autoload.
11767 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11768 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11769 (vc-file-tree-walk): Declare.
11770 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11771 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11772 (vc-tag-precondition, vc-rename-master): Autoload.
11773 * vc/vc-svn.el (vc-exec-after): Declare.
11774 (vc-switches, vc-setup-buffer): Autoload.
11775 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11776 Autoload.
11777 (vc-resynch-buffer): Declare.
11778
11779 * obsolete/fast-lock.el (byte-compile-warnings):
11780 Don't warn about obsolete features in this obsolete file.
11781
11782 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11783 Move definition before use.
11784
11785 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11786 (dun-unix-verbs): Remove dun-zippy.
11787 (dun-zippy): Remove function.
11788
11789 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11790
11791 2013-05-27 Juri Linkov <juri@jurta.org>
11792
11793 * replace.el (replace-search): New function with code moved out
11794 from `perform-replace'.
11795 (replace-highlight, replace-dehighlight): Move function definitions
11796 up closer to `replace-search'. (Bug#11746)
11797
11798 2013-05-27 Juri Linkov <juri@jurta.org>
11799
11800 * replace.el (perform-replace): Ignore invisible matches.
11801 In addition to checking `query-replace-skip-read-only', also
11802 filter out matches by calling `run-hook-with-args-until-failure'
11803 on `isearch-filter-predicates', and also check `search-invisible'
11804 for t or call `isearch-range-invisible'.
11805 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11806
11807 2013-05-27 Juri Linkov <juri@jurta.org>
11808
11809 * isearch.el (isearch-filter-predicates): Rename from
11810 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11811 (isearch-message-prefix): Display text from the property
11812 `isearch-message-prefix' of the currently active filters.
11813 (isearch-search): Don't compare `isearch-filter-predicate' with
11814 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11815 on `isearch-filter-predicates'. Also check `search-invisible' for t
11816 or call `isearch-range-invisible'.
11817 (isearch-filter-visible): Make obsolete.
11818 (isearch-lazy-highlight-search):
11819 Call `run-hook-with-args-until-failure' on
11820 `isearch-filter-predicates' and use `isearch-range-invisible'.
11821
11822 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11823 `isearch-filter-predicates' instead of `funcall'ing
11824 `isearch-filter-predicate'.
11825 (Info-mode): Set `Info-isearch-filter' to
11826 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11827
11828 * dired-aux.el (dired-isearch-filter-predicate-orig):
11829 Remove variable.
11830 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11831 (dired-isearch-filenames-end): Add and remove
11832 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11833 instead of changing the value of `isearch-filter-predicate'.
11834 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11835 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11836 Put property `isearch-message-prefix' to "filename " on
11837 `dired-isearch-filter-filenames'.
11838
11839 * wdired.el (wdired-change-to-wdired-mode):
11840 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11841 locally instead of changing `isearch-filter-predicate'.
11842 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11843
11844 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11845
11846 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11847 return the commit hash (Bug#14459). Also set the
11848 `vc-git-detached' property.
11849 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11850 (vc-git-mode-line-string): Use the same help-echo format whether
11851 in detached mode or not, because we know the actual revision now.
11852 When in detached mode, shorten the revision to 7 chars.
11853
11854 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11855
11856 * emacs-lisp/easy-mmode.el (define-minor-mode):
11857 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11858 mode hook and provide a docstring.
11859
11860 2013-05-27 Alan Mackenzie <acm@muc.de>
11861
11862 Remove spurious syntax-table text properties inserted by C-y.
11863 * progmodes/cc-mode.el (c-after-change): Also clear hard
11864 syntax-table property with value nil.
11865
11866 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11867
11868 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11869 when reading the events; the buffer layout shall not be changed.
11870
11871 2013-05-27 Leo Liu <sdl.web@gmail.com>
11872
11873 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11874 New variable.
11875 (inferior-octave-directory-tracker): Automatically re-sync
11876 default-directory.
11877 (octave-help): Improve handling of 'See also'.
11878
11879 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * doc-view.el: Minor naming convention tweaks.
11882 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11883
11884 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11885 even if there's no `display' property yet (bug#14435).
11886
11887 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11888
11889 * subr.el (unmsys--file-name): Rename from reveal-filename.
11890
11891 * Makefile.in (custom-deps, finder-data, autoloads)
11892 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11893 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11894 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11895
11896 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11899 error-completion on the first 2 args of condition-case (bug#14446).
11900 Don't burp at EOB.
11901
11902 2013-05-25 Leo Liu <sdl.web@gmail.com>
11903
11904 * comint.el (comint-previous-matching-input): Do not flood the
11905 *Messages* buffer with trivial messages.
11906
11907 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * progmodes/flymake.el (flymake-nop): Don't return a string.
11910 (flymake-set-at): Fix typo.
11911
11912 * simple.el (read--expression): New function, extracted from
11913 eval-expression. Set completion-at-point-functions (bug#14465).
11914 (eval-expression, eval-minibuffer): Use it.
11915
11916 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11917
11918 * progmodes/flymake.el (flymake-save-buffer-in-file)
11919 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11920 (flymake-selected-frame, flymake-log, flymake-ins-after)
11921 (flymake-set-at, flymake-get-buildfile-from-cache)
11922 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11923 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11924 Refine the doc string.
11925 (flymake-get-file-name-mode-and-masks): Reformat.
11926 (flymake-get-real-file-name-function): Fix a minor bug.
11927
11928 2013-05-24 Juri Linkov <juri@jurta.org>
11929
11930 * progmodes/grep.el (grep-mode-font-lock-keywords):
11931 Support =linenumber= format used by git-grep for lines with
11932 function names. (Bug#13549)
11933
11934 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11937 0 after a semi-colon; it works better for smie-auto-fill.
11938 (octave--indent-new-comment-line): New function.
11939 (octave-indent-new-comment-line): Use it (indirectly).
11940 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11941 modify comment-line-break-function.
11942
11943 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11944 (smie-setup): Use add-function to set it.
11945
11946 2013-05-24 Sam Steingold <sds@gnu.org>
11947
11948 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11949 argument (before the `interactive' argument).
11950
11951 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11952
11953 * image-mode.el (image-mode-winprops): Add winprops to
11954 image-mode-winprops-alist before running
11955 image-mode-new-window-functions.
11956 * doc-view.el (doc-view-new-window-function): Don't delay
11957 doc-view-goto-page via timers (bug#14435).
11958
11959 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11960
11961 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11962 (doc-view-desktop-save-buffer): New function.
11963 (doc-view-restore-desktop-buffer): New function.
11964 (desktop-buffer-mode-handlers):
11965 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11966 handler.
11967 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11968 `desktop-save-buffer' function.
11969
11970 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11971
11972 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11973 (tramp-gvfs-file-name-handler): Raise a user error when
11974 `tramp-gvfs-enabled' is nil.
11975 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11976 Do not raise a user error when loading package. (Bug#14447)
11977
11978 * net/xesam.el: Move to obsolete/.
11979
11980 2013-05-24 Glenn Morris <rgm@gnu.org>
11981
11982 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11983
11984 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11985
11986 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11987 (Info-find-node, Man-getpage-in-background): Declare.
11988
11989 * mail/unrmail.el (unrmail):
11990 Replace obsolete detect-coding-with-priority.
11991
11992 * net/socks.el (socks-split-string): Use this rather than split-string.
11993 (socks-nslookup-host): Update for above change.
11994 (dynamic-choice, s5-dynamic-choice-match)
11995 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11996 Comment out unused code.
11997
11998 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11999 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12000 (gud-tooltip-echo-area): Make obsolete.
12001 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12002
12003 * progmodes/js.el (js--optimize-arglist): Declare.
12004
12005 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12006
12007 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12008 (ediff-window-C): Declare.
12009
12010 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12011 Tweak requires to silence compiler.
12012
12013 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12014 (he-search-string, he-tried-table, he-expand-list)
12015 (he-init-string, he-string-member, he-substitute-string)
12016 (he-reset-string): Declare.
12017
12018 * obsolete/options.el (list-options): Use custom-variable-p,
12019 rather than obsolete alias.
12020
12021 2013-05-23 Sam Steingold <sds@gnu.org>
12022
12023 * simple.el (shell-command-on-region): Pass the `replace' argument
12024 down to `call-process-region' to comply with the doc as reported on
12025 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12026
12027 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * emacs-lisp/smie.el (smie-indent-forward-token)
12030 (smie-indent-backward-token): Handle string tokens (bug#14381).
12031
12032 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12033
12034 * ielm.el (ielm-menu): New menu.
12035 (inferior-emacs-lisp-mode): Set comment-start.
12036
12037 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12038
12039 * textmodes/reftex.el (reftex-ref-style-toggle):
12040 Fix deactivate action.
12041
12042 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12043 Add cleveref macros.
12044
12045 * textmodes/reftex-parse.el
12046 (reftex-locate-bibliography-files): Accept options for
12047 bibliography commands.
12048 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12049 Add addbibresource. Basic Biblatex support.
12050
12051 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12052
12053 * net/tramp-gvfs.el (top):
12054 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12055 when loading package. (Bug#14447)
12056
12057 2013-05-23 Glenn Morris <rgm@gnu.org>
12058
12059 * progmodes/js.el: No need to load comint when compiling.
12060 (ring-insert, comint-send-string, comint-send-input)
12061 (comint-last-input-end, ido-chop): Declare.
12062
12063 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12064 * vc/ediff-mult.el: Adjust requires.
12065 (ediff-directories-internal, ediff-directory-revisions-internal)
12066 (ediff-patch-file-internal): Declare.
12067 * vc/ediff-ptch.el: Adjust requires.
12068 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12069 (ediff-find-file): Autoload.
12070 * vc/ediff-util.el: No need to load ediff when compiling.
12071 (ediff-regions-internal): Declare.
12072 * vc/ediff-wind.el: Adjust requires.
12073 (ediff-compute-toolbar-width): Define when compiling.
12074 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12075 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12076 (dired-get-filename, dired-get-marked-files)
12077 (ediff-last-dir-patch, ediff-patch-default-directory)
12078 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12079 (ediff-patch-buffer-internal): Declare.
12080
12081 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12082 (ispell-process, ispell-buffer-local-words, lm-summary)
12083 (lm-section-start, lm-section-end): Declare.
12084 (checkdoc-ispell-init): Simplify.
12085
12086 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12087 (he-string-member, he-reset-string, he-substitute-string): Declare.
12088
12089 * eshell/em-ls.el: Adjust requires.
12090 (eshell-glob-regexp): Declare.
12091 * eshell/em-tramp.el: Adjust requires.
12092 (eshell-parse-command): Autoload.
12093 * eshell/em-xtra.el: Adjust requires.
12094 (eshell-parse-command): Autoload.
12095 * eshell/esh-ext.el: Adjust requires.
12096 (eshell-parse-command, eshell-close-handles): Autoload.
12097 * eshell/esh-io.el: Adjust requires.
12098 (eshell-output-filter): Autoload.
12099 * eshell/esh-util.el: No need to load tramp when compiling.
12100 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12101 Declare.
12102 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12103 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12104 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12105 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12106 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12107 * eshell/esh-opt.el, eshell/esh-proc.el:
12108 * eshell/esh-var.el: Adjust requires.
12109 * eshell/eshell.el: Do not require esh-util twice.
12110 (eshell-add-input-to-history): Declare.
12111 (eshell-command): Check history module is active before using it.
12112
12113 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12114
12115 2013-05-22 Leo Liu <sdl.web@gmail.com>
12116
12117 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12118
12119 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12120
12121 * autorevert.el (auto-revert-notify-add-watch)
12122 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12123 it indicates changes in file modification time.
12124
12125 2013-05-22 Glenn Morris <rgm@gnu.org>
12126
12127 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12128 Always delete the autoloaded function from the noruntime and
12129 unresolved functions lists.
12130
12131 * allout.el: No need to load epa, epg, overlay when compiling.
12132 (epg-context-set-passphrase-callback, epg-list-keys)
12133 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12134 (epg-key-user-id-list): Declare.
12135
12136 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12137 (viper-set-parsing-style-toggling-macro)
12138 (viper-set-emacs-state-searchstyle-macros):
12139 Use called-interactively-p on Emacs.
12140 (viper-looking-back): Make it an obsolete alias. Update callers.
12141 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12142 Use looking-back rather than viper-looking-back.
12143 (viper-tmp-insert-at-eob, viper-enlarge-region)
12144 (viper-read-string-with-history, viper-register-to-point)
12145 (viper-append-to-register, viper-change-state-to-vi)
12146 (viper-backward-char-carefully, viper-forward-char-carefully)
12147 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12148 (viper-change-state-to-emacs): Declare.
12149 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12150 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12151 * emulation/viper-mous.el: Do not load viper-cmd.
12152 (viper-backward-char-carefully, viper-forward-char-carefully)
12153 (viper-forward-word, viper-adjust-window): Declare.
12154
12155 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12156
12157 * progmodes/idlw-help.el (idlwave-help-fontify):
12158 Use called-interactively-p.
12159
12160 * term/w32console.el (w32-get-console-codepage)
12161 (w32-get-console-output-codepage): Declare.
12162
12163 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12164 Remove unnecessary declarations.
12165 (dframe-message): Doc fix.
12166
12167 * info.el (dframe-select-attached-frame, dframe-current-frame):
12168 Declare.
12169
12170 * speedbar.el (speedbar-message): Make it an obsolete alias.
12171 Update all callers.
12172 (speedbar-with-attached-buffer)
12173 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12174 (speedbar-with-writable): Use backquote.
12175 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12176 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12177 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12178 rather than speedbar- aliases.
12179 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12180 (speedbar-make-specialized-keymap, speedbar-insert-button)
12181 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12182 (speedbar-do-function-pointer): Declare.
12183 (rmail-speedbar-button, rmail-speedbar-find-file)
12184 (rmail-speedbar-move-message):
12185 Use dframe-with-attached-buffer rather than speedbar- alias.
12186 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12187 (dframe-message, speedbar-make-specialized-keymap)
12188 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12189 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12190 (speedbar-insert-button, dframe-select-attached-frame)
12191 (dframe-maybee-jump-to-attached-frame)
12192 (speedbar-change-initial-expansion-list)
12193 (speedbar-previously-used-expansion-list-name): Declare.
12194 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12195 Use dframe-message, dframe-with-attached-buffer rather than
12196 speedbar- aliases.
12197 (gud-sentinel): Silence compiler.
12198 * progmodes/vhdl-mode.el (speedbar-refresh)
12199 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12200 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12201 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12202 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12203 (speedbar-file-lists, speedbar-make-tag-line)
12204 (speedbar-line-directory, speedbar-goto-this-file)
12205 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12206 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12207 (speedbar-make-button, speedbar-reset-scanners)
12208 (speedbar-files-item-info, speedbar-line-text)
12209 (speedbar-find-file-in-frame, speedbar-set-timer)
12210 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12211 (speedbar-with-writable): Do not (re)define it.
12212 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12213 rather than speedbar- alias.
12214
12215 2013-05-21 Leo Liu <sdl.web@gmail.com>
12216
12217 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12218 menu items.
12219 (octave-mode): Tweak fill-nobreak-predicate.
12220 (inferior-octave-startup): Check process to avoid infinite loop.
12221 (inferior-octave): Pop to buffer first to show abornmal process
12222 exit information.
12223
12224 2013-05-21 Glenn Morris <rgm@gnu.org>
12225
12226 * printing.el (pr-menu-bar): Define when compiling.
12227
12228 2013-05-21 Leo Liu <sdl.web@gmail.com>
12229
12230 * progmodes/octave.el (octave-auto-fill): Remove.
12231 (octave-indent-new-comment-line): Improve.
12232 (octave-mode): Use auto fill mode through
12233 comment-line-break-function and fill-nobreak-predicate.
12234 (octave-goto-function-definition): Support DEFUN_DLD.
12235 (octave-beginning-of-defun): Small tweak.
12236 (octave-help): Show parent directory.
12237
12238 2013-05-21 Glenn Morris <rgm@gnu.org>
12239
12240 * files.el (dired-unmark):
12241 * progmodes/gud.el (gdb-input): Update declarations.
12242
12243 * calculator.el (electric, ehelp): No need to load when compiling.
12244 (Electric-command-loop, electric-describe-mode): Declare.
12245
12246 * doc-view.el (doc-view-current-converter-processes): Move before use.
12247
12248 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12249 Move MODE-set-explicitly definition before use.
12250
12251 * international/mule-diag.el (mule-diag):
12252 Don't use obsolete window-system-version.
12253
12254 * mail/feedmail.el (smtpmail): No need to load when compiling.
12255 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12256
12257 * mail/mail-utils.el (rfc822): No need to load when compiling.
12258 (rfc822-addresses): Autoload it.
12259 (mail-strip-quoted-names): Trivial simplification.
12260
12261 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12262 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12263
12264 * net/snmp-mode.el (tempo): Don't duplicate requires.
12265
12266 * progmodes/prolog.el (info): No need to load when compiling.
12267 (comint): Require before shell requires it.
12268 (Info-goto-node): Autoload it.
12269 (Info-follow-nearest-node): Declare.
12270 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12271
12272 * textmodes/artist.el (picture-mode-exit): Declare.
12273
12274 * textmodes/reftex-parse.el (reftex-parse-from-file):
12275 Trivial rewrite so the compiler can parse it better.
12276
12277 2013-05-20 Leo Liu <sdl.web@gmail.com>
12278
12279 * progmodes/octave.el (octave-help-mode-map)
12280 (octave-help-mode-finish-hook): New variables.
12281 (octave-help-mode, octave-help-mode-finish): New functions.
12282 (octave-help): Use octave-help-mode.
12283
12284 2013-05-20 Glenn Morris <rgm@gnu.org>
12285
12286 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12287
12288 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12289
12290 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12291 start at point, so that expansion starting right after opening
12292 slash in a regexp is recognized.
12293 (ruby-syntax-before-regexp-re): New defvar, extracted from
12294 ruby-syntax-propertize-function. Since the value of this regexp
12295 is looked up at runtime now, we should be able to turn
12296 `ruby-syntax-methods-before-regexp' into a defcustom later.
12297 (ruby-syntax-propertize-function): Split regexp matching into two
12298 parts, for opening and closing slashes. That allows us to skip
12299 over string interpolations and support multiline regexps.
12300 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12301 for them, which calls `ruby-syntax-propertize-expansion'.
12302 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12303 call to `ruby-syntax-propertize-function'.
12304 (ruby-syntax-propertize-expansion): Extracted from
12305 `ruby-syntax-propertize-expansions'. Handles one expansion.
12306 (ruby-syntax-propertize-percent-literal): Leave point right after
12307 the percent symbol, so that the expression expansion rule can
12308 propertize the contents.
12309 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12310 heredoc openers.
12311 (ruby-syntax-propertize-expansions): Remove.
12312
12313 2013-05-18 Juri Linkov <juri@jurta.org>
12314
12315 * man.el (Man-default-man-entry): Remove `-' from the end
12316 of the default value. (Bug#14400)
12317
12318 2013-05-18 Glenn Morris <rgm@gnu.org>
12319
12320 * comint.el (comint-password-prompt-regexp):
12321 Allow "password for XXX" where XXX contains colons (eg https://...).
12322
12323 2013-05-18 Leo Liu <sdl.web@gmail.com>
12324
12325 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12326 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12327 (octave-source-directories): Don't check process.
12328 (octave-source-directories, octave-find-definition): Doc fix.
12329
12330 2013-05-18 Glenn Morris <rgm@gnu.org>
12331
12332 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12333 Remove backspace/delete bindings. (Bug#14392)
12334
12335 * cus-dep.el (custom-make-dependencies): Sort the output.
12336 (custom-versions-load-alist): Convert comment to doc.
12337
12338 2013-05-17 Leo Liu <sdl.web@gmail.com>
12339
12340 * newcomment.el (comment-search-backward): Stricter in finding
12341 comment start. (Bug#14303)
12342
12343 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12344 (octave-comment-start-skip): Properly anchored.
12345
12346 2013-05-17 Leo Liu <sdl.web@gmail.com>
12347
12348 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12349 Clean up when turned off. (Bug#14395)
12350 (smie--highlight-matching-block-overlay): No longer buffer-local.
12351 (smie-highlight-matching-block): Adjust.
12352
12353 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12354
12355 Doc string fix for "nanoseconds" (Bug#14406).
12356 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12357 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12358
12359 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12360
12361 * calc/calc-units.el (math-extract-units): Preserve powers
12362 of units.
12363
12364 2013-05-17 Leo Liu <sdl.web@gmail.com>
12365
12366 * subr.el (delete-consecutive-dups): New function.
12367 * ido.el (ido-set-matches-1): Use it.
12368 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12369 * ido.el (ido-remove-consecutive-dups): Remove.
12370
12371 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12372
12373 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12374 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12375 regexp-opt's `words'.
12376
12377 2013-05-16 Leo Liu <sdl.web@gmail.com>
12378
12379 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12380 (smie--highlight-matching-block-overlay)
12381 (smie--highlight-matching-block-lastpos)
12382 (smie--highlight-matching-block-timer): New variables.
12383 (smie-highlight-matching-block): New function.
12384 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12385 (smie-setup): Conditionally enable smie-blink-matching-open.
12386
12387 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12388
12389 Sync with upstream verilog-mode r840.
12390 * progmodes/verilog-mode.el (verilog-mode-version)
12391 (verilog-mode-release-date): Update.
12392 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12393 (verilog-sig-tieoff): Fix string error on
12394 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12395 (verilog-read-decls): Fix parameters confusing
12396 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12397
12398 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12399
12400 * subr.el (reveal-filename): New function.
12401
12402 * loadup.el: Compute Emacs executable versions on MS-Windows,
12403 where executables have the .exe extension. Add a hard link
12404 emacs-XX.YY.ZZ.exe on MS-Windows.
12405
12406 * Makefile.in (XARGS_LIMIT): New variable.
12407 (custom-deps, finder-data, autoloads)
12408 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12409 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12410 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12411 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12412
12413 2013-05-16 Leo Liu <sdl.web@gmail.com>
12414
12415 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12416 (octave-mode-menu, octave-mode-map): Remove its uses.
12417
12418 2013-05-16 Reto Zimmermann <reto@gnu.org>
12419
12420 Sync with upstream vhdl mode v3.34.2.
12421 * progmodes/vhdl-mode.el: Use `push' throughout.
12422 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12423 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12424 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12425 (vhdl-actual-generic-name): New option to derive actual generic name.
12426 (vhdl-port-paste-signals): Replace formal by actual generics.
12427 (vhdl-beautify): New name for old group vhdl-align. Update users.
12428 (vhdl-beautify-options): New option.
12429 (vhdl-last-input-event): New compat alias. Use throughout.
12430 (vhdl-goto-line): Replace user level function `goto-line'.
12431 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12432 vhdl-fix-statement-buffer.
12433 (vhdl-create-mode-menu): Add some entries.
12434 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12435 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12436 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12437 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12438 to force statements on one line.
12439 (vhdl-remove-trailing-spaces-region):
12440 New, split from vhdl-remove-trailing-spaces.
12441 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12442 Respect vhdl-beautify-options.
12443 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12444 (vhdl-update-sensitivity-list): Not add with index if exists without.
12445 Not include array index with signal. Ignore keywords in comments.
12446 (vhdl-get-visible-signals): Regexp tweaks.
12447 (vhdl-template-component-inst): Handle empty library.
12448 (vhdl-template-type): Add template for 'enum' type.
12449 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12450 Use vhdl-replace-string.
12451 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12452 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12453 (vhdl-speedbar-initialize): Update for above name change.
12454 (vhdl-compose-wire-components): Fix in handling of constants.
12455 (vhdl-error-regexp-emacs-alist): New variable.
12456 (vhdl-error-regexp-add-emacs): New function;
12457 adds support for new compile.el (Emacs 22+)
12458 (vhdl-generate-makefile-1): Change target order for single lib. units.
12459 Allow use of absolute file names.
12460
12461 2013-05-16 Leo Liu <sdl.web@gmail.com>
12462
12463 * simple.el (prog-indent-sexp): Indent enclosing defun.
12464
12465 2013-05-15 Glenn Morris <rgm@gnu.org>
12466
12467 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12468 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12469 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12470 (whitespace-highlight): Move to whitespace group.
12471
12472 * comint.el (comint-source):
12473 * pcmpl-linux.el (pcmpl-linux):
12474 * shell.el (shell-faces):
12475 * eshell/esh-opt.el (eshell-opt):
12476 * international/ccl.el (ccl): Remove empty custom groups.
12477
12478 * completion.el (dynamic-completion-mode):
12479 * jit-lock.el (jit-lock-debug-mode):
12480 * minibuffer.el (completion-in-region-mode):
12481 * type-break.el (type-break-mode-line-message-mode)
12482 (type-break-query-mode):
12483 * emulation/tpu-edt.el (tpu-edt-mode):
12484 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12485 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12486 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12487
12488 * term/xterm.el (xterm): Change parent group to terminals.
12489
12490 * master.el (master): Remove empty custom group.
12491 (master-mode): Remove unused :group argument.
12492 * textmodes/refill.el (refill): Remove empty custom group.
12493 (refill-mode): Remove unused :group argument.
12494
12495 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12496
12497 * cus-dep.el: Provide a feature.
12498 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12499 Don't mistakenly ignore files whose basenames match a basename
12500 from preloaded-file-list (eg cedet/ede/simple.el).
12501 Add a fallback method for getting :group.
12502
12503 2013-05-15 Juri Linkov <juri@jurta.org>
12504
12505 * isearch.el (isearch-char-by-name): Rename from
12506 `isearch-insert-char-by-name'. Doc fix.
12507 (isearch-forward): Mention `isearch-char-by-name' in
12508 the docstring. (Bug#13348)
12509
12510 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12511 `exit-minibuffer' instead of
12512 `isearch-nonincremental-exit-minibuffer'.
12513 (isearch-edit-string): Remove mention of
12514 `isearch-nonincremental-exit-minibuffer' from docstring.
12515 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12516 (isearch-forward-exit-minibuffer)
12517 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12518
12519 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * loadup.el: Just use unversioned DOC.
12522
12523 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12524 literals as extending to EOB.
12525 (nxml-last-fontify-end): Remove unused variable.
12526 (nxml-after-change1): Use with-silent-modifications.
12527 (nxml-extend-after-change-region): Simplify.
12528 (nxml-extend-after-change-region1): Remove function.
12529 (nxml-after-change1): Don't adjust for dependent regions.
12530 (nxml-fontify-matcher): Simplify.
12531 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12532 (xmltok-add-dependent): Remove function.
12533 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12534 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12535 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12536 unclosed <[[, <?, comment, and other literals as extending to EOB.
12537 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12538 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12539 Remove functions.
12540 (rng-do-some-validation-1): Don't mark dependent regions.
12541 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12542 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12543 (nxml-clear-dependent-regions): Remove functions.
12544 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12545 (nxml-ensure-scan-up-to-date):
12546 Don't clear&mark dependent regions.
12547
12548 2013-05-15 Leo Liu <sdl.web@gmail.com>
12549
12550 * progmodes/octave.el (octave-goto-function-definition):
12551 Improve and fix callers.
12552
12553 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12556 the setter (bug#14387).
12557
12558 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12559 surrounding group (bug#14402).
12560
12561 2013-05-14 Juri Linkov <juri@jurta.org>
12562
12563 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12564 (Bug#14390)
12565
12566 2013-05-14 Glenn Morris <rgm@gnu.org>
12567
12568 * progmodes/f90.el (f90-imenu-generic-expression):
12569 Fix typo in 2013-05-08 change. (Bug#14402)
12570
12571 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12572
12573 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12574 Remove signals for which replies are never received.
12575
12576 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12577
12578 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12579 (gdb-handler-alist, gdb-handler-number): Remove variables.
12580 (gdb-handler-list): New variable.
12581 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12582 (gdb-pending-handler-p, gdb-handle-reply)
12583 (gdb-remove-all-pending-triggers): New functions.
12584 (gdb-discard-unordered-replies): New defcustom.
12585 (gdb-handler): New defstruct.
12586 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12587 instead of gdb-pending-triggers. Update docstring.
12588 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12589 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12590 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12591 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12592 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12593 (gdb-frame-handler): Pending triggers are now automatically managed.
12594 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12595 Remove argument.
12596 (gdb-input): Automatically handles pending triggers. Update docstring.
12597 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12598 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12599 Update comments.
12600 (gdb-done-or-error): Now use gdb-handle-reply.
12601
12602 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12603
12604 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12605 gdb-debug-log.
12606
12607 2013-05-14 Glenn Morris <rgm@gnu.org>
12608
12609 * subr.el (user-emacs-directory-warning): New option.
12610 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12611
12612 2013-05-14 Leo Liu <sdl.web@gmail.com>
12613
12614 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12615 during redisplay.
12616 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12617 (octave-font-lock-texinfo-comment): Fix invalid search bound
12618 error: wrong side of point.
12619
12620 2013-05-14 Glenn Morris <rgm@gnu.org>
12621
12622 * progmodes/flymake.el (flymake-xml-program): New option.
12623 (flymake-xml-init): Use it.
12624
12625 * term/xterm.el: Provide a feature.
12626
12627 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12628
12629 2013-05-13 Glenn Morris <rgm@gnu.org>
12630
12631 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12632 Add compat aliases as a hack workaround. (Bug#14384)
12633
12634 2013-05-13 Leo Liu <sdl.web@gmail.com>
12635
12636 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12637 ###, and %!.
12638 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12639 C-M-q.
12640 (octave-comment-start-skip): Include %!.
12641 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12642
12643 2013-05-12 Leo Liu <sdl.web@gmail.com>
12644
12645 * progmodes/octave.el (inferior-octave-startup): Store the value
12646 of __octave_srcdir__ for octave-source-directories.
12647 (inferior-octave-check-process): New function refactored out of
12648 inferior-octave-send-list-and-digest.
12649 (octave-source-directories)
12650 (octave-find-definition-filename-function): New variables.
12651 (octave-source-directories)
12652 (octave-find-definition-default-filename): New functions.
12653 (octave-find-definition): Improve to find functions implemented in C++.
12654
12655 2013-05-12 Glenn Morris <rgm@gnu.org>
12656
12657 * calendar/diary-lib.el (diary-outlook-format-1):
12658 Don't include dayname in the output. (Bug#14349)
12659
12660 2013-05-11 Glenn Morris <rgm@gnu.org>
12661
12662 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12663
12664 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12665 Treat cc-provide like provide.
12666
12667 2013-05-11 Kevin Ryde <user42@zip.com.au>
12668
12669 * cus-dep.el (custom-make-dependencies):
12670 Use generated-autoload-load-name for the sake of files such
12671 such cedet/semantic/bovine/c.el, where the base file name
12672 is not in load-path. (Bug#5277)
12673
12674 2013-05-11 Glenn Morris <rgm@gnu.org>
12675
12676 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12677 Provide features.
12678
12679 2013-05-11 Leo Liu <sdl.web@gmail.com>
12680
12681 * progmodes/octave.el (octave-indent-comment): Improve.
12682 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12683 (octave-eldoc-function-signatures, octave-eldoc-function):
12684 New functions.
12685 (octave-mode, inferior-octave-mode): Add eldoc support.
12686
12687 2013-05-11 Richard Stallman <rms@gnu.org>
12688
12689 * epa.el (epa-decrypt-file): Take output file name as argument
12690 and read it using `interactive'.
12691
12692 2013-05-11 Leo Liu <sdl.web@gmail.com>
12693
12694 * progmodes/octave.el (octave-beginning-of-line)
12695 (octave-end-of-line): Check before using up-list because it jumps
12696 out of more syntactic contructs since moving to smie.
12697 (octave-indent-comment): New function.
12698 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12699 (octave-begin-keywords, octave-end-keywords)
12700 (octave-reserved-words, octave-smie-bnf-table)
12701 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12702
12703 2013-05-11 Glenn Morris <rgm@gnu.org>
12704
12705 * faces.el (internal-face-x-get-resource):
12706 * frame.el (ns-display-monitor-attributes-list):
12707 * calc/calc-aent.el (math-to-radians-2):
12708 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12709 Fix declarations.
12710
12711 * calc/calc-menu.el: Make it loadable in isolation.
12712
12713 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12714 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12715 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12716 (eudc-bbdb-query-internal): Require 'bbdb.
12717
12718 * lpr.el (lpr-headers-switches):
12719 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12720
12721 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12722
12723 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12724
12725 * term.el (term-set-escape-char): Make it idempotent.
12726
12727 2013-05-10 Leo Liu <sdl.web@gmail.com>
12728
12729 * progmodes/octave.el (inferior-octave-completion-table):
12730 No longer a function and all uses changed. Use cache to speed up
12731 completion due to bug#11906.
12732 (octave-beginning-of-defun): Re-write to be more general.
12733
12734 2013-05-10 Glenn Morris <rgm@gnu.org>
12735
12736 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12737
12738 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12739
12740 * comint.el (comint-redirect-send-command-to-process): Use :around
12741 rather than :override for comint-redirect-filter.
12742 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12743 Call it instead of comint-redirect-original-filter-function (which
12744 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12745
12746 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12747
12748 * frame.el (display-monitor-attributes-list): Add NS case.
12749 (ns-display-monitor-attributes-list): Declare.
12750
12751 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12752
12753 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12754
12755 2013-05-09 Glenn Morris <rgm@gnu.org>
12756
12757 * international/fontset.el (vertical-centering-font-regexp):
12758 Set standard-value.
12759
12760 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12761
12762 * bookmark.el (bookmark-search-delay):
12763 * cus-start.el (vertical-centering-font-regexp):
12764 * ps-mule.el (ps-mule-font-info-database-default):
12765 * ps-print.el (ps-default-fg, ps-default-bg):
12766 * type-break.el (type-break-good-break-interval):
12767 * whitespace.el (whitespace-indentation-regexp)
12768 (whitespace-space-after-tab-regexp):
12769 * emacs-lisp/testcover.el (testcover-1value-functions)
12770 (testcover-noreturn-functions, testcover-progn-functions)
12771 (testcover-prog1-functions):
12772 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12773 * eshell/em-glob.el (eshell-glob-translate-alist):
12774 * play/tetris.el (tetris-tty-colors):
12775 * progmodes/cpp.el (cpp-face-default-list):
12776 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12777 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12778 (idlwave-help-browser-generic-args):
12779 * progmodes/make-mode.el (makefile-special-targets-list):
12780 * progmodes/python.el (python-shell-virtualenv-path):
12781 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12782 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12783 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12784 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12785 * textmodes/reftex-vars.el (reftex-format-label-function):
12786 * textmodes/remember.el (remember-diary-file): Fix custom types.
12787
12788 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12789 Add :version.
12790
12791 2013-05-09 Leo Liu <sdl.web@gmail.com>
12792
12793 * progmodes/octave.el (inferior-octave-completion-at-point):
12794 Restore file completion. (Bug#14300)
12795 (inferior-octave-startup): Fix incorrect highlighting for the
12796 first prompt.
12797
12798 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12799
12800 * progmodes/ruby-mode.el: First cut at SMIE support.
12801 (ruby-use-smie): New var.
12802 (ruby-smie-grammar): New constant.
12803 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12804 (ruby-smie--forward-token, ruby-smie--backward-token)
12805 (ruby-smie-rules): New functions.
12806 (ruby-mode-variables): Setup SMIE if applicable.
12807
12808 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12809
12810 * simple.el (line-move-visual): Signal beginning/end of buffer
12811 only if vertical-motion moved less than it was requested. Avoids
12812 silly incorrect error messages when there are display strings with
12813 multiple newlines at EOL.
12814
12815 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12816
12817 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12818 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12819 (prolog-char-quote-workaround):
12820 * progmodes/cperl-mode.el (cperl-under-as-char):
12821 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12822 Mark as obsolete.
12823 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12824 their declaration.
12825 (vhdl-mode-syntax-table-init): Remove.
12826
12827 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12828 last change.
12829
12830 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12831 syntax for "_".
12832 (ld-script-font-lock-keywords):
12833 Change regexps to use things like \_< and \_>.
12834
12835 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12836 Change all regexps to use things like \_< and \_>.
12837
12838 * progmodes/autoconf.el (autoconf-definition-regexp)
12839 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12840 Handle a _ with symbol syntax.
12841 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12842
12843 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12844 Consolidate declaration.
12845 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12846 the declaration.
12847 (ada-create-syntax-table): Remove.
12848 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12849 already has the right syntax nowadays.
12850 (ada-goto-next-word): Don't change the syntax of "_".
12851
12852 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12853 with-wrapper-hook.
12854
12855 2013-05-08 Sam Steingold <sds@gnu.org>
12856
12857 * thingatpt.el (thing-at-point): Accept optional second argument
12858 NO-PROPERTIES to strip the text properties from the return value.
12859 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12860 to `thing-at-point' instead of stripping the properties ourselves.
12861 Also, when `thing-at-point' fails to find a url, prepend "http://"
12862 to the filename at point on the assumption that the user is
12863 pointing at something like gnu.org/gnu.
12864
12865 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12866
12867 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12868 * faces.el (crm-separator):
12869 Silence byte-compiler.
12870
12871 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12872 (tool-bar-map): Remove unneeded defvars.
12873
12874 2013-05-08 Leo Liu <sdl.web@gmail.com>
12875
12876 Re-work a fix for bug#10994 based on Le Wang's patch.
12877 * ido.el (ido-remove-consecutive-dups): New helper.
12878 (ido-completing-read): Use it.
12879 (ido-chop): Revert fix for bug#10994.
12880
12881 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12882
12883 * cus-edit.el (custom-save-variables):
12884 Pretty-print long values. (Bug#14187)
12885
12886 2013-05-08 Glenn Morris <rgm@gnu.org>
12887
12888 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12889 (m4-mode-syntax-table): Init in the defvar.
12890 (m4-mode-abbrev-table): Let define-derived-mode define it.
12891
12892 2013-05-08 Tom Tromey <tromey@redhat.com>
12893
12894 * progmodes/m4-mode.el (m4-mode-syntax-table):
12895 Do not treat "_" as word constituent. (Bug#14167)
12896
12897 2013-05-07 Glenn Morris <rgm@gnu.org>
12898
12899 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12900 Remove explicit eshell-isearch-cancel-map.
12901
12902 * progmodes/f90.el (f90-smart-end-names): New option.
12903 (f90-smart-end): Doc fix.
12904 (f90-end-block-optional-name): New constant.
12905 (f90-block-match): Respect f90-smart-end-names.
12906
12907 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12908
12909 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12910 about implicit semi-colons (bug#14218).
12911
12912 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12913
12914 * frame.el (display-monitor-attributes-list)
12915 (frame-monitor-attributes): New functions.
12916
12917 2013-05-06 Leo Liu <sdl.web@gmail.com>
12918
12919 * progmodes/octave.el (octave-syntax-propertize-function): Change
12920 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12921 (octave-font-lock-keywords): Use octave-operator-regexp.
12922 (octave-completion-at-point): Rename from
12923 octave-completion-at-point-function.
12924 (inferior-octave-directory-tracker): Robustify.
12925 (octave-text-functions): Remove and fix its uses. No such things
12926 any more.
12927
12928 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * emacs-lisp/trace.el (trace--display-buffer): New function.
12931 (trace-make-advice): Use it.
12932
12933 2013-05-06 Juri Linkov <juri@jurta.org>
12934
12935 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12936 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12937 Doc fix.
12938 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12939 in the help string. (Bug#12985)
12940
12941 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12942
12943 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12944
12945 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12946
12947 * progmodes/perl-mode.el: Add support for here documents.
12948 (perl-syntax-propertize-function): Match here-doc markers.
12949 (perl-syntax-propertize-special-constructs): Find their end.
12950 (perl-imenu-generic-expression): Use [:alnum:].
12951
12952 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12953 (advice--add-function): Refresh the advice if already present
12954 (bug#14317).
12955
12956 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12957
12958 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12959
12960 2013-05-06 Glenn Morris <rgm@gnu.org>
12961
12962 * w32-fns.el (w32-charset-info-alist): Declare.
12963
12964 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12965 of its defcustom properties.
12966 (eshell-cmpl-initialize): No need to load pcomplete.
12967
12968 * generic-x.el: No need to require comint when compiling.
12969
12970 * net/eudc-export.el: Make it loadable without bbdb.
12971 (top-level): Use require rather than load-library.
12972 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12973 (eudc-batch-export-records-to-bbdb)
12974 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12975 Require bbdb.
12976
12977 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12978
12979 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12980 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12981 some tweaks, instead.
12982
12983 2013-05-05 Leo Liu <sdl.web@gmail.com>
12984
12985 * progmodes/octave.el (octave-font-lock-keywords)
12986 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12987 (inferior-octave-send-list-and-digest): Improve error message.
12988 (octave-mode, inferior-octave-mode): Use setq-local.
12989 (octave-help): Set info-lookup-mode.
12990
12991 2013-05-05 Richard Stallman <rms@gnu.org>
12992
12993 * vc/compare-w.el (compare-windows-whitespace):
12994 Treat no-break space as whitespace.
12995
12996 * mail/rmailsum.el (rmail-summary-rmail-update):
12997 Detect empty summary and don't change selected message.
12998 (rmail-summary-goto-msg): Likewise.
12999
13000 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13001 Doc fixes, rename args.
13002
13003 2013-05-05 Alan Mackenzie <acm@muc.de>
13004
13005 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13006
13007 2013-05-05 Juri Linkov <juri@jurta.org>
13008
13009 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13010 to not add the length of the summary segment to the return value.
13011 (Bug#14125)
13012
13013 2013-05-05 Leo Liu <sdl.web@gmail.com>
13014
13015 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13016 (inferior-octave-output-filter): Remove.
13017 (octave-send-region, inferior-octave-startup): Fix callers.
13018 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13019 (octave-binary-file-extensions): New user variable.
13020 (octave-find-definition): Confirm if opening binary files.
13021 (octave-help-file): Use octave-find-definition to get the binary
13022 confirmation.
13023 (octave-help): Adjust for octave-help-file change.
13024
13025 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13026
13027 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13028 Merge the two entries that handle function definitions.
13029 (pascal--syntax-propertize): New const.
13030 (pascal-mode): Use it. Use setq-local.
13031
13032 2013-05-04 Glenn Morris <rgm@gnu.org>
13033
13034 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13035 (diary-from-outlook): Respect diary-from-outlook-function.
13036
13037 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13038
13039 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13040 Move the declaration from C.
13041 (read-minibuffer, eval-minibuffer): Move from C.
13042 (completion-setup-function): Avoid minibuffer-completion-contents.
13043
13044 2013-05-03 Leo Liu <sdl.web@gmail.com>
13045
13046 * progmodes/octave.el (octave-font-lock-keywords): Do not
13047 dehighlight 'end' in comments or strings.
13048 (octave-completing-read, octave-goto-function-definition):
13049 New helpers.
13050 (octave-help-buffer): New user variable.
13051 (octave-help-file, octave-help-function): New button types.
13052 (octave-help): New command and bind it to C-h ;.
13053 (octave-find-definition): New command and bind it to M-.
13054 (user-error): Alias to error if not defined.
13055
13056 2013-05-02 Leo Liu <sdl.web@gmail.com>
13057
13058 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13059 for \. (bug#14332)
13060 (octave-font-lock-keywords): Include [ and {.
13061
13062 2013-05-02 Leo Liu <sdl.web@gmail.com>
13063
13064 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13065 (inferior-octave): Remove calling comint-mode and return the buffer.
13066 (inferior-octave-startup): Cosmetic changes.
13067
13068 2013-05-02 Leo Liu <sdl.web@gmail.com>
13069
13070 * progmodes/octave.el (octave-syntax-propertize-function):
13071 Include the case when ' is at line beginning. (Bug#14336)
13072
13073 2013-05-02 Glenn Morris <rgm@gnu.org>
13074
13075 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13076 * desktop.el (vc-dir-mode): Just autoload it here.
13077
13078 2013-05-02 Alan Mackenzie <acm@muc.de>
13079
13080 Eliminate variable c-standard-font-lock-fontify-region-function.
13081 * progmodes/cc-mode.el
13082 (c-standard-font-lock-fontify-region-function): Remove.
13083 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13084
13085 2013-05-01 Leo Liu <sdl.web@gmail.com>
13086
13087 * progmodes/octave.el: Compatible with older emacs-24 releases.
13088 (inferior-octave-has-built-in-variables): Remove. Built-in
13089 variables were removed from Octave in 2007.
13090 (inferior-octave-startup): Fix uses.
13091 (comint-line-beginning-position): Remove compatibility code for
13092 emacs 21.
13093
13094 2013-05-01 Juri Linkov <juri@jurta.org>
13095
13096 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13097
13098 2013-05-01 Juri Linkov <juri@jurta.org>
13099
13100 * comint.el (comint-previous-matching-input): Don't print message
13101 "History item: %d" when `isearch-mode' is active.
13102 (comint-history-isearch-message): Print message "History item: %d"
13103 when `comint-input-ring-index' is not empty and this function is
13104 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13105
13106 2013-05-01 Leo Liu <sdl.web@gmail.com>
13107
13108 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13109 definitions. Use completion-at-point to insert keywords.
13110 (octave-abbrev-start): Remove.
13111 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13112
13113 2013-04-30 Leo Liu <sdl.web@gmail.com>
13114
13115 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13116 change.
13117
13118 2013-04-30 Alan Mackenzie <acm@muc.de>
13119
13120 Handle arbitrarily long C++ member initialisation lists.
13121 * progmodes/cc-engine.el (c-back-over-member-initializers):
13122 new function.
13123 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13124 (most) member init lists.
13125
13126 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13127
13128 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13129 variable.
13130
13131 2013-04-30 Leo Liu <sdl.web@gmail.com>
13132
13133 * progmodes/octave.el (octave-variables): Remove. No builtin
13134 variables any more. All converted to functions.
13135 (octave-font-lock-keywords, octave-completion-at-point-function):
13136 Fix uses.
13137 (octave-font-lock-texinfo-comment): New user variable.
13138 (octave-texinfo-font-lock-keywords): New variable for texinfo
13139 comment block.
13140 (octave-function-comment-block): New face.
13141 (octave-font-lock-texinfo-comment): New function.
13142 (octave-mode): Font lock texinfo comment block.
13143
13144 2013-04-29 Leo Liu <sdl.web@gmail.com>
13145
13146 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13147 indexing expression.
13148 (octave-continuation-string): Do not use \.
13149 (inferior-octave-complete-impossible): Remove.
13150 (inferior-octave-completion-table)
13151 (inferior-octave-completion-at-point): Remove its uses.
13152 (inferior-octave-startup): completion_matches was introduced to
13153 Octave in 1996 so safe to assume it.
13154 (octave-function-file-comment): Improve to follow how Octave does it.
13155 (octave-update-function-file-comment): Tweak.
13156
13157 2013-04-29 Leo Liu <sdl.web@gmail.com>
13158
13159 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13160 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13161 (octave-function-file-comment): Fix typo.
13162 (octave-sync-function-file-names): Use read-char-choice.
13163
13164 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13165
13166 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13167 to t for the less important warnings.
13168
13169 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13170
13171 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13172
13173 2013-04-27 Glenn Morris <rgm@gnu.org>
13174
13175 * vc/log-view.el (log-view-current-entry):
13176 Treat "---" separator lines as part of the following rev. (Bug#14169)
13177
13178 2013-04-27 Juri Linkov <juri@jurta.org>
13179
13180 * subr.el (read-number): Doc fix about using it by interactive
13181 code letter `n'. (Bug#14254)
13182
13183 2013-04-27 Juri Linkov <juri@jurta.org>
13184
13185 * desktop.el (desktop-auto-save-timeout): New option.
13186 (desktop-file-checksum): New variable.
13187 (desktop-save): Add optional arg `auto-save' and don't auto-save
13188 if nothing changed.
13189 (desktop-auto-save-timer): New variable.
13190 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13191 (after-init-hook): Call `desktop-auto-save-set-timer'.
13192 Suggested by Reuben Thomas <rrt@sc3d.org> in
13193 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13194
13195 2013-04-27 Leo Liu <sdl.web@gmail.com>
13196
13197 * progmodes/octave.el (octave-function-file-p)
13198 (octave-skip-comment-forward, octave-function-file-comment)
13199 (octave-update-function-file-comment): New functions.
13200 (octave-mode-map): Bind C-c ; to
13201 octave-update-function-file-comment.
13202 (octave-mode-menu): Add octave-update-function-file-comment.
13203 (octave-mode, inferior-octave-mode): Fix doc-string.
13204 (octave-insert-defun): Conform to Octave's coding convention.
13205 (Bug#14285)
13206
13207 * files.el (basic-save-buffer): Don't let errors in
13208 before-save-hook prevent saving buffer.
13209
13210 2013-04-20 Roland Winkler <winkler@gnu.org>
13211
13212 * faces.el (read-face-name): Use completing-read if arg multiple
13213 is nil.
13214
13215 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13216
13217 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13218 displayed, move point to after the totals line.
13219 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13220 for the details.
13221
13222 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13223
13224 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13225 Add current dir to the load-path.
13226 (package-generate-autoloads): Don't rely on
13227 autoload-ensure-default-file.
13228
13229 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13230
13231 * textmodes/remember.el (remember-store-in-files): Document that
13232 the file name format is passed to `format-time-string'.
13233
13234 2013-04-26 Leo Liu <sdl.web@gmail.com>
13235
13236 * progmodes/octave.el (octave-sync-function-file-names): New function.
13237 (octave-mode): Use it in before-save-hook.
13238
13239 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13240
13241 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13242 (bug#14274).
13243
13244 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13245 \n and comment, even if it's not an implicit ; (bug#14218).
13246
13247 2013-04-26 Glenn Morris <rgm@gnu.org>
13248
13249 * subr.el (read-number): Once more use `read' rather than
13250 `string-to-number', to trap non-numeric input. (Bug#14254)
13251
13252 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13253
13254 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13255 Use `syntax-multiline' text property consistently instead of
13256 `font-lock-multiline'. (Bug#14237)
13257
13258 2013-04-26 Glenn Morris <rgm@gnu.org>
13259
13260 * emacs-lisp/shadow.el (list-load-path-shadows):
13261 No longer necessary to check for duplicate simple.el, since
13262 2012-07-07 change to init_lread to not include installation lisp
13263 directories in load-path when running uninstalled. (Bug#14270)
13264
13265 2013-04-26 Leo Liu <sdl.web@gmail.com>
13266
13267 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13268 (octave-mode, inferior-octave-mode): Use setq-local.
13269 (octave-not-in-string-or-comment-p): Rename to
13270 octave-in-string-or-comment-p.
13271 (octave-in-comment-p, octave-in-string-p)
13272 (octave-in-string-or-comment-p): Replace defsubst with defun.
13273
13274 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13275
13276 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13277
13278 2013-04-25 Bastien Guerry <bzg@gnu.org>
13279
13280 * textmodes/remember.el (remember-data-directory)
13281 (remember-directory-file-name-format): Fix custom types.
13282
13283 2013-04-25 Leo Liu <sdl.web@gmail.com>
13284
13285 * progmodes/octave.el (octave-completion-at-point-function):
13286 Make use of inferior octave process.
13287 (octave-initialize-completions): Remove.
13288 (inferior-octave-completion-table): New function.
13289 (inferior-octave-completion-at-point): Use it.
13290 (octave-completion-alist): Remove.
13291
13292 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13293
13294 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13295 (opascal-mode-syntax-table): New var.
13296 (opascal-literal-kind, opascal-is-literal-end)
13297 (opascal-literal-token-at): Rewrite.
13298 (opascal--literal-start-re, opascal-font-lock-keywords)
13299 (opascal--syntax-propertize): New constants.
13300 (opascal-font-lock-defaults): Adjust.
13301 (opascal-mode): Use them. Set comment-<foo> variables as well.
13302 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13303 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13304 (delphi-other-face, opascal-other-face): Remove face variables.
13305 (opascal-save-state): Remove macro.
13306 (opascal-fontifying-progress-step): Remove constant.
13307 (opascal--ignore-changes): Remove var.
13308 (opascal-set-token-property, opascal-parse-next-literal)
13309 (opascal-is-stable-literal, opascal-complete-literal)
13310 (opascal-is-literal-start, opascal-face-of)
13311 (opascal-parse-region, opascal-parse-region-until-stable)
13312 (opascal-fontify-region, opascal-after-change)
13313 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13314 (opascal-debug-parse-region, opascal-debug-parse-window)
13315 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13316 (opascal-debug-fontify-buffer): Remove.
13317 (opascal-debug-mode-map): Adjust accordingly.
13318
13319 2013-04-25 Leo Liu <sdl.web@gmail.com>
13320
13321 Merge octave-mod.el and octave-inf.el into octave.el with some
13322 cleanups.
13323 * progmodes/octave.el: New file renamed from octave-mod.el.
13324 * progmodes/octave-inf.el: Merged into octave.el.
13325 * progmodes/octave-mod.el: Renamed to octave.el.
13326
13327 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13328
13329 * textmodes/reftex-vars.el
13330 (reftex-label-ignored-macros-and-environments): New defcustom.
13331
13332 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13333
13334 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13335
13336 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13337 (smie-indent-keyword): Improve the check to ensure that the next
13338 comment is really on the same line.
13339 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13340
13341 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13342 semi-colons if the line is not otherwise empty (bug#14218).
13343
13344 2013-04-25 Glenn Morris <rgm@gnu.org>
13345
13346 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13347
13348 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13349
13350 * progmodes/opascal.el (opascal-set-token-property): Rename from
13351 opascal-set-text-properties and only set `token' (bug#14134).
13352 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13353 (opascal-literal-text-properties): Remove.
13354 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13355 Adjust callers.
13356
13357 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13358
13359 * textmodes/remember.el (remember-handler-functions): Add an
13360 option for a new handler `remember-store-in-files'.
13361 (remember-data-directory, remember-directory-file-name-format):
13362 New options.
13363 (remember-store-in-files): New function to store remember notes
13364 as separate files within a directory.
13365
13366 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13367
13368 * progmodes/compile.el (compilation-next-error-function):
13369 Pass "formats" to compilation-find-file (bug#11777).
13370
13371 2013-04-24 Glenn Morris <rgm@gnu.org>
13372
13373 * vc/vc-bzr.el (vc-bzr-print-log):
13374 * vc/vc-hg.el (vc-hg-print-log):
13375 * vc/vc-svn.el (vc-svn-print-log):
13376 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13377
13378 * vc/vc-bzr.el (vc-bzr-print-log):
13379 * vc/vc-cvs.el (vc-cvs-print-log):
13380 * vc/vc-git.el (vc-git-print-log):
13381 * vc/vc-hg.el (vc-hg-print-log):
13382 * vc/vc-mtn.el (vc-mtn-print-log):
13383 * vc/vc-rcs.el (vc-rcs-print-log):
13384 * vc/vc-sccs.el (vc-sccs-print-log):
13385 * vc/vc-svn.el (vc-svn-print-log):
13386 * vc/vc.el (vc-print-log-internal): Doc fixes.
13387
13388 2013-04-23 Glenn Morris <rgm@gnu.org>
13389
13390 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13391 Remove venerable code attempting to avoid substitute-command-keys.
13392
13393 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13394
13395 * textmodes/reftex-vars.el (reftex-label-regexps):
13396 Call `reftex-compile-variables' after changes to this variable.
13397
13398 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13399
13400 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13401 Use lexical-binding.
13402 (jit-lock-force-redisplay): Use markers, check buffer's continued
13403 existence and beware narrowed buffers.
13404 (jit-lock-fontify-now): Adjust call accordingly.
13405
13406 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13407
13408 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13409 to avoid misleading the user.
13410
13411 2013-04-22 Leo Liu <sdl.web@gmail.com>
13412
13413 * info-look.el: Prefer latex2e.info. (Bug#14240)
13414
13415 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13416
13417 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13418
13419 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13420 * net/tramp.el (tramp-call-process): ... here.
13421 (tramp-set-completion-function, tramp-parse-putty):
13422 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13423 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13424 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13425 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13426 (tramp-call-local-coding-command): Use `tramp-call-process'
13427 instead of `tramp-compat-call-process'.
13428
13429 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13430 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13431 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13432 (tramp-find-inline-compress): Improve traces.
13433 (tramp-maybe-send-script): Check for Perl binary.
13434 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13435
13436 2013-04-22 Daiki Ueno <ueno@gnu.org>
13437
13438 * epg.el (epg-context-pinentry-mode): New function.
13439 (epg-context-set-pinentry-mode): New function.
13440 (epg--start): Pass --pinentry-mode option to gpg command.
13441
13442 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13443
13444 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13445 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13446 `completion-at-point'. (Bug#13774)
13447
13448 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13449 default key binding for `describe-distribution' has been moved to
13450 `C-h C-o'. (Bug#13970)
13451
13452 2013-04-21 Glenn Morris <rgm@gnu.org>
13453
13454 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13455 Add doc strings.
13456 (vc-print-log): Clarify interactive prompt.
13457
13458 2013-04-20 Glenn Morris <rgm@gnu.org>
13459
13460 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13461 No longer include timestamp etc information.
13462
13463 2013-04-20 Roland Winkler <winkler@gnu.org>
13464
13465 * faces.el (read-face-name): Bug fix, return just one face if arg
13466 multiple is nil. (Bug#14209)
13467
13468 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13469
13470 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13471 (remove-function): Autoload.
13472
13473 * comint.el (comint-redirect-original-filter-function): Remove.
13474 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13475 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13476 (vc-cvs-annotate-command):
13477 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13478 * progmodes/prolog.el (prolog-consult-compile):
13479 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13480 Use add/remove-function instead.
13481 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13482 (gud-tooltip-process-output, gud-tooltip-tips):
13483 Use add/remove-function instead.
13484 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13485 (scheme-interaction-mode, exit-scheme-interaction-mode):
13486 Use add/remove-function instead.
13487
13488 * vc/vc-dispatcher.el: Use lexical-binding.
13489 (vc--process-sentinel): Rename from vc-process-sentinel.
13490 Change last arg to be the code to run. Don't use vc-previous-sentinel
13491 and vc-sentinel-commands any more.
13492 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13493 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13494
13495 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13496
13497 * progmodes/sh-script.el (sh-imenu-generic-expression):
13498 Handle function names with a single character. (Bug#14111)
13499
13500 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13501
13502 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13503 for subroutines defined in an eval (bug#14182).
13504
13505 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13506
13507 * bookmark.el (bookmark-completing-read): Improve handling of empty
13508 string (bug#14176).
13509
13510 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13511
13512 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13513
13514 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13515
13516 New faster Imenu implementation (bug#14058).
13517 * progmodes/python.el:
13518 (python-imenu-prev-index-position):
13519 (python-imenu-format-item-label-function)
13520 (python-imenu-format-parent-item-label-function)
13521 (python-imenu-format-parent-item-jump-label-function):
13522 New vars.
13523 (python-imenu-format-item-label)
13524 (python-imenu-format-parent-item-label)
13525 (python-imenu-format-parent-item-jump-label)
13526 (python-imenu--put-parent, python-imenu--build-tree)
13527 (python-imenu-create-index, python-imenu-create-flat-index)
13528 (python-util-popn): New functions.
13529 (python-mode): Set imenu-create-index-function to
13530 python-imenu-create-index.
13531
13532 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13533
13534 * winner.el (winner-active-region): Use region-active-p, activate-mark
13535 and deactivate-mark (bug#14225).
13536
13537 * simple.el (deactivate-mark): Don't inline it.
13538
13539 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13540
13541 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13542
13543 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13544
13545 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13546 file extensions from the archive-mode entry in order to prefer
13547 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13548
13549 2013-04-18 Leo Liu <sdl.web@gmail.com>
13550
13551 * bindings.el (help-event-list): Add ?\?.
13552
13553 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 * subr.el (with-wrapper-hook): Declare obsolete.
13556 * simple.el (filter-buffer-substring-function): New hook.
13557 (filter-buffer-substring): Use it.
13558 (filter-buffer-substring-functions): Mark obsolete.
13559 * minibuffer.el (completion-in-region-function): New hook.
13560 (completion-in-region): Use it.
13561 (completion-in-region-functions): Mark obsolete.
13562 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13563 * abbrev.el (abbrev-expand-function): New hook.
13564 (expand-abbrev): Use it.
13565 (abbrev-expand-functions): Mark obsolete.
13566 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13567 and :filter-return.
13568
13569 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13570
13571 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13572 and do not care about match data.
13573
13574 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13577 completion tables when completing error conditions and
13578 `declare' arguments.
13579 (lisp-complete-symbol, field-complete): Mark as obsolete.
13580 (check-parens): Unmatched parens are user errors.
13581 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13582
13583 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13584
13585 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13586 command changed buffer (ie. `flyspell-pre-buffer' is not current
13587 buffer), which prevents making decisions based on invalid value of
13588 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13589 cause an error when `flyspell-pre-point' was nil after switching
13590 buffers.
13591 (flyspell-post-command-hook): No longer needs to change buffers when
13592 checking pre-word. While at it remove unnecessary progn.
13593
13594 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13595
13596 * textmodes/ispell.el (ispell-add-per-file-word-list):
13597 Fix `flyspell-correct-word-before-point' error when accepting
13598 words and `coment-padding' is an integer by using
13599 `comment-normalize-vars' (Bug #14214).
13600
13601 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13602
13603 New defun movement commands.
13604 * progmodes/python.el (python-nav--syntactically)
13605 (python-nav--forward-defun, python-nav-backward-defun)
13606 (python-nav-forward-defun): New functions.
13607
13608 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13609
13610 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13611 (python-syntax-context): Use named compiler-macro for backwards
13612 compatibility with Emacs 24.x.
13613
13614 2013-04-17 Leo Liu <sdl.web@gmail.com>
13615
13616 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13617 octave-hide-process-buffer.
13618
13619 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13620
13621 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13622 (bug#14216).
13623
13624 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13625
13626 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13627 Fix adjustment of offset when receiving incomplete responses from GDB
13628 (bug#14129).
13629
13630 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13631
13632 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13633 python-mode-abbrev-table.
13634 (python-skeleton-define): Adjust accordingly.
13635 (python-mode-abbrev-table): New table that inherits from it so that
13636 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13637
13638 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13639 (abbrev-symbol): Use it.
13640 (abbrev--before-point): Use it since we already handle inheritance.
13641
13642 2013-04-16 Leo Liu <sdl.web@gmail.com>
13643
13644 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13645 binding to info-lookup-symbol.
13646
13647 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13648
13649 * minibuffer.el (completion--twq-all):
13650 * term/ns-win.el (ns-initialize-window-system):
13651 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13652
13653 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13656 global bindings.
13657
13658 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13659
13660 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13661
13662 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13663 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13664 to nil.
13665 (ruby-end-of-defun): Remove the unused arg, change the docstring
13666 to reflect that this function is only used as the value of
13667 `end-of-defun-function'.
13668 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13669 to reflect an earlier change that beginning/end-of-defun functions
13670 jump between methods in a class definition, as well as top-level
13671 functions.
13672
13673 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13674
13675 * minibuffer.el (minibuffer-complete): Don't just scroll
13676 a *Completions* that's been iconified.
13677 (minibuffer-force-complete): Make sure repetitions do cycle when going
13678 through completion-in-region -> minibuffer-complete.
13679
13680 2013-04-15 Alan Mackenzie <acm@muc.de>
13681
13682 Correct the placement of c-cpp-delimiters when there're #s not at
13683 col 0.
13684
13685 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13686 place a submatch around the #.
13687 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13688 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13689 on the #, not BOL.
13690
13691 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13692
13693 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13694 (advice--member-p): New arg `name'.
13695 (advice--add-function, advice-member-p): Use it (bug#14202).
13696
13697 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13698
13699 Reformulate java imenu-generic-expression.
13700 The old expression contained ill formed regexps.
13701
13702 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13703 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13704 (cc-imenu-java-method-arg-regexp): New defconsts.
13705 (cc-imenu-java-build-type-args-regex): New defun.
13706 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13707 handling of spaces in the regexp.
13708
13709 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13710
13711 * textmodes/ispell.el (ispell-command-loop): Remove
13712 flyspell highlight of a word when ispell accepts it (bug #14178).
13713
13714 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13715
13716 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13717 uses code from the previous `ange-ftp-run-real-handler'.
13718 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13719 only in case that function exist. This is needed for proper
13720 unloading of Tramp.
13721
13722 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13723
13724 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13725
13726 * textmodes/reftex.el (reftex-compile-variables): Use it.
13727
13728 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13729
13730 * files.el (normal-mode): Only use default major-mode if no other mode
13731 was specified.
13732
13733 * emacs-lisp/trace.el (trace-values): New function.
13734
13735 * files.el: Allow : in local variables (bug#14089).
13736 (hack-local-variable-regexp): New var.
13737 (hack-local-variables-prop-line, hack-local-variables): Use it.
13738
13739 2013-04-13 Roland Winkler <winkler@gnu.org>
13740
13741 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13742 data before it gets modified by bibtex-beginning-of-entry.
13743
13744 2013-04-13 Roland Winkler <winkler@gnu.org>
13745
13746 * textmodes/bibtex.el (bibtex-url): Doc fix.
13747
13748 2013-04-13 Roland Winkler <winkler@gnu.org>
13749
13750 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13751 does not visit a BibTeX file, exclude it from the list of buffers
13752 returned by bibtex-initialize.
13753
13754 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13755
13756 * window.el (split-window): Remove interactive form, since as a
13757 command this function is a special case of split-window-below.
13758 Correct doc string.
13759
13760 2013-04-12 Roland Winkler <winkler@gnu.org>
13761
13762 * faces.el (read-face-name): Do not override value of arg default.
13763 Allow single faces and strings as default values. Remove those
13764 elements from return value that are not faces.
13765 (describe-face): Simplify.
13766 (face-at-point): New optional args thing and multiple so that this
13767 function can provide the same functionality previously provided by
13768 read-face-name.
13769 (make-face-bold, make-face-unbold, make-face-italic)
13770 (make-face-unitalic, make-face-bold-italic, invert-face)
13771 (modify-face, read-face-and-attribute): Use face-at-point.
13772
13773 * cus-edit.el (customize-face, customize-face-other-window)
13774 * cus-theme.el (custom-theme-add-face)
13775 * face-remap.el (buffer-face-set)
13776 * facemenu.el (facemenu-set-face): Use face-at-point.
13777
13778 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13779
13780 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13781
13782 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13783
13784 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13785 off leading { and trailing } from field values.
13786
13787 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * emacs-lisp/timer.el (timer--check): New function.
13790 (timer--time, timer-set-function, timer-event-handler): Use it.
13791 (timer-set-idle-time): Simplify.
13792 (timer--activate): CSE.
13793 (timer-event-handler): Give more info in error message.
13794 (internal-timer-start-idle): New function, moved from C.
13795
13796 * mpc.el (mpc-proc): Add `restart' argument.
13797 (mpc-proc-cmd): Use it.
13798 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13799 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13800 less often.
13801
13802 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13803
13804 * progmodes/sh-script.el: Implement `sh-mode' own
13805 `add-log-current-defun-function' (bug#14112).
13806 (sh-current-defun-name): New function.
13807 (sh-mode): Use the function.
13808
13809 2013-04-09 Bastien Guerry <bzg@gnu.org>
13810
13811 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13812
13813 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13814
13815 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13816
13817 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13818 timer (bug#14156).
13819
13820 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13821
13822 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13823 declaration.
13824
13825 2013-04-07 Leo Liu <sdl.web@gmail.com>
13826
13827 * pcmpl-x.el: New file.
13828
13829 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13830
13831 Do not set x-display-name until X connection is established.
13832 This is needed to prevent from weird situation described at
13833 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13834 * frame.el (make-frame): Set x-display-name after call to
13835 window system initialization function, not before.
13836 * term/x-win.el (x-initialize-window-system): Add optional
13837 display argument and use it.
13838 * term/w32-win.el (w32-initialize-window-system):
13839 * term/ns-win.el (ns-initialize-window-system):
13840 * term/pc-win.el (msdos-initialize-window-system):
13841 Add compatible optional display argument.
13842
13843 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13844
13845 * files.el (normal-backup-enable-predicate): On MS-Windows and
13846 MS-DOS compare truenames of temporary-file-directory and of the
13847 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13848 don't fail comparison by compare-strings. Also, compare file
13849 names case-insensitively on MS-Windows and MS-DOS.
13850
13851 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13854 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13855
13856 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13857
13858 * whitespace.el (whitespace-color-on, whitespace-color-off):
13859 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13860
13861 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13862
13863 * ispell.el (ispell-set-spellchecker-params):
13864 Really set `ispell-args' for all equivs.
13865
13866 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * ido.el (ido-completions): Use extra elements of ido-decorations
13869 (bug#14143).
13870 (ido-decorations): Update docstring.
13871
13872 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13873
13874 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13875 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13876 nil during initialization, in order not to miss changes since the
13877 file was opened. (Bug#14140)
13878
13879 2013-04-05 Leo Liu <sdl.web@gmail.com>
13880
13881 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13882
13883 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13884
13885 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13886
13887 2013-04-04 Glenn Morris <rgm@gnu.org>
13888
13889 * electric.el (electric-pair-inhibit-predicate): Add :version.
13890
13891 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13892
13893 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13894 when a package is required several times (bug#14082).
13895
13896 2013-04-04 Roland Winkler <winkler@gnu.org>
13897
13898 * faces.el (read-face-name): Behave as promised by the docstring.
13899 Assume that arg default is a list of faces.
13900 (describe-face): Call read-face-name with list of default faces.
13901
13902 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13903
13904 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13905 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13906 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13907 the header.
13908 (bookmark-exit-hook-internal): Save even if list is empty.
13909
13910 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13911
13912 * emacs-lisp/package.el (package-pinned-packages): New var.
13913 (package--add-to-archive-contents): Obey it (bug#14118).
13914
13915 2013-04-03 Alan Mackenzie <acm@muc.de>
13916
13917 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13918 Also adapt to the new values of element 7 of a parse state.
13919
13920 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13921 parameter `not-in-delimiter'. Handle being inside comment opener.
13922 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13923 character in case we're typing a '*' after a '/'.
13924 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13925 instead by passing the parameter to c-state-pp-to-literal.
13926
13927 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13928 for elt. 7 of a parse state.
13929
13930 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13931
13932 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13933 * international/latin1-disp.el, international/mule-util.el:
13934 * language/cyril-util.el, language/european.el, language/ind-util.el:
13935 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13936 * language/tibetan.el, language/viet-util.el:
13937 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13938
13939 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13940
13941 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13942 (electric-pair-post-self-insert-function): Use it.
13943 (electric-pair-default-inhibit): New function, extracted from
13944 electric-pair-post-self-insert-function.
13945
13946 2013-03-31 Roland Winkler <winkler@gnu.org>
13947
13948 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13949
13950 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13953
13954 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13955
13956 Un-indent after "pass" and "return" statements (Bug#13888)
13957 * progmodes/python.el (python-indent-block-enders): New var.
13958 (python-indent-calculate-indentation): Use it.
13959
13960 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13961
13962 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13963 defun. Defining it as defalias could introduce too eager
13964 byte-compiler optimization. (Bug#14030)
13965
13966 2013-03-30 Chong Yidong <cyd@gnu.org>
13967
13968 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13969
13970 2013-03-30 Leo Liu <sdl.web@gmail.com>
13971
13972 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13973 (kmacro-execute-from-register): Pass the keyboard macro to
13974 kmacro-call-macro or repeating won't work correctly.
13975
13976 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13977
13978 * progmodes/subword.el: Back to using `forward-symbol'.
13979
13980 * subr.el (forward-whitespace, forward-symbol)
13981 (forward-same-syntax): Move from thingatpt.el.
13982
13983 2013-03-29 Leo Liu <sdl.web@gmail.com>
13984
13985 * kmacro.el (kmacro-to-register): New command.
13986 (kmacro-execute-from-register): New function.
13987 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13988
13989 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 * mpc.el: Use defvar-local and setq-local.
13992 (mpc--proc-connect): Connection failures are not bugs.
13993 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13994 (mpc-volume-map): Bind to the up-events.
13995
13996 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13997
13998 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13999 instead of `forward-symbol'.
14000
14001 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14004 (edebug--recursive-edit): Use it.
14005 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14006 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14007
14008 2013-03-28 Leo Liu <sdl.web@gmail.com>
14009
14010 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14011
14012 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14013
14014 * facemenu.el (list-colors-callback): New defvar.
14015 (list-colors-redisplay): New function.
14016 (list-colors-display): Install list-colors-redisplay as the
14017 revert-buffer-function. (Bug#14063)
14018
14019 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14020
14021 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14022 and suffixes don't overlap (bug#14061).
14023
14024 * case-table.el: Use lexical-binding.
14025 (case-table-get-table): New function.
14026 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14027
14028 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14029
14030 * progmodes/subword.el: Add `superword-mode' to do word motion
14031 over symbol_words (parallels and leverages `subword-mode' which
14032 does word motion inside MixedCaseWords).
14033
14034 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14035
14036 * eshell/em-unix.el: Move su and sudo to...
14037 * eshell/em-tramp.el: ...Eshell tramp module.
14038
14039 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14040
14041 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14042 Change return value to be a sexp. Delay `get-buffer' to after
14043 restoring the desktop (bug#13951).
14044
14045 2013-03-26 Leo Liu <sdl.web@gmail.com>
14046
14047 * register.el: Move semantic tag handling back to
14048 cedet/semantic/senator.el. (Bug#14052)
14049
14050 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14053 into the prompt either (bug#13963).
14054
14055 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14058 part of "(error-foo)".
14059
14060 2013-03-24 Juri Linkov <juri@jurta.org>
14061
14062 * replace.el (list-matching-lines-prefix-face): New defcustom.
14063 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14064 `occur-engine' if `face-differs-from-default-p' returns t.
14065 (occur-engine): Add `,' inside backquote construct to evaluate
14066 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14067 Pass `prefix-face' to the functions `occur-context-lines' and
14068 `occur-engine-add-prefix'.
14069 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14070 `prefix-face' and propertize the prefix with `prefix-face'.
14071 (Bug#14017)
14072
14073 2013-03-24 Leo Liu <sdl.web@gmail.com>
14074
14075 * nxml/rng-valid.el (rng-validate-while-idle)
14076 (rng-validate-quick-while-idle): Guard against deleted buffer.
14077 (Bug#13999)
14078
14079 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14080 is the last entry in kill-buffer-hook.
14081
14082 * files.el (kill-buffer-hook): Doc fix.
14083
14084 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14085
14086 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14087 Make it safe-local.
14088
14089 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14090
14091 2013-03-23 Leo Liu <sdl.web@gmail.com>
14092
14093 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14094 Remove.
14095
14096 * nxml/rng-valid.el (rng-validate-mode)
14097 (rng-after-change-function, rng-do-some-validation):
14098 * nxml/rng-maint.el (rng-validate-buffer):
14099 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14100 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14101 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14102 (nxml-extend-after-change-region): Use with-silent-modifications.
14103
14104 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14105 timer-idle-list.
14106
14107 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14108 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14109 timer-idle-list. (Bug#13999)
14110
14111 2013-03-23 Juri Linkov <juri@jurta.org>
14112
14113 * info.el (info-index-match): New face.
14114 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14115 main pattern and add text properties with the new face to matches
14116 in index entries relative to the beginning of the index entry.
14117 (Bug#14015)
14118
14119 2013-03-21 Eric Ludlam <zappo@gnu.org>
14120
14121 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14122 Inhibit read only while inserting objects.
14123
14124 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14125
14126 * progmodes/cfengine.el: Update docs to mention
14127 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14128 symbol motion. Remove "_" from the word syntax.
14129
14130 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14131
14132 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14133 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14134
14135 2013-03-20 Juri Linkov <juri@jurta.org>
14136
14137 * info.el (Info-next-reference-or-link)
14138 (Info-prev-reference-or-link): New functions.
14139 (Info-next-reference, Info-prev-reference): Use them.
14140 (Info-try-follow-nearest-node): Handle footnote navigation.
14141 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14142
14143 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14144
14145 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14146 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14147
14148 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14149
14150 Suppress unnecessary non-ASCII chatter during build process.
14151 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14152 (batch-skkdic-convert): Suppress most of the chatter.
14153 It's not needed so much now that machines are faster,
14154 and its non-ASCII component was confusing; see Dmitry Gutov in
14155 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14156
14157 2013-03-20 Leo Liu <sdl.web@gmail.com>
14158
14159 * ido.el (ido-chop): Fix bug#10994.
14160
14161 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14162
14163 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14164 Remove vars.
14165 (whitespace-color-on, whitespace-color-off):
14166 Use `font-lock-fontify-buffer' (Bug#13817).
14167
14168 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14169
14170 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14171 remapping in mode-line.
14172 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14173
14174 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14175
14176 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14177 value for `whitespace-line' face (Bug#13875).
14178 (whitespace-font-lock-keywords): Change description.
14179 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14180 the constructed keywords instead.
14181 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14182
14183 2013-03-19 Leo Liu <sdl.web@gmail.com>
14184
14185 * progmodes/compile.el (compilation-display-error): New command.
14186 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14187 C-o. (Bug#13992)
14188
14189 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14190
14191 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14192
14193 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14194
14195 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14196
14197 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14198
14199 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14200
14201 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14202 * net/tramp-gvfs.el (top):
14203 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14204 (tramp-handle-shell-command): Use it.
14205 (tramp-dissect-file-name): Raise an error when hostname is a
14206 method name, and neither method nor user is specified.
14207
14208 * net/trampver.el: Update release number.
14209
14210 2013-03-18 Leo Liu <sdl.web@gmail.com>
14211
14212 Make sure eldoc can be turned off properly.
14213 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14214 eldoc-mode.
14215 (eldoc-display-message-p): Revert last change.
14216 (eldoc-display-message-no-interference-p)
14217 (eldoc-print-current-symbol-info): Tweak.
14218
14219 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14220
14221 * doc-view.el (doc-view-new-window-function): Check the new window
14222 overlay's display property instead the char property of the
14223 buffer's first char. Use `with-selected-window' instead of
14224 `save-window-excursion' with `select-window'.
14225 (doc-view-document->bitmap): Check the current doc-view overlay's
14226 display property instead the char property of the buffer's first char.
14227
14228 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14229
14230 Automate the build of ja-dic.el (Bug#13984).
14231 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14232 from the input, rather than assume that it's been done for us by the
14233 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14234 the current date into a ja-dic.el comment, as that complicates
14235 regression testing.
14236
14237 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14238
14239 * whitespace.el: Fix double evaluation.
14240 (whitespace-space, whitespace-hspace, whitespace-tab)
14241 (whitespace-newline, whitespace-trailing, whitespace-line)
14242 (whitespace-space-before-tab, whitespace-indentation)
14243 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14244 obsolete defvars.
14245 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14246 (whitespace-color-on): Use a single font-lock-add-keywords call.
14247 Fix double-evaluation of face variables.
14248
14249 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14250
14251 * net/tramp-adb.el (tramp-adb-parse-device-names):
14252 Use `start-process' instead of `call-process'. Otherwise, the
14253 function might be blocked under MS Windows. (Bug#13299)
14254
14255 2013-03-17 Leo Liu <sdl.web@gmail.com>
14256
14257 Extend eldoc to display info in the mode-line. (Bug#13978)
14258 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14259 (eldoc-mode-line-string): New variable.
14260 (eldoc-minibuffer-message): New function.
14261 (eldoc-message-function): New variable.
14262 (eldoc-message): Use it.
14263 (eldoc-display-message-p)
14264 (eldoc-display-message-no-interference-p):
14265 Support eldoc-post-insert-mode.
14266
14267 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14268 (eval-expression): Run it.
14269
14270 2013-03-17 Roland Winkler <winkler@gnu.org>
14271
14272 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14273 strings in the list of return values.
14274
14275 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14276
14277 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14278 radix before checking for HMS forms.
14279
14280 2013-03-16 Leo Liu <sdl.web@gmail.com>
14281
14282 * progmodes/scheme.el: Add indentation and font-locking for λ.
14283 (Bug#13975)
14284
14285 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14286
14287 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14288 token before point (bug#13942).
14289
14290 2013-03-16 Leo Liu <sdl.web@gmail.com>
14291
14292 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14293
14294 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14295
14296 * startup.el (command-line-normalize-file-name): Fix handling of
14297 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14298 <xfq.free@gmail.com> in
14299 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14300
14301 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14302
14303 Sync with Tramp 2.2.7.
14304
14305 * net/trampver.el: Update release number.
14306
14307 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14308
14309 * doc-view.el: Fix bug#13887.
14310 (doc-view-insert-image): Don't modify overlay associated to
14311 non-live windows, and implement horizontal centering of image in
14312 case it's smaller than the window.
14313 (doc-view-new-window-function): Force redisplay of new windows on
14314 doc-view buffers.
14315
14316 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14317
14318 * saveplace.el (save-place-alist-to-file): Don't sort
14319 `save-place-alist', just pretty-print it (bug#13882).
14320
14321 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14322
14323 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14324 Check whether `default-file-name-coding-system' is bound.
14325 It isn't in XEmacs.
14326
14327 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14330 backquotes for `obsolete' (bug#13929).
14331
14332 * international/mule.el (find-auto-coding): Include file name in
14333 obsolescence warning (bug#13922).
14334
14335 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14336
14337 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14338 for CFEngine 3-specific indentation.
14339 (cfengine3-indent-line): Use it. Fix up category regex.
14340 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14341
14342 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14343
14344 * type-break.el (type-break-file-name):
14345 * textmodes/remember.el (remember-data-file):
14346 * strokes.el (strokes-file):
14347 * shadowfile.el (shadow-initialize):
14348 * saveplace.el (save-place-file):
14349 * ps-bdf.el (bdf-cache-file):
14350 * progmodes/idlwave.el (idlwave-config-directory):
14351 * net/quickurl.el (quickurl-url-file):
14352 * international/kkc.el (kkc-init-file-name):
14353 * ido.el (ido-save-directory-list-file):
14354 * emulation/viper.el (viper-custom-file-name):
14355 * emulation/vip.el (vip-startup-file):
14356 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14357 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14358
14359 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14360
14361 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14362 * language/thai-word.el: Switch to UTF-8.
14363
14364 See ChangeLog.16 for earlier changes.
14365
14366 ;; Local Variables:
14367 ;; coding: utf-8
14368 ;; End:
14369
14370 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14371
14372 This file is part of GNU Emacs.
14373
14374 GNU Emacs is free software: you can redistribute it and/or modify
14375 it under the terms of the GNU General Public License as published by
14376 the Free Software Foundation, either version 3 of the License, or
14377 (at your option) any later version.
14378
14379 GNU Emacs is distributed in the hope that it will be useful,
14380 but WITHOUT ANY WARRANTY; without even the implied warranty of
14381 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14382 GNU General Public License for more details.
14383
14384 You should have received a copy of the GNU General Public License
14385 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.