Doc tweaks related to file locking
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-26 Glenn Morris <rgm@gnu.org>
2
3 * files.el (lock-buffer, unlock-buffer, file-locked-p):
4 Remove fallback aliases, since they are always defined now.
5
6 2014-03-24 Daniel Colascione <dancol@dancol.org>
7
8 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
9 instead of cl-loop search function.
10
11 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
12
13 * calendar/parse-time.el (parse-time-iso8601-regexp)
14 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
15 it more generally.
16
17 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
18
19 * net/dns.el (network-interface-list): Define for XEmacs.
20
21 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
22
23 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
24 the network interfaces changed.
25 (dns-query): Use it to flush the data.
26
27 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
28
29 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
30
31 2014-03-23 Daniel Colascione <dancol@dancol.org>
32
33 Change subword-mode to use `find-word-boundary-function-table' and
34 replace `capitalized-words-mode'. Also, convert to lexical
35 binding.
36
37 * progmodes/cap-words.el: Delete now-obsolete file.
38 * progmodes/subword.el: Reimplement using
39 `find-word-boundary-function-table'.
40 (subword-mode-map): Hollow out.
41 (capitalized-words-mode): Define as obsolete alias for
42 `subword-mode'.
43 (subword-mode,superword-mode): Tweak documentation to reflect new
44 implementation; call `subword-setup-buffer'.
45 (subword-forward,subword-capitalize): Add underscore to indicate
46 unused variable.
47 (subword-find-word-boundary-function-table): New constant.
48 (subword-empty-char-table): New constant.
49 (subword-setup-buffer): New function.
50 (subword-find-word-boundary): New function.
51
52 2014-03-23 Daniel Colascione <dancol@dancol.org>
53
54 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
55 list to look for keyword arguments instead of `memq', fixing
56 (Bug#3647) --- unfortunately, only for freshly-compiled code.
57 Please make bootstrap.
58
59 2014-03-22 Glenn Morris <rgm@gnu.org>
60
61 * dired.el (dired-read-regexp): Make obsolete.
62 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
63 (dired-flag-files-regexp):
64 * dired-aux.el (dired-mark-read-regexp):
65 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
66
67 * startup.el (fancy-startup-text):
68 * help.el (describe-gnu-project): Visit online info about GNU project.
69
70 * help-fns.el (help-fns--interactive-only): New function.
71 (help-fns-describe-function-functions): Add the above function.
72 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
73 (next-line, previous-line): Remove hand-written interactive-only
74 information from doc strings, it is auto-generated now.
75 * bookmark.el (bookmark-write):
76 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
77 (epa-mail-import-keys): Mark interactive-only,
78 and remove hand-written interactive-only information from doc strings.
79 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
80 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
81 * files.el (not-modified):
82 * simple.el (mark-whole-buffer): Mark interactive-only.
83
84 * emacs-lisp/byte-run.el (defun-declarations-alist):
85 Add interactive-only. Doc tweak.
86 (macro-declarations-alist): Doc tweak.
87 * subr.el (declare): Doc tweak (add xref to manual).
88 * comint.el (comint-run):
89 * files.el (insert-file-literally, insert-file):
90 * replace.el (replace-string, replace-regexp):
91 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
92 (delete-forward-char, goto-line, insert-buffer, next-line)
93 (previous-line): Set interactive-only via declare.
94
95 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
96
97 * emacs-lisp/package.el (package-desc): Use the contents of the
98 quoted form, not its cdr. (Bug#16873)
99
100 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
101
102 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
103 benefit of doc.c; change parameter profile to match the X function.
104
105 2014-03-22 Leo Liu <sdl.web@gmail.com>
106
107 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
108 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
109
110 2014-03-21 Richard Stallman <rms@gnu.org>
111
112 * battery.el (battery-linux-sysfs): Search for each field
113 from the beginning of the buffer.
114
115 * subr.el (set-transient-map): Clear out function and value
116 of the temporary symbol when we're done with it.
117
118 * mail/rmailsum.el (rmail-summary-delete-forward):
119 Optimize case of reaching end and handling count.
120 (rmail-summary-mark-deleted): Optimize when N is current msg.
121 Don't create new summary line.
122 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
123 (rmail-summary-undelete-many): Rewrite for speed.
124 (rmail-summary-msg-number): New function.
125
126 * mail/rmail.el (rmail-delete-message): Update summary.
127 (rmail-undelete-previous-message): Handle repeat count arg.
128 (rmail-delete-backward, rmail-delete-forward): Likewise.
129
130 2014-03-21 Daniel Colascione <dancol@dancol.org>
131
132 * mail/emacsbug.el (report-emacs-bug): Include memory usage
133 information in bug reports.
134
135 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
136
137 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
138 and `tramp-copy-env'.
139
140 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
141 (tramp-maybe-open-connection): Handle `tramp-login-env'.
142
143 2014-03-21 Glenn Morris <rgm@gnu.org>
144
145 * electric.el (electric-indent-post-self-insert-function): Add doc.
146
147 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
148
149 * emacs-lisp/package.el (package-compute-transaction):
150 Use `version-list-<=' to compare the requirement version against
151 the version of package already to be installed. Update the error
152 message. (Bug#16826)
153
154 * progmodes/ruby-mode.el (ruby-smie-rules):
155 Add indentation rule for ` @ '. (Bug#17050)
156
157 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
158
159 * align.el (align-regexp): Remove superfluous backslash.
160
161 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
162 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
163 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
164 Fix docstring typos.
165 (ffap-next): Use C-u in docstring.
166 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
167 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
168 Remove superfluous backslashes.
169 (ffap-string-at-point): Reflow docstring.
170
171 * server.el (server-host): Reflow docstring.
172 (server-unload-function): Fix docstring typo.
173 (server-eval-at): Remove superfluous backslash.
174
175 * skeleton.el (skeleton-insert): Remove superfluous backslash.
176 (skeleton-insert): Doc fix.
177 (skeleton-insert): Reflow docstring.
178
179 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
180 (tty-color-approximate, tty-color-by-index, tty-color-values)
181 (tty-color-desc): Remove superfluous backslashes.
182
183 2014-03-21 Glenn Morris <rgm@gnu.org>
184
185 * cus-start.el (history-length): Bump :version.
186
187 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
188 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
189 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
190 Don't set `make-backup-files'.
191
192 * info.el (info--prettify-description): New function,
193 to give info-finder descriptions consistent case, punctuation.
194 (Info-finder-find-node): Use it. Sort packages.
195 Refer to "description" rather than "commentary".
196
197 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
198
199 * frameset.el (frameset--print-register): New function.
200 (frameset-to-register): Use it.
201
202 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
203
204 * progmodes/hideif.el (hif-string-to-number): New function.
205 (hif-tokenize): Use it to understand non-decimal floats.
206
207 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
208
209 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
210
211 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * electric.el (electric-newline-and-maybe-indent): New command.
214 Bind it globally to C-j.
215 (electric-indent-mode): Don't mess with the global map any more.
216 Don't drop the post-self-insert-hook is some buffer is still using it
217 (bug#16770).
218 * bindings.el (global-map): Remove C-j binding.
219
220 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
221 the docstring of functions advised before dumping (bug#16993).
222
223 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
224
225 * ps-print.el (ps-generate-postscript-with-faces):
226 Explicitly deactivate the mark (bug#16866).
227 * simple.el (deactivate-mark): Update region highlight.
228
229 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
230
231 * emacs-lisp/package.el (describe-package-1):
232 Decode commentary (bug#16733).
233
234 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
235
236 * custom.el (defcustom): Doc fix: recommend avoiding destructive
237 modification of the value argument of :set (bug#16755).
238
239 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * simple.el (newline-and-indent): Do autofill (bug#17031).
242
243 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
244
245 * newcomment.el (comment-normalize-vars): Only add escaping check
246 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
247 (comment-beginning): Use `narrow-to-region' instead of moving back
248 one character.
249 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
250 (comment-start-skip): Update the docstring.
251
252 2014-03-18 Richard Stallman <rms@gnu.org>
253
254 * dired.el (dired-display-file): Force use of other window.
255
256 2014-03-18 Daniel Colascione <dancol@dancol.org>
257
258 * startup.el (tty-handle-args): Remove debug message from 2007.
259
260 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
263 (advice--make-interactive-form): Use it to avoid (auto)loading function.
264 (advice--make-1, advice-add, advice-remove):
265 Remove braindead :advice-pending hack.
266
267 2014-03-17 Glenn Morris <rgm@gnu.org>
268
269 * calendar/calendar.el (calendar-generate-month): Apply weekend
270 face to the right days; fixes 2013-08-06 change. (Bug#17028)
271
272 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
273
274 * net/tramp.el (tramp-action-out-of-band): Read pending output.
275 (tramp-call-process): Trace also DESTINATION.
276
277 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
278 Quote file names when they are local. Remove superfluous trace.
279
280 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
281
282 * newcomment.el (comment-beginning): If `comment-start-skip'
283 doesn't match, move back one char and try again. (Bug#16971)
284
285 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
286 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
287 Set `comment-start-skip' to a simpler value that doesn't try to
288 check if the semicolon is escaped (this is handled by
289 `syntax-ppss' now). (Bug#16971)
290
291 * progmodes/scheme.el (scheme-mode-variables): Same.
292
293 2014-03-16 Martin Rudalics <rudalics@gmx.at>
294
295 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
296 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
297 current (Bug#16816, Bug#17007).
298 (with-current-buffer-window): New macro doing the same as
299 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
300 * help.el (help-print-return-message): Warn in doc-string to not
301 use this in `with-help-window'.
302 (describe-bindings-internal): Call `describe-buffer-bindings'
303 from within help buffer. See Juanma's scenario in (Bug#16816).
304 (with-help-window): Update doc-string.
305 * dired.el (dired-mark-pop-up):
306 * files.el (save-buffers-kill-emacs):
307 * register.el (register-preview): Use `with-current-buffer-window'
308 instead of `with-temp-buffer-window'.
309
310 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
311
312 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
313 Implement inserting into current buffer, documented in their docstrings.
314 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
315 (rst-section-tree-point, rst-forward-section, rst-indent)
316 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
317 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
318 (rst-font-lock-handle-adornment-pre-match-form)
319 (rst-repeat-last-character): Reflow docstrings.
320 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
321 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
322 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
323 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
324 Fix docstring typos.
325 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
326 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
327 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
328
329 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
330
331 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
332 for compatibility with other ports.
333 (ns-initialize-window-system): Use it. It is set in term/common-win.el
334 from the -xrm command line argument, but in the Nextstep port its value
335 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
336
337 * progmodes/python.el (defconst, python-syntax-count-quotes)
338 (python-indent-region, python-indent-shift-right)
339 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
340 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
341 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
342 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
343 (inferior-python-mode, python-shell-make-comint, run-python-internal)
344 (python-shell-buffer-substring, python-shell-send-buffer)
345 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
346 (python-completion-complete-at-point, python-fill-docstring-style)
347 (python-eldoc-function, python-imenu-format-item-label)
348 (python-imenu-format-parent-item-label)
349 (python-imenu-format-parent-item-jump-label)
350 (python-imenu--build-tree, python-imenu-create-index)
351 (python-imenu-create-flat-index): Fix docstring typos.
352 (python-indent-context, python-shell-prompt-regexp, run-python):
353 Remove superfluous backslashes.
354 (python-indent-line, python-nav-beginning-of-defun)
355 (python-shell-get-buffer, python-shell-get-process)
356 (python-info-current-defun, python-info-current-line-comment-p)
357 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
358 (python-indent-post-self-insert-function, python-shell-send-file)
359 (python-shell-completion-get-completions)
360 (python-shell-completion-complete-or-indent)
361 (python-eldoc--get-doc-at-point): Reflow docstrings.
362
363 2014-03-14 Glenn Morris <rgm@gnu.org>
364
365 * emacs-lisp/package.el (package-menu-mode-map):
366 Replace use of obsolete function alias. Tweak menu item text.
367
368 * info.el (Info-finder-find-node):
369 Ignore the `emacs' metapackage. (Bug#10813)
370
371 * finder.el (finder-list-matches): Include unversioned packages
372 in the result of a keyword search.
373
374 * finder.el (finder--builtins-descriptions): New constant.
375 (finder-compile-keywords): Use finder--builtins-descriptions.
376
377 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
378
379 * simple.el (blink-matching-paren): Describe the new value,
380 `jump', enabling the old behavior.
381 (blink-matching-open): Use that value. (Bug#17008)
382
383 2014-03-14 Glenn Morris <rgm@gnu.org>
384
385 * finder.el (finder-no-scan-regexp): Add leim-list.
386 (finder-compile-keywords):
387 Don't skip files with same basename. (Bug#14010)
388 * Makefile.in (setwins_finder): New, excluding leim.
389 (finder-data): Use setwins_finder.
390
391 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
392 (help-function-arglist, help-make-usage): Move from here...
393 * help.el (help-split-fundoc, help-add-fundoc-usage)
394 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
395 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
396
397 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
398
399 * net/socks.el (socks, socks-override-functions)
400 (socks-find-services-entry):
401 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
402 (hif-find-ifdef-block):
403 * progmodes/modula2.el (m2-indent): Fix docstring typos.
404
405 * net/tls.el (tls-program): Reflow docstring.
406
407 * progmodes/pascal.el (pascal-mode-abbrev-table)
408 (pascal-imenu-generic-expression, pascal-auto-endcomments)
409 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
410 (pascal-outline-mode): Fix docstring typos.
411 (pascal-mode): Let define-derived-mode document mode hook.
412 (pascal-uncomment-area): Reflow.
413 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
414
415 * progmodes/opascal.el (opascal-compound-block-indent)
416 (opascal-case-label-indent): Fix docstring typos.
417 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
418
419 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
420
421 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
422 Fontify multiple adjacent negation chars. (Bug#17004)
423
424 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
425
426 * emacs-lisp/package.el (package--prepare-dependencies):
427 Accept requirements without explicit version (bug#14941).
428
429 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
430
431 * register.el (register-separator, copy-to-register): Doc fixes.
432 (register-preview-default): Remove unnecessary call to concat.
433
434 * frameset.el (frameset-restore): When checking for a visible frame,
435 use the action map instead of calling visible-frame-list.
436
437 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
438
439 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
440
441 2014-03-12 Martin Rudalics <rudalics@gmx.at>
442
443 * window.el (fit-frame-to-buffer): Get maximum width from
444 display's width instead of height.
445
446 2014-03-12 Glenn Morris <rgm@gnu.org>
447
448 * desktop.el (desktop-restore-frames)
449 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
450 (desktop-restore-reuses-frames): Doc tweaks.
451
452 * electric.el (electric-indent-mode): Doc fix.
453
454 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
455
456 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
457 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
458 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
459 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
460 (cvs-dired-use-hook): Fix docstring typos.
461 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
462 Doc fixes.
463
464 * vc/pcvs-defs.el (cvs-auto-remove-handled)
465 (cvs-auto-remove-directories, cvs-default-ignore-marks)
466 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
467 (cvs-execute-single-dir): Fix docstring typos.
468
469 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
470 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
471
472 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
473
474 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
475 Fix docstring typos.
476
477 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
478
479 * frameset.el (frameset--jump-to-register): Add autoload; it could be
480 called from jump-to-register after unloading the frameset package.
481
482 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
485 (bug#16975). Deactivate the mark before setting it to nil.
486 (activate-mark): Do nothing if region is already active.
487
488 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
489
490 * frameset.el (frameset--target-display): Remove definition; declare.
491 (frameset-save, frameset-restore): Let-bind frameset--target-display.
492
493 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
496 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
497 when the advice is pending.
498 (advice-remove): Remove this marker when not needed any more.
499
500 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
501
502 * frameset.el: Separate options for reusing frames and cleaning up.
503 (frameset--reuse-list): Remove definition; declare.
504 (frameset--action-map): Declare.
505 (frameset--find-frame-if): Doc fix.
506 (frameset--restore-frame): Cache frame action.
507 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
508 how to clean up the frame list after restoring. Remove cleaning
509 options from REUSE-FRAMES. Change all keyword values to symbols.
510 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
511
512 * desktop.el (desktop-restore-forces-onscreen)
513 (desktop-restore-reuses-frames): Use non-keyword values.
514 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
515
516 2014-03-10 Glenn Morris <rgm@gnu.org>
517
518 * files.el (find-file): Doc fix: update info node name.
519
520 * emacs-lisp/advice.el (ad-add-advice, defadvice):
521 Doc fix: remove references to deleted info nodes.
522
523 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
524
525 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
526 Do not add `nil' to the environment, when there's no remote `locale'.
527 (tramp-find-inline-encoding): Check, that the remote host has
528 installed perl, before sending scripts.
529
530 2014-03-10 Leo Liu <sdl.web@gmail.com>
531
532 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
533 Clear eldoc-last-message. (Bug#16920)
534
535 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
538 (bug#14430).
539
540 2014-03-09 Juri Linkov <juri@jurta.org>
541
542 * ansi-color.el (ansi-color-names-vector): Copy default colors
543 from `xterm-standard-colors' that look well on the default white
544 background (and also on the black background) to avoid illegible
545 color combinations like yellow-on-white and white-on-white.
546 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
547
548 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
549
550 * frameset.el (frameset-restore): When no frame is visible, do not
551 generate a list of frames, just make visible the selected one.
552
553 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
554
555 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
556 it only contains the repository root. (Bug#16897)
557
558 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
559
560 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
561 only when `remote-file-name-inhibit-cache' is nil.
562 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
563
564 2014-03-06 Martin Rudalics <rudalics@gmx.at>
565
566 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
567 Fix doc-strings.
568 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
569 fit-frame-to-buffer variable. Fix doc-string.
570 (fit-window-to-buffer): Set ONLY argument in call of
571 fit-frame-to-buffer. Fix doc-string.
572
573 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
574
575 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
576 (tramp-action-password): Clear password cache if needed.
577 (tramp-read-passwd): Do not clear password cache.
578
579 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
580 cache unless it is the first password request.
581
582 2014-03-06 Glenn Morris <rgm@gnu.org>
583
584 * simple.el (newline): Doc tweak.
585
586 * emacs-lisp/shadow.el (load-path-shadows-find):
587 Ignore dir-locals. (Bug#12357)
588
589 2014-03-05 Glenn Morris <rgm@gnu.org>
590
591 * files.el (interpreter-mode-alist):
592 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
593
594 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
595
596 * frameset.el (frameset--initial-params): Filter out null entries.
597
598 2014-03-05 Martin Rudalics <rudalics@gmx.at>
599
600 * window.el (window-min-height, window-min-width):
601 Rewrite doc-strings.
602 (window-body-size): Add PIXELWISE argument to make it consistent
603 with its callees.
604
605 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
606
607 * finder.el (finder-mode-map, finder-mode-syntax-table):
608 Revert part of 2014-02-28 change.
609
610 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
611
612 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
613 (eww-setup-buffer): Clear next/prev/etc more reliably.
614 (eww-textarea-map): [tab] doesn't work on tty.
615 Reported by Mario Lang.
616
617 * net/shr.el (shr-map): Ditto.
618
619 2014-03-04 Glenn Morris <rgm@gnu.org>
620
621 * minibuffer.el (completion-hilit-commonality):
622 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
623
624 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
625
626 * hilit-chg.el (hilit-chg-unload-function): New function.
627 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
628 (hilit-chg-map-changes): Prefer cardinal number to digit.
629 (hilit-chg-display-changes): Reflow docstring.
630 (highlight-changes-rotate-faces): Remove superfluous backslash.
631
632 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
633
634 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
635 `tramp-send-command-and-check'.
636
637 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
638
639 * hexl.el (hexl-address-region, hexl-ascii-region)
640 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
641 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
642 (hexl-forward-word, hexl-previous-line, hexl-next-line):
643 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
644 (hexl-mode): Doc fix.
645 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
646 (hexl-mode-ruler): Fix typos in docstrings.
647
648 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
649 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
650 Remove superfluous backslashes.
651 (strokes-last-stroke, strokes-global-map, strokes-mode):
652 Reflow docstrings.
653 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
654 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
655 (strokes-distance-squared, strokes-global-set-stroke)
656 (strokes-global-set-stroke-string): Doc fixes.
657 (strokes-help): Fix typos; reflow docstring.
658
659 2014-03-04 Martin Rudalics <rudalics@gmx.at>
660
661 * window.el (window-in-direction): Fix doc-string.
662
663 2014-03-04 Glenn Morris <rgm@gnu.org>
664
665 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
666 Explicit error if no grammar.
667 (smie-config-save): Doc fix. Fix quote typo.
668
669 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
672 electric-indent-mode-hook if we obey electric-indent-mode.
673 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
674 decide whether we obey electric-indent-mode.
675 (c-change-set-fl-decl-start, c-extend-after-change-region):
676 Silence warnings.
677 (c-electric-indent-mode-hook): Assume we do want to obey
678 electric-indent-mode.
679
680 * electric.el (electric-indent-mode-has-been-called): Remove.
681 (electric-indent-mode): Fix accordingly.
682
683 * files.el (hack-local-variables): Mention file name in warning.
684
685 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
686
687 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
688
689 * binding.el: Add comment describing why C-d binds to `delete-char'.
690 * simple.el (delete-forward-char): Mark as interactive-only.
691
692 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
693
694 * icomplete.el (icomplete-completions):
695 Follow-up to 2014-03-01 change.
696
697 * icomplete.el: Miscellaneous doc fixes.
698 Use Icomplete everywhere instead of icomplete for consistency.
699 (icomplete-max-delay-chars): Fix typo.
700 (icomplete-mode): Use \[].
701 (icomplete-tidy, icomplete-exhibit): Reflow.
702 (icomplete-minibuffer-setup-hook, icomplete-completions):
703 Remove superfluous backlashes.
704
705 * ido.el: Miscellaneous doc fixes.
706 Use Ido everywhere instead of ido or `ido' for consistency.
707 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
708 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
709 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
710 (ido-separator): Extract obsolescence info from docstring and declare
711 with make-obsolete-variable.
712 (ido-minibuffer-setup-hook): Simplify example.
713 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
714 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
715 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
716 (ido-everywhere): Reflow docstring.
717 (ido-toggle-vc): Doc fix.
718 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
719 of long list of keybindings.
720
721 2014-03-03 Glenn Morris <rgm@gnu.org>
722
723 * frame.el (display-pixel-height, display-pixel-width)
724 (display-mm-dimensions-alist, display-mm-height)
725 (display-mm-width): Doc tweaks.
726
727 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
728
729 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
730 case of undo in region.
731
732 2014-03-02 Martin Rudalics <rudalics@gmx.at>
733
734 * window.el (fit-window-to-buffer): Fix argument in window-size
735 call when window is horizontally combined.
736
737 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
738
739 * icomplete.el (icomplete-completions): Use string-width.
740 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
741
742 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
743
744 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
745 Highlight regexp options. (Bug#16914)
746
747 2014-03-01 Martin Rudalics <rudalics@gmx.at>
748
749 * window.el (window--max-delta-1): Round down when calculating
750 how many lines/columns we can get from a window.
751
752 2014-03-01 Glenn Morris <rgm@gnu.org>
753
754 * isearch.el (search-invisible): Doc fix.
755
756 * minibuffer.el (completion-hilit-commonality):
757 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
758 * comint.el (comint-dynamic-list-completions): Doc fix.
759 * comint.el (comint-dynamic-list-completions):
760 * filecache.el (file-cache-minibuffer-complete):
761 * tempo.el (tempo-display-completions):
762 * eshell/em-hist.el (eshell-list-history):
763 Replace use of obsolete argument of display-completion-list.
764
765 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
766
767 * icomplete.el (icomplete-completions):
768 Revert back to using "..." when ?… cannot be displayed.
769
770 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
771
772 * finder.el (finder-unload-function): New function.
773
774 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
775
776 * dframe.el (dframe-detach):
777 * find-dired.el (find-dired, find-name-dired):
778 * finder.el (finder-mode-map, finder-mode-syntax-table)
779 (finder-headmark, finder-select, finder-mouse-select):
780 Fix docstring typos.
781
782 2014-02-28 Martin Rudalics <rudalics@gmx.at>
783
784 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
785 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
786 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
787 Fix doc-string based on a suggestion by Nicolas Richard
788 <theonewiththeevillook@yahoo.fr>.
789 * help.el (with-help-window): Fix doc-string.
790
791 2014-02-28 Ivan Kanis <ivan@kanis.fr>
792
793 * net/shr.el (shr-image-animate): New option.
794 (shr-put-image): Respect shr-image-animate.
795
796 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
797
798 * net/tramp-adb.el (tramp-adb-parse-device-names):
799 Use `accept-process-output'.
800 (tramp-adb-handle-file-truename): Cache the localname only.
801 (tramp-adb-handle-make-directory)
802 (tramp-adb-handle-delete-directory): Flush file properties correctly.
803 (tramp-adb-handle-set-file-modes): Do not raise an error when file
804 modes cannot be changed.
805
806 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
807 file properties of symlinks.
808
809 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
810
811 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
812 required/optional fields to match development biblatex. (Bug#16781)
813
814 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
815
816 * saveplace.el (toggle-save-place):
817 Fix argument handling. (Bug#16673)
818
819 2014-02-28 Glenn Morris <rgm@gnu.org>
820
821 * minibuffer.el (completions-first-difference)
822 (completions-common-part, completion-hilit-commonality): Doc fixes.
823
824 2014-02-28 Karl Berry <karl@gnu.org>
825
826 * info.el (Info-mode-map): Add H for describe-mode,
827 to synchronize with standalone Info.
828
829 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
830
831 * progmodes/sql.el (sql-interactive-mode):
832 Avoid setting global comint-input-ring-separator. (Bug#16814)
833
834 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
835
836 * net/dbus.el (dbus--init-bus): Declare function.
837 (dbus-path-local, dbus-interface-local): New defconst.
838 (dbus-init-bus): Use them.
839 (dbus-return-values-table): Extend doc.
840 (dbus-handle-bus-disconnect): Extend error message.
841
842 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
843
844 * subr.el (y-or-n-p): Fix double space issue in message.
845
846 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
847
848 * net/tramp.el (tramp-call-process): Improve trace message.
849 (tramp-handle-insert-file-contents): Trace error case.
850
851 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
852 <insert-directory>: Use `tramp-handle-insert-directory'.
853 (tramp-adb-handle-insert-directory): Remove function.
854 (tramp-adb-send-command-and-check): New defun, replacing
855 `tramp-adb-command-exit-status'. Change all callees.
856 (tramp-adb-handle-file-attributes)
857 (tramp-adb-handle-directory-files-and-attributes): Use it.
858 (tramp-adb-ls-output-name-less-p):
859 Use `directory-listing-before-filename-regexp'.
860 (tramp-adb-handle-delete-directory): Flush also file properties of
861 the truename of directory.
862 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
863 (tramp-adb-handle-file-local-copy): Make the local copy readable.
864 (tramp-adb-handle-write-region): Implement APPEND.
865 (tramp-adb-handle-rename-file): Make it more robust. Flush file
866 properties correctly.
867 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
868 variables. Check for connected devices only when needed.
869
870 2014-02-27 Glenn Morris <rgm@gnu.org>
871
872 * minibuffer.el (completion-table-dynamic)
873 (completion-table-with-cache): Doc fixes.
874
875 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
876 (completing-read-multiple): Doc fixes.
877
878 2014-02-27 Daniel Colascione <dancol@dancol.org>
879
880 * minibuffer.el (completion--nth-completion): Fix indentation.
881
882 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
883 explicit tramp path is empty.
884
885 2014-02-27 Glenn Morris <rgm@gnu.org>
886
887 * emacs-lisp/crm.el (completing-read-multiple):
888 Empower help-enable-auto-load.
889
890 2014-02-26 Glenn Morris <rgm@gnu.org>
891
892 * startup.el (command-line): Don't init the tty in daemon mode.
893
894 Avoid calling tty-setup-hook twice, eg if a term file
895 explicitly calls tty-run-terminal-initialization. (Bug#16859)
896 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
897 (tty-create-frame-with-faces): Use it.
898 * startup.el (command-line): Pass run-hook argument
899 to tty-run-terminal-initialization.
900
901 * dired.el (dired-restore-desktop-buffer): Demote errors;
902 eg in case a glob match fails. (Bug#16884)
903
904 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
905
906 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
907 error from `read-from-string'. (Bug#16850)
908
909 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
910 result of `completing-read' in the interactive form. (Bug#16854)
911
912 2014-02-25 Glenn Morris <rgm@gnu.org>
913
914 * image.el (image-animate, image-animate-timeout):
915 Stop animating images in dead buffers. (Bug#16878)
916
917 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
918
919 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
920 Doc fixes.
921 * startup.el (term-setup-hook): Doc fix. Make obsolete.
922 * term/sun.el (sun-raw-prefix-hooks):
923 Use tty-setup-hook instead of term-setup-hook.
924 (terminal-init-sun): Construct message from bytecomp plist.
925 * term/wyse50.el (enable-arrow-keys): Doc fix.
926
927 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
928
929 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
930 Fix docstring typos.
931
932 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
933
934 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
935
936 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
937
938 * minibuffer.el (completion--try-word-completion):
939 Fix error when completing M-x commands (bug#16808).
940
941 2014-02-24 Leo Liu <sdl.web@gmail.com>
942
943 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
944
945 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
946
947 * apropos.el (apropos-print): Avoid formatting error when
948 apropos-do-all and apropos-compact-layout are both t.
949
950 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
951
952 * apropos.el (apropos-property, apropos-all-words-regexp)
953 (apropos-true-hit, apropos-variable, apropos-print):
954 Fix docstring typos, and remove obsolete comment.
955
956 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
957
958 * net/tramp-sh.el (tramp-sh-handle-file-truename):
959 Preserve trailing "/". (Bug#16851)
960
961 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
962
963 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
964 after `=>' (bug#16811).
965 (ruby-smie-rules): Handle the inconsistent second element of the
966 list returned by `smie-indent--parent'.
967 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
968 method call.
969
970 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
971
972 * elec-pair.el (electric-pair-text-syntax-table)
973 (electric-pair-syntax-info, electric-pair--syntax-ppss)
974 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
975 (electric-pair--looking-at-unterminated-string-p): Doc fix.
976 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
977
978 2014-02-22 Glenn Morris <rgm@gnu.org>
979
980 * imenu.el (imenu--generic-function): Doc fix.
981
982 * register.el (frame-configuration-to-register): Make obsolete.
983
984 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
985
986 * desktop.el (desktop-save-buffer-p): Do not fail when
987 desktop-files-not-to-save is nil. Return t for true result
988 as the doc says.
989
990 2014-02-22 Daniel Colascione <dancol@dancol.org>
991
992 * net/secrets.el (secrets-create-item, secrets-search-items):
993 Check that attribute values are strings, avoiding the construction
994 of invalid dbus messages.
995
996 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
997
998 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
999 defun-declarations-alist.
1000
1001 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1004 (bug#16829).
1005
1006 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1007
1008 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1009 (whitespace-newline, whitespace-trailing, whitespace-line)
1010 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1011 (whitespace-space-after-tab): Fix typo in docstrings.
1012
1013 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1014
1015 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1016
1017 * electric.el (electric-indent-functions-without-reindent):
1018 Add `yaml-indent-line'.
1019
1020 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1021
1022 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1023 It has done nothing for years; should be removed after the release.
1024
1025 * simple.el (choose-completion): Fix docstring typo.
1026 (read-quoted-char-radix): Remove unneeded * in docstring.
1027 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1028 Don't escape parentheses unnecessarily in docstrings.
1029
1030 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1031
1032 Fix handling of window-min-height/-width (Bug#16738).
1033 * window.el (window--dump-window, window--dump-frame):
1034 New functions.
1035 (window--min-size-1): Account for window dividers.
1036 When window-resize-pixelwise is nil, delay rounding till after the
1037 sum of the window components has been calculated.
1038 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1039 nil make sure at least one text line and two text columns remain
1040 fully visible.
1041 (window-resize): Signal an error when window-resize-apply fails.
1042 (window--resize-child-windows): Fix calculation of by how many
1043 pixels a window can still be shrunk via window-new-normal.
1044 (adjust-window-trailing-edge): Call window--resizable with
1045 correct TRAIL argument.
1046
1047 (with-temp-buffer-window): Don't evaluate BODY within
1048 with-current-buffer (Bug#16816).
1049
1050 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1051
1052 * net/tramp.el (tramp-check-cached-permissions):
1053 Call `file-attributes' with `suffix' being a symbol but a string.
1054
1055 2014-02-21 Daniel Colascione <dancol@dancol.org>
1056
1057 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1058 (dbus-init-bus): New function: call into dbus-init-bus-1
1059 and installs a handler for the disconnect signal.
1060 (dbus-call-method): Rewrite to look for result in cons.
1061 (dbus-call-method-handler): Store result in cons.
1062 (dbus-check-event): Recognize events with nil sender as valid.
1063 (dbus-handle-bus-disconnect): New function. React to bus
1064 disconnection signal by synthesizing dbus error for each
1065 pending synchronous or asynchronous call.
1066 (dbus-notice-synchronous-call-errors): New function.
1067 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1068 is true, not all the time.
1069
1070 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1071
1072 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1073 Remove obsolescence declarations, these variables do not exist anymore.
1074
1075 * savehist.el (savehist-save-minibuffer-history)
1076 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1077 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1078 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1079 mostly, refer to "Savehist mode" when talking about the mode,
1080 and not the function.
1081
1082 * saveplace.el (save-place): Remove redundant info in docstring.
1083 (save-place-forget-unreadable-files, toggle-save-place)
1084 (save-place-forget-unreadable-files, save-place-dired-hook):
1085 Fix typos and remove unneeded backslashes.
1086
1087 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1088
1089 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1090 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1091
1092 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1093 <insert-directory>: Use `tramp-handle-insert-directory'.
1094 (tramp-gvfs-handle-insert-directory): Remove function.
1095
1096 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1097 Call `tramp-handle-insert-directory'.
1098
1099 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1100
1101 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1102 before the start of buffer/region (bug#16799).
1103
1104 2014-02-20 Glenn Morris <rgm@gnu.org>
1105
1106 * isearch.el (search-invisible): Doc fix.
1107
1108 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1109
1110 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1111 (bug#16657).
1112
1113 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * frameset.el (frameset-restore): Delay removing an old frame's
1116 duplicate id until the new frame has been correctly created.
1117
1118 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1119
1120 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1121 (tramp-check-cached-permissions): Call `file-attributes' if the
1122 cache is empty.
1123
1124 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1125 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1126
1127 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1128 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1129 (tramp-gvfs-maybe-open-connection): Set always connection
1130 properties, even if target is mounted already.
1131
1132 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1133 Set tramp-autoload cookie.
1134 (tramp-get-remote-touch): New defun.
1135 (tramp-sh-handle-set-file-times): Use it.
1136 (tramp-sh-handle-directory-files-and-attributes):
1137 Use `tramp-handle-directory-files-and-attributes' if neither stat
1138 nor perl are available on the remote host.
1139
1140 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1141 "/". Write long listing only when "l" belongs to the switches.
1142
1143 * net/trampver.el: Update release number.
1144
1145 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1146
1147 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1148
1149 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1150
1151 * window.el (window-state-put): Allow WINDOW to refer to an
1152 internal window (Bug#16793).
1153
1154 2014-02-19 Glenn Morris <rgm@gnu.org>
1155
1156 * textmodes/remember.el: Move provide statement to end.
1157 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1158 (remember-notes): Doc fixes.
1159
1160 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1161
1162 * delsel.el (delete-char): Restore incorrectly erased property
1163 (bug#16795).
1164
1165 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1166
1167 * frameset.el (frameset--restore-frame): When a frame is being reused
1168 and its root window is not alive, delete all the frame's windows before
1169 restoring the window state. This works around the issue in bug#16793.
1170
1171 2014-02-18 Glenn Morris <rgm@gnu.org>
1172
1173 * textmodes/remember.el (remember-data-directory)
1174 (remember-directory-file-name-format, remember-store-in-files)
1175 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1176 (remember-notes-save-and-bury-buffer)
1177 (remember-notes--kill-buffer-query): Doc fixes.
1178
1179 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1180
1181 2014-02-17 Alan Mackenzie <acm@muc.de>
1182
1183 Connect electric-indent-mode up with CC Mode. Bug #15478.
1184 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1185 to electric-indent-{,local-}-mode.
1186 (c-basic-common-init): Set electric-indent-inhibit.
1187 Initialise c-electric-flag from electric-indent-mode.
1188 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1189 New hook functions which propagate electric-indent-mode to CC mode.
1190
1191 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1192 hit, toggle electric-indent-local-mode.
1193
1194 * electric.el (electric-indent-mode-has-been-called):
1195 New variable.
1196
1197 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1198
1199 * frameset.el (frameset-cfg-id): New function.
1200 (frameset--reuse-frame, frameset-restore): Use it.
1201 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1202
1203 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * ido.el (ido-file-internal): Remove unused var `d'.
1206 Use \` for to match BoS. Fit within 80n columns.
1207
1208 2014-02-17 Daniel Colascione <dancol@dancol.org>
1209
1210 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1211 dbus-call-method check for completion using a busy-wait loop with
1212 gradual backoff.
1213
1214 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1215
1216 Sync with Tramp 2.2.9.
1217
1218 * net/trampver.el: Update release number.
1219
1220 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1221
1222 * ido.el (ido-file-internal): Don't add the name of an existing
1223 directory twice. (Bug#16747)
1224
1225 2014-02-16 Glenn Morris <rgm@gnu.org>
1226
1227 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1228 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1229
1230 2014-02-15 Michael R. Mauger <michael@mauger.com>
1231
1232 * progmodes/sql.el: Version 3.4
1233 (sql-oracle-options): New default value ("-L").
1234 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1235 (sql-placeholders-filter): Correct placeholder pattern.
1236 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1237 (sql-login-delay): New variable.
1238 (sql-product-interactive): Use it.
1239
1240 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1241
1242 * frameset.el (frameset--jump-to-register): Check that buffer is live
1243 (bug#16749).
1244
1245 2014-02-15 Glenn Morris <rgm@gnu.org>
1246
1247 * info.el (info-initialize): Revert 2014-01-10 change.
1248
1249 2014-02-14 Glenn Morris <rgm@gnu.org>
1250
1251 * replace.el (map-query-replace-regexp)
1252 (read-regexp-defaults-function, read-regexp): Doc fixes.
1253
1254 * dired.el (dired-read-regexp):
1255 * faces.el (list-faces-display):
1256 * misearch.el (multi-isearch-read-matching-buffers)
1257 (multi-isearch-read-matching-files):
1258 * play/cookie1.el (cookie-apropos):
1259 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1260
1261 * textmodes/remember.el (remember): Use frameset-to-register
1262 rather than frame-configuration-to-register.
1263
1264 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1265
1266 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1267 incorrect keybinding.
1268
1269 2014-02-13 Daniel Colascione <dancol@dancol.org>
1270
1271 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1272 when adding overlays so that line numbers from compiler match line
1273 numbers we use.
1274
1275 2014-02-13 Glenn Morris <rgm@gnu.org>
1276
1277 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1278
1279 * jit-lock.el (jit-lock-mode): Doc fix.
1280
1281 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1282
1283 * apropos.el (apropos-read-pattern): When the user passes an empty
1284 string, give a more helpful error message than "Wrong type
1285 argument: stringp, nil".
1286
1287 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1290
1291 2014-02-13 Glenn Morris <rgm@gnu.org>
1292
1293 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1294
1295 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1298 shift-select commands.
1299
1300 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1301
1302 * progmodes/js.el (js-indent-line): Don't widen.
1303 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1304
1305 2014-02-12 Glenn Morris <rgm@gnu.org>
1306
1307 * icomplete.el (icomplete): Add info-link to defgroup.
1308 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1309 (icomplete-minibuffer-map, icomplete-mode)
1310 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1311
1312 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1313 (package-menu-filter): Rename from package-menu-filter-interactive.
1314 Doc fix.
1315
1316 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1317
1318 * frameset.el (frameset--jump-to-register): Select the required
1319 window and buffer before restoring position (bug#16696).
1320
1321 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1322
1323 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1324
1325 2014-02-10 Glenn Morris <rgm@gnu.org>
1326
1327 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1328
1329 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1330
1331 * w32-common-fns.el (x-get-selection): Doc fix.
1332 * select.el (x-get-selection): Doc fix. (Bug#15109)
1333
1334 * face-remap.el (face-remap-add-relative)
1335 (face-remap-remove-relative, face-remap-reset-base)
1336 (face-remap-set-base): Call force-mode-line-update to redisplay
1337 the current buffer due to potential change in faces. (Bug#16709)
1338
1339 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1340
1341 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1342 script more robustly.
1343
1344 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1345
1346 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1347
1348 * simple.el (choose-completion): Doc fix (bug#14160).
1349
1350 * subr.el (event-start): Say what a nil EVENT value means.
1351
1352 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1353 (bug#14197).
1354
1355 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1356
1357 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1358
1359 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1360
1361 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1362 predicate function (bug#15455).
1363
1364 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1365
1366 * ielm.el (inferior-emacs-lisp-mode): Instead of
1367 `comment-use-global-state', set `comment-use-syntax'.
1368
1369 2014-02-10 Glenn Morris <rgm@gnu.org>
1370
1371 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1372
1373 2014-02-09 Alan Mackenzie <acm@muc.de>
1374
1375 Fix c-invalidate-state-cache on narrowed buffers.
1376 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1377 Widen when setting and clearing the CPP delimiter properties.
1378
1379 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1380
1381 * help.el (describe-bindings): Doc fix (bug#9888).
1382
1383 * files.el (save-buffer): Use ARG as the parameter name for
1384 consistency (bug#10346).
1385 (save-buffer): Clarify the 0 argument (bug#10346).
1386
1387 * cus-edit.el (customize-apropos): Fix error string.
1388 (custom-buffer-create): Doc fix (bug#11122).
1389 (custom-sort-items): Doc fix (bug#11121).
1390
1391 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1392
1393 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1394 (icomplete-simple-completing-p): Mention the previous variable.
1395
1396 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1397 meaning of the parameter (bug#12282).
1398
1399 * files.el (find-file-noselect): Clarify prompt when changing
1400 readedness (bug#13261).
1401 (locate-file): Suffixes aren't returned, so don't say that they
1402 are (bug#12674).
1403 (backup-inhibited): Doc clarification (bug#12525).
1404
1405 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1406 before we actually start to delete things (bug#16331).
1407
1408 * subr.el (event-start): Doc fix (bug#14228).
1409 (event-end): Ditto.
1410
1411 2014-02-09 Glenn Morris <rgm@gnu.org>
1412
1413 * emacs-lisp/warnings.el (lwarn):
1414 Empower help-enable-auto-load. (Bug#15940)
1415
1416 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1417
1418 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1419 (Bug#16690)
1420
1421 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1422
1423 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1424 Insert output at end of buffer. (Bug#16120)
1425
1426 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1427
1428 * simple.el (choose-completion-string-functions): Document new
1429 calling convention (bug#14153).
1430 (execute-extended-command): Clarify doc string (bug#13373).
1431
1432 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1433
1434 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1435 (find-grep-dired): Doc fix (bug#14288).
1436
1437 2014-02-08 Juri Linkov <juri@jurta.org>
1438
1439 * isearch.el (isearch-quote-char): Check character validity
1440 like in `quoted-insert' (bug#16677).
1441
1442 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1443
1444 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1445
1446 * isearch.el (isearch-hide-immediately): Doc clarification
1447 (bug#14723).
1448
1449 * simple.el (line-move): Document utility function used many
1450 places in the Emacs sources (bug#14843).
1451
1452 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1453 (dired-prev-marked-file): Doc fix (bug#14855).
1454 (dired-up-directory): Doc fix (bug#14848).
1455
1456 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1457
1458 * files.el (file-relative-name): Doc fix (bug#15159).
1459
1460 * fringe.el (fringe-styles): Doc fix (bug#15239).
1461
1462 * isearch.el (isearch-filter-predicate): Documentation typo fix
1463 (bug#15474).
1464
1465 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1466
1467 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1468
1469 * replace.el (replace-match-maybe-edit): Doc clarification
1470 (bug#15632).
1471
1472 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1473
1474 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1475
1476 2014-02-08 Glenn Morris <rgm@gnu.org>
1477
1478 * help-fns.el (describe-variable):
1479 Check {file,dir}-local-variables-alist, and buffer-file-name,
1480 in the correct buffer.
1481
1482 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1483
1484 * help-fns.el (describe-variable): Fix the case where
1485 a value is directory-local with no dir-locals file. (Bug#16635)
1486
1487 2014-02-08 Glenn Morris <rgm@gnu.org>
1488
1489 * abbrev.el (edit-abbrevs-mode):
1490 Derive from fundamental-mode. (Bug#16682)
1491
1492 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1493
1494 * simple.el (quoted-insert): Check character validity (bug#16677).
1495
1496 2014-02-07 Juri Linkov <juri@jurta.org>
1497
1498 * desktop.el (desktop-read): Claim the lock when the owner is not
1499 the current process. (Bug#16157)
1500
1501 2014-02-07 Juri Linkov <juri@jurta.org>
1502
1503 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1504 to "\\` ". (Bug#16651)
1505
1506 2014-02-07 Juri Linkov <juri@jurta.org>
1507
1508 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1509 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1510 (desktop-auto-save-cancel-timer): New function with some code from
1511 `desktop-auto-save-set-timer'.
1512 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1513 Instead of setting `desktop-save-mode' to nil, call
1514 `desktop-save-mode' with arg 0. (Bug#16630)
1515
1516 2014-02-07 Glenn Morris <rgm@gnu.org>
1517
1518 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1519 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1520 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1521
1522 * obsolete/iswitchb.el: Move to obsolete/.
1523 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1524 since obsolete/ is not scanned for autoloads.
1525 * emacs-lisp/authors.el (authors-valid-file-names):
1526 Add iswitchb.el.
1527
1528 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1529 Disable now non-functional find-file-hook.
1530
1531 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1532
1533 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1534 instead of ";" in order to avoid additional prompts. Let heredoc
1535 scripts read from tty. (Bug#16582)
1536 (tramp-send-command): No special handling of heredocs, it isn't
1537 necessary anymore.
1538
1539 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1540
1541 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1542 with a space (bug#16664). Limit the symbols considered to the ones
1543 that are bound or fbound (bug#16646).
1544
1545 2014-02-06 Glenn Morris <rgm@gnu.org>
1546
1547 * epa.el (epa-mail-aliases): Doc fix.
1548
1549 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1550
1551 * emacs-lisp/lisp.el (lisp-completion-at-point):
1552 Use `completion-table-merge' instead of `completion-table-in-turn'
1553 (bug#16604).
1554
1555 * minibuffer.el (completion-table-merge): New function.
1556
1557 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1558
1559 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1560 (tramp-sh-handle-set-file-acl)
1561 (tramp-sh-handle-start-file-process)
1562 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1563 (tramp-find-executable, tramp-send-command): Use it.
1564
1565 2014-02-05 Glenn Morris <rgm@gnu.org>
1566
1567 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1568
1569 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1570
1571 * progmodes/python.el (python-shell-send-string)
1572 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1573
1574 2014-02-04 Anders Lindgren <andlind@gmail.com>
1575
1576 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1577 the names (bug#16620).
1578
1579 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1580
1581 * faces.el (window-divider): New default value. Rewrite doc-string.
1582 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1583
1584 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1585
1586 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1587 `protected' and `public' can also be called without arguments.
1588
1589 2014-02-03 Glenn Morris <rgm@gnu.org>
1590
1591 * register.el (window-configuration-to-register)
1592 (frame-configuration-to-register): Unadvertise unused argument.
1593 * frameset.el (frameset-to-register): Remove unused argument.
1594
1595 * frameset.el (frameset-to-register):
1596 * kmacro.el (kmacro-to-register):
1597 * register.el (increment-register):
1598 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1599 (calc-append-to-register, calc-prepend-to-register):
1600 * play/gametree.el (gametree-layout-to-register)
1601 (gametree-apply-register-layout):
1602 * textmodes/picture.el (picture-clear-rectangle-to-register)
1603 (picture-yank-rectangle-from-register):
1604 * vc/emerge.el (emerge-combine-versions-register):
1605 Use register-read-with-preview to read registers.
1606
1607 2014-02-03 João Távora <joaotavora@gmail.com>
1608
1609 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1610 when at beginning of (possibly narrowed) buffer.
1611
1612 2014-02-02 Daniel Colascione <dancol@dancol.org>
1613
1614 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1615 Also try to display local help from just before point.
1616
1617 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1618
1619 c-parse-state. Don't "append-lower-brace-pair" in certain
1620 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1621 recognised as a comment.
1622
1623 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1624 as well as normal comment starter.
1625 (c-parse-state-get-strategy): Extra return possibility
1626 'back-and-forward.
1627 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1628 return value list to indicate replacement of a brace-pair cons
1629 with its car.
1630 (c-parse-state-1): With 'back-and-forward, only call
1631 c-append-lower-brace-pair-to state-cache when cons-separated.
1632
1633 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1634
1635 * term/ns-win.el (ns-suspend-error): New function.
1636 (ns-initialize-window-system): Add ns-suspend-error to
1637 suspend-hook (Bug#16612).
1638
1639 2014-02-02 Daniel Colascione <dancol@dancol.org>
1640
1641 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1642 Make loading cc-mode silent.
1643
1644 2014-02-02 Daniel Colascione <dancol@dancol.org>
1645
1646 * comint.el (comint-prompt-read-only): Change doc to suggest
1647 remap keybinding.
1648
1649 2014-02-02 Glenn Morris <rgm@gnu.org>
1650
1651 * register.el (register-read-with-preview, point-to-register)
1652 (window-configuration-to-register, frame-configuration-to-register)
1653 (jump-to-register, number-to-register, view-register, insert-register)
1654 (copy-to-register, append-to-register, prepend-to-register)
1655 (copy-rectangle-to-register): Doc fixes.
1656
1657 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1660 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1661 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1662 * help-fns.el (describe-function-1): Use it.
1663
1664 2014-02-02 Glenn Morris <rgm@gnu.org>
1665
1666 * register.el (register-preview-default): New function,
1667 split from register-preview.
1668 (register-preview-function): Rename from register-preview-functions,
1669 make it not a hook.
1670 (register-preview): Use register-preview-function.
1671 (register-read-with-preview): Error on non-character event. (Bug#16595)
1672
1673 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1674
1675 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1676 `:' before binary operators (bug#16609). Don't check for `:'
1677 before `[' and `(', or their syntax status. A percent literal
1678 can't end with either.
1679 (ruby-font-lock-keywords): For built-ins that require arguments,
1680 check that they're followed by something that looks like argument
1681 (bug#16610).
1682
1683 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1684
1685 * subr.el (butlast): Document what an omitted N means (bug#13437).
1686 (nbutlast): Ditto.
1687
1688 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1689
1690 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1691 depth shallower (bug#16587).
1692 (shr-tag-svg): Respect `shr-inhibit-images'.
1693 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1694
1695 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1696
1697 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1698 (ruby-smie-grammar): Make "." right-associative. Make its priority
1699 lower than the ternary and all binary operators.
1700 (ruby-smie-rules): Indent "(" relative to the first non-"."
1701 parent, or the first "." parent at indentation.
1702 Use `ruby-align-chained-calls' for indentation of "." tokens.
1703 (Bug#16593)
1704
1705 2014-01-31 Juri Linkov <juri@jurta.org>
1706
1707 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1708 from `make-hash-table'.
1709
1710 * textmodes/ispell.el (ispell-init-process): Change message format
1711 to be consistent with other messages.
1712
1713 2014-01-31 Glenn Morris <rgm@gnu.org>
1714
1715 * delsel.el (delete-selection-mode): Doc fix.
1716
1717 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1718 (trace-function-background): Doc fixes.
1719
1720 * ido.el (ido-use-virtual-buffers): Doc fix.
1721 Reset :version, since the default value has not changed.
1722
1723 * register.el (register-preview-delay, register-read-with-preview):
1724 Doc fixes.
1725
1726 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1727 do not mess with mail-buffer position (fixes 2009-11-03 change).
1728 * progmodes/cc-mode.el (c-submit-bug-report):
1729 Check auto-fill-mode is bound. (Bug#16592)
1730
1731 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1732
1733 * startup.el (fancy-splash-image-file): New function,
1734 split from fancy-splash-head.
1735 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1736 so that we are both using the same image. (Bug#16574)
1737
1738 2014-01-30 Glenn Morris <rgm@gnu.org>
1739
1740 * simple.el (eval-expression): Doc fix.
1741
1742 * hexl.el (hexl-mode-hook):
1743 * ielm.el (ielm-mode-hook):
1744 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1745 (lisp-interaction-mode-hook):
1746 * progmodes/cfengine.e (cfengine3-documentation-function):
1747 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1748
1749 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1752 is a symbol (bug#16584).
1753
1754 2014-01-30 Glenn Morris <rgm@gnu.org>
1755
1756 * help.el (help-for-help-internal): Add "P" to text.
1757
1758 2014-01-29 Glenn Morris <rgm@gnu.org>
1759
1760 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1761
1762 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1763
1764 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1765 height constraints.
1766
1767 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1768
1769 * progmodes/hideif.el: Extend to full CPP expression syntax.
1770 (hif-token-alist): Add missing tokens.
1771 (hif-token-regexp): Add support for float/octal/hex immediates.
1772 (hif-string-literal-regexp): New const.
1773 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1774 (hif-exprlist): New function.
1775 (hif-parse-if-exp): Use it.
1776 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1777 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1778 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1779 (hif-logxor, hif-comma): New functions.
1780
1781 2014-01-28 Glenn Morris <rgm@gnu.org>
1782
1783 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1784
1785 * indent.el (tab-stop-list): Doc fix. Add :version.
1786
1787 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1788 (cvs-append-to-ignore): Add compatibility alias.
1789
1790 2014-01-27 Glenn Morris <rgm@gnu.org>
1791
1792 * dired.el (dired-hide-details-mode): Don't autoload it,
1793 since it cannot be used outside Dired buffers anyway.
1794
1795 * emulation/cua-base.el (cua-mode): Doc fix.
1796
1797 * dired.el (dired-hide-details-hide-symlink-targets)
1798 (dired-hide-details-hide-information-lines)
1799 (dired-hide-details-mode): Doc fixes.
1800
1801 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1802 * strokes.el (strokes-file): Doc fix. Bump :version.
1803 (strokes-help): Doc fix.
1804 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1805 * emulation/viper.el (viper): Doc fix for custom group.
1806 (top-level): Remove oh-so-no-longer-relevant text about vip.
1807 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1808
1809 * ido.el (ido-save-directory-list-file):
1810 * saveplace.el (save-place-file):
1811 * calendar/timeclock.el (timeclock-file):
1812 * net/quickurl.el (quickurl-url-file):
1813 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1814 * progmodes/idlwave.el (idlwave-config-directory):
1815 * textmodes/remember.el (remember-data-file):
1816 Bump :version.
1817
1818 2014-01-26 Glenn Morris <rgm@gnu.org>
1819
1820 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1821 Doc fix. Make obsolete.
1822 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1823
1824 * sort.el (delete-duplicate-lines): Doc fix.
1825
1826 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1827
1828 * progmodes/ada-mode.el (ada):
1829 * woman.el (woman): Link to info manual and Commentary section.
1830
1831 * progmodes/flymake.el (flymake):
1832 * nxml/nxml-mode.el (nxml):
1833 * net/eww.el (eww):
1834 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1835 * htmlfontify.el (htmlfontify):
1836 * ses.el (ses):
1837 * epa.el (epa):
1838 * ido.el (ido): Link to info manual.
1839
1840 2014-01-25 Leo Liu <sdl.web@gmail.com>
1841
1842 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1843
1844 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1845
1846 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1847 (bug#16537).
1848
1849 >>>>>>> MERGE-SOURCE
1850 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1851
1852 * net/eww.el (eww-download-callback):
1853 Fix reference to eww-download-directory.
1854
1855 * emacs-lisp/bytecomp.el (byte-compile-file):
1856 Remove unused local variable `file-name'.
1857
1858 2014-01-24 Glenn Morris <rgm@gnu.org>
1859
1860 * woman.el (woman-default-faces, woman-monochrome-faces):
1861 Fix obsolescence specification.
1862
1863 * subr.el (with-demoted-errors): Doc fix.
1864
1865 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1866
1867 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1868 (cl--macroexp-fboundp): New function.
1869 (cl--make-type-test): Use it.
1870
1871 2014-01-23 Glenn Morris <rgm@gnu.org>
1872
1873 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1874 * simple.el (eval-expression): Doc fixes.
1875
1876 2014-01-22 Glenn Morris <rgm@gnu.org>
1877
1878 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1879
1880 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * emacs-lisp/package.el: Write files silently.
1883 (package-autoload-ensure-default-file, package--write-file-no-coding)
1884 (package-generate-description-file, package--download-one-archive)
1885 (package-install-from-archive): Tell `write-region' to stay quiet.
1886 (package-menu-mode, package-menu--print-info): Omit the Archive column
1887 if there's only one archive.
1888 (package-all-keywords, package--has-keyword-p): Remove dead code.
1889
1890 2014-01-22 Glenn Morris <rgm@gnu.org>
1891
1892 * version.el (emacs-bzr-version-bzr): Fix typo.
1893
1894 * version.el (emacs-repository-get-version):
1895 Check either .bzr or .git, but not both.
1896 Make the git case actually use the DIR argument, and return nil
1897 rather than the empty string.
1898 Avoid error if .git exists but the git executable is not found.
1899
1900 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1901
1902 Fixes in window size functions around Bug#16430 and Bug#16470.
1903 * window.el (window-total-size, window-size): New argument ROUND.
1904 (window--min-delta-1, window-min-delta, window--max-delta-1):
1905 Be more conservative when calculating the numbers of lines or
1906 columns a window can shrink (Bug#16430).
1907 (fit-window-to-buffer): Simplify code.
1908 * term.el (term-window-width): Call window-body-width again.
1909
1910 2014-01-22 Glenn Morris <rgm@gnu.org>
1911
1912 * image.el (image-format-suffixes): Doc fix.
1913
1914 * international/quail.el (quail-define-package): Doc fix.
1915
1916 * emacs-lisp/authors.el (authors-valid-file-names)
1917 (authors-renamed-files-alist): Additions.
1918
1919 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1920 reverts 2014-01-09 change. (Bug#16422)
1921
1922 * calc/calc-embed.el (thing-at-point-looking-at):
1923 * emacs-lisp/map-ynp.el (x-popup-dialog):
1924 * obsolete/lmenu.el (x-popup-dialog):
1925 * emacs-lisp/package.el (url-recreate-url):
1926 * mail/mailclient.el (clipboard-kill-ring-save):
1927 * subr.el (x-popup-dialog): Update declaration.
1928 * mail/rmail.el (rmail-mime-message-p):
1929 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1930
1931 2014-01-21 Daniel Colascione <dancol@dancol.org>
1932
1933 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1934 Correctly detect when we're inside an arithmetic expansion form
1935 containing nested parenthesis.
1936 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1937 to detect cases where we shouldn't expand "<<" to a heredoc
1938 skeleton.
1939
1940 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1943 (eldoc--message-command-p): New function.
1944 (eldoc-display-message-p): Use it.
1945 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1946 message is not automatically erased for us.
1947 (eldoc-print-current-symbol-info): Erase previous message, if any.
1948
1949 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1950
1951 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1952 specify it's an interactive function.
1953
1954 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1955 Fix regex used for scanning for citation keys which failed for
1956 citations with optional arguments.
1957
1958 2014-01-21 Leo Liu <sdl.web@gmail.com>
1959
1960 * simple.el (read--expression): Don't enable eldoc-mode.
1961
1962 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * simple.el (move-beginning-of-line): Make sure we don't move forward
1965 (bug#16497).
1966
1967 2014-01-20 Juri Linkov <juri@jurta.org>
1968
1969 * saveplace.el (toggle-save-place, save-place-to-alist)
1970 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1971 'dired-mode) before checking for dired-directory. (Bug#16477)
1972
1973 2014-01-20 Juri Linkov <juri@jurta.org>
1974
1975 * indent.el (indent-line-to): Use backward-to-indentation
1976 instead of back-to-indentation. (Bug#16461)
1977
1978 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1979
1980 Revert some of the CANNOT_DUMP fix (Bug#16494).
1981 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1982 but fixing this can wait until after the next release.
1983 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1984
1985 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1988 Use `password-word-equivalents'.
1989 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1990 to t. (Bug#5664, Bug#13124)
1991
1992 2014-01-19 Alan Mackenzie <acm@muc.de>
1993
1994 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1995 points.
1996 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1997 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1998 * progmodes/cc-mode.el (c-before-change, c-after-change)
1999 (c-font-lock-fontify-region): Bind it here.
2000
2001 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2002
2003 * term.el (term-window-width): Call window-text-width instead of
2004 window-width (Bug#16470).
2005
2006 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2007
2008 * simple.el (password-word-equivalents): Remove duplicates.
2009 Sort, to make this easier next time.
2010 Downcase. Omit ": " after "jelszó".
2011
2012 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2013
2014 * term/common-win.el (saved-region-selection): Defvar it.
2015 (x-select-text): Set saved-region-selection (Bug#16382).
2016
2017 2014-01-18 Glenn Morris <rgm@gnu.org>
2018
2019 * emacs-lisp/authors.el (authors-aliases)
2020 (authors-renamed-files-alist): Add some entries.
2021
2022 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2023
2024 * net/tramp.el (tramp-password-prompt-regexp):
2025 Use `password-word-equivalents' if available.
2026 (tramp-action-password, tramp-process-one-action)
2027 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2028
2029 2014-01-17 Chong Yidong <cyd@gnu.org>
2030
2031 * simple.el (password-word-equivalents): New defcustom.
2032 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2033 to 24.4.
2034 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2035 to t. (Bug#13124)
2036
2037 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2038
2039 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2040 (ruby-align-to-stmt-keywords): Change the default value.
2041 Use `ruby-alignable-keywords' to generate the possible customization
2042 choices.
2043 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2044 keywords, check against the value of `ruby-alignable-keywords'
2045 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2046
2047 2014-01-17 Glenn Morris <rgm@gnu.org>
2048
2049 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2050
2051 Make M-x authors return zero *Authors Errors* from current logs.
2052 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2053 (authors-ignored-files): Add some entries, remove others.
2054 (authors-ambiguous-files, authors-valid-file-names):
2055 Add some entries.
2056 (authors-renamed-files-alist): Add, remove, and adjust entries.
2057 (authors-renamed-files-regexps): Add some entries.
2058 Remove some very broad ones. Make some entries `lax'.
2059 (authors-lax-changelogs): New constant.
2060 (authors-disambiguate-file-name): Treat top-level specially.
2061 (authors-lax-changelog-p): New function.
2062 (authors-canonical-file-name): Check file as written against
2063 authors-valid-file-names. Do not special-case etc/.
2064 Handle `lax' logs and authors-renamed-files-regexps elements.
2065
2066 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2067
2068 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2069 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2070 callers.
2071
2072 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2075 Assume we're already in the proper buffer.
2076 Inspired by Anders Lindgren <andlind@gmail.com>.
2077 (follow-post-command-hook): Call it from the right buffer.
2078 (follow-comint-scroll-to-bottom): Adjust call.
2079 (follow-all-followers): Use get-buffer-window-list.
2080
2081 2014-01-15 Daniel Colascione <dancol@dancol.org>
2082
2083 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2084 `buffer-file-name' in interactive-form so that we don't leave
2085 pathless file names in `file-name-history'.
2086
2087 2014-01-15 Juri Linkov <juri@jurta.org>
2088
2089 * indent.el (indent-rigidly): Set deactivate-mark to nil
2090 in transient indentation mode. (Bug#16438)
2091
2092 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2093
2094 * emacs-lisp/package.el (package-desc-keywords): New function
2095 (Bug#16222).
2096 (describe-package-1, package-all-keywords)
2097 (package--has-keyword-p): Use it.
2098
2099 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2100
2101 * simple.el (define-alternatives): When creating the
2102 COMMAND-alternatives variable, assign COMMAND as its definition
2103 name so that `describe-variable' can relocate it.
2104
2105 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2106
2107 * font-lock.el (font-lock-keywords): Fix typo in docstring
2108 (bug#16307).
2109
2110 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2111
2112 * ispell.el (ispell-region): Reset `in-comment' for new line
2113 instead of wrongly reset `add-coment' (bug#13577).
2114
2115 2014-01-14 Daiki Ueno <ueno@gnu.org>
2116
2117 * epa-file.el (epa-file-write-region): Encode the region according
2118 to `buffer-file-format'. Problem reported at:
2119 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2120
2121 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2124 so it applies in the right buffer (bug#16410).
2125
2126 2014-01-13 Daniel Colascione <dancol@dancol.org>
2127
2128 * textmodes/rst.el (rst-define-key): Provide deprecated
2129 keybindings through named functions instead of anonymous ones so
2130 that "??" doesn't appear in describe-mode output.
2131
2132 2014-01-13 Bastien Guerry <bzg@gnu.org>
2133
2134 * simple.el (define-alternatives): Call the selected command
2135 interactively. When setting `COMMAND--implementation' for the
2136 first time, tell the user how to chose another implementation.
2137 Enhance the docstring.
2138
2139 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2140
2141 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2142 (log-edit--match-first-line): New function.
2143 (log-edit-font-lock-keywords): Use it.
2144 (log-edit-mode): Make jit-lock-defer-multiline work.
2145
2146 2014-01-13 Bastien Guerry <bzg@gnu.org>
2147
2148 * rect.el (rectangle-mark-mode): When the region is not active,
2149 display a message saying that the mark as been set and that
2150 rectangle mode is in use.
2151 (rectangle--highlight-for-redisplay): Only put an overlay with a
2152 visible vertical bar when (display-graphic-p) is non-nil.
2153 This partially fixes Bug#16403.
2154
2155 2014-01-13 Juri Linkov <juri@jurta.org>
2156
2157 * info.el (Info-find-file): Go to DIR before displaying the error
2158 about a nonexistent file if no previous Info file is visited.
2159 Use `user-error' instead of `error' for "Info file %s does not exist".
2160 (Info-find-node-2): In case of a nonexistent node in unwind forms
2161 go to the Top node if there is no previous node to revert to.
2162 (Bug#16405)
2163
2164 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2165
2166 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2167 * window.el (fit-frame-to-buffer): Fix doc-string.
2168 Respect window-min-height/-width. Fit pixelwise when
2169 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2170 when avoiding that frame goes partially off-screen.
2171 (fit-window-to-buffer): Respect window-min-height/-width
2172 (Bug#14096).
2173
2174 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2177 after an empty line.
2178
2179 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * net/shr.el (shr-render-region): Autoload.
2182
2183 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2184
2185 * net/eww.el (eww-download-directory): Rename from
2186 `eww-download-path' (Bug#16419).
2187
2188 2014-01-12 Leo Liu <sdl.web@gmail.com>
2189
2190 * dired-x.el (dired-mode-map): Fix last change.
2191
2192 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2193
2194 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2195
2196 Spelling fixes.
2197 * emacs-lisp/generic.el (generic--normalize-comments):
2198 Rename from generic--normalise-comments. All uses changed.
2199 * play/bubbles.el (bubbles--neighborhood-score)
2200 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2201 (bubbles--neighborhood-available)
2202 (bubbles--update-neighborhood-score):
2203 Rename from names with 'neighbourhood'. All uses changed.
2204
2205 2014-01-12 Leo Liu <sdl.web@gmail.com>
2206
2207 Re-implement the feature of showing eldoc info after editing.
2208 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2209 (eldoc-edit-message-commands): New function.
2210 (eldoc-print-after-edit): New variable.
2211 (eldoc-pre-command-refresh-echo-area): Emit message only by
2212 eldoc-message-commands.
2213 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2214 if eldoc-print-after-edit is set. (Bug#16346)
2215 * simple.el (read--expression): Enable eldoc-mode.
2216 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2217
2218 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2219 Eric S. Raymond <esr@thyrsus.com>
2220
2221 * version.el (emacs-repository-get-version): Enhance so the
2222 function works correctly in either a Bazaar or Git repo.
2223
2224 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2225
2226 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2227 Goes with removal of the joke manpages from /etc.
2228
2229 2014-01-10 Kenichi Handa <handa@gnu.org>
2230
2231 * mail/rmail.el (rmail-get-coding-system):
2232 Check rmail-get-coding-function before "funcall"ing it.
2233
2234 2014-01-10 Glenn Morris <rgm@gnu.org>
2235
2236 * emacs-lisp/authors.el (authors-fixed-entries):
2237 Update for files that no longer exist.
2238
2239 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2240
2241 * version.el (emacs-bzr-get-version): Restore compatibilty with
2242 24.3 (Tested).
2243
2244 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2245
2246 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2247 and Podfile.
2248
2249 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2250
2251 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2252
2253 2014-01-10 Chong Yidong <cyd@gnu.org>
2254
2255 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2256
2257 2014-01-10 Anders Lindgren <andlind@gmail.com>
2258
2259 * follow.el (follow-cache-command-list): Include right-char and
2260 left-char.
2261
2262 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2263
2264 Spelling fixes.
2265 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2266 * woman.el (woman-mark-horizontal-position):
2267 Rename from woman-mark-horizonal-position. Use changed.
2268
2269 2014-01-10 Glenn Morris <rgm@gnu.org>
2270
2271 * info.el (info-initialize): If running uninstalled, ensure our
2272 own info files are always found first, even if INFOPATH is set.
2273
2274 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2275
2276 2014-01-09 David Engster <deng@randomsample.de>
2277
2278 * emacs-lisp/eieio-custom.el:
2279 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2280 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2281 * emacs-lisp/eieio.el: Regenerate autoloads.
2282
2283 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2284
2285 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2286 following renames. (Bug#8756)
2287
2288 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2291 (bug#16382).
2292 (activate-mark): Add `no-tmm' argument.
2293 (set-mark, push-mark-command): Use it instead of running
2294 activate-mark-hook by hand.
2295
2296 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2297
2298 In preparation for the move to git, sanitize out some
2299 Bazaar-specific names.
2300
2301 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2302
2303 * version.el (emacs-bzr-version): Name changed to
2304 emacs-repository-version. Obsolete-variable alias made.
2305 * loadup.el: Follow through on this name change.
2306 * mail/emacsbug.el (report-emacs-bug): Factor out any
2307 assumption about the version control system in use.
2308
2309 2014-01-08 David Engster <deng@randomsample.de>
2310
2311 * help-fns.el (help-fns-describe-function-functions):
2312 New variable to call functions for augmenting help buffers.
2313 (describe-function-1): Remove explicit calls to
2314 `help-fns--compiler-macro', `help-fns--parent-mode' and
2315 `help-fns--obsolete'. Put them in above new variable instead, and
2316 call them through `run-hook-with-args'.
2317 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2318 `eieio-describe-class'. Not meant for interactive use anymore,
2319 but to augment existing help buffers. Remove optional second
2320 argument. Create proper button for file location.
2321 Rewrite function to use `insert' instead of `princ' and `prin1' where
2322 possible.
2323 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2324 (eieio-method-def, eieio-class-def): Move further up.
2325 (describe-method, describe-generic, eieio-describe-method):
2326 Remove aliases.
2327 (eieio-help-constructor, eieio-help-generic): Rename from
2328 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2329 Rewrite to use `insert' in the current buffer and use proper help
2330 buttons.
2331 (eieio-help-find-method-definition)
2332 (eieio-help-find-class-definition): Also accept symbols as
2333 arguments.
2334 (eieio-help-mode-augmentation-maybee): Remove.
2335 (eieio-describe-class-sb): Use `describe-function'.
2336 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2337 Add `eieio-help-generic' and `eieio-help-constructor'.
2338
2339 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2340
2341 Spelling fixes.
2342 * language/china-util.el (hz-ascii-designation):
2343 Rename from hz-ascii-designnation.
2344 (hz-ascii-designation): Rename from hz-ascii-designnation.
2345 All uses changed.
2346
2347 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2350 package-alist.
2351
2352 2014-01-08 Bastien Guerry <bzg@gnu.org>
2353
2354 * emacs-lisp/package.el (package-delete):
2355 Correctly delete the package from package-alist.
2356
2357 2014-01-08 Daiki Ueno <ueno@gnu.org>
2358
2359 * emacs-lisp/package.el (url-recreate-url): Declare.
2360 (url-http-target-url): Declare.
2361 (package-handle-response): Include requested URL in the error message.
2362 (package--check-signature): Don't re-signal errors from
2363 package--with-work-buffer. Suggested by Stefan Monnier.
2364
2365 2014-01-07 Bastien Guerry <bzg@gnu.org>
2366
2367 * minibuffer.el (completion--try-word-completion): When both a
2368 hyphen and a space are possible candidates for the character
2369 following a word, display both candidates. (Bug#15980)
2370
2371 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2372
2373 * window.el (balance-windows-2): While rounding don't give a
2374 window more than the remainder. Bug#16351, bug#16383.
2375
2376 2014-01-07 Glenn Morris <rgm@gnu.org>
2377
2378 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2379 (menu-bar-help-menu): Use view-external-packages instead.
2380
2381 2014-01-07 Bastien Guerry <bzg@gnu.org>
2382
2383 * emacs-lisp/package.el (package-delete): Also delete the package
2384 name from `package-alist', not its description only.
2385
2386 2014-01-07 Glenn Morris <rgm@gnu.org>
2387
2388 * help.el (view-external-packages):
2389 * menu-bar.el (menu-bar-help-extra-packages):
2390 Visit efaq.info rather than etc/MORE.STUFF.
2391
2392 2014-01-07 Juri Linkov <juri@jurta.org>
2393
2394 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2395 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2396
2397 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2398 that shadows RET. (Bug#16342)
2399
2400 2014-01-07 Chong Yidong <cyd@gnu.org>
2401
2402 * isearch.el (isearch-yank-char, isearch-yank-word)
2403 (isearch-yank-line): Doc fix.
2404
2405 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2408 * emacs-lisp/elint.el (elint-find-builtins):
2409 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2410 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2411 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2412 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2413 * apropos.el (apropos-safe-documentation):
2414 * subr.el (symbol-file): Remove redundant fboundp.
2415 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2416
2417 2014-01-06 Bastien Guerry <bzg@gnu.org>
2418
2419 * hl-line.el (global-hl-line-overlay): Make a local variable.
2420 (global-hl-line-overlays): New variable to store all overlays.
2421 (global-hl-line-mode): Don't delete overlays from the current
2422 buffer when `global-hl-line-sticky-flag' is non-nil.
2423 (global-hl-line-highlight): Add new overlays to
2424 `global-hl-line-overlays'.
2425 (global-hl-line-unhighlight-all): New function to delete all
2426 overlays when turning off `global-hl-line-mode'.
2427 This fixes Bug#16183.
2428
2429 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2430
2431 * subr.el (set-transient-map): Fix nested case and docstring.
2432
2433 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2434
2435 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2436 `Texinfo' entry.
2437
2438 2014-01-06 Daniel Colascione <dancol@dancol.org>
2439
2440 Fix defun navigation in vc log view.
2441
2442 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2443 like `beginning-of-defun'.
2444 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2445 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2446 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2447 (log-view-extract-comment): Call `log-view-current-entry' directly
2448 instead of relying on broken `log-view-beginning-of-defun' behavior.
2449
2450 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2451
2452 Spelling fixes.
2453 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2454 * emacs-lisp/debug.el (cancel-debug-on-entry):
2455 * epg.el (epg-error-to-string):
2456 * files.el (recover-file):
2457 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2458 * mail/emacsbug.el (report-emacs-bug-hook):
2459 * mail/sendmail.el (mail-recover):
2460 * ses.el (ses-yank-resize):
2461 * term/ns-win.el (ns-print-buffer):
2462 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2463 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2464 All uses changed.
2465 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2466
2467 2014-01-06 Leo Liu <sdl.web@gmail.com>
2468
2469 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2470 to avoid shadowing global key. (Bug#16354)
2471
2472 2014-01-06 Daniel Colascione <dancol@dancol.org>
2473
2474 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2475 rst-mode.
2476
2477 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2478
2479 * window.el (balance-windows): Add mising t to fix Bug#16351.
2480
2481 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2482
2483 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2484 (bug#16285).
2485 (shr-insert): If we have a word that's longer than `shr-width',
2486 break after it anyway. Otherwise we'll do no breaking once we get
2487 such a long word.
2488
2489 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2490
2491 * net/eww.el (eww): Support single/double quote for search.
2492 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2493 (eww-history-quit): Delete and use quit-window.
2494 (eww-history-kill): Delete, because it doesn't work well and
2495 not necessary.
2496 (eww-history-mode-map): Delete some keys and add easy-menu.
2497
2498 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2499
2500 Fix misspelling of 'chinese' in rx (Bug#16237).
2501 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2502 chinese-two-byte.
2503
2504 Change subword regexps back to vars (Bug#16296).
2505 * progmodes/subword.el (subword-forward-regexp)
2506 (subword-backward-regexp): Change these back to variables.
2507
2508 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2511 syntax-begin-function (bug#16247).
2512
2513 2014-01-03 Chong Yidong <cyd@gnu.org>
2514
2515 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2516 (advice--docstring): Delete variable.
2517 (advice--make-1): Leave the docstring empty.
2518 (advice-add): Use function-documentation for advised docstring.
2519
2520 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2521 Ignore function-documentation property when getting documentation.
2522 (ad-activate-advised-definition): Use function-documentation
2523 generate the docstring.
2524 (ad-make-advised-definition): Don't call
2525 ad-make-advised-definition-docstring.
2526 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2527 Delete functions.
2528
2529 * progmodes/sql.el (sql-help): Use function-documentation instead
2530 of dynamic-docstring-function property. No need to autoload now.
2531 (sql--help-docstring): New variable.
2532 (sql--make-help-docstring): Use it.
2533
2534 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2535
2536 * ielm.el (ielm-tab): Retarget.
2537 (ielm-map): Use ielm-tab for tab.
2538 (ielm-complete-filename): Use comint-filename-completion.
2539 (ielm-complete-symbol): Remove.
2540 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2541 remove ielm-tab from completion-at-point-functions (bug#16224).
2542
2543 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2544 Beware signals raised by predicates (bug#16201).
2545
2546 2014-01-02 Richard Stallman <rms@gnu.org>
2547
2548 * dired-aux.el (dired-do-print): Handle printer-name.
2549
2550 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2551 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2552 (rmail-epa-decrypt): Turn off mime processing.
2553
2554 * mail/rmail.el (rmail-make-in-reply-to-field):
2555 Add parens in message-id.
2556
2557 * mail/rmail.el (rmail-get-coding-function): Variable.
2558 (rmail-get-coding-system): Use it.
2559
2560 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2561
2562 * international/mule-conf.el: Unify the charset indian-is13194.
2563 (indian-is13194): Specify unify-map.
2564
2565 2013-12-31 Leo Liu <sdl.web@gmail.com>
2566
2567 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2568
2569 2013-12-30 Daniel Colascione <dancol@dancol.org>
2570
2571 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2572 of printing a useless when we resume from sleep.
2573
2574 * progmodes/sh-script.el
2575 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2576 in indentation code. (Bug#16233)
2577
2578 2013-12-28 João Távora <joaotavora@gmail.com>
2579
2580 * elec-pair.el (electric-pair-post-self-insert-function):
2581 Don't open extra newlines at beginning of buffer. (Bug#16272)
2582
2583 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2584
2585 * frame.el (window-system-for-display): Don't allow to create a
2586 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2587
2588 2013-12-28 Glenn Morris <rgm@gnu.org>
2589
2590 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2591 Update callers.
2592
2593 * apropos.el (apropos-match-face):
2594 * calculator.el (calculator-displayer):
2595 * dabbrev.el (dabbrev-search-these-buffers-only):
2596 * face-remap.el (buffer-face-mode-face):
2597 * simple.el (yank-handled-properties):
2598 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2599 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2600 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2601 (hashcash-double-spend-database):
2602 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2603 (ruby-deep-indent-paren-style):
2604 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2605 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2606 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2607 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2608 Specify custom types.
2609
2610 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2611 * bookmark.el (bookmark-bmenu-use-header-line):
2612 * doc-view.el (doc-view-scale-internally):
2613 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2614 * register.el (register-preview-delay):
2615 * net/shr.el (shr-bullet):
2616 * progmodes/cfengine.el (cfengine-cf-promises)
2617 (cfengine-parameters-indent):
2618 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2619 * textmodes/reftex-vars.el (reftex-label-regexps):
2620 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2621
2622 * net/tls.el (tls-certtool-program): Fix default value.
2623
2624 * desktop.el (desktop-restore-in-current-display):
2625 * newcomment.el (comment-empty-lines):
2626 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2627 (idlwave-pad-keyword):
2628 * progmodes/tcl.el (tcl-tab-always-indent):
2629 * textmodes/reftex-vars.el (reftex-index-default-tag):
2630 * elec-pair.el (electric-pair-skip-whitespace):
2631 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2632
2633 * emacs-lisp/authors.el (authors-ignored-files)
2634 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2635
2636 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2637
2638 * shell.el (shell-dynamic-complete-command): Doc fix.
2639 (shell--command-completion-data): Shell completion now matches
2640 executable filenames from the current buffer's directory, on
2641 systems in which this behavior is the default (windows-nt, ms-dos).
2642
2643 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2644
2645 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2646
2647 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2648
2649 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2650 (bug#16251).
2651
2652 * electric.el: Move all electric-pair-* to elec-pair.el.
2653 * elec-pair.el: New file, split from electric.el.
2654
2655 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2656
2657 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2658 indentation level is larger than the width, because that will
2659 infloop.
2660 (shr-insert): Fill repeatedly long texts, so that Japanese is
2661 formatted correctly (bug#16263).
2662 (shr-find-fill-point): Off by one error in comparison with the
2663 indentation.
2664
2665 2013-12-26 João Távora <joaotavora@gmail.com>
2666
2667 * electric.el (electric-pair-mode): More flexible engine for skip-
2668 and inhibit predicates, new options for pairing-related functionality.
2669 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2670 if that keeps or improves their balance in buffers.
2671 (electric-pair-delete-adjacent-pairs): Delete the pair when
2672 backspacing over adjacent matched delimiters.
2673 (electric-pair-open-extra-newline): Open extra newline when
2674 inserting newlines between adjacent matched delimiters.
2675 (electric--sort-post-self-insertion-hook):
2676 Sort post-self-insert-hook according to priority values when
2677 minor-modes are activated.
2678 * simple.el (newline-and-indent): Call newline with interactive
2679 set to t.
2680 (blink-paren-post-self-insert-function): Set priority to 100.
2681 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2682 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2683 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2684 electric-pair-open-newline-between-pairs to nil.
2685
2686 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2687
2688 * progmodes/python.el: Use lexical-binding.
2689 (python-nav-beginning-of-defun): Stop searching ASAP.
2690
2691 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2692
2693 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2694 Fix interactive spec. Doc fix. (Bug#15754)
2695
2696 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2697
2698 * emacs-lisp/byte-run.el (eval-when-compile):
2699 * progmodes/cc-defs.el (cc-eval-when-compile):
2700 Fix edebug spec (bug#16184).
2701
2702 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2703
2704 * net/shr.el (shr-visit-file): Remove debugging function.
2705 (shr-insert): Don't infloop if we can't find a good place to break
2706 the line (bug#16256).
2707
2708 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2709
2710 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2711 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2712 python-nav-lisp-forward-sexp-safe.
2713 (python-nav--forward-sexp): New argument SAFE allows switching
2714 forward sexp movement behavior for parens.
2715 (python-nav-forward-sexp): Throw errors on unterminated parens
2716 (Bug#16191).
2717 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2718 (python-nav-backward-sexp-safe): New functions.
2719 (python-shell-buffer-substring):
2720 Use `python-nav-forward-sexp-safe'.
2721
2722 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2723
2724 * net/shr.el (shr-find-fill-point): Don't break lines before a
2725 quotation mark.
2726 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2727 (shr-find-fill-point): Remove the special checks for the quotation
2728 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2729
2730 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2731
2732 * net/eww.el (eww-form-textarea): Use a different face for
2733 textareas than text input since they have different keymaps
2734 (bug#16142).
2735
2736 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2737
2738 * progmodes/python.el (python-nav-beginning-of-statement):
2739 Speed up (Bug#15295).
2740
2741 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2742
2743 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2744 the window configuration.
2745
2746 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2747
2748 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2749 we run on MS-Windows or MS-DOS.
2750
2751 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2752
2753 * window.el (balance-windows-area): Call window-size instead of
2754 window-height and window-width. Bug#16241.
2755
2756 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2757
2758 * net/eww.el (eww-bookmark-quit): Remove.
2759 (eww-bookmark-browse): Restore the window configuration when you
2760 choose a bookmark (bug#16144).
2761
2762 2013-12-24 Daniel Colascione <dancol@dancol.org>
2763
2764 * icomplete.el: Remove redundant :group arguments to `defcustom'
2765 throughout.
2766 (icomplete-show-matches-on-no-input): New customizable variable.
2767 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2768 we have something to show.
2769 (icomplete-exhibit): Compute completions even if we have no user input.
2770
2771 2013-12-23 Daniel Colascione <dancol@dancol.org>
2772
2773 * icomplete.el: Move `provide' to end of file.
2774
2775 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2776
2777 * net/gnutls.el (gnutls-verify-error): Add version tag.
2778
2779 2013-12-23 Chong Yidong <cyd@gnu.org>
2780
2781 * subr.el (set-transient-map): Rename from
2782 set-temporary-overlay-map. Doc fix.
2783
2784 * face-remap.el (text-scale-adjust):
2785 * indent.el (indent-rigidly):
2786 * kmacro.el (kmacro-call-macro):
2787 * minibuffer.el (minibuffer-force-complete):
2788 * repeat.el (repeat):
2789 * simple.el (universal-argument--mode):
2790 * calendar/todo-mode.el (todo-insert-item--next-param):
2791 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2792
2793 * indent.el (indent-rigidly): Use substitute-command-keys.
2794
2795 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2796
2797 * net/eww.el (eww-tag-select): Add text-property to jump to next
2798 select field.
2799 (eww): Add non-supported ftp error.
2800
2801 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2802
2803 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2804 comments. Handle electric indent after typing `?' and `!'.
2805
2806 2013-12-22 Chong Yidong <cyd@gnu.org>
2807
2808 * faces.el (face-spec-recalc): If the theme specs are not
2809 applicable to a frame, fall back on the defface spec.
2810 This prevents themes from obliterating faces on low-color terminals.
2811
2812 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2813
2814 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2815 after `{'. We need it after block openers, and it doesn't seem
2816 to hurt after hash openers.
2817
2818 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2819
2820 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2821 extracted from `ruby-smie-rules'.
2822 (ruby--electric-indent-chars): New variable.
2823 (ruby--electric-indent-p): New function.
2824 (ruby-mode): Use `electric-indent-functions' instead of
2825 `electric-indent-chars'.
2826
2827 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2828
2829 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2830 docstring.
2831 (ruby-smie-rules): Indent plus one level after `=>'.
2832
2833 2013-12-21 Richard Stallman <rms@gnu.org>
2834
2835 * simple.el (newline): Doc fix.
2836
2837 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2838
2839 * net/eww.el (eww-list-histories, eww-list-histories)
2840 (eww-history-browse, eww-history-quit, eww-history-kill)
2841 (eww-history-mode-map, eww-history-mode): New command and
2842 functions to list browser histories.
2843 (eww-form-text): Support text form with disabled
2844 and readonly attributes.
2845 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2846
2847 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2848
2849 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2850 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2851 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2852 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2853 Use `user-error'.
2854 (eww-bookmark-mode-map): Add menu.
2855 (eww-render, eww-mode): Use `setq-local'.
2856 (eww-tool-bar-map): New variable.
2857 (eww-mode): Set `tool-bar-map'.
2858 (eww-view-source): Check for `html-mode' with `fboundp'.
2859
2860 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2861
2862 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2863 elements with text inside. Also remove debugging.
2864
2865 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2866
2867 * cus-start.el (all): Add ns-use-srgb-colorspace.
2868
2869 2013-12-21 Chong Yidong <cyd@gnu.org>
2870
2871 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2872 undefined. Thus, theme settings for undefined faces do not take
2873 effect until the faces are defined with defface, the same as with
2874 theme variables.
2875
2876 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2877 (face-spec-reset-face): Don't assign extra properties in temacs.
2878 (face-spec-recalc): Apply X resources too.
2879
2880 2013-12-21 Chong Yidong <cyd@gnu.org>
2881
2882 * faces.el (face-spec-set):
2883 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2884 * custom.el (defface): Doc fixes (Bug#16203).
2885
2886 * indent.el (indent-rigidly-map): Add docstring, and move commands
2887 into named functions.
2888 (indent-rigidly-left, indent-rigidly-right)
2889 (indent-rigidly-left-to-tab-stop)
2890 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2891 indentation direction based on bidi direction, and accumulate
2892 sequential commands in a single undo boundary.
2893 (indent-rigidly--pop-undo): New utility function.
2894
2895 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2896
2897 * faces.el (read-face-name): Require crm.el when using crm-separator.
2898
2899 2013-12-20 Daniel Colascione <dancol@dancol.org>
2900
2901 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2902 so that we don't reflow comments into the shebang line.
2903
2904 2013-12-20 Juri Linkov <juri@jurta.org>
2905
2906 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2907 a position when `dired-directory' is non-nil. Check integer
2908 positions with `integerp'.
2909 (toggle-save-place, save-places-to-alist): Add check for
2910 `dired-directory'.
2911 (save-place-find-file-hook): Check integer positions with
2912 `integerp'.
2913 (save-place-dired-hook): Use `dired-goto-file' when
2914 `dired-filename' is found in the assoc list. Check integer
2915 positions with `integerp'.
2916 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2917
2918 * dired.el (dired-initial-position-hook): Rename back from
2919 `dired-initial-point-hook'.
2920 (dired-initial-position): Rename `dired-initial-point-hook' to
2921 `dired-initial-position-hook'.
2922 (dired-file-name-at-point): Doc fix. (Bug#15329)
2923
2924 2013-12-20 Juri Linkov <juri@jurta.org>
2925
2926 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2927 (read-regexp-suggestions): New function.
2928 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2929 Use `read-regexp-suggestions'. Add non-empty default to history
2930 for empty input.
2931 (occur-read-regexp-defaults-function): Remove function.
2932 (occur-read-primary-args): Use `regexp-history-last' instead of
2933 `occur-read-regexp-defaults-function'.
2934
2935 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2936 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2937 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2938 `hi-lock-read-regexp-defaults-function'. Doc fix.
2939 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2940 with `find-tag-default-as-symbol-regexp'. Doc fix.
2941 (hi-lock-read-regexp-defaults): Remove function.
2942 (hi-lock-regexp-okay): Add check for null.
2943
2944 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2945 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2946
2947 * subr.el (find-tag-default-as-symbol-regexp): New function.
2948 (find-tag-default-as-regexp): Move symbol regexp formatting to
2949 `find-tag-default-as-symbol-regexp'.
2950
2951 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2952
2953 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2954 (Bug#14179)
2955
2956 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2957
2958 * calendar/todo-mode.el: New implementation of item insertion
2959 commands and key bindings.
2960 (todo-key-prompt): New face.
2961 (todo-insert-item): New command.
2962 (todo-insert-item--parameters): New defconst, replacing defvar
2963 todo-insertion-commands-args-genlist.
2964 (todo-insert-item--param-key-alist): New defconst, replacing
2965 defvar todo-insertion-commands-arg-key-list.
2966 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2967 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2968 (todo-insert-item--next-param): New functions.
2969 (todo-insert-item--args, todo-insert-item--argleft)
2970 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2971 New variables.
2972 (todo-key-bindings-t): Change binding of "i" from
2973 todo-insertion-map to todo-insert-item.
2974 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2975 (todo-insertion-command-name, todo-insertion-commands-names)
2976 (todo-define-insertion-command, todo-insertion-commands)
2977 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2978
2979 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2980
2981 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2982 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2983 eval-when-compile.
2984 (todo-move-category): Allow choosing a non-existing todo file to
2985 move the category to, and create that file.
2986 (todo-default-priority): New user option.
2987 (todo-set-item-priority): Use it.
2988 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2989 (desktop-restore-file-buffer): Declare.
2990 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2991 (todo-modes-set-2): Locally set desktop-save-buffer to
2992 todo-desktop-save-buffer.
2993 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2994 (auto-mode-alist): Add autoload cookie.
2995
2996 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2997
2998 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2999 helpers.el was a poor choice of name.
3000 (string-remove-prefix): New function.
3001 (string-remove-suffix): New function.
3002
3003 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3004
3005 Fix assignment for new window total sizes.
3006 * window.el (window--pixel-to-size): Remove function.
3007 (window--pixel-to-total-1, window--pixel-to-total):
3008 Fix calculation of new total sizes.
3009
3010 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3011
3012 * comint.el (comint-output-filter): Fix rear-nonsticky property
3013 placement (Bug#16010).
3014
3015 2013-12-20 Chong Yidong <cyd@gnu.org>
3016
3017 * faces.el (read-color): Minor fix for completion function.
3018
3019 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3020
3021 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3022 New option. (Bug#16182)
3023 (ruby-smie--indent-to-stmt-p): Use it.
3024 (ruby-smie-rules): Revert the logic in the handling of `when'.
3025 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3026 (ruby-deep-arglist, ruby-deep-indent-paren)
3027 (ruby-deep-indent-paren-style): Update docstrings to note that the
3028 vars don't have any effect with SMIE.
3029
3030 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3031
3032 * calc/calc.el (calc-enter, calc-pop): Use the variable
3033 `calc-context-sensitive-enter'.
3034
3035 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3036
3037 * net/shr.el (shr-insert): Protect against infloops in degenerate
3038 tables.
3039
3040 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3041
3042 * progmodes/octave.el (octave): Add link to manual and octave
3043 homepage.
3044 (octave-mode-menu): Link to octave-mode manual.
3045
3046 2013-12-20 Leo Liu <sdl.web@gmail.com>
3047
3048 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3049 insertion using skeleton-end-newline. (Bug#16138)
3050
3051 2013-12-20 Juri Linkov <juri@jurta.org>
3052
3053 * replace.el (occur-engine): Use `add-face-text-property'
3054 to add the face property to matches and titles. (Bug#14645)
3055
3056 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3057 the palette of other hi-lock colors.
3058 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3059
3060 2013-12-19 Juri Linkov <juri@jurta.org>
3061
3062 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3063 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3064 (minibuffer-history-symbol): Move variable declaration closer to
3065 its usage.
3066
3067 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3068 (Bug#14785)
3069
3070 2013-12-19 Juri Linkov <juri@jurta.org>
3071
3072 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3073 New function.
3074 (log-edit-hook): Add it to :options. (Bug#16170)
3075
3076 2013-12-19 Juri Linkov <juri@jurta.org>
3077
3078 * simple.el (eval-expression-print-format): Don't check for
3079 command names and the last command. Always display additional
3080 formats of the integer result in the echo area, and insert them
3081 to the current buffer only with a zero prefix arg.
3082 Display character when char-displayable-p is non-nil.
3083 (eval-expression): With a zero prefix arg, set `print-length' and
3084 `print-level' to nil, and insert the integer values from
3085 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3086
3087 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3088 `eval-last-sexp-arg-internal'. Doc fix.
3089 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3090 `eval-last-sexp-print-value'. Doc fix.
3091 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3092 Set `print-length' and `print-level' to nil when arg is zero.
3093 (eval-last-sexp): Doc fix.
3094 (eval-defun-2): Print the integer values from
3095 `eval-expression-print-format' at the end.
3096
3097 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3098 values from `eval-expression-print-format' at the end.
3099
3100 * ielm.el (ielm-eval-input): Print the integer
3101 values from `eval-expression-print-format' at the end.
3102
3103 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3104
3105 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3106 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3107
3108 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3111 (hl-line-highlight, global-hl-line-highlight): Use it.
3112 (hl-line-overlay): Use defvar-local.
3113
3114 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3115
3116 * term/ns-win.el: Require dnd.
3117 (global-map): Remove drag items.
3118 (ns-insert-text, ns-set-foreground-at-mouse)
3119 (ns-set-background-at-mouse):
3120 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3121 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3122 New functions.
3123
3124 2013-12-19 Glenn Morris <rgm@gnu.org>
3125
3126 * emacs-lisp/ert.el (ert-select-tests):
3127 Fix string/symbol mixup. (Bug#16121)
3128
3129 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3130
3131 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3132 keywords to their parent.
3133
3134 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3135
3136 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3137 first arg to be a string (fixed dead code), or an operator symbol.
3138 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3139 operator symbols.
3140 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3141 did nothing. Don't respond to `(:after ".")', it will be called
3142 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3143 change anything. Only return indentation for binary operators
3144 when they are hanging. De-dent opening paren when its parent is
3145 `.', otherwise it looks bad when the dot is not at bol or eol
3146 (bug#16182).
3147
3148 2013-12-19 Juri Linkov <juri@jurta.org>
3149
3150 * replace.el (query-replace-read-args): Split a non-negative arg
3151 and a negative arg into separate elements.
3152 (query-replace, query-replace-regexp, replace-string)
3153 (replace-regexp): Add arg `backward'. Doc fix.
3154 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3155 move point to the beginning of the match.
3156 (replace-search, replace-highlight): Use new arg `backward'
3157 to set the value of `isearch-forward'.
3158 (perform-replace): Add arg `backward' and use it to perform
3159 replacement backward. (Bug#14979)
3160
3161 * isearch.el (isearch-query-replace): Use a negative prefix arg
3162 to call `perform-replace' with a non-nil arg `backward'.
3163
3164 2013-12-18 Juri Linkov <juri@jurta.org>
3165
3166 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3167 to the default list. Move `log-edit-show-files' to the end.
3168 Add more available functions to options.
3169 (log-edit): Move default specific settings to
3170 `log-edit-insert-message-template'. Don't move point.
3171 (log-edit-insert-message-template): New function.
3172 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3173 (Bug#16170)
3174
3175 2013-12-18 Juri Linkov <juri@jurta.org>
3176
3177 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3178 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3179
3180 2013-12-18 Leo Liu <sdl.web@gmail.com>
3181
3182 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3183 (Bug#16186)
3184
3185 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3186
3187 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3188 formats for displaying file sizes when the -s switch is given.
3189 Instead, compute a separate format for displaying the size in
3190 blocks, which is displayed in addition to the "regular" size.
3191 When -h is given in addition to -s, produce size in blocks in
3192 human-readable form as well. (Bug#16179)
3193
3194 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3195
3196 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3197 Reference tables with ~\ref{...} instead of only \ref{...}.
3198
3199 2013-12-18 Chong Yidong <cyd@gnu.org>
3200
3201 * cus-edit.el (custom-magic-alist): Fix "themed" description
3202 (Bug#14348).
3203
3204 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3205 is non-nil, do not create a new entry in the symbol's theme-value
3206 or theme-face property; update theme-settings only (Bug#14664).
3207 (custom-available-themes): Doc fix.
3208
3209 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3210 (Bug#15674).
3211
3212 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3213
3214 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3215
3216 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3217 (Bug#13914).
3218
3219 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3220
3221 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3222
3223 2013-12-18 Glenn Morris <rgm@gnu.org>
3224
3225 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3226 * cus-start.el (load-prefer-newer): New option.
3227
3228 2013-12-18 Le Wang <l26wang@gmail.com>
3229
3230 * comint.el (comint-previous-matching-input-from-input):
3231 Retain point (Bug#13404).
3232
3233 2013-12-18 Chong Yidong <cyd@gnu.org>
3234
3235 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3236
3237 2013-12-18 Glenn Morris <rgm@gnu.org>
3238
3239 * mail/emacsbug.el (report-emacs-bug):
3240 Only mention enable-multibyte-characters if non-standard.
3241
3242 2013-12-17 Juri Linkov <juri@jurta.org>
3243
3244 * arc-mode.el (archive-extract-by-file): Check if directory exists
3245 before deletion to not show irrelevant errors if it doesn't exist.
3246
3247 2013-12-17 Juri Linkov <juri@jurta.org>
3248
3249 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3250 (Bug#14751)
3251
3252 * net/eww.el (browse-web): Add alias to `eww'.
3253 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3254 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3255
3256 * net/browse-url.el (browse-url-browser-function): Move `eww'
3257 closer to similar functions.
3258
3259 * startup.el (fancy-startup-screen, fancy-about-screen):
3260 Set browse-url-browser-function to eww-browse-url locally.
3261 (Bug#14751)
3262
3263 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * window.el (window--pixel-to-total): Remove unused `mini' var.
3266 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3267 (split-window): Remove unused `new' var.
3268 (window--display-buffer): Remove unused `frame' and `delta' vars.
3269 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3270 and display-width'.
3271
3272 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3273
3274 * dired.el (dired-mark-pop-up):
3275 * register.el (register-preview): Don't bind
3276 split-height-threshold here since it's now done in
3277 display-buffer-below-selected.
3278
3279 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3280
3281 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3282 xterm-rgb-convert-to-16bit.
3283 (rxvt-register-default-colors): Standardize with
3284 xterm-register-default-colors (Bug#14078).
3285
3286 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3287
3288 * simple.el (kill-region): Pass mark first, then point, so that
3289 kill-append works right (Bug#12819).
3290 (copy-region-as-kill, kill-ring-save): Likewise.
3291
3292 2013-12-17 Leo Liu <sdl.web@gmail.com>
3293
3294 * net/rcirc.el (rcirc-add-face):
3295 * eshell/em-prompt.el (eshell-emit-prompt):
3296 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3297 (Bug#16167)
3298
3299 2013-12-17 Chong Yidong <cyd@gnu.org>
3300
3301 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3302 Suggested by Xue Fuqiao.
3303
3304 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3305
3306 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3307
3308 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * net/shr.el (shr-insert-document): Remove unused var
3311 `shr-preliminary-table-render'.
3312 (shr-rescale-image): Remove unused arg `force'.
3313 (shr-put-image): Update calls accordingly.
3314 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3315
3316 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3317
3318 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3319 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3320 :close-all, to see which indentation method to use (Bug#16116).
3321 (smie-rules-function): Document the method :close-all.
3322
3323 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3324
3325 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3326
3327 * net/eww.el (eww-display-html): If we can't find the anchor we're
3328 looking for, then go to point-min.
3329
3330 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3331
3332 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3333 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3334 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3335 Expand dir too, in case it's relative.
3336
3337 2013-12-16 Juri Linkov <juri@jurta.org>
3338
3339 * desktop.el (desktop-auto-save-timeout): Change default to
3340 `auto-save-timeout'. Doc fix.
3341 (desktop-save): Skip the timestamp in desktop-saved-frameset
3342 when checking for auto-save changes.
3343 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3344 `desktop-auto-save' is called repeatedly by the idle timer.
3345 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3346 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3347 (Bug#15331)
3348
3349 2013-12-16 Juri Linkov <juri@jurta.org>
3350
3351 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3352 (Bug#16035)
3353 (isearch-pre-command-hook): Check `this-command' for symbolp.
3354
3355 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3358
3359 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3360
3361 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3362 (cfengine3--current-function): Bring in the current-function
3363 functionality from `cfengine3--current-word'.
3364 (cfengine3-completion-function): Bring in the
3365 bounds-of-current-word functionality from
3366 `cfengine3--current-word'.
3367
3368 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3369
3370 * window.el (display-buffer-below-selected):
3371 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3372
3373 2013-12-16 Leo Liu <sdl.web@gmail.com>
3374
3375 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3376 Remove NOMSG arg and all uses changed.
3377
3378 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3380 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3381 (cua--deactivate-rectangle): Don't deactivate the mark.
3382 (cua-set-rectangle-mark): Don't set mark-active since
3383 cua--activate-rectangle already does it for us.
3384 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3385 non-rectangular region.
3386
3387 * emulation/cua-base.el (cua-repeat-replace-region):
3388 Use with-current-buffer.
3389
3390 * net/gnutls.el: Use cl-lib.
3391 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3392
3393 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3394
3395 * emacs-lisp/package.el (package-built-in-p): Support both
3396 built-in and the package.el converted package descriptions.
3397 (package-show-package-list): Allow keywords.
3398 (package-keyword-button-action): Use it instead of
3399 `finder-list-matches'.
3400 (package-menu-filter-interactive): Interactive filtering (by
3401 keyword) function.
3402 (package-menu--generate): Support keywords and change keymappings
3403 and headers when they are given.
3404 (package--has-keyword-p): Helper function.
3405 (package-menu--refresh): Use it.
3406 (package--mapc): Helper function.
3407 (package-all-keywords): Use it.
3408 (package-menu-mode-map): Set up menu items and keybindings to
3409 provide a filtering UI.
3410
3411 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3412
3413 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3414 the behavior when a certificate fails validation. Defaults to
3415 old behavior: never abort, just warn.
3416 (gnutls-negotiate): Use it.
3417
3418 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3419
3420 * window.el (display-buffer-below-selected): Never split window
3421 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3422
3423 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3424
3425 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3426 (package-buffer-info): Use it (bug#15108).
3427
3428 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * icomplete.el (icomplete-completions): Make sure the prefix is already
3431 displayed elsewhere before hiding it (bug#16219).
3432
3433 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3434
3435 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3436 open-paren tokens when preceded by a open-paren, too.
3437 (ruby-smie-rules): Handle virtual indentation after open-paren
3438 tokens specially. If there is code between it and eol, return the
3439 column where is starts (Bug#16118).
3440
3441 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3442
3443 * progmodes/cfengine.el: Fix `add-hook' doc.
3444 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3445 (cfengine3--current-word): Fix parameters.
3446 (cfengine3-make-syntax-cache): Simplify further.
3447 (cfengine3-completion-function, cfengine3--current-function):
3448 Use `assq' for symbols.
3449 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3450
3451 2013-12-13 Glenn Morris <rgm@gnu.org>
3452
3453 * loadup.el (load-path): Warn if site-load or site-init changes it.
3454 No more need to reset it when bootstrapping.
3455
3456 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3457
3458 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3459 locations for cf-promises.
3460 (cfengine-mode-syntax-functions-regex): New caching variable.
3461 (cfengine3-fallback-syntax): Fallback syntax for cases where
3462 cf-promises doesn't run.
3463 (cfengine3--current-word): Reimplement using
3464 `cfengine-mode-syntax-functions-regex'.
3465 (cfengine3-completion-function, cfengine3--current-function):
3466 Use `cfengine3-make-syntax-cache' directly.
3467 (cfengine3-clear-syntax-cache): New function.
3468 (cfengine3-make-syntax-cache): Simplify and create
3469 `cfengine-mode-syntax-functions-regex' on demand.
3470 (cfengine3-format-function-docstring): Don't call
3471 `cfengine3-make-syntax-cache' explicitly.
3472
3473 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3474
3475 Fix windmove-find-other-window broken after pixelwise resizing
3476 (Bug#16017).
3477 * windmove.el (windmove-other-window-loc): Revert change from
3478 2013-12-04.
3479 (windmove-find-other-window): Call window-in-direction.
3480 * window.el (window-in-direction): New arguments SIGN, WRAP and
3481 MINI to emulate original windmove-find-other-window behavior.
3482
3483 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3484
3485 * simple.el (blink-matching--overlay): New variable.
3486 (blink-matching-open): Instead of moving point, highlight the
3487 matching paren with an overlay
3488 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3489
3490 * faces.el (paren-showing-faces, show-paren-match)
3491 (show-paren-mismatch): Move from paren.el.
3492
3493 2013-12-13 Leo Liu <sdl.web@gmail.com>
3494
3495 * indent.el (indent-region): Disable progress reporter in
3496 minibuffer. (Bug#16108)
3497
3498 * bindings.el (visual-order-cursor-movement): Fix version.
3499
3500 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3501
3502 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3503 Also match after beginning of line.
3504 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3505 files. Thanks to Russell Sim. (Bug#15378)
3506
3507 2013-12-13 Juri Linkov <juri@jurta.org>
3508
3509 * simple.el <Keypad support>: Remove key bindings duplicated
3510 with bindings.el. (Bug#14397)
3511
3512 2013-12-13 Juri Linkov <juri@jurta.org>
3513
3514 * comint.el (comint-mode-map): Replace `delete-char' with
3515 `delete-forward-char'. (Bug#16109)
3516
3517 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3518
3519 * progmodes/python.el (python-indent-calculate-indentation):
3520 Fix de-denters cornercase. (Bug#15731)
3521
3522 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3525 (advice--make): Pay attention to `depth'.
3526 (advice--make-1): Don't autoload commands eagerly.
3527 * emacs-lisp/elp.el (elp-instrument-function):
3528 * emacs-lisp/trace.el (trace-function-internal):
3529 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3530
3531 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3532
3533 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3534
3535 * term/w32-win.el (w32-handle-dropped-file):
3536 * startup.el (normal-top-level):
3537 * net/browse-url.el (browse-url-file-url):
3538 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3539 decode file names using 'utf-8' rather than
3540 file-name-coding-system.
3541
3542 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3543
3544 * progmodes/python.el (python-indent-context)
3545 (python-indent-calculate-indentation): Fix auto-identation
3546 behavior for comment blocks. (Bug#15916)
3547
3548 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3549
3550 * progmodes/python.el (python-indent-calculate-indentation):
3551 When determining indentation, don't treat "return", "pass", etc., as
3552 operators when they are just string constituents. (Bug#15812)
3553
3554 2013-12-12 Juri Linkov <juri@jurta.org>
3555
3556 * uniquify.el (uniquify-buffer-name-style): Change default to
3557 `post-forward-angle-brackets'.
3558
3559 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3560 `uniquify'. Change default to `post-forward-angle-brackets'.
3561
3562 2013-12-11 Glenn Morris <rgm@gnu.org>
3563
3564 * emacs-lisp/package.el (finder-list-matches):
3565 Autoload rather than falsely declaring.
3566
3567 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3568
3569 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3570 (eww-mode-map): Use them.
3571
3572 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3573
3574 * window.el (display-buffer-in-side-window): Fix doc-string
3575 (Bug#16115).
3576
3577 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3578
3579 * vc/vc-git.el: Silence byte-compiler warnings.
3580 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3581 (log-edit-set-header): Declare.
3582
3583 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3584
3585 * Makefile.in (custom-deps, finder-data): Run output file names
3586 through unmsys--file-name. (Bug#16099)
3587
3588 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3591 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3592
3593 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3594 instead of deleting the selection "by hand" (bug#16098).
3595 Rely on insert-for-yank to yank rectangles.
3596 (cua-highlight-region-shift-only): Mark obsolete.
3597 (cua-mode): Don't enable/disable transient-mark-mode,
3598 shift-select-mode (cua-mode works both with and without them), and
3599 pc-selection-mode (obsolete).
3600 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3601 (cua--deactivate-rectangle): Deactivate it.
3602
3603 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3604 (delete-selection-helper): Make sure yank starts at the top of the
3605 deleted region.
3606 (minibuffer-keyboard-quit): Use region-active-p.
3607
3608 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3609
3610 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3611 to `delete' (bug#16109).
3612
3613 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3614
3615 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3616 info manual and show keybindings and set `:group' keyword.
3617
3618 2013-12-11 Juri Linkov <juri@jurta.org>
3619
3620 * delsel.el (delete-active-region): Let-bind `this-command'
3621 to prevent `kill-region' from changing its original value.
3622 (delete-selection-helper): Handle `overwrite-mode' for the type
3623 `kill' exactly the same way as for the type `t'.
3624 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3625 Support more commands. (Bug#13312)
3626
3627 2013-12-11 Juri Linkov <juri@jurta.org>
3628
3629 * bindings.el: Map kp keys to non-kp keys systematically
3630 with basic modifiers control, meta and shift. (Bug#14397)
3631
3632 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3633
3634 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3635 "Close browser" menu items. Fix wrong function of "List
3636 bookmarks".
3637
3638 2013-12-11 Juri Linkov <juri@jurta.org>
3639
3640 * misearch.el (multi-isearch-buffers): Set the value of
3641 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3642 arg of isearch-forward to t.
3643 (multi-isearch-buffers-regexp): Set the value of
3644 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3645 arg of isearch-forward-regexp to t.
3646 (multi-isearch-files): Set the value of
3647 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3648 arg of isearch-forward to t.
3649 (multi-isearch-files-regexp): Set the value of
3650 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3651 arg of isearch-forward-regexp to t. (Bug#16035)
3652
3653 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3654 arg of isearch-forward to t.
3655 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3656 arg of isearch-forward-regexp to t.
3657 (dired-isearch-filter-filenames): Remove unnecessary check for
3658 `dired-isearch-filenames'.
3659
3660 * comint.el (comint-history-isearch-backward):
3661 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3662 (comint-history-isearch-backward-regexp):
3663 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3664
3665 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3666
3667 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3668 unmsys--file-name. (Bug#16099)
3669
3670 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3671
3672 * emacs-lisp/package.el (package-keyword-button-action):
3673 Remove finder.el require dependency.
3674
3675 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3676
3677 * emacs-lisp/package.el: Require finder.el.
3678 (describe-package-1): Add keyword buttons.
3679 (package-make-button): New convenience function.
3680 (package-keyword-button-action): Keyword button action using
3681 `finder-list-matches'.
3682
3683 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3684
3685 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3686 last commit.
3687
3688 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3689
3690 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3691 symlinked files.
3692
3693 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3694
3695 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3696 after the end of a percent literal.
3697
3698 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3699
3700 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3701 Handle caret-delimited strings (Bug#16079).
3702
3703 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3704
3705 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3706 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3707 `ruby-parse-partial' (Bug#16078).
3708
3709 2013-12-09 Leo Liu <sdl.web@gmail.com>
3710
3711 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3712
3713 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3714
3715 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3716 (js-switch-indent-offset): New option.
3717 (js--proper-indentation): Use it. And handle the case when
3718 "default" is actually a key in an object literal.
3719 (js--same-line): New function.
3720 (js--multi-line-declaration-indentation): Use it.
3721 (js--indent-in-array-comp, js--array-comp-indentation):
3722 New functions.
3723 (js--proper-indentation): Use them, to handle array comprehension
3724 continuations.
3725
3726 2013-12-08 Leo Liu <sdl.web@gmail.com>
3727
3728 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3729 (flymake-make-overlay): Remove arg MOUSE-FACE.
3730 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3731
3732 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3735 New function.
3736 (redisplay-highlight-region-function): Use it.
3737
3738 * emulation/cua-base.el (cua--explicit-region-start)
3739 (cua--last-region-shifted): Remove.
3740 (cua--deactivate): Use deactivate-mark.
3741 (cua--pre-command-handler-1): Don't handle shift-selection.
3742 (cua--post-command-handler-1): Don't change transient-mark-mode.
3743 (cua--select-keymaps): Use region-active-p rather than
3744 cua--explicit-region-start or cua--last-region-shifted.
3745 (cua-mode): Enable shift-select-mode.
3746
3747 2013-12-08 Leo Liu <sdl.web@gmail.com>
3748
3749 * progmodes/flymake.el (flymake-popup-current-error-menu):
3750 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3751 (flymake-posn-at-point-as-event, flymake-popup-menu)
3752 (flymake-make-emacs-menu): Remove. (Bug#16077)
3753
3754 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * rect.el (rectangle-mark-mode): Activate mark even if
3757 transient-mark-mode is off (bug#16066).
3758 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3759 is > mark and at bolp.
3760
3761 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3762 (region-extract-function): Use it.
3763 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3764 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3765 Delete functions.
3766 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3767 kill-ring-save, kill-region, delete-char, delete-forward-char.
3768 Ignore self-insert-iso.
3769
3770 * emulation/cua-gmrk.el (cua--init-global-mark):
3771 Ignore `self-insert-iso'.
3772
3773 * emulation/cua-base.el (cua--prefix-copy-handler)
3774 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3775 checking cua--rectangle.
3776 (cua-delete-region): Use region-extract-function.
3777 (cua-replace-region): Delete function.
3778 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3779 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3780 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3781 (cua--init-keymaps): Don't remap delete-selection commands.
3782 (cua-mode): Use delete-selection-mode instead of rolling our own
3783 (bug#16085).
3784
3785 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3786 Obey region-extract-function.
3787
3788 Make registers and delete-selection-mode work on rectangles.
3789 * register.el (describe-register-1): Don't modify the register's value.
3790 (copy-to-register): Obey region-extract-function.
3791 * delsel.el (delete-active-region): Obey region-extract-function.
3792
3793 2013-12-08 Leo Liu <sdl.web@gmail.com>
3794
3795 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3796 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3797 (flymake-compilation-prevents-syntax-check)
3798 (flymake-start-syntax-check-on-newline)
3799 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3800 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3801 (flymake-xml-program, flymake-master-file-dirs)
3802 (flymake-master-file-count-limit)
3803 (flymake-allowed-file-name-masks): Relocate.
3804 (flymake-makehash, flymake-float-time)
3805 (flymake-replace-regexp-in-string, flymake-split-string)
3806 (flymake-get-temp-dir): Remove.
3807 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3808 (flymake-current-row, flymake-selected-frame)
3809 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3810 related functions. (Bug#16077)
3811
3812 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3813
3814 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3815
3816 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3817
3818 * help-fns.el (describe-function-1): Use new advice-* functions
3819 rather than old ad-* functions. Fix function type description and
3820 source links for advised functions and subrs.
3821
3822 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3823
3824 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3825
3826 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3827
3828 * progmodes/compile.el (compilation-start):
3829 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3830
3831 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3832 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3833
3834 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3835
3836 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3837 Touch up the last change.
3838
3839 2013-12-06 Leo Liu <sdl.web@gmail.com>
3840
3841 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3842 (inferior-octave-startup): Always use "octave> " for prompt.
3843 (octave-goto-function-definition)
3844 (octave-sync-function-file-names)
3845 (octave-find-definition-default-filename): Remove redundant backquotes.
3846
3847 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3848
3849 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3850 syntax for `?'.
3851 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3852 where appropriate already.
3853 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3854 end of method names (Bug#15874).
3855
3856 2013-12-06 Juri Linkov <juri@jurta.org>
3857
3858 * isearch.el (isearch--saved-overriding-local-map):
3859 New internal variable.
3860 (isearch-mode): Set it to the initial value of
3861 `overriding-terminal-local-map'.
3862 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3863 with `isearch--saved-overriding-local-map'. (Bug#16035)
3864
3865 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3866
3867 * progmodes/octave.el (inferior-octave-completion-table):
3868 Turn back into function, use `completion-table-with-cache'
3869 (Bug#11906). Update all references.
3870
3871 * minibuffer.el (completion-table-with-cache): New function.
3872
3873 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3874
3875 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3876
3877 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3878
3879 * net/eww.el (eww-current-source): New variable to store page
3880 source.
3881 (eww-display-html, eww-mode, eww-save-history)
3882 (eww-restore-history): Use it.
3883 (eww-view-source): New command to view page source.
3884 Opportunistically uses `html-mode' to highlight the buffer.
3885 (eww-mode-map): Install it.
3886
3887 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3888
3889 * net/dbus.el (dbus-unregister-service)
3890 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3891 Fix docstring.
3892 (dbus-unregister-service): Skip :serial entries in
3893 `dbus-registered-objects-table'.
3894 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3895
3896 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3897
3898 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3899 around keywords with extra `split-string' argument.
3900
3901 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3902
3903 * windmove.el (windmove-other-window-loc): Handle navigation
3904 between windows (excluding the minibuffer window - Bug#16017).
3905
3906 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3907
3908 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3909 in D-Bus type syntax.
3910 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3911 preserve unibyte strings. (Bug#16048)
3912
3913 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3916 Call force-mode-line-update is the proper buffer (bug#16042).
3917
3918 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3919
3920 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3921 `log-edit-remember-comment', make argument optional. Adjust all
3922 callers.
3923 (log-edit-mode): Add `log-edit-remember-comment' to
3924 `kill-buffer-hook' locally.
3925 (log-edit-kill-buffer): Don't remember comment explicitly since
3926 the buffer is killed anyway.
3927
3928 2013-12-04 Juri Linkov <juri@jurta.org>
3929
3930 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3931 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3932
3933 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3934
3935 * notifications.el (notifications-close-notification): Call the
3936 D-Bus method with ID being a `:uint32'. (Bug#16030)
3937
3938 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3939
3940 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3941
3942 2013-12-03 Juri Linkov <juri@jurta.org>
3943
3944 * progmodes/compile.el (compilation-start): Rename window alist
3945 entry `no-display-ok' to `allow-no-window'.
3946
3947 * simple.el (shell-command): Add window alist entry
3948 `allow-no-window' to `display-buffer'.
3949 (async-shell-command): Doc fix.
3950
3951 * window.el (display-buffer-no-window): New action function.
3952 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3953
3954 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3955
3956 * vc/log-edit.el (log-edit-set-header): Extract from
3957 `log-edit-toggle-header'.
3958 (log-edit-extract-headers): Separate the summary, when extracted
3959 from header, from the rest of the message with an empty line.
3960
3961 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3962 line, if present, to the Summary header.
3963
3964 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3965
3966 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3967 in current-buffer (bug#16029).
3968
3969 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3970
3971 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3972 (debugger-mode-map): Bind it.
3973 (debugger--backtrace-base): New function.
3974 (debugger-eval-expression): Use it.
3975 (debugger-frame-number): Skip local vars when present.
3976 (debugger--locals-visible-p, debugger--insert-locals)
3977 (debugger--show-locals, debugger--hide-locals): New functions.
3978
3979 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3980
3981 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3982 "LC_ALL".
3983 (tramp-get-remote-locale): New defun.
3984 (tramp-open-connection-setup-interactive-shell): Use it.
3985
3986 2013-12-02 Leo Liu <sdl.web@gmail.com>
3987
3988 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3989
3990 * progmodes/sh-script.el (sh-shell-process):
3991 * progmodes/octave.el (inferior-octave-process-live-p):
3992 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3993 (gdb-inferior-io-sentinel):
3994 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3995
3996 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3997
3998 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3999 `save-selected-window' to `log-edit-hide-buf'. This makes
4000 `log-edit-show-files' idempotent.
4001 (log-edit-show-files): Mark the new window as dedicated.
4002
4003 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4004
4005 * vc/log-edit.el (log-edit-mode-map): Add binding for
4006 `log-edit-kill-biffer'.
4007 (log-edit-hide-buf): Add a FIXME comment.
4008 (log-edit-add-new-comment): New function, extracted from
4009 `log-edit-done'.
4010 (log-edit-done, log-edit-add-to-changelog): Use it.
4011 (log-edit-kill-buffer): New command.
4012
4013 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4014
4015 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4016 instead of killing the buffer.
4017
4018 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4021
4022 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4023
4024 * net/eww.el (eww-form-checkbox-selected-symbol)
4025 (eww-form-checkbox-symbol): New customizable variable.
4026 (eww-form-checkbox, eww-toggle-checkbox):
4027 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4028
4029 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4030 (shr--get-media-pref, shr--extract-best-source): New function.
4031 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4032 no :src tag was specified.
4033
4034 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4035 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4036 Use \\` to match beginning of string instead of ^.
4037 (eww-browse-with-external-browser): Provide optional URL parameter.
4038 (eww-render): Set `eww-current-title' back to "".
4039
4040 * net/shr.el (shr-tag-video): Display content for video if no
4041 poster is available.
4042 (shr-tag-audio): Add support for <audio> tag.
4043
4044 * net/eww.el (eww-text-input-types): New const.
4045 (eww-process-text-input): Treat input types in
4046 `eww-text-input-types' as text.
4047
4048 * net/shr.el (shr-tag-table): Fix comment typo.
4049
4050 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4051
4052 * net/eww.el (eww-follow-link): New command to avoid reloading
4053 pages when we follow #target links (bug#15243).
4054 (eww-quit): Special mode buffers shouldn't query before exiting.
4055
4056 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4057
4058 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4059 forms.
4060
4061 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4062
4063 * net/eww.el (eww-restore-history): Update the window title after
4064 moving in the history.
4065 (eww-current-dom): New variable used to save the current DOM.
4066
4067 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4068
4069 * vc/log-edit.el (log-edit-mode-map): Add binding for
4070 `log-edit-beginning-of-line'.
4071 (log-edit-setup-add-author): New user option.
4072 (log-edit-beginning-of-line): New command.
4073 (log-edit): Move major mode call above the contents setup so that
4074 the local variable values are already applied.
4075 (log-edit): Only insert "Author: " when
4076 `log-edit-setup-add-author' is non-nil.
4077 (log-edit): When SETUP is non-nil, position point after ": "
4078 instead of point-min.
4079
4080 2013-12-01 Glenn Morris <rgm@gnu.org>
4081
4082 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4083
4084 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4085
4086 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4087 redisplay to make sure the initial frame gets a chance to become
4088 visible. (Bug#16014)
4089
4090 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4091
4092 Support resizing frames and windows pixelwise.
4093 * cus-start.el (frame-resize-pixelwise)
4094 (window-resize-pixelwise): New entries.
4095 * emacs-lisp/debug.el (debug): Use window-total-height instead
4096 of window-total-size.
4097 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4098 * help.el (describe-bindings-internal): Use help-buffer as
4099 argument for with-help-window.
4100 (temp-buffer-max-width): New option.
4101 (resize-temp-buffer-window, help-window-setup)
4102 (with-help-window): Rewrite.
4103 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4104 dragging dividers.
4105 * window.el (frame-char-size, window-min-pixel-height)
4106 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4107 (window-min-pixel-width, window-safe-min-pixel-size)
4108 (window-combination-p, window-safe-min-size)
4109 (window-resizable-p, window--size-to-pixel)
4110 (window--pixel-to-size, window--resize-apply-p): New functions.
4111 (window-safe-min-height): Fix doc-string.
4112 (window-size, window-min-size, window--min-size-1)
4113 (window-sizable, window-sizable-p, window--min-delta-1)
4114 (window-min-delta, window--max-delta-1, window-max-delta)
4115 (window--resizable, window--resizable-p, window-resizable)
4116 (window-full-height-p, window-full-width-p, window-at-side-p)
4117 (window--in-direction-2, window-in-direction)
4118 (window--resize-reset-1, window--resize-mini-window)
4119 (window-resize, window-resize-no-error)
4120 (window--resize-child-windows-normal)
4121 (window--resize-child-windows, window--resize-siblings)
4122 (window--resize-this-window, window--resize-root-window)
4123 (window--resize-root-window-vertically)
4124 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4125 (maximize-window, minimize-window, delete-window)
4126 (quit-restore-window, window-split-min-size, split-window)
4127 (balance-windows-2, balance-windows)
4128 (balance-windows-area-adjust, balance-windows-area)
4129 (window--state-get-1, window-state-get, window--state-put-1)
4130 (window--state-put-2, window-state-put)
4131 (display-buffer-record-window, window--display-buffer):
4132 Make functions handle pixelwise sizing of windows.
4133 (display-buffer--action-function-custom-type)
4134 (display-buffer-fallback-action):
4135 Add display-buffer-in-previous-window.
4136 (display-buffer-use-some-window): Resize window to height it had
4137 before.
4138 (fit-window-to-buffer-horizontally): New option.
4139 (fit-frame-to-buffer): Describe new values.
4140 (fit-frame-to-buffer-bottom-margin): Replace with
4141 fit-frame-to-buffer-margins.
4142 (window--sanitize-margin): New function.
4143 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4144 using window-text-pixel-size.
4145
4146 2013-11-30 Glenn Morris <rgm@gnu.org>
4147
4148 * emacs-lisp/bytecomp.el (byte-compile-form):
4149 Make the `interactive-only' warning like the `obsolete' one.
4150 * comint.el (comint-run):
4151 * files.el (insert-file-literally, insert-file):
4152 * replace.el (replace-string, replace-regexp):
4153 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4154 (goto-line, insert-buffer, next-line, previous-line):
4155 Tweak `interactive-only' spec.
4156
4157 Stop keeping (most) generated cedet grammar files in the repository.
4158 * Makefile.in (semantic): New.
4159 (compile-main): Depend on semantic.
4160
4161 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4163 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4164 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4165
4166 * uniquify.el (uniquify-buffer-name-style): Change default.
4167
4168 * loadup.el: Preload "uniquify".
4169
4170 * time.el (display-time-update): Update all mode lines (bug#15999).
4171
4172 * electric.el (electric-indent-mode): Enable by default.
4173 * loadup.el: Preload "electric".
4174
4175 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4176
4177 * emacs-lisp/helpers.el (string-empty-p): New function.
4178 (string-blank-p): New function.
4179
4180 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4181
4182 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4183 (Bug#14029).
4184
4185 2013-11-29 Andreas Politz <politza@fh-trier.de>
4186 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4187 allow non-lambda lists as functions.
4188 (imenu--in-alist): Don't recurse into non-subalists.
4189 (imenu): Don't pass function itself as an argument (Bug#14029).
4190
4191 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4192
4193 * progmodes/python.el (python-mode-map): Remove binding for ":".
4194 (python-indent-electric-colon): Remove command.
4195 (python-indent-post-self-insert-function): Integrate the previous code
4196 of python-indent-electric-colon. Make it conditional on
4197 electric-indent-mode.
4198 (python-mode): Add ?: to electric-indent-chars.
4199 Move python-indent-post-self-insert-function to the end of
4200 post-self-insert-hook.
4201
4202 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * doc-view.el (doc-view-goto-page): Update mode-line.
4205
4206 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4207
4208 2013-11-27 Glenn Morris <rgm@gnu.org>
4209
4210 * international/charprop.el, international/uni-bidi.el:
4211 * international/uni-category.el, international/uni-combining.el:
4212 * international/uni-comment.el, international/uni-decimal.el:
4213 * international/uni-decomposition.el, international/uni-digit.el:
4214 * international/uni-lowercase.el, international/uni-mirrored.el:
4215 * international/uni-name.el, international/uni-numeric.el:
4216 * international/uni-old-name.el, international/uni-titlecase.el:
4217 * international/uni-uppercase.el:
4218 Remove generated files from VCS repository.
4219
4220 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4221
4222 * filenotify.el (file-notify-add-watch): Don't special-case
4223 w32notify when computing the directory to watch.
4224
4225 2013-11-27 Glenn Morris <rgm@gnu.org>
4226
4227 Make bootstrap without generated uni-*.el files possible again.
4228 * loadup.el: Update command-line-args checking for unidata-gen.
4229 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4230 * composite.el, international/characters.el:
4231 Handle unicode tables being undefined.
4232
4233 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4234 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4235 (compile-main): Depend on leim rule.
4236 (leim): New rule.
4237 * loadup.el: Move leim-list.el to leim/ subdirectory.
4238 * startup.el (normal-top-level): No more leim directory.
4239 * international/ja-dic-cnv.el (skkdic-convert):
4240 Disable version-control and autoloads in output files.
4241 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4242 Disable version-control and autoloads in output files.
4243 * leim/quail: Move here from ../leim.
4244 * leim/quail/hangul.el (hangul-input-method-activate):
4245 Add autoload cookie.
4246 (generated-autoload-load-name): Set file-local value.
4247 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4248 (generated-autoload-load-name): Set file-local value.
4249
4250 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4251
4252 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4253 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4254 (eww-quit): Ask confirmation before quitting eww.
4255
4256 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4257
4258 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4259 reading output from Diff on MS-Windows and MS-DOS.
4260
4261 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4262
4263 * emacs-lisp/helpers.el (string-reverse): New function.
4264
4265 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4266
4267 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4268 names on MS Windows, like "/[::1]:".
4269
4270 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4271 SWITCHES.
4272
4273 2013-11-26 Glenn Morris <rgm@gnu.org>
4274
4275 * progmodes/python.el (python-indent-guess-indent-offset):
4276 Avoid corner-case error. (Bug#15975)
4277
4278 Preload leim-list.el. (Bug#4789)
4279 * loadup.el: Load leim-list.el when found.
4280 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4281
4282 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4283
4284 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4285
4286 * emacs-lisp/helpers.el (string-join): New function.
4287
4288 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4289
4290 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4291 Mark as obsolete and replace it with a symbol property.
4292 (byte-compile-form): Use new 'interactive-only property.
4293 * comint.el, files.el, replace.el, simple.el:
4294 Apply new 'interactive-only properly.
4295
4296 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4297
4298 * window.el (display-buffer-at-bottom): Make sure that
4299 split-window-sensibly creates the new window on bottom
4300 (Bug#15961).
4301
4302 2013-11-23 David Kastrup <dak@gnu.org>
4303
4304 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4305 on the conflict markers when available.
4306 (smerge--get-marker): New function.
4307 (smerge-end-re, smerge-base-re): Add subgroup.
4308
4309 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * frame.el (handle-focus-in, handle-focus-out): Add missing
4312 interactive spec.
4313
4314 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4315
4316 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4317 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4318
4319 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4322 (gomoku--last-pos): New var.
4323 (gomoku--intangible-chars): New const.
4324 (gomoku--intangible): New function.
4325 (gomoku-mode): Use it. Derive from special-mode.
4326 (gomoku-move-up): Adjust line count.
4327 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4328 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4329 Simplify accordingly.
4330
4331 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4332 Remove blink-cursor code.
4333 (blink-cursor-timer-function, blink-cursor-suspend):
4334 Don't special-case GUIs.
4335 (blink-cursor-mode): Use focus-in/out-hook.
4336
4337 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4338
4339 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4340 work when annotation is invisible (Bug#13886).
4341
4342 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4343
4344 * json.el (json-alist-p): Only return non-nil if the alist has
4345 simple keys (Bug#13518).
4346
4347 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4348
4349 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4350 when control-statement is the first statement in a buffer (Bug#15956).
4351
4352 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4353
4354 * imenu.el (imenu-generic-skip-comments-and-strings):
4355 New option (Bug#15560).
4356 (imenu--generic-function): Use it.
4357
4358 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4359
4360 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4361 (Bug#13898)
4362
4363 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4364
4365 * emacs-lisp/helpers.el: Add some string helpers.
4366 (string-trim-left): Removes leading whitespace.
4367 (string-trim-right): Removes trailing whitespace.
4368 (string-trim): Removes leading and trailing whitespace.
4369
4370 * subr.el (string-suffix-p): New function.
4371
4372 2013-11-23 Glenn Morris <rgm@gnu.org>
4373
4374 * progmodes/python.el (python-shell-send-file):
4375 Add option to delete file when done. (Bug#15647)
4376 (python-shell-send-string, python-shell-send-region): Use it.
4377
4378 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4379
4380 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4381 to set buffer-read-only to t, never to nil. (Bug#15938)
4382
4383 * textmodes/tex-mode.el (latex-noindent-environments):
4384 Add safe-local-variable property. (Bug#15936)
4385
4386 2013-11-23 Glenn Morris <rgm@gnu.org>
4387
4388 * textmodes/enriched.el (enriched-mode): Doc fix.
4389 * emacs-lisp/authors.el (authors-renamed-files-alist):
4390 Add enriched.doc -> enriched.txt.
4391
4392 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4393
4394 2013-11-22 Leo Liu <sdl.web@gmail.com>
4395
4396 * progmodes/octave.el (inferior-octave-startup): Spit out error
4397 message.
4398
4399 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4400
4401 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4402 Improve docstring.
4403 Add :version.
4404 (ruby-encoding-magic-comment-style): Add :version.
4405
4406 2013-11-22 Leo Liu <sdl.web@gmail.com>
4407
4408 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4409 (Bug#15076)
4410 (octave-help-mode): Adapt to change to help-mode-finish to use
4411 derived-mode-p on 2013-09-17.
4412 (inferior-octave-prompt): Also match octave-gui.
4413 (octave-kill-process): Don't ask twice. (Bug#10564)
4414
4415 2013-11-22 Leo Liu <sdl.web@gmail.com>
4416
4417 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4418 (inferior-octave-startup, inferior-octave-check-process)
4419 (inferior-octave-track-window-width-change)
4420 (octave-completion-at-point, octave-eldoc-function): Use it.
4421 (octave-kill-process): Provide confirmation. (Bug#10564)
4422
4423 2013-11-21 Leo Liu <sdl.web@gmail.com>
4424
4425 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4426 Fix obsolete variable comment-use-global-state.
4427
4428 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4429
4430 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4431 Add `octave-source-file'.
4432 (octave-source-file): New function. (Bug#15935)
4433
4434 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4435
4436 * net/eww.el (eww-local-regex): New variable.
4437 (eww): Use it to detect localhost and similar.
4438
4439 2013-11-21 Leo Liu <sdl.web@gmail.com>
4440
4441 Add completion for command `ag'.
4442 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4443 (pcomplete/ag): New function.
4444 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4445
4446 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4449 (bug#14646).
4450 (make-obsolete): Remove interactive spec.
4451
4452 2013-11-21 Glenn Morris <rgm@gnu.org>
4453
4454 * startup.el (command-line-1): Use path-separator with -L.
4455
4456 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4457
4458 * emacs-lisp/package.el (describe-package-1): Add package archive
4459 to shown fields.
4460
4461 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4462
4463 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4464 Change default to "# encoding: %s" to differentiate it from the
4465 default Ruby encoding comment template.
4466
4467 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4468
4469 * ses.el (ses-mode): Doc fix. (Bug#14748)
4470
4471 2013-11-20 Leo Liu <sdl.web@gmail.com>
4472
4473 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4474
4475 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4476
4477 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4478 when rebase or bisect are in progress.
4479
4480 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4481
4482 * filenotify.el (file-notify-add-watch): Doc fix.
4483
4484 2013-11-19 Leo Liu <sdl.web@gmail.com>
4485
4486 * obsolete/rcompile.el: Mark obsolete.
4487
4488 * progmodes/compile.el (compilation-start)
4489 (compilation-goto-locus, compilation-find-file):
4490 Pass no-display-ok and handle nil value from display-buffer.
4491 (Bug#13594)
4492
4493 * window.el (display-buffer-alist, display-buffer): Document the
4494 new parameter no-display-ok. Return either a window or nil
4495 but never a non-window value.
4496
4497 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4498
4499 * electric.el (electric-indent-mode-map): Remove.
4500 (electric-indent-mode): Change the global-map instead (bug#15915).
4501
4502 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4503 Use add-function.
4504
4505 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * emacs-lisp/nadvice.el (remove-function): Align with
4508 add-function's behavior.
4509
4510 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4511 (gdb--string-regexp): New constant.
4512 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4513 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4514 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4515 submatch 1.
4516 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4517 Adjust use accordingly.
4518 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4519
4520 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4521
4522 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4523 interpolation curlies (Bug#15914).
4524
4525 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4526
4527 * calc/calc.el (calc-context-sensitive-enter): New variable.
4528 (calc-enter): Use `calc-context-sensitive-enter'.
4529
4530 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4531
4532 * progmodes/cfengine.el: Version bump.
4533 (cfengine-cf-promises): New defcustom to locate cf-promises.
4534 (cfengine3-vartypes): Add new "data" type.
4535 (cfengine3--current-word): New function to get current name-like
4536 word or its bounds.
4537 (cfengine3--current-function): New function to look up a CFEngine
4538 function's definition.
4539 (cfengine3-format-function-docstring): New function.
4540 (cfengine3-make-syntax-cache): New function.
4541 (cfengine3-documentation-function): New function: ElDoc glue.
4542 (cfengine3-completion-function): New function: completion glue.
4543 (cfengine3-mode): Set `compile-command',
4544 `eldoc-documentation-function', and add to
4545 `completion-at-point-functions'.
4546
4547 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4548
4549 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4550 `tramp-current-connection'.
4551
4552 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4553
4554 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4555 nil/self/true/false with "end of symbol".
4556
4557 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4558
4559 * subr.el (version-regexp-alist): Fix a typo.
4560
4561 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4562
4563 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4564 "en_US.utf8" and "LC_CTYPE" to "".
4565 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4566 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4567
4568 2013-11-15 Leo Liu <sdl.web@gmail.com>
4569
4570 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4571
4572 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4573
4574 * progmodes/gud.el (ctl-x-map):
4575 Remove C-x SPC binding. (Bug#12342)
4576 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4577
4578 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4579
4580 * subr.el (version-regexp-alist):
4581 Recognize hg, svn and darcs versions as snapshot versions.
4582
4583 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4584 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4585 (ruby--encoding-comment-required-p): Extract from
4586 `ruby-mode-set-encoding'.
4587 (ruby-mode-set-encoding): Add the ability to always insert an
4588 utf-8 encoding comment. Fix and simplify coding comment update
4589 logic.
4590
4591 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4592
4593 * net/tramp-gvfs.el (top): Run init code only when
4594 `tramp-gvfs-enabled' is not nil.
4595 (tramp-gvfs-enabled): Check also :system bus.
4596
4597 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 Sync with upstream verilog-mode revision 78e66ba.
4600 * progmodes/verilog-mode.el (verilog-end-of-defun)
4601 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4602 (verilog-get-end-of-defun): Remove unused argument.
4603 (verilog-comment-depth): Remove unused local `e'.
4604 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4605 Don't pass arg to verilog-get-end-of-defun.
4606
4607 2013-11-14 Glenn Morris <rgm@gnu.org>
4608
4609 * obsolete/assoc.el (aget): Prefix dynamic variable.
4610
4611 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4612
4613 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4614
4615 * widget.el, hfy-cmap.el: Remove bogus package version number.
4616
4617 2013-11-13 Glenn Morris <rgm@gnu.org>
4618
4619 * replace.el (replace-eval-replacement):
4620 Try to give more helpful error message. (Bug#15836)
4621
4622 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4623 (archive-7z-update): Avoid custom type mismatches.
4624
4625 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4626
4627 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4628
4629 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4630 address can be empty.
4631
4632 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4633 Accept nil SWITCHES.
4634 (tramp-gvfs-handle-write-region): Implement APPEND.
4635
4636 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4637
4638 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4639 binary "|" operator and closing block args delimiter.
4640 Remove FIXME comment referring to Ruby 1.8-only syntax.
4641 (ruby-smie--implicit-semi-p): Not after "|" operator.
4642 (ruby-smie--closing-pipe-p): New function.
4643 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4644 (ruby-smie-rules): Indent after "|".
4645
4646 2013-11-12 Glenn Morris <rgm@gnu.org>
4647
4648 * ps-print.el (ps-face-attribute-list):
4649 Handle anonymous faces. (Bug#15827)
4650
4651 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4652
4653 * window.el (display-buffer-other-frame): Fix doc-string.
4654 (Bug#15868)
4655
4656 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4659
4660 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4661
4662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4663 (tramp-sh-handle-file-local-copy): Don't write a message when
4664 saving temporary files.
4665
4666 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4667 both directories are remote.
4668 (tramp-smb-handle-directory-files): Do not return double entries.
4669 Do not expand full file names.
4670 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4671 (tramp-smb-handle-write-region): Implement APPEND.
4672 (tramp-smb-get-stat-capability): Fix a stupid bug.
4673
4674 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4677
4678 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4679
4680 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4681 throwing error over malformed let/let* (bug#15814).
4682
4683 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * iswitchb.el (iswitchb-mode): Mark obsolete.
4686
4687 2013-11-11 Glenn Morris <rgm@gnu.org>
4688
4689 * international/uni-bidi.el, international/uni-category.el:
4690 * international/uni-name.el, international/uni-numeric.el:
4691 Regenerate for Unicode 6.3.0.
4692
4693 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4694
4695 * net/tramp.el (tramp-methods):
4696 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4697 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4698
4699 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4700
4701 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4702 Force highlighting text after Summary keyword in doc face for rpm.
4703
4704 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4705
4706 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4707 available and the word has no wildcards, append one to the grep pattern.
4708 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4709 (ispell-complete-word): Call `ispell-lookup-words' with the value
4710 independent of `ispell-look-p'.
4711
4712 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4713
4714 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4715 Not after "||".
4716 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4717 their parent.
4718
4719 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4722 (ruby-font-lock-keywords): Use backquote.
4723
4724 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4725
4726 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4727 (ruby-smie--backward-token): Only consider full-string matches.
4728
4729 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4730
4731 * faces.el (describe-face): Add distant-foreground.
4732
4733 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4734
4735 * progmodes/ruby-mode.el: Improve encoding comment handling.
4736 (ruby-encoding-magic-comment-style): New option.
4737 (ruby-custom-encoding-magic-comment-template): New option.
4738 (ruby--insert-coding-comment, ruby--detect-encoding):
4739 New functions extracted from `ruby-mode-set-encoding'.
4740 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4741 to control the style of the auto-inserted encoding comment.
4742
4743 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4744
4745 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4746 Use `smie-backward-sexp' with token argument.
4747
4748 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4749
4750 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4751 Remove instrumentation code.
4752
4753 2013-11-08 Glenn Morris <rgm@gnu.org>
4754
4755 * progmodes/autoconf.el (autoconf-mode):
4756 Tweak comment-start-skip. (Bug#15822)
4757
4758 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4761 at bobp (bug#15826).
4762 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4763
4764 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4765
4766 * man.el (Man-start-calling): New macro, extracted from
4767 Man-getpage-in-background.
4768 (Man-getpage-in-background): Use it.
4769 (Man-update-manpage): New command.
4770 (Man-mode-map): Bind it.
4771
4772 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4773
4774 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4775 of "and", "or", "&&" and "||".
4776 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4777 argument. Prohibit opening curly brace because it could only be a
4778 block opener in that position.
4779 (ruby-smie--forward-token, ruby-smie--backward-token):
4780 Separate "|" from "&" or "*" going after it. That can happen in block
4781 arguments.
4782 (ruby-smie--indent-to-stmt): New function, seeks the end of
4783 previous statement or beginning of buffer.
4784 (ruby-smie-rules): Use it.
4785 (ruby-smie-rules): Check if there's a ":" before a curly block
4786 opener candidate; if there is, it's a hash.
4787
4788 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4789
4790 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4791 (cl--block-wrapper): Fix last accidental change.
4792
4793 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4794
4795 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4796 Instrument, in order to hunt failure on hydra.
4797
4798 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4799
4800 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4801 malformed bindings form (bug#15814).
4802
4803 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4804
4805 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4806 "." compared to " @ ". This incidentally fixes some indentation
4807 examples with "do".
4808 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4809 (ruby-smie-grammar): New tokens: "and" and "or".
4810 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4811 Exclude "and" and "or". Remove "do" in order to work around token
4812 priorities.
4813 (ruby-smie-rules): Add all infix tokens. Handle the case of
4814 beginning-of-buffer.
4815
4816 2013-11-06 Glenn Morris <rgm@gnu.org>
4817
4818 * Makefile.in (setwins_almost, setwins_for_subdirs):
4819 Avoid accidental matches.
4820
4821 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * menu-bar.el (popup-menu): Use key-binding.
4824
4825 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4826
4827 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4828 menus, support also the menus produced by minor modes.
4829 (Bug#15817)
4830
4831 2013-11-06 Leo Liu <sdl.web@gmail.com>
4832
4833 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4834 DISTANCE to bound the search. All uses changed. (Bug#15808)
4835
4836 2013-11-06 Glenn Morris <rgm@gnu.org>
4837
4838 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4839 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4840 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4841
4842 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * electric.el (electric-indent-just-newline): New command.
4845 (electric-indent-mode-map): New keymap.
4846 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4847 Re-add :group which weren't redundant.
4848
4849 * electric.el (electric-indent-local-mode): New minor mode.
4850 (electric-indent-functions-without-reindent): New var.
4851 (electric-indent-post-self-insert-function): Use it.
4852 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4853
4854 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4855
4856 * international/quail.el (quail-help): Be more explicit about the
4857 meaning of the labels shown on the keys. (Bug#15800)
4858
4859 * startup.el (normal-top-level): Load the subdirs.el files before
4860 setting the locale environment. (Bug#15805)
4861
4862 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4863
4864 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4865 via arguments so as to get the right ones (bug#15418).
4866
4867 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4868
4869 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4870
4871 Fix problems found while writing a test suite.
4872
4873 * net/tramp-compat.el (tramp-compat-load): New defun.
4874 * net/tramp.el (tramp-handle-load): Use it.
4875
4876 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4877 "(numberp ok-if-already-exists)" correctly.
4878
4879 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4880
4881 * international/characters.el (glyphless-char-display-control):
4882 Add usage note.
4883
4884 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4885
4886 * progmodes/python.el (python-mode):
4887 * progmodes/scheme.el (scheme-mode):
4888 * progmodes/prolog.el (prolog-mode):
4889 * progmodes/ruby-mode.el (ruby-mode):
4890 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4891 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4892
4893 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * rect.el (rectangle--highlight-for-redisplay):
4896 * emacs-lisp/smie.el (smie--next-indent-change):
4897 Use buffer-chars-modified-tick.
4898
4899 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4900
4901 * electric.el (electric-indent-post-self-insert-function):
4902 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4903
4904 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4905
4906 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4907
4908 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4909
4910 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4911 (bug#15786).
4912
4913 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4916
4917 * progmodes/python.el: Fix up last change.
4918 (python-shell--save-temp-file): New function.
4919 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4920 `string' comes from the current buffer.
4921 (python-shell-send-string-no-output): Remove `msg' arg.
4922 (python--use-fake-loc): New var.
4923 (python-shell-buffer-substring): Obey it. Try to compensate for the
4924 extra coding line added by python-shell--save-temp-file.
4925 (python-shell-send-region): Use python-shell--save-temp-file and
4926 python-shell-send-file directly. Add `nomain' argument.
4927 (python-shell-send-buffer): Use python-shell-send-region.
4928 (python-electric-pair-string-delimiter): New function.
4929 (python-mode): Use it.
4930
4931 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4932
4933 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4934 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4935 environment and decoding all of the default-directory's to here
4936 from command-line.
4937 (command-line): Decode also argv[0].
4938
4939 * loadup.el: Error out if default-directory is a multibyte string
4940 when we are dumping.
4941
4942 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4943
4944 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4945
4946 * emacs-lisp/package.el (package-menu-mode)
4947 (package-menu--print-info, package-menu--archive-predicate):
4948 Add Archive column to package list.
4949
4950 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4951
4952 Fix problems found while writing a test suite.
4953
4954 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4955 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4956 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4957 to nil when running original file name handler. Otherwise,
4958 there are problems with constructs like "$$FOO".
4959
4960 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4961 for `localname'.
4962
4963 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4964
4965 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4966
4967 * subr.el (version<, version<=, version=):
4968 Update docstrings with information for snapshot versions.
4969
4970 * helpers.el: New library for misc helper functions.
4971 (hash-table-keys): New function returning a list of hash keys.
4972 (hash-table-values): New function returning a list of hash values.
4973
4974 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4975
4976 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4977 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4978
4979 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4980
4981 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4982 checking whether point is after a 1-letter word.
4983
4984 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4985
4986 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4987 Don't infloop when expanding region over `multiline' syntax-type that
4988 begins a line (bug#15778).
4989
4990 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4993 Make it into a proper minor mode.
4994 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4995 (rectangle-mark-mode-map): New keymap.
4996 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4997
4998 2013-11-04 Glenn Morris <rgm@gnu.org>
4999
5000 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5001
5002 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5003
5004 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5005 (ruby-smie-rules): Use smie-rule-parent instead.
5006
5007 * emacs-lisp/smie.el (smie-rule-parent): Always call
5008 smie-indent-virtual rather than only for hanging tokens.
5009 (smie--next-indent-change): New helper command.
5010
5011 2013-11-03 Glenn Morris <rgm@gnu.org>
5012
5013 * Makefile.in (abs_srcdir): Remove.
5014 (emacs): Unset EMACSLOADPATH.
5015
5016 2013-11-02 Glenn Morris <rgm@gnu.org>
5017
5018 * Makefile.in (EMACS): Use a relative filename.
5019 (abs_top_builddir): Remove.
5020 (custom-deps, finder-data, autoloads): Use --chdir.
5021
5022 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5023
5024 Use relative filenames in TAGS files.
5025 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5026 (lisptagsfiles4, TAGS): Use relative file names.
5027 (TAGS-LISP): Remove.
5028 (maintainer-clean): No more TAGS-LISP file.
5029
5030 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5031 (lisptagsfiles4): Use absolute filenames again.
5032 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5033 Remove all *loaddefs files, not just the first. Remove esh-groups.
5034 (maintainer-clean): Delete TAGS, TAGS-LISP.
5035
5036 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5037
5038 * emacs-lisp/package.el (package-version-join):
5039 Recognize snapshot versions.
5040
5041 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5042
5043 * subr.el (version-regexp-alist): Add support for snapshot versions.
5044
5045 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5046
5047 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5048 New function, replacement for `smie-rule-parent' for when we want to
5049 skip over our direct parent if it's an assignment token..
5050 (ruby-smie-rules): Use it.
5051
5052 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5053
5054 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5055 unconditionally. Remove now unnecessary forward declarations.
5056 Remove XEmacs-specific setup.
5057 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5058 (ruby-font-lock-syntactic-keywords)
5059 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5060 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5061 (ruby-here-doc-end-syntax): Remove.
5062 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5063 defined as function.
5064
5065 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5066
5067 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5068
5069 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5070
5071 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5072 table and abbrev table, `define-derived-mode' does that for us
5073 anyway.
5074
5075 2013-11-01 Glenn Morris <rgm@gnu.org>
5076
5077 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5078 files is atomic for some time, so no parallel compilation issues).
5079
5080 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5081
5082 * faces.el (face-x-resources): Add :distant-foreground.
5083 (region): Use :distant-foreground for gtk and ns.
5084
5085 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5086
5087 Allow multiple bibliographies when BibLaTeX is used rather than
5088 BibTeX.
5089 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5090 (reftex-locate-bibliography-files): Us it.
5091
5092 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5093
5094 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5095 allow comments in pbm files.
5096
5097 * term/w32-win.el (dynamic-library-alist): Support newer versions
5098 of libjpeg starting with v7: look only for the DLL from the
5099 version against which Emacs was built.
5100 Support versions of libpng beyond 1.4.x.
5101 Support libtiff v4.x.
5102
5103 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5104
5105 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5106 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5107 Add property :safe.
5108 (ruby-deep-arglist): Add property :type.
5109
5110 2013-10-31 Glenn Morris <rgm@gnu.org>
5111
5112 * Makefile.in (custom-deps, finder-data): No need to setq the target
5113 variables, we are in the right directory and the defaults work fine.
5114
5115 2013-10-30 Glenn Morris <rgm@gnu.org>
5116
5117 * Makefile.in (autoloads): Do not use abs_lisp.
5118
5119 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5120 `newline' does not respect `standard-output', so use `princ'.
5121
5122 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5123
5124 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5125 * buff-menu.el (Buffer-menu--unmark): New function.
5126 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5127
5128 2013-10-30 Glenn Morris <rgm@gnu.org>
5129
5130 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5131
5132 * emacs-lisp/package.el (lm-homepage): Declare.
5133
5134 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5135 Fix doc typos.
5136
5137 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5138
5139 * Makefile.in (finder-data, autoloads, update-subdirs)
5140 (compile-main, compile-clean, compile-always, bootstrap-clean):
5141 Check return value of cd.
5142 (compile-calc): Remove.
5143
5144 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5147
5148 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5149 (byte-compile-and-folded): New function.
5150 (=, <, >, <=, >=): Use it.
5151
5152 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5153 (path-separator, null-device, buffer-file-coding-system)
5154 (lpr-headers-switches): Check system-type before modifying them.
5155 (find-buffer-file-type-coding-system): Mark obsolete.
5156 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5157 find-file-not-found-set-buffer-file-coding-system.
5158 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5159 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5160 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5161 (w32-direct-print-region-helper, w32-direct-print-region-function)
5162 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5163 * startup.el (normal-top-level-add-subdirs-to-load-path):
5164 * ps-print.el (ps-print-region-function):
5165 * lpr.el (print-region-function): Use new name.
5166
5167 * subr.el (custom-declare-variable-early): Remove function.
5168 (custom-declare-variable-list): Remove var.
5169 (error, user-error): Remove `while' loop.
5170 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5171 (user-emacs-directory-warning, locate-user-emacs-file):
5172 Move to files.el.
5173 * simple.el (read-quoted-char-radix, read-quoted-char):
5174 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5175 Move from subr.el.
5176 * custom.el (custom-declare-variable-list): Don't process
5177 custom-declare-variable-list.
5178
5179 * progmodes/python.el (python-shell-get-buffer): New function.
5180 (python-shell-get-process): Use it.
5181 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5182 Python which encoding was used. Don't split-string since we only care
5183 about the first line. Return the temp-file, if applicable.
5184 (python-shell-send-region): Tell compile.el how to turn locations in
5185 the temp-file into locations in the source buffer.
5186
5187 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5188
5189 * subr.el (undefined): Add missing behavior from the C code for
5190 unbound keys.
5191
5192 * rect.el: Use lexical-binding. Add new rectangular region support.
5193 (rectangle-mark): New command.
5194 (rectangle--region): New var.
5195 (deactivate-mark-hook): Reset rectangle--region.
5196 (rectangle--extract-region, rectangle--insert-for-yank)
5197 (rectangle--highlight-for-redisplay)
5198 (rectangle--unhighlight-for-redisplay): New functions.
5199 (region-extract-function, redisplay-unhighlight-region-function)
5200 (redisplay-highlight-region-function): Use them to handle
5201 rectangular region.
5202 * simple.el (region-extract-function): New var.
5203 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5204 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5205 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5206 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5207 (redisplay-unhighlight-region-function)
5208 (redisplay-highlight-region-function): New vars.
5209 (redisplay--update-region-highlight): New function.
5210 (pre-redisplay-function): Use it.
5211 (exchange-point-and-mark): Don't deactivate the mark before
5212 reactivate-it anyway.
5213 * comint.el (comint-kill-region): Remove yank-handler argument.
5214 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5215 (delete-char): Remove property, since it's now part of their
5216 default behavior.
5217 (self-insert-iso): Remove property since this command doesn't exist.
5218
5219 * emacs-lisp/package.el (package--download-one-archive)
5220 (describe-package-1): Don't query the user about final newline.
5221
5222 2013-10-29 Daniel Colascione <dancol@dancol.org>
5223
5224 * net/tramp.el (tramp-methods): Document new functionality.
5225 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5226 tramp-hostname-checker if method provides one instead of scanning
5227 argument list for "%h" to decide hostname acceptability.
5228
5229 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5230
5231 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5232 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5233 Handle COPY-CONTENTS. (Bug#15737)
5234
5235 2013-10-28 Daiki Ueno <ueno@gnu.org>
5236
5237 * epa-file.el
5238 (epa-file-cache-passphrase-for-symmetric-encryption):
5239 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5240
5241 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5242
5243 * image.el (defimage, image-load-path): Doc fixes.
5244
5245 2013-10-27 Alan Mackenzie <acm@muc.de>
5246
5247 Indent statements in macros following "##" correctly.
5248 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5249 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5250
5251 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5252
5253 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5254
5255 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5256
5257 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5258 after `=' is probably a new expression.
5259
5260 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5261
5262 * man.el (man-imenu-title): New option.
5263 (Man-mode-map): Add menu. (Bug#15722)
5264 (Man-mode): Add imenu to menu.
5265
5266 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5267
5268 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5269 specific in what the first arg can be: a non-keyword word,
5270 string/regexp/percent literal opener, opening paren, or unary
5271 operator followed directly by word.
5272
5273 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5276 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5277 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5278 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5279 Remove vars, they do not apply any more.
5280 (prolog-mode-abbrev-table): Remove redundant declaration.
5281 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5282 (prolog-use-smie): Remove.
5283 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5284 supported by prolog-electric-if-then-else-flag.
5285 (prolog-mode-variables, prolog-menu): Use setq-local.
5286 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5287 Remove binding to `Backspace' since this key doesn't exist anyway.
5288 Remove bindings for electric self-inserting keys.
5289 (prog-mode): Assume it's defined.
5290 (prolog-post-self-insert): New function.
5291 (prolog-mode): Use it.
5292 (prolog-indent-line, prolog-indent-level)
5293 (prolog-find-indent-of-matching-paren)
5294 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5295 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5296 (prolog-goto-next-paren, prolog-in-string-or-comment)
5297 (prolog-tokenize, prolog-inside-mline-comment)
5298 (prolog-find-start-of-mline-comment): Remove functions.
5299 (prolog-find-unmatched-paren, prolog-clause-end)
5300 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5301 (prolog-electric--if-then-else): Rename from
5302 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5303 (prolog-tokenize-searchkey): Remove const.
5304 (prolog-clause-info): Use forward-sexp.
5305 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5306 (prolog-electric-if-then-else): Remove commands.
5307 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5308 for use in post-self-insert-hook.
5309 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5310 for use in post-self-insert-hook.
5311 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5312 for use in post-self-insert-hook.
5313 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5314 adapt it for use in post-self-insert-hook.
5315
5316 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5317
5318 * emacs-lisp/ert.el (ert-run-tests-interactively):
5319 Use `completing-read'. (Bug#9756)
5320
5321 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5322
5323 * simple.el (line-move): Call line-move-1 instead of
5324 line-move-visual when the current window hscroll is zero, but
5325 temporary-goal-column indicates we will need to hscroll as result
5326 of the movement. (Bug#15712)
5327
5328 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5329
5330 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5331 capitalization. Use :visible instead of :active.
5332 Fix `ruby-indent-exp' reference. Add menu items for the generic
5333 commands that are used with SMIE.
5334 (ruby-do-end-to-brace): Insert space after `{'.
5335
5336 2013-10-25 John Anthony <john@jo.hnanthony.com>
5337
5338 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5339
5340 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5341
5342 2013-10-25 Glenn Morris <rgm@gnu.org>
5343
5344 * vc/vc.el (vc-print-log): Don't use a working revision unless
5345 one was explicitly specified. (Bug#15322)
5346
5347 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * subr.el (add-to-list): Preserve return value in compiler-macro
5350 (bug#15692).
5351
5352 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5353
5354 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5355 result. Ask user to retry using '-all' flag. (Bug#15701)
5356
5357 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * emacs-lisp/smie.el: New smie-config system.
5360 (smie-config): New defcustom.
5361 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5362 (smie-config-guess, smie-config-save): New commands.
5363 (smie-config--mode-local, smie-config--buffer-local)
5364 (smie-config--trace, smie-config--modefuns): New vars.
5365 (smie-config--advice, smie-config--mode-hook)
5366 (smie-config--setter, smie-config-local, smie-config--get-trace)
5367 (smie-config--guess-value, smie-config--guess): New functions.
5368 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5369 text properties. Treat "string fence" syntax like string syntax.
5370
5371 * progmodes/sh-script.el (sh-use-smie): Change default.
5372 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5373 (sh-var-value): Simplify by CSE.
5374 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5375 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5376 is used.
5377 (sh-guess-basic-offset): Use cl-incf.
5378 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5379
5380 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5381
5382 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5383 (bug#15699).
5384
5385 2013-10-24 Glenn Morris <rgm@gnu.org>
5386
5387 * Makefile.in (abs_top_srcdir): Remove.
5388 (update-subdirs): Use relative path to update-subdirs.
5389
5390 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5391
5392 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5393 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5394 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5395 Call unmsys--file-name before expand-file-name, not after it.
5396
5397 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5398
5399 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5400 (ert-test-skipped): New error.
5401 (ert-skip, ert-stats-skipped): New defuns.
5402 (ert--skip-unless): New macro.
5403 (ert-test-skipped): New struct.
5404 (ert--run-test-debugger, ert-test-result-type-p)
5405 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5406 (ert--stats-set-test-and-result, ert-char-for-test-result)
5407 (ert-string-for-test-result, ert-run-tests-batch)
5408 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5409 Handle skipped tests. (Bug#9803)
5410
5411 2013-10-24 Glenn Morris <rgm@gnu.org>
5412
5413 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5414
5415 * Makefile.in (abs_top_srcdir): New, set by configure.
5416 (update-subdirs): Correct build-aux location.
5417
5418 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5419
5420 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5421 value, whether we could auto-deduce `backend', or not.
5422
5423 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5424 with parameters" example. Simplify the "is it block or is it
5425 hash" check, but also make it more thorough.
5426
5427 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5428
5429 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5430
5431 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5432
5433 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5434 { if it is hanging.
5435
5436 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5437 :before ";".
5438
5439 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5440
5441 * progmodes/compile.el (compilation-directory-matcher)
5442 (compilation-page-delimiter):
5443 Support GNU Make-4.0 directory quoting. (Bug#15678)
5444
5445 2013-10-23 Leo Liu <sdl.web@gmail.com>
5446
5447 * ido.el (ido-tidy): Handle read-only text.
5448
5449 2013-10-23 Glenn Morris <rgm@gnu.org>
5450
5451 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5452 (emacs, compile, compile-always):
5453 Quote entities that might contain whitespace.
5454 (custom-deps, finder-data, autoloads): Use abs_lisp.
5455 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5456 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5457 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5458
5459 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5460
5461 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5462 Use `following-char'.
5463
5464 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5465
5466 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5467 * progmodes/ruby-mode.el (ruby-smie-rules):
5468 Remove corresponding workaround. Fix indentation rule of ";" so it
5469 also applies when ";" is the parent.
5470
5471 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5472
5473 * frame.el (display-screens, display-pixel-height)
5474 (display-pixel-width, display-mm-width, display-backing-store)
5475 (display-save-under, display-planes, display-color-cells)
5476 (display-visual-class, display-monitor-attributes-list):
5477 Mention the optional ‘display’ argument in doc strings.
5478
5479 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5480
5481 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5482 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5483
5484 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5485
5486 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5487 TODO. Add "." after " @ ".
5488 (ruby-smie--at-dot-call): New function. Checks if point at method
5489 call with explicit target.
5490 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5491 to the method name tokens when it precedes them.
5492 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5493 (ruby-smie-rules): Add rule for indentation before and after "."
5494 token.
5495
5496 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * textmodes/remember.el (remember-diary-extract-entries):
5499 Avoid add-to-list.
5500
5501 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5502 an instruction.
5503
5504 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5505
5506 * progmodes/ruby-mode.el (ruby-smie-grammar):
5507 Add (almost) all infix operators.
5508 (ruby-smie--implicit-semi-p): Add new operator chars.
5509
5510 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5511 `smie-down-list'.
5512 (ruby-smie--args-separator-p): Check that there's no newline
5513 between method call and its arguments.
5514
5515 2013-10-20 Alan Mackenzie <acm@muc.de>
5516
5517 Allow comma separated lists after Java "implements".
5518
5519 * progmodes/cc-engine.el (c-backward-over-enum-header):
5520 Parse commas.
5521 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5522 from a "disallowed" list in enum fontification.
5523
5524 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5525
5526 * startup.el (default-frame-background-mode): Remove unused defvar.
5527
5528 * progmodes/verilog-mode.el (verilog-mode): Don't set
5529 comment-indent-function globally.
5530
5531 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5532
5533 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5534 Move Info menu item creation to ns-win.el.
5535
5536 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5537 in menu bar.
5538
5539 * menu-bar.el: Move GNUstep specific menus...
5540
5541 * term/ns-win.el (ns-initialize-window-system): ... to here.
5542
5543 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * simple.el (newline): Only run post-self-insert-hook when
5546 called interactively.
5547
5548 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5549
5550 * icomplete.el (icomplete-with-completion-tables): Add :version.
5551
5552 2013-10-19 Alan Mackenzie <acm@muc.de>
5553
5554 Fix fontification bugs with constructors and const.
5555
5556 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5557 CASE 2) Remove the check for the absence of a suffix construct
5558 after a function declaration with only types (no identifiers) in
5559 the parentheses. Also, accept a function declaration with just a
5560 type inside the parentheses, if this type can be positively
5561 recognised as such, or if a prefix keyword like "explicit" nails
5562 down the construct as a declaration.
5563
5564 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5565
5566 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5567 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5568 the problem whereby selecting a menu item that leads to a
5569 minibuffer prompt moves the cursor out of the minibuffer window,
5570 making it hard to type at the prompt. Suggested by Stefan Monnier
5571 <monnier@iro.umontreal.ca>.
5572
5573 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5574
5575 * menu-bar.el: Don't make Services menu.
5576
5577 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5578
5579 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5580 (ffap-alist): Use ffap-c++-mode for c++-mode.
5581 (ffap-c++-path): New variable.
5582 (ffap-c++-mode): New function.
5583
5584 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5585
5586 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5587
5588 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5589
5590 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5591 introduced on 2013-09-08, which results in an infinite loop
5592 requesting a password.
5593
5594 2013-10-18 Glenn Morris <rgm@gnu.org>
5595
5596 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5597
5598 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5599
5600 Sync with upstream verilog-mode revision 1a6ecec7.
5601 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5602 (verilog-mode-release-date): Remove.
5603 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5604 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5605 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5606 (verilog-auto-tieoff-ignore-regexp)
5607 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5608 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5609 (verilog-signals-with, verilog-dir-cache-preserving)
5610 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5611 Doc fixes.
5612 (verilog-case-fold): New option, to control case folding in
5613 regexp searches, bug597.
5614 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5615 (verilog-string-match-fold, verilog-in-paren-count)
5616 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5617 (verilog-at-close-struct-p): New functions.
5618 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5619 (verilog-forward-sexp, verilog-set-auto-endcomments)
5620 (verilog-leap-to-case-head): Handle "unique0" case.
5621 (verilog-in-constraint-re): New constant.
5622 (verilog-keywords, verilog-type-font-keywords):
5623 Add some SystemVerilog 1800-2012 keywords.
5624 (verilog-label-be): Remove unimplemented argument, bug669.
5625 (verilog-batch-execute-func): When batch expanding clear
5626 create-lockfiles to prevent spurious user locks when a file ends
5627 up not changing.
5628 (verilog-calculate-indent, verilog-calc-1)
5629 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5630 (verilog-do-indent): Fix indentation of nested constraints
5631 and structures.
5632 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5633 (verilog-auto-inst-param): Use verilog-string-match-fold.
5634 (verilog-read-inst-module-matcher):
5635 Fix AUTOINST on gate primitives with #1.
5636 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5637 Reads all user-defined typed variables.
5638 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5639 (verilog-signals-matching-regexp)
5640 (verilog-signals-not-matching-regexp, verilog-auto):
5641 Respect verilog-case-fold.
5642 (verilog-diff-report): Fix line count.
5643 (verilog-auto-assign-modport): Remove unused local `modi'.
5644 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5645 better handle multidimensional arrays.
5646 Fix packed array ports misadding bit index in AUTOINST, bug637.
5647 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5648 to not double-declare existing outputs and inputs, respectively.
5649 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5650 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5651 (verilog-sk-uvm-component): New skeleton.
5652 (verilog-submit-bug-report): Add verilog-case-fold,
5653 remove verilog-mode-release-date.
5654
5655 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5656
5657 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5658 as before.
5659
5660 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5661
5662 * textmodes/remember.el (remember): Set buffer-offer-save in
5663 remember buffers (bug#13566).
5664
5665 2013-10-18 Daniel Colascione <dancol@dancol.org>
5666
5667 When evaluating forms in ielm, direct standard output to ielm
5668 buffer. Add new ielm-return-for-effect command. Remove trailing
5669 whitespace throughout.
5670
5671 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5672 (ielm-return-for-effect): New command.
5673 (ielm-send-input): Accept optional `for-effect' parameter.
5674 (ielm-eval-input): Accept optional `for-effect' parameter.
5675 Bind `standard-output' to stream we create using
5676 `ielm-standard-output-impl'. Suppress printing result when
5677 `for-effect'.
5678 (ielm-standard-output-impl): New function.
5679 (inferior-emacs-lisp-mode): Explain new features in documentation.
5680
5681 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5682
5683 Code cleanup.
5684
5685 * net/tramp.el (tramp-debug-message): Do not check for connection
5686 buffer.
5687 (tramp-message): Use "vector" connection property.
5688
5689 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5690 (tramp-equal-remote, tramp-eshell-directory-change)
5691 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5692 (tramp-adb-handle-rename-file)
5693 * net/tramp-cmds.el (tramp-list-remote-buffers)
5694 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5695 * net/tramp-compat.el (tramp-compat-process-running-p)
5696 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5697 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5698 (tramp-gvfs-handle-rename-file)
5699 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5700 (tramp-set-file-uid-gid)
5701 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5702 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5703 of `file-remote-p'.
5704
5705 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5706 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5707 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5708 (tramp-gw-open-network-stream): Suppress unrelated traces.
5709
5710 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5711 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5712 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5713 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5714 connection property.
5715
5716 * net/tramp-cache.el (top): Suppress traces when reading
5717 persistency file.
5718
5719 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5720 Refactor common code. Improve debug message.
5721 (tramp-maybe-open-connection)
5722 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5723 connection buffer too early.
5724
5725 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5726 from `tramp-smb-actions-with-acl'.
5727 (tramp-smb-actions-set-acl): New defconst.
5728 (tramp-smb-handle-copy-directory)
5729 (tramp-smb-action-get-acl): New defun, renamed from
5730 `tramp-smb-action-with-acl'.
5731 (tramp-smb-action-set-acl): New defun.
5732 (tramp-smb-handle-set-file-acl): Rewrite.
5733
5734 2013-10-17 Glenn Morris <rgm@gnu.org>
5735
5736 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5737
5738 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5739
5740 * skeleton.el (skeleton-newline): Remove.
5741 (skeleton-internal-1): Use (insert "\n") instead.
5742
5743 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5744 let-bindings.
5745
5746 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5747 forward-sexp-function while we redo its job (bug#15613).
5748
5749 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5750
5751 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5752 represented by lists.
5753
5754 2013-10-16 Glenn Morris <rgm@gnu.org>
5755
5756 * tmm.el (tmm--history): New dynamic variable.
5757 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5758
5759 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5760
5761 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5762 (tramp-smb-errors): Add error messages.
5763 (tramp-smb-actions-with-acl): New defconst.
5764 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5765 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5766 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5767 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5768 (tramp-smb-get-stat-capability): Fix tests.
5769
5770 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5771
5772 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5773 (bug#15580).
5774
5775 2013-10-16 Glenn Morris <rgm@gnu.org>
5776
5777 * ansi-color.el (ansi-color-drop-regexp):
5778 Add 1J, 1K, 2K. (Bug#15617)
5779
5780 * files.el (hack-local-variables--warned-lexical): New.
5781 (hack-local-variables):
5782 Warn about misplaced lexical-binding. (Bug#15616)
5783
5784 * net/eww.el (eww-render): Always set eww-current-url,
5785 and update header line. (Bug#15622)
5786 (eww-display-html): ... Rather than just doing it here.
5787
5788 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5789
5790 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5791 menu navigations commands.
5792
5793 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5794
5795 * progmodes/subword.el (subword-capitalize): Be careful when
5796 the search for [[:alpha:]] fails (bug#15580).
5797
5798 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5799
5800 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5801 to commands that scroll the menu.
5802
5803 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5804
5805 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5806 Handle methods ending with `?' and `!'.
5807
5808 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5809
5810 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5811 `japanese-cp932' to `cp932' to fix the problem where saving a
5812 source file written in Shift_JIS twice would end up having
5813 `coding: japanese-cp932' which Ruby could not recognize.
5814 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5815 in `ruby-encoding-map'.
5816 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5817 doesn't need to be explicitly declared in magic comment.
5818 (ruby-encoding-map): Add type declaration for better customize UI.
5819
5820 2013-10-13 Glenn Morris <rgm@gnu.org>
5821
5822 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5823 Occur buffers are read-only. http://bugs.debian.org/720775
5824
5825 * emacs-lisp/authors.el (authors-fixed-entries):
5826 Comment out old alpha stuff.
5827
5828 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5829
5830 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5831 to `after-save-hook' instead of `before-save-hook'.
5832 (ruby-mode-set-encoding): Use the value of coding system used to
5833 write the file. Call `basic-save-buffer-1' after modifying the
5834 buffer.
5835
5836 2013-10-13 Alan Mackenzie <acm@muc.de>
5837
5838 Fix indentation/fontification of Java enum with
5839 "implements"/generic.
5840
5841 * progmodes/cc-engine.el (c-backward-over-enum-header):
5842 Extracted from the three other places and enhanced to handle generics.
5843 (c-inside-bracelist-p): Uses new function above.
5844 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5845 function above.
5846 (c-font-lock-enum-tail): Uses new function above.
5847
5848 2013-10-13 Kenichi Handa <handa@gnu.org>
5849
5850 * international/mule-cmds.el (select-safe-coding-system): Remove a
5851 superfluous condition in chekcing whether a coding system is safe
5852 or not.
5853
5854 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5855
5856 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5857
5858 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5859
5860 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5861
5862 2013-10-13 Glenn Morris <rgm@gnu.org>
5863
5864 * menu-bar.el (menu-bar-update-buffers):
5865 Unify Buffers menu prompt string. (Bug#15576)
5866
5867 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5868
5869 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5870 Add some entries.
5871 (authors-fixed-entries): Use accented form of name.
5872
5873 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5876 method calls (bug#15594).
5877 (ruby-smie--args-separator-p): New function.
5878 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5879 recognize paren-free method calls.
5880
5881 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5882 internals of universal-argument.
5883
5884 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5885
5886 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5887 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5888 dropped menu on second mouse click on the menu bar.
5889
5890 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5893 (explicit-shell-file-name): Declare.
5894 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5895 (sh-completion-at-point-function): New function.
5896 (sh-mode): Use it.
5897 (sh-smie--keyword-p): Remove unused argument.
5898 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5899 vars.
5900 (sh-set-shell): Always setup SMIE, even if we use the
5901 old indentation code.
5902
5903 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5904
5905 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5906 cases of ? and =.
5907 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5908 predicate would return nil are almost non-existent.
5909 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5910
5911 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5912 cache also after commands that modify the buffer but don't move
5913 point.
5914
5915 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * env.el (substitute-env-in-file-name): New function.
5918 (substitute-env-vars): Extend the meaning of the optional arg.
5919
5920 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5921
5922 * term/w32-win.el (dynamic-library-alist): Define separate lists
5923 of GIF DLLs for versions before and after 5.0.0 of giflib.
5924 (Bug#15531)
5925
5926 2013-10-10 João Távora <joaotavora@gmail.com>
5927
5928 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5929 not locked, use last revision and current source as
5930 defaults. (Bug#15569)
5931
5932 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5933
5934 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5935 menu-bar is hidden.
5936
5937 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5938
5939 * window.el (pop-to-buffer-same-window): Fix doc-string.
5940 (Bug#15492)
5941
5942 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5945
5946 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5947
5948 * calendar/icalendar.el (icalendar-import-file):
5949 Fix interactive spec. (Bug#15482)
5950
5951 2013-10-10 Glenn Morris <rgm@gnu.org>
5952
5953 * desktop.el (desktop-save): Default to saving in .emacs.d,
5954 since PWD is no longer in desktop-path by default. (Bug#15319)
5955
5956 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5957 now that text mode has a menu with the same entry.
5958 (menu-bar-text-mode-auto-fill): Remove now unused func.
5959 * textmodes/text-mode.el (text-mode-map):
5960 Use auto-fill help text from menu-bar.el.
5961
5962 2013-10-10 John Anthony <john@jo.hnanthony.com>
5963
5964 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5965
5966 2013-10-09 Juri Linkov <juri@jurta.org>
5967
5968 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5969 instead of this-command-keys. Add universal-argument-more and
5970 universal-argument-minus to the list of prefix commands. (Bug#15568)
5971
5972 2013-10-09 Glenn Morris <rgm@gnu.org>
5973
5974 * vc/vc-svn.el (vc-svn-create-repo):
5975 Expand paths in file://... url. (Bug#15446)
5976
5977 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5978 Add some entries.
5979 (authors): Remove unused local variables.
5980
5981 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * profiler.el: Create a more coherent calltree from partial backtraces.
5984 (profiler-format): Hide the tail with `invisible' so that C-s can still
5985 find the hidden elements.
5986 (profiler-calltree-depth): Don't recurse so enthusiastically.
5987 (profiler-function-equal): New hash-table-test.
5988 (profiler-calltree-build-unified): New function.
5989 (profiler-calltree-build): Use it.
5990 (profiler-report-make-name-part): Indent the calltree less.
5991 (profiler-report-mode): Add visibility specs for profiler-format.
5992 (profiler-report-expand-entry, profiler-report-toggle-entry):
5993 Expand the whole subtree when provided with a prefix arg.
5994
5995 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5996
5997 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5998 iuwu-mod token.
5999 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6000 hanging iuwu-mod token.
6001 (ruby-smie--forward-token): Do not include a dot after a token in
6002 that token.
6003 (ruby-smie--backward-token): Likewise.
6004
6005 2013-10-08 Juri Linkov <juri@jurta.org>
6006
6007 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6008 to isearch-other-control-char.
6009 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6010 and isearch-post-command-hook to post-command-hook.
6011 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6012 and isearch-post-command-hook from post-command-hook.
6013 (isearch-unread-key-sequence)
6014 (isearch-reread-key-sequence-naturally)
6015 (isearch-lookup-scroll-key, isearch-other-control-char)
6016 (isearch-other-meta-char): Remove functions.
6017 (isearch-pre-command-hook, isearch-post-command-hook):
6018 New functions based on isearch-other-meta-char rewritten
6019 relying on the new behavior of overriding-terminal-local-map
6020 that does not replace the local keymaps any more. (Bug#15200)
6021
6022 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6023
6024 Support menus on text-mode terminals.
6025 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6026 functionality.
6027
6028 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6029
6030 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6031 Move here from mouse.el.
6032 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6033 and arrow keys.
6034 (tty-menu-navigation-map): New map for TTY menu navigation.
6035
6036 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6037
6038 * frame.el (display-mouse-p): Report text-mode mouse as available
6039 on w32.
6040 (display-popup-menus-p): Report availability if mouse is
6041 available; don't condition on window-system.
6042
6043 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6044 (tty-menu-selected-face): New faces.
6045
6046 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6049 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6050 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6051 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6052 New constants.
6053 (lisp-mode-variables): New `elisp' argument.
6054 (emacs-lisp-mode): Use it.
6055 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6056 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6057
6058 * indent.el: Use lexical-binding.
6059 (indent-region): Add progress reporter.
6060 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6061 last step.
6062 (indent--next-tab-stop): New function to implement this behavior.
6063 (tab-to-tab-stop, move-to-tab-stop): Use it.
6064
6065 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6066
6067 * indent.el (indent-rigidly--current-indentation): New function.
6068 (indent-rigidly-map): New var.
6069 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6070
6071 2013-10-08 Bastien Guerry <bzg@gnu.org>
6072
6073 * register.el (insert-register): Fix 2013-10-07 change.
6074
6075 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6076
6077 * progmodes/perl-mode.el: Use lexical-binding.
6078 Remove redundant :group args.
6079 (perl-nochange): Change default to be closer to other major modes's
6080 standard behavior.
6081 (perl-indent-line): Don't consider text on current line as a
6082 valid beginning of function from which to indent.
6083
6084 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6085 with more than one argument (bug#15538).
6086
6087 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6088
6089 * vc/pcvs.el: Use lexical-binding.
6090 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6091 environment of `eval'.
6092 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6093 than a list of expressions. Adjust callers.
6094 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6095
6096 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6097
6098 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6099 case of the dot in a chained method call being on the following line.
6100
6101 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * electric.el (electric-indent-inhibit): New var.
6104 (electric-indent-post-self-insert-function): Use it.
6105 * progmodes/python.el (python-mode): Set it.
6106
6107 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6108 open braces.
6109
6110 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6111
6112 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6113 (css-mode): Use electric-indent-chars.
6114
6115 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6116 (font-lock-beg, font-lock-end): Move before first use.
6117 (nxml-mode): Use syntax-propertize-function.
6118 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6119 (nxml-extend-after-change-region): Remove.
6120 * nxml/xmltok.el: Use lexical-binding.
6121 (xmltok-save): Use `declare'.
6122 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6123 * nxml/nxml-util.el: Use lexical-binding.
6124 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6125 Use `declare'.
6126 * nxml/nxml-ns.el: Use lexical-binding.
6127 (nxml-ns-save): Use `declare'.
6128 (nxml-ns-prefixes-for): Avoid add-to-list.
6129 * nxml/rng-match.el: Use lexical-binding.
6130 (rng--ipattern): Use cl-defstruct.
6131 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6132 (rng-cons-group-after, rng-subst-group-after)
6133 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6134 Use closures instead of `(lambda...).
6135
6136 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6137
6138 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6139 of BEG and END.
6140
6141 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6142 Use `tramp-handle-insert-file-contents'.
6143 (tramp-gvfs-handle-insert-file-contents): Remove function.
6144
6145 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6146 Use `save-restriction' in order to keep markers.
6147
6148 * net/trampver.el: Update release number.
6149
6150 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * progmodes/compile.el (compilation-parse-errors):
6153 Use compilation--put-prop.
6154 (compilation--ensure-parse): Check compilation-multiline.
6155
6156 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6157
6158 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6159 lexical-binding.
6160
6161 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6162
6163 * progmodes/ruby-mode.el: Fix recently added tests.
6164 (ruby-smie-grammar): Add - and +.
6165 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6166 (ruby-smie--backward-id): New functions.
6167 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6168 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6169 any more.
6170
6171 2013-10-07 Leo Liu <sdl.web@gmail.com>
6172
6173 * register.el (register-preview-delay)
6174 (register-preview-functions): New variables.
6175 (register-read-with-preview, register-preview)
6176 (register-describe-oneline): New functions.
6177 (point-to-register, window-configuration-to-register)
6178 (frame-configuration-to-register, jump-to-register)
6179 (number-to-register, view-register, insert-register)
6180 (copy-to-register, append-to-register, prepend-to-register)
6181 (copy-rectangle-to-register): Use register-read-with-preview to
6182 read register. (Bug#15525)
6183
6184 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6185
6186 * net/network-stream.el (network-stream-open-starttls): Don't add
6187 --insecure if it's already present, because that gnutls-cli
6188 rejects getting that parameter twice.
6189
6190 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6191
6192 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6193 keyword, too.
6194
6195 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6196
6197 * newcomment.el (comment-use-global-state): Change default value
6198 to t, mark obsolete (Bug#15251).
6199 (comment-beginning): In addition to `comment-to-syntax', check the
6200 value of `comment-use-global-state'.
6201
6202 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6205 (ruby-comment-column): Follow the global default, by default.
6206 (ruby-smie-grammar): Add assignment syntax.
6207 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6208 open-paren, a comma, or a \.
6209 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6210 and line continuations.
6211 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6212 followed by implicit semi-colons. Add rule for string concatenation
6213 and for indentation at BOB.
6214 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6215
6216 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6217 calling next-sexp, since next-token may have skipped chars which
6218 next-sexp doesn't know should be skipped!
6219
6220 2013-10-05 Leo Liu <sdl.web@gmail.com>
6221
6222 * progmodes/octave.el (octave-send-region):
6223 Call compilation-forget-errors.
6224
6225 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6226
6227 * vc/vc-svn.el (vc-svn-find-admin-dir):
6228 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6229 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6230 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6231 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6232
6233 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6236
6237 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6238
6239 * subr.el (read-passwd): Hide chars even when called within a context
6240 where after-change-functions is disabled (bug#15501).
6241 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6242 until we removed ourself from overriding-terminal-local-map.
6243
6244 2013-10-04 Leo Liu <sdl.web@gmail.com>
6245
6246 * progmodes/octave.el (inferior-octave-mode):
6247 Call compilation-forget-errors.
6248
6249 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6250
6251 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6252
6253 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6254
6255 * net/secrets.el (secrets-create-collection): Add optional
6256 argument ALIAS. Use proper Label keyword. Append ALIAS as
6257 dbus-call-method argument. (Bug#15516)
6258
6259 2013-10-04 Leo Liu <sdl.web@gmail.com>
6260
6261 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6262 (inferior-octave-compilation-font-lock-keywords): New variables.
6263 (compilation-error-regexp-alist)
6264 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6265 (inferior-octave-mode): Use compilation-shell-minor-mode.
6266
6267 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6268
6269 * minibuffer.el (completion--replace): Be careful that `end' might be
6270 a marker.
6271
6272 2013-10-03 Daiki Ueno <ueno@gnu.org>
6273
6274 Add support for package signature checking.
6275 * emacs-lisp/package.el (url-http-file-exists-p)
6276 (epg-make-context, epg-context-set-home-directory)
6277 (epg-verify-string, epg-context-result-for)
6278 (epg-signature-status, epg-signature-to-string)
6279 (epg-check-configuration, epg-configuration)
6280 (epg-import-keys-from-file): Declare.
6281 (package-check-signature): New user option.
6282 (package-unsigned-archives): New user option.
6283 (package-desc): Add `signed' field.
6284 (package-load-descriptor): Set `signed' field if .signed file exists.
6285 (package--archive-file-exists-p): New function.
6286 (package--check-signature): New function.
6287 (package-install-from-archive): Check package signature.
6288 (package--download-one-archive): Check archive signature.
6289 (package-delete): Remove .signed file.
6290 (package-import-keyring): New command.
6291 (package-refresh-contents): Import default keyring.
6292 (package-desc-status): Add "unsigned" status.
6293 (describe-package-1, package-menu--print-info)
6294 (package-menu-mark-delete, package-menu--find-upgrades)
6295 (package-menu--status-predicate): Support "unsigned" status.
6296
6297 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6298
6299 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6300 the new compilation scheme using the new byte-codes.
6301
6302 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6303 (byte-pophandler): New byte codes.
6304 (byte-goto-ops): Adjust accordingly.
6305 (byte-compile--use-old-handlers): New var.
6306 (byte-compile-catch): Use new byte codes depending on
6307 byte-compile--use-old-handlers.
6308 (byte-compile-condition-case--old): Rename from
6309 byte-compile-condition-case.
6310 (byte-compile-condition-case--new): New function.
6311 (byte-compile-condition-case): New function that dispatches depending
6312 on byte-compile--use-old-handlers.
6313 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6314 when we can.
6315
6316 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6317 Optimize under `condition-case' and `catch' if
6318 byte-compile--use-old-handlers is nil.
6319 (disassemble-offset): Handle new bytecodes.
6320
6321 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * subr.el (error): Use `declare'.
6324 (decode-char, encode-char): Use advertised-calling-convention instead
6325 of the docstring to discourage use of the `restriction' arg.
6326
6327 2013-10-03 Daiki Ueno <ueno@gnu.org>
6328
6329 * epg.el (epg-verify-file): Add a comment saying that it does not
6330 notify verification error as a return value nor a signal.
6331 (epg-verify-string): Ditto.
6332
6333 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6334
6335 * progmodes/compile.el (compilation-start): Try globbing the arg to
6336 `cd' (bug#15417).
6337
6338 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6339
6340 Sync with Tramp 2.2.8.
6341
6342 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6343 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6344 * net/trampver.el: Update release number.
6345
6346 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6347
6348 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6349 and default-process-coding-system for darwin only.
6350
6351 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6354
6355 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6356
6357 * vc/vc-git.el (vc-git-grep): Disable pager.
6358
6359 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6360
6361 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6362 Use :url instead of :homepage, as per
6363 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6364
6365 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6366 non-nil, use `syntax-ppss' (Bug#15251).
6367
6368 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6369
6370 * progmodes/octave.el (inferior-octave-startup-file):
6371 Prefer ~/.emacs.d/init_octave.m.
6372
6373 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6374
6375 * emacs-lisp/package.el (package-desc-from-define):
6376 Accept additional arguments as plist, convert them to an alist and store
6377 them in the `extras' slot.
6378 (package-generate-description-file): Convert extras alist back to
6379 plist and append to the `define-package' form arguments.
6380 (package--alist-to-plist): New function.
6381 (package--ac-desc): Add `extras' slot.
6382 (package--add-to-archive-contents): Check if the archive-contents
6383 vector is long enough, and if it is, pass its `extras' slot value
6384 to `package-desc-create'.
6385 (package-buffer-info): Call `lm-homepage', pass the returned value
6386 to `package-desc-from-define'.
6387 (describe-package-1): Render the homepage button (Bug#13291).
6388
6389 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6390 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6391
6392 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6393
6394 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6395 and default-process-coding-system to utf-8-unix (Bug#15402).
6396
6397 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6398
6399 * subr.el (looking-back): Do not recommend using looking-back.
6400
6401 2013-09-28 Alan Mackenzie <acm@muc.de>
6402
6403 Fix indentation/fontification of Java enum with "implements".
6404
6405 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6406 regexp which matches "implements", etc., in Java.
6407 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6408 specifier clauses coming after "enum".
6409 * progmodes/cc-fonts.el (c-font-lock-declarations)
6410 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6411 after "enum".
6412
6413 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6414
6415 * faces.el (region): Change ns_selection_color to
6416 ns_selection_fg_color, add ns_selection_bg_color.
6417
6418 2013-09-28 Leo Liu <sdl.web@gmail.com>
6419
6420 * progmodes/octave.el (inferior-octave-completion-table)
6421 (inferior-octave-completion-at-point): Minor tweaks.
6422
6423 * textmodes/ispell.el (ispell-lookup-words): Rename from
6424 lookup-words. (Bug#15460)
6425 (lookup-words): Obsolete.
6426 (ispell-complete-word, ispell-command-loop): All uses changed.
6427
6428 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6429
6430 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6431 (octave-mode-menu): Add octave-send-buffer.
6432 (octave-send-buffer): New function.
6433
6434 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6435
6436 * progmodes/octave.el (octave-mode-map): Add key binding for
6437 octave-lookfor.
6438 (octave-mode-menu): Add octave-lookfor.
6439 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6440 octave-lookfor.
6441 (octave-lookfor): New function.
6442
6443 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6446 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6447 its convention.
6448 (cl--loop-set-iterator-function): New function.
6449 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6450 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6451 Bind `it' with `let' instead of substituting it with `cl-subst'.
6452 (cl--unused-var-p): New function.
6453 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6454 Eliminate some unused variable warnings (bug#15326).
6455
6456 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6457
6458 * doc-view.el (doc-view-scale-reset): Rename from
6459 `doc-view-reset-zoom-level'.
6460 (doc-view-scale-adjust): New command.
6461 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6462 `doc-view-scale-adjust'.
6463
6464 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6465
6466 * doc-view.el (doc-view-reset-zoom-level): New command.
6467 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6468 zoom commands (bug#15466).
6469
6470 2013-09-26 Kenichi Handa <handa@gnu.org>
6471
6472 * international/quail.el (quail-help): Make it not a command.
6473
6474 2013-09-26 Leo Liu <sdl.web@gmail.com>
6475
6476 * minibuffer.el (completion-all-sorted-completions): Make args
6477 optional as they are.
6478
6479 2013-09-25 Daniel Colascione <dancol@dancol.org>
6480
6481 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6482 specs are and that they're not evaluated.
6483
6484 2013-09-24 Sam Steingold <sds@gnu.org>
6485
6486 * midnight.el (clean-buffer-list-kill-regexps)
6487 (clean-buffer-list-kill-buffer-names): Update for the new Man
6488 buffer naming which includes the object name.
6489
6490 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6493 (eshell-parse-command, eshell-parse-pipeline): Use it since
6494 eshell-separate-commands requires a dynamic scoped var.
6495 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6496
6497 2013-09-23 Leo Liu <sdl.web@gmail.com>
6498
6499 * autoinsert.el (auto-insert-alist): Make the value of
6500 lexical-binding match its file setting.
6501
6502 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6503
6504 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6505
6506 * autoarg.el (autoarg-kp-digit-argument):
6507 * electric.el (Electric-command-loop):
6508 * kmacro.el (kmacro-step-edit-insert):
6509 Do not set universal-argument-num-events.
6510
6511 2013-09-22 Leo Liu <sdl.web@gmail.com>
6512
6513 * files.el (interpreter-mode-alist): Add octave.
6514
6515 2013-09-21 Alan Mackenzie <acm@muc.de>
6516
6517 C++: fontify identifier in declaration following "public:" correctly.
6518 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6519 to match "public", etc.
6520 (c-decl-prefix-re): Add ":" into the C++ value.
6521 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6522 bit. Add a check for a ":" preceded by "public", etc.
6523
6524 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6525
6526 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6527 recognized by GDB 7.5 and later.
6528
6529 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6530
6531 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6532
6533 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * subr.el (internal--call-interactively): New const.
6536 (called-interactively-p): Use it (bug#3984).
6537
6538 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6539
6540 * vc/pcvs.el (cvs-mode-ignore):
6541 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6542 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6543
6544 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6547 (eshell-ls-orig-insert-directory): Remove.
6548 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6549 (eshell-ls-use-in-dired): Use advice-add/remove.
6550 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6551 Add `orig-fun' arg for use in :around advice.
6552 Make it check (redundantly) eshell-ls-use-in-dired.
6553
6554 2013-09-19 Glenn Morris <rgm@gnu.org>
6555
6556 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6557
6558 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6559
6560 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6561
6562 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6563
6564 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6565 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6566 (tramp-get-remote-python): New defuns.
6567 (tramp-get-remote-uid-with-perl)
6568 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6569 contributed by yary <not.com@gmail.com> (tiny change).
6570 (tramp-get-remote-uid-with-python)
6571 (tramp-get-remote-gid-with-python): New defuns. Python code
6572 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6573 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6574
6575 2013-09-19 Glenn Morris <rgm@gnu.org>
6576
6577 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6578
6579 * eshell/em-unix.el (eshell-remove-entries):
6580 Rename argument to avoid name-clash with global `top-level'.
6581
6582 * eshell/esh-proc.el (eshell-kill-process-function):
6583 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6584 (eshell-reset-after-proc): Remove unused arg `proc'.
6585
6586 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6587 (directory-files-and-attributes): Mark unused arg.
6588
6589 * eshell/em-unix.el (eshell-remove-entries):
6590 Remove unused arg `path'. Update callers.
6591
6592 * eshell/em-hist.el (eshell-hist-parse-arguments):
6593 Remove unused arg `silent'. Update callers.
6594
6595 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6596 Fix (f)boundp mix-up.
6597
6598 * eshell/em-smart.el (eshell-smart-scroll-window)
6599 (eshell-disable-after-change):
6600 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6601
6602 2013-09-18 Alan Mackenzie <acm@muc.de>
6603
6604 Fix fontification of type when followed by "const".
6605 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6606 "known" types from fontification.
6607
6608 2013-09-18 Glenn Morris <rgm@gnu.org>
6609
6610 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6611 (chart-face-list): Drop Emacsen without display-color-p.
6612
6613 * net/eww.el (libxml-parse-html-region): Declare.
6614 (eww-display-html): Explicit error if no libxml2 support.
6615
6616 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6617
6618 * image.el (image-type-from-buffer, image-multi-frame-p):
6619 Remove --without-x warning/error.
6620
6621 * mouse.el (mouse-yank-primary):
6622 * term.el (term-mouse-paste):
6623 Reorder to silence --without-x compilation.
6624
6625 * mpc.el (doc-view-mode): Silence --without-x compilation.
6626
6627 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6628 Silence --without-x compilation.
6629
6630 * progmodes/gud.el (gud-find-file, gud-mode):
6631 Silence --without-x compilation.
6632 (tooltip-mode): Declare.
6633
6634 * wdired.el (dired-backup-overwrite): Remove declaration.
6635 (wdired-mode-map): Add doc string.
6636
6637 * custom.el (x-get-resource): Declare.
6638
6639 * eshell/em-glob.el (ange-cache):
6640 * eshell/em-unix.el (ange-cache): Declare.
6641
6642 * faces.el (x-display-list, x-open-connection, x-get-resource):
6643 Declare.
6644
6645 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6646 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6647 Declare.
6648
6649 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6650
6651 * net/gnutls.el (gnutls-log-level): Declare.
6652
6653 * net/shr.el (image-size, image-animate): Declare.
6654
6655 * simple.el (font-info): Declare.
6656
6657 * subr.el (x-popup-dialog): Declare.
6658
6659 * term/common-win.el (x-select-enable-primary)
6660 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6661 Declare.
6662
6663 * term/ns-win.el (x-handle-args): Declare.
6664
6665 * term/x-win.el (x-select-enable-clipboard): Declare.
6666
6667 * term/w32-win.el (create-default-fontset): Declare.
6668
6669 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6670 Declare.
6671
6672 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6673 (fit-frame-to-buffer): Explicit error if --without-x.
6674 (mouse-autoselect-window-select): Silence compiler.
6675
6676 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6677
6678 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6679 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6680 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6681 * eshell/esh-util.el (eshell-sublist):
6682 Remove unused local variables.
6683
6684 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6685
6686 * textmodes/two-column.el: Make 2C-split work for --without-x.
6687 (scroll-bar-columns): Autoload.
6688 (top-level): Require fringe when compiling.
6689
6690 2013-09-18 Leo Liu <sdl.web@gmail.com>
6691
6692 * subr.el (add-hook): Robustify to handle closure as well.
6693
6694 2013-09-17 Glenn Morris <rgm@gnu.org>
6695
6696 * simple.el (messages-buffer-mode-map): Unbind "g".
6697
6698 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * help-mode.el (help-mode-finish): Use derived-mode-p.
6701 Remove obsolete highlighting.
6702
6703 * play/life.el (life-mode): Use define-derived-mode. Derive from
6704 special-mode.
6705 (life): Let-bind inhibit-read-only.
6706 (life-setup): Avoid `setq'. Use `life-mode'.
6707
6708 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6709 which should not be needed any more.
6710 (package-menu-refresh, package-menu-describe-package): Use user-error.
6711
6712 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6713 (eshell-post-rewrite-command-hook): Make obsolete.
6714 (eshell-parse-command): Simplify.
6715 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6716 (eshell--cmd): Declare.
6717 (eshell-parse-pipeline): Remove unused var `final-p'.
6718 Pass a dynvar to eshell-post-rewrite-command-hook.
6719 Implement the new eshell-post-rewrite-command-function.
6720 (eshell-invoke-directly): Remove unused arg `input'.
6721 * eshell/esh-io.el (eshell-io-initialize):
6722 Use eshell-post-rewrite-command-function (bug#15399).
6723 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6724 adjust to new calling convention.
6725 (eshell-create-handles): Rename args to avoid clashing with dynvar
6726 `standard-output'.
6727
6728 2013-09-17 Glenn Morris <rgm@gnu.org>
6729
6730 * simple.el (messages-buffer-mode): New major mode.
6731 (messages-buffer): New function.
6732 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6733 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6734 (ert-run-test): Use `messages-buffer' function.
6735 (ert--force-message-log-buffer-truncation): Ignore read-only.
6736 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6737 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6738
6739 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6742
6743 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6744
6745 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * icomplete.el (icomplete-in-buffer): New var.
6748 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6749 vars and replace them with functions.
6750 (icomplete-minibuffer-setup): Adjust accordingly.
6751 (icomplete--completion-table, icomplete--completion-predicate)
6752 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6753 New functions.
6754 (icomplete-forward-completions, icomplete-backward-completions)
6755 (icomplete-simple-completing-p, icomplete-exhibit)
6756 (icomplete-completions): Use them.
6757 (icomplete--in-region-buffer): New var.
6758 (icomplete--in-region-setup): New function.
6759 (icomplete-mode): Use it.
6760
6761 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6762 (bug#15379).
6763 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6764 return args and options.
6765 (eshell-eval-using-options): Use the new return value of
6766 eshell--do-opts to set the options's vars in their scope.
6767 (eshell--set-option): Rename from eshell-set-option.
6768 Add arg `opt-vals'.
6769 (eshell--process-option): Rename from eshell-process-option.
6770 Add arg `opt-vals'.
6771 (eshell--process-args): Use an `opt-vals' alist to store the options's
6772 values during their processing and return them additionally to the
6773 remaining args.
6774
6775 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6776
6777 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6778 continuation character an operator, as far as indentation is
6779 concerned (Bug#15369).
6780
6781 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6782
6783 * window.el (window--state-put-2): Don't process buffer state
6784 when buffer doesn't exist any more (Bug#15382).
6785
6786 2013-09-15 Glenn Morris <rgm@gnu.org>
6787
6788 * eshell/em-unix.el (eshell/rm):
6789 Make -f ignore missing files. (Bug#15373)
6790
6791 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6792 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6793 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6794
6795 2013-09-14 Glenn Morris <rgm@gnu.org>
6796
6797 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6798
6799 2013-09-13 Glenn Morris <rgm@gnu.org>
6800
6801 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6802 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6803
6804 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6805
6806 * frame.el (x-focus-frame): Mark as declared in frame.c.
6807
6808 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * ls-lisp.el: Use advice-add.
6811 (original-insert-directory): Remove.
6812 (ls-lisp--insert-directory): Rename from insert-directory; add
6813 `orig-fun' argument.
6814 (insert-directory): Advise.
6815
6816 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6817
6818 * term.el (term-emulate-terminal): Decode the command string
6819 before passing it to term-command-hook. (Bug#15337)
6820
6821 2013-09-13 Glenn Morris <rgm@gnu.org>
6822
6823 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6824
6825 * eshell/esh-ext.el (eshell-search-path): Declare.
6826
6827 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6828 Otherwise an error occurs if eshell-dirs module not loaded.
6829
6830 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6831
6832 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6833
6834 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6835 `tramp-check-proper-host'. Check for a valid method name.
6836
6837 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6838 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6839 * net/tramp-sh.el (tramp-maybe-open-connection):
6840 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6841
6842 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6843 also for hash values.
6844
6845 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6846
6847 * term/ns-win.el (parameters): Don't declare as dynamic.
6848 (before-make-frame-hook): Don't add ineffective function.
6849
6850 * eshell/*.el: Use lexical-binding (bug#15231).
6851
6852 2013-09-12 Kenichi Handa <handa@gnu.org>
6853
6854 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6855
6856 2013-09-12 Glenn Morris <rgm@gnu.org>
6857
6858 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6859 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6860
6861 * subr.el (do-after-load-evaluation): Also give compiler warnings
6862 when obsolete files are used (except by obsolete files).
6863
6864 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6865 in the status output, assume `filename' is the first. (Bug#15322)
6866
6867 * vc/vc.el (vc-deduce-fileset): Doc fix.
6868
6869 * calc/calc-help.el (Info-goto-node):
6870 * progmodes/cperl-mode.el (Info-find-node):
6871 * vc/ediff.el (Info-goto-node): Update declarations.
6872
6873 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6874
6875 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6876 (vc-bzr-pull): Require vc-dispatcher.
6877 * vc/vc-git.el (vc-compilation-mode): Declare.
6878 (vc-git-pull): Require vc-dispatcher.
6879
6880 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6881
6882 * progmodes/octave.el (help-button-action): Declare.
6883
6884 * shell.el (shell-directory-tracker): Output error as a message
6885 rather than just returning it as a string.
6886 (shell-process-pushd): Remove useless use of message.
6887
6888 * dframe.el (dframe-timer-fn):
6889 * files.el (dir-locals-read-from-file):
6890 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6891 (mpc-format):
6892 * reveal.el (reveal-post-command):
6893 * saveplace.el (load-save-place-alist-from-file):
6894 * shell.el (shell-resync-dirs):
6895 * w32-common-fns.el (x-get-selection-value):
6896 * emacs-lisp/copyright.el (copyright-find-copyright):
6897 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6898 * emulation/tpu-edt.el (tpu-copy-keyfile):
6899 * play/bubbles.el (bubbles--mark-neighbourhood):
6900 * progmodes/executable.el
6901 (executable-make-buffer-file-executable-if-script-p):
6902 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6903
6904 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 Cleanup Eshell to rely less on dynamic scoping.
6907 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6908 last-value, and ext-command here. Bind `args' closer to `body'.
6909 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6910 (eshell--args): Declare new dynamic var.
6911 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6912 last-value, and ext-command. Pass `args' to `body'.
6913 (eshell-process-args): Bind eshell--args.
6914 (eshell-set-option): Use eshell--args.
6915 * eshell/eshell.el (eshell): Use derived-mode-p.
6916 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6917 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6918 (eshell-glob-function): Declare.
6919 * eshell/esh-util.el: Require cl-lib.
6920 (eshell-read-hosts-file): Avoid add-to-list.
6921 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6922 `err'.
6923 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6924 Declare.
6925 (eshell/diff): Remove unused var `err'.
6926 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6927 `killflag'.
6928 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6929 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6930 first use.
6931 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6932 Move declaration before first use.
6933 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6934 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6935 rely on cl-return.
6936
6937 2013-09-12 Glenn Morris <rgm@gnu.org>
6938
6939 * term/ns-win.el (global-map): Remove binding for ispell-next,
6940 deleted 1999-05-29. (Bug#15357)
6941
6942 2013-09-11 Glenn Morris <rgm@gnu.org>
6943
6944 * echistory.el (electric-command-history): Remove call to deleted func.
6945
6946 * play/landmark.el (landmark-mode): Fix typos.
6947
6948 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6949 Check cvs-sort-ignore-file is bound.
6950
6951 * savehist.el: No need for cl when compiling on Emacs.
6952
6953 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6954
6955 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6956 (bug#15338).
6957 (eshell-self-insert-command, eshell-send-invisible):
6958 Remove unused argument.
6959 (eshell-handle-control-codes): Remove unused var `orig'.
6960 Avoid delete-backward-char.
6961
6962 * files.el (set-auto-mode): Simplify a bit further.
6963
6964 2013-09-11 Glenn Morris <rgm@gnu.org>
6965
6966 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6967 (set-auto-mode): Don't regexp-quote elements.
6968 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6969 * progmodes/cc-mode.el (interpreter-mode-alist):
6970 * progmodes/ruby-mode.el (interpreter-mode-alist):
6971 Revert previous change.
6972
6973 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6974
6975 * play/snake.el (snake-mode):
6976 * play/mpuz.el (mpuz-mode):
6977 * play/landmark.el (lm-mode):
6978 * play/blackbox.el (blackbox-mode):
6979 * play/5x5.el (5x5-mode):
6980 * obsolete/options.el (Edit-options-mode):
6981 * net/quickurl.el (quickurl-list-mode):
6982 * net/newst-treeview.el (newsticker-treeview-mode):
6983 * mail/rmailsum.el (rmail-summary-mode):
6984 * mail/mspools.el (mspools-mode):
6985 * locate.el (locate-mode):
6986 * ibuffer.el (ibuffer-mode):
6987 * emulation/ws-mode.el (wordstar-mode):
6988 * emacs-lisp/debug.el (debugger-mode):
6989 * array.el (array-mode):
6990 * net/eudc.el (eudc-mode): Use define-derived-mode.
6991 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6992 Move initialization into declaration.
6993 (mairix-searches-mode): Use define-derived-mode.
6994 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6995 (eudc-edit-hotlist): Use dolist.
6996 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6997 (Man-mode): Use define-derived-mode.
6998 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6999 (Info-edit-mode): Use define-derived-mode.
7000 (Info-cease-edit): Use Info-mode.
7001 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7002 into declaration.
7003 (eshell-mode): Use define-derived-mode.
7004 * chistory.el (command-history-mode-map): Rename from
7005 command-history-map.
7006 (command-history-mode): Use define-derived-mode.
7007 (Command-history-setup): Remove function.
7008 * calc/calc.el (calc-trail-mode-map): New var.
7009 (calc-trail-mode): Use define-derived-mode.
7010 (calc-trail-buffer): Set calc-main-buffer manually.
7011 * bookmark.el (bookmark-insert-annotation): New function.
7012 (bookmark-edit-annotation): Use it.
7013 (bookmark-edit-annotation-mode): Make it a proper major mode.
7014 (bookmark-send-edited-annotation): Use derived-mode-p.
7015 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7016 closer to its ideal place. Use \' to match EOS.
7017
7018 * profiler.el (profiler-calltree-find): Use function-equal.
7019
7020 2013-09-10 Glenn Morris <rgm@gnu.org>
7021
7022 * files.el (interpreter-mode-alist): Convert to regexps.
7023 (set-auto-mode): Adapt for this. (Bug#15306)
7024 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7025 Comment out unused variable.
7026 * progmodes/cc-mode.el (interpreter-mode-alist):
7027 * progmodes/python.el (interpreter-mode-alist):
7028 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7029 * progmodes/sh-script.el (sh-set-shell):
7030 No longer use interpreter-mode-alist to get list of shells.
7031
7032 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7033
7034 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * simple.el: Use set-temporary-overlay-map for universal-argument.
7037 (universal-argument-map): Don't use default-bindings (bug#15317).
7038 Bind switch-frame explicitly. Replace universal-argument-minus with
7039 a conditional binding.
7040 (universal-argument-num-events, saved-overriding-map): Remove.
7041 (restore-overriding-map): Remove.
7042 (universal-argument--mode): Rename from save&set-overriding-map,
7043 and rewrite.
7044 (universal-argument, universal-argument-more, negative-argument)
7045 (digit-argument): Adjust accordingly.
7046 (universal-argument-minus): Remove.
7047 (universal-argument-other-key): Remove.
7048
7049 * subr.el (with-demoted-errors): Add `format' argument.
7050
7051 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7052
7053 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7054 `tramp-cleanup-connection'.
7055
7056 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7057 parameters KEEP-DEBUG and KEEP-PASSWORD.
7058
7059 * net/tramp.el (tramp-file-name-handler):
7060 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7061 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7062 (tramp-maybe-open-connection):
7063 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7064 Use `tramp-cleanup-connection'.
7065
7066 * net/tramp-sh.el (tramp-maybe-open-connection):
7067 Catch 'uname-changed inside the progress reporter.
7068
7069 2013-09-10 Glenn Morris <rgm@gnu.org>
7070
7071 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7072
7073 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7074 returns "alternate access method" in mode (eg "-rw-r--r--.").
7075
7076 2013-09-08 Glenn Morris <rgm@gnu.org>
7077
7078 * saveplace.el (load-save-place-alist-from-file):
7079 Demote errors. (Bug#15305)
7080
7081 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7082
7083 Improve compatibility with older Emacsen, and XEmacs.
7084
7085 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7086 only if it is bound. It isn't for XEmacs.
7087 (with-tramp-progress-reporter): Do not let-bind `result'.
7088 This yields to scoping errors in XEmacs.
7089 (tramp-handle-make-auto-save-file-name): New function, moved from
7090 tramp-sh.el.
7091
7092 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7093 for `make-auto-save-file-name'.
7094 (tramp-adb--gnu-switches-to-ash):
7095 Use `tramp-compat-replace-regexp-in-string'.
7096
7097 * net/tramp-cache.el (tramp-cache-print): Call
7098 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7099
7100 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7101 bound. It isn't for XEmacs.
7102
7103 * net/tramp-compat.el (tramp-compat-copy-file):
7104 Catch `wrong-number-of-arguments' error.
7105 (tramp-compat-replace-regexp-in-string): New defun.
7106
7107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7108 for `make-auto-save-file-name'.
7109 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7110 `copy-file'.
7111 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7112 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7113 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7114
7115 * net/tramp-gw.el (tramp-gw-open-network-stream):
7116 Use `tramp-compat-replace-regexp-in-string'.
7117
7118 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7119 Call `tramp-handle-make-auto-save-file-name'.
7120 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7121 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7122 (tramp-sh-file-inotifywait-process-filter):
7123 Use `tramp-compat-replace-regexp-in-string'.
7124 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7125
7126 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7127 for `make-auto-save-file-name'.
7128 (tramp-smb-handle-copy-directory):
7129 Call `tramp-compat-replace-regexp-in-string'.
7130 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7131 (tramp-smb-handle-copy-file): Improve error message.
7132 (tramp-smb-handle-rename-file): Rename directly only in case
7133 `newname' does not exist yet. This is a restriction of smbclient.
7134 (tramp-smb-maybe-open-connection): Rerun the function only when
7135 `auth-sources' is non-nil.
7136
7137 2013-09-08 Kenichi Handa <handa@gnu.org>
7138
7139 * international/characters.el: Set category "^" (Combining) for
7140 more characters.
7141
7142 2013-09-07 Alan Mackenzie <acm@muc.de>
7143
7144 Correctly fontify Java class constructors.
7145 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7146 in Java Mode.
7147 (c-recognize-typeless-decls): Set the Java value to t.
7148 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7149 While handling a "(", add a check for, effectively, Java, and handle a
7150 "typeless" declaration there.
7151
7152 2013-09-07 Roland Winkler <winkler@gnu.org>
7153
7154 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7155 field subtitle for entry type book.
7156
7157 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7158
7159 * minibuffer.el: Make minibuffer-complete call completion-in-region
7160 rather than other way around.
7161 (completion--some, completion-pcm--find-all-completions):
7162 Don't delay signals when debugging.
7163 (minibuffer-completion-contents): Beware fields within the
7164 minibuffer contents.
7165 (completion-all-sorted-completions): Use defvar-local.
7166 (completion--do-completion, completion--cache-all-sorted-completions)
7167 (completion-all-sorted-completions, minibuffer-force-complete):
7168 Add args `beg' and `end'.
7169 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7170 (minibuffer-complete): Use completion-in-region.
7171 (completion-complete-and-exit): New fun, extracted from
7172 minibuffer-complete-and-exit.
7173 (minibuffer-complete-and-exit): Use it.
7174 (completion--complete-and-exit): Rename from
7175 minibuffer--complete-and-exit.
7176 (completion-in-region--single-word): New function, extracted from
7177 minibuffer-complete-word.
7178 (minibuffer-complete-word): Use it.
7179 (display-completion-list): Make `common-substring' argument obsolete.
7180 (completion--in-region): Call completion--in-region-1 instead of
7181 minibuffer-complete.
7182 (completion-help-at-point): Pass boundaries to
7183 minibuffer-completion-help as args rather than via an overlay.
7184 (completion-pcm--string->pattern): Use `any-delim'.
7185 (completion-pcm--optimize-pattern): New function.
7186 (completion-pcm--pattern->regex): Handle `any-delim'.
7187 * icomplete.el (icomplete-forward-completions)
7188 (icomplete-backward-completions, icomplete-completions):
7189 Adjust calls to completion-all-sorted-completions and
7190 completion--cache-all-sorted-completions.
7191 (icomplete-with-completion-tables): Default to t.
7192 * emacs-lisp/crm.el (crm--current-element): Rename from
7193 crm--select-current-element. Don't put an overlay but return the
7194 boundaries instead.
7195 (crm--completion-command): Take two new args to bind to the boundaries.
7196 (crm-completion-help): Adjust accordingly.
7197 (crm-complete): Use completion-in-region.
7198 (crm-complete-word): Use completion-in-region--single-word.
7199 (crm-complete-and-exit): Use completion-complete-and-exit.
7200
7201 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7202
7203 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7204 than dynamically.
7205
7206 2013-09-06 Juri Linkov <juri@jurta.org>
7207
7208 * info.el (Info-display-images-node): When image file doesn't exist
7209 display text version of the image if it's provided in the Info file.
7210 Otherwise, display the location of missing image from SRC attribute.
7211 Add help-echo text property from ALT attribute. (Bug#15279)
7212
7213 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7216 (edit-abbrevs-mode): Use define-derived-mode.
7217
7218 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7219 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7220 that it's defined.
7221 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7222 Use define-derived-mode.
7223
7224 * epg.el (epg-start-encrypt): Minor CSE simplification.
7225
7226 2013-09-06 William Xu <william.xwl@gmail.com>
7227
7228 * arc-mode.el: Add support for 7za (bug#15264).
7229 (archive-7z-program): New var.
7230 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7231 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7232 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7233
7234 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7235
7236 Remove URL syntax.
7237
7238 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7239 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7240 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7241 (tramp-postfix-host-format, tramp-file-name-regexp)
7242 (tramp-completion-file-name-regexp)
7243 (tramp-completion-dissect-file-name)
7244 (tramp-handle-substitute-in-file-name): Remove 'url case.
7245 (tramp-file-name-regexp-url)
7246 (tramp-completion-file-name-regexp-url): Remove constants.
7247
7248 2013-09-06 Glenn Morris <rgm@gnu.org>
7249
7250 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7251
7252 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7253
7254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7255 keywords" below "here-doc beginnings" (Bug#15270).
7256
7257 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * subr.el (pop): Use `car-safe'.
7260 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7261 to detect unused `pop' return value.
7262
7263 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7264 var `block-regexp'.
7265 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7266 (python-fill-string): Remove unused var `marker'.
7267 (python-skeleton-add-menu-items): Remove unused var `items'.
7268
7269 * international/mule-cmds.el: Require CL.
7270 (find-coding-systems-for-charsets): Avoid add-to-list.
7271 (sanitize-coding-system-list): New function, extracted from
7272 select-safe-coding-system-interactively.
7273 (select-safe-coding-system-interactively): Use it.
7274 (read-input-method-name): Accept symbols for `default'.
7275
7276 * emacs-lisp/advice.el (defadvice): Add indent rule.
7277
7278 2013-09-05 Daniel Hackney <dan@haxney.org>
7279
7280 * dired-x.el:
7281 * net/ange-ftp.el:
7282 * net/browse-url.el:
7283 * net/dbus.el:
7284 * net/eudc.el:
7285 * net/eudcb-ldap.el:
7286 * net/eww.el:
7287 * net/imap.el:
7288 * printing.el:
7289 * vc/ediff-diff.el:
7290 * vc/ediff-init.el:
7291 * vc/ediff-merg.el:
7292 * vc/ediff-mult.el:
7293 * vc/ediff-util.el:
7294 * vc/ediff-wind.el:
7295 * vc/ediff.el:
7296 * vc/emerge.el:
7297 * vc/pcvs.el:
7298 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7299 byte compiler. Remove some unused let-bound variables.
7300
7301 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7304 a "ref-cell", since it gets better optimized (bug#14883).
7305
7306 2013-09-05 Glenn Morris <rgm@gnu.org>
7307
7308 * progmodes/cc-awk.el (c-forward-sws): Declare.
7309
7310 2013-09-04 Glenn Morris <rgm@gnu.org>
7311
7312 * generic-x.el [rul-generic-mode]: Require cc-mode.
7313 (c++-mode-syntax-table): Declare.
7314 (rul-generic-mode-syntax-table): Init in the defvar.
7315
7316 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7319 (vc-do-command, vc-set-async-update):
7320 * vc/vc-mtn.el (vc-mtn-dir-status):
7321 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7322 (vc-hg-pull, vc-hg-merge-branch):
7323 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7324 (vc-git-merge-branch):
7325 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7326 (vc-cvs-dir-status-files):
7327 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7328 (vc-bzr-dir-status-files):
7329 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7330 * vc/vc-annotate.el: Use lexical-binding.
7331 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7332 (vc-sentinel-movepoint): Declare.
7333 (vc-annotate): Don't use `goto-line'.
7334 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7335 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7336 (vc-sentinel-movepoint): Declare.
7337 * vc/vc-svn.el: Use lexical-binding.
7338 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7339 * vc/vc-sccs.el:
7340 * vc/vc-rcs.el: Use lexical-binding.
7341
7342 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7343 `deleted'. Don't drop errors silently.
7344
7345 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7346
7347 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7348
7349 * vc/vc.el (vc-ignore): Rewrite.
7350 (vc-default-ignore): New function.
7351 (vc-default-ignore-completion-table): Use find-ignore-file.
7352
7353 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7354 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7355 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7356 Remove. Most code moved to vc.el.
7357
7358 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7361 * net/tramp-smb.el (tramp-smb-get-file-entries):
7362 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7363 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7364
7365 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7366 Update call to it.
7367 (eww-change-select): Remove unused var `properties'.
7368 (eww-make-unique-file-name): Remove unused var `base'.
7369
7370 * finder.el (finder-compile-keywords): Don't mess with windows.
7371
7372 * calculator.el (calculator-funcall): Fix typo in last change.
7373
7374 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7375
7376 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7377 <pkg>-autoloads.el file stop us.
7378
7379 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7380 warnings, and factor out common code.
7381
7382 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7383
7384 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7385 two-character operators and whether the character preceding them
7386 changes their meaning (Bug#15208).
7387
7388 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7389
7390 Format code sent to Python shell for robustness.
7391 * progmodes/python.el (python-shell-buffer-substring):
7392 New function.
7393 (python-shell-send-region, python-shell-send-buffer): Use it.
7394
7395 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7396
7397 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7398 * net/tramp.el (tramp-user-error): ... here.
7399 (tramp-find-method, tramp-check-proper-host)
7400 (tramp-dissect-file-name, tramp-debug-message)
7401 (tramp-handle-shell-command):
7402 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7403 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7404
7405 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7406
7407 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7408
7409 * avoid.el (mouse-avoidance-point-position)
7410 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7411 returns nil.
7412
7413 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7414
7415 * progmodes/python.el (python-shell-completion-get-completions):
7416 Drop use of deleted `comint-last-prompt-overlay'.
7417 (python-nav-if-name-main): New command.
7418
7419 2013-09-01 Glenn Morris <rgm@gnu.org>
7420
7421 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7422 Avoid leading space in $wins. Otherwise the sed command used by
7423 eg compile-main ends up containing "/*.el". (Bug#15170)
7424
7425 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7426
7427 2013-08-30 Glenn Morris <rgm@gnu.org>
7428
7429 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7430 Fix is-this-a-directory logic. (Bug#15220)
7431
7432 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7433
7434 * textmodes/css-mode.el: Use SMIE.
7435 (css-smie-grammar): New var.
7436 (css-smie--forward-token, css-smie--backward-token)
7437 (css-smie-rules): New functions.
7438 (css-mode): Use them.
7439 (css-navigation-syntax-table): Remove var.
7440 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7441 (css-indent-calculate, css-indent-line): Remove functions.
7442
7443 Misc changes to reduce use of `(lambda...); and other cleanups.
7444 * cus-edit.el: Use lexical-binding.
7445 (customize-push-and-save, customize-apropos)
7446 (custom-buffer-create-internal): Use closures.
7447 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7448 * progmodes/ada-xref.el: Use setq.
7449 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7450 * dframe.el: Use lexical-binding.
7451 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7452 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7453 * descr-text.el: Use lexical-binding.
7454 (describe-text-widget, describe-text-sexp, describe-property-list):
7455 Use closures.
7456 * comint.el (comint-history-isearch-push-state): Use a closure.
7457 * calculator.el: Use lexical-binding.
7458 (calculator-number-to-string): Make it work with lexical-binding.
7459 (calculator-funcall): Same and use cl-letf.
7460
7461 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7462 (lisp--company-doc-string, lisp--company-location): New functions.
7463 (lisp-completion-at-point): Use them to improve Company support.
7464
7465 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7466 params of lambda expressions.
7467 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7468 (ruby-smie--opening-pipe-p): New function.
7469 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7470 symbols and matched |...| for formal params.
7471 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7472 from being treated as hanging. Handle "rescue".
7473
7474 2013-08-29 Glenn Morris <rgm@gnu.org>
7475
7476 * progmodes/cc-engine.el (c-pull-open-brace):
7477 Move definition before use.
7478
7479 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7480
7481 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7482 are immutable. Don't use `unsafe' any more.
7483 (cl--defsubst-expand): Don't substitute at the same time as keeping
7484 a residual unused let-binding. Don't use `unsafe' any more.
7485
7486 2013-08-29 Glenn Morris <rgm@gnu.org>
7487
7488 * calendar/cal-china.el (calendar-chinese-year-cache):
7489 Recenter on 2015.
7490
7491 * nxml/nxml-util.el (nxml-debug-clear-inside):
7492 Use cl-loop rather than loop.
7493
7494 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7495
7496 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7497
7498 2013-08-28 Glenn Morris <rgm@gnu.org>
7499
7500 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7501
7502 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7503
7504 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7505
7506 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * simple.el (repeat-complex-command--called-interactively-skip):
7509 New function.
7510 (repeat-complex-command): Use it (bug#14136).
7511
7512 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7513 (c-define-abbrev-table): Add `doc' argument.
7514 (c-mode-abbrev-table, c++-mode-abbrev-table)
7515 (objc-mode-abbrev-table, java-mode-abbrev-table)
7516 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7517 (awk-mode-abbrev-table): Use it.
7518 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7519 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7520 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7521 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7522 Move initialization into the declaration; and remove any
7523 autoload cookie.
7524
7525 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7526 and dynamic let binding.
7527
7528 * vc/smerge-mode.el: Remove redundant :group args.
7529
7530 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7531 to load-path.
7532
7533 2013-08-28 Juri Linkov <juri@jurta.org>
7534
7535 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7536 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7537 (isearch-other-meta-char): Handle an undefined shifted printing
7538 character by downshifting it. (Bug#15200)
7539
7540 2013-08-28 Juri Linkov <juri@jurta.org>
7541
7542 * isearch.el (isearch-search): Change regexp error message for
7543 non-regexp searches. (Bug#15166)
7544
7545 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7546
7547 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7548 for portability to hosts where /bin/sh has problems.
7549
7550 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7551
7552 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7553
7554 2013-08-27 Juri Linkov <juri@jurta.org>
7555
7556 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7557 in the keyboard macro. (Bug#15126)
7558
7559 2013-08-27 Juri Linkov <juri@jurta.org>
7560
7561 * isearch.el (isearch-quote-char): Comment out converting unibyte
7562 to multibyte, thus syncing with its `quoted-insert' counterpart.
7563 (Bug#15166)
7564
7565 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7566
7567 * window.el (display-buffer-use-some-window): Add missing
7568 argument in call of get-largest-window (Bug#15185).
7569 Reported by Stephen Leake.
7570
7571 2013-08-27 Glenn Morris <rgm@gnu.org>
7572
7573 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7574
7575 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7576
7577 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7578 from a matcher-function unless there's no more matches (bug#15161).
7579
7580 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7581
7582 * minibuffer.el: Revert change from 2013-08-20.
7583
7584 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7585 with text property `tramp-default', if appropriate.
7586 (tramp-check-proper-host): New defun.
7587 (tramp-dissect-file-name): Do not check hostname. Revert change
7588 of 2013-03-18.
7589 (tramp-backtrace): Make VEC-OR-PROC optional.
7590
7591 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7592 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7593 * net/tramp-sh.el (tramp-maybe-open-connection):
7594 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7595 Apply `tramp-check-proper-host'.
7596
7597 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7598
7599 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7600 lambda expression in order to have `describe-variable' display it.
7601
7602 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7603
7604 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7605 BUF can be optional. (Bug#15186)
7606
7607 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7608
7609 * progmodes/flymake.el (flymake-get-real-file-name-function):
7610 Fix broken customization. (Bug#15184)
7611
7612 2013-08-25 Alan Mackenzie <acm@muc.de>
7613
7614 Improve indentation of bracelists defined by macros (without "=").
7615
7616 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7617 expansion begins with "{", regard it as bracelist when it doesn't
7618 contain a ";".
7619
7620 Parse C++ inher-intro when there's a template split over 2 lines.
7621
7622 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7623 rigorously the search for "class" etc. followed by ":".
7624
7625 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7626 random languages a regexp which never matches rather than nil.
7627
7628 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7629
7630 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7631 (c-awk-regexp-one-line-possibly-open-char-list-re)
7632 (c-awk-one-line-possibly-open-regexp-re)
7633 (c-awk-one-line-non-syn-ws*-re): Remove.
7634 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7635 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7636 (c-awk-space*-unclosed-regexp-/-re): New constants.
7637 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7638 aren't regexp delimiters.
7639
7640 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7641 handling for a rare situation in AWK Mode involving unterminated
7642 strings/regexps.
7643
7644 2013-08-23 Glenn Morris <rgm@gnu.org>
7645
7646 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7647
7648 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7649
7650 * files.el (create-file-buffer): If the result would begin with
7651 spaces, prepend a "|" instead of removing them. (Bug#15162)
7652
7653 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7656 text-properties (bug#15155).
7657
7658 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7659 exist any more.
7660 (calc-keypad-redraw): Remove unused var `pad'.
7661 (calc-keypad-press): Remove unused var `menu'.
7662
7663 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7664
7665 * window.el (display-buffer-pop-up-frame):
7666 Call pop-up-frame-function with BUFFER current so `make-frame' will
7667 use it as the new frame's buffer (Bug#15133).
7668
7669 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * calendar/timeclock.el: Minor cleanups.
7672 (timeclock-ask-before-exiting, timeclock-use-display-time):
7673 Use `symbol'.
7674 (timeclock-modeline-display): Define as alias before the
7675 actual definition.
7676 (timeclock-mode-line-display): Use define-minor-mode.
7677 (timeclock-day-list-template): Make it a function, add an argument.
7678 (timeclock-day-list-required, timeclock-day-list-length)
7679 (timeclock-day-list-debt, timeclock-day-list-span)
7680 (timeclock-day-list-break): Adjust calls accordingly.
7681
7682 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7683
7684 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7685 Use read--expression so that completion works again.
7686
7687 2013-08-21 Sam Steingold <sds@gnu.org>
7688
7689 Add rudimentary inferior shell interaction
7690 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7691 (sh-set-shell): Reset it.
7692 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7693 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7694
7695 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7696
7697 * align.el: Use lexical-binding.
7698 (align-region): Simplify accordingly.
7699
7700 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7701
7702 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7703
7704 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7705 `non-essential' up.
7706
7707 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7708
7709 * net/tramp.el:
7710 * net/tramp-adb.el:
7711 * net/tramp-cmds.el:
7712 * net/tramp-ftp.el:
7713 * net/tramp-gvfs.el:
7714 * net/tramp-gw.el:
7715 * net/tramp-sh.el: Don't wrap external variable declarations by
7716 `eval-when-compile'.
7717
7718 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7719
7720 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7721 now that Emacs supports ImageMagick animations.
7722
7723 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7724
7725 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7726 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7727
7728 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7729
7730 * window.el (mouse-autoselect-window-select): Do autoselect when
7731 mouse pointer is on margin.
7732
7733 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7734
7735 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7736
7737 2013-08-16 Glenn Morris <rgm@gnu.org>
7738
7739 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7740 Handle "Remote Directory" response of some clients. (Bug#15058)
7741
7742 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7743 Tweak warning. (Bug#14926)
7744
7745 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7746 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7747
7748 * image-mode.el (image-mode-map): Add menu items to reverse,
7749 increase, decrease, reset animation speed.
7750 (image--set-speed, image-increase-speed, image-decrease-speed)
7751 (image-reverse-speed, image-reset-speed): New functions.
7752 (image-mode-map): Add bindings for speed commands.
7753
7754 * image.el (image-animate-get-speed, image-animate-set-speed):
7755 New functions.
7756 (image-animate-timeout): Respect image :speed property.
7757
7758 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7761 previous line (bug#15101).
7762 (debugger-eval-expression, debugger-record-expression):
7763 Use read--expression (bug#15102).
7764
7765 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7766
7767 Remove byte compiler warnings, visible when compiling with
7768 `byte-compile-force-lexical-warnings' set to t.
7769
7770 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7771 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7772 (tramp-handle-unhandled-file-name-directory)
7773 (tramp-handle-file-notify-add-watch, tramp-action-login)
7774 (tramp-action-succeed, tramp-action-permission-denied)
7775 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7776 arguments with "_".
7777
7778 * net/tramp-adb.el (tramp-adb-parse-device-names)
7779 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7780 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7781 (tramp-adb-handle-file-truename): Remove unused arguments.
7782
7783 * net/tramp-cache.el (tramp-flush-directory-property)
7784 (tramp-flush-connection-property, tramp-list-connections)
7785 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7786
7787 * net/tramp-compat.el (tramp-compat-make-temp-file):
7788 Rename FILENAME to F.
7789
7790 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7791 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7792 (tramp-zeroconf-parse-workstation-device-names)
7793 (tramp-zeroconf-parse-webdav-device-names)
7794 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7795
7796 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7797 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7798
7799 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7800 arguments.
7801 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7802 (tramp-sh-handle-insert-file-contents-literally)
7803 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7804 with "_".
7805 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7806 Remove unused variables.
7807
7808 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7809 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7810 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7811
7812 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7813 Make them a defconst.
7814 (tramp-uuencode-region): Remove unused variable.
7815
7816 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7817
7818 * frameset.el (frameset--prop-setter): New function.
7819 (frameset-prop): Add gv-setter declaration.
7820 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7821 parameter was already set in FILTERED. Doc fix.
7822 (frameset--record-minibuffer-relationships): Allow saving a
7823 minibufferless frame without its corresponding minibuffer frame.
7824 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7825 frame, if the frame id matches.
7826 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7827 frames before orphaned ones.
7828 (frameset-restore): Warn about orphaned windows, instead of error out.
7829
7830 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7831
7832 * window.el (window-make-atom): Don't overwrite parameter
7833 already present.
7834 (display-buffer-in-atom-window): Handle special case where we
7835 split an already atomic window.
7836 (window--major-non-side-window, display-buffer-in-side-window)
7837 (window--side-check): Ignore minibuffer window when walking
7838 window tree.
7839 (window-deletable-p): Return 'frame only if no other frame uses
7840 our minibuffer window.
7841 (record-window-buffer): Run buffer-list-update-hook.
7842 (split-window): Make sure window--check-frame won't destroy an
7843 existing atomic window in case the new window gets nested
7844 inside.
7845 (display-buffer-at-bottom): Ignore minibuffer window when
7846 walking window tree. Don't split a side window.
7847 (pop-to-buffer): Don't set-buffer here, the select-window call
7848 should do that.
7849 (mouse-autoselect-window-select): Autoselect only if we are in the
7850 text portion of the window.
7851
7852 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7853
7854 * net/shr.el (shr-parse-image-data): New function to grab both the
7855 data itself and the Content-Type.
7856 (shr-put-image): Use it.
7857
7858 * net/eww.el (eww-display-image): Ditto.
7859
7860 * image.el (image-content-type-suffixes): New variable.
7861
7862 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7863
7864 * progmodes/python.el (python-imenu--build-tree)
7865 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7866
7867 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7868
7869 * simple.el (backward-word): Mention the optional argument.
7870
7871 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * frameset.el (frameset--make): Rename constructor from make-frameset.
7874 (frameset-p, frameset-valid-p): Don't autoload.
7875 (frameset-valid-p): Use normal accessors.
7876
7877 2013-08-13 Glenn Morris <rgm@gnu.org>
7878
7879 * progmodes/compile.el (compile-command): Tweak example in doc.
7880 * obsolete/scribe.el (scribe-mode):
7881 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7882
7883 * mail/feedmail.el (feedmail-confirm-outgoing)
7884 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7885
7886 * cus-start.el (truncate-partial-width-windows): Fix type.
7887
7888 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7889
7890 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7891
7892 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * emacs-lisp/timer.el (timer--time-setter): New function.
7895 (timer--time): Use it as gv-setter.
7896
7897 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7898 setter is not a symbol.
7899
7900 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7901
7902 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7903 if sending fails. This makes debugging easier.
7904
7905 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7906
7907 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7908 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7909 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7910
7911 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7912
7913 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7914
7915 2013-08-12 Glenn Morris <rgm@gnu.org>
7916
7917 * format.el (format-annotate-function):
7918 Handle read-only text properties in the source. (Bug#14887)
7919
7920 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7921
7922 * net/eww.el (eww-display-html): Ignore coding system errors.
7923 One web site uses "utf-8lias" as the coding system.
7924
7925 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7926
7927 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7928
7929 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7930
7931 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7932 (tutorial--detailed-help): Remove unused local variables.
7933 (tutorial--save-tutorial-to): Use ignore-errors.
7934 (help-with-tutorial): Use looking-at-p.
7935
7936 * view.el (view-buffer-other-window, view-buffer-other-frame):
7937 Mark unused arguments.
7938
7939 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7940 (woman-select-symbol-fonts, woman, woman-find-file)
7941 (woman-insert-file-contents, woman-non-underline-faces):
7942 Use string-match-p.
7943 (woman1-unquote): Move declaration.
7944
7945 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7946 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7947 argument. Remove unused local variable.
7948 (xml-parse-elem-type): Use string-match-p.
7949 (xml-substitute-numeric-entities): Use ignore-errors.
7950
7951 * calculator.el (calculator): Mark unused argument.
7952 (calculator-paste, calculator-quit, calculator-integer-p):
7953 Use ignore-errors.
7954 (calculator-string-to-number, calculator-decimal, calculator-exp)
7955 (calculator-op-or-exp): Use string-match-p.
7956
7957 * dired.el (dired-buffer-more-recently-used-p): Declare.
7958 (dired-insert-set-properties, dired-insert-old-subdirs):
7959 Use ignore-errors.
7960
7961 * dired-aux.el (dired-compress): Use ignore-errors.
7962 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7963 (dired-do-async-shell-command, dired-do-shell-command)
7964 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7965 (dired-insert-subdir-validate): Use string-match-p.
7966 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7967 (dired-add-entry): Use string-match-p, looking-at-p.
7968 (dired-insert-subdir-newpos): Remove unused local variable.
7969
7970 * filenotify.el (file-notify-callback): Remove unused local variable.
7971
7972 * filesets.el (filesets-error): Mark unused argument.
7973 (filesets-which-command-p, filesets-filter-dir-names)
7974 (filesets-directory-files, filesets-get-external-viewer)
7975 (filesets-ingroup-get-data): Use string-match-p.
7976
7977 * find-file.el (ff-other-file-name, ff-other-file-name)
7978 (ff-find-the-other-file, ff-cc-hh-converter):
7979 Remove unused local variables.
7980 (ff-get-file-name): Use string-match-p.
7981 (ff-all-dirs-under): Use ignore-errors.
7982
7983 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7984 (follow-select-if-visible): Remove unused local variable.
7985
7986 * forms.el (read-file-filter): Move declaration.
7987 (forms--make-format, forms--make-parser, forms-insert-record):
7988 Quote function with #'.
7989 (forms--update): Use string-match-p. Quote function with #'.
7990
7991 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7992 (help-make-xrefs): Use looking-at-p.
7993 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7994
7995 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7996 (ibuffer-confirm-operation-on): Use string-match-p.
7997
7998 * msb.el (msb-item-handler, msb-dired-item-handler):
7999 Mark unused arguments.
8000
8001 * ses.el (ses-decode-cell-symbol)
8002 (ses-kill-override): Remove unused local variable.
8003 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8004 (ses-load): Use ignore-errors, looking-at-p.
8005 (ses-jump-safe): Use ignore-errors.
8006 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8007
8008 * tabify.el (untabify, tabify): Mark unused arguments.
8009
8010 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8011 Mark unused argument.
8012 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8013 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8014
8015 * emacs-lisp/timer.el (timer--time): Define setter with
8016 gv-define-setter to avoid deprecation warning.
8017
8018 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8019 (*record-cmpl-statistics-p*): Remove (was commented out).
8020 (cmpl-statistics-block): Remove (body was commented out).
8021 All callers changed.
8022 (add-completions-from-buffer, load-completions-from-file):
8023 Remove unused variables.
8024
8025 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8026
8027 * filecache.el (file-cache-delete-file-list):
8028 Print message only when told so.
8029 (file-cache-files-matching): Use #' in mapconcat argument.
8030
8031 * ffap.el (ffap-url-at-point): Fix reference to variable
8032 thing-at-point-default-mail-uri-scheme.
8033
8034 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * subr.el (define-error): New function.
8037 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8038 error-file-not-found and define with define-error.
8039 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8040 and define with define-error.
8041 * userlock.el (file-locked, file-supersession):
8042 * simple.el (mark-inactive):
8043 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8044 * progmodes/ada-mode.el (ada-mode-errors):
8045 * play/life.el (life-extinct):
8046 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8047 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8048 * nxml/rng-util.el (rng-error):
8049 * nxml/rng-uri.el (rng-uri-error):
8050 * nxml/rng-match.el (rng-compile-error):
8051 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8052 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8053 * nxml/nxml-rap.el (nxml-scan-error):
8054 * nxml/nxml-outln.el (nxml-outline-error):
8055 * net/soap-client.el (soap-error):
8056 * net/gnutls.el (gnutls-error):
8057 * net/ange-ftp.el (ftp-error):
8058 * mpc.el (mpc-proc-error):
8059 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8060 (json-number-format, json-string-escape, json-string-format)
8061 (json-key-format, json-object-format):
8062 * jka-compr.el (compression-error):
8063 * international/quail.el (quail-error):
8064 * international/kkc.el (kkc-error):
8065 * emacs-lisp/ert.el (ert-test-failed):
8066 * calc/calc.el (calc-error, inexact-result, math-overflow)
8067 (math-underflow):
8068 * bookmark.el (bookmark-error-no-filename):
8069 * epg.el (epg-error): Define with define-error.
8070
8071 * time.el (display-time-event-handler)
8072 (display-time-next-load-average): Don't call sit-for since it seems
8073 unnecessary (bug#15045).
8074
8075 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8076 Use #' instead of ' to quote functions.
8077 (checkdoc-output-mode): Use setq-local.
8078 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8079 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8080 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8081 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8082 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8083 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8084 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8085 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8086
8087 * ido.el (ido-completion-help): Fix up compiler warning.
8088
8089 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8090
8091 * frameset.el (frameset-p): Add autoload cookie.
8092 (frameset--jump-to-register): New function, based on code moved from
8093 register.el.
8094 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8095
8096 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8097 (frameset-restore, frameset-save, frameset-session-filter-alist):
8098 Remove declarations.
8099 (register-alist): Doc fix.
8100 (frameset-to-register): Move to frameset.el.
8101 (jump-to-register, describe-register-1): Remove frameset-specific code.
8102
8103 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8104
8105 * allout-widgets.el (allout-widgets-pre-command-business)
8106 (allout-widgets-post-command-business)
8107 (allout-widgets-after-change-handler)
8108 (allout-decorate-item-and-context, allout-set-boundary-marker)
8109 (allout-body-modification-handler)
8110 (allout-graphics-modification-handler): Mark ignored arguments.
8111 (allout-widgets-post-command-business)
8112 (allout-widgets-exposure-change-processor)
8113 (allout-widgets-exposure-undo-processor)
8114 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8115 (allout-parse-item-at-point, allout-decorate-item-guides)
8116 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8117 * allout.el (epa-passphrase-callback-function): Declare.
8118 (allout-overlay-insert-in-front-handler)
8119 (allout-overlay-interior-modification-handler)
8120 (allout-isearch-end-handler, allout-chart-siblings)
8121 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8122 (allout-yank-processing, allout-process-exposed)
8123 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8124 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8125 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8126 (lisp-indent-defform): Mark ignored arguments.
8127 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8128 (calculate-lisp-indent): Remove unused variables.
8129 * international/characters.el (indian-2-column, arabic-2-column)
8130 (tibetan): Mark ignored arguments.
8131 (use-cjk-char-width-table): Mark ignored arguments.
8132 Remove unused variables.
8133 * international/fontset.el (build-default-fontset-data)
8134 (x-compose-font-name, create-fontset-from-fontset-spec):
8135 Mark ignored arguments.
8136 (fontset-plain-name): Remove unused variables.
8137 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8138 (keyboard-coding-system): Mark ignored arguments.
8139 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8140 * help.el (resize-temp-buffer-window):
8141 * window.el (display-buffer-in-major-side-window)
8142 (display-buffer-in-side-window, display-buffer-in-previous-window):
8143 Remove unused variables.
8144 * isearch.el (isearch-forward-symbol):
8145 * version.el (emacs-bzr-version-bzr):
8146 * international/mule-cmds.el (current-language-environment):
8147 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8148 (x-handle-display):
8149 * term/pc-win.el (x-list-fonts, x-display-planes)
8150 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8151 (x-server-version, x-display-screens, x-display-mm-height)
8152 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8153 (x-selection-owner-p, x-own-selection-internal)
8154 (x-disown-selection-internal, x-get-selection-internal)
8155 (msdos-initialize-window-system):
8156 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8157 * term/x-win.el (x-handle-no-bitmap-icon):
8158 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8159 (vc-default-find-file-hook, vc-default-extra-menu):
8160 Mark ignored arguments.
8161
8162 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8165 break-condition in the context of the debugged code (bug#12685).
8166
8167 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8168
8169 * comint.el:
8170 Do not use an overlay to highlight the last prompt. (Bug#14744)
8171 (comint-mode): Make comint-last-prompt buffer local.
8172 (comint-last-prompt): New variable.
8173 (comint-last-prompt-overlay): Remove. Superseded by
8174 comint-last-prompt.
8175 (comint-snapshot-last-prompt, comint-output-filter):
8176 Use comint-last-prompt.
8177
8178 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8179
8180 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8181 (frameset-save): Check validity of the resulting frameset.
8182
8183 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8184
8185 * ido.el (ido-record-command): Add doc string.
8186
8187 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8188
8189 * frameset.el (frameset): Do not disable creation of the default
8190 frameset-p predicate. Doc fix.
8191 (frameset-valid-p): New function, copied from the old predicate-p.
8192 Add additional checks.
8193 (frameset-restore): Check with frameset-valid-p.
8194 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8195 (frameset-name, frameset-description, frameset-properties)
8196 (frameset-states): Add docstring.
8197 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8198 (frameset-filter-alist): Doc fixes.
8199
8200 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8201
8202 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8203
8204 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8207 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8208 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8209 (byte-compile-normal-call): Remove obsolescence check.
8210
8211 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8212
8213 * frameset.el (frameset-restore): Doc fix.
8214
8215 * register.el (frameset-frame-id, frameset-frame-with-id)
8216 (frameset-p, frameset-restore, frameset-save): Declare.
8217 (register-alist): Document framesets.
8218 (frameset-session-filter-alist): Declare.
8219 (frameset-to-register): New function.
8220 (jump-to-register): Implement jumping to framesets. Doc fix.
8221 (describe-register-1): Describe framesets.
8222
8223 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8224
8225 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8226
8227 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8228 Use lexical-binding.
8229
8230 * frameset.el (frameset): Use type vector, not list (incompatible
8231 change). Do not declare a new constructor, use the default one.
8232 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8233 `name' and `description', respectively, and add read-only slot
8234 `timestamp'. Doc fixes.
8235 (frameset-copy, frameset-persistent-filter-alist)
8236 (frameset-filter-alist, frameset-switch-to-gui-p)
8237 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8238 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8239 (frameset-filter-iconified, frameset-keep-original-display-p):
8240 Doc fixes.
8241 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8242 Rename from frameset-filter-(save|restore)-param. All callers changed.
8243 Doc fix.
8244 (frameset-p): Adapt to change to vector and be more thorough.
8245 Change arg name to OBJECT. Doc fix.
8246 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8247 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8248 All callers changed.
8249 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8250 All callers changed.
8251 (frameset--record-minibuffer-relationships): Rename from
8252 frameset--process-minibuffer-frames. All callers changed.
8253 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8254 Use new default constructor (again). Doc fix.
8255 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8256 All callers changed.
8257 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8258 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8259 Doc fix.
8260 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8261 PARAMETERS and WINDOW-STATE, respectively.
8262 (frameset-restore): Add new keyword argument PREDICATE.
8263 Reset frameset--target-display to nil. Doc fix.
8264
8265 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8268 (bat-mode): Use it.
8269 (bat-mode-syntax-table): Mark \n as end-of-comment.
8270 (bat-font-lock-keywords): Remove comment rule.
8271
8272 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8273 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8274
8275 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8276 (byte-compile-callargs-warn): Use `push'.
8277 (byte-compile-arglist-warn): Ignore higher-order "calls".
8278 (byte-compile-file-form-autoload): Use `pcase'.
8279 (byte-compile-function-form): If quoting a symbol, check that it exists.
8280
8281 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8282
8283 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8284 and add a few popular commands found in batch files.
8285 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8286 (dos-mode): Doc fixes.
8287
8288 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8289
8290 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8291 (dos-mode): Use setq-local. Add space after "rem".
8292 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8293 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8294
8295 2013-08-07 Arni Magnusson <arnima@hafro.is>
8296
8297 * progmodes/dos.el: New file.
8298 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8299 dos-mode.
8300
8301 2013-08-06 Glenn Morris <rgm@gnu.org>
8302
8303 * calendar/calendar.el: Add new faces, and day-header-array.
8304 (calendar-weekday-header, calendar-weekend-header)
8305 (calendar-month-header): New faces.
8306 (calendar-day-header-construct): New function.
8307 (calendar-day-header-width): Also :set calendar-day-header-array.
8308 (calendar-american-month-header, calendar-european-month-header)
8309 (calendar-iso-month-header): Use calendar- faces.
8310 (calendar-generate-month):
8311 Use calendar-day-header-array for day headers; apply faces to them.
8312 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8313 (calendar-abbrev-construct): Add optional maxlen argument.
8314 (calendar-day-name-array): Doc fix.
8315 (calendar-day-name-array, calendar-abbrev-length)
8316 (calendar-day-abbrev-array):
8317 Also :set calendar-day-header-array, and maybe redraw.
8318 (calendar-day-header-array): New option. (Bug#15007)
8319 (calendar-font-lock-keywords): Set to nil and make obsolete.
8320 (calendar-day-name): Add option to use header array.
8321
8322 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8323
8324 * net/shr.el (shr-render-td): Remove debugging.
8325 (shr-render-td): Make width computation consistent by defaulting
8326 all zero-width columns to 10 characters. This may not be optimal,
8327 but it's at least consistent.
8328 (shr-make-table-1): Redo last change to fix the real problem in
8329 colspan handling.
8330
8331 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8332
8333 * files.el (cache-long-line-scans):
8334 Make obsolete alias to `cache-long-scans'.
8335
8336 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8337
8338 * frameset.el (frameset, frameset-filter-alist)
8339 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8340 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8341 (frameset-compute-pos): Rename from frameset--compute-pos,
8342 and add docstring.
8343 (frameset-move-onscreen): Use frameset-compute-pos.
8344 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8345
8346 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8347 Fix typos in docstrings.
8348
8349 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8350
8351 * frame.el (get-other-frame): Tiny cleanup.
8352
8353 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8354
8355 * vc/vc.el (vc-default-ignore-completion-table):
8356 Silence byte-compiler warning.
8357
8358 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8359 slot, which can indeed be nil.
8360 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8361 Move entry for `left' from persistent to live filter alist.
8362 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8363 Doc fixes.
8364 (frameset-filter-params): When restoring a frame, copy items added to
8365 `filtered', to avoid unwittingly modifying the original parameters.
8366 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8367 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8368
8369 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8370 to use looking-at-p instead of looking-at. (Bug#15028)
8371
8372 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8373
8374 Revert introduction of isearch-filter-predicates (bug#14714).
8375 Rely on add-function instead.
8376 * isearch.el (isearch-filter-predicates): Rename it back to
8377 isearch-filter-predicate.
8378 (isearch-message-prefix): Use advice-function-mapc and advice
8379 properties to get the isearch-message-prefix.
8380 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8381 instead of run-hook-with-args-until-failure.
8382 (isearch-filter-visible): Not obsolete any more.
8383 * loadup.el: Preload nadvice.
8384 * replace.el (perform-replace): Revert to funcall
8385 instead of run-hook-with-args-until-failure.
8386 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8387 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8388 dired-isearch-filenames-toggle; make it into a proper minor mode.
8389 Use add/remove-function.
8390 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8391 Call the minor-mode rather than add/remove-hook.
8392 (dired-isearch-filter-filenames):
8393 Remove isearch-message-prefix property.
8394 * info.el (Info--search-loop): New function, extracted from Info-search.
8395 Funcall isearch-filter-predicate instead of
8396 run-hook-with-args-until-failure isearch-filter-predicates.
8397 (Info-search): Use it.
8398 (Info-mode): Use isearch-filter-predicate instead of
8399 isearch-filter-predicates.
8400
8401 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8402
8403 Do not call to `selected-window' where it is assumed by default.
8404 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8405 `window-hscroll', `window-width', `window-height', `window-buffer',
8406 `window-frame', `window-start', `window-point', `next-window'
8407 and `window-display-table'.
8408 * abbrev.el (abbrev--default-expand):
8409 * bs.el (bs--show-with-configuration):
8410 * buff-menu.el (Buffer-menu-mouse-select):
8411 * calc/calc.el (calc):
8412 * calendar/calendar.el (calendar-generate-window):
8413 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8414 (diary-make-entry):
8415 * comint.el (send-invisible, comint-dynamic-complete-filename)
8416 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8417 * completion.el (complete):
8418 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8419 * disp-table.el (describe-current-display-table):
8420 * doc-view.el (doc-view-insert-image):
8421 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8422 * ehelp.el (with-electric-help):
8423 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8424 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8425 * emacs-lisp/helper.el (Helper-help-scroller):
8426 * emulation/cua-base.el (cua--post-command-handler-1):
8427 * eshell/esh-mode.el (eshell-output-filter):
8428 * ffap.el (ffap-gnus-wrapper):
8429 * help-macro.el (make-help-screen):
8430 * hilit-chg.el (highlight-compare-buffers):
8431 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8432 * hl-line.el (global-hl-line-highlight):
8433 * icomplete.el (icomplete-simple-completing-p):
8434 * isearch.el (isearch-done):
8435 * jit-lock.el (jit-lock-stealth-fontify):
8436 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8437 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8438 * mpc.el (mpc-tagbrowser, mpc):
8439 * net/rcirc.el (rcirc-any-buffer):
8440 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8441 * play/landmark.el (landmark-max-width, landmark-max-height):
8442 * play/zone.el (zone):
8443 * progmodes/compile.el (compilation-goto-locus):
8444 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8445 * progmodes/etags.el (find-tag-other-window):
8446 * progmodes/fortran.el (fortran-column-ruler):
8447 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8448 * progmodes/verilog-mode.el (verilog-point-text):
8449 * reposition.el (reposition-window):
8450 * rot13.el (toggle-rot13-mode):
8451 * server.el (server-switch-buffer):
8452 * shell.el (shell-dynamic-complete-command)
8453 (shell-dynamic-complete-environment-variable):
8454 * simple.el (insert-buffer, set-selective-display)
8455 (delete-completion-window):
8456 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8457 (speedbar-recenter):
8458 * startup.el (fancy-splash-head):
8459 * textmodes/ispell.el (ispell-command-loop):
8460 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8461 * tutorial.el (help-with-tutorial):
8462 * vc/add-log.el (add-change-log-entry):
8463 * vc/compare-w.el (compare-windows):
8464 * vc/ediff-help.el (ediff-indent-help-message):
8465 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8466 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8467 (ediff-setup-control-frame):
8468 * vc/emerge.el (emerge-position-region):
8469 * vc/pcvs-util.el (cvs-bury-buffer):
8470 * window.el (walk-windows, mouse-autoselect-window-select):
8471 * winner.el (winner-set-conf, winner-undo): Related users changed.
8472
8473 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8474
8475 * frameset.el (frameset--set-id): Doc fix.
8476 (frameset-frame-id, frameset-frame-id-equal-p)
8477 (frameset-locate-frame-id): New functions.
8478 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8479 (frameset-restore): Use them.
8480
8481 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8482
8483 Do not call to `selected-frame' where it is assumed by default.
8484 Affected functions are `raise-frame', `redraw-frame',
8485 `frame-first-window', `frame-terminal' and `delete-frame'.
8486 * calendar/appt.el (appt-disp-window):
8487 * epg.el (epg-wait-for-completion):
8488 * follow.el (follow-delete-other-windows-and-split)
8489 (follow-avoid-tail-recenter):
8490 * international/mule.el (set-terminal-coding-system):
8491 * mail/rmail.el (rmail-mail-return):
8492 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8493 * progmodes/f90.el (f90-add-imenu-menu):
8494 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8495 * server.el (server-switch-buffer):
8496 * simple.el (delete-completion-window):
8497 * talk.el (talk):
8498 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8499 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8500 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8501 * vc/ediff.el (ediff-documentation): Related users changed.
8502 * frame.el (selected-terminal): Remove the leftover.
8503
8504 2013-08-05 Glenn Morris <rgm@gnu.org>
8505
8506 * calendar/calendar.el (calendar-generate-month):
8507 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8508 (calendar-generate-month, calendar-font-lock-keywords):
8509 Fix for calendar-day-header-width > length of any day name.
8510
8511 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8512
8513 * desktop.el (desktop-clear): Use new name of sort predicate.
8514
8515 * frameset.el (frameset): Add docstring. Move :version property to its
8516 own `version' slot.
8517 (frameset-copy): Rename from copy-frameset.
8518 (frameset-p): Check more thoroughly.
8519 (frameset-prop): Do not check for :version, which is no longer a prop.
8520 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8521 Use new :never value instead of t.
8522 (frameset-filter-alist): Expand and clarify docstring.
8523 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8524 (frameset-filter-minibuffer, frameset-filter-save-param)
8525 (frameset-filter-restore-param, frameset-filter-iconified):
8526 Add pointer to docstring of frameset-filter-alist.
8527 (frameset-filter-params): Rename filter values to be more meaningful:
8528 :never instead of t, and reverse the meanings of :save and :restore.
8529 (frameset--process-minibuffer-frames): Clarify error message.
8530 (frameset-save): Avoid unnecessary and confusing call to framep.
8531 Use new BOA constructor for framesets.
8532 (frameset--reuse-list): Doc fix.
8533 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8534 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8535 (frameset-minibufferless-first-p): Doc fix.
8536 Rename from frameset-sort-frames-for-deletion.
8537 (frameset-restore): Doc fixes. Use new function names.
8538 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8539
8540 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8541
8542 * desktop.el (desktop-restore-forces-onscreen)
8543 (desktop-restore-reuses-frames): Document :keyword constant values.
8544 (desktop-filter-parameters-alist): Remove, now identical to
8545 frameset-filter-alist.
8546 (desktop--filter-tty*): Remove, moved to frameset.el.
8547 (desktop-save-frameset, desktop-restore-frameset):
8548 Do not pass :filters argument.
8549
8550 * frameset.el (frameset-live-filter-alist)
8551 (frameset-persistent-filter-alist): New variables.
8552 (frameset-filter-alist): Use them. Add autoload cookie.
8553 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8554 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8555 `frameset--id' (it's supposed to be internal to frameset.el).
8556 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8557 (frameset--initial-params): New function.
8558 (frameset--get-frame): Use it. Doc fix.
8559 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8560 Accept :all, not 'all.
8561 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8562 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8563 with fbound symbols. Fix frame id matching, and remove matching ids if
8564 the frame being restored is deleted. Obey :delete.
8565
8566 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8567
8568 * subr.el (macrop): New function.
8569 (text-clone--maintaining): New var.
8570 (text-clone--maintain): Rename from text-clone-maintain. Use it
8571 instead of inhibit-modification-hooks.
8572
8573 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8574 a proxy, so as handle autoloads and redefinitions of the target.
8575 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8576
8577 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8578 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8579 (pcase--mutually-exclusive-p): New function.
8580 (pcase--split-consp): Use it.
8581 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8582 mutually exclusive with the current predicate.
8583
8584 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8585 (edebug-macrop): Remove. Use `macrop' instead.
8586 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8587 (ad-macro-p):
8588 * eshell/esh-cmd.el (eshell-macrop):
8589 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8590
8591 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8594 (advice-mapc): New function, using it.
8595 (advice-function-member-p): New function.
8596 (advice--normalize): Store the cdr in advice--saved-rewrite since
8597 that's the part that will be changed.
8598 (advice--symbol-function): New function.
8599 (advice-remove): Handle removal before the function is defined.
8600 Adjust to new advice--saved-rewrite.
8601 (advice-member-p): Use advice-function-member-p and
8602 advice--symbol-function.
8603
8604 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8605
8606 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8607 (frameset-filter-minibuffer): Doc fix.
8608 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8609 (frameset--set-id, frameset--process-minibuffer-frames)
8610 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8611 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8612
8613 * desktop.el (desktop-clear): Only delete frames when called
8614 interactively and desktop-restore-frames is non-nil. Doc fix.
8615 (desktop-read): Set desktop-saved-frameset to nil.
8616
8617 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8618
8619 * vc/vc.el (vc-ignore): Rewrite.
8620 (vc-default-ignore-completion-table, vc--read-lines)
8621 (vc--add-line, vc--remove-regexp): New functions.
8622
8623 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8624 (vc-svn-ignore-completion-table): New function.
8625
8626 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8627 (vc-hg-ignore-completion-table)
8628 (vc-hg-find-ignore-file): New functions.
8629
8630 * vc/vc-git.el (vc-git-ignore): Rewrite.
8631 (vc-git-ignore-completion-table)
8632 (vc-git-find-ignore-file): New functions.
8633
8634 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8635
8636 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8637 (vc-bzr-ignore-completion-table)
8638 (vc-bzr-find-ignore-file): New functions.
8639
8640 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8641
8642 * frameset.el (frameset-prop): New function and setter.
8643 (frameset-save): Do not modify frame list passed by the caller.
8644
8645 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8646
8647 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8648
8649 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8652 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8653
8654 * custom.el (custom-initialize-default, custom-initialize-set)
8655 (custom-initialize-reset, custom-initialize-changed): Affect the
8656 toplevel-default-value (bug#6275, bug#14586).
8657 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8658 for bug#6275.
8659
8660 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8661
8662 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8663 Add cl-def* expressions.
8664
8665 * frameset.el (frameset-filter-params): Fix order of arguments.
8666
8667 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8668
8669 Move code related to saving frames to frameset.el.
8670 * desktop.el: Require frameset.
8671 (desktop-restore-frames): Doc fix.
8672 (desktop-restore-reuses-frames): Rename from
8673 desktop-restoring-reuses-frames.
8674 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8675 (desktop-clear): Clear frames too.
8676 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8677 (desktop--filter-tty*, desktop-save, desktop-read):
8678 Use frameset functions.
8679 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8680 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8681 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8682 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8683 (desktop--process-minibuffer-frames, desktop-save-frames)
8684 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8685 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8686 (desktop--sort-states, desktop-restoring-frames-p)
8687 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8688 (desktop-restoring-frameset-p, desktop-restore-frameset)
8689 (desktop--check-dont-save, desktop-save-frameset): New functions.
8690 (desktop--app-id): New constant.
8691 (desktop-first-buffer, desktop-buffer-ok-count)
8692 (desktop-buffer-fail-count): Move before first use.
8693 * frameset.el: New file.
8694
8695 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8696
8697 * files.el: Use lexical-binding.
8698 (dir-locals-read-from-file): Remove unused `err' variable.
8699 (hack-dir-local-variables--warned-coding): New var.
8700 (hack-dir-local-variables): Use it to avoid repeated warnings.
8701 (make-backup-file-name--default-function): New function.
8702 (make-backup-file-name-function): Use it as default.
8703 (buffer-stale--default-function): New function.
8704 (buffer-stale-function): Use it as default.
8705 (revert-buffer-insert-file-contents--default-function): New function.
8706 (revert-buffer-insert-file-contents-function): Use it as default.
8707 (insert-directory): Avoid add-to-list.
8708
8709 * autorevert.el (auto-revert-handler): Simplify.
8710 Use buffer-stale--default-function.
8711
8712 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8713
8714 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8715
8716 * whitespace.el (whitespace-ensure-local-variables): New function.
8717 (whitespace-cleanup-region): Call it.
8718 (whitespace-turn-on): Call it.
8719
8720 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8721
8722 Complete file name handlers.
8723
8724 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8725 (tramp-handle-verify-visited-file-modtime)
8726 (tramp-handle-file-notify-rm-watch): New functions.
8727 (tramp-call-process): Do not bind `default-directory'.
8728
8729 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8730 Order alphabetically.
8731 <access-file, add-name-to-file, dired-call-process>:
8732 <dired-compress-file, file-acl, file-notify-rm-watch>:
8733 <file-ownership-preserved-p, file-selinux-context>:
8734 <make-directory-internal, make-symbolic-link, set-file-acl>:
8735 <set-file-selinux-context, set-visited-file-modtime>:
8736 <verify-visited-file-modtime>: Add handler.
8737 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8738
8739 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8740 <file-notify-add-watch, file-notify-rm-watch>:
8741 <set-file-times, set-visited-file-modtime>:
8742 <verify-visited-file-modtime>: Add handler.
8743 (with-tramp-gvfs-error-message)
8744 (tramp-gvfs-handle-set-visited-file-modtime)
8745 (tramp-gvfs-fuse-file-name): Remove.
8746 (tramp-gvfs-handle-file-notify-add-watch)
8747 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8748 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8749
8750 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8751 Order alphabetically.
8752 <file-notify-rm-watch>: Use default Tramp handler.
8753 <executable-find>: Remove private handler.
8754 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8755 `default-directory'.
8756 (tramp-sh-handle-executable-find)
8757 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8758 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8759 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8760 Do not use `format' in `tramp-message'.
8761
8762 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8763 <file-notify-rm-watch, set-visited-file-modtime>:
8764 <verify-visited-file-modtime>: Add handler.
8765 (tramp-smb-call-winexe): Do not bind `default-directory'.
8766
8767 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8768
8769 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8770
8771 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8772
8773 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8774 use it.
8775 (log-view-diff-changeset): Same.
8776 (log-view-diff-common): Call backend command `previous-revision'
8777 to find out the previous revision, in both cases. Swap the
8778 variables `to' and `fr', so that `fr' usually refers to the
8779 earlier revision (Bug#14989).
8780
8781 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8782
8783 * ibuf-ext.el (ibuffer-filter-by-filename):
8784 Make it work with dired buffers too.
8785
8786 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8787
8788 * emacs-lisp/re-builder.el (reb-color-display-p):
8789 * files.el (save-buffers-kill-terminal):
8790 * net/browse-url.el (browse-url):
8791 * server.el (server-save-buffers-kill-terminal):
8792 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8793 Prefer nil to selected-frame for the first arg of frame-parameter.
8794
8795 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8796
8797 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8798
8799 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8800
8801 * minibuffer.el (completion--twq-all): Try and preserve each
8802 completion's case choice (bug#14907).
8803
8804 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8805
8806 * net/network-stream.el (open-network-stream): Mention the new
8807 :nogreeting parameter.
8808 (network-stream-open-starttls): Use the :nogreeting parameter
8809 (bug#14938).
8810
8811 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8812
8813 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8814 more natural than popping.
8815
8816 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8817 (shr-urlify): Highlight under mouse.
8818
8819 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8820
8821 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8822
8823 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8824
8825 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8826 buffer for output.
8827
8828 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8829 point-min==1. Fix search string. Fix parentheses missing.
8830
8831 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8832 assume point-min==1. Fix search string. Fix parentheses missing.
8833
8834 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8835
8836 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8837 buffer for output.
8838
8839 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8840
8841 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8842 initial frame is minibuffer-less. (Bug#14841)
8843
8844 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8845
8846 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8847 option.
8848
8849 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8850 (tramp-maybe-open-connection): Use it.
8851
8852 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8853
8854 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8855 minimal set of parameters passed when creating a frame, because
8856 the minibuffer status of a frame cannot be changed later.
8857
8858 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8859
8860 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8861 replace-regexp-in-string and inadvertent omissions in previous change.
8862 (todo-filter-items): Ensure only file names are comma-separated in
8863 name of filtered items buffer.
8864
8865 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8866
8867 * desktop.el: Optionally force offscreen frames back onscreen.
8868 (desktop-restoring-reuses-frames): New option.
8869 (desktop--compute-pos, desktop--move-onscreen): New functions.
8870 (desktop--make-frame): Use desktop--move-onscreen.
8871
8872 2013-07-27 Alan Mackenzie <acm@muc.de>
8873
8874 Fontify a Java generic method as a function.
8875 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8876 value to t.
8877
8878 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8879
8880 * calendar/todo-mode.el: Add command to rename todo files.
8881 (todo-rename-file): New command.
8882 (todo-key-bindings-t): Add key binding for it. Change the
8883 bindings of todo-filter-regexp-items(-multifile) to use `x'
8884 instead of `r', since the latter is better suited to the new
8885 renaming command.
8886
8887 2013-07-27 Alan Mackenzie <acm@muc.de>
8888
8889 Make Java try-with-resources statement parse properly.
8890 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8891 (c-block-stmt-1-2-key): New language constants/variables.
8892 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8893 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8894 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8895 with c-block-stmt-1-2-key.
8896
8897 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8898
8899 * desktop.el (desktop--make-frame): Apply most frame parameters after
8900 creating the frame to force (partially or totally) offscreen frames to
8901 be restored as such.
8902
8903 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8904
8905 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8906 (Bug#14948)
8907
8908 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8911 `base' arg of backtrace-frame.
8912
8913 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8914
8915 * simple.el (list-processes): Doc fix.
8916
8917 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8918
8919 * desktop.el (desktop--select-frame):
8920 Try harder to reuse existing frames.
8921
8922 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8925 (edebug-eval): Use backtrace-eval.
8926 (edebug--display, edebug--recursive-edit): Don't let-bind the
8927 edebug-outer-* vars that keep track of variables we locally let-bind.
8928 (edebug-outside-excursion): Don't restore outside values of locally
8929 let-bound vars.
8930 (edebug--display): Use user-error.
8931 (cl-lexical-debug, cl-debug-env): Remove.
8932
8933 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8934
8935 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8936 are restored to be sure that they are visible before deleting any
8937 remaining ones.
8938
8939 2013-07-26 Matthias Meulien <orontee@gmail.com>
8940
8941 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8942 vc-print-root-log. (Bug#14948)
8943
8944 2013-07-26 Richard Stallman <rms@gnu.org>
8945
8946 Add aliases for encrypting mail.
8947 * epa.el (epa-mail-aliases): New option.
8948 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8949 Bind inhibit-read-only so read-only text doesn't ruin everything.
8950 (epa-mail-default-recipients): New subroutine broken out.
8951 Handle epa-mail-aliases.
8952
8953 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 Add support for lexical variables to the debugger's `e' command.
8956 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8957 vars, except for debugger-outer-match-data.
8958 (debugger-frame-number): Move check for "on a function call" from
8959 callers into it. Add `skip-base' argument.
8960 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8961 (debugger-env-macro): Only reset the state stored in non-variables,
8962 i.e. current-buffer and match-data.
8963 (debugger-eval-expression): Rewrite using backtrace-eval.
8964 * subr.el (internal--called-interactively-p--get-frame): Remove.
8965 (called-interactively-p):
8966 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8967 `base' arg of backtrace-frame instead.
8968
8969 2013-07-26 Glenn Morris <rgm@gnu.org>
8970
8971 * align.el (align-regexp): Doc fix. (Bug#14857)
8972 (align-region): Explicit error if subexpression missing/does not match.
8973
8974 * simple.el (global-visual-line-mode):
8975 Do not duplicate the mode lighter. (Bug#14858)
8976
8977 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8978
8979 * window.el (display-buffer): In display-buffer bind
8980 split-window-keep-point to t, bug#14829.
8981
8982 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8983
8984 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8985 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8986 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8987 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8988 Change accordingly.
8989 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8990 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8991
8992 2013-07-25 Glenn Morris <rgm@gnu.org>
8993
8994 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8995
8996 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8997
8998 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8999 parameter to modify-frame-parameters if the value has not changed;
9000 this is a workaround for bug#14949.
9001 (desktop--make-frame): On cl-delete-if call, check parameter name,
9002 not full parameter.
9003
9004 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9005
9006 * vc/vc.el (vc-ignore): New function.
9007
9008 * vc/vc-svn.el (vc-svn-ignore): New function.
9009
9010 * vc/vc-hg.el (vc-hg-ignore): New function.
9011
9012 * vc/vc-git.el (vc-git-ignore): New function.
9013
9014 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9015 (vc-dir-ignore): New function.
9016
9017 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9018 (cvs-append-to-ignore): Move here from pcvs.el.
9019
9020 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9021
9022 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9023
9024 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9025
9026 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9027 (desktop-restore-frames): Warn when deleting an existing frame failed.
9028
9029 2013-07-24 Glenn Morris <rgm@gnu.org>
9030
9031 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9032
9033 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9034
9035 * filenotify.el (file-notify-supported-p):
9036 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9037 Remove functions.
9038
9039 * autorevert.el (auto-revert-use-notify)
9040 (auto-revert-notify-add-watch):
9041 * net/tramp.el (tramp-file-name-for-operation):
9042 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9043 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9044 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9045 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9046 Remove `file-notify-supported-p' entry.
9047
9048 2013-07-24 Glenn Morris <rgm@gnu.org>
9049
9050 * printing.el: Replace all uses of deleted ps-windows-system,
9051 ps-lp-system, ps-flatten-list with lpr- versions.
9052
9053 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9056 checked with memq (bug#14935).
9057
9058 * files.el (revert-buffer-function): Use a non-nil default.
9059 (revert-buffer-preserve-modes): Declare var to
9060 provide access to the `preserve-modes' argument.
9061 (revert-buffer): Let-bind it.
9062 (revert-buffer--default): New function, extracted from revert-buffer.
9063
9064 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * lpr.el: Signal print errors more prominently.
9067 (print-region-function): Don't default to nil.
9068 (lpr-print-region): New function, extracted from print-region-1.
9069 Check lpr's return value and signal an error in case of problem.
9070 (print-region-1): Use it.
9071 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9072 versions instead.
9073 (ps-printer-name): Default to nil.
9074 (ps-printer-name-option): Default to lpr-printer-switch.
9075 (ps-print-region-function): Don't default to nil.
9076 (ps-postscript-code-directory): Simplify default.
9077 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9078 (ps-string-list, ps-eval-switch, ps-flatten-list)
9079 (ps-flatten-list-1): Remove.
9080 (ps-multibyte-buffer): Avoid setq.
9081 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9082 (print-region-function, ps-print-region-function): Don't set them here.
9083
9084 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9085
9086 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9087 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9088 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9089 (ido-decorations): Doc fix.
9090
9091 * ansi-color.el: Fix old URL.
9092
9093 2013-07-23 Michael R. Mauger <michael@mauger.com>
9094
9095 * progmodes/sql.el: Version 3.3
9096 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9097 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9098 (sql-interactive-remove-continuation-prompt): Rewrite, use
9099 functions above. Fix continuation prompt and complete output line
9100 handling.
9101 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9102 redirected output buffer.
9103 (sql-mode): Restore deleted code (Bug#13591).
9104
9105 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9106
9107 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9108
9109 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9110
9111 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9112
9113 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9114 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9115 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9116
9117 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9118
9119 * desktop.el (desktop-clear): Simplify; remove useless checks
9120 against invalid buffer names.
9121 (desktop-list*): Use cl-list*.
9122 (desktop-buffer-info, desktop-create-buffer): Simplify.
9123
9124 2013-07-23 Leo Liu <sdl.web@gmail.com>
9125
9126 * bookmark.el (bookmark-make-record): Restore NAME as a default
9127 value. (Bug#14933)
9128
9129 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9132 extracted from autoload--insert-text.
9133 (autoload--insert-text): Remove.
9134 (autoload--print-cookie-text): New function, extracted from
9135 autoload--insert-cookie-text.
9136 (autoload--insert-cookie-text): Remove.
9137 (autoload-generate-file-autoloads): Adjust calls accordingly.
9138
9139 * winner.el (winner-hook-installed-p): Remove.
9140 (winner-mode): Simplify accordingly.
9141
9142 * subr.el (add-to-list): Fix compiler-macro when `append' is
9143 not constant. Don't use `cl-member' for the base case.
9144
9145 * progmodes/subword.el: Fix boundary case (bug#13758).
9146 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9147 own group.
9148 (subword-backward-regexp): Make it a constant.
9149 (subword-forward-internal): Don't treat a trailing capital as the
9150 beginning of a word.
9151
9152 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9153
9154 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9155 global value of tabulated-list-revert-hook (bug#14930).
9156
9157 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9158
9159 * desktop.el: Require 'cl-lib.
9160 (desktop-before-saving-frames-functions): New hook.
9161 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9162 for frames being saved. Rename from desktop--save-minibuffer-frames.
9163 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9164 Do not save frames with non-nil `desktop-dont-save' parameter.
9165 Filter out deleted frames.
9166 (desktop--find-frame): Use cl-find-if.
9167 (desktop--select-frame): Use cl-(first|second|third) to access values
9168 of desktop-mini.
9169 (desktop--make-frame): Use cl-delete-if.
9170 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9171 (desktop-restore-frames): Use cl-(first|second|third) to access values
9172 of desktop-mini. Look for visible frame at the end, not while
9173 restoring frames.
9174
9175 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9176 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9177 Use string-match-p, looking-at-p (bug#14927).
9178
9179 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9180
9181 * desktop.el (desktop-saved-frame-states):
9182 Rename from desktop--saved-states; all users changed.
9183 (desktop-save-frames): Rename from desktop--save-frames.
9184 Do not save state to desktop file.
9185 (desktop-save): Save desktop-saved-frame-states to desktop file
9186 and reset to nil.
9187 (desktop-restoring-frames-p): New function.
9188 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9189 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9190 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9191
9192 * desktop.el: Correctly restore iconified frames.
9193 (desktop--filter-iconified-position): New function.
9194 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9195
9196 2013-07-20 Glenn Morris <rgm@gnu.org>
9197
9198 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9199 Let `message' do the formatting.
9200 (def-gdb-preempt-display-buffer): Add explicit format.
9201
9202 * image-dired.el (image-dired-track-original-file):
9203 Use with-current-buffer.
9204 (image-dired-track-thumbnail): Use with-current-buffer.
9205 Avoid changing point of wrong window.
9206
9207 * image-dired.el (image-dired-track-original-file):
9208 Avoid changing point of wrong window. (Bug#14909)
9209
9210 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9211
9212 * progmodes/gdb-mi.el (gdb-done-or-error):
9213 Guard against "%" in gdb output. (Bug#14127)
9214
9215 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9216
9217 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9218 (Bug#14826)
9219
9220 * international/mule.el (coding-system-iso-2022-flags): Fix last
9221 change.
9222
9223 2013-07-20 Kenichi Handa <handa@gnu.org>
9224
9225 * international/mule.el (coding-system-iso-2022-flags):
9226 Add `8-bit-level-4'. (Bug#8522)
9227
9228 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9229
9230 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9231 (bug#14815).
9232
9233 * net/eww.el (eww-process-text-input): Allow inputting when the
9234 point is at the start of the line, as the properties aren't
9235 front-sticky.
9236
9237 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9238 degenerate widths.
9239
9240 2013-07-19 Richard Stallman <rms@gnu.org>
9241
9242 * epa.el (epa-popup-info-window): Doc fix.
9243
9244 * subr.el (split-string): New arg TRIM.
9245
9246 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9247
9248 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9249 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9250
9251 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9252
9253 * filenotify.el (file-notify--library): Rename from
9254 `file-notify-support'. Do not autoload. Adapt all uses.
9255 (file-notify-supported-p): New defun.
9256
9257 * autorevert.el (auto-revert-use-notify):
9258 Use `file-notify-supported-p' instead of `file-notify-support'.
9259 Adapt docstring.
9260 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9261
9262 * net/tramp.el (tramp-file-name-for-operation):
9263 Add `file-notify-supported-p'.
9264
9265 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9266 New defun.
9267 (tramp-sh-file-name-handler-alist): Add it as handler for
9268 `file-notify-supported-p '.
9269
9270 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9271 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9272 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9273 Add `ignore' as handler for `file-notify-*' functions.
9274
9275 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9276
9277 * simple.el (line-move-partial, line-move): Don't start vscroll or
9278 scroll-up if the current line is not taller than the window.
9279 (Bug#14881)
9280
9281 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9282
9283 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9284 highlight question marks in the method names as strings.
9285 (ruby-block-beg-keywords): Inline.
9286 (ruby-font-lock-keyword-beg-re): Extract from
9287 `ruby-font-lock-keywords'.
9288
9289 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9290
9291 * frame.el (blink-cursor-blinks): New defcustom.
9292 (blink-cursor-blinks-done): New defvar.
9293 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9294 (blink-cursor-timer-function): Check if number of blinks has been
9295 done on X and NS.
9296 (blink-cursor-suspend, blink-cursor-check): New defuns.
9297
9298 2013-07-15 Glenn Morris <rgm@gnu.org>
9299
9300 * edmacro.el (edmacro-format-keys): Fix previous change.
9301
9302 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9303
9304 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9305 The hack didn't work outside English locales anyway.
9306
9307 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9308
9309 * simple.el (define-alternatives): Rename from alternatives-define,
9310 per RMS' suggestion.
9311
9312 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9313
9314 * desktop.el (desktop-restore-frames): Change default to t.
9315 (desktop-restore-in-current-display): Now offer more options.
9316 (desktop-restoring-reuses-frames): New customization option.
9317 (desktop--saved-states): Doc fix.
9318 (desktop-filter-parameters-alist): New variable, renamed and expanded
9319 from desktop--excluded-frame-parameters.
9320 (desktop--target-display): New variable.
9321 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9322 (desktop--filter-tty*, desktop--filter-*-color)
9323 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9324 (desktop--filter-save-desktop-parm)
9325 (desktop-restore-in-original-display-p): New functions.
9326 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9327 (desktop--save-minibuffer-frames): New function, inspired by a similar
9328 function from Martin Rudalics.
9329 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9330 (desktop--restore-in-this-display-p): Remove.
9331 (desktop--find-frame): Rename from desktop--find-frame-in-display
9332 and add predicate argument.
9333 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9334 (desktop--reuse-list): New variable.
9335 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9336 New functions.
9337 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9338
9339 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9340
9341 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9342
9343 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9344
9345 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9346 Highlight conversion methods on Kernel.
9347
9348 2013-07-13 Alan Mackenzie <acm@muc.de>
9349
9350 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9351 and comment it out. This out-commenting enables certain C++
9352 declarations to be parsed correctly.
9353
9354 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9355
9356 * international/mule.el (define-coding-system): Doc fix.
9357
9358 * simple.el (default-font-height): Don't call font-info if the
9359 frame's default font didn't change since the frame was created.
9360 (Bug#14838)
9361
9362 2013-07-13 Leo Liu <sdl.web@gmail.com>
9363
9364 * ido.el (ido-read-file-name): Guard against non-symbol value.
9365
9366 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9367
9368 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9369 in nested defuns.
9370
9371 2013-07-13 Leo Liu <sdl.web@gmail.com>
9372
9373 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9374 ido-set-matches call. (Bug#6852)
9375
9376 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9377
9378 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9379 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9380 Ruby 2.0.
9381 (ruby-font-lock-keywords): Distinguish calls to functions with
9382 module-like names from module references. Highlight character
9383 literals.
9384
9385 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9386
9387 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9388 (gdb-send): Handle continued commands. (Bug#14847)
9389
9390 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9391
9392 * desktop.el (desktop--v2s): Remove unused local variable.
9393 (desktop-save-buffer): Make defvar-local; adjust docstring.
9394 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9395 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9396
9397 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9398
9399 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9400
9401 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9402
9403 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9404 (Bug#14842)
9405
9406 2013-07-12 Glenn Morris <rgm@gnu.org>
9407
9408 * doc-view.el: Require cl-lib at runtime too.
9409 (doc-view-remove-if): Remove.
9410 (doc-view-search-next-match, doc-view-search-previous-match):
9411 Use cl-remove-if.
9412
9413 * edmacro.el: Require cl-lib at runtime too.
9414 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9415 (edmacro-mismatch, edmacro-subseq): Remove.
9416
9417 * shadowfile.el: Require cl-lib.
9418 (shadow-remove-if): Remove.
9419 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9420 Use cl-remove-if.
9421
9422 * wid-edit.el: Require cl-lib.
9423 (widget-choose): Use cl-remove-if.
9424 (widget-remove-if): Remove.
9425
9426 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9427 (ebrowse-delete-if-not): Remove.
9428 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9429 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9430 Use cl-delete-if-not.
9431
9432 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9433
9434 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9435 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9436
9437 2013-07-12 Leo Liu <sdl.web@gmail.com>
9438
9439 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9440
9441 2013-07-11 Glenn Morris <rgm@gnu.org>
9442
9443 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9444 (edebug-gensym-index, edebug-gensym):
9445 Remove reimplementation of cl-gensym.
9446 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9447
9448 * thumbs.el: Require cl-lib at run-time too.
9449 (thumbs-gensym-counter, thumbs-gensym):
9450 Remove reimplementation of cl-gensym.
9451 (thumbs-temp-file): Use cl-gensym.
9452
9453 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9454 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9455 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9456 (ert--union, ert--gensym-counter, ert--gensym-counter)
9457 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9458 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9459 (ert-make-test-unbound, ert--expand-should-1)
9460 (ert--expand-should, ert--should-error-handle-error)
9461 (should-error, ert--explain-equal-rec)
9462 (ert--plist-difference-explanation, ert-select-tests)
9463 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9464 Use cl-lib functions rather than reimplementations.
9465
9466 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9467
9468 * net/tramp.el (tramp-methods): Extend docstring.
9469 (tramp-connection-timeout): New defcustom.
9470 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9471 (with-tramp-progress-reporter): Simplify.
9472 (tramp-process-actions): Improve messages.
9473
9474 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9475 * net/tramp-sh.el (tramp-maybe-open-connection):
9476 Use `tramp-connection-timeout'.
9477 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9478 (Bug#14808)
9479
9480 2013-07-11 Leo Liu <sdl.web@gmail.com>
9481
9482 * ido.el (ido-read-file-name): Conform to the requirements of
9483 read-file-name. (Bug#11861)
9484 (ido-read-directory-name): Conform to the requirements of
9485 read-directory-name.
9486
9487 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9488
9489 * subr.el (delay-warning): New function.
9490
9491 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9492
9493 * simple.el (default-line-height): New function.
9494 (line-move-partial, line-move): Use it instead of computing the
9495 line height inline.
9496 (line-move-partial): Always compute ROWH. If the last line is
9497 partially-visible, but its text is completely visible, allow
9498 cursor to enter such a partially-visible line.
9499
9500 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9501
9502 Improve error messages. (Bug#14808)
9503
9504 * net/tramp.el (tramp-current-connection): New defvar, moved from
9505 tramp-sh.el.
9506 (tramp-message-show-progress-reporter-message): Remove, not
9507 needed anymore.
9508 (tramp-error-with-buffer): Show message in minibuffer.
9509 Discard input before waiting. Reset connection timestamp.
9510 (with-tramp-progress-reporter): Improve messages.
9511 (tramp-process-actions): Use progress reporter. Delete process in
9512 case of error. Improve messages.
9513
9514 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9515 Call `tramp-error-with-buffer' with vector and buffer.
9516 (tramp-current-connection): Remove.
9517 (tramp-maybe-open-connection): The car of
9518 `tramp-current-connection' are the first 3 slots of the vector.
9519
9520 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9521
9522 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9523 inside continued strings.
9524
9525 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9526
9527 Timestamp fixes for undo (Bug#14824).
9528 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9529
9530 2013-07-10 Leo Liu <sdl.web@gmail.com>
9531
9532 * files.el (require-final-newline): Allow safe local value.
9533 (Bug#14834)
9534
9535 2013-07-09 Leo Liu <sdl.web@gmail.com>
9536
9537 * ido.el (ido-read-directory-name): Handle fallback.
9538 (ido-read-file-name): Update DIR to ido-current-directory.
9539 (Bug#1516)
9540 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9541
9542 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9543
9544 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9545 "autoload". Remove "warn lower camel case" section, previously
9546 commented out. Highlight negation char. Do not highlight the
9547 target in singleton method definitions.
9548
9549 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * faces.el (tty-setup-hook): Declare the hook.
9552
9553 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9554 and detect when a guard/pred depends on local vars (bug#14773).
9555 (pcase--u1): Adjust caller.
9556
9557 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9558
9559 * simple.el (line-move-partial, line-move): Account for
9560 line-spacing.
9561 (line-move-partial): Avoid setting vscroll when the last
9562 partially-visible line in window is of default height.
9563
9564 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9565
9566 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9567 been used a while.
9568
9569 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9570
9571 * subr.el (read-quoted-char): Remove unused local variable `char'.
9572
9573 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9574
9575 * ediff.el (ediff-version): Version update.
9576 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9577 (ediff-merge-with-ancestor-command, ediff-directories-command)
9578 (ediff-directories3-command, ediff-merge-directories-command)
9579 (ediff-merge-directories-with-ancestor-command): New functions.
9580 All are command-line interfaces to ediff: to facilitate calling
9581 Emacs with the appropriate ediff functions invoked.
9582
9583 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9584 (viper-save-kill-buffer): Check if buffer is modified.
9585
9586 * viper.el (viper-version): Version update.
9587 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9588
9589 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9590
9591 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9592 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9593 (viper-intercept-ESC-key): Simplify.
9594 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9595 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9596 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9597 (viper-setup-ESC-to-escape): New functions.
9598 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9599 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9600
9601 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9602
9603 * simple.el (default-font-height, window-screen-lines):
9604 New functions.
9605 (line-move, line-move-partial): Use them instead of
9606 frame-char-height and window-text-height. This makes scrolling
9607 text smoother when the buffer's default face uses a font that is
9608 different from the frame's default font.
9609
9610 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9611
9612 * files.el (write-file): Do not display confirm dialog for NS,
9613 it does its own dialog, which can't be canceled (Bug#14578).
9614
9615 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9616
9617 * simple.el (line-move-partial): Adjust the row returned by
9618 posn-at-point for the current window-vscroll. (Bug#14567)
9619
9620 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9621
9622 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9623 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9624 spaces.
9625
9626 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9627
9628 * window.el (window-state-put-stale-windows): New variable.
9629 (window--state-put-2): Save list of windows without matching buffer.
9630 (window-state-put): Remove "bufferless" windows if possible.
9631
9632 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9633
9634 * simple.el (alternatives-define): Remove leftover :group keyword.
9635 Tweak docstring.
9636
9637 2013-07-06 Leo Liu <sdl.web@gmail.com>
9638
9639 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9640 (ido-enable-virtual-buffers): New variable.
9641 (ido-buffer-internal, ido-toggle-virtual-buffers)
9642 (ido-make-buffer-list): Use it.
9643 (ido-exhibit): Support turning on and off virtual buffers
9644 automatically.
9645
9646 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9647
9648 * simple.el (alternatives-define): New macro.
9649
9650 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9651
9652 * subr.el (read-quoted-char): Use read-key.
9653 (sit-for): Let read-event decode tty input (bug#14782).
9654
9655 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9656
9657 * calendar/todo-mode.el: Add handling of file deletion, both by
9658 mode command and externally. Fix various related bugs.
9659 Clarify Commentary and improve some documentation strings and code.
9660 (todo-delete-file): New command.
9661 (todo-check-file): New function.
9662 (todo-show): Handle external deletion of the file we're trying to
9663 show (bug#14688). Replace called-interactively-p by an optional
9664 prefix argument to avoid problematic interaction with catch form
9665 when byte compiled (bug#14702).
9666 (todo-quit): Handle external deletion of the archive's todo file.
9667 Make sure the buffer that was visiting the archive file is still
9668 live before trying to bury it.
9669 (todo-category-completions): Handle external deletion of any
9670 category completion files.
9671 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9672 of todo files, in case of external deletion.
9673 (todo-add-file): Replace unnecessary setq by let-binding.
9674 (todo-find-archive): Check whether there are any archives.
9675 Replace unnecessary setq by let-binding.
9676 (todo-archive-done-item): Use find-file-noselect to get the
9677 archive buffer whether or not the archive already exists.
9678 Remove superfluous code. Use file size instead of buffer-file-name to
9679 check if the archive is new; if it is, update list of archives.
9680 (todo-default-todo-file): Allow nil to be a valid value for when
9681 there are no todo files.
9682 (todo-reevaluate-default-file-defcustom): Use corrected definition
9683 of todo-default-todo-file.
9684 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9685 (todo-delete-category, todo-show-categories-table)
9686 (todo-category-number): Clarify comment.
9687 (todo-filter-items): Clarify documentation string.
9688 (todo-show-current-file, todo-display-as-todo-file)
9689 (todo-reset-and-enable-done-separator): Tweak documentation string.
9690 (todo-done-separator): Make separator length window-width, since
9691 bug#2749 is now fixed.
9692
9693 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9694
9695 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9696 Support both "gvfs-monitor-dir" and "inotifywait".
9697 (tramp-sh-file-inotifywait-process-filter): Rename from
9698 `tramp-sh-file-notify-process-filter'.
9699 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9700 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9701
9702 2013-07-05 Leo Liu <sdl.web@gmail.com>
9703
9704 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9705
9706 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9707
9708 * frame.el (display-pixel-height, display-pixel-width)
9709 (display-mm-height, display-mm-width): Mention behavior on
9710 multi-monitor setups in docstrings.
9711 (w32-display-monitor-attributes-list): Declare function.
9712 (display-monitor-attributes-list): Use it.
9713
9714 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9715
9716 * filenotify.el: New package.
9717
9718 * autorevert.el (top): Require filenotify.el.
9719 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9720 instead.
9721 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9722 (auto-revert-notify-handler): Use `file-notify-*' functions.
9723
9724 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9725
9726 * net/tramp.el (tramp-file-name-for-operation):
9727 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9728
9729 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9730 for `file-notify-add-watch' and `file-notify-rm-watch'.
9731 (tramp-process-sentinel): Improve trace.
9732 (tramp-sh-handle-file-notify-add-watch)
9733 (tramp-sh-file-notify-process-filter)
9734 (tramp-sh-handle-file-notify-rm-watch)
9735 (tramp-get-remote-inotifywait): New defuns.
9736
9737 2013-07-03 Juri Linkov <juri@jurta.org>
9738
9739 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9740 call of `occur-read-primary-args' to interactive spec.
9741
9742 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9743 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9744
9745 2013-07-03 Matthias Meulien <orontee@gmail.com>
9746
9747 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9748 `Buffer-menu-multi-occur'. Add it to the menu.
9749 (Buffer-menu-mode): Document it in docstring.
9750 (Buffer-menu-multi-occur): New command. (Bug#14673)
9751
9752 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9753
9754 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9755 keywords and built-ins.
9756
9757 2013-07-03 Glenn Morris <rgm@gnu.org>
9758
9759 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9760
9761 Make info-xref checks case-sensitive by default
9762 * info.el (Info-find-node, Info-find-in-tag-table)
9763 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9764 Add option for exact case matching of nodes.
9765 * info-xref.el (info-xref): New custom group.
9766 (info-xref-case-fold): New option.
9767 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9768
9769 2013-07-03 Leo Liu <sdl.web@gmail.com>
9770
9771 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9772
9773 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9774
9775 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9776 middle of block statement initially, lower the depth. Remove
9777 FIXME comment, not longer valid. Remove middle of block statement
9778 detection, no need to do that anymore since we've been using
9779 `ruby-parse-region' here.
9780
9781 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9782
9783 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9784
9785 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9786
9787 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9788
9789 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9790
9791 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9792 (desktop-restore-in-current-display): New customization option.
9793 (desktop--excluded-frame-parameters): Add `font'.
9794 (desktop--save-frames): Rename from desktop--save-windows.
9795 (desktop--restore-in-this-display-p): New function.
9796 (desktop--make-full-frame): Remove unwanted width/height from
9797 full(width|height) frames.
9798 (desktop--restore-frames): Rename from desktop--restore-windows.
9799 Obey desktop-restore-current-display. Do not delete old frames or
9800 select a new frame unless we were able to restore at least one frame.
9801
9802 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9803
9804 * files.el (find-file-noselect): Simplify conditional expression.
9805
9806 * textmodes/remember.el (remember-append-to-file):
9807 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9808
9809 Add `remember-notes' function to store random notes across Emacs
9810 restarts.
9811 * textmodes/remember.el (remember-data-file): Add :set callback to
9812 affect notes buffer (if any).
9813 (remember-notes): New command.
9814 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9815 New defcustoms for the `remember-notes' function.
9816 (remember-notes-save-and-bury-buffer): New command.
9817 (remember-notes-mode-map): New variable.
9818 (remember-mode): New minor mode.
9819 (remember-notes--kill-buffer-query): New function.
9820 * startup.el (initial-buffer-choice): Add notes to custom type.
9821
9822 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9823
9824 * bindings.el (right-char, left-char): Don't call sit-for, this is
9825 no longer needed. Use arithmetic comparison only for numerical
9826 arguments.
9827
9828 * international/mule-cmds.el (select-safe-coding-system):
9829 Handle the case of FROM being a string correctly. (Bug#14755)
9830
9831 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9832
9833 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9834 progression on degenerate tables.
9835 (shr-rescale-image): ImageMagick animated images currently don't work.
9836
9837 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9838
9839 Some fixes and improvements for desktop frame restoration.
9840 It is still experimental and disabled by default.
9841 * desktop.el (desktop--save-windows): Put the selected frame at
9842 the head of the list.
9843 (desktop--make-full-frame): New function.
9844 (desktop--restore-windows): Try to re-select the frame that was
9845 selected upon saving. Do not abort if some frames fail to restore,
9846 just show an error message and continue. Set up maximized frames
9847 so they have default non-maximized dimensions.
9848
9849 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9850
9851 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9852 Don't start heredoc inside a string or comment.
9853
9854 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9855
9856 * bindings.el (visual-order-cursor-movement): New defcustom.
9857 (right-char, left-char): Provide visual-order cursor motion by
9858 calling move-point-visually. Update the doc strings.
9859
9860 2013-06-28 Kenichi Handa <handa@gnu.org>
9861
9862 * international/mule.el (define-coding-system): New coding system
9863 properties :inhibit-null-byte-detection,
9864 :inhibit-iso-escape-detection, and :prefer-utf-8.
9865 (set-buffer-file-coding-system): If :charset-list property of
9866 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9867 appropriate for setting.
9868
9869 * international/mule-cmds.el (select-safe-coding-system):
9870 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9871 multibyte characters, return utf-8 (or one of its siblings).
9872
9873 * international/mule-conf.el (prefer-utf-8): New coding system.
9874 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9875 files.
9876
9877 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9878
9879 * net/shr.el (shr-render-region): New function.
9880
9881 * net/eww.el: Autoload `eww-browse-url'.
9882
9883 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9884
9885 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9886 Adapt to `package-desc-version' being a list.
9887 Use `package--ac-desc-version' to retrieve version from a package
9888 archive element.
9889
9890 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9891
9892 New experimental feature to save&restore window and frame setup.
9893 * desktop.el (desktop-save-windows): New defcustom.
9894 (desktop--saved-states): New var.
9895 (desktop--excluded-frame-parameters): New defconst.
9896 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9897 (desktop--restore-windows, desktop--save-windows): New functions.
9898 (desktop-save): Call `desktop--save-windows'.
9899 (desktop-read): Call `desktop--restore-windows'.
9900
9901 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9902
9903 * net/shr.el (add-face-text-property): Remove compat definition.
9904
9905 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9906
9907 * info.el (Info-try-follow-nearest-node): Move search for footnote
9908 above search for node name to prevent missing a footnote (bug#14717).
9909
9910 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9911
9912 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9913
9914 2013-06-27 Leo Liu <sdl.web@gmail.com>
9915
9916 * net/eww.el (eww-read-bookmarks): Check file size.
9917
9918 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9921 advice--pending if newdef is nil or an autoload (bug#13820).
9922 (advice-mapc): New function.
9923
9924 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9925
9926 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9927 probably.
9928 (eww-mode-map): Add a menu bar.
9929 (eww-add-bookmark): New command.
9930 (eww-bookmark-mode): New mode and commands.
9931 (eww-add-bookmark): Remove newlines from the title.
9932 (eww-bookmark-browse): Don't bug out if it's the only window.
9933
9934 2013-06-26 Glenn Morris <rgm@gnu.org>
9935
9936 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9937 (hfy-size): Handle ttys. (Bug#14668)
9938
9939 * info-xref.el: Update for Texinfo 5 change in *note format.
9940 (info-xref-node-re, info-xref-note-re): New constants.
9941 (info-xref-check-buffer): Use info-xref-note-re.
9942
9943 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9944
9945 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9946
9947 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9948 nil terminate the loop (bug#14718).
9949
9950 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9951
9952 * net/eww.el: Rework history traversal. When going forward/back,
9953 put these actions into the history, too, so that they can be
9954 replayed.
9955 (eww-render): Move the history reset to the correct buffer.
9956
9957 2013-06-25 Juri Linkov <juri@jurta.org>
9958
9959 * files-x.el (modify-dir-local-variable): Change the header comment
9960 in the file with directory local variables. (Bug#14692)
9961
9962 * files-x.el (read-file-local-variable-value): Add `default'.
9963 (Bug#14710)
9964
9965 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9966
9967 * net/eww.el (eww-make-unique-file-name): Create a unique file
9968 name before saving to entering `y' accidentally asynchronously.
9969
9970 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9971
9972 * net/eww.el (eww-download): New command and keystroke.
9973
9974 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9975
9976 * net/eww.el (eww-copy-page-url): Change name of command.
9977
9978 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9979 be more consistent with Info and dired.
9980
9981 * net/eww.el (eww-mode-map): Ditto.
9982
9983 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9986 packages from archives.
9987 (package-archive-contents): Change format; include obsolete packages.
9988 (package-desc): Use `dir' to mark builtin packages.
9989 (package--from-builtin): Set the `dir' field to `builtin'.
9990 (generated-autoload-file, version-control): Declare.
9991 (package-compute-transaction): Change first arg and return value to be
9992 lists of package-descs. Adjust to new package-archive-contents format.
9993 (package--add-to-archive-contents): Adjust to new
9994 package-archive-contents format.
9995 (package-download-transaction): Arg is now a list of package-descs.
9996 (package-install): If `pkg' is a package name, pass it as
9997 a requirement, so it is subject to the usual (e.g. disabled) checks.
9998 (describe-package): Accept package-desc as well.
9999 (describe-package-1): Describe a specific package-desc. Add links to
10000 other package-descs for the same package name.
10001 (package-menu-describe-package): Pass the actual package-desc.
10002 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10003 works correctly.
10004 (package-desc-status): New function.
10005 (package-menu--refresh): New function, extracted
10006 from package-menu--generate.
10007 (package-menu--generate): Use it.
10008 (package-delete): Update package-alist.
10009 (package-menu-execute): Don't call package-initialize.
10010
10011 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10012 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10013 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10014 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10015 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10016 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10017
10018 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10019
10020 * window.el (window--state-get-1): Workaround for bug#14527.
10021 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10022
10023 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10024
10025 * net/eww.el (eww-back-url): Implement the history by stashing all
10026 the data into a list.
10027 (eww-forward-url): Allow going forward in the history, too.
10028
10029 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10030
10031 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10032 for values and use read--expression for expressions (bug#14710).
10033 (read-file-local-variable): Avoid setq.
10034 (read-file-local-variable-mode): Use minor-mode-list.
10035
10036 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10037
10038 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10039 for DOI URLs.
10040
10041 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10042
10043 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10044 Update imenu-support when dialect changes.
10045
10046 2013-06-25 Leo Liu <sdl.web@gmail.com>
10047
10048 * ido.el (ido-read-internal): Allow forward slash on windows.
10049
10050 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10051
10052 * net/eww.el (eww): Start of strings is \\`, not ^.
10053
10054 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10055
10056 * net/shr.el (shr-browse-url): Fix interactive spec.
10057
10058 * net/eww.el (eww): Add a trailing slash to domain names.
10059
10060 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10061
10062 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10063
10064 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10065
10066 * net/shr.el (shr-browse-url): Use an external browser if given a
10067 prefix.
10068
10069 * net/eww.el (eww-external-browser): Move to shr.
10070
10071 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10072
10073 * net/eww.el (eww): Work more correctly for file: URLs.
10074 (eww-detect-charset): Allow quoted charsets.
10075 (eww-yank-page-url): New command and keystroke.
10076
10077 2013-06-24 Daiki Ueno <ueno@gnu.org>
10078
10079 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10080 file name of gpg executable.
10081 (epg-context-program): New function.
10082 (epg-context-home-directory): New function.
10083 (epg-context-set-program): New function.
10084 (epg-context-set-home-directory): New function.
10085 (epg--start): Use `epg-context-program' instead of
10086 'epg-gpg-program'.
10087 (epg--list-keys-1): Likewise.
10088
10089 2013-06-24 Leo Liu <sdl.web@gmail.com>
10090
10091 * ido.el (ido-read-internal): Fix bug#14620.
10092
10093 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10094
10095 * faces.el (face-documentation): Simplify.
10096 (read-face-attribute, tty-find-type, x-resolve-font-name):
10097 Use `string-match-p'.
10098 (list-faces-display): Use `string-match-p'. Simplify.
10099 (face-spec-recalc): Check face to avoid face alias loops.
10100 (read-color): Use `string-match-p' and non-capturing parenthesis.
10101
10102 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10103
10104 * net/shr.el (shr-rescale-image): Use the new
10105 :max-width/:max-height functionality.
10106
10107 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10108
10109 * net/eww.el (eww-search-prefix): New variable.
10110 (eww): Use it.
10111 (eww-external-browser): New variable.
10112 (eww-mode-map): New keystroke.
10113 (eww-browse-with-external-browser): New command.
10114
10115 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10116
10117 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10118
10119 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10120 Don't skip aligning the next header field when padding is 0;
10121 otherwise, field width is not respected unless the title is as
10122 wide as the field.
10123
10124 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * emacs-lisp/package.el (package-el-version): Remove.
10127 (package-process-define-package): Fix inf-loop.
10128 (package-install): Allow symbols as arguments again.
10129
10130 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10131
10132 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10133 add some more keyword-like methods.
10134 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10135
10136 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10137
10138 * bs.el (bs-buffer-show-mark): Make defvar-local.
10139 (bs-mode): Use setq-local.
10140
10141 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10142 (emacs-lock--try-unlocking): Make defvar-local.
10143
10144 2013-06-22 Glenn Morris <rgm@gnu.org>
10145
10146 * play/cookie1.el (cookie-apropos): Minor simplification.
10147
10148 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10149
10150 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10151
10152 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10153 `regexp-opt', it breaks the build during dumping.
10154
10155 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10156
10157 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10158 Highlight keyword-like methods on Kernel and Module with
10159 font-lock-builtin-face.
10160 (auto-mode-alist): Consolidate different entries into one regexp
10161 and add more *file-s.
10162
10163 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10164
10165 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10166
10167 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10168 (diary-entry): Use it in the action of this button type instead of
10169 diary-goto-entry.
10170
10171 * calendar/todo-mode.el: New version.
10172 (todo-add-category): Append new category to end of file and give
10173 it the highest number, instead of putting it at the beginning and
10174 giving it 0. Incorporate noninteractive functionality.
10175 (todo-forward-category): Adapt to 1-based category numbering.
10176 Allow skipping over archived categories.
10177 (todo-backward-category): Derive from todo-forward-category.
10178 (todo-backward-item, todo-forward-item): Make noninteractive and
10179 delegate interactive part to new commands. Make sensitive to done items.
10180 (todo-categories): Make value an alist of category names and
10181 vectors of item counts.
10182 (todo-category-beg): Make a defconst.
10183 (todo-category-number): Use 1 instead of 0 as initial value.
10184 (todo-category-select): Make sensitive to overlays, optional item
10185 highlighting and done items.
10186 (todo-delete-item): Make sensitive to overlays and marked and done items.
10187 (todo-edit-item): Make sensitive to overlays and editing of
10188 date/time header optional. Add format checks.
10189 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10190 no-op if point is not on an item. Advertise using todo-edit-quit.
10191 (todo-edit-mode): Make sensitive to new format, font-locking, and
10192 multiple todo files.
10193 (todo-insert-item, todo-insert-item-here): Derive from
10194 todo-basic-insert-item and extend functionality.
10195 (todo-item-end, todo-item-start): Make sensitive to done items.
10196 (todo-item-string): Don't return text properties. Restore point.
10197 (todo-jump-to-category): Make sensitive to multiple todo files and
10198 todo archives. Use extended category completion.
10199 (todo-lower-item, todo-raise-item): Rename to *-priority and
10200 derive from todo-set-item-priority.
10201 (todo-mode): Derive from special-mode. Make sensitive to new
10202 format, font-locking and multiple todo files. Make read-only.
10203 (todo-mode-map): Don't suppress digit keys, so they can supply
10204 prefix arguments. Add many new key bindings.
10205 (todo-prefix): Insert as an overlay instead of file text.
10206 Change semantics from diary date expression to purely visual mark.
10207 (todo-print): Rename to todo-print-buffer. Make buffer display
10208 features printable. Remove option to restrict number of items
10209 printed. Add option to print to file.
10210 (todo-print-function): Rename to todo-print-buffer-function.
10211 (todo-quit): Extend to handle exiting new todo modes.
10212 (todo-remove-item): Make sensitive to overlays.
10213 (todo-save): Extend to buffers of filtered items.
10214 (todo-show): Make sensitive to done items, multiple todo files and
10215 new todo modes. Offer to convert legacy todo file before creating
10216 first new todo file.
10217 (todo-show-priorities): Rename to todo-top-priorities.
10218 Change semantics of value 0.
10219 (todo-top-priorities): Rename to todo-filter-top-priorities,
10220 derive from todo-filter-items and extend functionality.
10221 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10222 and extend functionality to other types of filtered items.
10223 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10224 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10225 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10226 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10227 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10228 (todo-edit-mode-hook, todo-entry-prefix-function)
10229 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10230 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10231 (todo-initials, todo-insert-threshold, todo-item-string-start)
10232 (todo-line-string, todo-menu, todo-mode-hook)
10233 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10234 (todo-print-priorities, todo-remove-separator)
10235 (todo-save-top-priorities-too, todo-string-count-lines)
10236 (todo-string-multiline-p, todo-time-string-format)
10237 (todo-tmp-buffer-name): Remove.
10238 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10239 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10240 (todo-edit-category-diary-inclusion)
10241 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10242 (todo-edit-file, todo-edit-item-date-day)
10243 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10244 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10245 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10246 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10247 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10248 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10249 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10250 (todo-filter-top-priorities-multifile, todo-find-archive)
10251 (todo-find-filtered-items-file, todo-go-to-source-item)
10252 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10253 (todo-jump-to-archive-category, todo-lower-category)
10254 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10255 (todo-move-category, todo-move-item, todo-next-button)
10256 (todo-next-item, todo-padded-string, todo-powerset)
10257 (todo-previous-button, todo-previous-item)
10258 (todo-print-buffer-to-file, todo-raise-category)
10259 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10260 (todo-set-category-number, todo-set-item-priority)
10261 (todo-set-top-priorities-in-category)
10262 (todo-set-top-priorities-in-file, todo-show-categories-table)
10263 (todo-sort-categories-alphabetically-or-numerically)
10264 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10265 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10266 (todo-toggle-item-header, todo-toggle-item-highlighting)
10267 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10268 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10269 (todo-unarchive-items, todo-unmark-category): New commands.
10270 (todo-absolute-file-name, todo-add-to-buffer-list)
10271 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10272 (todo-basic-insert-item, todo-category-completions)
10273 (todo-category-number, todo-category-string-matcher-1)
10274 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10275 (todo-check-format, todo-clear-matches)
10276 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10277 (todo-current-category, todo-date-string-matcher)
10278 (todo-define-insertion-command, todo-diary-expired-matcher)
10279 (todo-diary-goto-entry, todo-diary-item-p)
10280 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10281 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10282 (todo-done-item-section-p, todo-done-separator)
10283 (todo-done-string-matcher, todo-files, todo-filter-items)
10284 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10285 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10286 (todo-insert-category-line, todo-insert-item-from-calendar)
10287 (todo-insert-sort-button, todo-insert-with-overlays)
10288 (todo-insertion-command-name, todo-insertion-key-bindings)
10289 (todo-label-to-key, todo-longest-category-name-length)
10290 (todo-make-categories-list, todo-mode-external-set)
10291 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10292 (todo-modes-set-3, todo-multiple-filter-files)
10293 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10294 (todo-read-category, todo-read-date, todo-read-dayname)
10295 (todo-read-file-name, todo-read-time)
10296 (todo-reevaluate-category-completions-files-defcustom)
10297 (todo-reevaluate-default-file-defcustom)
10298 (todo-reevaluate-filelist-defcustoms)
10299 (todo-reevaluate-filter-files-defcustom)
10300 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10301 (todo-reset-done-separator, todo-reset-done-separator-string)
10302 (todo-reset-done-string, todo-reset-global-current-todo-file)
10303 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10304 (todo-reset-prefix, todo-set-categories)
10305 (todo-set-date-from-calendar, todo-set-show-current-file)
10306 (todo-set-top-priorities, todo-short-file-name)
10307 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10308 (todo-total-item-counts, todo-update-buffer-list)
10309 (todo-update-categories-display, todo-update-categories-sexp)
10310 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10311 New functions.
10312 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10313 New major modes.
10314 (todo-categories, todo-display, todo-edit, todo-faces)
10315 (todo-filtered): New defgroups.
10316 (todo-archived-only, todo-button, todo-category-string, todo-date)
10317 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10318 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10319 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10320 (todo-add-item-if-new-category, todo-always-add-time-string)
10321 (todo-categories-align, todo-categories-archived-label)
10322 (todo-categories-category-label, todo-categories-diary-label)
10323 (todo-categories-done-label, todo-categories-number-separator)
10324 (todo-categories-todo-label, todo-categories-totals-label)
10325 (todo-category-completions-files, todo-completion-ignore-case)
10326 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10327 (todo-done-separator-string, todo-done-string)
10328 (todo-files-function, todo-filter-done-items, todo-filter-files)
10329 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10330 (todo-initial-category, todo-initial-file, todo-item-mark)
10331 (todo-legacy-date-time-regexp, todo-mode-line-function)
10332 (todo-nondiary-marker, todo-number-prefix)
10333 (todo-print-buffer-function, todo-show-current-file)
10334 (todo-show-done-only, todo-show-first, todo-show-with-done)
10335 (todo-skip-archived-categories, todo-top-priorities-overrides)
10336 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10337 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10338 New defcustoms.
10339 (todo-category-done, todo-date-pattern, todo-date-string-start)
10340 (todo-diary-items-buffer, todo-done-string-start)
10341 (todo-filtered-items-buffer, todo-item-start)
10342 (todo-month-abbrev-array, todo-month-name-array)
10343 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10344 (todo-top-priorities-buffer): New defconsts.
10345 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10346 (todo-categories-with-marks, todo-category-string-face)
10347 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10348 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10349 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10350 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10351 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10352 (todo-font-lock-keywords, todo-global-current-todo-file)
10353 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10354 (todo-insertion-commands-args)
10355 (todo-insertion-commands-args-genlist)
10356 (todo-insertion-commands-names, todo-insertion-map)
10357 (todo-key-bindings-t, todo-key-bindings-t+a)
10358 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10359 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10360 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10361 (todo-visited): New variables.
10362
10363 2013-06-21 Glenn Morris <rgm@gnu.org>
10364
10365 * play/cookie1.el (cookie-apropos): Add optional display argument.
10366 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10367 (psychoanalyze-pinhead): Use cookie-doctor.
10368
10369 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10370
10371 * emacs-lisp/package.el (tar-get-file-descriptor)
10372 (tar--extract): Declare.
10373
10374 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10375
10376 Extend flymake's warning predicate to be a function (bug#14217).
10377 * progmodes/flymake.el (flymake-warning-predicate): New.
10378 (flymake-parse-line): Use it.
10379 (flymake-warning-re): Make obsolete alias to
10380 `flymake-warning-predicate'.
10381
10382 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10385 (package-obsolete-list): Remove.
10386 (package-activate): Remove min-version argument. Add `force' argument.
10387 Adjust to new package-alist format.
10388 (package-mark-obsolete): Remove.
10389 (package-unpack): Force reload of the package's autoloads.
10390 (package-installed-p): Check builtins if the installed package is not
10391 recent enough.
10392 (package-initialize): Don't reset package-obsolete-list.
10393 Don't specify which package version to activate.
10394 (package-process-define-package, describe-package-1)
10395 (package-menu--generate): Adjust to new package-alist format.
10396
10397 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10398
10399 * allout-widgets.el (allout-widgets-mode-off)
10400 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10401 (allout-widgets-post-command-business)
10402 (allout-widgets-after-copy-or-kill-function)
10403 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10404 (allout-decorate-item-and-context)
10405 (allout-graphics-modification-handler): Fix typos in docstrings.
10406 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10407
10408 * cmuscheme.el (scheme-start-file): Doc fix.
10409 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10410 (scheme-input-filter): Use `string-match-p'.
10411
10412 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10413
10414 * dired-x.el: Use Dired consistently in docstrings.
10415
10416 * dired.el: Use Dired consistently in docstrings.
10417 (dired-readin, dired-mode): Use `setq-local'.
10418 (dired-switches-alist): Make defvar-local.
10419 (dired-buffers-for-dir): Use `zerop'.
10420 (dired-safe-switches-p, dired-switches-escape-p)
10421 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10422 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10423 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10424 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10425 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10426 (dired-toggle-marks, dired-mark-files-containing-regexp)
10427 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10428 (dired-flag-auto-save-files, dired-flag-backup-files):
10429 Use `looking-at-p'.
10430 (dired-mark-files-regexp, dired-build-subdir-alist):
10431 Use `string-match-p', `looking-at-p'.
10432
10433 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10434 (direct-print-region-helper): Use `string-match-p'.
10435
10436 2013-06-21 Leo Liu <sdl.web@gmail.com>
10437
10438 * comint.el (comint-redirect-results-list-from-process):
10439 Fix infinite loop.
10440
10441 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10442
10443 * net/eww.el (eww-update-header-line-format): Quote % characters.
10444
10445 2013-06-21 Glenn Morris <rgm@gnu.org>
10446
10447 * play/cookie1.el (cookie): New custom group.
10448 (cookie-file): New option.
10449 (cookie-check-file): New function.
10450 (cookie): Make it interactive. Make start and end messages optional.
10451 Interactively, display the result. Default to cookie-file.
10452 (cookie-insert): Default to cookie-file.
10453 (cookie-snarf): Make start and end messages optional.
10454 Default to cookie-file. Use with-temp-buffer.
10455 (cookie-read): Rename from read-cookie.
10456 Make start and end messages optional. Default to cookie-file.
10457 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10458 Do not autoload it.
10459 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10460 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10461
10462 2013-06-21 Leo Liu <sdl.web@gmail.com>
10463
10464 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10465
10466 2013-06-21 Glenn Morris <rgm@gnu.org>
10467
10468 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10469
10470 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10471 Daniel Hackney <dan@haxney.org>
10472
10473 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10474 Consolidate the single-file vs tarball code.
10475 (package-desc-suffix): New function.
10476 (package-desc-full-name): Don't bother inlining it.
10477 (package-load-descriptor): Return the new package-desc.
10478 (package-mark-obsolete): Remove unused arg `package'.
10479 (package-unpack): Make it work for single files as well.
10480 Make it update package-alist.
10481 (package--make-autoloads-and-stuff): Rename from
10482 package--make-autoloads-and-compile. Don't compile any more.
10483 (package--compile): New function.
10484 (package-generate-description-file): New function, extracted from
10485 package-unpack-single.
10486 (package-unpack-single): Remove.
10487 (package--with-work-buffer): Add indentation and debugging info.
10488 (package-download-single): Remove.
10489 (package-install-from-archive): Rename from package-download-tar, make
10490 it take a pkg-desc, and make it work for single files as well.
10491 (package-download-transaction): Simplify.
10492 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10493 external tar program.
10494 (package-install-from-buffer): Remove `pkg-desc' argument.
10495 Use package-tar-file-info for tar-mode buffers.
10496 (package-install-file): Simplify accordingly.
10497 (package-archive-base): Change to take a pkg-desc.
10498 * tar-mode.el (tar--check-descriptor): New function, extracted from
10499 tar-get-descriptor.
10500 (tar-get-descriptor): Use it.
10501 (tar-get-file-descriptor): New function.
10502 (tar--extract): New function, extracted from tar-extract.
10503 (tar--extract): Use it.
10504 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10505 case the summary uses non-ascii. Adjust to new calling convention of
10506 package-tar-file-info.
10507
10508 2013-06-21 Leo Liu <sdl.web@gmail.com>
10509
10510 * comint.el (comint-redirect-results-list-from-process):
10511 Fix random delay. (Bug#14681)
10512
10513 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10514
10515 * profiler.el (profiler-format-number): Use log, not log10.
10516
10517 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10518
10519 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10520
10521 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10524 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10525 yet available.
10526 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10527 (AUTOGENEL): ... here.
10528 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10529 (cl--defsubst-expand): Use it.
10530
10531 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10532
10533 * subr.el (log10): Move here from C code, and declare as obsolete.
10534 All uses of (log10 X) replaced with (log X 10).
10535
10536 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10537
10538 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10539 Declare with `defvar-local'.
10540 (tabulated-list-use-header-line, tabulated-list-entries)
10541 (tabulated-list-padding, tabulated-list-printer)
10542 (tabulated-list-sort-key): Declare with `defvar-local'.
10543 (tabulated-list-init-header, tabulated-list-print-fake-header):
10544 Use `setq-local'.
10545
10546 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10547
10548 * arc-mode.el (archive-mode): Add `archive-write-file' to
10549 `write-contents-functions' also for remote files. (Bug#14652)
10550
10551 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10552
10553 * cus-edit.el (custom-commands): Fix typos.
10554 (custom-display): Fix tooltip text.
10555 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10556 Fix typos in docstrings.
10557 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10558 (custom-unlispify-menu-entry, custom-magic-value-create)
10559 (custom-add-see-also, custom-group-value-create): Use ?\s.
10560 (custom-guess-type, customize-apropos, editable-field)
10561 (custom-face-value-create): Use `string-match-p'.
10562 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10563
10564 * custom.el (custom-load-symbol): Use `string-match-p'.
10565
10566 * ansi-color.el: Convert to lexical binding.
10567 (ansi-colors): Fix URL.
10568 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10569 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10570 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10571
10572 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573
10574 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10575
10576 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10577
10578 2013-06-19 Tom Tromey <tromey@redhat.com>
10579
10580 * net/eww.el (eww-top-url): Remove.
10581 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10582 (eww-render): Set new variables. Don't set eww-top-url.
10583 (eww-handle-link): Handle "prev", "home", and "contents".
10584 Downcase the rel text.
10585 (eww-top-url): Choose best top URL.
10586
10587 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10588
10589 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10590 relying in widget.el. Using widget.el leads to too many
10591 user interface inconsistencies.
10592 (eww-self-insert): Implement entering commands in text fields.
10593 (eww-process-text-input): New function to make text input field editing
10594 work.
10595 (eww-submit): Rewrite to use the new-style form methods.
10596 (eww-select-display): Display the correct selected item.
10597 (eww-change-select): Implement changing the select value.
10598 (eww-toggle-checkbox): Implement radio/checkboxes.
10599 (eww-update-field): Fix compilation error.
10600 (eww-tag-textarea): Implement <textarea>.
10601
10602 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10603 we don't shadow mode-specific bindings.
10604
10605 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10606 nothing to push.
10607
10608 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10609
10610 2013-06-19 Glenn Morris <rgm@gnu.org>
10611
10612 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10613
10614 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10615
10616 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10617 not needed.
10618
10619 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10620
10621 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10622
10623 * net/browse-url.el (browse-url-browser-function):
10624 `eww-browse-url' has the right calling signature, `eww' does not.
10625
10626 2013-06-19 Glenn Morris <rgm@gnu.org>
10627
10628 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10629 Only eval autoloaded macros.
10630 (byte-compile-autoload): Only give the macro warning for macros.
10631
10632 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10633 (ps-underlined-faces): Declare.
10634
10635 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10636 (speedbar-add-supported-extension): Declare.
10637
10638 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10639 Don't include a date stamp in the header of the generated file;
10640 it leads to needless differences between output files.
10641
10642 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10643
10644 * net/secrets.el (secrets-struct-secret-content-type):
10645 Replace check of introspection data by a test call of "CreateItem".
10646 Some servers do not offer introspection.
10647
10648 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * electric.el (electric-pair-mode): Improve interaction with
10651 electric-layout-mode.
10652 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10653 (electric-pair-syntax): Use text-mode-syntax-table in comments
10654 and strings.
10655 (electric-pair--insert): New function.
10656 (electric-pair-post-self-insert-function): Use it and
10657 electric--after-char-pos.
10658
10659 2013-06-19 Leo Liu <sdl.web@gmail.com>
10660
10661 * progmodes/octave.el (octave-help): Fix regexp.
10662
10663 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10664
10665 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10666 (shr-table-horizontal-line): Allow nil as a value, and change the
10667 default.
10668 (shr-insert-table-ruler): Respect the nil value.
10669
10670 2013-06-18 Tom Tromey <tromey@barimba>
10671
10672 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10673 New defvars.
10674 (eww-open-file): New defun.
10675 (eww-render): Initialize new variables.
10676 (eww-display-html): Handle "link" and "a".
10677 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10678 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10679 (eww-back-url): Rename from eww-previous-url.
10680 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10681 New defuns.
10682
10683 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10684
10685 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10686 Distinguish ternary operator tokens from slash symbol and slash
10687 char literal.
10688
10689 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10690
10691 Convert symbol prettification into minor mode and global minor mode.
10692
10693 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10694 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10695 (prettify-symbols--keywords): Rename from
10696 `prog-prettify-symbols-alist' and make a local defvar.
10697 (prettify-symbols--compose-symbol): Rename from
10698 `prog--prettify-font-lock-compose-symbol'.
10699 (prettify-symbols--make-keywords): Rename from
10700 `prog-prettify-font-lock-symbols-keywords' and simplify.
10701 (prog-prettify-install): Remove.
10702 (prettify-symbols-mode): New minor mode, based on
10703 `prog-prettify-install'.
10704 (turn-on-prettify-symbols-mode): New function.
10705 (global-prettify-symbols-mode): New globalized minor mode.
10706
10707 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10708 * progmodes/cfengine.el (cfengine3-mode):
10709 * progmodes/perl-mode.el (perl-mode): Don't call
10710 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10711
10712 2013-06-18 Juri Linkov <juri@jurta.org>
10713
10714 * files-x.el (modify-file-local-variable-message): New function.
10715 (modify-file-local-variable)
10716 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10717 and call `modify-file-local-variable-message' when it's non-nil.
10718 (add-file-local-variable, delete-file-local-variable)
10719 (add-file-local-variable-prop-line)
10720 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10721 and use it. (Bug#9820)
10722
10723 2013-06-18 Juri Linkov <juri@jurta.org>
10724
10725 * emulation/vi.el (vi-shell-op):
10726 * emulation/vip.el (vip-execute-com, ex-command):
10727 * emulation/viper-cmd.el (viper-exec-bang):
10728 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10729 the call of `shell-command-on-region'. (Bug#14637)
10730
10731 * simple.el (shell-command-on-region): Doc fix.
10732
10733 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10734
10735 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10736 (bug#14633).
10737
10738 2013-06-18 Glenn Morris <rgm@gnu.org>
10739
10740 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10741
10742 * newcomment.el (comment-search-forward, comment-search-backward):
10743 Doc fix. (Bug#14376)
10744
10745 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10746
10747 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10748 (buffer-face-mode-invoke): Doc fix.
10749
10750 2013-06-18 Matthias Meulien <orontee@gmail.com>
10751
10752 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10753 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10754
10755 2013-06-18 Glenn Morris <rgm@gnu.org>
10756
10757 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10758 Replace obsolete function generic-make-keywords with its expansion.
10759
10760 * progmodes/python.el (ffap-alist): Declare.
10761
10762 * textmodes/reftex.el (bibtex-mode-map): Declare.
10763
10764 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10765
10766 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10767 (package-unpack, package-unpack-single): Return the pkg-dir.
10768 (package-download-transaction): Use it to update package-alist.
10769
10770 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10771
10772 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10773 possible choice.
10774
10775 2013-06-17 Juri Linkov <juri@jurta.org>
10776
10777 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10778
10779 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10780
10781 * emacs-lisp/package.el (package-load-descriptor):
10782 Remove `with-syntax-table' call, `read' doesn't need it.
10783 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10784
10785 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * startup.el (command-line): Expand package name returned by
10788 `package--description-file' (bug#14639).
10789
10790 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10791
10792 * emacs-lisp/package.el (package-load-descriptor): Do not call
10793 `emacs-lisp-mode', just use its syntax table.
10794
10795 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10798 `font-lock-extra-managed-props' if any prettifying keyword is added.
10799 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10800 (prog-mode): Use `setq-local'.
10801
10802 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10803
10804 * international/characters.el (standard-case-table): Set syntax of ?»
10805 and ?« to punctuation.
10806
10807 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10808
10809 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10810 Save relevant match data before calling `syntax-ppss' (bug#14595).
10811
10812 2013-06-15 Juri Linkov <juri@jurta.org>
10813
10814 * files-x.el (modify-file-local-variable-prop-line): Add local
10815 variables to the end of the existing comment on the first line.
10816 Use `file-auto-mode-skip' to skip interpreter magic line,
10817 and also skip XML declaration.
10818
10819 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10820
10821 * startup.el (package--builtin-versions): New var.
10822 (package-subdirectory-regexp): Remove.
10823 (package--description-file): Hard code its value instead.
10824
10825 * emacs-lisp/package.el: Don't activate packages older than builtin.
10826 (package-obsolete-list): Rename from package-obsolete-alist, and make
10827 it into a simple list of package-desc.
10828 (package-strip-version): Remove.
10829 (package-built-in-p): Use package--builtin-versions.
10830 (package-mark-obsolete): Simplify.
10831 (package-process-define-package): Mark it obsolete if older than the
10832 builtin version.
10833 (package-handle-response): Use line-end-position.
10834 (package-read-archive-contents, package--download-one-archive):
10835 Simplify.
10836 (package--add-to-archive-contents): Skip if older than the builtin or
10837 installed version.
10838 (package-menu-describe-package): Fix last change.
10839 (package-list-unversioned): New var.
10840 (package-menu--generate): Use it.
10841
10842 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10843 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10844 (autoload-builtin-package-versions): New variable.
10845 (autoload-generate-file-autoloads): Use them.
10846 Remove the list of autoloaded functions/macros from the
10847 (autoload...) comments.
10848
10849 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10850
10851 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10852
10853 * simple.el (line-move-partial): Don't jump to the next screen
10854 line as soon as it becomes visible. Instead, continue enlarging
10855 the vscroll until the portion of a tall screen line that's left on
10856 display is about the height of the frame's default font.
10857 (Bug#14567)
10858
10859 2013-06-15 Glenn Morris <rgm@gnu.org>
10860
10861 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10862 compilation-error-regexp-alist void, or local while let-bound.
10863
10864 * progmodes/make-mode.el (makefile-mode-syntax-table):
10865 Treat "=" as punctuation. (Bug#14614)
10866
10867 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10868
10869 * help-fns.el (describe-variable):
10870 Add extra line for permanent-local variables.
10871
10872 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10873
10874 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10875 Add export, import, library. (Bug#9164)
10876 (library): Set indent function.
10877
10878 2013-06-14 Glenn Morris <rgm@gnu.org>
10879
10880 * term/xterm.el (xterm--query):
10881 Stop after first matching handler. (Bug#14615)
10882
10883 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10884
10885 Add support for dired in saveplace.
10886 * dired.el (dired-initial-position-hook): New variable.
10887 (dired-initial-position): Call hook to place cursor position.
10888 * saveplace.el (save-place-to-alist): Add dired position.
10889 (save-place-dired-hook): New function.
10890
10891 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10892
10893 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10894 through a symbol rather than letrec.
10895
10896 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10897 (package-desc): Add `dir' field.
10898 (package-desc-full-name): New function.
10899 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10900 (package-maybe-load-descriptor): Remove.
10901 (package-load-all-descriptors): Just call package-load-descriptor.
10902 (package--disabled-p): New function.
10903 (package-desc-vers, package-desc-doc): Remove aliases.
10904 (package--dir): Remove function.
10905 (package-activate): Check if a package is disabled.
10906 (package-process-define-package): New function, extracted from
10907 define-package.
10908 (define-package): Turn into a place holder.
10909 (package-unpack-single, package-tar-file-info):
10910 Use package--description-file.
10911 (package-compute-transaction): Use package--disabled-p.
10912 (package-download-transaction): Don't call
10913 package-maybe-load-descriptor since they're all loaded anyway.
10914 (package-install): Change argument to be a pkg-desc.
10915 (package-delete): Use a single pkg-desc argument.
10916 (describe-package-1): Use package-desc-dir instead of package--dir.
10917 Use package-desc property instead of package-symbol.
10918 (package-install-button-action): Adjust accordingly.
10919 (package--push): Rewrite.
10920 (package-menu--print-info): Adjust accordingly. Change the ID format
10921 to be a pkg-desc.
10922 (package-menu-describe-package, package-menu-get-status)
10923 (package-menu--find-upgrades, package-menu-mark-upgrades)
10924 (package-menu-execute, package-menu--name-predicate):
10925 Adjust accordingly.
10926 * startup.el (package--description-file): New function.
10927 (command-line): Use it.
10928 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10929 Use package-desc-version.
10930
10931 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10932 (byte-compile-preprocess): Use it.
10933 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10934 can't quite recognize.
10935 (byte-compile-add-to-list): Remove.
10936 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10937 (cconv-closure-convert): Add assertion.
10938
10939 * emacs-lisp/map-ynp.el: Use lexical-binding.
10940 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10941 Factor out some repeated code.
10942
10943 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * subr.el (with-eval-after-load): New macro.
10946 (eval-after-load): Allow form to be a function.
10947 take advantage of lexical-binding.
10948 (do-after-load-evaluation): Use dolist and adjust to new format.
10949 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10950
10951 2013-06-13 Juri Linkov <juri@jurta.org>
10952
10953 * replace.el (perform-replace): Display "symbol " and other search
10954 modes from `isearch-message-prefix' in the *Help* buffer.
10955
10956 * isearch.el (isearch-query-replace): Add " symbol" and other
10957 possible search modes from `isearch-message-prefix' to the prompt.
10958 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10959 when reading a regexp to collect.
10960
10961 2013-06-13 Juri Linkov <juri@jurta.org>
10962
10963 * isearch.el (word-search-regexp): Match whitespace if the search
10964 string begins or ends in whitespace. The LAX arg is applied to
10965 both ends of the search string. Use `regexp-quote' and explicit
10966 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10967 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10968 boundaries are replaced with symbol boundaries, and characters
10969 between symbols match non-word non-symbol syntax. (Bug#14602)
10970
10971 2013-06-13 Juri Linkov <juri@jurta.org>
10972
10973 * isearch.el (isearch-del-char): Don't exceed the length of
10974 `isearch-string' by the prefix arg. (Bug#14563)
10975
10976 2013-06-13 Juri Linkov <juri@jurta.org>
10977
10978 * isearch.el (isearch-yank-word, isearch-yank-line)
10979 (isearch-char-by-name, isearch-quote-char)
10980 (isearch-printing-char, isearch-process-search-char):
10981 Add optional count prefix arg. (Bug#14563)
10982
10983 * international/isearch-x.el
10984 (isearch-process-search-multibyte-characters):
10985 Add optional count prefix arg.
10986
10987 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10990 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10991 lexical-binding.
10992
10993 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10994
10995 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10996
10997 2013-06-13 Glenn Morris <rgm@gnu.org>
10998
10999 * startup.el (tty-handle-args):
11000 Don't just discard "--" and anything after. (Bug#14608)
11001
11002 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11003
11004 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11005
11006 Implement changes in Secret Service API. Make it backward compatible.
11007 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11008 (secrets-create-item): Use it. Prefix properties with interface.
11009
11010 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11011
11012 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11013 (term-emulate-terminal): Respect term-suppress-hard-newline.
11014
11015 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11016
11017 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11018 Only remove a `thumb-file' overlay. (Bug#14548)
11019
11020 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11021
11022 * mail/reporter.el (reporter-submit-bug-report):
11023 Handle missing package-name. (Bug#14600)
11024
11025 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11026
11027 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11028 (reftex-citation-prompt, reftex-default-bibliography)
11029 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11030 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11031 (reftex-bib-sort-author, reftex-bib-sort-year)
11032 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11033 (reftex-extract-bib-entries-from-thebibliography)
11034 (reftex-get-bibkey-default, reftex-get-bib-names)
11035 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11036 (reftex-format-bib-entry, reftex-parse-bibitem)
11037 (reftex-format-bibitem, reftex-do-citation)
11038 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11039 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11040 (reftex-insert-bib-matches, reftex-format-citation)
11041 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11042 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11043 existing comments into docstrings.
11044
11045 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11046
11047 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11048
11049 2013-06-12 Andreas Schwab <schwab@suse.de>
11050
11051 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11052 for auto-save files.
11053
11054 2013-06-12 Glenn Morris <rgm@gnu.org>
11055
11056 * ido.el (ido-delete-ignored-files): Remove.
11057 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11058 Go back to calling ido-ignore-item-p directly.
11059
11060 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11061
11062 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11063
11064 * ido.el (ido-delete-ignored-files): New function,
11065 split from ido-make-file-list-1.
11066 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11067 (ido-make-file-list-1): Use ido-delete-ignored-files.
11068
11069 2013-06-12 Leo Liu <sdl.web@gmail.com>
11070
11071 * progmodes/octave.el (inferior-octave-startup)
11072 (inferior-octave-completion-table)
11073 (inferior-octave-track-window-width-change)
11074 (octave-eldoc-function-signatures, octave-help)
11075 (octave-find-definition): Use single quoted strings.
11076 (inferior-octave-startup-args): Change default value.
11077 (inferior-octave-startup): Do not hard code "-i" and
11078 "--no-line-editing".
11079 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11080 (inferior-octave-directory-tracker): Use it.
11081 (octave-goto-function-definition): Robustify.
11082 (octave-help): Support highlighting operators in 'See also'.
11083 (octave-find-definition): Find subfunctions only in Octave mode.
11084
11085 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * help-fns.el (help-fns--compiler-macro): If the handler function is
11088 named, then put a link to it.
11089 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11090 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11091 (cl-typep): Use it.
11092 (cl-eval-when): Simplify debug spec.
11093 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11094 compiler-macro function instead of setting `compiler-macro-file'.
11095
11096 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11097
11098 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11099 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11100
11101 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11102 Daniel Hackney <dan@haxney.org>
11103
11104 First part of Daniel Hackney's patch to package.el.
11105 * emacs-lisp/package.el: Use defstruct.
11106 (package-desc): New, main struct.
11107 (package--bi-desc, package--ac-desc): New structs, used to describe the
11108 format in external files.
11109 (package-desc-vers): Replace with package-desc-version accessor.
11110 (package-desc-doc): Replace with package-desc-summary accessor.
11111 (package-activate-1): Remove `package' arg since the pkg-vec now
11112 includes the name.
11113 (define-package): Use package-desc-from-define.
11114 (package-unpack-single): Change file-name arg to be a symbol.
11115 (package--add-to-archive-contents): Use package-desc-create and new
11116 accessor functions to package--ac-desc.
11117 (package-buffer-info, package-tar-file-info): Return a package-desc.
11118 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11119 arg to be a package-desc.
11120 (package-install-file): Adjust accordingly. Use \' to match EOS.
11121 (package--from-builtin): New function.
11122 (describe-package-1, package-menu--generate): Use it.
11123 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11124 (package-generate-autoloads): Idem and return the name of the file.
11125 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11126 Change pkg-info arg to be a package-desc.
11127 Use package-make-ac-desc.
11128 (package-upload-file): Use \' to match EOS.
11129 * finder.el (finder-compile-keywords): Use package-make-builtin.
11130
11131 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11132
11133 * vc/vc.el (vc-deduce-fileset): Change error message.
11134 (vc-read-backend): New function.
11135 (vc-next-action): Use it.
11136
11137 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11138
11139 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11140 (prolog-font-lock-keywords): Use regexp-opt instead.
11141 Don't manually highlight strings.
11142 (prolog-mode-variables): Simplify comment-start-skip.
11143 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11144
11145 * emacs-lisp/generic.el (generic--normalise-comments)
11146 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11147 (generic-mode-set-comments): Use them.
11148 (generic-bracket-support): Use setq-local.
11149 (generic-make-keywords-list): Declare obsolete.
11150
11151 2013-06-11 Glenn Morris <rgm@gnu.org>
11152
11153 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11154 Prettify after setting font-lock-defaults. (Bug#14574)
11155
11156 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11157
11158 * replace.el (query-replace, occur-read-regexp-defaults-function)
11159 (replace-search):
11160 * subr.el (declare-function, number-sequence, local-set-key)
11161 (substitute-key-definition, locate-user-emacs-file)
11162 (with-silent-modifications, split-string, eval-after-load):
11163 Fix typos, remove unneeded backslashes and reflow some docstrings.
11164
11165 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11166
11167 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11168 default for Elisp files.
11169
11170 2013-06-11 Glenn Morris <rgm@gnu.org>
11171
11172 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11173 although define-derived-mode was doing this anyway. (Bug#14583)
11174
11175 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11176
11177 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11178 Fix make-variable-buffer-local call to refer to the correct variable.
11179
11180 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11181
11182 * eshell/em-term.el (eshell-visual-commands)
11183 (eshell-visual-subcommands, eshell-visual-options):
11184 Add summary line to docstrings. Add cross-references.
11185
11186 2013-06-10 Glenn Morris <rgm@gnu.org>
11187
11188 * epa.el (epa-read-file-name): New function. (Bug#14510)
11189 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11190
11191 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11192
11193 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11194 output redirection to be ignored with visual commands.
11195
11196 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11197
11198 * eshell/em-term.el (eshell-visual-command-p): New function.
11199 (eshell-term-initialize): Move long lambda to separate function
11200 eshell-visual-command-p.
11201 * eshell/em-dirs.el (eshell-dirs-initialize):
11202 * eshell/em-script.el (eshell-script-initialize):
11203 Add missing #' to lambda.
11204
11205 2013-06-08 Leo Liu <sdl.web@gmail.com>
11206
11207 * progmodes/octave.el (octave-add-log-current-defun): New function.
11208 (octave-mode): Set add-log-current-defun-function.
11209 (octave-goto-function-definition): Do not move point if not found.
11210 (octave-find-definition): Enhance to try subfunctions first.
11211
11212 2013-06-08 Glenn Morris <rgm@gnu.org>
11213
11214 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11215 (byte-compile-backward-char, byte-compile-backward-word):
11216 Improve previous change, to handle non-explicit nil.
11217
11218 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11221 (smie--opener/closer-at-point): New function.
11222 (smie--matching-block-data): Use it. Don't match from right after an
11223 opener or right before a closer. Obey smie-blink-matching-inners.
11224 Don't signal a mismatch for repeated inners like "switch..case..case".
11225
11226 2013-06-07 Leo Liu <sdl.web@gmail.com>
11227
11228 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11229 to t. (Bug#14303)
11230 (octave-function-header-regexp): Fix. (Bug#14570)
11231 (octave-help-mode-finish-hook, octave-help-mode-finish):
11232 Remove. Just use temp-buffer-show-hook.
11233
11234 * newcomment.el (comment-search-backward): Revert last change.
11235 (Bug#14434)
11236
11237 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11238
11239 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11240
11241 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11242 through xargs, to avoid failure due to MS-Windows limitations on
11243 command-line length.
11244
11245 2013-06-06 Glenn Morris <rgm@gnu.org>
11246
11247 * font-lock.el (lisp-font-lock-keywords-2):
11248 Treat user-error like error.
11249
11250 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11251 (byte-compile-backward-char, byte-compile-backward-word):
11252 Handle explicit nil arguments. (Bug#14565)
11253
11254 2013-06-05 Alan Mackenzie <acm@muc.de>
11255
11256 * isearch.el (isearch-allow-prefix): New user option.
11257 (isearch-other-meta-char): Don't exit isearch when a prefix
11258 argument is typed whilst `isearch-allow-prefix' is non-nil.
11259 (Bug#9706)
11260
11261 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11262
11263 * autorevert.el (auto-revert-notify-handler): Use memq.
11264 Hide assertion failure.
11265
11266 * skeleton.el: Use cl-lib.
11267 (skeleton-further-elements): Use defvar-local.
11268 (skeleton-insert): Use cl-progv.
11269
11270 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11271
11272 * progmodes/prog-mode.el (prog-prettify-symbols)
11273 (prog-prettify-install): Update docstrings.
11274
11275 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11276
11277 * simple.el: Move all the prog-mode code to prog-mode.el.
11278 * progmodes/prog-mode.el: New file.
11279 * loadup.el: Add prog-mode.el.
11280
11281 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11282
11283 * simple.el (prog-prettify-symbols): Add version.
11284 (prog-prettify-install): Add convenience function to prettify symbols.
11285
11286 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11287 (perl--augmented-font-lock-keywords-1)
11288 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11289 variables and use it.
11290
11291 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11292 (cfengine3-mode): Remove unneeded variable and use it.
11293
11294 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11295 (lisp--augmented-font-lock-keywords-1)
11296 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11297 Remove unneeded variables and use it.
11298
11299 2013-06-05 João Távora <joaotavora@gmail.com>
11300
11301 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11302 to point when opening the connection. (Bug#14380)
11303
11304 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * subr.el (load-history-regexp, load-history-filename-element)
11307 (eval-after-load, after-load-functions, do-after-load-evaluation)
11308 (eval-next-after-load, display-delayed-warnings)
11309 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11310 definition of save-match-data.
11311 (overriding-local-map): Remove accidental obsolescence declaration.
11312
11313 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11314
11315 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11316
11317 Generalize symbol prettify support to prog-mode and implement it
11318 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11319 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11320 (prog--prettify-font-lock-compose-symbol)
11321 (prog-prettify-font-lock-symbols-keywords): New variables and
11322 functions to support symbol prettification.
11323 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11324 (lisp--augmented-font-lock-keywords-1)
11325 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11326 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11327 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11328 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11329 Implement prettify of -> => :: strings.
11330 * progmodes/perl-mode.el (perl-prettify-symbols)
11331 (perl--font-lock-compose-symbol)
11332 (perl--font-lock-symbols-keywords): Move to prog-mode.
11333 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11334 (perl-font-lock-keywords-1)
11335 (perl-font-lock-keywords-2): Remove explicit prettify support.
11336 (perl--augmented-font-lock-keywords)
11337 (perl--augmented-font-lock-keywords-1)
11338 (perl--augmented-font-lock-keywords-2, perl-mode):
11339 Implement prettify support.
11340
11341 2013-06-05 Leo Liu <sdl.web@gmail.com>
11342
11343 Re-implement SMIE matching block highlight using
11344 show-paren-data-function. (Bug#14395)
11345 * emacs-lisp/smie.el (smie-matching-block-highlight)
11346 (smie--highlight-matching-block-overlay)
11347 (smie--highlight-matching-block-lastpos)
11348 (smie-highlight-matching-block)
11349 (smie-highlight-matching-block-mode): Remove.
11350 (smie--matching-block-data-cache): New variable.
11351 (smie--matching-block-data): New function.
11352 (smie-setup): Use smie--matching-block-data for
11353 show-paren-data-function.
11354
11355 * progmodes/octave.el (octave-mode-menu): Fix.
11356 (octave-find-definition): Skip garbage lines.
11357
11358 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 Fix compilation error with simultaneous dynamic+lexical scoping.
11361 Add warning when a defvar appears after the first let-binding.
11362 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11363 (byte-compile-close-variables): Initialize it.
11364 (byte-compile--declare-var): New function.
11365 (byte-compile-file-form-defvar)
11366 (byte-compile-file-form-define-abbrev-table)
11367 (byte-compile-file-form-custom-declare-variable): Use it.
11368 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11369 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11370 (byte-compile-bind): Handle dynamic bindings that shadow
11371 lexical bindings.
11372 (byte-compile-unbind): Make arg non-optional.
11373 (byte-compile-let): Simplify.
11374 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11375 (cconv--analyse-function, cconv-analyse-form): Populate it.
11376 Protect byte-compile-bound-variables to limit the scope of defvars.
11377 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11378 Remove unneeded rule for `declare'.
11379
11380 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11381 so as to avoid depending on cl-adjoin at run-time.
11382 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11383
11384 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11385 (macroexp--warn-and-return): Use it.
11386
11387 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * subr.el: Convert to lexical binding.
11390 (overriding-local-map): Make obsolete.
11391 (add-to-list): Doc fix. Add compiler macro.
11392 (read-key): Swap values of local maps.
11393
11394 2013-06-05 Leo Liu <sdl.web@gmail.com>
11395
11396 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11397
11398 2013-06-04 Leo Liu <sdl.web@gmail.com>
11399
11400 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11401 (compilation-auto-jump): Suppress the "Mark set" message to give
11402 way to exit message.
11403
11404 2013-06-04 Alan Mackenzie <acm@muc.de>
11405
11406 Remove faulty optimisation from indentation calculation.
11407 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11408 search limit based on 2000 characters back from indent-point.
11409
11410 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11411
11412 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11413
11414 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * emacs-lisp/lisp.el: Use lexical-binding.
11417 (lisp--local-variables-1, lisp--local-variables): New functions.
11418 (lisp--local-variables-completion-table): New var.
11419 (lisp-completion-at-point): Use it complete let-bound vars.
11420
11421 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11422 eagerly (bug#14422).
11423
11424 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11425
11426 * autorevert.el (auto-revert-notify-enabled)
11427 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11428 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11429 (auto-revert-notify-handler): Handle also gfilenotify.
11430
11431 * subr.el (file-notify-handle-event): New defun. Replacing ...
11432 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11433 Remove.
11434
11435 2013-06-03 Juri Linkov <juri@jurta.org>
11436
11437 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11438 `M-s h .'. (Bug#14427)
11439
11440 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11441 command `hi-lock-face-symbol-at-point'.
11442 (hi-lock-face-symbol-at-point): New command.
11443 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11444 (hi-lock-menu): Add `highlight-symbol-at-point'.
11445 (hi-lock-mode): Doc fix.
11446
11447 * isearch.el (isearch-forward-symbol-at-point): New command.
11448 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11449 (isearch-highlight-regexp): Add a regexp which matches
11450 words/symbols for word/symbol mode.
11451
11452 * subr.el (find-tag-default-bounds): New function with the body
11453 mostly moved from `find-tag-default'.
11454 (find-tag-default): Move most code to `find-tag-default-bounds',
11455 call it and apply `buffer-substring-no-properties' afterwards.
11456
11457 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11458
11459 * eshell/em-term.el (eshell-term-initialize):
11460 Use `cl-intersection' rather than `intersection'.
11461
11462 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11463
11464 * vc/log-view.el: Doc fix.
11465 (log-view-mode-map): Copy keymap from `special-mode-map'.
11466
11467 2013-06-02 Eric Ludlam <zappo@gnu.org>
11468
11469 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11470 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11471 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11472 (eieio-unbound, eieio-default-superclass)
11473 (eieio--define-field-accessors, method-static, method-before)
11474 (method-primary, method-after, method-num-lists)
11475 (method-generic-before, method-generic-primary)
11476 (method-generic-after, method-num-slots)
11477 (eieio-specialized-key-to-generic-key)
11478 (eieio--check-type, class-v, class-p)
11479 (eieio-class-name, define-obsolete-function-alias)
11480 (eieio-class-parents-fast, eieio-class-children-fast)
11481 (same-class-fast-p, class-constructor, generic-p)
11482 (generic-primary-only-p, generic-primary-only-one-p)
11483 (class-option-assoc, class-option, eieio-object-p)
11484 (class-abstract-p, class-method-invocation-order)
11485 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11486 (eieio-class-un-autoload, eieio-defclass)
11487 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11488 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11489 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11490 (eieio-defgeneric-reset-generic-form)
11491 (eieio-defgeneric-form-primary-only)
11492 (eieio-defgeneric-reset-generic-form-primary-only)
11493 (eieio-defgeneric-form-primary-only-one)
11494 (eieio-defgeneric-reset-generic-form-primary-only-one)
11495 (eieio-unbind-method-implementations)
11496 (eieio--defmethod, eieio--typep)
11497 (eieio-perform-slot-validation, eieio-validate-slot-value)
11498 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11499 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11500 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11501 (eieio-slot-name-index, eieio-class-slot-name-index)
11502 (eieio-set-defaults, eieio-initarg-to-attribute)
11503 (eieio-attribute-to-initarg, eieio-c3-candidate)
11504 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11505 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11506 (eieio-class-precedence-list, eieio-generic-call-methodname)
11507 (eieio-generic-call-arglst, eieio-generic-call-key)
11508 (eieio-generic-call-next-method-list)
11509 (eieio-pre-method-execution-functions, eieio-generic-call)
11510 (eieio-generic-call-primary-only, eieiomt-method-list)
11511 (eieiomt-optimizing-obarray, eieiomt-install)
11512 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11513 (eieio-generic-form, eieio-defmethod, make-obsolete)
11514 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11515 (defclass): Remove `eval-and-compile' from macro.
11516 (call-next-method, shared-initialize): Instead of using
11517 `scoped-class' variable, use new eieio--scoped-class, and
11518 eieio--with-scoped-class.
11519 (initialize-instance): Rename local variable 'scoped-class' to
11520 'this-class' to remove ambiguitity from old global.
11521
11522 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11523 eieio.el.
11524 (eieio--scoped-class-stack): New variable.
11525 (eieio--scoped-class): New fcn.
11526 (eieio--with-scoped-class): New scoping macro.
11527 (eieio-defclass): Use pushnew instead of add-to-list.
11528 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11529 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11530 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11531 `scoped-class' variable, use new eieio--scoped-class, and
11532 eieio--with-scoped-class.
11533
11534 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11535
11536 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11537
11538 * eshell/esh-ext.el (eshell-external-command): Pass args to
11539 `eshell-find-interpreter'.
11540 (eshell-find-interpreter): Add new second parameter ARGS.
11541
11542 * eshell/em-script.el (eshell-script-initialize): Add second arg
11543 to the function added as MATCH to `eshell-interpreter-alist'.
11544
11545 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11546 the function added as MATCH to `eshell-interpreter-alist'.
11547
11548 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11549 (eshell-visual-options): New defcustom.
11550 (eshell-escape-control-x): Adapt docstring.
11551 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11552 `eshell-visual-options' in addition to `eshell-visual-commands'.
11553 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11554
11555 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11556
11557 * progmodes/python.el (python-indent-block-enders): Add break,
11558 continue and raise keywords.
11559
11560 2013-06-01 Glenn Morris <rgm@gnu.org>
11561
11562 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11563
11564 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11565 * progmodes/cc-cmds.el (delete-forward-p):
11566 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11567 * progmodes/cc-engine.el (buffer-syntactic-context):
11568 * progmodes/cc-fonts.el (face-property-instance):
11569 * progmodes/cc-mode.el (set-keymap-parents):
11570 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11571 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11572 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11573 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11574 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11575
11576 * progmodes/cc-vars.el (other): Emacs has this widget since
11577 at least 21.1, so don't (re)define it.
11578
11579 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11580 Replace the obsolete alias pcomplete-arg-quote-list.
11581
11582 2013-06-01 Leo Liu <sdl.web@gmail.com>
11583
11584 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11585 punctuation syntax.
11586 (inferior-octave-minimal-columns)
11587 (inferior-octave-last-column-width): New variables.
11588 (inferior-octave-track-window-width-change): New function.
11589 (inferior-octave-mode): Adjust column width so that Octave output,
11590 for example from 'ls', can fit into the window nicely.
11591
11592 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11593
11594 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11595 Highlight expansions inside regexp literals.
11596
11597 2013-05-31 Glenn Morris <rgm@gnu.org>
11598
11599 * obsolete/sym-comp.el (symbol-complete):
11600 Replace obsolete completion-annotate-function.
11601
11602 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11603
11604 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11605
11606 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11607 New function, checks if point is inside a literal that allows
11608 expression expansion.
11609 (ruby-syntax-propertize-expansion): Use it.
11610 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11611 around the body.
11612
11613 2013-05-30 Juri Linkov <juri@jurta.org>
11614
11615 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11616 to "\M-si".
11617 (isearch-invisible): New variable.
11618 (isearch-forward): Doc fix.
11619 (isearch-mode): Set `isearch-invisible'
11620 to the value of `search-invisible'.
11621 (isearch-toggle-case-fold): Doc fix.
11622 (isearch-toggle-invisible): New command.
11623 (isearch-query-replace): Let-bind `search-invisible'
11624 to the value of `isearch-invisible'.
11625 (isearch-search): Use `isearch-invisible' instead of
11626 `search-invisible'. Let-bind `search-invisible'
11627 to the value of `isearch-invisible'. (Bug#11378)
11628
11629 2013-05-30 Juri Linkov <juri@jurta.org>
11630
11631 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11632 call when `query-flag' is nil and `search-invisible' is non-nil.
11633 (Bug#11746)
11634
11635 2013-05-30 Glenn Morris <rgm@gnu.org>
11636
11637 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11638
11639 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11640 (cc-require): Suppress spurious "noruntime" warnings.
11641 (cc-require-when-compile): Use fboundp, for sake of compiler.
11642
11643 * progmodes/cc-mode.el: Move load of cc-vars before that of
11644 cc-langs (which in turn loads cc-vars), to quieten compiler.
11645
11646 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * paren.el: Simplify the code.
11649 (show-paren-mode): Always start the timer.
11650 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11651 (show-paren--overlay, show-paren--overlay-1): Rename from
11652 show-paren-overlay and show-paren-overlay-1, and initialize to an
11653 overlay rather than to nil.
11654 (show-paren-function): Misc cleanup and simplifications.
11655
11656 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * paren.el (show-paren-data-function): New hook.
11659 (show-paren--default): New function, extracted from show-paren-function.
11660 (show-paren-function): Use show-paren-data-function.
11661
11662 2013-05-30 Glenn Morris <rgm@gnu.org>
11663
11664 * ielm.el (ielm-map, ielm-complete-symbol):
11665 Use completion-at-point rather than obsolete functions.
11666 (inferior-emacs-lisp-mode): Doc fix.
11667 Set completion-at-point-functions, rather than
11668 comint-dynamic-complete-functions.
11669
11670 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11671 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11672 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11673
11674 * image.el (image-animated-p): Tweak definition.
11675
11676 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11677 (rlogin-process-connection-type): Tweak default. Add set-after.
11678 (rlogin-host): Doc fix.
11679 (rlogin): Tweak prompt.
11680 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11681
11682 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11683 * progmodes/tcl.el (inferior-tcl-mode-map):
11684 Use completion-at-point rather than obsolete alias.
11685
11686 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11687
11688 * minibuffer.el (read-file-name-completion-ignore-case):
11689 Move before completion--in-region, for eager macro expansion.
11690
11691 2013-05-29 Juri Linkov <juri@jurta.org>
11692
11693 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11694 for total count of matching lines. Add `global-matches' for total
11695 count of matches. Rename `matches' to `lines' for count of
11696 matching lines. Add `matches' for count of matches.
11697 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11698 to `prev-line' for line number of prev match endpt.
11699 Increment `matches' for every match. Print the number of
11700 matching lines in the header.
11701 (occur-context-lines): Rename `lines' to `curr-line'.
11702 Rename `prev-lines' to `prev-line'. (Bug#14017)
11703
11704 2013-05-29 Juri Linkov <juri@jurta.org>
11705
11706 * replace.el (perform-replace): Add `skip-read-only-count',
11707 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11708 Increment them for corresponding conditions and report the number
11709 of skipped occurrences in the final message. (Bug#11746)
11710 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11711 (replace-string, replace-regexp): Doc fix.
11712
11713 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11716
11717 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11718 prog-mode-map (bug#14504).
11719
11720 2013-05-29 Leo Liu <sdl.web@gmail.com>
11721
11722 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11723 (octave-help): Small simplification.
11724
11725 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11726 off the highlight first.
11727
11728 2013-05-29 Glenn Morris <rgm@gnu.org>
11729
11730 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11731 Handle idlwave-last-system-routine-info-cons-cell being nil.
11732
11733 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11734 (idlwave-write-paths): Simplify via with-temp-buffer.
11735
11736 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11737 * emulation/cua-rect.el: Also load cua-base at run time.
11738
11739 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11740 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11741 (cperl-imenu-on-info): Require imenu.
11742
11743 2013-05-28 Alan Mackenzie <acm@muc.de>
11744
11745 Handle "capitalised keywords" correctly.
11746 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11747
11748 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11749
11750 * eshell/em-unix.el: Add -r option to cp.
11751
11752 2013-05-28 Glenn Morris <rgm@gnu.org>
11753
11754 * vc/vc-arch.el (vc-exec-after): Declare.
11755 (vc-switches): Autoload.
11756 * vc/vc-bzr.el: No need to require vc when compiling.
11757 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11758 (vc-resynch-buffer, vc-dir-refresh): Declare.
11759 (vc-setup-buffer, vc-switches): Autoload.
11760 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11761 (vc-resynch-buffer): Declare.
11762 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11763 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11764 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11765 (grep-read-regexp, grep-read-files, grep-expand-template)
11766 (vc-dir-refresh): Declare.
11767 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11768 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11769 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11770 * vc/vc-mtn.el (vc-exec-after): Declare.
11771 (vc-switches): Autoload.
11772 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11773 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11774 (vc-file-tree-walk): Declare.
11775 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11776 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11777 (vc-tag-precondition, vc-rename-master): Autoload.
11778 * vc/vc-svn.el (vc-exec-after): Declare.
11779 (vc-switches, vc-setup-buffer): Autoload.
11780 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11781 Autoload.
11782 (vc-resynch-buffer): Declare.
11783
11784 * obsolete/fast-lock.el (byte-compile-warnings):
11785 Don't warn about obsolete features in this obsolete file.
11786
11787 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11788 Move definition before use.
11789
11790 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11791 (dun-unix-verbs): Remove dun-zippy.
11792 (dun-zippy): Remove function.
11793
11794 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11795
11796 2013-05-27 Juri Linkov <juri@jurta.org>
11797
11798 * replace.el (replace-search): New function with code moved out
11799 from `perform-replace'.
11800 (replace-highlight, replace-dehighlight): Move function definitions
11801 up closer to `replace-search'. (Bug#11746)
11802
11803 2013-05-27 Juri Linkov <juri@jurta.org>
11804
11805 * replace.el (perform-replace): Ignore invisible matches.
11806 In addition to checking `query-replace-skip-read-only', also
11807 filter out matches by calling `run-hook-with-args-until-failure'
11808 on `isearch-filter-predicates', and also check `search-invisible'
11809 for t or call `isearch-range-invisible'.
11810 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11811
11812 2013-05-27 Juri Linkov <juri@jurta.org>
11813
11814 * isearch.el (isearch-filter-predicates): Rename from
11815 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11816 (isearch-message-prefix): Display text from the property
11817 `isearch-message-prefix' of the currently active filters.
11818 (isearch-search): Don't compare `isearch-filter-predicate' with
11819 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11820 on `isearch-filter-predicates'. Also check `search-invisible' for t
11821 or call `isearch-range-invisible'.
11822 (isearch-filter-visible): Make obsolete.
11823 (isearch-lazy-highlight-search):
11824 Call `run-hook-with-args-until-failure' on
11825 `isearch-filter-predicates' and use `isearch-range-invisible'.
11826
11827 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11828 `isearch-filter-predicates' instead of `funcall'ing
11829 `isearch-filter-predicate'.
11830 (Info-mode): Set `Info-isearch-filter' to
11831 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11832
11833 * dired-aux.el (dired-isearch-filter-predicate-orig):
11834 Remove variable.
11835 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11836 (dired-isearch-filenames-end): Add and remove
11837 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11838 instead of changing the value of `isearch-filter-predicate'.
11839 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11840 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11841 Put property `isearch-message-prefix' to "filename " on
11842 `dired-isearch-filter-filenames'.
11843
11844 * wdired.el (wdired-change-to-wdired-mode):
11845 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11846 locally instead of changing `isearch-filter-predicate'.
11847 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11848
11849 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11850
11851 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11852 return the commit hash (Bug#14459). Also set the
11853 `vc-git-detached' property.
11854 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11855 (vc-git-mode-line-string): Use the same help-echo format whether
11856 in detached mode or not, because we know the actual revision now.
11857 When in detached mode, shorten the revision to 7 chars.
11858
11859 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11860
11861 * emacs-lisp/easy-mmode.el (define-minor-mode):
11862 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11863 mode hook and provide a docstring.
11864
11865 2013-05-27 Alan Mackenzie <acm@muc.de>
11866
11867 Remove spurious syntax-table text properties inserted by C-y.
11868 * progmodes/cc-mode.el (c-after-change): Also clear hard
11869 syntax-table property with value nil.
11870
11871 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11872
11873 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11874 when reading the events; the buffer layout shall not be changed.
11875
11876 2013-05-27 Leo Liu <sdl.web@gmail.com>
11877
11878 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11879 New variable.
11880 (inferior-octave-directory-tracker): Automatically re-sync
11881 default-directory.
11882 (octave-help): Improve handling of 'See also'.
11883
11884 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * doc-view.el: Minor naming convention tweaks.
11887 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11888
11889 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11890 even if there's no `display' property yet (bug#14435).
11891
11892 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11893
11894 * subr.el (unmsys--file-name): Rename from reveal-filename.
11895
11896 * Makefile.in (custom-deps, finder-data, autoloads)
11897 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11898 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11899 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11900
11901 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11902
11903 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11904 error-completion on the first 2 args of condition-case (bug#14446).
11905 Don't burp at EOB.
11906
11907 2013-05-25 Leo Liu <sdl.web@gmail.com>
11908
11909 * comint.el (comint-previous-matching-input): Do not flood the
11910 *Messages* buffer with trivial messages.
11911
11912 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * progmodes/flymake.el (flymake-nop): Don't return a string.
11915 (flymake-set-at): Fix typo.
11916
11917 * simple.el (read--expression): New function, extracted from
11918 eval-expression. Set completion-at-point-functions (bug#14465).
11919 (eval-expression, eval-minibuffer): Use it.
11920
11921 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11922
11923 * progmodes/flymake.el (flymake-save-buffer-in-file)
11924 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11925 (flymake-selected-frame, flymake-log, flymake-ins-after)
11926 (flymake-set-at, flymake-get-buildfile-from-cache)
11927 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11928 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11929 Refine the doc string.
11930 (flymake-get-file-name-mode-and-masks): Reformat.
11931 (flymake-get-real-file-name-function): Fix a minor bug.
11932
11933 2013-05-24 Juri Linkov <juri@jurta.org>
11934
11935 * progmodes/grep.el (grep-mode-font-lock-keywords):
11936 Support =linenumber= format used by git-grep for lines with
11937 function names. (Bug#13549)
11938
11939 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11942 0 after a semi-colon; it works better for smie-auto-fill.
11943 (octave--indent-new-comment-line): New function.
11944 (octave-indent-new-comment-line): Use it (indirectly).
11945 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11946 modify comment-line-break-function.
11947
11948 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11949 (smie-setup): Use add-function to set it.
11950
11951 2013-05-24 Sam Steingold <sds@gnu.org>
11952
11953 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11954 argument (before the `interactive' argument).
11955
11956 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * image-mode.el (image-mode-winprops): Add winprops to
11959 image-mode-winprops-alist before running
11960 image-mode-new-window-functions.
11961 * doc-view.el (doc-view-new-window-function): Don't delay
11962 doc-view-goto-page via timers (bug#14435).
11963
11964 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11965
11966 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11967 (doc-view-desktop-save-buffer): New function.
11968 (doc-view-restore-desktop-buffer): New function.
11969 (desktop-buffer-mode-handlers):
11970 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11971 handler.
11972 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11973 `desktop-save-buffer' function.
11974
11975 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11976
11977 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11978 (tramp-gvfs-file-name-handler): Raise a user error when
11979 `tramp-gvfs-enabled' is nil.
11980 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11981 Do not raise a user error when loading package. (Bug#14447)
11982
11983 * net/xesam.el: Move to obsolete/.
11984
11985 2013-05-24 Glenn Morris <rgm@gnu.org>
11986
11987 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11988
11989 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11990
11991 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11992 (Info-find-node, Man-getpage-in-background): Declare.
11993
11994 * mail/unrmail.el (unrmail):
11995 Replace obsolete detect-coding-with-priority.
11996
11997 * net/socks.el (socks-split-string): Use this rather than split-string.
11998 (socks-nslookup-host): Update for above change.
11999 (dynamic-choice, s5-dynamic-choice-match)
12000 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12001 Comment out unused code.
12002
12003 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12004 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12005 (gud-tooltip-echo-area): Make obsolete.
12006 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12007
12008 * progmodes/js.el (js--optimize-arglist): Declare.
12009
12010 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12011
12012 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12013 (ediff-window-C): Declare.
12014
12015 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12016 Tweak requires to silence compiler.
12017
12018 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12019 (he-search-string, he-tried-table, he-expand-list)
12020 (he-init-string, he-string-member, he-substitute-string)
12021 (he-reset-string): Declare.
12022
12023 * obsolete/options.el (list-options): Use custom-variable-p,
12024 rather than obsolete alias.
12025
12026 2013-05-23 Sam Steingold <sds@gnu.org>
12027
12028 * simple.el (shell-command-on-region): Pass the `replace' argument
12029 down to `call-process-region' to comply with the doc as reported on
12030 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12031
12032 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12033
12034 * emacs-lisp/smie.el (smie-indent-forward-token)
12035 (smie-indent-backward-token): Handle string tokens (bug#14381).
12036
12037 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12038
12039 * ielm.el (ielm-menu): New menu.
12040 (inferior-emacs-lisp-mode): Set comment-start.
12041
12042 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12043
12044 * textmodes/reftex.el (reftex-ref-style-toggle):
12045 Fix deactivate action.
12046
12047 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12048 Add cleveref macros.
12049
12050 * textmodes/reftex-parse.el
12051 (reftex-locate-bibliography-files): Accept options for
12052 bibliography commands.
12053 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12054 Add addbibresource. Basic Biblatex support.
12055
12056 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12057
12058 * net/tramp-gvfs.el (top):
12059 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12060 when loading package. (Bug#14447)
12061
12062 2013-05-23 Glenn Morris <rgm@gnu.org>
12063
12064 * progmodes/js.el: No need to load comint when compiling.
12065 (ring-insert, comint-send-string, comint-send-input)
12066 (comint-last-input-end, ido-chop): Declare.
12067
12068 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12069 * vc/ediff-mult.el: Adjust requires.
12070 (ediff-directories-internal, ediff-directory-revisions-internal)
12071 (ediff-patch-file-internal): Declare.
12072 * vc/ediff-ptch.el: Adjust requires.
12073 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12074 (ediff-find-file): Autoload.
12075 * vc/ediff-util.el: No need to load ediff when compiling.
12076 (ediff-regions-internal): Declare.
12077 * vc/ediff-wind.el: Adjust requires.
12078 (ediff-compute-toolbar-width): Define when compiling.
12079 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12080 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12081 (dired-get-filename, dired-get-marked-files)
12082 (ediff-last-dir-patch, ediff-patch-default-directory)
12083 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12084 (ediff-patch-buffer-internal): Declare.
12085
12086 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12087 (ispell-process, ispell-buffer-local-words, lm-summary)
12088 (lm-section-start, lm-section-end): Declare.
12089 (checkdoc-ispell-init): Simplify.
12090
12091 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12092 (he-string-member, he-reset-string, he-substitute-string): Declare.
12093
12094 * eshell/em-ls.el: Adjust requires.
12095 (eshell-glob-regexp): Declare.
12096 * eshell/em-tramp.el: Adjust requires.
12097 (eshell-parse-command): Autoload.
12098 * eshell/em-xtra.el: Adjust requires.
12099 (eshell-parse-command): Autoload.
12100 * eshell/esh-ext.el: Adjust requires.
12101 (eshell-parse-command, eshell-close-handles): Autoload.
12102 * eshell/esh-io.el: Adjust requires.
12103 (eshell-output-filter): Autoload.
12104 * eshell/esh-util.el: No need to load tramp when compiling.
12105 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12106 Declare.
12107 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12108 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12109 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12110 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12111 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12112 * eshell/esh-opt.el, eshell/esh-proc.el:
12113 * eshell/esh-var.el: Adjust requires.
12114 * eshell/eshell.el: Do not require esh-util twice.
12115 (eshell-add-input-to-history): Declare.
12116 (eshell-command): Check history module is active before using it.
12117
12118 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12119
12120 2013-05-22 Leo Liu <sdl.web@gmail.com>
12121
12122 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12123
12124 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12125
12126 * autorevert.el (auto-revert-notify-add-watch)
12127 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12128 it indicates changes in file modification time.
12129
12130 2013-05-22 Glenn Morris <rgm@gnu.org>
12131
12132 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12133 Always delete the autoloaded function from the noruntime and
12134 unresolved functions lists.
12135
12136 * allout.el: No need to load epa, epg, overlay when compiling.
12137 (epg-context-set-passphrase-callback, epg-list-keys)
12138 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12139 (epg-key-user-id-list): Declare.
12140
12141 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12142 (viper-set-parsing-style-toggling-macro)
12143 (viper-set-emacs-state-searchstyle-macros):
12144 Use called-interactively-p on Emacs.
12145 (viper-looking-back): Make it an obsolete alias. Update callers.
12146 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12147 Use looking-back rather than viper-looking-back.
12148 (viper-tmp-insert-at-eob, viper-enlarge-region)
12149 (viper-read-string-with-history, viper-register-to-point)
12150 (viper-append-to-register, viper-change-state-to-vi)
12151 (viper-backward-char-carefully, viper-forward-char-carefully)
12152 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12153 (viper-change-state-to-emacs): Declare.
12154 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12155 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12156 * emulation/viper-mous.el: Do not load viper-cmd.
12157 (viper-backward-char-carefully, viper-forward-char-carefully)
12158 (viper-forward-word, viper-adjust-window): Declare.
12159
12160 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12161
12162 * progmodes/idlw-help.el (idlwave-help-fontify):
12163 Use called-interactively-p.
12164
12165 * term/w32console.el (w32-get-console-codepage)
12166 (w32-get-console-output-codepage): Declare.
12167
12168 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12169 Remove unnecessary declarations.
12170 (dframe-message): Doc fix.
12171
12172 * info.el (dframe-select-attached-frame, dframe-current-frame):
12173 Declare.
12174
12175 * speedbar.el (speedbar-message): Make it an obsolete alias.
12176 Update all callers.
12177 (speedbar-with-attached-buffer)
12178 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12179 (speedbar-with-writable): Use backquote.
12180 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12181 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12182 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12183 rather than speedbar- aliases.
12184 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12185 (speedbar-make-specialized-keymap, speedbar-insert-button)
12186 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12187 (speedbar-do-function-pointer): Declare.
12188 (rmail-speedbar-button, rmail-speedbar-find-file)
12189 (rmail-speedbar-move-message):
12190 Use dframe-with-attached-buffer rather than speedbar- alias.
12191 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12192 (dframe-message, speedbar-make-specialized-keymap)
12193 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12194 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12195 (speedbar-insert-button, dframe-select-attached-frame)
12196 (dframe-maybee-jump-to-attached-frame)
12197 (speedbar-change-initial-expansion-list)
12198 (speedbar-previously-used-expansion-list-name): Declare.
12199 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12200 Use dframe-message, dframe-with-attached-buffer rather than
12201 speedbar- aliases.
12202 (gud-sentinel): Silence compiler.
12203 * progmodes/vhdl-mode.el (speedbar-refresh)
12204 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12205 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12206 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12207 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12208 (speedbar-file-lists, speedbar-make-tag-line)
12209 (speedbar-line-directory, speedbar-goto-this-file)
12210 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12211 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12212 (speedbar-make-button, speedbar-reset-scanners)
12213 (speedbar-files-item-info, speedbar-line-text)
12214 (speedbar-find-file-in-frame, speedbar-set-timer)
12215 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12216 (speedbar-with-writable): Do not (re)define it.
12217 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12218 rather than speedbar- alias.
12219
12220 2013-05-21 Leo Liu <sdl.web@gmail.com>
12221
12222 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12223 menu items.
12224 (octave-mode): Tweak fill-nobreak-predicate.
12225 (inferior-octave-startup): Check process to avoid infinite loop.
12226 (inferior-octave): Pop to buffer first to show abornmal process
12227 exit information.
12228
12229 2013-05-21 Glenn Morris <rgm@gnu.org>
12230
12231 * printing.el (pr-menu-bar): Define when compiling.
12232
12233 2013-05-21 Leo Liu <sdl.web@gmail.com>
12234
12235 * progmodes/octave.el (octave-auto-fill): Remove.
12236 (octave-indent-new-comment-line): Improve.
12237 (octave-mode): Use auto fill mode through
12238 comment-line-break-function and fill-nobreak-predicate.
12239 (octave-goto-function-definition): Support DEFUN_DLD.
12240 (octave-beginning-of-defun): Small tweak.
12241 (octave-help): Show parent directory.
12242
12243 2013-05-21 Glenn Morris <rgm@gnu.org>
12244
12245 * files.el (dired-unmark):
12246 * progmodes/gud.el (gdb-input): Update declarations.
12247
12248 * calculator.el (electric, ehelp): No need to load when compiling.
12249 (Electric-command-loop, electric-describe-mode): Declare.
12250
12251 * doc-view.el (doc-view-current-converter-processes): Move before use.
12252
12253 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12254 Move MODE-set-explicitly definition before use.
12255
12256 * international/mule-diag.el (mule-diag):
12257 Don't use obsolete window-system-version.
12258
12259 * mail/feedmail.el (smtpmail): No need to load when compiling.
12260 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12261
12262 * mail/mail-utils.el (rfc822): No need to load when compiling.
12263 (rfc822-addresses): Autoload it.
12264 (mail-strip-quoted-names): Trivial simplification.
12265
12266 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12267 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12268
12269 * net/snmp-mode.el (tempo): Don't duplicate requires.
12270
12271 * progmodes/prolog.el (info): No need to load when compiling.
12272 (comint): Require before shell requires it.
12273 (Info-goto-node): Autoload it.
12274 (Info-follow-nearest-node): Declare.
12275 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12276
12277 * textmodes/artist.el (picture-mode-exit): Declare.
12278
12279 * textmodes/reftex-parse.el (reftex-parse-from-file):
12280 Trivial rewrite so the compiler can parse it better.
12281
12282 2013-05-20 Leo Liu <sdl.web@gmail.com>
12283
12284 * progmodes/octave.el (octave-help-mode-map)
12285 (octave-help-mode-finish-hook): New variables.
12286 (octave-help-mode, octave-help-mode-finish): New functions.
12287 (octave-help): Use octave-help-mode.
12288
12289 2013-05-20 Glenn Morris <rgm@gnu.org>
12290
12291 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12292
12293 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12294
12295 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12296 start at point, so that expansion starting right after opening
12297 slash in a regexp is recognized.
12298 (ruby-syntax-before-regexp-re): New defvar, extracted from
12299 ruby-syntax-propertize-function. Since the value of this regexp
12300 is looked up at runtime now, we should be able to turn
12301 `ruby-syntax-methods-before-regexp' into a defcustom later.
12302 (ruby-syntax-propertize-function): Split regexp matching into two
12303 parts, for opening and closing slashes. That allows us to skip
12304 over string interpolations and support multiline regexps.
12305 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12306 for them, which calls `ruby-syntax-propertize-expansion'.
12307 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12308 call to `ruby-syntax-propertize-function'.
12309 (ruby-syntax-propertize-expansion): Extracted from
12310 `ruby-syntax-propertize-expansions'. Handles one expansion.
12311 (ruby-syntax-propertize-percent-literal): Leave point right after
12312 the percent symbol, so that the expression expansion rule can
12313 propertize the contents.
12314 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12315 heredoc openers.
12316 (ruby-syntax-propertize-expansions): Remove.
12317
12318 2013-05-18 Juri Linkov <juri@jurta.org>
12319
12320 * man.el (Man-default-man-entry): Remove `-' from the end
12321 of the default value. (Bug#14400)
12322
12323 2013-05-18 Glenn Morris <rgm@gnu.org>
12324
12325 * comint.el (comint-password-prompt-regexp):
12326 Allow "password for XXX" where XXX contains colons (eg https://...).
12327
12328 2013-05-18 Leo Liu <sdl.web@gmail.com>
12329
12330 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12331 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12332 (octave-source-directories): Don't check process.
12333 (octave-source-directories, octave-find-definition): Doc fix.
12334
12335 2013-05-18 Glenn Morris <rgm@gnu.org>
12336
12337 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12338 Remove backspace/delete bindings. (Bug#14392)
12339
12340 * cus-dep.el (custom-make-dependencies): Sort the output.
12341 (custom-versions-load-alist): Convert comment to doc.
12342
12343 2013-05-17 Leo Liu <sdl.web@gmail.com>
12344
12345 * newcomment.el (comment-search-backward): Stricter in finding
12346 comment start. (Bug#14303)
12347
12348 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12349 (octave-comment-start-skip): Properly anchored.
12350
12351 2013-05-17 Leo Liu <sdl.web@gmail.com>
12352
12353 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12354 Clean up when turned off. (Bug#14395)
12355 (smie--highlight-matching-block-overlay): No longer buffer-local.
12356 (smie-highlight-matching-block): Adjust.
12357
12358 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12359
12360 Doc string fix for "nanoseconds" (Bug#14406).
12361 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12362 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12363
12364 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12365
12366 * calc/calc-units.el (math-extract-units): Preserve powers
12367 of units.
12368
12369 2013-05-17 Leo Liu <sdl.web@gmail.com>
12370
12371 * subr.el (delete-consecutive-dups): New function.
12372 * ido.el (ido-set-matches-1): Use it.
12373 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12374 * ido.el (ido-remove-consecutive-dups): Remove.
12375
12376 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12377
12378 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12379 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12380 regexp-opt's `words'.
12381
12382 2013-05-16 Leo Liu <sdl.web@gmail.com>
12383
12384 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12385 (smie--highlight-matching-block-overlay)
12386 (smie--highlight-matching-block-lastpos)
12387 (smie--highlight-matching-block-timer): New variables.
12388 (smie-highlight-matching-block): New function.
12389 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12390 (smie-setup): Conditionally enable smie-blink-matching-open.
12391
12392 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12393
12394 Sync with upstream verilog-mode r840.
12395 * progmodes/verilog-mode.el (verilog-mode-version)
12396 (verilog-mode-release-date): Update.
12397 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12398 (verilog-sig-tieoff): Fix string error on
12399 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12400 (verilog-read-decls): Fix parameters confusing
12401 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12402
12403 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12404
12405 * subr.el (reveal-filename): New function.
12406
12407 * loadup.el: Compute Emacs executable versions on MS-Windows,
12408 where executables have the .exe extension. Add a hard link
12409 emacs-XX.YY.ZZ.exe on MS-Windows.
12410
12411 * Makefile.in (XARGS_LIMIT): New variable.
12412 (custom-deps, finder-data, autoloads)
12413 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12414 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12415 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12416 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12417
12418 2013-05-16 Leo Liu <sdl.web@gmail.com>
12419
12420 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12421 (octave-mode-menu, octave-mode-map): Remove its uses.
12422
12423 2013-05-16 Reto Zimmermann <reto@gnu.org>
12424
12425 Sync with upstream vhdl mode v3.34.2.
12426 * progmodes/vhdl-mode.el: Use `push' throughout.
12427 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12428 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12429 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12430 (vhdl-actual-generic-name): New option to derive actual generic name.
12431 (vhdl-port-paste-signals): Replace formal by actual generics.
12432 (vhdl-beautify): New name for old group vhdl-align. Update users.
12433 (vhdl-beautify-options): New option.
12434 (vhdl-last-input-event): New compat alias. Use throughout.
12435 (vhdl-goto-line): Replace user level function `goto-line'.
12436 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12437 vhdl-fix-statement-buffer.
12438 (vhdl-create-mode-menu): Add some entries.
12439 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12440 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12441 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12442 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12443 to force statements on one line.
12444 (vhdl-remove-trailing-spaces-region):
12445 New, split from vhdl-remove-trailing-spaces.
12446 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12447 Respect vhdl-beautify-options.
12448 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12449 (vhdl-update-sensitivity-list): Not add with index if exists without.
12450 Not include array index with signal. Ignore keywords in comments.
12451 (vhdl-get-visible-signals): Regexp tweaks.
12452 (vhdl-template-component-inst): Handle empty library.
12453 (vhdl-template-type): Add template for 'enum' type.
12454 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12455 Use vhdl-replace-string.
12456 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12457 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12458 (vhdl-speedbar-initialize): Update for above name change.
12459 (vhdl-compose-wire-components): Fix in handling of constants.
12460 (vhdl-error-regexp-emacs-alist): New variable.
12461 (vhdl-error-regexp-add-emacs): New function;
12462 adds support for new compile.el (Emacs 22+)
12463 (vhdl-generate-makefile-1): Change target order for single lib. units.
12464 Allow use of absolute file names.
12465
12466 2013-05-16 Leo Liu <sdl.web@gmail.com>
12467
12468 * simple.el (prog-indent-sexp): Indent enclosing defun.
12469
12470 2013-05-15 Glenn Morris <rgm@gnu.org>
12471
12472 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12473 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12474 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12475 (whitespace-highlight): Move to whitespace group.
12476
12477 * comint.el (comint-source):
12478 * pcmpl-linux.el (pcmpl-linux):
12479 * shell.el (shell-faces):
12480 * eshell/esh-opt.el (eshell-opt):
12481 * international/ccl.el (ccl): Remove empty custom groups.
12482
12483 * completion.el (dynamic-completion-mode):
12484 * jit-lock.el (jit-lock-debug-mode):
12485 * minibuffer.el (completion-in-region-mode):
12486 * type-break.el (type-break-mode-line-message-mode)
12487 (type-break-query-mode):
12488 * emulation/tpu-edt.el (tpu-edt-mode):
12489 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12490 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12491 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12492
12493 * term/xterm.el (xterm): Change parent group to terminals.
12494
12495 * master.el (master): Remove empty custom group.
12496 (master-mode): Remove unused :group argument.
12497 * textmodes/refill.el (refill): Remove empty custom group.
12498 (refill-mode): Remove unused :group argument.
12499
12500 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12501
12502 * cus-dep.el: Provide a feature.
12503 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12504 Don't mistakenly ignore files whose basenames match a basename
12505 from preloaded-file-list (eg cedet/ede/simple.el).
12506 Add a fallback method for getting :group.
12507
12508 2013-05-15 Juri Linkov <juri@jurta.org>
12509
12510 * isearch.el (isearch-char-by-name): Rename from
12511 `isearch-insert-char-by-name'. Doc fix.
12512 (isearch-forward): Mention `isearch-char-by-name' in
12513 the docstring. (Bug#13348)
12514
12515 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12516 `exit-minibuffer' instead of
12517 `isearch-nonincremental-exit-minibuffer'.
12518 (isearch-edit-string): Remove mention of
12519 `isearch-nonincremental-exit-minibuffer' from docstring.
12520 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12521 (isearch-forward-exit-minibuffer)
12522 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12523
12524 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12525
12526 * loadup.el: Just use unversioned DOC.
12527
12528 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12529 literals as extending to EOB.
12530 (nxml-last-fontify-end): Remove unused variable.
12531 (nxml-after-change1): Use with-silent-modifications.
12532 (nxml-extend-after-change-region): Simplify.
12533 (nxml-extend-after-change-region1): Remove function.
12534 (nxml-after-change1): Don't adjust for dependent regions.
12535 (nxml-fontify-matcher): Simplify.
12536 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12537 (xmltok-add-dependent): Remove function.
12538 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12539 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12540 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12541 unclosed <[[, <?, comment, and other literals as extending to EOB.
12542 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12543 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12544 Remove functions.
12545 (rng-do-some-validation-1): Don't mark dependent regions.
12546 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12547 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12548 (nxml-clear-dependent-regions): Remove functions.
12549 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12550 (nxml-ensure-scan-up-to-date):
12551 Don't clear&mark dependent regions.
12552
12553 2013-05-15 Leo Liu <sdl.web@gmail.com>
12554
12555 * progmodes/octave.el (octave-goto-function-definition):
12556 Improve and fix callers.
12557
12558 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12559
12560 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12561 the setter (bug#14387).
12562
12563 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12564 surrounding group (bug#14402).
12565
12566 2013-05-14 Juri Linkov <juri@jurta.org>
12567
12568 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12569 (Bug#14390)
12570
12571 2013-05-14 Glenn Morris <rgm@gnu.org>
12572
12573 * progmodes/f90.el (f90-imenu-generic-expression):
12574 Fix typo in 2013-05-08 change. (Bug#14402)
12575
12576 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12577
12578 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12579 Remove signals for which replies are never received.
12580
12581 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12582
12583 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12584 (gdb-handler-alist, gdb-handler-number): Remove variables.
12585 (gdb-handler-list): New variable.
12586 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12587 (gdb-pending-handler-p, gdb-handle-reply)
12588 (gdb-remove-all-pending-triggers): New functions.
12589 (gdb-discard-unordered-replies): New defcustom.
12590 (gdb-handler): New defstruct.
12591 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12592 instead of gdb-pending-triggers. Update docstring.
12593 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12594 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12595 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12596 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12597 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12598 (gdb-frame-handler): Pending triggers are now automatically managed.
12599 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12600 Remove argument.
12601 (gdb-input): Automatically handles pending triggers. Update docstring.
12602 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12603 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12604 Update comments.
12605 (gdb-done-or-error): Now use gdb-handle-reply.
12606
12607 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12608
12609 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12610 gdb-debug-log.
12611
12612 2013-05-14 Glenn Morris <rgm@gnu.org>
12613
12614 * subr.el (user-emacs-directory-warning): New option.
12615 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12616
12617 2013-05-14 Leo Liu <sdl.web@gmail.com>
12618
12619 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12620 during redisplay.
12621 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12622 (octave-font-lock-texinfo-comment): Fix invalid search bound
12623 error: wrong side of point.
12624
12625 2013-05-14 Glenn Morris <rgm@gnu.org>
12626
12627 * progmodes/flymake.el (flymake-xml-program): New option.
12628 (flymake-xml-init): Use it.
12629
12630 * term/xterm.el: Provide a feature.
12631
12632 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12633
12634 2013-05-13 Glenn Morris <rgm@gnu.org>
12635
12636 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12637 Add compat aliases as a hack workaround. (Bug#14384)
12638
12639 2013-05-13 Leo Liu <sdl.web@gmail.com>
12640
12641 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12642 ###, and %!.
12643 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12644 C-M-q.
12645 (octave-comment-start-skip): Include %!.
12646 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12647
12648 2013-05-12 Leo Liu <sdl.web@gmail.com>
12649
12650 * progmodes/octave.el (inferior-octave-startup): Store the value
12651 of __octave_srcdir__ for octave-source-directories.
12652 (inferior-octave-check-process): New function refactored out of
12653 inferior-octave-send-list-and-digest.
12654 (octave-source-directories)
12655 (octave-find-definition-filename-function): New variables.
12656 (octave-source-directories)
12657 (octave-find-definition-default-filename): New functions.
12658 (octave-find-definition): Improve to find functions implemented in C++.
12659
12660 2013-05-12 Glenn Morris <rgm@gnu.org>
12661
12662 * calendar/diary-lib.el (diary-outlook-format-1):
12663 Don't include dayname in the output. (Bug#14349)
12664
12665 2013-05-11 Glenn Morris <rgm@gnu.org>
12666
12667 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12668
12669 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12670 Treat cc-provide like provide.
12671
12672 2013-05-11 Kevin Ryde <user42@zip.com.au>
12673
12674 * cus-dep.el (custom-make-dependencies):
12675 Use generated-autoload-load-name for the sake of files such
12676 such cedet/semantic/bovine/c.el, where the base file name
12677 is not in load-path. (Bug#5277)
12678
12679 2013-05-11 Glenn Morris <rgm@gnu.org>
12680
12681 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12682 Provide features.
12683
12684 2013-05-11 Leo Liu <sdl.web@gmail.com>
12685
12686 * progmodes/octave.el (octave-indent-comment): Improve.
12687 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12688 (octave-eldoc-function-signatures, octave-eldoc-function):
12689 New functions.
12690 (octave-mode, inferior-octave-mode): Add eldoc support.
12691
12692 2013-05-11 Richard Stallman <rms@gnu.org>
12693
12694 * epa.el (epa-decrypt-file): Take output file name as argument
12695 and read it using `interactive'.
12696
12697 2013-05-11 Leo Liu <sdl.web@gmail.com>
12698
12699 * progmodes/octave.el (octave-beginning-of-line)
12700 (octave-end-of-line): Check before using up-list because it jumps
12701 out of more syntactic contructs since moving to smie.
12702 (octave-indent-comment): New function.
12703 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12704 (octave-begin-keywords, octave-end-keywords)
12705 (octave-reserved-words, octave-smie-bnf-table)
12706 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12707
12708 2013-05-11 Glenn Morris <rgm@gnu.org>
12709
12710 * faces.el (internal-face-x-get-resource):
12711 * frame.el (ns-display-monitor-attributes-list):
12712 * calc/calc-aent.el (math-to-radians-2):
12713 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12714 Fix declarations.
12715
12716 * calc/calc-menu.el: Make it loadable in isolation.
12717
12718 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12719 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12720 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12721 (eudc-bbdb-query-internal): Require 'bbdb.
12722
12723 * lpr.el (lpr-headers-switches):
12724 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12725
12726 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12727
12728 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12729
12730 * term.el (term-set-escape-char): Make it idempotent.
12731
12732 2013-05-10 Leo Liu <sdl.web@gmail.com>
12733
12734 * progmodes/octave.el (inferior-octave-completion-table):
12735 No longer a function and all uses changed. Use cache to speed up
12736 completion due to bug#11906.
12737 (octave-beginning-of-defun): Re-write to be more general.
12738
12739 2013-05-10 Glenn Morris <rgm@gnu.org>
12740
12741 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12742
12743 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * comint.el (comint-redirect-send-command-to-process): Use :around
12746 rather than :override for comint-redirect-filter.
12747 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12748 Call it instead of comint-redirect-original-filter-function (which
12749 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12750
12751 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12752
12753 * frame.el (display-monitor-attributes-list): Add NS case.
12754 (ns-display-monitor-attributes-list): Declare.
12755
12756 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12757
12758 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12759
12760 2013-05-09 Glenn Morris <rgm@gnu.org>
12761
12762 * international/fontset.el (vertical-centering-font-regexp):
12763 Set standard-value.
12764
12765 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12766
12767 * bookmark.el (bookmark-search-delay):
12768 * cus-start.el (vertical-centering-font-regexp):
12769 * ps-mule.el (ps-mule-font-info-database-default):
12770 * ps-print.el (ps-default-fg, ps-default-bg):
12771 * type-break.el (type-break-good-break-interval):
12772 * whitespace.el (whitespace-indentation-regexp)
12773 (whitespace-space-after-tab-regexp):
12774 * emacs-lisp/testcover.el (testcover-1value-functions)
12775 (testcover-noreturn-functions, testcover-progn-functions)
12776 (testcover-prog1-functions):
12777 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12778 * eshell/em-glob.el (eshell-glob-translate-alist):
12779 * play/tetris.el (tetris-tty-colors):
12780 * progmodes/cpp.el (cpp-face-default-list):
12781 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12782 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12783 (idlwave-help-browser-generic-args):
12784 * progmodes/make-mode.el (makefile-special-targets-list):
12785 * progmodes/python.el (python-shell-virtualenv-path):
12786 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12787 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12788 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12789 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12790 * textmodes/reftex-vars.el (reftex-format-label-function):
12791 * textmodes/remember.el (remember-diary-file): Fix custom types.
12792
12793 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12794 Add :version.
12795
12796 2013-05-09 Leo Liu <sdl.web@gmail.com>
12797
12798 * progmodes/octave.el (inferior-octave-completion-at-point):
12799 Restore file completion. (Bug#14300)
12800 (inferior-octave-startup): Fix incorrect highlighting for the
12801 first prompt.
12802
12803 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * progmodes/ruby-mode.el: First cut at SMIE support.
12806 (ruby-use-smie): New var.
12807 (ruby-smie-grammar): New constant.
12808 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12809 (ruby-smie--forward-token, ruby-smie--backward-token)
12810 (ruby-smie-rules): New functions.
12811 (ruby-mode-variables): Setup SMIE if applicable.
12812
12813 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12814
12815 * simple.el (line-move-visual): Signal beginning/end of buffer
12816 only if vertical-motion moved less than it was requested. Avoids
12817 silly incorrect error messages when there are display strings with
12818 multiple newlines at EOL.
12819
12820 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12823 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12824 (prolog-char-quote-workaround):
12825 * progmodes/cperl-mode.el (cperl-under-as-char):
12826 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12827 Mark as obsolete.
12828 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12829 their declaration.
12830 (vhdl-mode-syntax-table-init): Remove.
12831
12832 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12833 last change.
12834
12835 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12836 syntax for "_".
12837 (ld-script-font-lock-keywords):
12838 Change regexps to use things like \_< and \_>.
12839
12840 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12841 Change all regexps to use things like \_< and \_>.
12842
12843 * progmodes/autoconf.el (autoconf-definition-regexp)
12844 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12845 Handle a _ with symbol syntax.
12846 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12847
12848 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12849 Consolidate declaration.
12850 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12851 the declaration.
12852 (ada-create-syntax-table): Remove.
12853 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12854 already has the right syntax nowadays.
12855 (ada-goto-next-word): Don't change the syntax of "_".
12856
12857 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12858 with-wrapper-hook.
12859
12860 2013-05-08 Sam Steingold <sds@gnu.org>
12861
12862 * thingatpt.el (thing-at-point): Accept optional second argument
12863 NO-PROPERTIES to strip the text properties from the return value.
12864 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12865 to `thing-at-point' instead of stripping the properties ourselves.
12866 Also, when `thing-at-point' fails to find a url, prepend "http://"
12867 to the filename at point on the assumption that the user is
12868 pointing at something like gnu.org/gnu.
12869
12870 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12871
12872 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12873 * faces.el (crm-separator):
12874 Silence byte-compiler.
12875
12876 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12877 (tool-bar-map): Remove unneeded defvars.
12878
12879 2013-05-08 Leo Liu <sdl.web@gmail.com>
12880
12881 Re-work a fix for bug#10994 based on Le Wang's patch.
12882 * ido.el (ido-remove-consecutive-dups): New helper.
12883 (ido-completing-read): Use it.
12884 (ido-chop): Revert fix for bug#10994.
12885
12886 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12887
12888 * cus-edit.el (custom-save-variables):
12889 Pretty-print long values. (Bug#14187)
12890
12891 2013-05-08 Glenn Morris <rgm@gnu.org>
12892
12893 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12894 (m4-mode-syntax-table): Init in the defvar.
12895 (m4-mode-abbrev-table): Let define-derived-mode define it.
12896
12897 2013-05-08 Tom Tromey <tromey@redhat.com>
12898
12899 * progmodes/m4-mode.el (m4-mode-syntax-table):
12900 Do not treat "_" as word constituent. (Bug#14167)
12901
12902 2013-05-07 Glenn Morris <rgm@gnu.org>
12903
12904 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12905 Remove explicit eshell-isearch-cancel-map.
12906
12907 * progmodes/f90.el (f90-smart-end-names): New option.
12908 (f90-smart-end): Doc fix.
12909 (f90-end-block-optional-name): New constant.
12910 (f90-block-match): Respect f90-smart-end-names.
12911
12912 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12913
12914 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12915 about implicit semi-colons (bug#14218).
12916
12917 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12918
12919 * frame.el (display-monitor-attributes-list)
12920 (frame-monitor-attributes): New functions.
12921
12922 2013-05-06 Leo Liu <sdl.web@gmail.com>
12923
12924 * progmodes/octave.el (octave-syntax-propertize-function): Change
12925 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12926 (octave-font-lock-keywords): Use octave-operator-regexp.
12927 (octave-completion-at-point): Rename from
12928 octave-completion-at-point-function.
12929 (inferior-octave-directory-tracker): Robustify.
12930 (octave-text-functions): Remove and fix its uses. No such things
12931 any more.
12932
12933 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12934
12935 * emacs-lisp/trace.el (trace--display-buffer): New function.
12936 (trace-make-advice): Use it.
12937
12938 2013-05-06 Juri Linkov <juri@jurta.org>
12939
12940 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12941 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12942 Doc fix.
12943 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12944 in the help string. (Bug#12985)
12945
12946 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12947
12948 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12949
12950 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 * progmodes/perl-mode.el: Add support for here documents.
12953 (perl-syntax-propertize-function): Match here-doc markers.
12954 (perl-syntax-propertize-special-constructs): Find their end.
12955 (perl-imenu-generic-expression): Use [:alnum:].
12956
12957 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12958 (advice--add-function): Refresh the advice if already present
12959 (bug#14317).
12960
12961 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12962
12963 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12964
12965 2013-05-06 Glenn Morris <rgm@gnu.org>
12966
12967 * w32-fns.el (w32-charset-info-alist): Declare.
12968
12969 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12970 of its defcustom properties.
12971 (eshell-cmpl-initialize): No need to load pcomplete.
12972
12973 * generic-x.el: No need to require comint when compiling.
12974
12975 * net/eudc-export.el: Make it loadable without bbdb.
12976 (top-level): Use require rather than load-library.
12977 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12978 (eudc-batch-export-records-to-bbdb)
12979 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12980 Require bbdb.
12981
12982 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12985 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12986 some tweaks, instead.
12987
12988 2013-05-05 Leo Liu <sdl.web@gmail.com>
12989
12990 * progmodes/octave.el (octave-font-lock-keywords)
12991 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12992 (inferior-octave-send-list-and-digest): Improve error message.
12993 (octave-mode, inferior-octave-mode): Use setq-local.
12994 (octave-help): Set info-lookup-mode.
12995
12996 2013-05-05 Richard Stallman <rms@gnu.org>
12997
12998 * vc/compare-w.el (compare-windows-whitespace):
12999 Treat no-break space as whitespace.
13000
13001 * mail/rmailsum.el (rmail-summary-rmail-update):
13002 Detect empty summary and don't change selected message.
13003 (rmail-summary-goto-msg): Likewise.
13004
13005 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13006 Doc fixes, rename args.
13007
13008 2013-05-05 Alan Mackenzie <acm@muc.de>
13009
13010 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13011
13012 2013-05-05 Juri Linkov <juri@jurta.org>
13013
13014 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13015 to not add the length of the summary segment to the return value.
13016 (Bug#14125)
13017
13018 2013-05-05 Leo Liu <sdl.web@gmail.com>
13019
13020 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13021 (inferior-octave-output-filter): Remove.
13022 (octave-send-region, inferior-octave-startup): Fix callers.
13023 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13024 (octave-binary-file-extensions): New user variable.
13025 (octave-find-definition): Confirm if opening binary files.
13026 (octave-help-file): Use octave-find-definition to get the binary
13027 confirmation.
13028 (octave-help): Adjust for octave-help-file change.
13029
13030 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13033 Merge the two entries that handle function definitions.
13034 (pascal--syntax-propertize): New const.
13035 (pascal-mode): Use it. Use setq-local.
13036
13037 2013-05-04 Glenn Morris <rgm@gnu.org>
13038
13039 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13040 (diary-from-outlook): Respect diary-from-outlook-function.
13041
13042 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13043
13044 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13045 Move the declaration from C.
13046 (read-minibuffer, eval-minibuffer): Move from C.
13047 (completion-setup-function): Avoid minibuffer-completion-contents.
13048
13049 2013-05-03 Leo Liu <sdl.web@gmail.com>
13050
13051 * progmodes/octave.el (octave-font-lock-keywords): Do not
13052 dehighlight 'end' in comments or strings.
13053 (octave-completing-read, octave-goto-function-definition):
13054 New helpers.
13055 (octave-help-buffer): New user variable.
13056 (octave-help-file, octave-help-function): New button types.
13057 (octave-help): New command and bind it to C-h ;.
13058 (octave-find-definition): New command and bind it to M-.
13059 (user-error): Alias to error if not defined.
13060
13061 2013-05-02 Leo Liu <sdl.web@gmail.com>
13062
13063 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13064 for \. (bug#14332)
13065 (octave-font-lock-keywords): Include [ and {.
13066
13067 2013-05-02 Leo Liu <sdl.web@gmail.com>
13068
13069 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13070 (inferior-octave): Remove calling comint-mode and return the buffer.
13071 (inferior-octave-startup): Cosmetic changes.
13072
13073 2013-05-02 Leo Liu <sdl.web@gmail.com>
13074
13075 * progmodes/octave.el (octave-syntax-propertize-function):
13076 Include the case when ' is at line beginning. (Bug#14336)
13077
13078 2013-05-02 Glenn Morris <rgm@gnu.org>
13079
13080 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13081 * desktop.el (vc-dir-mode): Just autoload it here.
13082
13083 2013-05-02 Alan Mackenzie <acm@muc.de>
13084
13085 Eliminate variable c-standard-font-lock-fontify-region-function.
13086 * progmodes/cc-mode.el
13087 (c-standard-font-lock-fontify-region-function): Remove.
13088 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13089
13090 2013-05-01 Leo Liu <sdl.web@gmail.com>
13091
13092 * progmodes/octave.el: Compatible with older emacs-24 releases.
13093 (inferior-octave-has-built-in-variables): Remove. Built-in
13094 variables were removed from Octave in 2007.
13095 (inferior-octave-startup): Fix uses.
13096 (comint-line-beginning-position): Remove compatibility code for
13097 emacs 21.
13098
13099 2013-05-01 Juri Linkov <juri@jurta.org>
13100
13101 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13102
13103 2013-05-01 Juri Linkov <juri@jurta.org>
13104
13105 * comint.el (comint-previous-matching-input): Don't print message
13106 "History item: %d" when `isearch-mode' is active.
13107 (comint-history-isearch-message): Print message "History item: %d"
13108 when `comint-input-ring-index' is not empty and this function is
13109 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13110
13111 2013-05-01 Leo Liu <sdl.web@gmail.com>
13112
13113 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13114 definitions. Use completion-at-point to insert keywords.
13115 (octave-abbrev-start): Remove.
13116 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13117
13118 2013-04-30 Leo Liu <sdl.web@gmail.com>
13119
13120 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13121 change.
13122
13123 2013-04-30 Alan Mackenzie <acm@muc.de>
13124
13125 Handle arbitrarily long C++ member initialisation lists.
13126 * progmodes/cc-engine.el (c-back-over-member-initializers):
13127 new function.
13128 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13129 (most) member init lists.
13130
13131 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13132
13133 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13134 variable.
13135
13136 2013-04-30 Leo Liu <sdl.web@gmail.com>
13137
13138 * progmodes/octave.el (octave-variables): Remove. No builtin
13139 variables any more. All converted to functions.
13140 (octave-font-lock-keywords, octave-completion-at-point-function):
13141 Fix uses.
13142 (octave-font-lock-texinfo-comment): New user variable.
13143 (octave-texinfo-font-lock-keywords): New variable for texinfo
13144 comment block.
13145 (octave-function-comment-block): New face.
13146 (octave-font-lock-texinfo-comment): New function.
13147 (octave-mode): Font lock texinfo comment block.
13148
13149 2013-04-29 Leo Liu <sdl.web@gmail.com>
13150
13151 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13152 indexing expression.
13153 (octave-continuation-string): Do not use \.
13154 (inferior-octave-complete-impossible): Remove.
13155 (inferior-octave-completion-table)
13156 (inferior-octave-completion-at-point): Remove its uses.
13157 (inferior-octave-startup): completion_matches was introduced to
13158 Octave in 1996 so safe to assume it.
13159 (octave-function-file-comment): Improve to follow how Octave does it.
13160 (octave-update-function-file-comment): Tweak.
13161
13162 2013-04-29 Leo Liu <sdl.web@gmail.com>
13163
13164 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13165 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13166 (octave-function-file-comment): Fix typo.
13167 (octave-sync-function-file-names): Use read-char-choice.
13168
13169 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13170
13171 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13172 to t for the less important warnings.
13173
13174 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13175
13176 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13177
13178 2013-04-27 Glenn Morris <rgm@gnu.org>
13179
13180 * vc/log-view.el (log-view-current-entry):
13181 Treat "---" separator lines as part of the following rev. (Bug#14169)
13182
13183 2013-04-27 Juri Linkov <juri@jurta.org>
13184
13185 * subr.el (read-number): Doc fix about using it by interactive
13186 code letter `n'. (Bug#14254)
13187
13188 2013-04-27 Juri Linkov <juri@jurta.org>
13189
13190 * desktop.el (desktop-auto-save-timeout): New option.
13191 (desktop-file-checksum): New variable.
13192 (desktop-save): Add optional arg `auto-save' and don't auto-save
13193 if nothing changed.
13194 (desktop-auto-save-timer): New variable.
13195 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13196 (after-init-hook): Call `desktop-auto-save-set-timer'.
13197 Suggested by Reuben Thomas <rrt@sc3d.org> in
13198 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13199
13200 2013-04-27 Leo Liu <sdl.web@gmail.com>
13201
13202 * progmodes/octave.el (octave-function-file-p)
13203 (octave-skip-comment-forward, octave-function-file-comment)
13204 (octave-update-function-file-comment): New functions.
13205 (octave-mode-map): Bind C-c ; to
13206 octave-update-function-file-comment.
13207 (octave-mode-menu): Add octave-update-function-file-comment.
13208 (octave-mode, inferior-octave-mode): Fix doc-string.
13209 (octave-insert-defun): Conform to Octave's coding convention.
13210 (Bug#14285)
13211
13212 * files.el (basic-save-buffer): Don't let errors in
13213 before-save-hook prevent saving buffer.
13214
13215 2013-04-20 Roland Winkler <winkler@gnu.org>
13216
13217 * faces.el (read-face-name): Use completing-read if arg multiple
13218 is nil.
13219
13220 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13221
13222 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13223 displayed, move point to after the totals line.
13224 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13225 for the details.
13226
13227 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13228
13229 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13230 Add current dir to the load-path.
13231 (package-generate-autoloads): Don't rely on
13232 autoload-ensure-default-file.
13233
13234 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13235
13236 * textmodes/remember.el (remember-store-in-files): Document that
13237 the file name format is passed to `format-time-string'.
13238
13239 2013-04-26 Leo Liu <sdl.web@gmail.com>
13240
13241 * progmodes/octave.el (octave-sync-function-file-names): New function.
13242 (octave-mode): Use it in before-save-hook.
13243
13244 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13245
13246 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13247 (bug#14274).
13248
13249 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13250 \n and comment, even if it's not an implicit ; (bug#14218).
13251
13252 2013-04-26 Glenn Morris <rgm@gnu.org>
13253
13254 * subr.el (read-number): Once more use `read' rather than
13255 `string-to-number', to trap non-numeric input. (Bug#14254)
13256
13257 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13258
13259 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13260 Use `syntax-multiline' text property consistently instead of
13261 `font-lock-multiline'. (Bug#14237)
13262
13263 2013-04-26 Glenn Morris <rgm@gnu.org>
13264
13265 * emacs-lisp/shadow.el (list-load-path-shadows):
13266 No longer necessary to check for duplicate simple.el, since
13267 2012-07-07 change to init_lread to not include installation lisp
13268 directories in load-path when running uninstalled. (Bug#14270)
13269
13270 2013-04-26 Leo Liu <sdl.web@gmail.com>
13271
13272 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13273 (octave-mode, inferior-octave-mode): Use setq-local.
13274 (octave-not-in-string-or-comment-p): Rename to
13275 octave-in-string-or-comment-p.
13276 (octave-in-comment-p, octave-in-string-p)
13277 (octave-in-string-or-comment-p): Replace defsubst with defun.
13278
13279 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13280
13281 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13282
13283 2013-04-25 Bastien Guerry <bzg@gnu.org>
13284
13285 * textmodes/remember.el (remember-data-directory)
13286 (remember-directory-file-name-format): Fix custom types.
13287
13288 2013-04-25 Leo Liu <sdl.web@gmail.com>
13289
13290 * progmodes/octave.el (octave-completion-at-point-function):
13291 Make use of inferior octave process.
13292 (octave-initialize-completions): Remove.
13293 (inferior-octave-completion-table): New function.
13294 (inferior-octave-completion-at-point): Use it.
13295 (octave-completion-alist): Remove.
13296
13297 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13298
13299 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13300 (opascal-mode-syntax-table): New var.
13301 (opascal-literal-kind, opascal-is-literal-end)
13302 (opascal-literal-token-at): Rewrite.
13303 (opascal--literal-start-re, opascal-font-lock-keywords)
13304 (opascal--syntax-propertize): New constants.
13305 (opascal-font-lock-defaults): Adjust.
13306 (opascal-mode): Use them. Set comment-<foo> variables as well.
13307 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13308 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13309 (delphi-other-face, opascal-other-face): Remove face variables.
13310 (opascal-save-state): Remove macro.
13311 (opascal-fontifying-progress-step): Remove constant.
13312 (opascal--ignore-changes): Remove var.
13313 (opascal-set-token-property, opascal-parse-next-literal)
13314 (opascal-is-stable-literal, opascal-complete-literal)
13315 (opascal-is-literal-start, opascal-face-of)
13316 (opascal-parse-region, opascal-parse-region-until-stable)
13317 (opascal-fontify-region, opascal-after-change)
13318 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13319 (opascal-debug-parse-region, opascal-debug-parse-window)
13320 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13321 (opascal-debug-fontify-buffer): Remove.
13322 (opascal-debug-mode-map): Adjust accordingly.
13323
13324 2013-04-25 Leo Liu <sdl.web@gmail.com>
13325
13326 Merge octave-mod.el and octave-inf.el into octave.el with some
13327 cleanups.
13328 * progmodes/octave.el: New file renamed from octave-mod.el.
13329 * progmodes/octave-inf.el: Merged into octave.el.
13330 * progmodes/octave-mod.el: Renamed to octave.el.
13331
13332 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13333
13334 * textmodes/reftex-vars.el
13335 (reftex-label-ignored-macros-and-environments): New defcustom.
13336
13337 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13338
13339 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13342 (smie-indent-keyword): Improve the check to ensure that the next
13343 comment is really on the same line.
13344 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13345
13346 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13347 semi-colons if the line is not otherwise empty (bug#14218).
13348
13349 2013-04-25 Glenn Morris <rgm@gnu.org>
13350
13351 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13352
13353 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13354
13355 * progmodes/opascal.el (opascal-set-token-property): Rename from
13356 opascal-set-text-properties and only set `token' (bug#14134).
13357 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13358 (opascal-literal-text-properties): Remove.
13359 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13360 Adjust callers.
13361
13362 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13363
13364 * textmodes/remember.el (remember-handler-functions): Add an
13365 option for a new handler `remember-store-in-files'.
13366 (remember-data-directory, remember-directory-file-name-format):
13367 New options.
13368 (remember-store-in-files): New function to store remember notes
13369 as separate files within a directory.
13370
13371 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13372
13373 * progmodes/compile.el (compilation-next-error-function):
13374 Pass "formats" to compilation-find-file (bug#11777).
13375
13376 2013-04-24 Glenn Morris <rgm@gnu.org>
13377
13378 * vc/vc-bzr.el (vc-bzr-print-log):
13379 * vc/vc-hg.el (vc-hg-print-log):
13380 * vc/vc-svn.el (vc-svn-print-log):
13381 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13382
13383 * vc/vc-bzr.el (vc-bzr-print-log):
13384 * vc/vc-cvs.el (vc-cvs-print-log):
13385 * vc/vc-git.el (vc-git-print-log):
13386 * vc/vc-hg.el (vc-hg-print-log):
13387 * vc/vc-mtn.el (vc-mtn-print-log):
13388 * vc/vc-rcs.el (vc-rcs-print-log):
13389 * vc/vc-sccs.el (vc-sccs-print-log):
13390 * vc/vc-svn.el (vc-svn-print-log):
13391 * vc/vc.el (vc-print-log-internal): Doc fixes.
13392
13393 2013-04-23 Glenn Morris <rgm@gnu.org>
13394
13395 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13396 Remove venerable code attempting to avoid substitute-command-keys.
13397
13398 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13399
13400 * textmodes/reftex-vars.el (reftex-label-regexps):
13401 Call `reftex-compile-variables' after changes to this variable.
13402
13403 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13406 Use lexical-binding.
13407 (jit-lock-force-redisplay): Use markers, check buffer's continued
13408 existence and beware narrowed buffers.
13409 (jit-lock-fontify-now): Adjust call accordingly.
13410
13411 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13412
13413 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13414 to avoid misleading the user.
13415
13416 2013-04-22 Leo Liu <sdl.web@gmail.com>
13417
13418 * info-look.el: Prefer latex2e.info. (Bug#14240)
13419
13420 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13421
13422 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13423
13424 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13425 * net/tramp.el (tramp-call-process): ... here.
13426 (tramp-set-completion-function, tramp-parse-putty):
13427 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13428 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13429 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13430 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13431 (tramp-call-local-coding-command): Use `tramp-call-process'
13432 instead of `tramp-compat-call-process'.
13433
13434 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13435 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13436 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13437 (tramp-find-inline-compress): Improve traces.
13438 (tramp-maybe-send-script): Check for Perl binary.
13439 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13440
13441 2013-04-22 Daiki Ueno <ueno@gnu.org>
13442
13443 * epg.el (epg-context-pinentry-mode): New function.
13444 (epg-context-set-pinentry-mode): New function.
13445 (epg--start): Pass --pinentry-mode option to gpg command.
13446
13447 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13448
13449 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13450 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13451 `completion-at-point'. (Bug#13774)
13452
13453 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13454 default key binding for `describe-distribution' has been moved to
13455 `C-h C-o'. (Bug#13970)
13456
13457 2013-04-21 Glenn Morris <rgm@gnu.org>
13458
13459 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13460 Add doc strings.
13461 (vc-print-log): Clarify interactive prompt.
13462
13463 2013-04-20 Glenn Morris <rgm@gnu.org>
13464
13465 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13466 No longer include timestamp etc information.
13467
13468 2013-04-20 Roland Winkler <winkler@gnu.org>
13469
13470 * faces.el (read-face-name): Bug fix, return just one face if arg
13471 multiple is nil. (Bug#14209)
13472
13473 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13474
13475 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13476 (remove-function): Autoload.
13477
13478 * comint.el (comint-redirect-original-filter-function): Remove.
13479 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13480 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13481 (vc-cvs-annotate-command):
13482 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13483 * progmodes/prolog.el (prolog-consult-compile):
13484 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13485 Use add/remove-function instead.
13486 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13487 (gud-tooltip-process-output, gud-tooltip-tips):
13488 Use add/remove-function instead.
13489 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13490 (scheme-interaction-mode, exit-scheme-interaction-mode):
13491 Use add/remove-function instead.
13492
13493 * vc/vc-dispatcher.el: Use lexical-binding.
13494 (vc--process-sentinel): Rename from vc-process-sentinel.
13495 Change last arg to be the code to run. Don't use vc-previous-sentinel
13496 and vc-sentinel-commands any more.
13497 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13498 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13499
13500 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13501
13502 * progmodes/sh-script.el (sh-imenu-generic-expression):
13503 Handle function names with a single character. (Bug#14111)
13504
13505 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13506
13507 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13508 for subroutines defined in an eval (bug#14182).
13509
13510 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13511
13512 * bookmark.el (bookmark-completing-read): Improve handling of empty
13513 string (bug#14176).
13514
13515 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13516
13517 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13518
13519 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13520
13521 New faster Imenu implementation (bug#14058).
13522 * progmodes/python.el:
13523 (python-imenu-prev-index-position):
13524 (python-imenu-format-item-label-function)
13525 (python-imenu-format-parent-item-label-function)
13526 (python-imenu-format-parent-item-jump-label-function):
13527 New vars.
13528 (python-imenu-format-item-label)
13529 (python-imenu-format-parent-item-label)
13530 (python-imenu-format-parent-item-jump-label)
13531 (python-imenu--put-parent, python-imenu--build-tree)
13532 (python-imenu-create-index, python-imenu-create-flat-index)
13533 (python-util-popn): New functions.
13534 (python-mode): Set imenu-create-index-function to
13535 python-imenu-create-index.
13536
13537 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13538
13539 * winner.el (winner-active-region): Use region-active-p, activate-mark
13540 and deactivate-mark (bug#14225).
13541
13542 * simple.el (deactivate-mark): Don't inline it.
13543
13544 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13545
13546 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13547
13548 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13549
13550 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13551 file extensions from the archive-mode entry in order to prefer
13552 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13553
13554 2013-04-18 Leo Liu <sdl.web@gmail.com>
13555
13556 * bindings.el (help-event-list): Add ?\?.
13557
13558 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13559
13560 * subr.el (with-wrapper-hook): Declare obsolete.
13561 * simple.el (filter-buffer-substring-function): New hook.
13562 (filter-buffer-substring): Use it.
13563 (filter-buffer-substring-functions): Mark obsolete.
13564 * minibuffer.el (completion-in-region-function): New hook.
13565 (completion-in-region): Use it.
13566 (completion-in-region-functions): Mark obsolete.
13567 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13568 * abbrev.el (abbrev-expand-function): New hook.
13569 (expand-abbrev): Use it.
13570 (abbrev-expand-functions): Mark obsolete.
13571 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13572 and :filter-return.
13573
13574 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13575
13576 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13577 and do not care about match data.
13578
13579 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13582 completion tables when completing error conditions and
13583 `declare' arguments.
13584 (lisp-complete-symbol, field-complete): Mark as obsolete.
13585 (check-parens): Unmatched parens are user errors.
13586 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13587
13588 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13589
13590 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13591 command changed buffer (ie. `flyspell-pre-buffer' is not current
13592 buffer), which prevents making decisions based on invalid value of
13593 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13594 cause an error when `flyspell-pre-point' was nil after switching
13595 buffers.
13596 (flyspell-post-command-hook): No longer needs to change buffers when
13597 checking pre-word. While at it remove unnecessary progn.
13598
13599 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13600
13601 * textmodes/ispell.el (ispell-add-per-file-word-list):
13602 Fix `flyspell-correct-word-before-point' error when accepting
13603 words and `coment-padding' is an integer by using
13604 `comment-normalize-vars' (Bug #14214).
13605
13606 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13607
13608 New defun movement commands.
13609 * progmodes/python.el (python-nav--syntactically)
13610 (python-nav--forward-defun, python-nav-backward-defun)
13611 (python-nav-forward-defun): New functions.
13612
13613 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13614
13615 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13616 (python-syntax-context): Use named compiler-macro for backwards
13617 compatibility with Emacs 24.x.
13618
13619 2013-04-17 Leo Liu <sdl.web@gmail.com>
13620
13621 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13622 octave-hide-process-buffer.
13623
13624 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13627 (bug#14216).
13628
13629 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13630
13631 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13632 Fix adjustment of offset when receiving incomplete responses from GDB
13633 (bug#14129).
13634
13635 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13638 python-mode-abbrev-table.
13639 (python-skeleton-define): Adjust accordingly.
13640 (python-mode-abbrev-table): New table that inherits from it so that
13641 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13642
13643 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13644 (abbrev-symbol): Use it.
13645 (abbrev--before-point): Use it since we already handle inheritance.
13646
13647 2013-04-16 Leo Liu <sdl.web@gmail.com>
13648
13649 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13650 binding to info-lookup-symbol.
13651
13652 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * minibuffer.el (completion--twq-all):
13655 * term/ns-win.el (ns-initialize-window-system):
13656 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13657
13658 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13661 global bindings.
13662
13663 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13664
13665 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13666
13667 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13668 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13669 to nil.
13670 (ruby-end-of-defun): Remove the unused arg, change the docstring
13671 to reflect that this function is only used as the value of
13672 `end-of-defun-function'.
13673 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13674 to reflect an earlier change that beginning/end-of-defun functions
13675 jump between methods in a class definition, as well as top-level
13676 functions.
13677
13678 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13679
13680 * minibuffer.el (minibuffer-complete): Don't just scroll
13681 a *Completions* that's been iconified.
13682 (minibuffer-force-complete): Make sure repetitions do cycle when going
13683 through completion-in-region -> minibuffer-complete.
13684
13685 2013-04-15 Alan Mackenzie <acm@muc.de>
13686
13687 Correct the placement of c-cpp-delimiters when there're #s not at
13688 col 0.
13689
13690 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13691 place a submatch around the #.
13692 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13693 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13694 on the #, not BOL.
13695
13696 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13697
13698 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13699 (advice--member-p): New arg `name'.
13700 (advice--add-function, advice-member-p): Use it (bug#14202).
13701
13702 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13703
13704 Reformulate java imenu-generic-expression.
13705 The old expression contained ill formed regexps.
13706
13707 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13708 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13709 (cc-imenu-java-method-arg-regexp): New defconsts.
13710 (cc-imenu-java-build-type-args-regex): New defun.
13711 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13712 handling of spaces in the regexp.
13713
13714 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13715
13716 * textmodes/ispell.el (ispell-command-loop): Remove
13717 flyspell highlight of a word when ispell accepts it (bug #14178).
13718
13719 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13720
13721 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13722 uses code from the previous `ange-ftp-run-real-handler'.
13723 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13724 only in case that function exist. This is needed for proper
13725 unloading of Tramp.
13726
13727 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13728
13729 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13730
13731 * textmodes/reftex.el (reftex-compile-variables): Use it.
13732
13733 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * files.el (normal-mode): Only use default major-mode if no other mode
13736 was specified.
13737
13738 * emacs-lisp/trace.el (trace-values): New function.
13739
13740 * files.el: Allow : in local variables (bug#14089).
13741 (hack-local-variable-regexp): New var.
13742 (hack-local-variables-prop-line, hack-local-variables): Use it.
13743
13744 2013-04-13 Roland Winkler <winkler@gnu.org>
13745
13746 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13747 data before it gets modified by bibtex-beginning-of-entry.
13748
13749 2013-04-13 Roland Winkler <winkler@gnu.org>
13750
13751 * textmodes/bibtex.el (bibtex-url): Doc fix.
13752
13753 2013-04-13 Roland Winkler <winkler@gnu.org>
13754
13755 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13756 does not visit a BibTeX file, exclude it from the list of buffers
13757 returned by bibtex-initialize.
13758
13759 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13760
13761 * window.el (split-window): Remove interactive form, since as a
13762 command this function is a special case of split-window-below.
13763 Correct doc string.
13764
13765 2013-04-12 Roland Winkler <winkler@gnu.org>
13766
13767 * faces.el (read-face-name): Do not override value of arg default.
13768 Allow single faces and strings as default values. Remove those
13769 elements from return value that are not faces.
13770 (describe-face): Simplify.
13771 (face-at-point): New optional args thing and multiple so that this
13772 function can provide the same functionality previously provided by
13773 read-face-name.
13774 (make-face-bold, make-face-unbold, make-face-italic)
13775 (make-face-unitalic, make-face-bold-italic, invert-face)
13776 (modify-face, read-face-and-attribute): Use face-at-point.
13777
13778 * cus-edit.el (customize-face, customize-face-other-window)
13779 * cus-theme.el (custom-theme-add-face)
13780 * face-remap.el (buffer-face-set)
13781 * facemenu.el (facemenu-set-face): Use face-at-point.
13782
13783 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13784
13785 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13786
13787 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13788
13789 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13790 off leading { and trailing } from field values.
13791
13792 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13793
13794 * emacs-lisp/timer.el (timer--check): New function.
13795 (timer--time, timer-set-function, timer-event-handler): Use it.
13796 (timer-set-idle-time): Simplify.
13797 (timer--activate): CSE.
13798 (timer-event-handler): Give more info in error message.
13799 (internal-timer-start-idle): New function, moved from C.
13800
13801 * mpc.el (mpc-proc): Add `restart' argument.
13802 (mpc-proc-cmd): Use it.
13803 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13804 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13805 less often.
13806
13807 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13808
13809 * progmodes/sh-script.el: Implement `sh-mode' own
13810 `add-log-current-defun-function' (bug#14112).
13811 (sh-current-defun-name): New function.
13812 (sh-mode): Use the function.
13813
13814 2013-04-09 Bastien Guerry <bzg@gnu.org>
13815
13816 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13817
13818 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13819
13820 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13821
13822 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13823 timer (bug#14156).
13824
13825 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13826
13827 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13828 declaration.
13829
13830 2013-04-07 Leo Liu <sdl.web@gmail.com>
13831
13832 * pcmpl-x.el: New file.
13833
13834 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13835
13836 Do not set x-display-name until X connection is established.
13837 This is needed to prevent from weird situation described at
13838 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13839 * frame.el (make-frame): Set x-display-name after call to
13840 window system initialization function, not before.
13841 * term/x-win.el (x-initialize-window-system): Add optional
13842 display argument and use it.
13843 * term/w32-win.el (w32-initialize-window-system):
13844 * term/ns-win.el (ns-initialize-window-system):
13845 * term/pc-win.el (msdos-initialize-window-system):
13846 Add compatible optional display argument.
13847
13848 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13849
13850 * files.el (normal-backup-enable-predicate): On MS-Windows and
13851 MS-DOS compare truenames of temporary-file-directory and of the
13852 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13853 don't fail comparison by compare-strings. Also, compare file
13854 names case-insensitively on MS-Windows and MS-DOS.
13855
13856 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13857
13858 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13859 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13860
13861 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13862
13863 * whitespace.el (whitespace-color-on, whitespace-color-off):
13864 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13865
13866 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13867
13868 * ispell.el (ispell-set-spellchecker-params):
13869 Really set `ispell-args' for all equivs.
13870
13871 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13872
13873 * ido.el (ido-completions): Use extra elements of ido-decorations
13874 (bug#14143).
13875 (ido-decorations): Update docstring.
13876
13877 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13878
13879 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13880 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13881 nil during initialization, in order not to miss changes since the
13882 file was opened. (Bug#14140)
13883
13884 2013-04-05 Leo Liu <sdl.web@gmail.com>
13885
13886 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13887
13888 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13889
13890 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13891
13892 2013-04-04 Glenn Morris <rgm@gnu.org>
13893
13894 * electric.el (electric-pair-inhibit-predicate): Add :version.
13895
13896 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13897
13898 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13899 when a package is required several times (bug#14082).
13900
13901 2013-04-04 Roland Winkler <winkler@gnu.org>
13902
13903 * faces.el (read-face-name): Behave as promised by the docstring.
13904 Assume that arg default is a list of faces.
13905 (describe-face): Call read-face-name with list of default faces.
13906
13907 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13908
13909 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13910 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13911 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13912 the header.
13913 (bookmark-exit-hook-internal): Save even if list is empty.
13914
13915 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13916
13917 * emacs-lisp/package.el (package-pinned-packages): New var.
13918 (package--add-to-archive-contents): Obey it (bug#14118).
13919
13920 2013-04-03 Alan Mackenzie <acm@muc.de>
13921
13922 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13923 Also adapt to the new values of element 7 of a parse state.
13924
13925 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13926 parameter `not-in-delimiter'. Handle being inside comment opener.
13927 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13928 character in case we're typing a '*' after a '/'.
13929 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13930 instead by passing the parameter to c-state-pp-to-literal.
13931
13932 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13933 for elt. 7 of a parse state.
13934
13935 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13936
13937 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13938 * international/latin1-disp.el, international/mule-util.el:
13939 * language/cyril-util.el, language/european.el, language/ind-util.el:
13940 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13941 * language/tibetan.el, language/viet-util.el:
13942 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13943
13944 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13947 (electric-pair-post-self-insert-function): Use it.
13948 (electric-pair-default-inhibit): New function, extracted from
13949 electric-pair-post-self-insert-function.
13950
13951 2013-03-31 Roland Winkler <winkler@gnu.org>
13952
13953 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13954
13955 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13956
13957 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13958
13959 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13960
13961 Un-indent after "pass" and "return" statements (Bug#13888)
13962 * progmodes/python.el (python-indent-block-enders): New var.
13963 (python-indent-calculate-indentation): Use it.
13964
13965 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13966
13967 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13968 defun. Defining it as defalias could introduce too eager
13969 byte-compiler optimization. (Bug#14030)
13970
13971 2013-03-30 Chong Yidong <cyd@gnu.org>
13972
13973 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13974
13975 2013-03-30 Leo Liu <sdl.web@gmail.com>
13976
13977 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13978 (kmacro-execute-from-register): Pass the keyboard macro to
13979 kmacro-call-macro or repeating won't work correctly.
13980
13981 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13982
13983 * progmodes/subword.el: Back to using `forward-symbol'.
13984
13985 * subr.el (forward-whitespace, forward-symbol)
13986 (forward-same-syntax): Move from thingatpt.el.
13987
13988 2013-03-29 Leo Liu <sdl.web@gmail.com>
13989
13990 * kmacro.el (kmacro-to-register): New command.
13991 (kmacro-execute-from-register): New function.
13992 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13993
13994 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * mpc.el: Use defvar-local and setq-local.
13997 (mpc--proc-connect): Connection failures are not bugs.
13998 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13999 (mpc-volume-map): Bind to the up-events.
14000
14001 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14002
14003 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14004 instead of `forward-symbol'.
14005
14006 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14007
14008 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14009 (edebug--recursive-edit): Use it.
14010 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14011 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14012
14013 2013-03-28 Leo Liu <sdl.web@gmail.com>
14014
14015 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14016
14017 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14018
14019 * facemenu.el (list-colors-callback): New defvar.
14020 (list-colors-redisplay): New function.
14021 (list-colors-display): Install list-colors-redisplay as the
14022 revert-buffer-function. (Bug#14063)
14023
14024 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14025
14026 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14027 and suffixes don't overlap (bug#14061).
14028
14029 * case-table.el: Use lexical-binding.
14030 (case-table-get-table): New function.
14031 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14032
14033 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14034
14035 * progmodes/subword.el: Add `superword-mode' to do word motion
14036 over symbol_words (parallels and leverages `subword-mode' which
14037 does word motion inside MixedCaseWords).
14038
14039 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14040
14041 * eshell/em-unix.el: Move su and sudo to...
14042 * eshell/em-tramp.el: ...Eshell tramp module.
14043
14044 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14045
14046 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14047 Change return value to be a sexp. Delay `get-buffer' to after
14048 restoring the desktop (bug#13951).
14049
14050 2013-03-26 Leo Liu <sdl.web@gmail.com>
14051
14052 * register.el: Move semantic tag handling back to
14053 cedet/semantic/senator.el. (Bug#14052)
14054
14055 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14058 into the prompt either (bug#13963).
14059
14060 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14061
14062 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14063 part of "(error-foo)".
14064
14065 2013-03-24 Juri Linkov <juri@jurta.org>
14066
14067 * replace.el (list-matching-lines-prefix-face): New defcustom.
14068 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14069 `occur-engine' if `face-differs-from-default-p' returns t.
14070 (occur-engine): Add `,' inside backquote construct to evaluate
14071 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14072 Pass `prefix-face' to the functions `occur-context-lines' and
14073 `occur-engine-add-prefix'.
14074 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14075 `prefix-face' and propertize the prefix with `prefix-face'.
14076 (Bug#14017)
14077
14078 2013-03-24 Leo Liu <sdl.web@gmail.com>
14079
14080 * nxml/rng-valid.el (rng-validate-while-idle)
14081 (rng-validate-quick-while-idle): Guard against deleted buffer.
14082 (Bug#13999)
14083
14084 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14085 is the last entry in kill-buffer-hook.
14086
14087 * files.el (kill-buffer-hook): Doc fix.
14088
14089 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14090
14091 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14092 Make it safe-local.
14093
14094 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14095
14096 2013-03-23 Leo Liu <sdl.web@gmail.com>
14097
14098 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14099 Remove.
14100
14101 * nxml/rng-valid.el (rng-validate-mode)
14102 (rng-after-change-function, rng-do-some-validation):
14103 * nxml/rng-maint.el (rng-validate-buffer):
14104 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14105 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14106 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14107 (nxml-extend-after-change-region): Use with-silent-modifications.
14108
14109 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14110 timer-idle-list.
14111
14112 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14113 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14114 timer-idle-list. (Bug#13999)
14115
14116 2013-03-23 Juri Linkov <juri@jurta.org>
14117
14118 * info.el (info-index-match): New face.
14119 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14120 main pattern and add text properties with the new face to matches
14121 in index entries relative to the beginning of the index entry.
14122 (Bug#14015)
14123
14124 2013-03-21 Eric Ludlam <zappo@gnu.org>
14125
14126 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14127 Inhibit read only while inserting objects.
14128
14129 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14130
14131 * progmodes/cfengine.el: Update docs to mention
14132 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14133 symbol motion. Remove "_" from the word syntax.
14134
14135 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14136
14137 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14138 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14139
14140 2013-03-20 Juri Linkov <juri@jurta.org>
14141
14142 * info.el (Info-next-reference-or-link)
14143 (Info-prev-reference-or-link): New functions.
14144 (Info-next-reference, Info-prev-reference): Use them.
14145 (Info-try-follow-nearest-node): Handle footnote navigation.
14146 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14147
14148 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14149
14150 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14151 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14152
14153 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14154
14155 Suppress unnecessary non-ASCII chatter during build process.
14156 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14157 (batch-skkdic-convert): Suppress most of the chatter.
14158 It's not needed so much now that machines are faster,
14159 and its non-ASCII component was confusing; see Dmitry Gutov in
14160 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14161
14162 2013-03-20 Leo Liu <sdl.web@gmail.com>
14163
14164 * ido.el (ido-chop): Fix bug#10994.
14165
14166 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14167
14168 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14169 Remove vars.
14170 (whitespace-color-on, whitespace-color-off):
14171 Use `font-lock-fontify-buffer' (Bug#13817).
14172
14173 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14174
14175 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14176 remapping in mode-line.
14177 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14178
14179 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14180
14181 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14182 value for `whitespace-line' face (Bug#13875).
14183 (whitespace-font-lock-keywords): Change description.
14184 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14185 the constructed keywords instead.
14186 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14187
14188 2013-03-19 Leo Liu <sdl.web@gmail.com>
14189
14190 * progmodes/compile.el (compilation-display-error): New command.
14191 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14192 C-o. (Bug#13992)
14193
14194 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14195
14196 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14197
14198 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14199
14200 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14201
14202 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14203
14204 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14205
14206 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14207 * net/tramp-gvfs.el (top):
14208 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14209 (tramp-handle-shell-command): Use it.
14210 (tramp-dissect-file-name): Raise an error when hostname is a
14211 method name, and neither method nor user is specified.
14212
14213 * net/trampver.el: Update release number.
14214
14215 2013-03-18 Leo Liu <sdl.web@gmail.com>
14216
14217 Make sure eldoc can be turned off properly.
14218 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14219 eldoc-mode.
14220 (eldoc-display-message-p): Revert last change.
14221 (eldoc-display-message-no-interference-p)
14222 (eldoc-print-current-symbol-info): Tweak.
14223
14224 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14225
14226 * doc-view.el (doc-view-new-window-function): Check the new window
14227 overlay's display property instead the char property of the
14228 buffer's first char. Use `with-selected-window' instead of
14229 `save-window-excursion' with `select-window'.
14230 (doc-view-document->bitmap): Check the current doc-view overlay's
14231 display property instead the char property of the buffer's first char.
14232
14233 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14234
14235 Automate the build of ja-dic.el (Bug#13984).
14236 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14237 from the input, rather than assume that it's been done for us by the
14238 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14239 the current date into a ja-dic.el comment, as that complicates
14240 regression testing.
14241
14242 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * whitespace.el: Fix double evaluation.
14245 (whitespace-space, whitespace-hspace, whitespace-tab)
14246 (whitespace-newline, whitespace-trailing, whitespace-line)
14247 (whitespace-space-before-tab, whitespace-indentation)
14248 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14249 obsolete defvars.
14250 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14251 (whitespace-color-on): Use a single font-lock-add-keywords call.
14252 Fix double-evaluation of face variables.
14253
14254 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14255
14256 * net/tramp-adb.el (tramp-adb-parse-device-names):
14257 Use `start-process' instead of `call-process'. Otherwise, the
14258 function might be blocked under MS Windows. (Bug#13299)
14259
14260 2013-03-17 Leo Liu <sdl.web@gmail.com>
14261
14262 Extend eldoc to display info in the mode-line. (Bug#13978)
14263 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14264 (eldoc-mode-line-string): New variable.
14265 (eldoc-minibuffer-message): New function.
14266 (eldoc-message-function): New variable.
14267 (eldoc-message): Use it.
14268 (eldoc-display-message-p)
14269 (eldoc-display-message-no-interference-p):
14270 Support eldoc-post-insert-mode.
14271
14272 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14273 (eval-expression): Run it.
14274
14275 2013-03-17 Roland Winkler <winkler@gnu.org>
14276
14277 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14278 strings in the list of return values.
14279
14280 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14281
14282 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14283 radix before checking for HMS forms.
14284
14285 2013-03-16 Leo Liu <sdl.web@gmail.com>
14286
14287 * progmodes/scheme.el: Add indentation and font-locking for λ.
14288 (Bug#13975)
14289
14290 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14291
14292 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14293 token before point (bug#13942).
14294
14295 2013-03-16 Leo Liu <sdl.web@gmail.com>
14296
14297 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14298
14299 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14300
14301 * startup.el (command-line-normalize-file-name): Fix handling of
14302 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14303 <xfq.free@gmail.com> in
14304 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14305
14306 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14307
14308 Sync with Tramp 2.2.7.
14309
14310 * net/trampver.el: Update release number.
14311
14312 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14313
14314 * doc-view.el: Fix bug#13887.
14315 (doc-view-insert-image): Don't modify overlay associated to
14316 non-live windows, and implement horizontal centering of image in
14317 case it's smaller than the window.
14318 (doc-view-new-window-function): Force redisplay of new windows on
14319 doc-view buffers.
14320
14321 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14322
14323 * saveplace.el (save-place-alist-to-file): Don't sort
14324 `save-place-alist', just pretty-print it (bug#13882).
14325
14326 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14327
14328 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14329 Check whether `default-file-name-coding-system' is bound.
14330 It isn't in XEmacs.
14331
14332 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14335 backquotes for `obsolete' (bug#13929).
14336
14337 * international/mule.el (find-auto-coding): Include file name in
14338 obsolescence warning (bug#13922).
14339
14340 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14341
14342 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14343 for CFEngine 3-specific indentation.
14344 (cfengine3-indent-line): Use it. Fix up category regex.
14345 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14346
14347 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14348
14349 * type-break.el (type-break-file-name):
14350 * textmodes/remember.el (remember-data-file):
14351 * strokes.el (strokes-file):
14352 * shadowfile.el (shadow-initialize):
14353 * saveplace.el (save-place-file):
14354 * ps-bdf.el (bdf-cache-file):
14355 * progmodes/idlwave.el (idlwave-config-directory):
14356 * net/quickurl.el (quickurl-url-file):
14357 * international/kkc.el (kkc-init-file-name):
14358 * ido.el (ido-save-directory-list-file):
14359 * emulation/viper.el (viper-custom-file-name):
14360 * emulation/vip.el (vip-startup-file):
14361 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14362 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14363
14364 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14365
14366 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14367 * language/thai-word.el: Switch to UTF-8.
14368
14369 See ChangeLog.16 for earlier changes.
14370
14371 ;; Local Variables:
14372 ;; coding: utf-8
14373 ;; End:
14374
14375 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14376
14377 This file is part of GNU Emacs.
14378
14379 GNU Emacs is free software: you can redistribute it and/or modify
14380 it under the terms of the GNU General Public License as published by
14381 the Free Software Foundation, either version 3 of the License, or
14382 (at your option) any later version.
14383
14384 GNU Emacs is distributed in the hope that it will be useful,
14385 but WITHOUT ANY WARRANTY; without even the implied warranty of
14386 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14387 GNU General Public License for more details.
14388
14389 You should have received a copy of the GNU General Public License
14390 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.