Use `window-total-width' instead of `window-width'.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2
3 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge): Use
4 `window-total-width' instead of `window-width'.
5
6 2014-04-03 Daniel Colascione <dancol@dancol.org>
7
8 * subr.el (set-transient-map): Remove rms's workaround entirely;
9 use new `suspicious-object' subr to mark our lambda for closer
10 scrutiny during gc.
11
12 2014-04-02 Richard Stallman <rms@gnu.org>
13
14 * subr.el (set-transient-map): Comment out previous change.
15
16 2014-04-02 Glenn Morris <rgm@gnu.org>
17
18 * menu-bar.el (menu-bar-file-menu):
19 * vc/ediff.el (ediff-current-file):
20 Update for revert-buffer-function no longer being nil by default.
21
22 * simple.el (command-execute): Respect nil disabled-command-function.
23
24 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
25
26 * simple.el (command-execute): Do not execute the command when it
27 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
28
29 2014-04-02 Juri Linkov <juri@jurta.org>
30
31 * dired-aux.el (dired-compress-file): Don't use string-match-p
32 because its match data is used afterwards.
33
34 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
37 0 like nil.
38
39 2014-04-02 João Távora <joaotavora@gmail.com>
40
41 * elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
42 quote pairing if point-max is inside an unterminated string.
43 (electric-pair--looking-at-unterminated-string-p):
44 Delete.
45 (electric-pair--in-unterminated-string-p): New function.
46
47 2014-04-01 Daniel Colascione <dancol@dancol.org>
48
49 * minibuffer.el (minibuffer-complete): Prevent assertion failure
50 when trying to complete the prompt.
51
52 2014-03-31 Leo Liu <sdl.web@gmail.com>
53
54 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Refactor
55 out eldoc-documentation-function-default.
56 (eldoc-documentation-function-default): New function.
57 (eldoc-documentation-function): Change value.
58
59 2014-03-31 Glenn Morris <rgm@gnu.org>
60
61 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
62
63 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
64 (vhdl-compose-components-package, vhdl-compose-configuration):
65 Abbreviate default-directory (missing from some previous upstream sync).
66
67 2014-03-31 Reto Zimmermann <reto@gnu.org>
68
69 Sync with upstream vhdl mode v3.35.2.
70 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
71 (top-level): No longer require assoc.
72 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
73 New functions. Use throughout to replace aget etc.
74 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
75 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
76 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
77 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
78 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
79 except `vhdl-compiler'.
80 (vhdl-error-regexp-add-emacs): Remove all other compilers,
81 when appropriate.
82
83 2014-03-31 Glenn Morris <rgm@gnu.org>
84
85 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
86 Revert 2014-03-26 merge goof; go back to using defalias.
87
88 2014-03-30 Daniel Colascione <dancol@dancol.org>
89
90 * comint.el (comint-send-input): Deactivate
91 completion-in-region-mode before we send comint input.
92 (Bug#17139).
93
94 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
95 on keyboard-quit.
96
97 2014-03-29 Glenn Morris <rgm@gnu.org>
98
99 * textmodes/reftex.el: Manage most autoloads automatically.
100 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
101 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
102 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
103 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
104 * textmodes/reftex-toc.el: Set generated-autoload-file,
105 and add autoload cookies for reftex.el.
106 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
107
108 2014-03-28 Glenn Morris <rgm@gnu.org>
109
110 * cus-start.el (report-emacs-bug-address): Set custom properties.
111 * mail/emacsbug.el (report-emacs-bug-address):
112 Variable is now defined in emacs.c.
113
114 * mail/emacsbug.el (report-emacs-bug):
115 Include system-configuration-features.
116
117 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
118
119 * simple.el (cycle-spacing): Never delete spaces on first run by
120 default, but do so in a new 'fast mode and if there are already
121 N spaces (the previous behavior).
122 Compare N with its value in previous invocation so that changing
123 prefix argument restarts `cycle-spacing' sequence.
124 The idea is that with this change, binding M-SPC to
125 `cycle-spacing' should not introduce any changes in behavior of
126 the binding so long as users do not type M-SPC twice in a raw with
127 the same prefix argument or lack thereof.
128
129 2014-03-28 Glenn Morris <rgm@gnu.org>
130
131 * faces.el (term-file-aliases): New variable.
132 (tty-run-terminal-initialization): Respect term-file-aliases.
133 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
134 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
135 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
136
137 2014-03-27 Glenn Morris <rgm@gnu.org>
138
139 * startup.el (inhibit-startup-hooks): Doc tweak.
140 (normal-top-level): Simplify running of hooks.
141 For window-setup-hook, respect inhibit-startup-hooks.
142 (command-line-1): Don't set window-setup-hook to nil.
143
144 Allow selective autoloading from obsolete/ directory.
145 * Makefile.in (obsolete-autoloads): New rule.
146 (autoloads): Run obsolete-autoloads.
147 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
148 * simple.el (iswitchb-mode): Remove hand-written autoloads.
149
150 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
151
152 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
153 Highlight special globals with font-lock-builtin-face. (Bug#17057)
154
155 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
156 Don't propertize `?' or `!' as symbol constituent when after
157 colon. (Bug#17097)
158
159 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
160
161 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
162 which is no longer needed and causes trouble in GTK builds (bug#17046).
163
164 * emacs-lisp/package-x.el (package--archive-contents-from-url):
165 Use url-insert-file-contents; package-handle-response no longer exists.
166
167 2014-03-26 Daniel Colascione <dancol@dancol.org>
168
169 * simple.el (process-menu-mode-map): New variable.
170 (process-menu-delete-process): New command.
171
172 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
173
174 * emacs-lisp/package.el: Fix bug#16733 (again).
175 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
176 (url-http-target-url): Remove unused declarations.
177 (package-handle-response): Remove.
178 (package--with-work-buffer): Use url-insert-file-contents and simplify.
179 (package--download-one-archive): Use current-buffer instead of
180 dynamic binding of `buffer'.
181 (describe-package-1): Do not decode readme-string.
182
183 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
184
185 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
186
187 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
188 from 2014-03-07, it decreases performance unnecessarily. Let-bind
189 `remote-file-name-inhibit-cache' to nil in the second pass.
190 (tramp-find-executable): Do not call "which" on SunOS.
191 (tramp-send-command-and-check): Fix docstring.
192 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
193 check whether source directory has set the sticky bit.
194
195 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
196
197 * simple.el (primitive-undo): Only process marker adjustments
198 validated against their corresponding (TEXT . POS). Issue warning
199 for lone marker adjustments in undo history. (Bug#16818)
200 (undo-make-selective-list): Add marker adjustments to selective
201 undo list based on whether their corresponding (TEXT . POS) is in
202 the region. Remove variable adjusted-markers, which was unused
203 and only non nil during undo-make-selective-list.
204 (undo-elt-in-region): Return nil when passed a marker adjustment
205 and explain in function doc.
206
207 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
208
209 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
210
211 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
212
213 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
214 Match special global variables without curlies, too.
215 (ruby-font-lock-keywords): Simplify the matcher for special global
216 variables. Don't require a non-word character after the variable.
217 (Bug#17057)
218
219 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
220
221 * simple.el (redisplay-highlight-region-function): Increase priority of
222 overlay to make sure boundaries are visible (bug#15899).
223
224 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
225
226 * frameset.el (frameset--initial-params): Fix typo in parameter name.
227 (frameset-restore): Compare display strings with equal.
228
229 * frame.el (make-frame): Don't quote display name in error message,
230 it is already a string.
231
232 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
233
234 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
235 the password.
236
237 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
238
239 * emacs-lisp/package.el (package--add-to-archive-contents):
240 Include already installed and built-in packages in
241 `package-archive-contents'.
242 (package-install): Don't include already installed packages in the
243 options during interactive invocation. (Bug#16762)
244 (package-show-package-list): If the buffer is already displayed in
245 another window, switch to that window.
246
247 2014-03-26 Reto Zimmermann <reto@gnu.org>
248
249 Sync with upstream vhdl mode v3.35.1.
250 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
251 (vhdl-compiler-alist): Doc fix.
252 (vhdl-goto-line): Remove.
253 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
254 (vhdl-mode) <paragraph-start>: Fix value.
255 (vhdl-fix-statement-region): Not `for' in wait-statement.
256 (vhdl-beautify-region): Also (un)tabify.
257 (vhdl-get-visible-signals):
258 Scan declarative part of generate statements.
259 (vhdl-template-record): Fix indentation for record type declaration.
260 (vhdl-expand-abbrev, vhdl-expand-paren):
261 Revert to using fset again rather than defalias.
262 (vhdl-scan-directory-contents): Tweak.
263 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
264 (vhdl-compose-components-package):
265 Replace vhdl-goto-line with forward-line.
266 (top-level): Tweak speedbar frame selection.
267 (vhdl-generate-makefile-1): Support for compilers with no
268 unit-to-file name mapping (create directory with dummy files).
269
270 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
271
272 Sync with upstream verilog-mode revision 702457d.
273 * progmodes/verilog-mode.el (verilog-mode-version): Update.
274 (create-lockfiles): Declare.
275 (verilog-read-decls): Fix module header imports, bug709.
276 Reported by Victor Lau.
277 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
278 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
279 interface-only modules, bug721. Reported by Dean Hoyt.
280
281 2014-03-26 Glenn Morris <rgm@gnu.org>
282
283 * obsolete/gulp.el: Move here from emacs-lisp/.
284
285 * files.el (lock-buffer, unlock-buffer, file-locked-p):
286 Remove fallback aliases, since they are always defined now.
287
288 2014-03-24 Daniel Colascione <dancol@dancol.org>
289
290 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
291 instead of cl-loop search function.
292
293 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
294
295 * calendar/parse-time.el (parse-time-iso8601-regexp)
296 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
297 it more generally.
298
299 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
300
301 * net/dns.el (network-interface-list): Define for XEmacs.
302
303 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
304
305 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
306 the network interfaces changed.
307 (dns-query): Use it to flush the data.
308
309 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
310
311 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
312
313 2014-03-23 Daniel Colascione <dancol@dancol.org>
314
315 Change subword-mode to use `find-word-boundary-function-table' and
316 replace `capitalized-words-mode'. Also, convert to lexical
317 binding.
318
319 * progmodes/cap-words.el: Delete now-obsolete file.
320 * progmodes/subword.el: Reimplement using
321 `find-word-boundary-function-table'.
322 (subword-mode-map): Hollow out.
323 (capitalized-words-mode): Define as obsolete alias for
324 `subword-mode'.
325 (subword-mode,superword-mode): Tweak documentation to reflect new
326 implementation; call `subword-setup-buffer'.
327 (subword-forward,subword-capitalize): Add underscore to indicate
328 unused variable.
329 (subword-find-word-boundary-function-table): New constant.
330 (subword-empty-char-table): New constant.
331 (subword-setup-buffer): New function.
332 (subword-find-word-boundary): New function.
333
334 2014-03-23 Daniel Colascione <dancol@dancol.org>
335
336 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
337 list to look for keyword arguments instead of `memq', fixing
338 (Bug#3647) --- unfortunately, only for freshly-compiled code.
339 Please make bootstrap.
340
341 2014-03-22 Glenn Morris <rgm@gnu.org>
342
343 * dired.el (dired-read-regexp): Make obsolete.
344 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
345 (dired-flag-files-regexp):
346 * dired-aux.el (dired-mark-read-regexp):
347 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
348
349 * startup.el (fancy-startup-text):
350 * help.el (describe-gnu-project): Visit online info about GNU project.
351
352 * help-fns.el (help-fns--interactive-only): New function.
353 (help-fns-describe-function-functions): Add the above function.
354 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
355 (next-line, previous-line): Remove hand-written interactive-only
356 information from doc strings, it is auto-generated now.
357 * bookmark.el (bookmark-write):
358 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
359 (epa-mail-import-keys): Mark interactive-only,
360 and remove hand-written interactive-only information from doc strings.
361 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
362 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
363 * files.el (not-modified):
364 * simple.el (mark-whole-buffer): Mark interactive-only.
365
366 * emacs-lisp/byte-run.el (defun-declarations-alist):
367 Add interactive-only. Doc tweak.
368 (macro-declarations-alist): Doc tweak.
369 * subr.el (declare): Doc tweak (add xref to manual).
370 * comint.el (comint-run):
371 * files.el (insert-file-literally, insert-file):
372 * replace.el (replace-string, replace-regexp):
373 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
374 (delete-forward-char, goto-line, insert-buffer, next-line)
375 (previous-line): Set interactive-only via declare.
376
377 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
378
379 * emacs-lisp/package.el (package-desc): Use the contents of the
380 quoted form, not its cdr. (Bug#16873)
381
382 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
383
384 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
385 benefit of doc.c; change parameter profile to match the X function.
386
387 2014-03-22 Leo Liu <sdl.web@gmail.com>
388
389 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
390 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
391
392 2014-03-21 Richard Stallman <rms@gnu.org>
393
394 * battery.el (battery-linux-sysfs): Search for each field
395 from the beginning of the buffer.
396
397 * subr.el (set-transient-map): Clear out function and value
398 of the temporary symbol when we're done with it.
399
400 * mail/rmailsum.el (rmail-summary-delete-forward):
401 Optimize case of reaching end and handling count.
402 (rmail-summary-mark-deleted): Optimize when N is current msg.
403 Don't create new summary line.
404 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
405 (rmail-summary-undelete-many): Rewrite for speed.
406 (rmail-summary-msg-number): New function.
407
408 * mail/rmail.el (rmail-delete-message): Update summary.
409 (rmail-undelete-previous-message): Handle repeat count arg.
410 (rmail-delete-backward, rmail-delete-forward): Likewise.
411
412 2014-03-21 Daniel Colascione <dancol@dancol.org>
413
414 * mail/emacsbug.el (report-emacs-bug): Include memory usage
415 information in bug reports.
416
417 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
418
419 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
420 and `tramp-copy-env'.
421
422 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
423 (tramp-maybe-open-connection): Handle `tramp-login-env'.
424
425 2014-03-21 Glenn Morris <rgm@gnu.org>
426
427 * electric.el (electric-indent-post-self-insert-function): Add doc.
428
429 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
430
431 * emacs-lisp/package.el (package-compute-transaction):
432 Use `version-list-<=' to compare the requirement version against
433 the version of package already to be installed. Update the error
434 message. (Bug#16826)
435
436 * progmodes/ruby-mode.el (ruby-smie-rules):
437 Add indentation rule for ` @ '. (Bug#17050)
438
439 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
440
441 * align.el (align-regexp): Remove superfluous backslash.
442
443 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
444 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
445 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
446 Fix docstring typos.
447 (ffap-next): Use C-u in docstring.
448 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
449 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
450 Remove superfluous backslashes.
451 (ffap-string-at-point): Reflow docstring.
452
453 * server.el (server-host): Reflow docstring.
454 (server-unload-function): Fix docstring typo.
455 (server-eval-at): Remove superfluous backslash.
456
457 * skeleton.el (skeleton-insert): Remove superfluous backslash.
458 (skeleton-insert): Doc fix.
459 (skeleton-insert): Reflow docstring.
460
461 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
462 (tty-color-approximate, tty-color-by-index, tty-color-values)
463 (tty-color-desc): Remove superfluous backslashes.
464
465 2014-03-21 Glenn Morris <rgm@gnu.org>
466
467 * cus-start.el (history-length): Bump :version.
468
469 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
470 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
471 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
472 Don't set `make-backup-files'.
473
474 * info.el (info--prettify-description): New function,
475 to give info-finder descriptions consistent case, punctuation.
476 (Info-finder-find-node): Use it. Sort packages.
477 Refer to "description" rather than "commentary".
478
479 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
480
481 * frameset.el (frameset--print-register): New function.
482 (frameset-to-register): Use it.
483
484 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
485
486 * progmodes/hideif.el (hif-string-to-number): New function.
487 (hif-tokenize): Use it to understand non-decimal floats.
488
489 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
490
491 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
492
493 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * electric.el (electric-newline-and-maybe-indent): New command.
496 Bind it globally to C-j.
497 (electric-indent-mode): Don't mess with the global map any more.
498 Don't drop the post-self-insert-hook is some buffer is still using it
499 (bug#16770).
500 * bindings.el (global-map): Remove C-j binding.
501
502 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
503 the docstring of functions advised before dumping (bug#16993).
504
505 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
506
507 * ps-print.el (ps-generate-postscript-with-faces):
508 Explicitly deactivate the mark (bug#16866).
509 * simple.el (deactivate-mark): Update region highlight.
510
511 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
512
513 * emacs-lisp/package.el (describe-package-1):
514 Decode commentary (bug#16733).
515
516 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
517
518 * custom.el (defcustom): Doc fix: recommend avoiding destructive
519 modification of the value argument of :set (bug#16755).
520
521 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * simple.el (newline-and-indent): Do autofill (bug#17031).
524
525 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
526
527 * newcomment.el (comment-normalize-vars): Only add escaping check
528 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
529 (comment-beginning): Use `narrow-to-region' instead of moving back
530 one character.
531 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
532 (comment-start-skip): Update the docstring.
533
534 2014-03-18 Richard Stallman <rms@gnu.org>
535
536 * dired.el (dired-display-file): Force use of other window.
537
538 2014-03-18 Daniel Colascione <dancol@dancol.org>
539
540 * startup.el (tty-handle-args): Remove debug message from 2007.
541
542 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
545 (advice--make-interactive-form): Use it to avoid (auto)loading function.
546 (advice--make-1, advice-add, advice-remove):
547 Remove braindead :advice-pending hack.
548
549 2014-03-17 Glenn Morris <rgm@gnu.org>
550
551 * calendar/calendar.el (calendar-generate-month): Apply weekend
552 face to the right days; fixes 2013-08-06 change. (Bug#17028)
553
554 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
555
556 * net/tramp.el (tramp-action-out-of-band): Read pending output.
557 (tramp-call-process): Trace also DESTINATION.
558
559 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
560 Quote file names when they are local. Remove superfluous trace.
561
562 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
563
564 * newcomment.el (comment-beginning): If `comment-start-skip'
565 doesn't match, move back one char and try again. (Bug#16971)
566
567 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
568 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
569 Set `comment-start-skip' to a simpler value that doesn't try to
570 check if the semicolon is escaped (this is handled by
571 `syntax-ppss' now). (Bug#16971)
572
573 * progmodes/scheme.el (scheme-mode-variables): Same.
574
575 2014-03-16 Martin Rudalics <rudalics@gmx.at>
576
577 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
578 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
579 current (Bug#16816, Bug#17007).
580 (with-current-buffer-window): New macro doing the same as
581 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
582 * help.el (help-print-return-message): Warn in doc-string to not
583 use this in `with-help-window'.
584 (describe-bindings-internal): Call `describe-buffer-bindings'
585 from within help buffer. See Juanma's scenario in (Bug#16816).
586 (with-help-window): Update doc-string.
587 * dired.el (dired-mark-pop-up):
588 * files.el (save-buffers-kill-emacs):
589 * register.el (register-preview): Use `with-current-buffer-window'
590 instead of `with-temp-buffer-window'.
591
592 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
593
594 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
595 Implement inserting into current buffer, documented in their docstrings.
596 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
597 (rst-section-tree-point, rst-forward-section, rst-indent)
598 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
599 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
600 (rst-font-lock-handle-adornment-pre-match-form)
601 (rst-repeat-last-character): Reflow docstrings.
602 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
603 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
604 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
605 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
606 Fix docstring typos.
607 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
608 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
609 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
610
611 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
612
613 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
614 for compatibility with other ports.
615 (ns-initialize-window-system): Use it. It is set in term/common-win.el
616 from the -xrm command line argument, but in the Nextstep port its value
617 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
618
619 * progmodes/python.el (defconst, python-syntax-count-quotes)
620 (python-indent-region, python-indent-shift-right)
621 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
622 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
623 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
624 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
625 (inferior-python-mode, python-shell-make-comint, run-python-internal)
626 (python-shell-buffer-substring, python-shell-send-buffer)
627 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
628 (python-completion-complete-at-point, python-fill-docstring-style)
629 (python-eldoc-function, python-imenu-format-item-label)
630 (python-imenu-format-parent-item-label)
631 (python-imenu-format-parent-item-jump-label)
632 (python-imenu--build-tree, python-imenu-create-index)
633 (python-imenu-create-flat-index): Fix docstring typos.
634 (python-indent-context, python-shell-prompt-regexp, run-python):
635 Remove superfluous backslashes.
636 (python-indent-line, python-nav-beginning-of-defun)
637 (python-shell-get-buffer, python-shell-get-process)
638 (python-info-current-defun, python-info-current-line-comment-p)
639 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
640 (python-indent-post-self-insert-function, python-shell-send-file)
641 (python-shell-completion-get-completions)
642 (python-shell-completion-complete-or-indent)
643 (python-eldoc--get-doc-at-point): Reflow docstrings.
644
645 2014-03-14 Glenn Morris <rgm@gnu.org>
646
647 * emacs-lisp/package.el (package-menu-mode-map):
648 Replace use of obsolete function alias. Tweak menu item text.
649
650 * info.el (Info-finder-find-node):
651 Ignore the `emacs' metapackage. (Bug#10813)
652
653 * finder.el (finder-list-matches): Include unversioned packages
654 in the result of a keyword search.
655
656 * finder.el (finder--builtins-descriptions): New constant.
657 (finder-compile-keywords): Use finder--builtins-descriptions.
658
659 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
660
661 * simple.el (blink-matching-paren): Describe the new value,
662 `jump', enabling the old behavior.
663 (blink-matching-open): Use that value. (Bug#17008)
664
665 2014-03-14 Glenn Morris <rgm@gnu.org>
666
667 * finder.el (finder-no-scan-regexp): Add leim-list.
668 (finder-compile-keywords):
669 Don't skip files with same basename. (Bug#14010)
670 * Makefile.in (setwins_finder): New, excluding leim.
671 (finder-data): Use setwins_finder.
672
673 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
674 (help-function-arglist, help-make-usage): Move from here...
675 * help.el (help-split-fundoc, help-add-fundoc-usage)
676 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
677 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
678
679 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
680
681 * net/socks.el (socks, socks-override-functions)
682 (socks-find-services-entry):
683 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
684 (hif-find-ifdef-block):
685 * progmodes/modula2.el (m2-indent): Fix docstring typos.
686
687 * net/tls.el (tls-program): Reflow docstring.
688
689 * progmodes/pascal.el (pascal-mode-abbrev-table)
690 (pascal-imenu-generic-expression, pascal-auto-endcomments)
691 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
692 (pascal-outline-mode): Fix docstring typos.
693 (pascal-mode): Let define-derived-mode document mode hook.
694 (pascal-uncomment-area): Reflow.
695 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
696
697 * progmodes/opascal.el (opascal-compound-block-indent)
698 (opascal-case-label-indent): Fix docstring typos.
699 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
700
701 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
702
703 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
704 Fontify multiple adjacent negation chars. (Bug#17004)
705
706 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
707
708 * emacs-lisp/package.el (package--prepare-dependencies):
709 Accept requirements without explicit version (bug#14941).
710
711 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
712
713 * register.el (register-separator, copy-to-register): Doc fixes.
714 (register-preview-default): Remove unnecessary call to concat.
715
716 * frameset.el (frameset-restore): When checking for a visible frame,
717 use the action map instead of calling visible-frame-list.
718
719 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
720
721 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
722
723 2014-03-12 Martin Rudalics <rudalics@gmx.at>
724
725 * window.el (fit-frame-to-buffer): Get maximum width from
726 display's width instead of height.
727
728 2014-03-12 Glenn Morris <rgm@gnu.org>
729
730 * desktop.el (desktop-restore-frames)
731 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
732 (desktop-restore-reuses-frames): Doc tweaks.
733
734 * electric.el (electric-indent-mode): Doc fix.
735
736 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
737
738 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
739 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
740 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
741 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
742 (cvs-dired-use-hook): Fix docstring typos.
743 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
744 Doc fixes.
745
746 * vc/pcvs-defs.el (cvs-auto-remove-handled)
747 (cvs-auto-remove-directories, cvs-default-ignore-marks)
748 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
749 (cvs-execute-single-dir): Fix docstring typos.
750
751 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
752 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
753
754 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
755
756 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
757 Fix docstring typos.
758
759 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
760
761 * frameset.el (frameset--jump-to-register): Add autoload; it could be
762 called from jump-to-register after unloading the frameset package.
763
764 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
765
766 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
767 (bug#16975). Deactivate the mark before setting it to nil.
768 (activate-mark): Do nothing if region is already active.
769
770 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
771
772 * frameset.el (frameset--target-display): Remove definition; declare.
773 (frameset-save, frameset-restore): Let-bind frameset--target-display.
774
775 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
778 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
779 when the advice is pending.
780 (advice-remove): Remove this marker when not needed any more.
781
782 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
783
784 * frameset.el: Separate options for reusing frames and cleaning up.
785 (frameset--reuse-list): Remove definition; declare.
786 (frameset--action-map): Declare.
787 (frameset--find-frame-if): Doc fix.
788 (frameset--restore-frame): Cache frame action.
789 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
790 how to clean up the frame list after restoring. Remove cleaning
791 options from REUSE-FRAMES. Change all keyword values to symbols.
792 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
793
794 * desktop.el (desktop-restore-forces-onscreen)
795 (desktop-restore-reuses-frames): Use non-keyword values.
796 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
797
798 2014-03-10 Glenn Morris <rgm@gnu.org>
799
800 * files.el (find-file): Doc fix: update info node name.
801
802 * emacs-lisp/advice.el (ad-add-advice, defadvice):
803 Doc fix: remove references to deleted info nodes.
804
805 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
806
807 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
808 Do not add `nil' to the environment, when there's no remote `locale'.
809 (tramp-find-inline-encoding): Check, that the remote host has
810 installed perl, before sending scripts.
811
812 2014-03-10 Leo Liu <sdl.web@gmail.com>
813
814 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
815 Clear eldoc-last-message. (Bug#16920)
816
817 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
820 (bug#14430).
821
822 2014-03-09 Juri Linkov <juri@jurta.org>
823
824 * ansi-color.el (ansi-color-names-vector): Copy default colors
825 from `xterm-standard-colors' that look well on the default white
826 background (and also on the black background) to avoid illegible
827 color combinations like yellow-on-white and white-on-white.
828 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
829
830 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
831
832 * frameset.el (frameset-restore): When no frame is visible, do not
833 generate a list of frames, just make visible the selected one.
834
835 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
836
837 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
838 it only contains the repository root. (Bug#16897)
839
840 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
841
842 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
843 only when `remote-file-name-inhibit-cache' is nil.
844 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
845
846 2014-03-06 Martin Rudalics <rudalics@gmx.at>
847
848 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
849 Fix doc-strings.
850 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
851 fit-frame-to-buffer variable. Fix doc-string.
852 (fit-window-to-buffer): Set ONLY argument in call of
853 fit-frame-to-buffer. Fix doc-string.
854
855 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
856
857 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
858 (tramp-action-password): Clear password cache if needed.
859 (tramp-read-passwd): Do not clear password cache.
860
861 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
862 cache unless it is the first password request.
863
864 2014-03-06 Glenn Morris <rgm@gnu.org>
865
866 * simple.el (newline): Doc tweak.
867
868 * emacs-lisp/shadow.el (load-path-shadows-find):
869 Ignore dir-locals. (Bug#12357)
870
871 2014-03-05 Glenn Morris <rgm@gnu.org>
872
873 * files.el (interpreter-mode-alist):
874 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
875
876 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
877
878 * frameset.el (frameset--initial-params): Filter out null entries.
879
880 2014-03-05 Martin Rudalics <rudalics@gmx.at>
881
882 * window.el (window-min-height, window-min-width):
883 Rewrite doc-strings.
884 (window-body-size): Add PIXELWISE argument to make it consistent
885 with its callees.
886
887 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
888
889 * finder.el (finder-mode-map, finder-mode-syntax-table):
890 Revert part of 2014-02-28 change.
891
892 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
893
894 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
895 (eww-setup-buffer): Clear next/prev/etc more reliably.
896 (eww-textarea-map): [tab] doesn't work on tty.
897 Reported by Mario Lang.
898
899 * net/shr.el (shr-map): Ditto.
900
901 2014-03-04 Glenn Morris <rgm@gnu.org>
902
903 * minibuffer.el (completion-hilit-commonality):
904 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
905
906 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
907
908 * hilit-chg.el (hilit-chg-unload-function): New function.
909 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
910 (hilit-chg-map-changes): Prefer cardinal number to digit.
911 (hilit-chg-display-changes): Reflow docstring.
912 (highlight-changes-rotate-faces): Remove superfluous backslash.
913
914 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
915
916 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
917 `tramp-send-command-and-check'.
918
919 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
920
921 * hexl.el (hexl-address-region, hexl-ascii-region)
922 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
923 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
924 (hexl-forward-word, hexl-previous-line, hexl-next-line):
925 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
926 (hexl-mode): Doc fix.
927 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
928 (hexl-mode-ruler): Fix typos in docstrings.
929
930 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
931 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
932 Remove superfluous backslashes.
933 (strokes-last-stroke, strokes-global-map, strokes-mode):
934 Reflow docstrings.
935 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
936 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
937 (strokes-distance-squared, strokes-global-set-stroke)
938 (strokes-global-set-stroke-string): Doc fixes.
939 (strokes-help): Fix typos; reflow docstring.
940
941 2014-03-04 Martin Rudalics <rudalics@gmx.at>
942
943 * window.el (window-in-direction): Fix doc-string.
944
945 2014-03-04 Glenn Morris <rgm@gnu.org>
946
947 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
948 Explicit error if no grammar.
949 (smie-config-save): Doc fix. Fix quote typo.
950
951 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
952
953 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
954 electric-indent-mode-hook if we obey electric-indent-mode.
955 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
956 decide whether we obey electric-indent-mode.
957 (c-change-set-fl-decl-start, c-extend-after-change-region):
958 Silence warnings.
959 (c-electric-indent-mode-hook): Assume we do want to obey
960 electric-indent-mode.
961
962 * electric.el (electric-indent-mode-has-been-called): Remove.
963 (electric-indent-mode): Fix accordingly.
964
965 * files.el (hack-local-variables): Mention file name in warning.
966
967 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
968
969 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
970
971 * binding.el: Add comment describing why C-d binds to `delete-char'.
972 * simple.el (delete-forward-char): Mark as interactive-only.
973
974 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
975
976 * icomplete.el (icomplete-completions):
977 Follow-up to 2014-03-01 change.
978
979 * icomplete.el: Miscellaneous doc fixes.
980 Use Icomplete everywhere instead of icomplete for consistency.
981 (icomplete-max-delay-chars): Fix typo.
982 (icomplete-mode): Use \[].
983 (icomplete-tidy, icomplete-exhibit): Reflow.
984 (icomplete-minibuffer-setup-hook, icomplete-completions):
985 Remove superfluous backlashes.
986
987 * ido.el: Miscellaneous doc fixes.
988 Use Ido everywhere instead of ido or `ido' for consistency.
989 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
990 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
991 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
992 (ido-separator): Extract obsolescence info from docstring and declare
993 with make-obsolete-variable.
994 (ido-minibuffer-setup-hook): Simplify example.
995 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
996 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
997 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
998 (ido-everywhere): Reflow docstring.
999 (ido-toggle-vc): Doc fix.
1000 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1001 of long list of keybindings.
1002
1003 2014-03-03 Glenn Morris <rgm@gnu.org>
1004
1005 * frame.el (display-pixel-height, display-pixel-width)
1006 (display-mm-dimensions-alist, display-mm-height)
1007 (display-mm-width): Doc tweaks.
1008
1009 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1010
1011 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1012 case of undo in region.
1013
1014 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1015
1016 * window.el (fit-window-to-buffer): Fix argument in window-size
1017 call when window is horizontally combined.
1018
1019 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1020
1021 * icomplete.el (icomplete-completions): Use string-width.
1022 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1023
1024 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1025
1026 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1027 Highlight regexp options. (Bug#16914)
1028
1029 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1030
1031 * window.el (window--max-delta-1): Round down when calculating
1032 how many lines/columns we can get from a window.
1033
1034 2014-03-01 Glenn Morris <rgm@gnu.org>
1035
1036 * isearch.el (search-invisible): Doc fix.
1037
1038 * minibuffer.el (completion-hilit-commonality):
1039 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1040 * comint.el (comint-dynamic-list-completions): Doc fix.
1041 * comint.el (comint-dynamic-list-completions):
1042 * filecache.el (file-cache-minibuffer-complete):
1043 * tempo.el (tempo-display-completions):
1044 * eshell/em-hist.el (eshell-list-history):
1045 Replace use of obsolete argument of display-completion-list.
1046
1047 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1048
1049 * icomplete.el (icomplete-completions):
1050 Revert back to using "..." when ?… cannot be displayed.
1051
1052 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1053
1054 * finder.el (finder-unload-function): New function.
1055
1056 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1057
1058 * dframe.el (dframe-detach):
1059 * find-dired.el (find-dired, find-name-dired):
1060 * finder.el (finder-mode-map, finder-mode-syntax-table)
1061 (finder-headmark, finder-select, finder-mouse-select):
1062 Fix docstring typos.
1063
1064 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1065
1066 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1067 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1068 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1069 Fix doc-string based on a suggestion by Nicolas Richard
1070 <theonewiththeevillook@yahoo.fr>.
1071 * help.el (with-help-window): Fix doc-string.
1072
1073 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1074
1075 * net/shr.el (shr-image-animate): New option.
1076 (shr-put-image): Respect shr-image-animate.
1077
1078 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1079
1080 * net/tramp-adb.el (tramp-adb-parse-device-names):
1081 Use `accept-process-output'.
1082 (tramp-adb-handle-file-truename): Cache the localname only.
1083 (tramp-adb-handle-make-directory)
1084 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1085 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1086 modes cannot be changed.
1087
1088 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1089 file properties of symlinks.
1090
1091 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1092
1093 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1094 required/optional fields to match development biblatex. (Bug#16781)
1095
1096 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1097
1098 * saveplace.el (toggle-save-place):
1099 Fix argument handling. (Bug#16673)
1100
1101 2014-02-28 Glenn Morris <rgm@gnu.org>
1102
1103 * minibuffer.el (completions-first-difference)
1104 (completions-common-part, completion-hilit-commonality): Doc fixes.
1105
1106 2014-02-28 Karl Berry <karl@gnu.org>
1107
1108 * info.el (Info-mode-map): Add H for describe-mode,
1109 to synchronize with standalone Info.
1110
1111 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1112
1113 * progmodes/sql.el (sql-interactive-mode):
1114 Avoid setting global comint-input-ring-separator. (Bug#16814)
1115
1116 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1117
1118 * net/dbus.el (dbus--init-bus): Declare function.
1119 (dbus-path-local, dbus-interface-local): New defconst.
1120 (dbus-init-bus): Use them.
1121 (dbus-return-values-table): Extend doc.
1122 (dbus-handle-bus-disconnect): Extend error message.
1123
1124 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1125
1126 * subr.el (y-or-n-p): Fix double space issue in message.
1127
1128 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1129
1130 * net/tramp.el (tramp-call-process): Improve trace message.
1131 (tramp-handle-insert-file-contents): Trace error case.
1132
1133 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1134 <insert-directory>: Use `tramp-handle-insert-directory'.
1135 (tramp-adb-handle-insert-directory): Remove function.
1136 (tramp-adb-send-command-and-check): New defun, replacing
1137 `tramp-adb-command-exit-status'. Change all callees.
1138 (tramp-adb-handle-file-attributes)
1139 (tramp-adb-handle-directory-files-and-attributes): Use it.
1140 (tramp-adb-ls-output-name-less-p):
1141 Use `directory-listing-before-filename-regexp'.
1142 (tramp-adb-handle-delete-directory): Flush also file properties of
1143 the truename of directory.
1144 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1145 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1146 (tramp-adb-handle-write-region): Implement APPEND.
1147 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1148 properties correctly.
1149 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1150 variables. Check for connected devices only when needed.
1151
1152 2014-02-27 Glenn Morris <rgm@gnu.org>
1153
1154 * minibuffer.el (completion-table-dynamic)
1155 (completion-table-with-cache): Doc fixes.
1156
1157 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1158 (completing-read-multiple): Doc fixes.
1159
1160 2014-02-27 Daniel Colascione <dancol@dancol.org>
1161
1162 * minibuffer.el (completion--nth-completion): Fix indentation.
1163
1164 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1165 explicit tramp path is empty.
1166
1167 2014-02-27 Glenn Morris <rgm@gnu.org>
1168
1169 * emacs-lisp/crm.el (completing-read-multiple):
1170 Empower help-enable-auto-load.
1171
1172 2014-02-26 Glenn Morris <rgm@gnu.org>
1173
1174 * startup.el (command-line): Don't init the tty in daemon mode.
1175
1176 Avoid calling tty-setup-hook twice, eg if a term file
1177 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1178 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1179 (tty-create-frame-with-faces): Use it.
1180 * startup.el (command-line): Pass run-hook argument
1181 to tty-run-terminal-initialization.
1182
1183 * dired.el (dired-restore-desktop-buffer): Demote errors;
1184 eg in case a glob match fails. (Bug#16884)
1185
1186 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1187
1188 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1189 error from `read-from-string'. (Bug#16850)
1190
1191 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1192 result of `completing-read' in the interactive form. (Bug#16854)
1193
1194 2014-02-25 Glenn Morris <rgm@gnu.org>
1195
1196 * image.el (image-animate, image-animate-timeout):
1197 Stop animating images in dead buffers. (Bug#16878)
1198
1199 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1200
1201 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1202 Doc fixes.
1203 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1204 * term/sun.el (sun-raw-prefix-hooks):
1205 Use tty-setup-hook instead of term-setup-hook.
1206 (terminal-init-sun): Construct message from bytecomp plist.
1207 * term/wyse50.el (enable-arrow-keys): Doc fix.
1208
1209 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1210
1211 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1212 Fix docstring typos.
1213
1214 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1215
1216 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1217
1218 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1219
1220 * minibuffer.el (completion--try-word-completion):
1221 Fix error when completing M-x commands (bug#16808).
1222
1223 2014-02-24 Leo Liu <sdl.web@gmail.com>
1224
1225 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1226
1227 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1228
1229 * apropos.el (apropos-print): Avoid formatting error when
1230 apropos-do-all and apropos-compact-layout are both t.
1231
1232 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1233
1234 * apropos.el (apropos-property, apropos-all-words-regexp)
1235 (apropos-true-hit, apropos-variable, apropos-print):
1236 Fix docstring typos, and remove obsolete comment.
1237
1238 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1239
1240 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1241 Preserve trailing "/". (Bug#16851)
1242
1243 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1244
1245 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1246 after `=>' (bug#16811).
1247 (ruby-smie-rules): Handle the inconsistent second element of the
1248 list returned by `smie-indent--parent'.
1249 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1250 method call.
1251
1252 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1253
1254 * elec-pair.el (electric-pair-text-syntax-table)
1255 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1256 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1257 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1258 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1259
1260 2014-02-22 Glenn Morris <rgm@gnu.org>
1261
1262 * imenu.el (imenu--generic-function): Doc fix.
1263
1264 * register.el (frame-configuration-to-register): Make obsolete.
1265
1266 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1267
1268 * desktop.el (desktop-save-buffer-p): Do not fail when
1269 desktop-files-not-to-save is nil. Return t for true result
1270 as the doc says.
1271
1272 2014-02-22 Daniel Colascione <dancol@dancol.org>
1273
1274 * net/secrets.el (secrets-create-item, secrets-search-items):
1275 Check that attribute values are strings, avoiding the construction
1276 of invalid dbus messages.
1277
1278 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1279
1280 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1281 defun-declarations-alist.
1282
1283 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1286 (bug#16829).
1287
1288 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1289
1290 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1291 (whitespace-newline, whitespace-trailing, whitespace-line)
1292 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1293 (whitespace-space-after-tab): Fix typo in docstrings.
1294
1295 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1296
1297 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1298
1299 * electric.el (electric-indent-functions-without-reindent):
1300 Add `yaml-indent-line'.
1301
1302 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1303
1304 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1305 It has done nothing for years; should be removed after the release.
1306
1307 * simple.el (choose-completion): Fix docstring typo.
1308 (read-quoted-char-radix): Remove unneeded * in docstring.
1309 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1310 Don't escape parentheses unnecessarily in docstrings.
1311
1312 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1313
1314 Fix handling of window-min-height/-width (Bug#16738).
1315 * window.el (window--dump-window, window--dump-frame):
1316 New functions.
1317 (window--min-size-1): Account for window dividers.
1318 When window-resize-pixelwise is nil, delay rounding till after the
1319 sum of the window components has been calculated.
1320 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1321 nil make sure at least one text line and two text columns remain
1322 fully visible.
1323 (window-resize): Signal an error when window-resize-apply fails.
1324 (window--resize-child-windows): Fix calculation of by how many
1325 pixels a window can still be shrunk via window-new-normal.
1326 (adjust-window-trailing-edge): Call window--resizable with
1327 correct TRAIL argument.
1328
1329 (with-temp-buffer-window): Don't evaluate BODY within
1330 with-current-buffer (Bug#16816).
1331
1332 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1333
1334 * net/tramp.el (tramp-check-cached-permissions):
1335 Call `file-attributes' with `suffix' being a symbol but a string.
1336
1337 2014-02-21 Daniel Colascione <dancol@dancol.org>
1338
1339 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1340 (dbus-init-bus): New function: call into dbus-init-bus-1
1341 and installs a handler for the disconnect signal.
1342 (dbus-call-method): Rewrite to look for result in cons.
1343 (dbus-call-method-handler): Store result in cons.
1344 (dbus-check-event): Recognize events with nil sender as valid.
1345 (dbus-handle-bus-disconnect): New function. React to bus
1346 disconnection signal by synthesizing dbus error for each
1347 pending synchronous or asynchronous call.
1348 (dbus-notice-synchronous-call-errors): New function.
1349 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1350 is true, not all the time.
1351
1352 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1353
1354 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1355 Remove obsolescence declarations, these variables do not exist anymore.
1356
1357 * savehist.el (savehist-save-minibuffer-history)
1358 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1359 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1360 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1361 mostly, refer to "Savehist mode" when talking about the mode,
1362 and not the function.
1363
1364 * saveplace.el (save-place): Remove redundant info in docstring.
1365 (save-place-forget-unreadable-files, toggle-save-place)
1366 (save-place-forget-unreadable-files, save-place-dired-hook):
1367 Fix typos and remove unneeded backslashes.
1368
1369 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1370
1371 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1372 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1373
1374 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1375 <insert-directory>: Use `tramp-handle-insert-directory'.
1376 (tramp-gvfs-handle-insert-directory): Remove function.
1377
1378 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1379 Call `tramp-handle-insert-directory'.
1380
1381 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1382
1383 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1384 before the start of buffer/region (bug#16799).
1385
1386 2014-02-20 Glenn Morris <rgm@gnu.org>
1387
1388 * isearch.el (search-invisible): Doc fix.
1389
1390 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1391
1392 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1393 (bug#16657).
1394
1395 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1396
1397 * frameset.el (frameset-restore): Delay removing an old frame's
1398 duplicate id until the new frame has been correctly created.
1399
1400 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1401
1402 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1403 (tramp-check-cached-permissions): Call `file-attributes' if the
1404 cache is empty.
1405
1406 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1407 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1408
1409 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1410 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1411 (tramp-gvfs-maybe-open-connection): Set always connection
1412 properties, even if target is mounted already.
1413
1414 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1415 Set tramp-autoload cookie.
1416 (tramp-get-remote-touch): New defun.
1417 (tramp-sh-handle-set-file-times): Use it.
1418 (tramp-sh-handle-directory-files-and-attributes):
1419 Use `tramp-handle-directory-files-and-attributes' if neither stat
1420 nor perl are available on the remote host.
1421
1422 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1423 "/". Write long listing only when "l" belongs to the switches.
1424
1425 * net/trampver.el: Update release number.
1426
1427 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1428
1429 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1430
1431 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1432
1433 * window.el (window-state-put): Allow WINDOW to refer to an
1434 internal window (Bug#16793).
1435
1436 2014-02-19 Glenn Morris <rgm@gnu.org>
1437
1438 * textmodes/remember.el: Move provide statement to end.
1439 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1440 (remember-notes): Doc fixes.
1441
1442 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * delsel.el (delete-char): Restore incorrectly erased property
1445 (bug#16795).
1446
1447 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1448
1449 * frameset.el (frameset--restore-frame): When a frame is being reused
1450 and its root window is not alive, delete all the frame's windows before
1451 restoring the window state. This works around the issue in bug#16793.
1452
1453 2014-02-18 Glenn Morris <rgm@gnu.org>
1454
1455 * textmodes/remember.el (remember-data-directory)
1456 (remember-directory-file-name-format, remember-store-in-files)
1457 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1458 (remember-notes-save-and-bury-buffer)
1459 (remember-notes--kill-buffer-query): Doc fixes.
1460
1461 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1462
1463 2014-02-17 Alan Mackenzie <acm@muc.de>
1464
1465 Connect electric-indent-mode up with CC Mode. Bug #15478.
1466 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1467 to electric-indent-{,local-}-mode.
1468 (c-basic-common-init): Set electric-indent-inhibit.
1469 Initialise c-electric-flag from electric-indent-mode.
1470 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1471 New hook functions which propagate electric-indent-mode to CC mode.
1472
1473 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1474 hit, toggle electric-indent-local-mode.
1475
1476 * electric.el (electric-indent-mode-has-been-called):
1477 New variable.
1478
1479 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1480
1481 * frameset.el (frameset-cfg-id): New function.
1482 (frameset--reuse-frame, frameset-restore): Use it.
1483 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1484
1485 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * ido.el (ido-file-internal): Remove unused var `d'.
1488 Use \` for to match BoS. Fit within 80n columns.
1489
1490 2014-02-17 Daniel Colascione <dancol@dancol.org>
1491
1492 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1493 dbus-call-method check for completion using a busy-wait loop with
1494 gradual backoff.
1495
1496 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1497
1498 Sync with Tramp 2.2.9.
1499
1500 * net/trampver.el: Update release number.
1501
1502 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1503
1504 * ido.el (ido-file-internal): Don't add the name of an existing
1505 directory twice. (Bug#16747)
1506
1507 2014-02-16 Glenn Morris <rgm@gnu.org>
1508
1509 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1510 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1511
1512 2014-02-15 Michael R. Mauger <michael@mauger.com>
1513
1514 * progmodes/sql.el: Version 3.4
1515 (sql-oracle-options): New default value ("-L").
1516 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1517 (sql-placeholders-filter): Correct placeholder pattern.
1518 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1519 (sql-login-delay): New variable.
1520 (sql-product-interactive): Use it.
1521
1522 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1523
1524 * frameset.el (frameset--jump-to-register): Check that buffer is live
1525 (bug#16749).
1526
1527 2014-02-15 Glenn Morris <rgm@gnu.org>
1528
1529 * info.el (info-initialize): Revert 2014-01-10 change.
1530
1531 2014-02-14 Glenn Morris <rgm@gnu.org>
1532
1533 * replace.el (map-query-replace-regexp)
1534 (read-regexp-defaults-function, read-regexp): Doc fixes.
1535
1536 * dired.el (dired-read-regexp):
1537 * faces.el (list-faces-display):
1538 * misearch.el (multi-isearch-read-matching-buffers)
1539 (multi-isearch-read-matching-files):
1540 * play/cookie1.el (cookie-apropos):
1541 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1542
1543 * textmodes/remember.el (remember): Use frameset-to-register
1544 rather than frame-configuration-to-register.
1545
1546 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1547
1548 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1549 incorrect keybinding.
1550
1551 2014-02-13 Daniel Colascione <dancol@dancol.org>
1552
1553 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1554 when adding overlays so that line numbers from compiler match line
1555 numbers we use.
1556
1557 2014-02-13 Glenn Morris <rgm@gnu.org>
1558
1559 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1560
1561 * jit-lock.el (jit-lock-mode): Doc fix.
1562
1563 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1564
1565 * apropos.el (apropos-read-pattern): When the user passes an empty
1566 string, give a more helpful error message than "Wrong type
1567 argument: stringp, nil".
1568
1569 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1572
1573 2014-02-13 Glenn Morris <rgm@gnu.org>
1574
1575 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1576
1577 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1580 shift-select commands.
1581
1582 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1583
1584 * progmodes/js.el (js-indent-line): Don't widen.
1585 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1586
1587 2014-02-12 Glenn Morris <rgm@gnu.org>
1588
1589 * icomplete.el (icomplete): Add info-link to defgroup.
1590 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1591 (icomplete-minibuffer-map, icomplete-mode)
1592 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1593
1594 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1595 (package-menu-filter): Rename from package-menu-filter-interactive.
1596 Doc fix.
1597
1598 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1599
1600 * frameset.el (frameset--jump-to-register): Select the required
1601 window and buffer before restoring position (bug#16696).
1602
1603 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1604
1605 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1606
1607 2014-02-10 Glenn Morris <rgm@gnu.org>
1608
1609 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1610
1611 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1612
1613 * w32-common-fns.el (x-get-selection): Doc fix.
1614 * select.el (x-get-selection): Doc fix. (Bug#15109)
1615
1616 * face-remap.el (face-remap-add-relative)
1617 (face-remap-remove-relative, face-remap-reset-base)
1618 (face-remap-set-base): Call force-mode-line-update to redisplay
1619 the current buffer due to potential change in faces. (Bug#16709)
1620
1621 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1622
1623 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1624 script more robustly.
1625
1626 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1627
1628 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1629
1630 * simple.el (choose-completion): Doc fix (bug#14160).
1631
1632 * subr.el (event-start): Say what a nil EVENT value means.
1633
1634 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1635 (bug#14197).
1636
1637 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1638
1639 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1640
1641 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1642
1643 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1644 predicate function (bug#15455).
1645
1646 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1647
1648 * ielm.el (inferior-emacs-lisp-mode): Instead of
1649 `comment-use-global-state', set `comment-use-syntax'.
1650
1651 2014-02-10 Glenn Morris <rgm@gnu.org>
1652
1653 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1654
1655 2014-02-09 Alan Mackenzie <acm@muc.de>
1656
1657 Fix c-invalidate-state-cache on narrowed buffers.
1658 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1659 Widen when setting and clearing the CPP delimiter properties.
1660
1661 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1662
1663 * help.el (describe-bindings): Doc fix (bug#9888).
1664
1665 * files.el (save-buffer): Use ARG as the parameter name for
1666 consistency (bug#10346).
1667 (save-buffer): Clarify the 0 argument (bug#10346).
1668
1669 * cus-edit.el (customize-apropos): Fix error string.
1670 (custom-buffer-create): Doc fix (bug#11122).
1671 (custom-sort-items): Doc fix (bug#11121).
1672
1673 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1674
1675 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1676 (icomplete-simple-completing-p): Mention the previous variable.
1677
1678 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1679 meaning of the parameter (bug#12282).
1680
1681 * files.el (find-file-noselect): Clarify prompt when changing
1682 readedness (bug#13261).
1683 (locate-file): Suffixes aren't returned, so don't say that they
1684 are (bug#12674).
1685 (backup-inhibited): Doc clarification (bug#12525).
1686
1687 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1688 before we actually start to delete things (bug#16331).
1689
1690 * subr.el (event-start): Doc fix (bug#14228).
1691 (event-end): Ditto.
1692
1693 2014-02-09 Glenn Morris <rgm@gnu.org>
1694
1695 * emacs-lisp/warnings.el (lwarn):
1696 Empower help-enable-auto-load. (Bug#15940)
1697
1698 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1699
1700 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1701 (Bug#16690)
1702
1703 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1704
1705 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1706 Insert output at end of buffer. (Bug#16120)
1707
1708 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1709
1710 * simple.el (choose-completion-string-functions): Document new
1711 calling convention (bug#14153).
1712 (execute-extended-command): Clarify doc string (bug#13373).
1713
1714 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1715
1716 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1717 (find-grep-dired): Doc fix (bug#14288).
1718
1719 2014-02-08 Juri Linkov <juri@jurta.org>
1720
1721 * isearch.el (isearch-quote-char): Check character validity
1722 like in `quoted-insert' (bug#16677).
1723
1724 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1725
1726 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1727
1728 * isearch.el (isearch-hide-immediately): Doc clarification
1729 (bug#14723).
1730
1731 * simple.el (line-move): Document utility function used many
1732 places in the Emacs sources (bug#14843).
1733
1734 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1735 (dired-prev-marked-file): Doc fix (bug#14855).
1736 (dired-up-directory): Doc fix (bug#14848).
1737
1738 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1739
1740 * files.el (file-relative-name): Doc fix (bug#15159).
1741
1742 * fringe.el (fringe-styles): Doc fix (bug#15239).
1743
1744 * isearch.el (isearch-filter-predicate): Documentation typo fix
1745 (bug#15474).
1746
1747 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1748
1749 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1750
1751 * replace.el (replace-match-maybe-edit): Doc clarification
1752 (bug#15632).
1753
1754 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1755
1756 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1757
1758 2014-02-08 Glenn Morris <rgm@gnu.org>
1759
1760 * help-fns.el (describe-variable):
1761 Check {file,dir}-local-variables-alist, and buffer-file-name,
1762 in the correct buffer.
1763
1764 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1765
1766 * help-fns.el (describe-variable): Fix the case where
1767 a value is directory-local with no dir-locals file. (Bug#16635)
1768
1769 2014-02-08 Glenn Morris <rgm@gnu.org>
1770
1771 * abbrev.el (edit-abbrevs-mode):
1772 Derive from fundamental-mode. (Bug#16682)
1773
1774 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1775
1776 * simple.el (quoted-insert): Check character validity (bug#16677).
1777
1778 2014-02-07 Juri Linkov <juri@jurta.org>
1779
1780 * desktop.el (desktop-read): Claim the lock when the owner is not
1781 the current process. (Bug#16157)
1782
1783 2014-02-07 Juri Linkov <juri@jurta.org>
1784
1785 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1786 to "\\` ". (Bug#16651)
1787
1788 2014-02-07 Juri Linkov <juri@jurta.org>
1789
1790 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1791 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1792 (desktop-auto-save-cancel-timer): New function with some code from
1793 `desktop-auto-save-set-timer'.
1794 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1795 Instead of setting `desktop-save-mode' to nil, call
1796 `desktop-save-mode' with arg 0. (Bug#16630)
1797
1798 2014-02-07 Glenn Morris <rgm@gnu.org>
1799
1800 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1801 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1802 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1803
1804 * obsolete/iswitchb.el: Move to obsolete/.
1805 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1806 since obsolete/ is not scanned for autoloads.
1807 * emacs-lisp/authors.el (authors-valid-file-names):
1808 Add iswitchb.el.
1809
1810 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1811 Disable now non-functional find-file-hook.
1812
1813 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1814
1815 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1816 instead of ";" in order to avoid additional prompts. Let heredoc
1817 scripts read from tty. (Bug#16582)
1818 (tramp-send-command): No special handling of heredocs, it isn't
1819 necessary anymore.
1820
1821 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1824 with a space (bug#16664). Limit the symbols considered to the ones
1825 that are bound or fbound (bug#16646).
1826
1827 2014-02-06 Glenn Morris <rgm@gnu.org>
1828
1829 * epa.el (epa-mail-aliases): Doc fix.
1830
1831 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1832
1833 * emacs-lisp/lisp.el (lisp-completion-at-point):
1834 Use `completion-table-merge' instead of `completion-table-in-turn'
1835 (bug#16604).
1836
1837 * minibuffer.el (completion-table-merge): New function.
1838
1839 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1840
1841 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1842 (tramp-sh-handle-set-file-acl)
1843 (tramp-sh-handle-start-file-process)
1844 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1845 (tramp-find-executable, tramp-send-command): Use it.
1846
1847 2014-02-05 Glenn Morris <rgm@gnu.org>
1848
1849 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1850
1851 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1852
1853 * progmodes/python.el (python-shell-send-string)
1854 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1855
1856 2014-02-04 Anders Lindgren <andlind@gmail.com>
1857
1858 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1859 the names (bug#16620).
1860
1861 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1862
1863 * faces.el (window-divider): New default value. Rewrite doc-string.
1864 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1865
1866 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1867
1868 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1869 `protected' and `public' can also be called without arguments.
1870
1871 2014-02-03 Glenn Morris <rgm@gnu.org>
1872
1873 * register.el (window-configuration-to-register)
1874 (frame-configuration-to-register): Unadvertise unused argument.
1875 * frameset.el (frameset-to-register): Remove unused argument.
1876
1877 * frameset.el (frameset-to-register):
1878 * kmacro.el (kmacro-to-register):
1879 * register.el (increment-register):
1880 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1881 (calc-append-to-register, calc-prepend-to-register):
1882 * play/gametree.el (gametree-layout-to-register)
1883 (gametree-apply-register-layout):
1884 * textmodes/picture.el (picture-clear-rectangle-to-register)
1885 (picture-yank-rectangle-from-register):
1886 * vc/emerge.el (emerge-combine-versions-register):
1887 Use register-read-with-preview to read registers.
1888
1889 2014-02-03 João Távora <joaotavora@gmail.com>
1890
1891 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1892 when at beginning of (possibly narrowed) buffer.
1893
1894 2014-02-02 Daniel Colascione <dancol@dancol.org>
1895
1896 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1897 Also try to display local help from just before point.
1898
1899 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1900
1901 c-parse-state. Don't "append-lower-brace-pair" in certain
1902 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1903 recognised as a comment.
1904
1905 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1906 as well as normal comment starter.
1907 (c-parse-state-get-strategy): Extra return possibility
1908 'back-and-forward.
1909 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1910 return value list to indicate replacement of a brace-pair cons
1911 with its car.
1912 (c-parse-state-1): With 'back-and-forward, only call
1913 c-append-lower-brace-pair-to state-cache when cons-separated.
1914
1915 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1916
1917 * term/ns-win.el (ns-suspend-error): New function.
1918 (ns-initialize-window-system): Add ns-suspend-error to
1919 suspend-hook (Bug#16612).
1920
1921 2014-02-02 Daniel Colascione <dancol@dancol.org>
1922
1923 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1924 Make loading cc-mode silent.
1925
1926 2014-02-02 Daniel Colascione <dancol@dancol.org>
1927
1928 * comint.el (comint-prompt-read-only): Change doc to suggest
1929 remap keybinding.
1930
1931 2014-02-02 Glenn Morris <rgm@gnu.org>
1932
1933 * register.el (register-read-with-preview, point-to-register)
1934 (window-configuration-to-register, frame-configuration-to-register)
1935 (jump-to-register, number-to-register, view-register, insert-register)
1936 (copy-to-register, append-to-register, prepend-to-register)
1937 (copy-rectangle-to-register): Doc fixes.
1938
1939 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1942 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1943 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1944 * help-fns.el (describe-function-1): Use it.
1945
1946 2014-02-02 Glenn Morris <rgm@gnu.org>
1947
1948 * register.el (register-preview-default): New function,
1949 split from register-preview.
1950 (register-preview-function): Rename from register-preview-functions,
1951 make it not a hook.
1952 (register-preview): Use register-preview-function.
1953 (register-read-with-preview): Error on non-character event. (Bug#16595)
1954
1955 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1956
1957 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1958 `:' before binary operators (bug#16609). Don't check for `:'
1959 before `[' and `(', or their syntax status. A percent literal
1960 can't end with either.
1961 (ruby-font-lock-keywords): For built-ins that require arguments,
1962 check that they're followed by something that looks like argument
1963 (bug#16610).
1964
1965 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1966
1967 * subr.el (butlast): Document what an omitted N means (bug#13437).
1968 (nbutlast): Ditto.
1969
1970 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1971
1972 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1973 depth shallower (bug#16587).
1974 (shr-tag-svg): Respect `shr-inhibit-images'.
1975 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1976
1977 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1978
1979 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1980 (ruby-smie-grammar): Make "." right-associative. Make its priority
1981 lower than the ternary and all binary operators.
1982 (ruby-smie-rules): Indent "(" relative to the first non-"."
1983 parent, or the first "." parent at indentation.
1984 Use `ruby-align-chained-calls' for indentation of "." tokens.
1985 (Bug#16593)
1986
1987 2014-01-31 Juri Linkov <juri@jurta.org>
1988
1989 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1990 from `make-hash-table'.
1991
1992 * textmodes/ispell.el (ispell-init-process): Change message format
1993 to be consistent with other messages.
1994
1995 2014-01-31 Glenn Morris <rgm@gnu.org>
1996
1997 * delsel.el (delete-selection-mode): Doc fix.
1998
1999 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2000 (trace-function-background): Doc fixes.
2001
2002 * ido.el (ido-use-virtual-buffers): Doc fix.
2003 Reset :version, since the default value has not changed.
2004
2005 * register.el (register-preview-delay, register-read-with-preview):
2006 Doc fixes.
2007
2008 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2009 do not mess with mail-buffer position (fixes 2009-11-03 change).
2010 * progmodes/cc-mode.el (c-submit-bug-report):
2011 Check auto-fill-mode is bound. (Bug#16592)
2012
2013 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2014
2015 * startup.el (fancy-splash-image-file): New function,
2016 split from fancy-splash-head.
2017 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2018 so that we are both using the same image. (Bug#16574)
2019
2020 2014-01-30 Glenn Morris <rgm@gnu.org>
2021
2022 * simple.el (eval-expression): Doc fix.
2023
2024 * hexl.el (hexl-mode-hook):
2025 * ielm.el (ielm-mode-hook):
2026 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2027 (lisp-interaction-mode-hook):
2028 * progmodes/cfengine.e (cfengine3-documentation-function):
2029 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2030
2031 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2032
2033 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2034 is a symbol (bug#16584).
2035
2036 2014-01-30 Glenn Morris <rgm@gnu.org>
2037
2038 * help.el (help-for-help-internal): Add "P" to text.
2039
2040 2014-01-29 Glenn Morris <rgm@gnu.org>
2041
2042 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2043
2044 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2045
2046 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2047 height constraints.
2048
2049 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2050
2051 * progmodes/hideif.el: Extend to full CPP expression syntax.
2052 (hif-token-alist): Add missing tokens.
2053 (hif-token-regexp): Add support for float/octal/hex immediates.
2054 (hif-string-literal-regexp): New const.
2055 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2056 (hif-exprlist): New function.
2057 (hif-parse-if-exp): Use it.
2058 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2059 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2060 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2061 (hif-logxor, hif-comma): New functions.
2062
2063 2014-01-28 Glenn Morris <rgm@gnu.org>
2064
2065 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2066
2067 * indent.el (tab-stop-list): Doc fix. Add :version.
2068
2069 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2070 (cvs-append-to-ignore): Add compatibility alias.
2071
2072 2014-01-27 Glenn Morris <rgm@gnu.org>
2073
2074 * dired.el (dired-hide-details-mode): Don't autoload it,
2075 since it cannot be used outside Dired buffers anyway.
2076
2077 * emulation/cua-base.el (cua-mode): Doc fix.
2078
2079 * dired.el (dired-hide-details-hide-symlink-targets)
2080 (dired-hide-details-hide-information-lines)
2081 (dired-hide-details-mode): Doc fixes.
2082
2083 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2084 * strokes.el (strokes-file): Doc fix. Bump :version.
2085 (strokes-help): Doc fix.
2086 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2087 * emulation/viper.el (viper): Doc fix for custom group.
2088 (top-level): Remove oh-so-no-longer-relevant text about vip.
2089 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2090
2091 * ido.el (ido-save-directory-list-file):
2092 * saveplace.el (save-place-file):
2093 * calendar/timeclock.el (timeclock-file):
2094 * net/quickurl.el (quickurl-url-file):
2095 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2096 * progmodes/idlwave.el (idlwave-config-directory):
2097 * textmodes/remember.el (remember-data-file):
2098 Bump :version.
2099
2100 2014-01-26 Glenn Morris <rgm@gnu.org>
2101
2102 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2103 Doc fix. Make obsolete.
2104 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2105
2106 * sort.el (delete-duplicate-lines): Doc fix.
2107
2108 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2109
2110 * progmodes/ada-mode.el (ada):
2111 * woman.el (woman): Link to info manual and Commentary section.
2112
2113 * progmodes/flymake.el (flymake):
2114 * nxml/nxml-mode.el (nxml):
2115 * net/eww.el (eww):
2116 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2117 * htmlfontify.el (htmlfontify):
2118 * ses.el (ses):
2119 * epa.el (epa):
2120 * ido.el (ido): Link to info manual.
2121
2122 2014-01-25 Leo Liu <sdl.web@gmail.com>
2123
2124 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2125
2126 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2127
2128 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2129 (bug#16537).
2130
2131 >>>>>>> MERGE-SOURCE
2132 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2133
2134 * net/eww.el (eww-download-callback):
2135 Fix reference to eww-download-directory.
2136
2137 * emacs-lisp/bytecomp.el (byte-compile-file):
2138 Remove unused local variable `file-name'.
2139
2140 2014-01-24 Glenn Morris <rgm@gnu.org>
2141
2142 * woman.el (woman-default-faces, woman-monochrome-faces):
2143 Fix obsolescence specification.
2144
2145 * subr.el (with-demoted-errors): Doc fix.
2146
2147 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2150 (cl--macroexp-fboundp): New function.
2151 (cl--make-type-test): Use it.
2152
2153 2014-01-23 Glenn Morris <rgm@gnu.org>
2154
2155 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2156 * simple.el (eval-expression): Doc fixes.
2157
2158 2014-01-22 Glenn Morris <rgm@gnu.org>
2159
2160 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2161
2162 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * emacs-lisp/package.el: Write files silently.
2165 (package-autoload-ensure-default-file, package--write-file-no-coding)
2166 (package-generate-description-file, package--download-one-archive)
2167 (package-install-from-archive): Tell `write-region' to stay quiet.
2168 (package-menu-mode, package-menu--print-info): Omit the Archive column
2169 if there's only one archive.
2170 (package-all-keywords, package--has-keyword-p): Remove dead code.
2171
2172 2014-01-22 Glenn Morris <rgm@gnu.org>
2173
2174 * version.el (emacs-bzr-version-bzr): Fix typo.
2175
2176 * version.el (emacs-repository-get-version):
2177 Check either .bzr or .git, but not both.
2178 Make the git case actually use the DIR argument, and return nil
2179 rather than the empty string.
2180 Avoid error if .git exists but the git executable is not found.
2181
2182 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2183
2184 Fixes in window size functions around Bug#16430 and Bug#16470.
2185 * window.el (window-total-size, window-size): New argument ROUND.
2186 (window--min-delta-1, window-min-delta, window--max-delta-1):
2187 Be more conservative when calculating the numbers of lines or
2188 columns a window can shrink (Bug#16430).
2189 (fit-window-to-buffer): Simplify code.
2190 * term.el (term-window-width): Call window-body-width again.
2191
2192 2014-01-22 Glenn Morris <rgm@gnu.org>
2193
2194 * image.el (image-format-suffixes): Doc fix.
2195
2196 * international/quail.el (quail-define-package): Doc fix.
2197
2198 * emacs-lisp/authors.el (authors-valid-file-names)
2199 (authors-renamed-files-alist): Additions.
2200
2201 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2202 reverts 2014-01-09 change. (Bug#16422)
2203
2204 * calc/calc-embed.el (thing-at-point-looking-at):
2205 * emacs-lisp/map-ynp.el (x-popup-dialog):
2206 * obsolete/lmenu.el (x-popup-dialog):
2207 * emacs-lisp/package.el (url-recreate-url):
2208 * mail/mailclient.el (clipboard-kill-ring-save):
2209 * subr.el (x-popup-dialog): Update declaration.
2210 * mail/rmail.el (rmail-mime-message-p):
2211 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2212
2213 2014-01-21 Daniel Colascione <dancol@dancol.org>
2214
2215 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2216 Correctly detect when we're inside an arithmetic expansion form
2217 containing nested parenthesis.
2218 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2219 to detect cases where we shouldn't expand "<<" to a heredoc
2220 skeleton.
2221
2222 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2225 (eldoc--message-command-p): New function.
2226 (eldoc-display-message-p): Use it.
2227 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2228 message is not automatically erased for us.
2229 (eldoc-print-current-symbol-info): Erase previous message, if any.
2230
2231 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2232
2233 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2234 specify it's an interactive function.
2235
2236 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2237 Fix regex used for scanning for citation keys which failed for
2238 citations with optional arguments.
2239
2240 2014-01-21 Leo Liu <sdl.web@gmail.com>
2241
2242 * simple.el (read--expression): Don't enable eldoc-mode.
2243
2244 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * simple.el (move-beginning-of-line): Make sure we don't move forward
2247 (bug#16497).
2248
2249 2014-01-20 Juri Linkov <juri@jurta.org>
2250
2251 * saveplace.el (toggle-save-place, save-place-to-alist)
2252 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2253 'dired-mode) before checking for dired-directory. (Bug#16477)
2254
2255 2014-01-20 Juri Linkov <juri@jurta.org>
2256
2257 * indent.el (indent-line-to): Use backward-to-indentation
2258 instead of back-to-indentation. (Bug#16461)
2259
2260 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2261
2262 Revert some of the CANNOT_DUMP fix (Bug#16494).
2263 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2264 but fixing this can wait until after the next release.
2265 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2266
2267 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2268
2269 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2270 Use `password-word-equivalents'.
2271 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2272 to t. (Bug#5664, Bug#13124)
2273
2274 2014-01-19 Alan Mackenzie <acm@muc.de>
2275
2276 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2277 points.
2278 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2279 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2280 * progmodes/cc-mode.el (c-before-change, c-after-change)
2281 (c-font-lock-fontify-region): Bind it here.
2282
2283 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2284
2285 * term.el (term-window-width): Call window-text-width instead of
2286 window-width (Bug#16470).
2287
2288 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2289
2290 * simple.el (password-word-equivalents): Remove duplicates.
2291 Sort, to make this easier next time.
2292 Downcase. Omit ": " after "jelszó".
2293
2294 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2295
2296 * term/common-win.el (saved-region-selection): Defvar it.
2297 (x-select-text): Set saved-region-selection (Bug#16382).
2298
2299 2014-01-18 Glenn Morris <rgm@gnu.org>
2300
2301 * emacs-lisp/authors.el (authors-aliases)
2302 (authors-renamed-files-alist): Add some entries.
2303
2304 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2305
2306 * net/tramp.el (tramp-password-prompt-regexp):
2307 Use `password-word-equivalents' if available.
2308 (tramp-action-password, tramp-process-one-action)
2309 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2310
2311 2014-01-17 Chong Yidong <cyd@gnu.org>
2312
2313 * simple.el (password-word-equivalents): New defcustom.
2314 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2315 to 24.4.
2316 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2317 to t. (Bug#13124)
2318
2319 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2320
2321 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2322 (ruby-align-to-stmt-keywords): Change the default value.
2323 Use `ruby-alignable-keywords' to generate the possible customization
2324 choices.
2325 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2326 keywords, check against the value of `ruby-alignable-keywords'
2327 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2328
2329 2014-01-17 Glenn Morris <rgm@gnu.org>
2330
2331 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2332
2333 Make M-x authors return zero *Authors Errors* from current logs.
2334 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2335 (authors-ignored-files): Add some entries, remove others.
2336 (authors-ambiguous-files, authors-valid-file-names):
2337 Add some entries.
2338 (authors-renamed-files-alist): Add, remove, and adjust entries.
2339 (authors-renamed-files-regexps): Add some entries.
2340 Remove some very broad ones. Make some entries `lax'.
2341 (authors-lax-changelogs): New constant.
2342 (authors-disambiguate-file-name): Treat top-level specially.
2343 (authors-lax-changelog-p): New function.
2344 (authors-canonical-file-name): Check file as written against
2345 authors-valid-file-names. Do not special-case etc/.
2346 Handle `lax' logs and authors-renamed-files-regexps elements.
2347
2348 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2349
2350 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2351 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2352 callers.
2353
2354 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2357 Assume we're already in the proper buffer.
2358 Inspired by Anders Lindgren <andlind@gmail.com>.
2359 (follow-post-command-hook): Call it from the right buffer.
2360 (follow-comint-scroll-to-bottom): Adjust call.
2361 (follow-all-followers): Use get-buffer-window-list.
2362
2363 2014-01-15 Daniel Colascione <dancol@dancol.org>
2364
2365 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2366 `buffer-file-name' in interactive-form so that we don't leave
2367 pathless file names in `file-name-history'.
2368
2369 2014-01-15 Juri Linkov <juri@jurta.org>
2370
2371 * indent.el (indent-rigidly): Set deactivate-mark to nil
2372 in transient indentation mode. (Bug#16438)
2373
2374 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2375
2376 * emacs-lisp/package.el (package-desc-keywords): New function
2377 (Bug#16222).
2378 (describe-package-1, package-all-keywords)
2379 (package--has-keyword-p): Use it.
2380
2381 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2382
2383 * simple.el (define-alternatives): When creating the
2384 COMMAND-alternatives variable, assign COMMAND as its definition
2385 name so that `describe-variable' can relocate it.
2386
2387 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2388
2389 * font-lock.el (font-lock-keywords): Fix typo in docstring
2390 (bug#16307).
2391
2392 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2393
2394 * ispell.el (ispell-region): Reset `in-comment' for new line
2395 instead of wrongly reset `add-coment' (bug#13577).
2396
2397 2014-01-14 Daiki Ueno <ueno@gnu.org>
2398
2399 * epa-file.el (epa-file-write-region): Encode the region according
2400 to `buffer-file-format'. Problem reported at:
2401 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2402
2403 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2406 so it applies in the right buffer (bug#16410).
2407
2408 2014-01-13 Daniel Colascione <dancol@dancol.org>
2409
2410 * textmodes/rst.el (rst-define-key): Provide deprecated
2411 keybindings through named functions instead of anonymous ones so
2412 that "??" doesn't appear in describe-mode output.
2413
2414 2014-01-13 Bastien Guerry <bzg@gnu.org>
2415
2416 * simple.el (define-alternatives): Call the selected command
2417 interactively. When setting `COMMAND--implementation' for the
2418 first time, tell the user how to chose another implementation.
2419 Enhance the docstring.
2420
2421 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2424 (log-edit--match-first-line): New function.
2425 (log-edit-font-lock-keywords): Use it.
2426 (log-edit-mode): Make jit-lock-defer-multiline work.
2427
2428 2014-01-13 Bastien Guerry <bzg@gnu.org>
2429
2430 * rect.el (rectangle-mark-mode): When the region is not active,
2431 display a message saying that the mark as been set and that
2432 rectangle mode is in use.
2433 (rectangle--highlight-for-redisplay): Only put an overlay with a
2434 visible vertical bar when (display-graphic-p) is non-nil.
2435 This partially fixes Bug#16403.
2436
2437 2014-01-13 Juri Linkov <juri@jurta.org>
2438
2439 * info.el (Info-find-file): Go to DIR before displaying the error
2440 about a nonexistent file if no previous Info file is visited.
2441 Use `user-error' instead of `error' for "Info file %s does not exist".
2442 (Info-find-node-2): In case of a nonexistent node in unwind forms
2443 go to the Top node if there is no previous node to revert to.
2444 (Bug#16405)
2445
2446 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2447
2448 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2449 * window.el (fit-frame-to-buffer): Fix doc-string.
2450 Respect window-min-height/-width. Fit pixelwise when
2451 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2452 when avoiding that frame goes partially off-screen.
2453 (fit-window-to-buffer): Respect window-min-height/-width
2454 (Bug#14096).
2455
2456 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2459 after an empty line.
2460
2461 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2462
2463 * net/shr.el (shr-render-region): Autoload.
2464
2465 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2466
2467 * net/eww.el (eww-download-directory): Rename from
2468 `eww-download-path' (Bug#16419).
2469
2470 2014-01-12 Leo Liu <sdl.web@gmail.com>
2471
2472 * dired-x.el (dired-mode-map): Fix last change.
2473
2474 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2475
2476 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2477
2478 Spelling fixes.
2479 * emacs-lisp/generic.el (generic--normalize-comments):
2480 Rename from generic--normalise-comments. All uses changed.
2481 * play/bubbles.el (bubbles--neighborhood-score)
2482 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2483 (bubbles--neighborhood-available)
2484 (bubbles--update-neighborhood-score):
2485 Rename from names with 'neighbourhood'. All uses changed.
2486
2487 2014-01-12 Leo Liu <sdl.web@gmail.com>
2488
2489 Re-implement the feature of showing eldoc info after editing.
2490 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2491 (eldoc-edit-message-commands): New function.
2492 (eldoc-print-after-edit): New variable.
2493 (eldoc-pre-command-refresh-echo-area): Emit message only by
2494 eldoc-message-commands.
2495 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2496 if eldoc-print-after-edit is set. (Bug#16346)
2497 * simple.el (read--expression): Enable eldoc-mode.
2498 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2499
2500 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2501 Eric S. Raymond <esr@thyrsus.com>
2502
2503 * version.el (emacs-repository-get-version): Enhance so the
2504 function works correctly in either a Bazaar or Git repo.
2505
2506 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2507
2508 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2509 Goes with removal of the joke manpages from /etc.
2510
2511 2014-01-10 Kenichi Handa <handa@gnu.org>
2512
2513 * mail/rmail.el (rmail-get-coding-system):
2514 Check rmail-get-coding-function before "funcall"ing it.
2515
2516 2014-01-10 Glenn Morris <rgm@gnu.org>
2517
2518 * emacs-lisp/authors.el (authors-fixed-entries):
2519 Update for files that no longer exist.
2520
2521 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2522
2523 * version.el (emacs-bzr-get-version): Restore compatibilty with
2524 24.3 (Tested).
2525
2526 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2527
2528 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2529 and Podfile.
2530
2531 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2532
2533 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2534
2535 2014-01-10 Chong Yidong <cyd@gnu.org>
2536
2537 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2538
2539 2014-01-10 Anders Lindgren <andlind@gmail.com>
2540
2541 * follow.el (follow-cache-command-list): Include right-char and
2542 left-char.
2543
2544 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2545
2546 Spelling fixes.
2547 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2548 * woman.el (woman-mark-horizontal-position):
2549 Rename from woman-mark-horizonal-position. Use changed.
2550
2551 2014-01-10 Glenn Morris <rgm@gnu.org>
2552
2553 * info.el (info-initialize): If running uninstalled, ensure our
2554 own info files are always found first, even if INFOPATH is set.
2555
2556 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2557
2558 2014-01-09 David Engster <deng@randomsample.de>
2559
2560 * emacs-lisp/eieio-custom.el:
2561 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2562 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2563 * emacs-lisp/eieio.el: Regenerate autoloads.
2564
2565 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2566
2567 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2568 following renames. (Bug#8756)
2569
2570 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2573 (bug#16382).
2574 (activate-mark): Add `no-tmm' argument.
2575 (set-mark, push-mark-command): Use it instead of running
2576 activate-mark-hook by hand.
2577
2578 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2579
2580 In preparation for the move to git, sanitize out some
2581 Bazaar-specific names.
2582
2583 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2584
2585 * version.el (emacs-bzr-version): Name changed to
2586 emacs-repository-version. Obsolete-variable alias made.
2587 * loadup.el: Follow through on this name change.
2588 * mail/emacsbug.el (report-emacs-bug): Factor out any
2589 assumption about the version control system in use.
2590
2591 2014-01-08 David Engster <deng@randomsample.de>
2592
2593 * help-fns.el (help-fns-describe-function-functions):
2594 New variable to call functions for augmenting help buffers.
2595 (describe-function-1): Remove explicit calls to
2596 `help-fns--compiler-macro', `help-fns--parent-mode' and
2597 `help-fns--obsolete'. Put them in above new variable instead, and
2598 call them through `run-hook-with-args'.
2599 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2600 `eieio-describe-class'. Not meant for interactive use anymore,
2601 but to augment existing help buffers. Remove optional second
2602 argument. Create proper button for file location.
2603 Rewrite function to use `insert' instead of `princ' and `prin1' where
2604 possible.
2605 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2606 (eieio-method-def, eieio-class-def): Move further up.
2607 (describe-method, describe-generic, eieio-describe-method):
2608 Remove aliases.
2609 (eieio-help-constructor, eieio-help-generic): Rename from
2610 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2611 Rewrite to use `insert' in the current buffer and use proper help
2612 buttons.
2613 (eieio-help-find-method-definition)
2614 (eieio-help-find-class-definition): Also accept symbols as
2615 arguments.
2616 (eieio-help-mode-augmentation-maybee): Remove.
2617 (eieio-describe-class-sb): Use `describe-function'.
2618 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2619 Add `eieio-help-generic' and `eieio-help-constructor'.
2620
2621 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2622
2623 Spelling fixes.
2624 * language/china-util.el (hz-ascii-designation):
2625 Rename from hz-ascii-designnation.
2626 (hz-ascii-designation): Rename from hz-ascii-designnation.
2627 All uses changed.
2628
2629 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2632 package-alist.
2633
2634 2014-01-08 Bastien Guerry <bzg@gnu.org>
2635
2636 * emacs-lisp/package.el (package-delete):
2637 Correctly delete the package from package-alist.
2638
2639 2014-01-08 Daiki Ueno <ueno@gnu.org>
2640
2641 * emacs-lisp/package.el (url-recreate-url): Declare.
2642 (url-http-target-url): Declare.
2643 (package-handle-response): Include requested URL in the error message.
2644 (package--check-signature): Don't re-signal errors from
2645 package--with-work-buffer. Suggested by Stefan Monnier.
2646
2647 2014-01-07 Bastien Guerry <bzg@gnu.org>
2648
2649 * minibuffer.el (completion--try-word-completion): When both a
2650 hyphen and a space are possible candidates for the character
2651 following a word, display both candidates. (Bug#15980)
2652
2653 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2654
2655 * window.el (balance-windows-2): While rounding don't give a
2656 window more than the remainder. Bug#16351, bug#16383.
2657
2658 2014-01-07 Glenn Morris <rgm@gnu.org>
2659
2660 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2661 (menu-bar-help-menu): Use view-external-packages instead.
2662
2663 2014-01-07 Bastien Guerry <bzg@gnu.org>
2664
2665 * emacs-lisp/package.el (package-delete): Also delete the package
2666 name from `package-alist', not its description only.
2667
2668 2014-01-07 Glenn Morris <rgm@gnu.org>
2669
2670 * help.el (view-external-packages):
2671 * menu-bar.el (menu-bar-help-extra-packages):
2672 Visit efaq.info rather than etc/MORE.STUFF.
2673
2674 2014-01-07 Juri Linkov <juri@jurta.org>
2675
2676 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2677 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2678
2679 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2680 that shadows RET. (Bug#16342)
2681
2682 2014-01-07 Chong Yidong <cyd@gnu.org>
2683
2684 * isearch.el (isearch-yank-char, isearch-yank-word)
2685 (isearch-yank-line): Doc fix.
2686
2687 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2690 * emacs-lisp/elint.el (elint-find-builtins):
2691 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2692 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2693 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2694 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2695 * apropos.el (apropos-safe-documentation):
2696 * subr.el (symbol-file): Remove redundant fboundp.
2697 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2698
2699 2014-01-06 Bastien Guerry <bzg@gnu.org>
2700
2701 * hl-line.el (global-hl-line-overlay): Make a local variable.
2702 (global-hl-line-overlays): New variable to store all overlays.
2703 (global-hl-line-mode): Don't delete overlays from the current
2704 buffer when `global-hl-line-sticky-flag' is non-nil.
2705 (global-hl-line-highlight): Add new overlays to
2706 `global-hl-line-overlays'.
2707 (global-hl-line-unhighlight-all): New function to delete all
2708 overlays when turning off `global-hl-line-mode'.
2709 This fixes Bug#16183.
2710
2711 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2712
2713 * subr.el (set-transient-map): Fix nested case and docstring.
2714
2715 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2716
2717 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2718 `Texinfo' entry.
2719
2720 2014-01-06 Daniel Colascione <dancol@dancol.org>
2721
2722 Fix defun navigation in vc log view.
2723
2724 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2725 like `beginning-of-defun'.
2726 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2727 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2728 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2729 (log-view-extract-comment): Call `log-view-current-entry' directly
2730 instead of relying on broken `log-view-beginning-of-defun' behavior.
2731
2732 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2733
2734 Spelling fixes.
2735 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2736 * emacs-lisp/debug.el (cancel-debug-on-entry):
2737 * epg.el (epg-error-to-string):
2738 * files.el (recover-file):
2739 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2740 * mail/emacsbug.el (report-emacs-bug-hook):
2741 * mail/sendmail.el (mail-recover):
2742 * ses.el (ses-yank-resize):
2743 * term/ns-win.el (ns-print-buffer):
2744 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2745 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2746 All uses changed.
2747 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2748
2749 2014-01-06 Leo Liu <sdl.web@gmail.com>
2750
2751 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2752 to avoid shadowing global key. (Bug#16354)
2753
2754 2014-01-06 Daniel Colascione <dancol@dancol.org>
2755
2756 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2757 rst-mode.
2758
2759 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2760
2761 * window.el (balance-windows): Add mising t to fix Bug#16351.
2762
2763 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2764
2765 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2766 (bug#16285).
2767 (shr-insert): If we have a word that's longer than `shr-width',
2768 break after it anyway. Otherwise we'll do no breaking once we get
2769 such a long word.
2770
2771 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2772
2773 * net/eww.el (eww): Support single/double quote for search.
2774 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2775 (eww-history-quit): Delete and use quit-window.
2776 (eww-history-kill): Delete, because it doesn't work well and
2777 not necessary.
2778 (eww-history-mode-map): Delete some keys and add easy-menu.
2779
2780 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2781
2782 Fix misspelling of 'chinese' in rx (Bug#16237).
2783 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2784 chinese-two-byte.
2785
2786 Change subword regexps back to vars (Bug#16296).
2787 * progmodes/subword.el (subword-forward-regexp)
2788 (subword-backward-regexp): Change these back to variables.
2789
2790 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2793 syntax-begin-function (bug#16247).
2794
2795 2014-01-03 Chong Yidong <cyd@gnu.org>
2796
2797 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2798 (advice--docstring): Delete variable.
2799 (advice--make-1): Leave the docstring empty.
2800 (advice-add): Use function-documentation for advised docstring.
2801
2802 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2803 Ignore function-documentation property when getting documentation.
2804 (ad-activate-advised-definition): Use function-documentation
2805 generate the docstring.
2806 (ad-make-advised-definition): Don't call
2807 ad-make-advised-definition-docstring.
2808 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2809 Delete functions.
2810
2811 * progmodes/sql.el (sql-help): Use function-documentation instead
2812 of dynamic-docstring-function property. No need to autoload now.
2813 (sql--help-docstring): New variable.
2814 (sql--make-help-docstring): Use it.
2815
2816 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * ielm.el (ielm-tab): Retarget.
2819 (ielm-map): Use ielm-tab for tab.
2820 (ielm-complete-filename): Use comint-filename-completion.
2821 (ielm-complete-symbol): Remove.
2822 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2823 remove ielm-tab from completion-at-point-functions (bug#16224).
2824
2825 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2826 Beware signals raised by predicates (bug#16201).
2827
2828 2014-01-02 Richard Stallman <rms@gnu.org>
2829
2830 * dired-aux.el (dired-do-print): Handle printer-name.
2831
2832 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2833 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2834 (rmail-epa-decrypt): Turn off mime processing.
2835
2836 * mail/rmail.el (rmail-make-in-reply-to-field):
2837 Add parens in message-id.
2838
2839 * mail/rmail.el (rmail-get-coding-function): Variable.
2840 (rmail-get-coding-system): Use it.
2841
2842 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2843
2844 * international/mule-conf.el: Unify the charset indian-is13194.
2845 (indian-is13194): Specify unify-map.
2846
2847 2013-12-31 Leo Liu <sdl.web@gmail.com>
2848
2849 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2850
2851 2013-12-30 Daniel Colascione <dancol@dancol.org>
2852
2853 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2854 of printing a useless when we resume from sleep.
2855
2856 * progmodes/sh-script.el
2857 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2858 in indentation code. (Bug#16233)
2859
2860 2013-12-28 João Távora <joaotavora@gmail.com>
2861
2862 * elec-pair.el (electric-pair-post-self-insert-function):
2863 Don't open extra newlines at beginning of buffer. (Bug#16272)
2864
2865 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2866
2867 * frame.el (window-system-for-display): Don't allow to create a
2868 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2869
2870 2013-12-28 Glenn Morris <rgm@gnu.org>
2871
2872 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2873 Update callers.
2874
2875 * apropos.el (apropos-match-face):
2876 * calculator.el (calculator-displayer):
2877 * dabbrev.el (dabbrev-search-these-buffers-only):
2878 * face-remap.el (buffer-face-mode-face):
2879 * simple.el (yank-handled-properties):
2880 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2881 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2882 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2883 (hashcash-double-spend-database):
2884 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2885 (ruby-deep-indent-paren-style):
2886 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2887 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2888 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2889 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2890 Specify custom types.
2891
2892 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2893 * bookmark.el (bookmark-bmenu-use-header-line):
2894 * doc-view.el (doc-view-scale-internally):
2895 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2896 * register.el (register-preview-delay):
2897 * net/shr.el (shr-bullet):
2898 * progmodes/cfengine.el (cfengine-cf-promises)
2899 (cfengine-parameters-indent):
2900 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2901 * textmodes/reftex-vars.el (reftex-label-regexps):
2902 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2903
2904 * net/tls.el (tls-certtool-program): Fix default value.
2905
2906 * desktop.el (desktop-restore-in-current-display):
2907 * newcomment.el (comment-empty-lines):
2908 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2909 (idlwave-pad-keyword):
2910 * progmodes/tcl.el (tcl-tab-always-indent):
2911 * textmodes/reftex-vars.el (reftex-index-default-tag):
2912 * elec-pair.el (electric-pair-skip-whitespace):
2913 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2914
2915 * emacs-lisp/authors.el (authors-ignored-files)
2916 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2917
2918 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2919
2920 * shell.el (shell-dynamic-complete-command): Doc fix.
2921 (shell--command-completion-data): Shell completion now matches
2922 executable filenames from the current buffer's directory, on
2923 systems in which this behavior is the default (windows-nt, ms-dos).
2924
2925 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2926
2927 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2928
2929 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2932 (bug#16251).
2933
2934 * electric.el: Move all electric-pair-* to elec-pair.el.
2935 * elec-pair.el: New file, split from electric.el.
2936
2937 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2938
2939 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2940 indentation level is larger than the width, because that will
2941 infloop.
2942 (shr-insert): Fill repeatedly long texts, so that Japanese is
2943 formatted correctly (bug#16263).
2944 (shr-find-fill-point): Off by one error in comparison with the
2945 indentation.
2946
2947 2013-12-26 João Távora <joaotavora@gmail.com>
2948
2949 * electric.el (electric-pair-mode): More flexible engine for skip-
2950 and inhibit predicates, new options for pairing-related functionality.
2951 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2952 if that keeps or improves their balance in buffers.
2953 (electric-pair-delete-adjacent-pairs): Delete the pair when
2954 backspacing over adjacent matched delimiters.
2955 (electric-pair-open-extra-newline): Open extra newline when
2956 inserting newlines between adjacent matched delimiters.
2957 (electric--sort-post-self-insertion-hook):
2958 Sort post-self-insert-hook according to priority values when
2959 minor-modes are activated.
2960 * simple.el (newline-and-indent): Call newline with interactive
2961 set to t.
2962 (blink-paren-post-self-insert-function): Set priority to 100.
2963 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2964 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2965 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2966 electric-pair-open-newline-between-pairs to nil.
2967
2968 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2969
2970 * progmodes/python.el: Use lexical-binding.
2971 (python-nav-beginning-of-defun): Stop searching ASAP.
2972
2973 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2974
2975 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2976 Fix interactive spec. Doc fix. (Bug#15754)
2977
2978 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2979
2980 * emacs-lisp/byte-run.el (eval-when-compile):
2981 * progmodes/cc-defs.el (cc-eval-when-compile):
2982 Fix edebug spec (bug#16184).
2983
2984 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2985
2986 * net/shr.el (shr-visit-file): Remove debugging function.
2987 (shr-insert): Don't infloop if we can't find a good place to break
2988 the line (bug#16256).
2989
2990 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2991
2992 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2993 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2994 python-nav-lisp-forward-sexp-safe.
2995 (python-nav--forward-sexp): New argument SAFE allows switching
2996 forward sexp movement behavior for parens.
2997 (python-nav-forward-sexp): Throw errors on unterminated parens
2998 (Bug#16191).
2999 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3000 (python-nav-backward-sexp-safe): New functions.
3001 (python-shell-buffer-substring):
3002 Use `python-nav-forward-sexp-safe'.
3003
3004 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3005
3006 * net/shr.el (shr-find-fill-point): Don't break lines before a
3007 quotation mark.
3008 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3009 (shr-find-fill-point): Remove the special checks for the quotation
3010 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3011
3012 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3013
3014 * net/eww.el (eww-form-textarea): Use a different face for
3015 textareas than text input since they have different keymaps
3016 (bug#16142).
3017
3018 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3019
3020 * progmodes/python.el (python-nav-beginning-of-statement):
3021 Speed up (Bug#15295).
3022
3023 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3024
3025 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3026 the window configuration.
3027
3028 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3029
3030 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3031 we run on MS-Windows or MS-DOS.
3032
3033 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3034
3035 * window.el (balance-windows-area): Call window-size instead of
3036 window-height and window-width. Bug#16241.
3037
3038 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3039
3040 * net/eww.el (eww-bookmark-quit): Remove.
3041 (eww-bookmark-browse): Restore the window configuration when you
3042 choose a bookmark (bug#16144).
3043
3044 2013-12-24 Daniel Colascione <dancol@dancol.org>
3045
3046 * icomplete.el: Remove redundant :group arguments to `defcustom'
3047 throughout.
3048 (icomplete-show-matches-on-no-input): New customizable variable.
3049 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3050 we have something to show.
3051 (icomplete-exhibit): Compute completions even if we have no user input.
3052
3053 2013-12-23 Daniel Colascione <dancol@dancol.org>
3054
3055 * icomplete.el: Move `provide' to end of file.
3056
3057 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3058
3059 * net/gnutls.el (gnutls-verify-error): Add version tag.
3060
3061 2013-12-23 Chong Yidong <cyd@gnu.org>
3062
3063 * subr.el (set-transient-map): Rename from
3064 set-temporary-overlay-map. Doc fix.
3065
3066 * face-remap.el (text-scale-adjust):
3067 * indent.el (indent-rigidly):
3068 * kmacro.el (kmacro-call-macro):
3069 * minibuffer.el (minibuffer-force-complete):
3070 * repeat.el (repeat):
3071 * simple.el (universal-argument--mode):
3072 * calendar/todo-mode.el (todo-insert-item--next-param):
3073 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3074
3075 * indent.el (indent-rigidly): Use substitute-command-keys.
3076
3077 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3078
3079 * net/eww.el (eww-tag-select): Add text-property to jump to next
3080 select field.
3081 (eww): Add non-supported ftp error.
3082
3083 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3084
3085 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3086 comments. Handle electric indent after typing `?' and `!'.
3087
3088 2013-12-22 Chong Yidong <cyd@gnu.org>
3089
3090 * faces.el (face-spec-recalc): If the theme specs are not
3091 applicable to a frame, fall back on the defface spec.
3092 This prevents themes from obliterating faces on low-color terminals.
3093
3094 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3095
3096 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3097 after `{'. We need it after block openers, and it doesn't seem
3098 to hurt after hash openers.
3099
3100 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3101
3102 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3103 extracted from `ruby-smie-rules'.
3104 (ruby--electric-indent-chars): New variable.
3105 (ruby--electric-indent-p): New function.
3106 (ruby-mode): Use `electric-indent-functions' instead of
3107 `electric-indent-chars'.
3108
3109 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3110
3111 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3112 docstring.
3113 (ruby-smie-rules): Indent plus one level after `=>'.
3114
3115 2013-12-21 Richard Stallman <rms@gnu.org>
3116
3117 * simple.el (newline): Doc fix.
3118
3119 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3120
3121 * net/eww.el (eww-list-histories, eww-list-histories)
3122 (eww-history-browse, eww-history-quit, eww-history-kill)
3123 (eww-history-mode-map, eww-history-mode): New command and
3124 functions to list browser histories.
3125 (eww-form-text): Support text form with disabled
3126 and readonly attributes.
3127 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3128
3129 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3130
3131 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3132 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3133 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3134 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3135 Use `user-error'.
3136 (eww-bookmark-mode-map): Add menu.
3137 (eww-render, eww-mode): Use `setq-local'.
3138 (eww-tool-bar-map): New variable.
3139 (eww-mode): Set `tool-bar-map'.
3140 (eww-view-source): Check for `html-mode' with `fboundp'.
3141
3142 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3143
3144 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3145 elements with text inside. Also remove debugging.
3146
3147 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3148
3149 * cus-start.el (all): Add ns-use-srgb-colorspace.
3150
3151 2013-12-21 Chong Yidong <cyd@gnu.org>
3152
3153 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3154 undefined. Thus, theme settings for undefined faces do not take
3155 effect until the faces are defined with defface, the same as with
3156 theme variables.
3157
3158 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3159 (face-spec-reset-face): Don't assign extra properties in temacs.
3160 (face-spec-recalc): Apply X resources too.
3161
3162 2013-12-21 Chong Yidong <cyd@gnu.org>
3163
3164 * faces.el (face-spec-set):
3165 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3166 * custom.el (defface): Doc fixes (Bug#16203).
3167
3168 * indent.el (indent-rigidly-map): Add docstring, and move commands
3169 into named functions.
3170 (indent-rigidly-left, indent-rigidly-right)
3171 (indent-rigidly-left-to-tab-stop)
3172 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3173 indentation direction based on bidi direction, and accumulate
3174 sequential commands in a single undo boundary.
3175 (indent-rigidly--pop-undo): New utility function.
3176
3177 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3178
3179 * faces.el (read-face-name): Require crm.el when using crm-separator.
3180
3181 2013-12-20 Daniel Colascione <dancol@dancol.org>
3182
3183 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3184 so that we don't reflow comments into the shebang line.
3185
3186 2013-12-20 Juri Linkov <juri@jurta.org>
3187
3188 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3189 a position when `dired-directory' is non-nil. Check integer
3190 positions with `integerp'.
3191 (toggle-save-place, save-places-to-alist): Add check for
3192 `dired-directory'.
3193 (save-place-find-file-hook): Check integer positions with
3194 `integerp'.
3195 (save-place-dired-hook): Use `dired-goto-file' when
3196 `dired-filename' is found in the assoc list. Check integer
3197 positions with `integerp'.
3198 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3199
3200 * dired.el (dired-initial-position-hook): Rename back from
3201 `dired-initial-point-hook'.
3202 (dired-initial-position): Rename `dired-initial-point-hook' to
3203 `dired-initial-position-hook'.
3204 (dired-file-name-at-point): Doc fix. (Bug#15329)
3205
3206 2013-12-20 Juri Linkov <juri@jurta.org>
3207
3208 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3209 (read-regexp-suggestions): New function.
3210 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3211 Use `read-regexp-suggestions'. Add non-empty default to history
3212 for empty input.
3213 (occur-read-regexp-defaults-function): Remove function.
3214 (occur-read-primary-args): Use `regexp-history-last' instead of
3215 `occur-read-regexp-defaults-function'.
3216
3217 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3218 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3219 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3220 `hi-lock-read-regexp-defaults-function'. Doc fix.
3221 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3222 with `find-tag-default-as-symbol-regexp'. Doc fix.
3223 (hi-lock-read-regexp-defaults): Remove function.
3224 (hi-lock-regexp-okay): Add check for null.
3225
3226 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3227 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3228
3229 * subr.el (find-tag-default-as-symbol-regexp): New function.
3230 (find-tag-default-as-regexp): Move symbol regexp formatting to
3231 `find-tag-default-as-symbol-regexp'.
3232
3233 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3234
3235 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3236 (Bug#14179)
3237
3238 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3239
3240 * calendar/todo-mode.el: New implementation of item insertion
3241 commands and key bindings.
3242 (todo-key-prompt): New face.
3243 (todo-insert-item): New command.
3244 (todo-insert-item--parameters): New defconst, replacing defvar
3245 todo-insertion-commands-args-genlist.
3246 (todo-insert-item--param-key-alist): New defconst, replacing
3247 defvar todo-insertion-commands-arg-key-list.
3248 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3249 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3250 (todo-insert-item--next-param): New functions.
3251 (todo-insert-item--args, todo-insert-item--argleft)
3252 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3253 New variables.
3254 (todo-key-bindings-t): Change binding of "i" from
3255 todo-insertion-map to todo-insert-item.
3256 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3257 (todo-insertion-command-name, todo-insertion-commands-names)
3258 (todo-define-insertion-command, todo-insertion-commands)
3259 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3260
3261 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3262
3263 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3264 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3265 eval-when-compile.
3266 (todo-move-category): Allow choosing a non-existing todo file to
3267 move the category to, and create that file.
3268 (todo-default-priority): New user option.
3269 (todo-set-item-priority): Use it.
3270 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3271 (desktop-restore-file-buffer): Declare.
3272 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3273 (todo-modes-set-2): Locally set desktop-save-buffer to
3274 todo-desktop-save-buffer.
3275 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3276 (auto-mode-alist): Add autoload cookie.
3277
3278 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3279
3280 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3281 helpers.el was a poor choice of name.
3282 (string-remove-prefix): New function.
3283 (string-remove-suffix): New function.
3284
3285 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3286
3287 Fix assignment for new window total sizes.
3288 * window.el (window--pixel-to-size): Remove function.
3289 (window--pixel-to-total-1, window--pixel-to-total):
3290 Fix calculation of new total sizes.
3291
3292 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3293
3294 * comint.el (comint-output-filter): Fix rear-nonsticky property
3295 placement (Bug#16010).
3296
3297 2013-12-20 Chong Yidong <cyd@gnu.org>
3298
3299 * faces.el (read-color): Minor fix for completion function.
3300
3301 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3302
3303 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3304 New option. (Bug#16182)
3305 (ruby-smie--indent-to-stmt-p): Use it.
3306 (ruby-smie-rules): Revert the logic in the handling of `when'.
3307 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3308 (ruby-deep-arglist, ruby-deep-indent-paren)
3309 (ruby-deep-indent-paren-style): Update docstrings to note that the
3310 vars don't have any effect with SMIE.
3311
3312 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3313
3314 * calc/calc.el (calc-enter, calc-pop): Use the variable
3315 `calc-context-sensitive-enter'.
3316
3317 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3318
3319 * net/shr.el (shr-insert): Protect against infloops in degenerate
3320 tables.
3321
3322 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3323
3324 * progmodes/octave.el (octave): Add link to manual and octave
3325 homepage.
3326 (octave-mode-menu): Link to octave-mode manual.
3327
3328 2013-12-20 Leo Liu <sdl.web@gmail.com>
3329
3330 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3331 insertion using skeleton-end-newline. (Bug#16138)
3332
3333 2013-12-20 Juri Linkov <juri@jurta.org>
3334
3335 * replace.el (occur-engine): Use `add-face-text-property'
3336 to add the face property to matches and titles. (Bug#14645)
3337
3338 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3339 the palette of other hi-lock colors.
3340 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3341
3342 2013-12-19 Juri Linkov <juri@jurta.org>
3343
3344 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3345 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3346 (minibuffer-history-symbol): Move variable declaration closer to
3347 its usage.
3348
3349 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3350 (Bug#14785)
3351
3352 2013-12-19 Juri Linkov <juri@jurta.org>
3353
3354 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3355 New function.
3356 (log-edit-hook): Add it to :options. (Bug#16170)
3357
3358 2013-12-19 Juri Linkov <juri@jurta.org>
3359
3360 * simple.el (eval-expression-print-format): Don't check for
3361 command names and the last command. Always display additional
3362 formats of the integer result in the echo area, and insert them
3363 to the current buffer only with a zero prefix arg.
3364 Display character when char-displayable-p is non-nil.
3365 (eval-expression): With a zero prefix arg, set `print-length' and
3366 `print-level' to nil, and insert the integer values from
3367 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3368
3369 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3370 `eval-last-sexp-arg-internal'. Doc fix.
3371 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3372 `eval-last-sexp-print-value'. Doc fix.
3373 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3374 Set `print-length' and `print-level' to nil when arg is zero.
3375 (eval-last-sexp): Doc fix.
3376 (eval-defun-2): Print the integer values from
3377 `eval-expression-print-format' at the end.
3378
3379 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3380 values from `eval-expression-print-format' at the end.
3381
3382 * ielm.el (ielm-eval-input): Print the integer
3383 values from `eval-expression-print-format' at the end.
3384
3385 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3386
3387 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3388 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3389
3390 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3393 (hl-line-highlight, global-hl-line-highlight): Use it.
3394 (hl-line-overlay): Use defvar-local.
3395
3396 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3397
3398 * term/ns-win.el: Require dnd.
3399 (global-map): Remove drag items.
3400 (ns-insert-text, ns-set-foreground-at-mouse)
3401 (ns-set-background-at-mouse):
3402 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3403 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3404 New functions.
3405
3406 2013-12-19 Glenn Morris <rgm@gnu.org>
3407
3408 * emacs-lisp/ert.el (ert-select-tests):
3409 Fix string/symbol mixup. (Bug#16121)
3410
3411 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3412
3413 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3414 keywords to their parent.
3415
3416 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3417
3418 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3419 first arg to be a string (fixed dead code), or an operator symbol.
3420 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3421 operator symbols.
3422 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3423 did nothing. Don't respond to `(:after ".")', it will be called
3424 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3425 change anything. Only return indentation for binary operators
3426 when they are hanging. De-dent opening paren when its parent is
3427 `.', otherwise it looks bad when the dot is not at bol or eol
3428 (bug#16182).
3429
3430 2013-12-19 Juri Linkov <juri@jurta.org>
3431
3432 * replace.el (query-replace-read-args): Split a non-negative arg
3433 and a negative arg into separate elements.
3434 (query-replace, query-replace-regexp, replace-string)
3435 (replace-regexp): Add arg `backward'. Doc fix.
3436 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3437 move point to the beginning of the match.
3438 (replace-search, replace-highlight): Use new arg `backward'
3439 to set the value of `isearch-forward'.
3440 (perform-replace): Add arg `backward' and use it to perform
3441 replacement backward. (Bug#14979)
3442
3443 * isearch.el (isearch-query-replace): Use a negative prefix arg
3444 to call `perform-replace' with a non-nil arg `backward'.
3445
3446 2013-12-18 Juri Linkov <juri@jurta.org>
3447
3448 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3449 to the default list. Move `log-edit-show-files' to the end.
3450 Add more available functions to options.
3451 (log-edit): Move default specific settings to
3452 `log-edit-insert-message-template'. Don't move point.
3453 (log-edit-insert-message-template): New function.
3454 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3455 (Bug#16170)
3456
3457 2013-12-18 Juri Linkov <juri@jurta.org>
3458
3459 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3460 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3461
3462 2013-12-18 Leo Liu <sdl.web@gmail.com>
3463
3464 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3465 (Bug#16186)
3466
3467 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3468
3469 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3470 formats for displaying file sizes when the -s switch is given.
3471 Instead, compute a separate format for displaying the size in
3472 blocks, which is displayed in addition to the "regular" size.
3473 When -h is given in addition to -s, produce size in blocks in
3474 human-readable form as well. (Bug#16179)
3475
3476 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3477
3478 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3479 Reference tables with ~\ref{...} instead of only \ref{...}.
3480
3481 2013-12-18 Chong Yidong <cyd@gnu.org>
3482
3483 * cus-edit.el (custom-magic-alist): Fix "themed" description
3484 (Bug#14348).
3485
3486 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3487 is non-nil, do not create a new entry in the symbol's theme-value
3488 or theme-face property; update theme-settings only (Bug#14664).
3489 (custom-available-themes): Doc fix.
3490
3491 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3492 (Bug#15674).
3493
3494 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3495
3496 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3497
3498 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3499 (Bug#13914).
3500
3501 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3502
3503 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3504
3505 2013-12-18 Glenn Morris <rgm@gnu.org>
3506
3507 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3508 * cus-start.el (load-prefer-newer): New option.
3509
3510 2013-12-18 Le Wang <l26wang@gmail.com>
3511
3512 * comint.el (comint-previous-matching-input-from-input):
3513 Retain point (Bug#13404).
3514
3515 2013-12-18 Chong Yidong <cyd@gnu.org>
3516
3517 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3518
3519 2013-12-18 Glenn Morris <rgm@gnu.org>
3520
3521 * mail/emacsbug.el (report-emacs-bug):
3522 Only mention enable-multibyte-characters if non-standard.
3523
3524 2013-12-17 Juri Linkov <juri@jurta.org>
3525
3526 * arc-mode.el (archive-extract-by-file): Check if directory exists
3527 before deletion to not show irrelevant errors if it doesn't exist.
3528
3529 2013-12-17 Juri Linkov <juri@jurta.org>
3530
3531 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3532 (Bug#14751)
3533
3534 * net/eww.el (browse-web): Add alias to `eww'.
3535 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3536 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3537
3538 * net/browse-url.el (browse-url-browser-function): Move `eww'
3539 closer to similar functions.
3540
3541 * startup.el (fancy-startup-screen, fancy-about-screen):
3542 Set browse-url-browser-function to eww-browse-url locally.
3543 (Bug#14751)
3544
3545 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3546
3547 * window.el (window--pixel-to-total): Remove unused `mini' var.
3548 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3549 (split-window): Remove unused `new' var.
3550 (window--display-buffer): Remove unused `frame' and `delta' vars.
3551 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3552 and display-width'.
3553
3554 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3555
3556 * dired.el (dired-mark-pop-up):
3557 * register.el (register-preview): Don't bind
3558 split-height-threshold here since it's now done in
3559 display-buffer-below-selected.
3560
3561 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3562
3563 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3564 xterm-rgb-convert-to-16bit.
3565 (rxvt-register-default-colors): Standardize with
3566 xterm-register-default-colors (Bug#14078).
3567
3568 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3569
3570 * simple.el (kill-region): Pass mark first, then point, so that
3571 kill-append works right (Bug#12819).
3572 (copy-region-as-kill, kill-ring-save): Likewise.
3573
3574 2013-12-17 Leo Liu <sdl.web@gmail.com>
3575
3576 * net/rcirc.el (rcirc-add-face):
3577 * eshell/em-prompt.el (eshell-emit-prompt):
3578 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3579 (Bug#16167)
3580
3581 2013-12-17 Chong Yidong <cyd@gnu.org>
3582
3583 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3584 Suggested by Xue Fuqiao.
3585
3586 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3587
3588 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3589
3590 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * net/shr.el (shr-insert-document): Remove unused var
3593 `shr-preliminary-table-render'.
3594 (shr-rescale-image): Remove unused arg `force'.
3595 (shr-put-image): Update calls accordingly.
3596 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3597
3598 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3599
3600 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3601 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3602 :close-all, to see which indentation method to use (Bug#16116).
3603 (smie-rules-function): Document the method :close-all.
3604
3605 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3606
3607 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3608
3609 * net/eww.el (eww-display-html): If we can't find the anchor we're
3610 looking for, then go to point-min.
3611
3612 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3613
3614 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3615 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3616 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3617 Expand dir too, in case it's relative.
3618
3619 2013-12-16 Juri Linkov <juri@jurta.org>
3620
3621 * desktop.el (desktop-auto-save-timeout): Change default to
3622 `auto-save-timeout'. Doc fix.
3623 (desktop-save): Skip the timestamp in desktop-saved-frameset
3624 when checking for auto-save changes.
3625 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3626 `desktop-auto-save' is called repeatedly by the idle timer.
3627 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3628 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3629 (Bug#15331)
3630
3631 2013-12-16 Juri Linkov <juri@jurta.org>
3632
3633 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3634 (Bug#16035)
3635 (isearch-pre-command-hook): Check `this-command' for symbolp.
3636
3637 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3638
3639 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3640
3641 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3642
3643 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3644 (cfengine3--current-function): Bring in the current-function
3645 functionality from `cfengine3--current-word'.
3646 (cfengine3-completion-function): Bring in the
3647 bounds-of-current-word functionality from
3648 `cfengine3--current-word'.
3649
3650 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3651
3652 * window.el (display-buffer-below-selected):
3653 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3654
3655 2013-12-16 Leo Liu <sdl.web@gmail.com>
3656
3657 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3658 Remove NOMSG arg and all uses changed.
3659
3660 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3661
3662 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3663 (cua--deactivate-rectangle): Don't deactivate the mark.
3664 (cua-set-rectangle-mark): Don't set mark-active since
3665 cua--activate-rectangle already does it for us.
3666 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3667 non-rectangular region.
3668
3669 * emulation/cua-base.el (cua-repeat-replace-region):
3670 Use with-current-buffer.
3671
3672 * net/gnutls.el: Use cl-lib.
3673 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3674
3675 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3676
3677 * emacs-lisp/package.el (package-built-in-p): Support both
3678 built-in and the package.el converted package descriptions.
3679 (package-show-package-list): Allow keywords.
3680 (package-keyword-button-action): Use it instead of
3681 `finder-list-matches'.
3682 (package-menu-filter-interactive): Interactive filtering (by
3683 keyword) function.
3684 (package-menu--generate): Support keywords and change keymappings
3685 and headers when they are given.
3686 (package--has-keyword-p): Helper function.
3687 (package-menu--refresh): Use it.
3688 (package--mapc): Helper function.
3689 (package-all-keywords): Use it.
3690 (package-menu-mode-map): Set up menu items and keybindings to
3691 provide a filtering UI.
3692
3693 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3694
3695 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3696 the behavior when a certificate fails validation. Defaults to
3697 old behavior: never abort, just warn.
3698 (gnutls-negotiate): Use it.
3699
3700 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3701
3702 * window.el (display-buffer-below-selected): Never split window
3703 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3704
3705 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3706
3707 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3708 (package-buffer-info): Use it (bug#15108).
3709
3710 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * icomplete.el (icomplete-completions): Make sure the prefix is already
3713 displayed elsewhere before hiding it (bug#16219).
3714
3715 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3716
3717 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3718 open-paren tokens when preceded by a open-paren, too.
3719 (ruby-smie-rules): Handle virtual indentation after open-paren
3720 tokens specially. If there is code between it and eol, return the
3721 column where is starts (Bug#16118).
3722
3723 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3724
3725 * progmodes/cfengine.el: Fix `add-hook' doc.
3726 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3727 (cfengine3--current-word): Fix parameters.
3728 (cfengine3-make-syntax-cache): Simplify further.
3729 (cfengine3-completion-function, cfengine3--current-function):
3730 Use `assq' for symbols.
3731 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3732
3733 2013-12-13 Glenn Morris <rgm@gnu.org>
3734
3735 * loadup.el (load-path): Warn if site-load or site-init changes it.
3736 No more need to reset it when bootstrapping.
3737
3738 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3739
3740 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3741 locations for cf-promises.
3742 (cfengine-mode-syntax-functions-regex): New caching variable.
3743 (cfengine3-fallback-syntax): Fallback syntax for cases where
3744 cf-promises doesn't run.
3745 (cfengine3--current-word): Reimplement using
3746 `cfengine-mode-syntax-functions-regex'.
3747 (cfengine3-completion-function, cfengine3--current-function):
3748 Use `cfengine3-make-syntax-cache' directly.
3749 (cfengine3-clear-syntax-cache): New function.
3750 (cfengine3-make-syntax-cache): Simplify and create
3751 `cfengine-mode-syntax-functions-regex' on demand.
3752 (cfengine3-format-function-docstring): Don't call
3753 `cfengine3-make-syntax-cache' explicitly.
3754
3755 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3756
3757 Fix windmove-find-other-window broken after pixelwise resizing
3758 (Bug#16017).
3759 * windmove.el (windmove-other-window-loc): Revert change from
3760 2013-12-04.
3761 (windmove-find-other-window): Call window-in-direction.
3762 * window.el (window-in-direction): New arguments SIGN, WRAP and
3763 MINI to emulate original windmove-find-other-window behavior.
3764
3765 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3766
3767 * simple.el (blink-matching--overlay): New variable.
3768 (blink-matching-open): Instead of moving point, highlight the
3769 matching paren with an overlay
3770 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3771
3772 * faces.el (paren-showing-faces, show-paren-match)
3773 (show-paren-mismatch): Move from paren.el.
3774
3775 2013-12-13 Leo Liu <sdl.web@gmail.com>
3776
3777 * indent.el (indent-region): Disable progress reporter in
3778 minibuffer. (Bug#16108)
3779
3780 * bindings.el (visual-order-cursor-movement): Fix version.
3781
3782 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3783
3784 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3785 Also match after beginning of line.
3786 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3787 files. Thanks to Russell Sim. (Bug#15378)
3788
3789 2013-12-13 Juri Linkov <juri@jurta.org>
3790
3791 * simple.el <Keypad support>: Remove key bindings duplicated
3792 with bindings.el. (Bug#14397)
3793
3794 2013-12-13 Juri Linkov <juri@jurta.org>
3795
3796 * comint.el (comint-mode-map): Replace `delete-char' with
3797 `delete-forward-char'. (Bug#16109)
3798
3799 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3800
3801 * progmodes/python.el (python-indent-calculate-indentation):
3802 Fix de-denters cornercase. (Bug#15731)
3803
3804 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3807 (advice--make): Pay attention to `depth'.
3808 (advice--make-1): Don't autoload commands eagerly.
3809 * emacs-lisp/elp.el (elp-instrument-function):
3810 * emacs-lisp/trace.el (trace-function-internal):
3811 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3812
3813 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3814
3815 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3816
3817 * term/w32-win.el (w32-handle-dropped-file):
3818 * startup.el (normal-top-level):
3819 * net/browse-url.el (browse-url-file-url):
3820 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3821 decode file names using 'utf-8' rather than
3822 file-name-coding-system.
3823
3824 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3825
3826 * progmodes/python.el (python-indent-context)
3827 (python-indent-calculate-indentation): Fix auto-identation
3828 behavior for comment blocks. (Bug#15916)
3829
3830 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3831
3832 * progmodes/python.el (python-indent-calculate-indentation):
3833 When determining indentation, don't treat "return", "pass", etc., as
3834 operators when they are just string constituents. (Bug#15812)
3835
3836 2013-12-12 Juri Linkov <juri@jurta.org>
3837
3838 * uniquify.el (uniquify-buffer-name-style): Change default to
3839 `post-forward-angle-brackets'.
3840
3841 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3842 `uniquify'. Change default to `post-forward-angle-brackets'.
3843
3844 2013-12-11 Glenn Morris <rgm@gnu.org>
3845
3846 * emacs-lisp/package.el (finder-list-matches):
3847 Autoload rather than falsely declaring.
3848
3849 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3850
3851 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3852 (eww-mode-map): Use them.
3853
3854 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3855
3856 * window.el (display-buffer-in-side-window): Fix doc-string
3857 (Bug#16115).
3858
3859 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3860
3861 * vc/vc-git.el: Silence byte-compiler warnings.
3862 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3863 (log-edit-set-header): Declare.
3864
3865 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3866
3867 * Makefile.in (custom-deps, finder-data): Run output file names
3868 through unmsys--file-name. (Bug#16099)
3869
3870 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3873 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3874
3875 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3876 instead of deleting the selection "by hand" (bug#16098).
3877 Rely on insert-for-yank to yank rectangles.
3878 (cua-highlight-region-shift-only): Mark obsolete.
3879 (cua-mode): Don't enable/disable transient-mark-mode,
3880 shift-select-mode (cua-mode works both with and without them), and
3881 pc-selection-mode (obsolete).
3882 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3883 (cua--deactivate-rectangle): Deactivate it.
3884
3885 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3886 (delete-selection-helper): Make sure yank starts at the top of the
3887 deleted region.
3888 (minibuffer-keyboard-quit): Use region-active-p.
3889
3890 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3891
3892 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3893 to `delete' (bug#16109).
3894
3895 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3896
3897 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3898 info manual and show keybindings and set `:group' keyword.
3899
3900 2013-12-11 Juri Linkov <juri@jurta.org>
3901
3902 * delsel.el (delete-active-region): Let-bind `this-command'
3903 to prevent `kill-region' from changing its original value.
3904 (delete-selection-helper): Handle `overwrite-mode' for the type
3905 `kill' exactly the same way as for the type `t'.
3906 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3907 Support more commands. (Bug#13312)
3908
3909 2013-12-11 Juri Linkov <juri@jurta.org>
3910
3911 * bindings.el: Map kp keys to non-kp keys systematically
3912 with basic modifiers control, meta and shift. (Bug#14397)
3913
3914 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3915
3916 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3917 "Close browser" menu items. Fix wrong function of "List
3918 bookmarks".
3919
3920 2013-12-11 Juri Linkov <juri@jurta.org>
3921
3922 * misearch.el (multi-isearch-buffers): Set the value of
3923 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3924 arg of isearch-forward to t.
3925 (multi-isearch-buffers-regexp): Set the value of
3926 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3927 arg of isearch-forward-regexp to t.
3928 (multi-isearch-files): Set the value of
3929 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3930 arg of isearch-forward to t.
3931 (multi-isearch-files-regexp): Set the value of
3932 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3933 arg of isearch-forward-regexp to t. (Bug#16035)
3934
3935 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3936 arg of isearch-forward to t.
3937 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3938 arg of isearch-forward-regexp to t.
3939 (dired-isearch-filter-filenames): Remove unnecessary check for
3940 `dired-isearch-filenames'.
3941
3942 * comint.el (comint-history-isearch-backward):
3943 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3944 (comint-history-isearch-backward-regexp):
3945 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3946
3947 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3948
3949 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3950 unmsys--file-name. (Bug#16099)
3951
3952 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3953
3954 * emacs-lisp/package.el (package-keyword-button-action):
3955 Remove finder.el require dependency.
3956
3957 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3958
3959 * emacs-lisp/package.el: Require finder.el.
3960 (describe-package-1): Add keyword buttons.
3961 (package-make-button): New convenience function.
3962 (package-keyword-button-action): Keyword button action using
3963 `finder-list-matches'.
3964
3965 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3966
3967 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3968 last commit.
3969
3970 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3971
3972 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3973 symlinked files.
3974
3975 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3976
3977 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3978 after the end of a percent literal.
3979
3980 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3981
3982 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3983 Handle caret-delimited strings (Bug#16079).
3984
3985 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3986
3987 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3988 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3989 `ruby-parse-partial' (Bug#16078).
3990
3991 2013-12-09 Leo Liu <sdl.web@gmail.com>
3992
3993 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3994
3995 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3996
3997 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3998 (js-switch-indent-offset): New option.
3999 (js--proper-indentation): Use it. And handle the case when
4000 "default" is actually a key in an object literal.
4001 (js--same-line): New function.
4002 (js--multi-line-declaration-indentation): Use it.
4003 (js--indent-in-array-comp, js--array-comp-indentation):
4004 New functions.
4005 (js--proper-indentation): Use them, to handle array comprehension
4006 continuations.
4007
4008 2013-12-08 Leo Liu <sdl.web@gmail.com>
4009
4010 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4011 (flymake-make-overlay): Remove arg MOUSE-FACE.
4012 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4013
4014 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4017 New function.
4018 (redisplay-highlight-region-function): Use it.
4019
4020 * emulation/cua-base.el (cua--explicit-region-start)
4021 (cua--last-region-shifted): Remove.
4022 (cua--deactivate): Use deactivate-mark.
4023 (cua--pre-command-handler-1): Don't handle shift-selection.
4024 (cua--post-command-handler-1): Don't change transient-mark-mode.
4025 (cua--select-keymaps): Use region-active-p rather than
4026 cua--explicit-region-start or cua--last-region-shifted.
4027 (cua-mode): Enable shift-select-mode.
4028
4029 2013-12-08 Leo Liu <sdl.web@gmail.com>
4030
4031 * progmodes/flymake.el (flymake-popup-current-error-menu):
4032 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4033 (flymake-posn-at-point-as-event, flymake-popup-menu)
4034 (flymake-make-emacs-menu): Remove. (Bug#16077)
4035
4036 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4037
4038 * rect.el (rectangle-mark-mode): Activate mark even if
4039 transient-mark-mode is off (bug#16066).
4040 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4041 is > mark and at bolp.
4042
4043 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4044 (region-extract-function): Use it.
4045 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4046 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4047 Delete functions.
4048 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4049 kill-ring-save, kill-region, delete-char, delete-forward-char.
4050 Ignore self-insert-iso.
4051
4052 * emulation/cua-gmrk.el (cua--init-global-mark):
4053 Ignore `self-insert-iso'.
4054
4055 * emulation/cua-base.el (cua--prefix-copy-handler)
4056 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4057 checking cua--rectangle.
4058 (cua-delete-region): Use region-extract-function.
4059 (cua-replace-region): Delete function.
4060 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4061 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4062 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4063 (cua--init-keymaps): Don't remap delete-selection commands.
4064 (cua-mode): Use delete-selection-mode instead of rolling our own
4065 (bug#16085).
4066
4067 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4068 Obey region-extract-function.
4069
4070 Make registers and delete-selection-mode work on rectangles.
4071 * register.el (describe-register-1): Don't modify the register's value.
4072 (copy-to-register): Obey region-extract-function.
4073 * delsel.el (delete-active-region): Obey region-extract-function.
4074
4075 2013-12-08 Leo Liu <sdl.web@gmail.com>
4076
4077 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4078 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4079 (flymake-compilation-prevents-syntax-check)
4080 (flymake-start-syntax-check-on-newline)
4081 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4082 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4083 (flymake-xml-program, flymake-master-file-dirs)
4084 (flymake-master-file-count-limit)
4085 (flymake-allowed-file-name-masks): Relocate.
4086 (flymake-makehash, flymake-float-time)
4087 (flymake-replace-regexp-in-string, flymake-split-string)
4088 (flymake-get-temp-dir): Remove.
4089 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4090 (flymake-current-row, flymake-selected-frame)
4091 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4092 related functions. (Bug#16077)
4093
4094 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4095
4096 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4097
4098 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4099
4100 * help-fns.el (describe-function-1): Use new advice-* functions
4101 rather than old ad-* functions. Fix function type description and
4102 source links for advised functions and subrs.
4103
4104 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4105
4106 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4107
4108 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4109
4110 * progmodes/compile.el (compilation-start):
4111 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4112
4113 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4114 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4115
4116 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4117
4118 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4119 Touch up the last change.
4120
4121 2013-12-06 Leo Liu <sdl.web@gmail.com>
4122
4123 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4124 (inferior-octave-startup): Always use "octave> " for prompt.
4125 (octave-goto-function-definition)
4126 (octave-sync-function-file-names)
4127 (octave-find-definition-default-filename): Remove redundant backquotes.
4128
4129 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4130
4131 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4132 syntax for `?'.
4133 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4134 where appropriate already.
4135 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4136 end of method names (Bug#15874).
4137
4138 2013-12-06 Juri Linkov <juri@jurta.org>
4139
4140 * isearch.el (isearch--saved-overriding-local-map):
4141 New internal variable.
4142 (isearch-mode): Set it to the initial value of
4143 `overriding-terminal-local-map'.
4144 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4145 with `isearch--saved-overriding-local-map'. (Bug#16035)
4146
4147 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4148
4149 * progmodes/octave.el (inferior-octave-completion-table):
4150 Turn back into function, use `completion-table-with-cache'
4151 (Bug#11906). Update all references.
4152
4153 * minibuffer.el (completion-table-with-cache): New function.
4154
4155 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4156
4157 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4158
4159 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4160
4161 * net/eww.el (eww-current-source): New variable to store page
4162 source.
4163 (eww-display-html, eww-mode, eww-save-history)
4164 (eww-restore-history): Use it.
4165 (eww-view-source): New command to view page source.
4166 Opportunistically uses `html-mode' to highlight the buffer.
4167 (eww-mode-map): Install it.
4168
4169 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4170
4171 * net/dbus.el (dbus-unregister-service)
4172 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4173 Fix docstring.
4174 (dbus-unregister-service): Skip :serial entries in
4175 `dbus-registered-objects-table'.
4176 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4177
4178 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4179
4180 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4181 around keywords with extra `split-string' argument.
4182
4183 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4184
4185 * windmove.el (windmove-other-window-loc): Handle navigation
4186 between windows (excluding the minibuffer window - Bug#16017).
4187
4188 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4189
4190 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4191 in D-Bus type syntax.
4192 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4193 preserve unibyte strings. (Bug#16048)
4194
4195 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4198 Call force-mode-line-update is the proper buffer (bug#16042).
4199
4200 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4201
4202 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4203 `log-edit-remember-comment', make argument optional. Adjust all
4204 callers.
4205 (log-edit-mode): Add `log-edit-remember-comment' to
4206 `kill-buffer-hook' locally.
4207 (log-edit-kill-buffer): Don't remember comment explicitly since
4208 the buffer is killed anyway.
4209
4210 2013-12-04 Juri Linkov <juri@jurta.org>
4211
4212 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4213 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4214
4215 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4216
4217 * notifications.el (notifications-close-notification): Call the
4218 D-Bus method with ID being a `:uint32'. (Bug#16030)
4219
4220 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4221
4222 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4223
4224 2013-12-03 Juri Linkov <juri@jurta.org>
4225
4226 * progmodes/compile.el (compilation-start): Rename window alist
4227 entry `no-display-ok' to `allow-no-window'.
4228
4229 * simple.el (shell-command): Add window alist entry
4230 `allow-no-window' to `display-buffer'.
4231 (async-shell-command): Doc fix.
4232
4233 * window.el (display-buffer-no-window): New action function.
4234 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4235
4236 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4237
4238 * vc/log-edit.el (log-edit-set-header): Extract from
4239 `log-edit-toggle-header'.
4240 (log-edit-extract-headers): Separate the summary, when extracted
4241 from header, from the rest of the message with an empty line.
4242
4243 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4244 line, if present, to the Summary header.
4245
4246 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4249 in current-buffer (bug#16029).
4250
4251 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4252
4253 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4254 (debugger-mode-map): Bind it.
4255 (debugger--backtrace-base): New function.
4256 (debugger-eval-expression): Use it.
4257 (debugger-frame-number): Skip local vars when present.
4258 (debugger--locals-visible-p, debugger--insert-locals)
4259 (debugger--show-locals, debugger--hide-locals): New functions.
4260
4261 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4262
4263 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4264 "LC_ALL".
4265 (tramp-get-remote-locale): New defun.
4266 (tramp-open-connection-setup-interactive-shell): Use it.
4267
4268 2013-12-02 Leo Liu <sdl.web@gmail.com>
4269
4270 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4271
4272 * progmodes/sh-script.el (sh-shell-process):
4273 * progmodes/octave.el (inferior-octave-process-live-p):
4274 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4275 (gdb-inferior-io-sentinel):
4276 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4277
4278 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4279
4280 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4281 `save-selected-window' to `log-edit-hide-buf'. This makes
4282 `log-edit-show-files' idempotent.
4283 (log-edit-show-files): Mark the new window as dedicated.
4284
4285 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4286
4287 * vc/log-edit.el (log-edit-mode-map): Add binding for
4288 `log-edit-kill-biffer'.
4289 (log-edit-hide-buf): Add a FIXME comment.
4290 (log-edit-add-new-comment): New function, extracted from
4291 `log-edit-done'.
4292 (log-edit-done, log-edit-add-to-changelog): Use it.
4293 (log-edit-kill-buffer): New command.
4294
4295 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4296
4297 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4298 instead of killing the buffer.
4299
4300 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4303
4304 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4305
4306 * net/eww.el (eww-form-checkbox-selected-symbol)
4307 (eww-form-checkbox-symbol): New customizable variable.
4308 (eww-form-checkbox, eww-toggle-checkbox):
4309 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4310
4311 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4312 (shr--get-media-pref, shr--extract-best-source): New function.
4313 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4314 no :src tag was specified.
4315
4316 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4317 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4318 Use \\` to match beginning of string instead of ^.
4319 (eww-browse-with-external-browser): Provide optional URL parameter.
4320 (eww-render): Set `eww-current-title' back to "".
4321
4322 * net/shr.el (shr-tag-video): Display content for video if no
4323 poster is available.
4324 (shr-tag-audio): Add support for <audio> tag.
4325
4326 * net/eww.el (eww-text-input-types): New const.
4327 (eww-process-text-input): Treat input types in
4328 `eww-text-input-types' as text.
4329
4330 * net/shr.el (shr-tag-table): Fix comment typo.
4331
4332 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4333
4334 * net/eww.el (eww-follow-link): New command to avoid reloading
4335 pages when we follow #target links (bug#15243).
4336 (eww-quit): Special mode buffers shouldn't query before exiting.
4337
4338 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4339
4340 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4341 forms.
4342
4343 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4344
4345 * net/eww.el (eww-restore-history): Update the window title after
4346 moving in the history.
4347 (eww-current-dom): New variable used to save the current DOM.
4348
4349 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4350
4351 * vc/log-edit.el (log-edit-mode-map): Add binding for
4352 `log-edit-beginning-of-line'.
4353 (log-edit-setup-add-author): New user option.
4354 (log-edit-beginning-of-line): New command.
4355 (log-edit): Move major mode call above the contents setup so that
4356 the local variable values are already applied.
4357 (log-edit): Only insert "Author: " when
4358 `log-edit-setup-add-author' is non-nil.
4359 (log-edit): When SETUP is non-nil, position point after ": "
4360 instead of point-min.
4361
4362 2013-12-01 Glenn Morris <rgm@gnu.org>
4363
4364 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4365
4366 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4367
4368 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4369 redisplay to make sure the initial frame gets a chance to become
4370 visible. (Bug#16014)
4371
4372 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4373
4374 Support resizing frames and windows pixelwise.
4375 * cus-start.el (frame-resize-pixelwise)
4376 (window-resize-pixelwise): New entries.
4377 * emacs-lisp/debug.el (debug): Use window-total-height instead
4378 of window-total-size.
4379 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4380 * help.el (describe-bindings-internal): Use help-buffer as
4381 argument for with-help-window.
4382 (temp-buffer-max-width): New option.
4383 (resize-temp-buffer-window, help-window-setup)
4384 (with-help-window): Rewrite.
4385 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4386 dragging dividers.
4387 * window.el (frame-char-size, window-min-pixel-height)
4388 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4389 (window-min-pixel-width, window-safe-min-pixel-size)
4390 (window-combination-p, window-safe-min-size)
4391 (window-resizable-p, window--size-to-pixel)
4392 (window--pixel-to-size, window--resize-apply-p): New functions.
4393 (window-safe-min-height): Fix doc-string.
4394 (window-size, window-min-size, window--min-size-1)
4395 (window-sizable, window-sizable-p, window--min-delta-1)
4396 (window-min-delta, window--max-delta-1, window-max-delta)
4397 (window--resizable, window--resizable-p, window-resizable)
4398 (window-full-height-p, window-full-width-p, window-at-side-p)
4399 (window--in-direction-2, window-in-direction)
4400 (window--resize-reset-1, window--resize-mini-window)
4401 (window-resize, window-resize-no-error)
4402 (window--resize-child-windows-normal)
4403 (window--resize-child-windows, window--resize-siblings)
4404 (window--resize-this-window, window--resize-root-window)
4405 (window--resize-root-window-vertically)
4406 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4407 (maximize-window, minimize-window, delete-window)
4408 (quit-restore-window, window-split-min-size, split-window)
4409 (balance-windows-2, balance-windows)
4410 (balance-windows-area-adjust, balance-windows-area)
4411 (window--state-get-1, window-state-get, window--state-put-1)
4412 (window--state-put-2, window-state-put)
4413 (display-buffer-record-window, window--display-buffer):
4414 Make functions handle pixelwise sizing of windows.
4415 (display-buffer--action-function-custom-type)
4416 (display-buffer-fallback-action):
4417 Add display-buffer-in-previous-window.
4418 (display-buffer-use-some-window): Resize window to height it had
4419 before.
4420 (fit-window-to-buffer-horizontally): New option.
4421 (fit-frame-to-buffer): Describe new values.
4422 (fit-frame-to-buffer-bottom-margin): Replace with
4423 fit-frame-to-buffer-margins.
4424 (window--sanitize-margin): New function.
4425 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4426 using window-text-pixel-size.
4427
4428 2013-11-30 Glenn Morris <rgm@gnu.org>
4429
4430 * emacs-lisp/bytecomp.el (byte-compile-form):
4431 Make the `interactive-only' warning like the `obsolete' one.
4432 * comint.el (comint-run):
4433 * files.el (insert-file-literally, insert-file):
4434 * replace.el (replace-string, replace-regexp):
4435 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4436 (goto-line, insert-buffer, next-line, previous-line):
4437 Tweak `interactive-only' spec.
4438
4439 Stop keeping (most) generated cedet grammar files in the repository.
4440 * Makefile.in (semantic): New.
4441 (compile-main): Depend on semantic.
4442
4443 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4444
4445 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4446 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4447
4448 * uniquify.el (uniquify-buffer-name-style): Change default.
4449
4450 * loadup.el: Preload "uniquify".
4451
4452 * time.el (display-time-update): Update all mode lines (bug#15999).
4453
4454 * electric.el (electric-indent-mode): Enable by default.
4455 * loadup.el: Preload "electric".
4456
4457 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4458
4459 * emacs-lisp/helpers.el (string-empty-p): New function.
4460 (string-blank-p): New function.
4461
4462 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4463
4464 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4465 (Bug#14029).
4466
4467 2013-11-29 Andreas Politz <politza@fh-trier.de>
4468 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4469 allow non-lambda lists as functions.
4470 (imenu--in-alist): Don't recurse into non-subalists.
4471 (imenu): Don't pass function itself as an argument (Bug#14029).
4472
4473 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4474
4475 * progmodes/python.el (python-mode-map): Remove binding for ":".
4476 (python-indent-electric-colon): Remove command.
4477 (python-indent-post-self-insert-function): Integrate the previous code
4478 of python-indent-electric-colon. Make it conditional on
4479 electric-indent-mode.
4480 (python-mode): Add ?: to electric-indent-chars.
4481 Move python-indent-post-self-insert-function to the end of
4482 post-self-insert-hook.
4483
4484 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4485
4486 * doc-view.el (doc-view-goto-page): Update mode-line.
4487
4488 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4489
4490 2013-11-27 Glenn Morris <rgm@gnu.org>
4491
4492 * international/charprop.el, international/uni-bidi.el:
4493 * international/uni-category.el, international/uni-combining.el:
4494 * international/uni-comment.el, international/uni-decimal.el:
4495 * international/uni-decomposition.el, international/uni-digit.el:
4496 * international/uni-lowercase.el, international/uni-mirrored.el:
4497 * international/uni-name.el, international/uni-numeric.el:
4498 * international/uni-old-name.el, international/uni-titlecase.el:
4499 * international/uni-uppercase.el:
4500 Remove generated files from VCS repository.
4501
4502 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4503
4504 * filenotify.el (file-notify-add-watch): Don't special-case
4505 w32notify when computing the directory to watch.
4506
4507 2013-11-27 Glenn Morris <rgm@gnu.org>
4508
4509 Make bootstrap without generated uni-*.el files possible again.
4510 * loadup.el: Update command-line-args checking for unidata-gen.
4511 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4512 * composite.el, international/characters.el:
4513 Handle unicode tables being undefined.
4514
4515 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4516 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4517 (compile-main): Depend on leim rule.
4518 (leim): New rule.
4519 * loadup.el: Move leim-list.el to leim/ subdirectory.
4520 * startup.el (normal-top-level): No more leim directory.
4521 * international/ja-dic-cnv.el (skkdic-convert):
4522 Disable version-control and autoloads in output files.
4523 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4524 Disable version-control and autoloads in output files.
4525 * leim/quail: Move here from ../leim.
4526 * leim/quail/hangul.el (hangul-input-method-activate):
4527 Add autoload cookie.
4528 (generated-autoload-load-name): Set file-local value.
4529 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4530 (generated-autoload-load-name): Set file-local value.
4531
4532 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4533
4534 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4535 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4536 (eww-quit): Ask confirmation before quitting eww.
4537
4538 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4539
4540 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4541 reading output from Diff on MS-Windows and MS-DOS.
4542
4543 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4544
4545 * emacs-lisp/helpers.el (string-reverse): New function.
4546
4547 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4548
4549 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4550 names on MS Windows, like "/[::1]:".
4551
4552 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4553 SWITCHES.
4554
4555 2013-11-26 Glenn Morris <rgm@gnu.org>
4556
4557 * progmodes/python.el (python-indent-guess-indent-offset):
4558 Avoid corner-case error. (Bug#15975)
4559
4560 Preload leim-list.el. (Bug#4789)
4561 * loadup.el: Load leim-list.el when found.
4562 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4563
4564 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4565
4566 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4567
4568 * emacs-lisp/helpers.el (string-join): New function.
4569
4570 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4571
4572 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4573 Mark as obsolete and replace it with a symbol property.
4574 (byte-compile-form): Use new 'interactive-only property.
4575 * comint.el, files.el, replace.el, simple.el:
4576 Apply new 'interactive-only properly.
4577
4578 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4579
4580 * window.el (display-buffer-at-bottom): Make sure that
4581 split-window-sensibly creates the new window on bottom
4582 (Bug#15961).
4583
4584 2013-11-23 David Kastrup <dak@gnu.org>
4585
4586 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4587 on the conflict markers when available.
4588 (smerge--get-marker): New function.
4589 (smerge-end-re, smerge-base-re): Add subgroup.
4590
4591 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * frame.el (handle-focus-in, handle-focus-out): Add missing
4594 interactive spec.
4595
4596 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4597
4598 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4599 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4600
4601 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4602
4603 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4604 (gomoku--last-pos): New var.
4605 (gomoku--intangible-chars): New const.
4606 (gomoku--intangible): New function.
4607 (gomoku-mode): Use it. Derive from special-mode.
4608 (gomoku-move-up): Adjust line count.
4609 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4610 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4611 Simplify accordingly.
4612
4613 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4614 Remove blink-cursor code.
4615 (blink-cursor-timer-function, blink-cursor-suspend):
4616 Don't special-case GUIs.
4617 (blink-cursor-mode): Use focus-in/out-hook.
4618
4619 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4620
4621 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4622 work when annotation is invisible (Bug#13886).
4623
4624 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4625
4626 * json.el (json-alist-p): Only return non-nil if the alist has
4627 simple keys (Bug#13518).
4628
4629 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4630
4631 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4632 when control-statement is the first statement in a buffer (Bug#15956).
4633
4634 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4635
4636 * imenu.el (imenu-generic-skip-comments-and-strings):
4637 New option (Bug#15560).
4638 (imenu--generic-function): Use it.
4639
4640 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4641
4642 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4643 (Bug#13898)
4644
4645 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4646
4647 * emacs-lisp/helpers.el: Add some string helpers.
4648 (string-trim-left): Removes leading whitespace.
4649 (string-trim-right): Removes trailing whitespace.
4650 (string-trim): Removes leading and trailing whitespace.
4651
4652 * subr.el (string-suffix-p): New function.
4653
4654 2013-11-23 Glenn Morris <rgm@gnu.org>
4655
4656 * progmodes/python.el (python-shell-send-file):
4657 Add option to delete file when done. (Bug#15647)
4658 (python-shell-send-string, python-shell-send-region): Use it.
4659
4660 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4661
4662 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4663 to set buffer-read-only to t, never to nil. (Bug#15938)
4664
4665 * textmodes/tex-mode.el (latex-noindent-environments):
4666 Add safe-local-variable property. (Bug#15936)
4667
4668 2013-11-23 Glenn Morris <rgm@gnu.org>
4669
4670 * textmodes/enriched.el (enriched-mode): Doc fix.
4671 * emacs-lisp/authors.el (authors-renamed-files-alist):
4672 Add enriched.doc -> enriched.txt.
4673
4674 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4675
4676 2013-11-22 Leo Liu <sdl.web@gmail.com>
4677
4678 * progmodes/octave.el (inferior-octave-startup): Spit out error
4679 message.
4680
4681 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4682
4683 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4684 Improve docstring.
4685 Add :version.
4686 (ruby-encoding-magic-comment-style): Add :version.
4687
4688 2013-11-22 Leo Liu <sdl.web@gmail.com>
4689
4690 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4691 (Bug#15076)
4692 (octave-help-mode): Adapt to change to help-mode-finish to use
4693 derived-mode-p on 2013-09-17.
4694 (inferior-octave-prompt): Also match octave-gui.
4695 (octave-kill-process): Don't ask twice. (Bug#10564)
4696
4697 2013-11-22 Leo Liu <sdl.web@gmail.com>
4698
4699 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4700 (inferior-octave-startup, inferior-octave-check-process)
4701 (inferior-octave-track-window-width-change)
4702 (octave-completion-at-point, octave-eldoc-function): Use it.
4703 (octave-kill-process): Provide confirmation. (Bug#10564)
4704
4705 2013-11-21 Leo Liu <sdl.web@gmail.com>
4706
4707 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4708 Fix obsolete variable comment-use-global-state.
4709
4710 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4711
4712 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4713 Add `octave-source-file'.
4714 (octave-source-file): New function. (Bug#15935)
4715
4716 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4717
4718 * net/eww.el (eww-local-regex): New variable.
4719 (eww): Use it to detect localhost and similar.
4720
4721 2013-11-21 Leo Liu <sdl.web@gmail.com>
4722
4723 Add completion for command `ag'.
4724 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4725 (pcomplete/ag): New function.
4726 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4727
4728 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4731 (bug#14646).
4732 (make-obsolete): Remove interactive spec.
4733
4734 2013-11-21 Glenn Morris <rgm@gnu.org>
4735
4736 * startup.el (command-line-1): Use path-separator with -L.
4737
4738 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4739
4740 * emacs-lisp/package.el (describe-package-1): Add package archive
4741 to shown fields.
4742
4743 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4744
4745 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4746 Change default to "# encoding: %s" to differentiate it from the
4747 default Ruby encoding comment template.
4748
4749 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4750
4751 * ses.el (ses-mode): Doc fix. (Bug#14748)
4752
4753 2013-11-20 Leo Liu <sdl.web@gmail.com>
4754
4755 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4756
4757 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4758
4759 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4760 when rebase or bisect are in progress.
4761
4762 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4763
4764 * filenotify.el (file-notify-add-watch): Doc fix.
4765
4766 2013-11-19 Leo Liu <sdl.web@gmail.com>
4767
4768 * obsolete/rcompile.el: Mark obsolete.
4769
4770 * progmodes/compile.el (compilation-start)
4771 (compilation-goto-locus, compilation-find-file):
4772 Pass no-display-ok and handle nil value from display-buffer.
4773 (Bug#13594)
4774
4775 * window.el (display-buffer-alist, display-buffer): Document the
4776 new parameter no-display-ok. Return either a window or nil
4777 but never a non-window value.
4778
4779 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4780
4781 * electric.el (electric-indent-mode-map): Remove.
4782 (electric-indent-mode): Change the global-map instead (bug#15915).
4783
4784 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4785 Use add-function.
4786
4787 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4788
4789 * emacs-lisp/nadvice.el (remove-function): Align with
4790 add-function's behavior.
4791
4792 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4793 (gdb--string-regexp): New constant.
4794 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4795 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4796 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4797 submatch 1.
4798 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4799 Adjust use accordingly.
4800 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4801
4802 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4803
4804 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4805 interpolation curlies (Bug#15914).
4806
4807 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4808
4809 * calc/calc.el (calc-context-sensitive-enter): New variable.
4810 (calc-enter): Use `calc-context-sensitive-enter'.
4811
4812 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4813
4814 * progmodes/cfengine.el: Version bump.
4815 (cfengine-cf-promises): New defcustom to locate cf-promises.
4816 (cfengine3-vartypes): Add new "data" type.
4817 (cfengine3--current-word): New function to get current name-like
4818 word or its bounds.
4819 (cfengine3--current-function): New function to look up a CFEngine
4820 function's definition.
4821 (cfengine3-format-function-docstring): New function.
4822 (cfengine3-make-syntax-cache): New function.
4823 (cfengine3-documentation-function): New function: ElDoc glue.
4824 (cfengine3-completion-function): New function: completion glue.
4825 (cfengine3-mode): Set `compile-command',
4826 `eldoc-documentation-function', and add to
4827 `completion-at-point-functions'.
4828
4829 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4830
4831 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4832 `tramp-current-connection'.
4833
4834 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4835
4836 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4837 nil/self/true/false with "end of symbol".
4838
4839 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4840
4841 * subr.el (version-regexp-alist): Fix a typo.
4842
4843 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4844
4845 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4846 "en_US.utf8" and "LC_CTYPE" to "".
4847 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4848 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4849
4850 2013-11-15 Leo Liu <sdl.web@gmail.com>
4851
4852 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4853
4854 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * progmodes/gud.el (ctl-x-map):
4857 Remove C-x SPC binding. (Bug#12342)
4858 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4859
4860 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4861
4862 * subr.el (version-regexp-alist):
4863 Recognize hg, svn and darcs versions as snapshot versions.
4864
4865 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4866 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4867 (ruby--encoding-comment-required-p): Extract from
4868 `ruby-mode-set-encoding'.
4869 (ruby-mode-set-encoding): Add the ability to always insert an
4870 utf-8 encoding comment. Fix and simplify coding comment update
4871 logic.
4872
4873 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4874
4875 * net/tramp-gvfs.el (top): Run init code only when
4876 `tramp-gvfs-enabled' is not nil.
4877 (tramp-gvfs-enabled): Check also :system bus.
4878
4879 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4880
4881 Sync with upstream verilog-mode revision 78e66ba.
4882 * progmodes/verilog-mode.el (verilog-end-of-defun)
4883 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4884 (verilog-get-end-of-defun): Remove unused argument.
4885 (verilog-comment-depth): Remove unused local `e'.
4886 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4887 Don't pass arg to verilog-get-end-of-defun.
4888
4889 2013-11-14 Glenn Morris <rgm@gnu.org>
4890
4891 * obsolete/assoc.el (aget): Prefix dynamic variable.
4892
4893 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4894
4895 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * widget.el, hfy-cmap.el: Remove bogus package version number.
4898
4899 2013-11-13 Glenn Morris <rgm@gnu.org>
4900
4901 * replace.el (replace-eval-replacement):
4902 Try to give more helpful error message. (Bug#15836)
4903
4904 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4905 (archive-7z-update): Avoid custom type mismatches.
4906
4907 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4908
4909 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4910
4911 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4912 address can be empty.
4913
4914 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4915 Accept nil SWITCHES.
4916 (tramp-gvfs-handle-write-region): Implement APPEND.
4917
4918 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4919
4920 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4921 binary "|" operator and closing block args delimiter.
4922 Remove FIXME comment referring to Ruby 1.8-only syntax.
4923 (ruby-smie--implicit-semi-p): Not after "|" operator.
4924 (ruby-smie--closing-pipe-p): New function.
4925 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4926 (ruby-smie-rules): Indent after "|".
4927
4928 2013-11-12 Glenn Morris <rgm@gnu.org>
4929
4930 * ps-print.el (ps-face-attribute-list):
4931 Handle anonymous faces. (Bug#15827)
4932
4933 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4934
4935 * window.el (display-buffer-other-frame): Fix doc-string.
4936 (Bug#15868)
4937
4938 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4941
4942 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4943
4944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4945 (tramp-sh-handle-file-local-copy): Don't write a message when
4946 saving temporary files.
4947
4948 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4949 both directories are remote.
4950 (tramp-smb-handle-directory-files): Do not return double entries.
4951 Do not expand full file names.
4952 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4953 (tramp-smb-handle-write-region): Implement APPEND.
4954 (tramp-smb-get-stat-capability): Fix a stupid bug.
4955
4956 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4959
4960 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4961
4962 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4963 throwing error over malformed let/let* (bug#15814).
4964
4965 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4966
4967 * iswitchb.el (iswitchb-mode): Mark obsolete.
4968
4969 2013-11-11 Glenn Morris <rgm@gnu.org>
4970
4971 * international/uni-bidi.el, international/uni-category.el:
4972 * international/uni-name.el, international/uni-numeric.el:
4973 Regenerate for Unicode 6.3.0.
4974
4975 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4976
4977 * net/tramp.el (tramp-methods):
4978 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4979 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4980
4981 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4982
4983 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4984 Force highlighting text after Summary keyword in doc face for rpm.
4985
4986 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4987
4988 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4989 available and the word has no wildcards, append one to the grep pattern.
4990 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4991 (ispell-complete-word): Call `ispell-lookup-words' with the value
4992 independent of `ispell-look-p'.
4993
4994 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4995
4996 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4997 Not after "||".
4998 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4999 their parent.
5000
5001 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5004 (ruby-font-lock-keywords): Use backquote.
5005
5006 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5007
5008 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5009 (ruby-smie--backward-token): Only consider full-string matches.
5010
5011 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5012
5013 * faces.el (describe-face): Add distant-foreground.
5014
5015 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5016
5017 * progmodes/ruby-mode.el: Improve encoding comment handling.
5018 (ruby-encoding-magic-comment-style): New option.
5019 (ruby-custom-encoding-magic-comment-template): New option.
5020 (ruby--insert-coding-comment, ruby--detect-encoding):
5021 New functions extracted from `ruby-mode-set-encoding'.
5022 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5023 to control the style of the auto-inserted encoding comment.
5024
5025 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5026
5027 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5028 Use `smie-backward-sexp' with token argument.
5029
5030 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5031
5032 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5033 Remove instrumentation code.
5034
5035 2013-11-08 Glenn Morris <rgm@gnu.org>
5036
5037 * progmodes/autoconf.el (autoconf-mode):
5038 Tweak comment-start-skip. (Bug#15822)
5039
5040 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5043 at bobp (bug#15826).
5044 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5045
5046 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5047
5048 * man.el (Man-start-calling): New macro, extracted from
5049 Man-getpage-in-background.
5050 (Man-getpage-in-background): Use it.
5051 (Man-update-manpage): New command.
5052 (Man-mode-map): Bind it.
5053
5054 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5055
5056 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5057 of "and", "or", "&&" and "||".
5058 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5059 argument. Prohibit opening curly brace because it could only be a
5060 block opener in that position.
5061 (ruby-smie--forward-token, ruby-smie--backward-token):
5062 Separate "|" from "&" or "*" going after it. That can happen in block
5063 arguments.
5064 (ruby-smie--indent-to-stmt): New function, seeks the end of
5065 previous statement or beginning of buffer.
5066 (ruby-smie-rules): Use it.
5067 (ruby-smie-rules): Check if there's a ":" before a curly block
5068 opener candidate; if there is, it's a hash.
5069
5070 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5073 (cl--block-wrapper): Fix last accidental change.
5074
5075 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5076
5077 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5078 Instrument, in order to hunt failure on hydra.
5079
5080 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5081
5082 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5083 malformed bindings form (bug#15814).
5084
5085 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5086
5087 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5088 "." compared to " @ ". This incidentally fixes some indentation
5089 examples with "do".
5090 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5091 (ruby-smie-grammar): New tokens: "and" and "or".
5092 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5093 Exclude "and" and "or". Remove "do" in order to work around token
5094 priorities.
5095 (ruby-smie-rules): Add all infix tokens. Handle the case of
5096 beginning-of-buffer.
5097
5098 2013-11-06 Glenn Morris <rgm@gnu.org>
5099
5100 * Makefile.in (setwins_almost, setwins_for_subdirs):
5101 Avoid accidental matches.
5102
5103 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * menu-bar.el (popup-menu): Use key-binding.
5106
5107 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5108
5109 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5110 menus, support also the menus produced by minor modes.
5111 (Bug#15817)
5112
5113 2013-11-06 Leo Liu <sdl.web@gmail.com>
5114
5115 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5116 DISTANCE to bound the search. All uses changed. (Bug#15808)
5117
5118 2013-11-06 Glenn Morris <rgm@gnu.org>
5119
5120 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5121 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5122 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5123
5124 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * electric.el (electric-indent-just-newline): New command.
5127 (electric-indent-mode-map): New keymap.
5128 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5129 Re-add :group which weren't redundant.
5130
5131 * electric.el (electric-indent-local-mode): New minor mode.
5132 (electric-indent-functions-without-reindent): New var.
5133 (electric-indent-post-self-insert-function): Use it.
5134 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5135
5136 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5137
5138 * international/quail.el (quail-help): Be more explicit about the
5139 meaning of the labels shown on the keys. (Bug#15800)
5140
5141 * startup.el (normal-top-level): Load the subdirs.el files before
5142 setting the locale environment. (Bug#15805)
5143
5144 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5147 via arguments so as to get the right ones (bug#15418).
5148
5149 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5150
5151 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5152
5153 Fix problems found while writing a test suite.
5154
5155 * net/tramp-compat.el (tramp-compat-load): New defun.
5156 * net/tramp.el (tramp-handle-load): Use it.
5157
5158 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5159 "(numberp ok-if-already-exists)" correctly.
5160
5161 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5162
5163 * international/characters.el (glyphless-char-display-control):
5164 Add usage note.
5165
5166 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5167
5168 * progmodes/python.el (python-mode):
5169 * progmodes/scheme.el (scheme-mode):
5170 * progmodes/prolog.el (prolog-mode):
5171 * progmodes/ruby-mode.el (ruby-mode):
5172 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5173 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5174
5175 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * rect.el (rectangle--highlight-for-redisplay):
5178 * emacs-lisp/smie.el (smie--next-indent-change):
5179 Use buffer-chars-modified-tick.
5180
5181 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5182
5183 * electric.el (electric-indent-post-self-insert-function):
5184 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5185
5186 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5187
5188 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5189
5190 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5191
5192 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5193 (bug#15786).
5194
5195 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5198
5199 * progmodes/python.el: Fix up last change.
5200 (python-shell--save-temp-file): New function.
5201 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5202 `string' comes from the current buffer.
5203 (python-shell-send-string-no-output): Remove `msg' arg.
5204 (python--use-fake-loc): New var.
5205 (python-shell-buffer-substring): Obey it. Try to compensate for the
5206 extra coding line added by python-shell--save-temp-file.
5207 (python-shell-send-region): Use python-shell--save-temp-file and
5208 python-shell-send-file directly. Add `nomain' argument.
5209 (python-shell-send-buffer): Use python-shell-send-region.
5210 (python-electric-pair-string-delimiter): New function.
5211 (python-mode): Use it.
5212
5213 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5214
5215 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5216 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5217 environment and decoding all of the default-directory's to here
5218 from command-line.
5219 (command-line): Decode also argv[0].
5220
5221 * loadup.el: Error out if default-directory is a multibyte string
5222 when we are dumping.
5223
5224 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5225
5226 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5227
5228 * emacs-lisp/package.el (package-menu-mode)
5229 (package-menu--print-info, package-menu--archive-predicate):
5230 Add Archive column to package list.
5231
5232 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5233
5234 Fix problems found while writing a test suite.
5235
5236 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5237 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5238 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5239 to nil when running original file name handler. Otherwise,
5240 there are problems with constructs like "$$FOO".
5241
5242 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5243 for `localname'.
5244
5245 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5246
5247 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5248
5249 * subr.el (version<, version<=, version=):
5250 Update docstrings with information for snapshot versions.
5251
5252 * helpers.el: New library for misc helper functions.
5253 (hash-table-keys): New function returning a list of hash keys.
5254 (hash-table-values): New function returning a list of hash values.
5255
5256 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5257
5258 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5259 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5260
5261 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5262
5263 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5264 checking whether point is after a 1-letter word.
5265
5266 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5267
5268 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5269 Don't infloop when expanding region over `multiline' syntax-type that
5270 begins a line (bug#15778).
5271
5272 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5273
5274 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5275 Make it into a proper minor mode.
5276 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5277 (rectangle-mark-mode-map): New keymap.
5278 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5279
5280 2013-11-04 Glenn Morris <rgm@gnu.org>
5281
5282 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5283
5284 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5287 (ruby-smie-rules): Use smie-rule-parent instead.
5288
5289 * emacs-lisp/smie.el (smie-rule-parent): Always call
5290 smie-indent-virtual rather than only for hanging tokens.
5291 (smie--next-indent-change): New helper command.
5292
5293 2013-11-03 Glenn Morris <rgm@gnu.org>
5294
5295 * Makefile.in (abs_srcdir): Remove.
5296 (emacs): Unset EMACSLOADPATH.
5297
5298 2013-11-02 Glenn Morris <rgm@gnu.org>
5299
5300 * Makefile.in (EMACS): Use a relative filename.
5301 (abs_top_builddir): Remove.
5302 (custom-deps, finder-data, autoloads): Use --chdir.
5303
5304 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5305
5306 Use relative filenames in TAGS files.
5307 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5308 (lisptagsfiles4, TAGS): Use relative file names.
5309 (TAGS-LISP): Remove.
5310 (maintainer-clean): No more TAGS-LISP file.
5311
5312 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5313 (lisptagsfiles4): Use absolute filenames again.
5314 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5315 Remove all *loaddefs files, not just the first. Remove esh-groups.
5316 (maintainer-clean): Delete TAGS, TAGS-LISP.
5317
5318 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5319
5320 * emacs-lisp/package.el (package-version-join):
5321 Recognize snapshot versions.
5322
5323 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5324
5325 * subr.el (version-regexp-alist): Add support for snapshot versions.
5326
5327 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5328
5329 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5330 New function, replacement for `smie-rule-parent' for when we want to
5331 skip over our direct parent if it's an assignment token..
5332 (ruby-smie-rules): Use it.
5333
5334 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5335
5336 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5337 unconditionally. Remove now unnecessary forward declarations.
5338 Remove XEmacs-specific setup.
5339 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5340 (ruby-font-lock-syntactic-keywords)
5341 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5342 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5343 (ruby-here-doc-end-syntax): Remove.
5344 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5345 defined as function.
5346
5347 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5348
5349 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5350
5351 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5352
5353 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5354 table and abbrev table, `define-derived-mode' does that for us
5355 anyway.
5356
5357 2013-11-01 Glenn Morris <rgm@gnu.org>
5358
5359 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5360 files is atomic for some time, so no parallel compilation issues).
5361
5362 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5363
5364 * faces.el (face-x-resources): Add :distant-foreground.
5365 (region): Use :distant-foreground for gtk and ns.
5366
5367 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5368
5369 Allow multiple bibliographies when BibLaTeX is used rather than
5370 BibTeX.
5371 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5372 (reftex-locate-bibliography-files): Us it.
5373
5374 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5375
5376 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5377 allow comments in pbm files.
5378
5379 * term/w32-win.el (dynamic-library-alist): Support newer versions
5380 of libjpeg starting with v7: look only for the DLL from the
5381 version against which Emacs was built.
5382 Support versions of libpng beyond 1.4.x.
5383 Support libtiff v4.x.
5384
5385 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5386
5387 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5388 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5389 Add property :safe.
5390 (ruby-deep-arglist): Add property :type.
5391
5392 2013-10-31 Glenn Morris <rgm@gnu.org>
5393
5394 * Makefile.in (custom-deps, finder-data): No need to setq the target
5395 variables, we are in the right directory and the defaults work fine.
5396
5397 2013-10-30 Glenn Morris <rgm@gnu.org>
5398
5399 * Makefile.in (autoloads): Do not use abs_lisp.
5400
5401 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5402 `newline' does not respect `standard-output', so use `princ'.
5403
5404 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5405
5406 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5407 * buff-menu.el (Buffer-menu--unmark): New function.
5408 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5409
5410 2013-10-30 Glenn Morris <rgm@gnu.org>
5411
5412 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5413
5414 * emacs-lisp/package.el (lm-homepage): Declare.
5415
5416 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5417 Fix doc typos.
5418
5419 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5420
5421 * Makefile.in (finder-data, autoloads, update-subdirs)
5422 (compile-main, compile-clean, compile-always, bootstrap-clean):
5423 Check return value of cd.
5424 (compile-calc): Remove.
5425
5426 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5427
5428 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5429
5430 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5431 (byte-compile-and-folded): New function.
5432 (=, <, >, <=, >=): Use it.
5433
5434 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5435 (path-separator, null-device, buffer-file-coding-system)
5436 (lpr-headers-switches): Check system-type before modifying them.
5437 (find-buffer-file-type-coding-system): Mark obsolete.
5438 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5439 find-file-not-found-set-buffer-file-coding-system.
5440 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5441 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5442 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5443 (w32-direct-print-region-helper, w32-direct-print-region-function)
5444 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5445 * startup.el (normal-top-level-add-subdirs-to-load-path):
5446 * ps-print.el (ps-print-region-function):
5447 * lpr.el (print-region-function): Use new name.
5448
5449 * subr.el (custom-declare-variable-early): Remove function.
5450 (custom-declare-variable-list): Remove var.
5451 (error, user-error): Remove `while' loop.
5452 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5453 (user-emacs-directory-warning, locate-user-emacs-file):
5454 Move to files.el.
5455 * simple.el (read-quoted-char-radix, read-quoted-char):
5456 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5457 Move from subr.el.
5458 * custom.el (custom-declare-variable-list): Don't process
5459 custom-declare-variable-list.
5460
5461 * progmodes/python.el (python-shell-get-buffer): New function.
5462 (python-shell-get-process): Use it.
5463 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5464 Python which encoding was used. Don't split-string since we only care
5465 about the first line. Return the temp-file, if applicable.
5466 (python-shell-send-region): Tell compile.el how to turn locations in
5467 the temp-file into locations in the source buffer.
5468
5469 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5470
5471 * subr.el (undefined): Add missing behavior from the C code for
5472 unbound keys.
5473
5474 * rect.el: Use lexical-binding. Add new rectangular region support.
5475 (rectangle-mark): New command.
5476 (rectangle--region): New var.
5477 (deactivate-mark-hook): Reset rectangle--region.
5478 (rectangle--extract-region, rectangle--insert-for-yank)
5479 (rectangle--highlight-for-redisplay)
5480 (rectangle--unhighlight-for-redisplay): New functions.
5481 (region-extract-function, redisplay-unhighlight-region-function)
5482 (redisplay-highlight-region-function): Use them to handle
5483 rectangular region.
5484 * simple.el (region-extract-function): New var.
5485 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5486 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5487 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5488 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5489 (redisplay-unhighlight-region-function)
5490 (redisplay-highlight-region-function): New vars.
5491 (redisplay--update-region-highlight): New function.
5492 (pre-redisplay-function): Use it.
5493 (exchange-point-and-mark): Don't deactivate the mark before
5494 reactivate-it anyway.
5495 * comint.el (comint-kill-region): Remove yank-handler argument.
5496 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5497 (delete-char): Remove property, since it's now part of their
5498 default behavior.
5499 (self-insert-iso): Remove property since this command doesn't exist.
5500
5501 * emacs-lisp/package.el (package--download-one-archive)
5502 (describe-package-1): Don't query the user about final newline.
5503
5504 2013-10-29 Daniel Colascione <dancol@dancol.org>
5505
5506 * net/tramp.el (tramp-methods): Document new functionality.
5507 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5508 tramp-hostname-checker if method provides one instead of scanning
5509 argument list for "%h" to decide hostname acceptability.
5510
5511 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5512
5513 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5514 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5515 Handle COPY-CONTENTS. (Bug#15737)
5516
5517 2013-10-28 Daiki Ueno <ueno@gnu.org>
5518
5519 * epa-file.el
5520 (epa-file-cache-passphrase-for-symmetric-encryption):
5521 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5522
5523 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5524
5525 * image.el (defimage, image-load-path): Doc fixes.
5526
5527 2013-10-27 Alan Mackenzie <acm@muc.de>
5528
5529 Indent statements in macros following "##" correctly.
5530 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5531 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5532
5533 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5534
5535 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5536
5537 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5538
5539 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5540 after `=' is probably a new expression.
5541
5542 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5543
5544 * man.el (man-imenu-title): New option.
5545 (Man-mode-map): Add menu. (Bug#15722)
5546 (Man-mode): Add imenu to menu.
5547
5548 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5549
5550 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5551 specific in what the first arg can be: a non-keyword word,
5552 string/regexp/percent literal opener, opening paren, or unary
5553 operator followed directly by word.
5554
5555 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5558 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5559 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5560 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5561 Remove vars, they do not apply any more.
5562 (prolog-mode-abbrev-table): Remove redundant declaration.
5563 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5564 (prolog-use-smie): Remove.
5565 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5566 supported by prolog-electric-if-then-else-flag.
5567 (prolog-mode-variables, prolog-menu): Use setq-local.
5568 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5569 Remove binding to `Backspace' since this key doesn't exist anyway.
5570 Remove bindings for electric self-inserting keys.
5571 (prog-mode): Assume it's defined.
5572 (prolog-post-self-insert): New function.
5573 (prolog-mode): Use it.
5574 (prolog-indent-line, prolog-indent-level)
5575 (prolog-find-indent-of-matching-paren)
5576 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5577 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5578 (prolog-goto-next-paren, prolog-in-string-or-comment)
5579 (prolog-tokenize, prolog-inside-mline-comment)
5580 (prolog-find-start-of-mline-comment): Remove functions.
5581 (prolog-find-unmatched-paren, prolog-clause-end)
5582 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5583 (prolog-electric--if-then-else): Rename from
5584 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5585 (prolog-tokenize-searchkey): Remove const.
5586 (prolog-clause-info): Use forward-sexp.
5587 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5588 (prolog-electric-if-then-else): Remove commands.
5589 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5590 for use in post-self-insert-hook.
5591 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5592 for use in post-self-insert-hook.
5593 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5594 for use in post-self-insert-hook.
5595 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5596 adapt it for use in post-self-insert-hook.
5597
5598 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5599
5600 * emacs-lisp/ert.el (ert-run-tests-interactively):
5601 Use `completing-read'. (Bug#9756)
5602
5603 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5604
5605 * simple.el (line-move): Call line-move-1 instead of
5606 line-move-visual when the current window hscroll is zero, but
5607 temporary-goal-column indicates we will need to hscroll as result
5608 of the movement. (Bug#15712)
5609
5610 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5611
5612 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5613 capitalization. Use :visible instead of :active.
5614 Fix `ruby-indent-exp' reference. Add menu items for the generic
5615 commands that are used with SMIE.
5616 (ruby-do-end-to-brace): Insert space after `{'.
5617
5618 2013-10-25 John Anthony <john@jo.hnanthony.com>
5619
5620 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5621
5622 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5623
5624 2013-10-25 Glenn Morris <rgm@gnu.org>
5625
5626 * vc/vc.el (vc-print-log): Don't use a working revision unless
5627 one was explicitly specified. (Bug#15322)
5628
5629 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * subr.el (add-to-list): Preserve return value in compiler-macro
5632 (bug#15692).
5633
5634 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5635
5636 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5637 result. Ask user to retry using '-all' flag. (Bug#15701)
5638
5639 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5640
5641 * emacs-lisp/smie.el: New smie-config system.
5642 (smie-config): New defcustom.
5643 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5644 (smie-config-guess, smie-config-save): New commands.
5645 (smie-config--mode-local, smie-config--buffer-local)
5646 (smie-config--trace, smie-config--modefuns): New vars.
5647 (smie-config--advice, smie-config--mode-hook)
5648 (smie-config--setter, smie-config-local, smie-config--get-trace)
5649 (smie-config--guess-value, smie-config--guess): New functions.
5650 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5651 text properties. Treat "string fence" syntax like string syntax.
5652
5653 * progmodes/sh-script.el (sh-use-smie): Change default.
5654 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5655 (sh-var-value): Simplify by CSE.
5656 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5657 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5658 is used.
5659 (sh-guess-basic-offset): Use cl-incf.
5660 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5661
5662 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5663
5664 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5665 (bug#15699).
5666
5667 2013-10-24 Glenn Morris <rgm@gnu.org>
5668
5669 * Makefile.in (abs_top_srcdir): Remove.
5670 (update-subdirs): Use relative path to update-subdirs.
5671
5672 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5673
5674 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5675 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5676 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5677 Call unmsys--file-name before expand-file-name, not after it.
5678
5679 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5680
5681 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5682 (ert-test-skipped): New error.
5683 (ert-skip, ert-stats-skipped): New defuns.
5684 (ert--skip-unless): New macro.
5685 (ert-test-skipped): New struct.
5686 (ert--run-test-debugger, ert-test-result-type-p)
5687 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5688 (ert--stats-set-test-and-result, ert-char-for-test-result)
5689 (ert-string-for-test-result, ert-run-tests-batch)
5690 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5691 Handle skipped tests. (Bug#9803)
5692
5693 2013-10-24 Glenn Morris <rgm@gnu.org>
5694
5695 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5696
5697 * Makefile.in (abs_top_srcdir): New, set by configure.
5698 (update-subdirs): Correct build-aux location.
5699
5700 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5701
5702 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5703 value, whether we could auto-deduce `backend', or not.
5704
5705 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5706 with parameters" example. Simplify the "is it block or is it
5707 hash" check, but also make it more thorough.
5708
5709 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5710
5711 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5712
5713 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5716 { if it is hanging.
5717
5718 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5719 :before ";".
5720
5721 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5722
5723 * progmodes/compile.el (compilation-directory-matcher)
5724 (compilation-page-delimiter):
5725 Support GNU Make-4.0 directory quoting. (Bug#15678)
5726
5727 2013-10-23 Leo Liu <sdl.web@gmail.com>
5728
5729 * ido.el (ido-tidy): Handle read-only text.
5730
5731 2013-10-23 Glenn Morris <rgm@gnu.org>
5732
5733 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5734 (emacs, compile, compile-always):
5735 Quote entities that might contain whitespace.
5736 (custom-deps, finder-data, autoloads): Use abs_lisp.
5737 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5738 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5739 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5740
5741 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5742
5743 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5744 Use `following-char'.
5745
5746 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5749 * progmodes/ruby-mode.el (ruby-smie-rules):
5750 Remove corresponding workaround. Fix indentation rule of ";" so it
5751 also applies when ";" is the parent.
5752
5753 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5754
5755 * frame.el (display-screens, display-pixel-height)
5756 (display-pixel-width, display-mm-width, display-backing-store)
5757 (display-save-under, display-planes, display-color-cells)
5758 (display-visual-class, display-monitor-attributes-list):
5759 Mention the optional ‘display’ argument in doc strings.
5760
5761 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5762
5763 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5764 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5765
5766 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5767
5768 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5769 TODO. Add "." after " @ ".
5770 (ruby-smie--at-dot-call): New function. Checks if point at method
5771 call with explicit target.
5772 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5773 to the method name tokens when it precedes them.
5774 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5775 (ruby-smie-rules): Add rule for indentation before and after "."
5776 token.
5777
5778 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * textmodes/remember.el (remember-diary-extract-entries):
5781 Avoid add-to-list.
5782
5783 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5784 an instruction.
5785
5786 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5787
5788 * progmodes/ruby-mode.el (ruby-smie-grammar):
5789 Add (almost) all infix operators.
5790 (ruby-smie--implicit-semi-p): Add new operator chars.
5791
5792 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5793 `smie-down-list'.
5794 (ruby-smie--args-separator-p): Check that there's no newline
5795 between method call and its arguments.
5796
5797 2013-10-20 Alan Mackenzie <acm@muc.de>
5798
5799 Allow comma separated lists after Java "implements".
5800
5801 * progmodes/cc-engine.el (c-backward-over-enum-header):
5802 Parse commas.
5803 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5804 from a "disallowed" list in enum fontification.
5805
5806 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5807
5808 * startup.el (default-frame-background-mode): Remove unused defvar.
5809
5810 * progmodes/verilog-mode.el (verilog-mode): Don't set
5811 comment-indent-function globally.
5812
5813 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5814
5815 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5816 Move Info menu item creation to ns-win.el.
5817
5818 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5819 in menu bar.
5820
5821 * menu-bar.el: Move GNUstep specific menus...
5822
5823 * term/ns-win.el (ns-initialize-window-system): ... to here.
5824
5825 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * simple.el (newline): Only run post-self-insert-hook when
5828 called interactively.
5829
5830 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5831
5832 * icomplete.el (icomplete-with-completion-tables): Add :version.
5833
5834 2013-10-19 Alan Mackenzie <acm@muc.de>
5835
5836 Fix fontification bugs with constructors and const.
5837
5838 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5839 CASE 2) Remove the check for the absence of a suffix construct
5840 after a function declaration with only types (no identifiers) in
5841 the parentheses. Also, accept a function declaration with just a
5842 type inside the parentheses, if this type can be positively
5843 recognised as such, or if a prefix keyword like "explicit" nails
5844 down the construct as a declaration.
5845
5846 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5847
5848 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5849 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5850 the problem whereby selecting a menu item that leads to a
5851 minibuffer prompt moves the cursor out of the minibuffer window,
5852 making it hard to type at the prompt. Suggested by Stefan Monnier
5853 <monnier@iro.umontreal.ca>.
5854
5855 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5856
5857 * menu-bar.el: Don't make Services menu.
5858
5859 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5860
5861 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5862 (ffap-alist): Use ffap-c++-mode for c++-mode.
5863 (ffap-c++-path): New variable.
5864 (ffap-c++-mode): New function.
5865
5866 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5867
5868 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5869
5870 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5871
5872 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5873 introduced on 2013-09-08, which results in an infinite loop
5874 requesting a password.
5875
5876 2013-10-18 Glenn Morris <rgm@gnu.org>
5877
5878 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5879
5880 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5881
5882 Sync with upstream verilog-mode revision 1a6ecec7.
5883 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5884 (verilog-mode-release-date): Remove.
5885 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5886 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5887 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5888 (verilog-auto-tieoff-ignore-regexp)
5889 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5890 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5891 (verilog-signals-with, verilog-dir-cache-preserving)
5892 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5893 Doc fixes.
5894 (verilog-case-fold): New option, to control case folding in
5895 regexp searches, bug597.
5896 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5897 (verilog-string-match-fold, verilog-in-paren-count)
5898 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5899 (verilog-at-close-struct-p): New functions.
5900 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5901 (verilog-forward-sexp, verilog-set-auto-endcomments)
5902 (verilog-leap-to-case-head): Handle "unique0" case.
5903 (verilog-in-constraint-re): New constant.
5904 (verilog-keywords, verilog-type-font-keywords):
5905 Add some SystemVerilog 1800-2012 keywords.
5906 (verilog-label-be): Remove unimplemented argument, bug669.
5907 (verilog-batch-execute-func): When batch expanding clear
5908 create-lockfiles to prevent spurious user locks when a file ends
5909 up not changing.
5910 (verilog-calculate-indent, verilog-calc-1)
5911 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5912 (verilog-do-indent): Fix indentation of nested constraints
5913 and structures.
5914 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5915 (verilog-auto-inst-param): Use verilog-string-match-fold.
5916 (verilog-read-inst-module-matcher):
5917 Fix AUTOINST on gate primitives with #1.
5918 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5919 Reads all user-defined typed variables.
5920 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5921 (verilog-signals-matching-regexp)
5922 (verilog-signals-not-matching-regexp, verilog-auto):
5923 Respect verilog-case-fold.
5924 (verilog-diff-report): Fix line count.
5925 (verilog-auto-assign-modport): Remove unused local `modi'.
5926 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5927 better handle multidimensional arrays.
5928 Fix packed array ports misadding bit index in AUTOINST, bug637.
5929 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5930 to not double-declare existing outputs and inputs, respectively.
5931 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5932 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5933 (verilog-sk-uvm-component): New skeleton.
5934 (verilog-submit-bug-report): Add verilog-case-fold,
5935 remove verilog-mode-release-date.
5936
5937 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5938
5939 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5940 as before.
5941
5942 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5943
5944 * textmodes/remember.el (remember): Set buffer-offer-save in
5945 remember buffers (bug#13566).
5946
5947 2013-10-18 Daniel Colascione <dancol@dancol.org>
5948
5949 When evaluating forms in ielm, direct standard output to ielm
5950 buffer. Add new ielm-return-for-effect command. Remove trailing
5951 whitespace throughout.
5952
5953 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5954 (ielm-return-for-effect): New command.
5955 (ielm-send-input): Accept optional `for-effect' parameter.
5956 (ielm-eval-input): Accept optional `for-effect' parameter.
5957 Bind `standard-output' to stream we create using
5958 `ielm-standard-output-impl'. Suppress printing result when
5959 `for-effect'.
5960 (ielm-standard-output-impl): New function.
5961 (inferior-emacs-lisp-mode): Explain new features in documentation.
5962
5963 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5964
5965 Code cleanup.
5966
5967 * net/tramp.el (tramp-debug-message): Do not check for connection
5968 buffer.
5969 (tramp-message): Use "vector" connection property.
5970
5971 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5972 (tramp-equal-remote, tramp-eshell-directory-change)
5973 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5974 (tramp-adb-handle-rename-file)
5975 * net/tramp-cmds.el (tramp-list-remote-buffers)
5976 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5977 * net/tramp-compat.el (tramp-compat-process-running-p)
5978 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5979 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5980 (tramp-gvfs-handle-rename-file)
5981 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5982 (tramp-set-file-uid-gid)
5983 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5984 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5985 of `file-remote-p'.
5986
5987 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5988 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5989 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5990 (tramp-gw-open-network-stream): Suppress unrelated traces.
5991
5992 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5993 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5994 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5995 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5996 connection property.
5997
5998 * net/tramp-cache.el (top): Suppress traces when reading
5999 persistency file.
6000
6001 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6002 Refactor common code. Improve debug message.
6003 (tramp-maybe-open-connection)
6004 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6005 connection buffer too early.
6006
6007 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6008 from `tramp-smb-actions-with-acl'.
6009 (tramp-smb-actions-set-acl): New defconst.
6010 (tramp-smb-handle-copy-directory)
6011 (tramp-smb-action-get-acl): New defun, renamed from
6012 `tramp-smb-action-with-acl'.
6013 (tramp-smb-action-set-acl): New defun.
6014 (tramp-smb-handle-set-file-acl): Rewrite.
6015
6016 2013-10-17 Glenn Morris <rgm@gnu.org>
6017
6018 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6019
6020 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * skeleton.el (skeleton-newline): Remove.
6023 (skeleton-internal-1): Use (insert "\n") instead.
6024
6025 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6026 let-bindings.
6027
6028 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6029 forward-sexp-function while we redo its job (bug#15613).
6030
6031 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6032
6033 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6034 represented by lists.
6035
6036 2013-10-16 Glenn Morris <rgm@gnu.org>
6037
6038 * tmm.el (tmm--history): New dynamic variable.
6039 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6040
6041 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6042
6043 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6044 (tramp-smb-errors): Add error messages.
6045 (tramp-smb-actions-with-acl): New defconst.
6046 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6047 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6048 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6049 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6050 (tramp-smb-get-stat-capability): Fix tests.
6051
6052 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6053
6054 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6055 (bug#15580).
6056
6057 2013-10-16 Glenn Morris <rgm@gnu.org>
6058
6059 * ansi-color.el (ansi-color-drop-regexp):
6060 Add 1J, 1K, 2K. (Bug#15617)
6061
6062 * files.el (hack-local-variables--warned-lexical): New.
6063 (hack-local-variables):
6064 Warn about misplaced lexical-binding. (Bug#15616)
6065
6066 * net/eww.el (eww-render): Always set eww-current-url,
6067 and update header line. (Bug#15622)
6068 (eww-display-html): ... Rather than just doing it here.
6069
6070 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6071
6072 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6073 menu navigations commands.
6074
6075 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6076
6077 * progmodes/subword.el (subword-capitalize): Be careful when
6078 the search for [[:alpha:]] fails (bug#15580).
6079
6080 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6081
6082 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6083 to commands that scroll the menu.
6084
6085 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6086
6087 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6088 Handle methods ending with `?' and `!'.
6089
6090 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6091
6092 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6093 `japanese-cp932' to `cp932' to fix the problem where saving a
6094 source file written in Shift_JIS twice would end up having
6095 `coding: japanese-cp932' which Ruby could not recognize.
6096 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6097 in `ruby-encoding-map'.
6098 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6099 doesn't need to be explicitly declared in magic comment.
6100 (ruby-encoding-map): Add type declaration for better customize UI.
6101
6102 2013-10-13 Glenn Morris <rgm@gnu.org>
6103
6104 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6105 Occur buffers are read-only. http://bugs.debian.org/720775
6106
6107 * emacs-lisp/authors.el (authors-fixed-entries):
6108 Comment out old alpha stuff.
6109
6110 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6111
6112 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6113 to `after-save-hook' instead of `before-save-hook'.
6114 (ruby-mode-set-encoding): Use the value of coding system used to
6115 write the file. Call `basic-save-buffer-1' after modifying the
6116 buffer.
6117
6118 2013-10-13 Alan Mackenzie <acm@muc.de>
6119
6120 Fix indentation/fontification of Java enum with
6121 "implements"/generic.
6122
6123 * progmodes/cc-engine.el (c-backward-over-enum-header):
6124 Extracted from the three other places and enhanced to handle generics.
6125 (c-inside-bracelist-p): Uses new function above.
6126 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6127 function above.
6128 (c-font-lock-enum-tail): Uses new function above.
6129
6130 2013-10-13 Kenichi Handa <handa@gnu.org>
6131
6132 * international/mule-cmds.el (select-safe-coding-system): Remove a
6133 superfluous condition in chekcing whether a coding system is safe
6134 or not.
6135
6136 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6137
6138 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6139
6140 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6141
6142 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6143
6144 2013-10-13 Glenn Morris <rgm@gnu.org>
6145
6146 * menu-bar.el (menu-bar-update-buffers):
6147 Unify Buffers menu prompt string. (Bug#15576)
6148
6149 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6150
6151 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6152 Add some entries.
6153 (authors-fixed-entries): Use accented form of name.
6154
6155 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6158 method calls (bug#15594).
6159 (ruby-smie--args-separator-p): New function.
6160 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6161 recognize paren-free method calls.
6162
6163 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6164 internals of universal-argument.
6165
6166 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6167
6168 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6169 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6170 dropped menu on second mouse click on the menu bar.
6171
6172 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6175 (explicit-shell-file-name): Declare.
6176 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6177 (sh-completion-at-point-function): New function.
6178 (sh-mode): Use it.
6179 (sh-smie--keyword-p): Remove unused argument.
6180 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6181 vars.
6182 (sh-set-shell): Always setup SMIE, even if we use the
6183 old indentation code.
6184
6185 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6186
6187 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6188 cases of ? and =.
6189 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6190 predicate would return nil are almost non-existent.
6191 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6192
6193 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6194 cache also after commands that modify the buffer but don't move
6195 point.
6196
6197 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * env.el (substitute-env-in-file-name): New function.
6200 (substitute-env-vars): Extend the meaning of the optional arg.
6201
6202 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6203
6204 * term/w32-win.el (dynamic-library-alist): Define separate lists
6205 of GIF DLLs for versions before and after 5.0.0 of giflib.
6206 (Bug#15531)
6207
6208 2013-10-10 João Távora <joaotavora@gmail.com>
6209
6210 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6211 not locked, use last revision and current source as
6212 defaults. (Bug#15569)
6213
6214 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6215
6216 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6217 menu-bar is hidden.
6218
6219 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6220
6221 * window.el (pop-to-buffer-same-window): Fix doc-string.
6222 (Bug#15492)
6223
6224 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6227
6228 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6229
6230 * calendar/icalendar.el (icalendar-import-file):
6231 Fix interactive spec. (Bug#15482)
6232
6233 2013-10-10 Glenn Morris <rgm@gnu.org>
6234
6235 * desktop.el (desktop-save): Default to saving in .emacs.d,
6236 since PWD is no longer in desktop-path by default. (Bug#15319)
6237
6238 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6239 now that text mode has a menu with the same entry.
6240 (menu-bar-text-mode-auto-fill): Remove now unused func.
6241 * textmodes/text-mode.el (text-mode-map):
6242 Use auto-fill help text from menu-bar.el.
6243
6244 2013-10-10 John Anthony <john@jo.hnanthony.com>
6245
6246 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6247
6248 2013-10-09 Juri Linkov <juri@jurta.org>
6249
6250 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6251 instead of this-command-keys. Add universal-argument-more and
6252 universal-argument-minus to the list of prefix commands. (Bug#15568)
6253
6254 2013-10-09 Glenn Morris <rgm@gnu.org>
6255
6256 * vc/vc-svn.el (vc-svn-create-repo):
6257 Expand paths in file://... url. (Bug#15446)
6258
6259 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6260 Add some entries.
6261 (authors): Remove unused local variables.
6262
6263 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * profiler.el: Create a more coherent calltree from partial backtraces.
6266 (profiler-format): Hide the tail with `invisible' so that C-s can still
6267 find the hidden elements.
6268 (profiler-calltree-depth): Don't recurse so enthusiastically.
6269 (profiler-function-equal): New hash-table-test.
6270 (profiler-calltree-build-unified): New function.
6271 (profiler-calltree-build): Use it.
6272 (profiler-report-make-name-part): Indent the calltree less.
6273 (profiler-report-mode): Add visibility specs for profiler-format.
6274 (profiler-report-expand-entry, profiler-report-toggle-entry):
6275 Expand the whole subtree when provided with a prefix arg.
6276
6277 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6278
6279 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6280 iuwu-mod token.
6281 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6282 hanging iuwu-mod token.
6283 (ruby-smie--forward-token): Do not include a dot after a token in
6284 that token.
6285 (ruby-smie--backward-token): Likewise.
6286
6287 2013-10-08 Juri Linkov <juri@jurta.org>
6288
6289 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6290 to isearch-other-control-char.
6291 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6292 and isearch-post-command-hook to post-command-hook.
6293 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6294 and isearch-post-command-hook from post-command-hook.
6295 (isearch-unread-key-sequence)
6296 (isearch-reread-key-sequence-naturally)
6297 (isearch-lookup-scroll-key, isearch-other-control-char)
6298 (isearch-other-meta-char): Remove functions.
6299 (isearch-pre-command-hook, isearch-post-command-hook):
6300 New functions based on isearch-other-meta-char rewritten
6301 relying on the new behavior of overriding-terminal-local-map
6302 that does not replace the local keymaps any more. (Bug#15200)
6303
6304 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6305
6306 Support menus on text-mode terminals.
6307 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6308 functionality.
6309
6310 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6311
6312 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6313 Move here from mouse.el.
6314 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6315 and arrow keys.
6316 (tty-menu-navigation-map): New map for TTY menu navigation.
6317
6318 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6319
6320 * frame.el (display-mouse-p): Report text-mode mouse as available
6321 on w32.
6322 (display-popup-menus-p): Report availability if mouse is
6323 available; don't condition on window-system.
6324
6325 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6326 (tty-menu-selected-face): New faces.
6327
6328 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6331 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6332 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6333 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6334 New constants.
6335 (lisp-mode-variables): New `elisp' argument.
6336 (emacs-lisp-mode): Use it.
6337 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6338 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6339
6340 * indent.el: Use lexical-binding.
6341 (indent-region): Add progress reporter.
6342 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6343 last step.
6344 (indent--next-tab-stop): New function to implement this behavior.
6345 (tab-to-tab-stop, move-to-tab-stop): Use it.
6346
6347 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6348
6349 * indent.el (indent-rigidly--current-indentation): New function.
6350 (indent-rigidly-map): New var.
6351 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6352
6353 2013-10-08 Bastien Guerry <bzg@gnu.org>
6354
6355 * register.el (insert-register): Fix 2013-10-07 change.
6356
6357 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * progmodes/perl-mode.el: Use lexical-binding.
6360 Remove redundant :group args.
6361 (perl-nochange): Change default to be closer to other major modes's
6362 standard behavior.
6363 (perl-indent-line): Don't consider text on current line as a
6364 valid beginning of function from which to indent.
6365
6366 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6367 with more than one argument (bug#15538).
6368
6369 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6370
6371 * vc/pcvs.el: Use lexical-binding.
6372 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6373 environment of `eval'.
6374 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6375 than a list of expressions. Adjust callers.
6376 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6377
6378 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6379
6380 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6381 case of the dot in a chained method call being on the following line.
6382
6383 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * electric.el (electric-indent-inhibit): New var.
6386 (electric-indent-post-self-insert-function): Use it.
6387 * progmodes/python.el (python-mode): Set it.
6388
6389 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6390 open braces.
6391
6392 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6393
6394 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6395 (css-mode): Use electric-indent-chars.
6396
6397 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6398 (font-lock-beg, font-lock-end): Move before first use.
6399 (nxml-mode): Use syntax-propertize-function.
6400 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6401 (nxml-extend-after-change-region): Remove.
6402 * nxml/xmltok.el: Use lexical-binding.
6403 (xmltok-save): Use `declare'.
6404 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6405 * nxml/nxml-util.el: Use lexical-binding.
6406 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6407 Use `declare'.
6408 * nxml/nxml-ns.el: Use lexical-binding.
6409 (nxml-ns-save): Use `declare'.
6410 (nxml-ns-prefixes-for): Avoid add-to-list.
6411 * nxml/rng-match.el: Use lexical-binding.
6412 (rng--ipattern): Use cl-defstruct.
6413 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6414 (rng-cons-group-after, rng-subst-group-after)
6415 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6416 Use closures instead of `(lambda...).
6417
6418 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6419
6420 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6421 of BEG and END.
6422
6423 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6424 Use `tramp-handle-insert-file-contents'.
6425 (tramp-gvfs-handle-insert-file-contents): Remove function.
6426
6427 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6428 Use `save-restriction' in order to keep markers.
6429
6430 * net/trampver.el: Update release number.
6431
6432 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * progmodes/compile.el (compilation-parse-errors):
6435 Use compilation--put-prop.
6436 (compilation--ensure-parse): Check compilation-multiline.
6437
6438 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6439
6440 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6441 lexical-binding.
6442
6443 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6444
6445 * progmodes/ruby-mode.el: Fix recently added tests.
6446 (ruby-smie-grammar): Add - and +.
6447 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6448 (ruby-smie--backward-id): New functions.
6449 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6450 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6451 any more.
6452
6453 2013-10-07 Leo Liu <sdl.web@gmail.com>
6454
6455 * register.el (register-preview-delay)
6456 (register-preview-functions): New variables.
6457 (register-read-with-preview, register-preview)
6458 (register-describe-oneline): New functions.
6459 (point-to-register, window-configuration-to-register)
6460 (frame-configuration-to-register, jump-to-register)
6461 (number-to-register, view-register, insert-register)
6462 (copy-to-register, append-to-register, prepend-to-register)
6463 (copy-rectangle-to-register): Use register-read-with-preview to
6464 read register. (Bug#15525)
6465
6466 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6467
6468 * net/network-stream.el (network-stream-open-starttls): Don't add
6469 --insecure if it's already present, because that gnutls-cli
6470 rejects getting that parameter twice.
6471
6472 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6473
6474 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6475 keyword, too.
6476
6477 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6478
6479 * newcomment.el (comment-use-global-state): Change default value
6480 to t, mark obsolete (Bug#15251).
6481 (comment-beginning): In addition to `comment-to-syntax', check the
6482 value of `comment-use-global-state'.
6483
6484 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6487 (ruby-comment-column): Follow the global default, by default.
6488 (ruby-smie-grammar): Add assignment syntax.
6489 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6490 open-paren, a comma, or a \.
6491 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6492 and line continuations.
6493 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6494 followed by implicit semi-colons. Add rule for string concatenation
6495 and for indentation at BOB.
6496 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6497
6498 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6499 calling next-sexp, since next-token may have skipped chars which
6500 next-sexp doesn't know should be skipped!
6501
6502 2013-10-05 Leo Liu <sdl.web@gmail.com>
6503
6504 * progmodes/octave.el (octave-send-region):
6505 Call compilation-forget-errors.
6506
6507 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6508
6509 * vc/vc-svn.el (vc-svn-find-admin-dir):
6510 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6511 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6512 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6513 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6514
6515 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6518
6519 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * subr.el (read-passwd): Hide chars even when called within a context
6522 where after-change-functions is disabled (bug#15501).
6523 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6524 until we removed ourself from overriding-terminal-local-map.
6525
6526 2013-10-04 Leo Liu <sdl.web@gmail.com>
6527
6528 * progmodes/octave.el (inferior-octave-mode):
6529 Call compilation-forget-errors.
6530
6531 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6532
6533 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6534
6535 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6536
6537 * net/secrets.el (secrets-create-collection): Add optional
6538 argument ALIAS. Use proper Label keyword. Append ALIAS as
6539 dbus-call-method argument. (Bug#15516)
6540
6541 2013-10-04 Leo Liu <sdl.web@gmail.com>
6542
6543 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6544 (inferior-octave-compilation-font-lock-keywords): New variables.
6545 (compilation-error-regexp-alist)
6546 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6547 (inferior-octave-mode): Use compilation-shell-minor-mode.
6548
6549 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6550
6551 * minibuffer.el (completion--replace): Be careful that `end' might be
6552 a marker.
6553
6554 2013-10-03 Daiki Ueno <ueno@gnu.org>
6555
6556 Add support for package signature checking.
6557 * emacs-lisp/package.el (url-http-file-exists-p)
6558 (epg-make-context, epg-context-set-home-directory)
6559 (epg-verify-string, epg-context-result-for)
6560 (epg-signature-status, epg-signature-to-string)
6561 (epg-check-configuration, epg-configuration)
6562 (epg-import-keys-from-file): Declare.
6563 (package-check-signature): New user option.
6564 (package-unsigned-archives): New user option.
6565 (package-desc): Add `signed' field.
6566 (package-load-descriptor): Set `signed' field if .signed file exists.
6567 (package--archive-file-exists-p): New function.
6568 (package--check-signature): New function.
6569 (package-install-from-archive): Check package signature.
6570 (package--download-one-archive): Check archive signature.
6571 (package-delete): Remove .signed file.
6572 (package-import-keyring): New command.
6573 (package-refresh-contents): Import default keyring.
6574 (package-desc-status): Add "unsigned" status.
6575 (describe-package-1, package-menu--print-info)
6576 (package-menu-mark-delete, package-menu--find-upgrades)
6577 (package-menu--status-predicate): Support "unsigned" status.
6578
6579 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6580
6581 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6582 the new compilation scheme using the new byte-codes.
6583
6584 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6585 (byte-pophandler): New byte codes.
6586 (byte-goto-ops): Adjust accordingly.
6587 (byte-compile--use-old-handlers): New var.
6588 (byte-compile-catch): Use new byte codes depending on
6589 byte-compile--use-old-handlers.
6590 (byte-compile-condition-case--old): Rename from
6591 byte-compile-condition-case.
6592 (byte-compile-condition-case--new): New function.
6593 (byte-compile-condition-case): New function that dispatches depending
6594 on byte-compile--use-old-handlers.
6595 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6596 when we can.
6597
6598 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6599 Optimize under `condition-case' and `catch' if
6600 byte-compile--use-old-handlers is nil.
6601 (disassemble-offset): Handle new bytecodes.
6602
6603 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * subr.el (error): Use `declare'.
6606 (decode-char, encode-char): Use advertised-calling-convention instead
6607 of the docstring to discourage use of the `restriction' arg.
6608
6609 2013-10-03 Daiki Ueno <ueno@gnu.org>
6610
6611 * epg.el (epg-verify-file): Add a comment saying that it does not
6612 notify verification error as a return value nor a signal.
6613 (epg-verify-string): Ditto.
6614
6615 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6616
6617 * progmodes/compile.el (compilation-start): Try globbing the arg to
6618 `cd' (bug#15417).
6619
6620 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6621
6622 Sync with Tramp 2.2.8.
6623
6624 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6625 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6626 * net/trampver.el: Update release number.
6627
6628 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6629
6630 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6631 and default-process-coding-system for darwin only.
6632
6633 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6636
6637 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6638
6639 * vc/vc-git.el (vc-git-grep): Disable pager.
6640
6641 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6644 Use :url instead of :homepage, as per
6645 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6646
6647 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6648 non-nil, use `syntax-ppss' (Bug#15251).
6649
6650 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6651
6652 * progmodes/octave.el (inferior-octave-startup-file):
6653 Prefer ~/.emacs.d/init_octave.m.
6654
6655 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6656
6657 * emacs-lisp/package.el (package-desc-from-define):
6658 Accept additional arguments as plist, convert them to an alist and store
6659 them in the `extras' slot.
6660 (package-generate-description-file): Convert extras alist back to
6661 plist and append to the `define-package' form arguments.
6662 (package--alist-to-plist): New function.
6663 (package--ac-desc): Add `extras' slot.
6664 (package--add-to-archive-contents): Check if the archive-contents
6665 vector is long enough, and if it is, pass its `extras' slot value
6666 to `package-desc-create'.
6667 (package-buffer-info): Call `lm-homepage', pass the returned value
6668 to `package-desc-from-define'.
6669 (describe-package-1): Render the homepage button (Bug#13291).
6670
6671 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6672 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6673
6674 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6675
6676 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6677 and default-process-coding-system to utf-8-unix (Bug#15402).
6678
6679 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6680
6681 * subr.el (looking-back): Do not recommend using looking-back.
6682
6683 2013-09-28 Alan Mackenzie <acm@muc.de>
6684
6685 Fix indentation/fontification of Java enum with "implements".
6686
6687 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6688 regexp which matches "implements", etc., in Java.
6689 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6690 specifier clauses coming after "enum".
6691 * progmodes/cc-fonts.el (c-font-lock-declarations)
6692 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6693 after "enum".
6694
6695 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6696
6697 * faces.el (region): Change ns_selection_color to
6698 ns_selection_fg_color, add ns_selection_bg_color.
6699
6700 2013-09-28 Leo Liu <sdl.web@gmail.com>
6701
6702 * progmodes/octave.el (inferior-octave-completion-table)
6703 (inferior-octave-completion-at-point): Minor tweaks.
6704
6705 * textmodes/ispell.el (ispell-lookup-words): Rename from
6706 lookup-words. (Bug#15460)
6707 (lookup-words): Obsolete.
6708 (ispell-complete-word, ispell-command-loop): All uses changed.
6709
6710 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6711
6712 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6713 (octave-mode-menu): Add octave-send-buffer.
6714 (octave-send-buffer): New function.
6715
6716 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6717
6718 * progmodes/octave.el (octave-mode-map): Add key binding for
6719 octave-lookfor.
6720 (octave-mode-menu): Add octave-lookfor.
6721 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6722 octave-lookfor.
6723 (octave-lookfor): New function.
6724
6725 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6726
6727 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6728 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6729 its convention.
6730 (cl--loop-set-iterator-function): New function.
6731 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6732 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6733 Bind `it' with `let' instead of substituting it with `cl-subst'.
6734 (cl--unused-var-p): New function.
6735 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6736 Eliminate some unused variable warnings (bug#15326).
6737
6738 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6739
6740 * doc-view.el (doc-view-scale-reset): Rename from
6741 `doc-view-reset-zoom-level'.
6742 (doc-view-scale-adjust): New command.
6743 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6744 `doc-view-scale-adjust'.
6745
6746 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6747
6748 * doc-view.el (doc-view-reset-zoom-level): New command.
6749 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6750 zoom commands (bug#15466).
6751
6752 2013-09-26 Kenichi Handa <handa@gnu.org>
6753
6754 * international/quail.el (quail-help): Make it not a command.
6755
6756 2013-09-26 Leo Liu <sdl.web@gmail.com>
6757
6758 * minibuffer.el (completion-all-sorted-completions): Make args
6759 optional as they are.
6760
6761 2013-09-25 Daniel Colascione <dancol@dancol.org>
6762
6763 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6764 specs are and that they're not evaluated.
6765
6766 2013-09-24 Sam Steingold <sds@gnu.org>
6767
6768 * midnight.el (clean-buffer-list-kill-regexps)
6769 (clean-buffer-list-kill-buffer-names): Update for the new Man
6770 buffer naming which includes the object name.
6771
6772 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6775 (eshell-parse-command, eshell-parse-pipeline): Use it since
6776 eshell-separate-commands requires a dynamic scoped var.
6777 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6778
6779 2013-09-23 Leo Liu <sdl.web@gmail.com>
6780
6781 * autoinsert.el (auto-insert-alist): Make the value of
6782 lexical-binding match its file setting.
6783
6784 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6785
6786 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6787
6788 * autoarg.el (autoarg-kp-digit-argument):
6789 * electric.el (Electric-command-loop):
6790 * kmacro.el (kmacro-step-edit-insert):
6791 Do not set universal-argument-num-events.
6792
6793 2013-09-22 Leo Liu <sdl.web@gmail.com>
6794
6795 * files.el (interpreter-mode-alist): Add octave.
6796
6797 2013-09-21 Alan Mackenzie <acm@muc.de>
6798
6799 C++: fontify identifier in declaration following "public:" correctly.
6800 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6801 to match "public", etc.
6802 (c-decl-prefix-re): Add ":" into the C++ value.
6803 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6804 bit. Add a check for a ":" preceded by "public", etc.
6805
6806 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6807
6808 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6809 recognized by GDB 7.5 and later.
6810
6811 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6812
6813 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6814
6815 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * subr.el (internal--call-interactively): New const.
6818 (called-interactively-p): Use it (bug#3984).
6819
6820 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6821
6822 * vc/pcvs.el (cvs-mode-ignore):
6823 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6824 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6825
6826 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6829 (eshell-ls-orig-insert-directory): Remove.
6830 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6831 (eshell-ls-use-in-dired): Use advice-add/remove.
6832 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6833 Add `orig-fun' arg for use in :around advice.
6834 Make it check (redundantly) eshell-ls-use-in-dired.
6835
6836 2013-09-19 Glenn Morris <rgm@gnu.org>
6837
6838 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6839
6840 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6841
6842 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6843
6844 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6845
6846 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6847 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6848 (tramp-get-remote-python): New defuns.
6849 (tramp-get-remote-uid-with-perl)
6850 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6851 contributed by yary <not.com@gmail.com> (tiny change).
6852 (tramp-get-remote-uid-with-python)
6853 (tramp-get-remote-gid-with-python): New defuns. Python code
6854 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6855 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6856
6857 2013-09-19 Glenn Morris <rgm@gnu.org>
6858
6859 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6860
6861 * eshell/em-unix.el (eshell-remove-entries):
6862 Rename argument to avoid name-clash with global `top-level'.
6863
6864 * eshell/esh-proc.el (eshell-kill-process-function):
6865 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6866 (eshell-reset-after-proc): Remove unused arg `proc'.
6867
6868 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6869 (directory-files-and-attributes): Mark unused arg.
6870
6871 * eshell/em-unix.el (eshell-remove-entries):
6872 Remove unused arg `path'. Update callers.
6873
6874 * eshell/em-hist.el (eshell-hist-parse-arguments):
6875 Remove unused arg `silent'. Update callers.
6876
6877 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6878 Fix (f)boundp mix-up.
6879
6880 * eshell/em-smart.el (eshell-smart-scroll-window)
6881 (eshell-disable-after-change):
6882 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6883
6884 2013-09-18 Alan Mackenzie <acm@muc.de>
6885
6886 Fix fontification of type when followed by "const".
6887 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6888 "known" types from fontification.
6889
6890 2013-09-18 Glenn Morris <rgm@gnu.org>
6891
6892 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6893 (chart-face-list): Drop Emacsen without display-color-p.
6894
6895 * net/eww.el (libxml-parse-html-region): Declare.
6896 (eww-display-html): Explicit error if no libxml2 support.
6897
6898 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6899
6900 * image.el (image-type-from-buffer, image-multi-frame-p):
6901 Remove --without-x warning/error.
6902
6903 * mouse.el (mouse-yank-primary):
6904 * term.el (term-mouse-paste):
6905 Reorder to silence --without-x compilation.
6906
6907 * mpc.el (doc-view-mode): Silence --without-x compilation.
6908
6909 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6910 Silence --without-x compilation.
6911
6912 * progmodes/gud.el (gud-find-file, gud-mode):
6913 Silence --without-x compilation.
6914 (tooltip-mode): Declare.
6915
6916 * wdired.el (dired-backup-overwrite): Remove declaration.
6917 (wdired-mode-map): Add doc string.
6918
6919 * custom.el (x-get-resource): Declare.
6920
6921 * eshell/em-glob.el (ange-cache):
6922 * eshell/em-unix.el (ange-cache): Declare.
6923
6924 * faces.el (x-display-list, x-open-connection, x-get-resource):
6925 Declare.
6926
6927 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6928 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6929 Declare.
6930
6931 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6932
6933 * net/gnutls.el (gnutls-log-level): Declare.
6934
6935 * net/shr.el (image-size, image-animate): Declare.
6936
6937 * simple.el (font-info): Declare.
6938
6939 * subr.el (x-popup-dialog): Declare.
6940
6941 * term/common-win.el (x-select-enable-primary)
6942 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6943 Declare.
6944
6945 * term/ns-win.el (x-handle-args): Declare.
6946
6947 * term/x-win.el (x-select-enable-clipboard): Declare.
6948
6949 * term/w32-win.el (create-default-fontset): Declare.
6950
6951 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6952 Declare.
6953
6954 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6955 (fit-frame-to-buffer): Explicit error if --without-x.
6956 (mouse-autoselect-window-select): Silence compiler.
6957
6958 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6959
6960 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6961 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6962 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6963 * eshell/esh-util.el (eshell-sublist):
6964 Remove unused local variables.
6965
6966 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6967
6968 * textmodes/two-column.el: Make 2C-split work for --without-x.
6969 (scroll-bar-columns): Autoload.
6970 (top-level): Require fringe when compiling.
6971
6972 2013-09-18 Leo Liu <sdl.web@gmail.com>
6973
6974 * subr.el (add-hook): Robustify to handle closure as well.
6975
6976 2013-09-17 Glenn Morris <rgm@gnu.org>
6977
6978 * simple.el (messages-buffer-mode-map): Unbind "g".
6979
6980 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * help-mode.el (help-mode-finish): Use derived-mode-p.
6983 Remove obsolete highlighting.
6984
6985 * play/life.el (life-mode): Use define-derived-mode. Derive from
6986 special-mode.
6987 (life): Let-bind inhibit-read-only.
6988 (life-setup): Avoid `setq'. Use `life-mode'.
6989
6990 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6991 which should not be needed any more.
6992 (package-menu-refresh, package-menu-describe-package): Use user-error.
6993
6994 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6995 (eshell-post-rewrite-command-hook): Make obsolete.
6996 (eshell-parse-command): Simplify.
6997 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6998 (eshell--cmd): Declare.
6999 (eshell-parse-pipeline): Remove unused var `final-p'.
7000 Pass a dynvar to eshell-post-rewrite-command-hook.
7001 Implement the new eshell-post-rewrite-command-function.
7002 (eshell-invoke-directly): Remove unused arg `input'.
7003 * eshell/esh-io.el (eshell-io-initialize):
7004 Use eshell-post-rewrite-command-function (bug#15399).
7005 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7006 adjust to new calling convention.
7007 (eshell-create-handles): Rename args to avoid clashing with dynvar
7008 `standard-output'.
7009
7010 2013-09-17 Glenn Morris <rgm@gnu.org>
7011
7012 * simple.el (messages-buffer-mode): New major mode.
7013 (messages-buffer): New function.
7014 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7015 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7016 (ert-run-test): Use `messages-buffer' function.
7017 (ert--force-message-log-buffer-truncation): Ignore read-only.
7018 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7019 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7020
7021 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7022
7023 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7024
7025 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7026
7027 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7028
7029 * icomplete.el (icomplete-in-buffer): New var.
7030 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7031 vars and replace them with functions.
7032 (icomplete-minibuffer-setup): Adjust accordingly.
7033 (icomplete--completion-table, icomplete--completion-predicate)
7034 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7035 New functions.
7036 (icomplete-forward-completions, icomplete-backward-completions)
7037 (icomplete-simple-completing-p, icomplete-exhibit)
7038 (icomplete-completions): Use them.
7039 (icomplete--in-region-buffer): New var.
7040 (icomplete--in-region-setup): New function.
7041 (icomplete-mode): Use it.
7042
7043 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7044 (bug#15379).
7045 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7046 return args and options.
7047 (eshell-eval-using-options): Use the new return value of
7048 eshell--do-opts to set the options's vars in their scope.
7049 (eshell--set-option): Rename from eshell-set-option.
7050 Add arg `opt-vals'.
7051 (eshell--process-option): Rename from eshell-process-option.
7052 Add arg `opt-vals'.
7053 (eshell--process-args): Use an `opt-vals' alist to store the options's
7054 values during their processing and return them additionally to the
7055 remaining args.
7056
7057 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7058
7059 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7060 continuation character an operator, as far as indentation is
7061 concerned (Bug#15369).
7062
7063 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7064
7065 * window.el (window--state-put-2): Don't process buffer state
7066 when buffer doesn't exist any more (Bug#15382).
7067
7068 2013-09-15 Glenn Morris <rgm@gnu.org>
7069
7070 * eshell/em-unix.el (eshell/rm):
7071 Make -f ignore missing files. (Bug#15373)
7072
7073 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7074 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7075 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7076
7077 2013-09-14 Glenn Morris <rgm@gnu.org>
7078
7079 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7080
7081 2013-09-13 Glenn Morris <rgm@gnu.org>
7082
7083 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7084 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7085
7086 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7087
7088 * frame.el (x-focus-frame): Mark as declared in frame.c.
7089
7090 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * ls-lisp.el: Use advice-add.
7093 (original-insert-directory): Remove.
7094 (ls-lisp--insert-directory): Rename from insert-directory; add
7095 `orig-fun' argument.
7096 (insert-directory): Advise.
7097
7098 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7099
7100 * term.el (term-emulate-terminal): Decode the command string
7101 before passing it to term-command-hook. (Bug#15337)
7102
7103 2013-09-13 Glenn Morris <rgm@gnu.org>
7104
7105 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7106
7107 * eshell/esh-ext.el (eshell-search-path): Declare.
7108
7109 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7110 Otherwise an error occurs if eshell-dirs module not loaded.
7111
7112 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7113
7114 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7115
7116 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7117 `tramp-check-proper-host'. Check for a valid method name.
7118
7119 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7120 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7121 * net/tramp-sh.el (tramp-maybe-open-connection):
7122 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7123
7124 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7125 also for hash values.
7126
7127 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * term/ns-win.el (parameters): Don't declare as dynamic.
7130 (before-make-frame-hook): Don't add ineffective function.
7131
7132 * eshell/*.el: Use lexical-binding (bug#15231).
7133
7134 2013-09-12 Kenichi Handa <handa@gnu.org>
7135
7136 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7137
7138 2013-09-12 Glenn Morris <rgm@gnu.org>
7139
7140 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7141 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7142
7143 * subr.el (do-after-load-evaluation): Also give compiler warnings
7144 when obsolete files are used (except by obsolete files).
7145
7146 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7147 in the status output, assume `filename' is the first. (Bug#15322)
7148
7149 * vc/vc.el (vc-deduce-fileset): Doc fix.
7150
7151 * calc/calc-help.el (Info-goto-node):
7152 * progmodes/cperl-mode.el (Info-find-node):
7153 * vc/ediff.el (Info-goto-node): Update declarations.
7154
7155 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7156
7157 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7158 (vc-bzr-pull): Require vc-dispatcher.
7159 * vc/vc-git.el (vc-compilation-mode): Declare.
7160 (vc-git-pull): Require vc-dispatcher.
7161
7162 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7163
7164 * progmodes/octave.el (help-button-action): Declare.
7165
7166 * shell.el (shell-directory-tracker): Output error as a message
7167 rather than just returning it as a string.
7168 (shell-process-pushd): Remove useless use of message.
7169
7170 * dframe.el (dframe-timer-fn):
7171 * files.el (dir-locals-read-from-file):
7172 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7173 (mpc-format):
7174 * reveal.el (reveal-post-command):
7175 * saveplace.el (load-save-place-alist-from-file):
7176 * shell.el (shell-resync-dirs):
7177 * w32-common-fns.el (x-get-selection-value):
7178 * emacs-lisp/copyright.el (copyright-find-copyright):
7179 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7180 * emulation/tpu-edt.el (tpu-copy-keyfile):
7181 * play/bubbles.el (bubbles--mark-neighbourhood):
7182 * progmodes/executable.el
7183 (executable-make-buffer-file-executable-if-script-p):
7184 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7185
7186 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7187
7188 Cleanup Eshell to rely less on dynamic scoping.
7189 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7190 last-value, and ext-command here. Bind `args' closer to `body'.
7191 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7192 (eshell--args): Declare new dynamic var.
7193 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7194 last-value, and ext-command. Pass `args' to `body'.
7195 (eshell-process-args): Bind eshell--args.
7196 (eshell-set-option): Use eshell--args.
7197 * eshell/eshell.el (eshell): Use derived-mode-p.
7198 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7199 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7200 (eshell-glob-function): Declare.
7201 * eshell/esh-util.el: Require cl-lib.
7202 (eshell-read-hosts-file): Avoid add-to-list.
7203 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7204 `err'.
7205 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7206 Declare.
7207 (eshell/diff): Remove unused var `err'.
7208 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7209 `killflag'.
7210 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7211 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7212 first use.
7213 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7214 Move declaration before first use.
7215 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7216 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7217 rely on cl-return.
7218
7219 2013-09-12 Glenn Morris <rgm@gnu.org>
7220
7221 * term/ns-win.el (global-map): Remove binding for ispell-next,
7222 deleted 1999-05-29. (Bug#15357)
7223
7224 2013-09-11 Glenn Morris <rgm@gnu.org>
7225
7226 * echistory.el (electric-command-history): Remove call to deleted func.
7227
7228 * play/landmark.el (landmark-mode): Fix typos.
7229
7230 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7231 Check cvs-sort-ignore-file is bound.
7232
7233 * savehist.el: No need for cl when compiling on Emacs.
7234
7235 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7236
7237 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7238 (bug#15338).
7239 (eshell-self-insert-command, eshell-send-invisible):
7240 Remove unused argument.
7241 (eshell-handle-control-codes): Remove unused var `orig'.
7242 Avoid delete-backward-char.
7243
7244 * files.el (set-auto-mode): Simplify a bit further.
7245
7246 2013-09-11 Glenn Morris <rgm@gnu.org>
7247
7248 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7249 (set-auto-mode): Don't regexp-quote elements.
7250 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7251 * progmodes/cc-mode.el (interpreter-mode-alist):
7252 * progmodes/ruby-mode.el (interpreter-mode-alist):
7253 Revert previous change.
7254
7255 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7256
7257 * play/snake.el (snake-mode):
7258 * play/mpuz.el (mpuz-mode):
7259 * play/landmark.el (lm-mode):
7260 * play/blackbox.el (blackbox-mode):
7261 * play/5x5.el (5x5-mode):
7262 * obsolete/options.el (Edit-options-mode):
7263 * net/quickurl.el (quickurl-list-mode):
7264 * net/newst-treeview.el (newsticker-treeview-mode):
7265 * mail/rmailsum.el (rmail-summary-mode):
7266 * mail/mspools.el (mspools-mode):
7267 * locate.el (locate-mode):
7268 * ibuffer.el (ibuffer-mode):
7269 * emulation/ws-mode.el (wordstar-mode):
7270 * emacs-lisp/debug.el (debugger-mode):
7271 * array.el (array-mode):
7272 * net/eudc.el (eudc-mode): Use define-derived-mode.
7273 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7274 Move initialization into declaration.
7275 (mairix-searches-mode): Use define-derived-mode.
7276 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7277 (eudc-edit-hotlist): Use dolist.
7278 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7279 (Man-mode): Use define-derived-mode.
7280 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7281 (Info-edit-mode): Use define-derived-mode.
7282 (Info-cease-edit): Use Info-mode.
7283 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7284 into declaration.
7285 (eshell-mode): Use define-derived-mode.
7286 * chistory.el (command-history-mode-map): Rename from
7287 command-history-map.
7288 (command-history-mode): Use define-derived-mode.
7289 (Command-history-setup): Remove function.
7290 * calc/calc.el (calc-trail-mode-map): New var.
7291 (calc-trail-mode): Use define-derived-mode.
7292 (calc-trail-buffer): Set calc-main-buffer manually.
7293 * bookmark.el (bookmark-insert-annotation): New function.
7294 (bookmark-edit-annotation): Use it.
7295 (bookmark-edit-annotation-mode): Make it a proper major mode.
7296 (bookmark-send-edited-annotation): Use derived-mode-p.
7297 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7298 closer to its ideal place. Use \' to match EOS.
7299
7300 * profiler.el (profiler-calltree-find): Use function-equal.
7301
7302 2013-09-10 Glenn Morris <rgm@gnu.org>
7303
7304 * files.el (interpreter-mode-alist): Convert to regexps.
7305 (set-auto-mode): Adapt for this. (Bug#15306)
7306 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7307 Comment out unused variable.
7308 * progmodes/cc-mode.el (interpreter-mode-alist):
7309 * progmodes/python.el (interpreter-mode-alist):
7310 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7311 * progmodes/sh-script.el (sh-set-shell):
7312 No longer use interpreter-mode-alist to get list of shells.
7313
7314 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7315
7316 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * simple.el: Use set-temporary-overlay-map for universal-argument.
7319 (universal-argument-map): Don't use default-bindings (bug#15317).
7320 Bind switch-frame explicitly. Replace universal-argument-minus with
7321 a conditional binding.
7322 (universal-argument-num-events, saved-overriding-map): Remove.
7323 (restore-overriding-map): Remove.
7324 (universal-argument--mode): Rename from save&set-overriding-map,
7325 and rewrite.
7326 (universal-argument, universal-argument-more, negative-argument)
7327 (digit-argument): Adjust accordingly.
7328 (universal-argument-minus): Remove.
7329 (universal-argument-other-key): Remove.
7330
7331 * subr.el (with-demoted-errors): Add `format' argument.
7332
7333 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7334
7335 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7336 `tramp-cleanup-connection'.
7337
7338 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7339 parameters KEEP-DEBUG and KEEP-PASSWORD.
7340
7341 * net/tramp.el (tramp-file-name-handler):
7342 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7343 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7344 (tramp-maybe-open-connection):
7345 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7346 Use `tramp-cleanup-connection'.
7347
7348 * net/tramp-sh.el (tramp-maybe-open-connection):
7349 Catch 'uname-changed inside the progress reporter.
7350
7351 2013-09-10 Glenn Morris <rgm@gnu.org>
7352
7353 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7354
7355 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7356 returns "alternate access method" in mode (eg "-rw-r--r--.").
7357
7358 2013-09-08 Glenn Morris <rgm@gnu.org>
7359
7360 * saveplace.el (load-save-place-alist-from-file):
7361 Demote errors. (Bug#15305)
7362
7363 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7364
7365 Improve compatibility with older Emacsen, and XEmacs.
7366
7367 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7368 only if it is bound. It isn't for XEmacs.
7369 (with-tramp-progress-reporter): Do not let-bind `result'.
7370 This yields to scoping errors in XEmacs.
7371 (tramp-handle-make-auto-save-file-name): New function, moved from
7372 tramp-sh.el.
7373
7374 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7375 for `make-auto-save-file-name'.
7376 (tramp-adb--gnu-switches-to-ash):
7377 Use `tramp-compat-replace-regexp-in-string'.
7378
7379 * net/tramp-cache.el (tramp-cache-print): Call
7380 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7381
7382 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7383 bound. It isn't for XEmacs.
7384
7385 * net/tramp-compat.el (tramp-compat-copy-file):
7386 Catch `wrong-number-of-arguments' error.
7387 (tramp-compat-replace-regexp-in-string): New defun.
7388
7389 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7390 for `make-auto-save-file-name'.
7391 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7392 `copy-file'.
7393 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7394 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7395 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7396
7397 * net/tramp-gw.el (tramp-gw-open-network-stream):
7398 Use `tramp-compat-replace-regexp-in-string'.
7399
7400 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7401 Call `tramp-handle-make-auto-save-file-name'.
7402 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7403 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7404 (tramp-sh-file-inotifywait-process-filter):
7405 Use `tramp-compat-replace-regexp-in-string'.
7406 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7407
7408 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7409 for `make-auto-save-file-name'.
7410 (tramp-smb-handle-copy-directory):
7411 Call `tramp-compat-replace-regexp-in-string'.
7412 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7413 (tramp-smb-handle-copy-file): Improve error message.
7414 (tramp-smb-handle-rename-file): Rename directly only in case
7415 `newname' does not exist yet. This is a restriction of smbclient.
7416 (tramp-smb-maybe-open-connection): Rerun the function only when
7417 `auth-sources' is non-nil.
7418
7419 2013-09-08 Kenichi Handa <handa@gnu.org>
7420
7421 * international/characters.el: Set category "^" (Combining) for
7422 more characters.
7423
7424 2013-09-07 Alan Mackenzie <acm@muc.de>
7425
7426 Correctly fontify Java class constructors.
7427 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7428 in Java Mode.
7429 (c-recognize-typeless-decls): Set the Java value to t.
7430 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7431 While handling a "(", add a check for, effectively, Java, and handle a
7432 "typeless" declaration there.
7433
7434 2013-09-07 Roland Winkler <winkler@gnu.org>
7435
7436 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7437 field subtitle for entry type book.
7438
7439 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7440
7441 * minibuffer.el: Make minibuffer-complete call completion-in-region
7442 rather than other way around.
7443 (completion--some, completion-pcm--find-all-completions):
7444 Don't delay signals when debugging.
7445 (minibuffer-completion-contents): Beware fields within the
7446 minibuffer contents.
7447 (completion-all-sorted-completions): Use defvar-local.
7448 (completion--do-completion, completion--cache-all-sorted-completions)
7449 (completion-all-sorted-completions, minibuffer-force-complete):
7450 Add args `beg' and `end'.
7451 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7452 (minibuffer-complete): Use completion-in-region.
7453 (completion-complete-and-exit): New fun, extracted from
7454 minibuffer-complete-and-exit.
7455 (minibuffer-complete-and-exit): Use it.
7456 (completion--complete-and-exit): Rename from
7457 minibuffer--complete-and-exit.
7458 (completion-in-region--single-word): New function, extracted from
7459 minibuffer-complete-word.
7460 (minibuffer-complete-word): Use it.
7461 (display-completion-list): Make `common-substring' argument obsolete.
7462 (completion--in-region): Call completion--in-region-1 instead of
7463 minibuffer-complete.
7464 (completion-help-at-point): Pass boundaries to
7465 minibuffer-completion-help as args rather than via an overlay.
7466 (completion-pcm--string->pattern): Use `any-delim'.
7467 (completion-pcm--optimize-pattern): New function.
7468 (completion-pcm--pattern->regex): Handle `any-delim'.
7469 * icomplete.el (icomplete-forward-completions)
7470 (icomplete-backward-completions, icomplete-completions):
7471 Adjust calls to completion-all-sorted-completions and
7472 completion--cache-all-sorted-completions.
7473 (icomplete-with-completion-tables): Default to t.
7474 * emacs-lisp/crm.el (crm--current-element): Rename from
7475 crm--select-current-element. Don't put an overlay but return the
7476 boundaries instead.
7477 (crm--completion-command): Take two new args to bind to the boundaries.
7478 (crm-completion-help): Adjust accordingly.
7479 (crm-complete): Use completion-in-region.
7480 (crm-complete-word): Use completion-in-region--single-word.
7481 (crm-complete-and-exit): Use completion-complete-and-exit.
7482
7483 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7486 than dynamically.
7487
7488 2013-09-06 Juri Linkov <juri@jurta.org>
7489
7490 * info.el (Info-display-images-node): When image file doesn't exist
7491 display text version of the image if it's provided in the Info file.
7492 Otherwise, display the location of missing image from SRC attribute.
7493 Add help-echo text property from ALT attribute. (Bug#15279)
7494
7495 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7498 (edit-abbrevs-mode): Use define-derived-mode.
7499
7500 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7501 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7502 that it's defined.
7503 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7504 Use define-derived-mode.
7505
7506 * epg.el (epg-start-encrypt): Minor CSE simplification.
7507
7508 2013-09-06 William Xu <william.xwl@gmail.com>
7509
7510 * arc-mode.el: Add support for 7za (bug#15264).
7511 (archive-7z-program): New var.
7512 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7513 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7514 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7515
7516 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7517
7518 Remove URL syntax.
7519
7520 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7521 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7522 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7523 (tramp-postfix-host-format, tramp-file-name-regexp)
7524 (tramp-completion-file-name-regexp)
7525 (tramp-completion-dissect-file-name)
7526 (tramp-handle-substitute-in-file-name): Remove 'url case.
7527 (tramp-file-name-regexp-url)
7528 (tramp-completion-file-name-regexp-url): Remove constants.
7529
7530 2013-09-06 Glenn Morris <rgm@gnu.org>
7531
7532 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7533
7534 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7535
7536 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7537 keywords" below "here-doc beginnings" (Bug#15270).
7538
7539 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7540
7541 * subr.el (pop): Use `car-safe'.
7542 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7543 to detect unused `pop' return value.
7544
7545 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7546 var `block-regexp'.
7547 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7548 (python-fill-string): Remove unused var `marker'.
7549 (python-skeleton-add-menu-items): Remove unused var `items'.
7550
7551 * international/mule-cmds.el: Require CL.
7552 (find-coding-systems-for-charsets): Avoid add-to-list.
7553 (sanitize-coding-system-list): New function, extracted from
7554 select-safe-coding-system-interactively.
7555 (select-safe-coding-system-interactively): Use it.
7556 (read-input-method-name): Accept symbols for `default'.
7557
7558 * emacs-lisp/advice.el (defadvice): Add indent rule.
7559
7560 2013-09-05 Daniel Hackney <dan@haxney.org>
7561
7562 * dired-x.el:
7563 * net/ange-ftp.el:
7564 * net/browse-url.el:
7565 * net/dbus.el:
7566 * net/eudc.el:
7567 * net/eudcb-ldap.el:
7568 * net/eww.el:
7569 * net/imap.el:
7570 * printing.el:
7571 * vc/ediff-diff.el:
7572 * vc/ediff-init.el:
7573 * vc/ediff-merg.el:
7574 * vc/ediff-mult.el:
7575 * vc/ediff-util.el:
7576 * vc/ediff-wind.el:
7577 * vc/ediff.el:
7578 * vc/emerge.el:
7579 * vc/pcvs.el:
7580 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7581 byte compiler. Remove some unused let-bound variables.
7582
7583 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7586 a "ref-cell", since it gets better optimized (bug#14883).
7587
7588 2013-09-05 Glenn Morris <rgm@gnu.org>
7589
7590 * progmodes/cc-awk.el (c-forward-sws): Declare.
7591
7592 2013-09-04 Glenn Morris <rgm@gnu.org>
7593
7594 * generic-x.el [rul-generic-mode]: Require cc-mode.
7595 (c++-mode-syntax-table): Declare.
7596 (rul-generic-mode-syntax-table): Init in the defvar.
7597
7598 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7601 (vc-do-command, vc-set-async-update):
7602 * vc/vc-mtn.el (vc-mtn-dir-status):
7603 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7604 (vc-hg-pull, vc-hg-merge-branch):
7605 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7606 (vc-git-merge-branch):
7607 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7608 (vc-cvs-dir-status-files):
7609 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7610 (vc-bzr-dir-status-files):
7611 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7612 * vc/vc-annotate.el: Use lexical-binding.
7613 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7614 (vc-sentinel-movepoint): Declare.
7615 (vc-annotate): Don't use `goto-line'.
7616 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7617 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7618 (vc-sentinel-movepoint): Declare.
7619 * vc/vc-svn.el: Use lexical-binding.
7620 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7621 * vc/vc-sccs.el:
7622 * vc/vc-rcs.el: Use lexical-binding.
7623
7624 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7625 `deleted'. Don't drop errors silently.
7626
7627 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7628
7629 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7630
7631 * vc/vc.el (vc-ignore): Rewrite.
7632 (vc-default-ignore): New function.
7633 (vc-default-ignore-completion-table): Use find-ignore-file.
7634
7635 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7636 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7637 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7638 Remove. Most code moved to vc.el.
7639
7640 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7643 * net/tramp-smb.el (tramp-smb-get-file-entries):
7644 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7645 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7646
7647 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7648 Update call to it.
7649 (eww-change-select): Remove unused var `properties'.
7650 (eww-make-unique-file-name): Remove unused var `base'.
7651
7652 * finder.el (finder-compile-keywords): Don't mess with windows.
7653
7654 * calculator.el (calculator-funcall): Fix typo in last change.
7655
7656 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7657
7658 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7659 <pkg>-autoloads.el file stop us.
7660
7661 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7662 warnings, and factor out common code.
7663
7664 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7665
7666 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7667 two-character operators and whether the character preceding them
7668 changes their meaning (Bug#15208).
7669
7670 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7671
7672 Format code sent to Python shell for robustness.
7673 * progmodes/python.el (python-shell-buffer-substring):
7674 New function.
7675 (python-shell-send-region, python-shell-send-buffer): Use it.
7676
7677 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7678
7679 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7680 * net/tramp.el (tramp-user-error): ... here.
7681 (tramp-find-method, tramp-check-proper-host)
7682 (tramp-dissect-file-name, tramp-debug-message)
7683 (tramp-handle-shell-command):
7684 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7685 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7686
7687 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7688
7689 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7690
7691 * avoid.el (mouse-avoidance-point-position)
7692 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7693 returns nil.
7694
7695 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7696
7697 * progmodes/python.el (python-shell-completion-get-completions):
7698 Drop use of deleted `comint-last-prompt-overlay'.
7699 (python-nav-if-name-main): New command.
7700
7701 2013-09-01 Glenn Morris <rgm@gnu.org>
7702
7703 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7704 Avoid leading space in $wins. Otherwise the sed command used by
7705 eg compile-main ends up containing "/*.el". (Bug#15170)
7706
7707 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7708
7709 2013-08-30 Glenn Morris <rgm@gnu.org>
7710
7711 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7712 Fix is-this-a-directory logic. (Bug#15220)
7713
7714 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * textmodes/css-mode.el: Use SMIE.
7717 (css-smie-grammar): New var.
7718 (css-smie--forward-token, css-smie--backward-token)
7719 (css-smie-rules): New functions.
7720 (css-mode): Use them.
7721 (css-navigation-syntax-table): Remove var.
7722 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7723 (css-indent-calculate, css-indent-line): Remove functions.
7724
7725 Misc changes to reduce use of `(lambda...); and other cleanups.
7726 * cus-edit.el: Use lexical-binding.
7727 (customize-push-and-save, customize-apropos)
7728 (custom-buffer-create-internal): Use closures.
7729 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7730 * progmodes/ada-xref.el: Use setq.
7731 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7732 * dframe.el: Use lexical-binding.
7733 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7734 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7735 * descr-text.el: Use lexical-binding.
7736 (describe-text-widget, describe-text-sexp, describe-property-list):
7737 Use closures.
7738 * comint.el (comint-history-isearch-push-state): Use a closure.
7739 * calculator.el: Use lexical-binding.
7740 (calculator-number-to-string): Make it work with lexical-binding.
7741 (calculator-funcall): Same and use cl-letf.
7742
7743 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7744 (lisp--company-doc-string, lisp--company-location): New functions.
7745 (lisp-completion-at-point): Use them to improve Company support.
7746
7747 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7748 params of lambda expressions.
7749 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7750 (ruby-smie--opening-pipe-p): New function.
7751 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7752 symbols and matched |...| for formal params.
7753 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7754 from being treated as hanging. Handle "rescue".
7755
7756 2013-08-29 Glenn Morris <rgm@gnu.org>
7757
7758 * progmodes/cc-engine.el (c-pull-open-brace):
7759 Move definition before use.
7760
7761 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7762
7763 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7764 are immutable. Don't use `unsafe' any more.
7765 (cl--defsubst-expand): Don't substitute at the same time as keeping
7766 a residual unused let-binding. Don't use `unsafe' any more.
7767
7768 2013-08-29 Glenn Morris <rgm@gnu.org>
7769
7770 * calendar/cal-china.el (calendar-chinese-year-cache):
7771 Recenter on 2015.
7772
7773 * nxml/nxml-util.el (nxml-debug-clear-inside):
7774 Use cl-loop rather than loop.
7775
7776 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7777
7778 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7779
7780 2013-08-28 Glenn Morris <rgm@gnu.org>
7781
7782 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7783
7784 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7785
7786 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7787
7788 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * simple.el (repeat-complex-command--called-interactively-skip):
7791 New function.
7792 (repeat-complex-command): Use it (bug#14136).
7793
7794 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7795 (c-define-abbrev-table): Add `doc' argument.
7796 (c-mode-abbrev-table, c++-mode-abbrev-table)
7797 (objc-mode-abbrev-table, java-mode-abbrev-table)
7798 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7799 (awk-mode-abbrev-table): Use it.
7800 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7801 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7802 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7803 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7804 Move initialization into the declaration; and remove any
7805 autoload cookie.
7806
7807 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7808 and dynamic let binding.
7809
7810 * vc/smerge-mode.el: Remove redundant :group args.
7811
7812 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7813 to load-path.
7814
7815 2013-08-28 Juri Linkov <juri@jurta.org>
7816
7817 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7818 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7819 (isearch-other-meta-char): Handle an undefined shifted printing
7820 character by downshifting it. (Bug#15200)
7821
7822 2013-08-28 Juri Linkov <juri@jurta.org>
7823
7824 * isearch.el (isearch-search): Change regexp error message for
7825 non-regexp searches. (Bug#15166)
7826
7827 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7828
7829 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7830 for portability to hosts where /bin/sh has problems.
7831
7832 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7835
7836 2013-08-27 Juri Linkov <juri@jurta.org>
7837
7838 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7839 in the keyboard macro. (Bug#15126)
7840
7841 2013-08-27 Juri Linkov <juri@jurta.org>
7842
7843 * isearch.el (isearch-quote-char): Comment out converting unibyte
7844 to multibyte, thus syncing with its `quoted-insert' counterpart.
7845 (Bug#15166)
7846
7847 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7848
7849 * window.el (display-buffer-use-some-window): Add missing
7850 argument in call of get-largest-window (Bug#15185).
7851 Reported by Stephen Leake.
7852
7853 2013-08-27 Glenn Morris <rgm@gnu.org>
7854
7855 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7856
7857 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7860 from a matcher-function unless there's no more matches (bug#15161).
7861
7862 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7863
7864 * minibuffer.el: Revert change from 2013-08-20.
7865
7866 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7867 with text property `tramp-default', if appropriate.
7868 (tramp-check-proper-host): New defun.
7869 (tramp-dissect-file-name): Do not check hostname. Revert change
7870 of 2013-03-18.
7871 (tramp-backtrace): Make VEC-OR-PROC optional.
7872
7873 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7874 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7875 * net/tramp-sh.el (tramp-maybe-open-connection):
7876 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7877 Apply `tramp-check-proper-host'.
7878
7879 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7880
7881 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7882 lambda expression in order to have `describe-variable' display it.
7883
7884 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7885
7886 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7887 BUF can be optional. (Bug#15186)
7888
7889 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7890
7891 * progmodes/flymake.el (flymake-get-real-file-name-function):
7892 Fix broken customization. (Bug#15184)
7893
7894 2013-08-25 Alan Mackenzie <acm@muc.de>
7895
7896 Improve indentation of bracelists defined by macros (without "=").
7897
7898 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7899 expansion begins with "{", regard it as bracelist when it doesn't
7900 contain a ";".
7901
7902 Parse C++ inher-intro when there's a template split over 2 lines.
7903
7904 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7905 rigorously the search for "class" etc. followed by ":".
7906
7907 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7908 random languages a regexp which never matches rather than nil.
7909
7910 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7911
7912 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7913 (c-awk-regexp-one-line-possibly-open-char-list-re)
7914 (c-awk-one-line-possibly-open-regexp-re)
7915 (c-awk-one-line-non-syn-ws*-re): Remove.
7916 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7917 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7918 (c-awk-space*-unclosed-regexp-/-re): New constants.
7919 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7920 aren't regexp delimiters.
7921
7922 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7923 handling for a rare situation in AWK Mode involving unterminated
7924 strings/regexps.
7925
7926 2013-08-23 Glenn Morris <rgm@gnu.org>
7927
7928 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7929
7930 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7931
7932 * files.el (create-file-buffer): If the result would begin with
7933 spaces, prepend a "|" instead of removing them. (Bug#15162)
7934
7935 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7936
7937 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7938 text-properties (bug#15155).
7939
7940 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7941 exist any more.
7942 (calc-keypad-redraw): Remove unused var `pad'.
7943 (calc-keypad-press): Remove unused var `menu'.
7944
7945 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7946
7947 * window.el (display-buffer-pop-up-frame):
7948 Call pop-up-frame-function with BUFFER current so `make-frame' will
7949 use it as the new frame's buffer (Bug#15133).
7950
7951 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7952
7953 * calendar/timeclock.el: Minor cleanups.
7954 (timeclock-ask-before-exiting, timeclock-use-display-time):
7955 Use `symbol'.
7956 (timeclock-modeline-display): Define as alias before the
7957 actual definition.
7958 (timeclock-mode-line-display): Use define-minor-mode.
7959 (timeclock-day-list-template): Make it a function, add an argument.
7960 (timeclock-day-list-required, timeclock-day-list-length)
7961 (timeclock-day-list-debt, timeclock-day-list-span)
7962 (timeclock-day-list-break): Adjust calls accordingly.
7963
7964 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7967 Use read--expression so that completion works again.
7968
7969 2013-08-21 Sam Steingold <sds@gnu.org>
7970
7971 Add rudimentary inferior shell interaction
7972 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7973 (sh-set-shell): Reset it.
7974 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7975 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7976
7977 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * align.el: Use lexical-binding.
7980 (align-region): Simplify accordingly.
7981
7982 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7983
7984 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7985
7986 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7987 `non-essential' up.
7988
7989 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7990
7991 * net/tramp.el:
7992 * net/tramp-adb.el:
7993 * net/tramp-cmds.el:
7994 * net/tramp-ftp.el:
7995 * net/tramp-gvfs.el:
7996 * net/tramp-gw.el:
7997 * net/tramp-sh.el: Don't wrap external variable declarations by
7998 `eval-when-compile'.
7999
8000 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8001
8002 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8003 now that Emacs supports ImageMagick animations.
8004
8005 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8006
8007 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8008 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8009
8010 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8011
8012 * window.el (mouse-autoselect-window-select): Do autoselect when
8013 mouse pointer is on margin.
8014
8015 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8016
8017 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8018
8019 2013-08-16 Glenn Morris <rgm@gnu.org>
8020
8021 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8022 Handle "Remote Directory" response of some clients. (Bug#15058)
8023
8024 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8025 Tweak warning. (Bug#14926)
8026
8027 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8028 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8029
8030 * image-mode.el (image-mode-map): Add menu items to reverse,
8031 increase, decrease, reset animation speed.
8032 (image--set-speed, image-increase-speed, image-decrease-speed)
8033 (image-reverse-speed, image-reset-speed): New functions.
8034 (image-mode-map): Add bindings for speed commands.
8035
8036 * image.el (image-animate-get-speed, image-animate-set-speed):
8037 New functions.
8038 (image-animate-timeout): Respect image :speed property.
8039
8040 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8041
8042 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8043 previous line (bug#15101).
8044 (debugger-eval-expression, debugger-record-expression):
8045 Use read--expression (bug#15102).
8046
8047 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8048
8049 Remove byte compiler warnings, visible when compiling with
8050 `byte-compile-force-lexical-warnings' set to t.
8051
8052 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8053 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8054 (tramp-handle-unhandled-file-name-directory)
8055 (tramp-handle-file-notify-add-watch, tramp-action-login)
8056 (tramp-action-succeed, tramp-action-permission-denied)
8057 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8058 arguments with "_".
8059
8060 * net/tramp-adb.el (tramp-adb-parse-device-names)
8061 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8062 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8063 (tramp-adb-handle-file-truename): Remove unused arguments.
8064
8065 * net/tramp-cache.el (tramp-flush-directory-property)
8066 (tramp-flush-connection-property, tramp-list-connections)
8067 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8068
8069 * net/tramp-compat.el (tramp-compat-make-temp-file):
8070 Rename FILENAME to F.
8071
8072 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8073 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8074 (tramp-zeroconf-parse-workstation-device-names)
8075 (tramp-zeroconf-parse-webdav-device-names)
8076 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8077
8078 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8079 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8080
8081 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8082 arguments.
8083 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8084 (tramp-sh-handle-insert-file-contents-literally)
8085 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8086 with "_".
8087 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8088 Remove unused variables.
8089
8090 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8091 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8092 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8093
8094 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8095 Make them a defconst.
8096 (tramp-uuencode-region): Remove unused variable.
8097
8098 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8099
8100 * frameset.el (frameset--prop-setter): New function.
8101 (frameset-prop): Add gv-setter declaration.
8102 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8103 parameter was already set in FILTERED. Doc fix.
8104 (frameset--record-minibuffer-relationships): Allow saving a
8105 minibufferless frame without its corresponding minibuffer frame.
8106 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8107 frame, if the frame id matches.
8108 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8109 frames before orphaned ones.
8110 (frameset-restore): Warn about orphaned windows, instead of error out.
8111
8112 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8113
8114 * window.el (window-make-atom): Don't overwrite parameter
8115 already present.
8116 (display-buffer-in-atom-window): Handle special case where we
8117 split an already atomic window.
8118 (window--major-non-side-window, display-buffer-in-side-window)
8119 (window--side-check): Ignore minibuffer window when walking
8120 window tree.
8121 (window-deletable-p): Return 'frame only if no other frame uses
8122 our minibuffer window.
8123 (record-window-buffer): Run buffer-list-update-hook.
8124 (split-window): Make sure window--check-frame won't destroy an
8125 existing atomic window in case the new window gets nested
8126 inside.
8127 (display-buffer-at-bottom): Ignore minibuffer window when
8128 walking window tree. Don't split a side window.
8129 (pop-to-buffer): Don't set-buffer here, the select-window call
8130 should do that.
8131 (mouse-autoselect-window-select): Autoselect only if we are in the
8132 text portion of the window.
8133
8134 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8135
8136 * net/shr.el (shr-parse-image-data): New function to grab both the
8137 data itself and the Content-Type.
8138 (shr-put-image): Use it.
8139
8140 * net/eww.el (eww-display-image): Ditto.
8141
8142 * image.el (image-content-type-suffixes): New variable.
8143
8144 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8145
8146 * progmodes/python.el (python-imenu--build-tree)
8147 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8148
8149 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8150
8151 * simple.el (backward-word): Mention the optional argument.
8152
8153 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * frameset.el (frameset--make): Rename constructor from make-frameset.
8156 (frameset-p, frameset-valid-p): Don't autoload.
8157 (frameset-valid-p): Use normal accessors.
8158
8159 2013-08-13 Glenn Morris <rgm@gnu.org>
8160
8161 * progmodes/compile.el (compile-command): Tweak example in doc.
8162 * obsolete/scribe.el (scribe-mode):
8163 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8164
8165 * mail/feedmail.el (feedmail-confirm-outgoing)
8166 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8167
8168 * cus-start.el (truncate-partial-width-windows): Fix type.
8169
8170 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8171
8172 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8173
8174 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * emacs-lisp/timer.el (timer--time-setter): New function.
8177 (timer--time): Use it as gv-setter.
8178
8179 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8180 setter is not a symbol.
8181
8182 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8183
8184 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8185 if sending fails. This makes debugging easier.
8186
8187 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8188
8189 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8190 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8191 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8192
8193 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8194
8195 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8196
8197 2013-08-12 Glenn Morris <rgm@gnu.org>
8198
8199 * format.el (format-annotate-function):
8200 Handle read-only text properties in the source. (Bug#14887)
8201
8202 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8203
8204 * net/eww.el (eww-display-html): Ignore coding system errors.
8205 One web site uses "utf-8lias" as the coding system.
8206
8207 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8208
8209 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8210
8211 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8212
8213 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8214 (tutorial--detailed-help): Remove unused local variables.
8215 (tutorial--save-tutorial-to): Use ignore-errors.
8216 (help-with-tutorial): Use looking-at-p.
8217
8218 * view.el (view-buffer-other-window, view-buffer-other-frame):
8219 Mark unused arguments.
8220
8221 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8222 (woman-select-symbol-fonts, woman, woman-find-file)
8223 (woman-insert-file-contents, woman-non-underline-faces):
8224 Use string-match-p.
8225 (woman1-unquote): Move declaration.
8226
8227 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8228 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8229 argument. Remove unused local variable.
8230 (xml-parse-elem-type): Use string-match-p.
8231 (xml-substitute-numeric-entities): Use ignore-errors.
8232
8233 * calculator.el (calculator): Mark unused argument.
8234 (calculator-paste, calculator-quit, calculator-integer-p):
8235 Use ignore-errors.
8236 (calculator-string-to-number, calculator-decimal, calculator-exp)
8237 (calculator-op-or-exp): Use string-match-p.
8238
8239 * dired.el (dired-buffer-more-recently-used-p): Declare.
8240 (dired-insert-set-properties, dired-insert-old-subdirs):
8241 Use ignore-errors.
8242
8243 * dired-aux.el (dired-compress): Use ignore-errors.
8244 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8245 (dired-do-async-shell-command, dired-do-shell-command)
8246 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8247 (dired-insert-subdir-validate): Use string-match-p.
8248 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8249 (dired-add-entry): Use string-match-p, looking-at-p.
8250 (dired-insert-subdir-newpos): Remove unused local variable.
8251
8252 * filenotify.el (file-notify-callback): Remove unused local variable.
8253
8254 * filesets.el (filesets-error): Mark unused argument.
8255 (filesets-which-command-p, filesets-filter-dir-names)
8256 (filesets-directory-files, filesets-get-external-viewer)
8257 (filesets-ingroup-get-data): Use string-match-p.
8258
8259 * find-file.el (ff-other-file-name, ff-other-file-name)
8260 (ff-find-the-other-file, ff-cc-hh-converter):
8261 Remove unused local variables.
8262 (ff-get-file-name): Use string-match-p.
8263 (ff-all-dirs-under): Use ignore-errors.
8264
8265 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8266 (follow-select-if-visible): Remove unused local variable.
8267
8268 * forms.el (read-file-filter): Move declaration.
8269 (forms--make-format, forms--make-parser, forms-insert-record):
8270 Quote function with #'.
8271 (forms--update): Use string-match-p. Quote function with #'.
8272
8273 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8274 (help-make-xrefs): Use looking-at-p.
8275 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8276
8277 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8278 (ibuffer-confirm-operation-on): Use string-match-p.
8279
8280 * msb.el (msb-item-handler, msb-dired-item-handler):
8281 Mark unused arguments.
8282
8283 * ses.el (ses-decode-cell-symbol)
8284 (ses-kill-override): Remove unused local variable.
8285 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8286 (ses-load): Use ignore-errors, looking-at-p.
8287 (ses-jump-safe): Use ignore-errors.
8288 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8289
8290 * tabify.el (untabify, tabify): Mark unused arguments.
8291
8292 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8293 Mark unused argument.
8294 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8295 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8296
8297 * emacs-lisp/timer.el (timer--time): Define setter with
8298 gv-define-setter to avoid deprecation warning.
8299
8300 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8301 (*record-cmpl-statistics-p*): Remove (was commented out).
8302 (cmpl-statistics-block): Remove (body was commented out).
8303 All callers changed.
8304 (add-completions-from-buffer, load-completions-from-file):
8305 Remove unused variables.
8306
8307 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8308
8309 * filecache.el (file-cache-delete-file-list):
8310 Print message only when told so.
8311 (file-cache-files-matching): Use #' in mapconcat argument.
8312
8313 * ffap.el (ffap-url-at-point): Fix reference to variable
8314 thing-at-point-default-mail-uri-scheme.
8315
8316 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * subr.el (define-error): New function.
8319 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8320 error-file-not-found and define with define-error.
8321 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8322 and define with define-error.
8323 * userlock.el (file-locked, file-supersession):
8324 * simple.el (mark-inactive):
8325 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8326 * progmodes/ada-mode.el (ada-mode-errors):
8327 * play/life.el (life-extinct):
8328 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8329 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8330 * nxml/rng-util.el (rng-error):
8331 * nxml/rng-uri.el (rng-uri-error):
8332 * nxml/rng-match.el (rng-compile-error):
8333 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8334 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8335 * nxml/nxml-rap.el (nxml-scan-error):
8336 * nxml/nxml-outln.el (nxml-outline-error):
8337 * net/soap-client.el (soap-error):
8338 * net/gnutls.el (gnutls-error):
8339 * net/ange-ftp.el (ftp-error):
8340 * mpc.el (mpc-proc-error):
8341 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8342 (json-number-format, json-string-escape, json-string-format)
8343 (json-key-format, json-object-format):
8344 * jka-compr.el (compression-error):
8345 * international/quail.el (quail-error):
8346 * international/kkc.el (kkc-error):
8347 * emacs-lisp/ert.el (ert-test-failed):
8348 * calc/calc.el (calc-error, inexact-result, math-overflow)
8349 (math-underflow):
8350 * bookmark.el (bookmark-error-no-filename):
8351 * epg.el (epg-error): Define with define-error.
8352
8353 * time.el (display-time-event-handler)
8354 (display-time-next-load-average): Don't call sit-for since it seems
8355 unnecessary (bug#15045).
8356
8357 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8358 Use #' instead of ' to quote functions.
8359 (checkdoc-output-mode): Use setq-local.
8360 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8361 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8362 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8363 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8364 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8365 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8366 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8367 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8368
8369 * ido.el (ido-completion-help): Fix up compiler warning.
8370
8371 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8372
8373 * frameset.el (frameset-p): Add autoload cookie.
8374 (frameset--jump-to-register): New function, based on code moved from
8375 register.el.
8376 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8377
8378 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8379 (frameset-restore, frameset-save, frameset-session-filter-alist):
8380 Remove declarations.
8381 (register-alist): Doc fix.
8382 (frameset-to-register): Move to frameset.el.
8383 (jump-to-register, describe-register-1): Remove frameset-specific code.
8384
8385 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8386
8387 * allout-widgets.el (allout-widgets-pre-command-business)
8388 (allout-widgets-post-command-business)
8389 (allout-widgets-after-change-handler)
8390 (allout-decorate-item-and-context, allout-set-boundary-marker)
8391 (allout-body-modification-handler)
8392 (allout-graphics-modification-handler): Mark ignored arguments.
8393 (allout-widgets-post-command-business)
8394 (allout-widgets-exposure-change-processor)
8395 (allout-widgets-exposure-undo-processor)
8396 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8397 (allout-parse-item-at-point, allout-decorate-item-guides)
8398 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8399 * allout.el (epa-passphrase-callback-function): Declare.
8400 (allout-overlay-insert-in-front-handler)
8401 (allout-overlay-interior-modification-handler)
8402 (allout-isearch-end-handler, allout-chart-siblings)
8403 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8404 (allout-yank-processing, allout-process-exposed)
8405 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8406 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8407 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8408 (lisp-indent-defform): Mark ignored arguments.
8409 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8410 (calculate-lisp-indent): Remove unused variables.
8411 * international/characters.el (indian-2-column, arabic-2-column)
8412 (tibetan): Mark ignored arguments.
8413 (use-cjk-char-width-table): Mark ignored arguments.
8414 Remove unused variables.
8415 * international/fontset.el (build-default-fontset-data)
8416 (x-compose-font-name, create-fontset-from-fontset-spec):
8417 Mark ignored arguments.
8418 (fontset-plain-name): Remove unused variables.
8419 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8420 (keyboard-coding-system): Mark ignored arguments.
8421 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8422 * help.el (resize-temp-buffer-window):
8423 * window.el (display-buffer-in-major-side-window)
8424 (display-buffer-in-side-window, display-buffer-in-previous-window):
8425 Remove unused variables.
8426 * isearch.el (isearch-forward-symbol):
8427 * version.el (emacs-bzr-version-bzr):
8428 * international/mule-cmds.el (current-language-environment):
8429 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8430 (x-handle-display):
8431 * term/pc-win.el (x-list-fonts, x-display-planes)
8432 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8433 (x-server-version, x-display-screens, x-display-mm-height)
8434 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8435 (x-selection-owner-p, x-own-selection-internal)
8436 (x-disown-selection-internal, x-get-selection-internal)
8437 (msdos-initialize-window-system):
8438 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8439 * term/x-win.el (x-handle-no-bitmap-icon):
8440 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8441 (vc-default-find-file-hook, vc-default-extra-menu):
8442 Mark ignored arguments.
8443
8444 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8447 break-condition in the context of the debugged code (bug#12685).
8448
8449 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8450
8451 * comint.el:
8452 Do not use an overlay to highlight the last prompt. (Bug#14744)
8453 (comint-mode): Make comint-last-prompt buffer local.
8454 (comint-last-prompt): New variable.
8455 (comint-last-prompt-overlay): Remove. Superseded by
8456 comint-last-prompt.
8457 (comint-snapshot-last-prompt, comint-output-filter):
8458 Use comint-last-prompt.
8459
8460 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8461
8462 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8463 (frameset-save): Check validity of the resulting frameset.
8464
8465 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8466
8467 * ido.el (ido-record-command): Add doc string.
8468
8469 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8470
8471 * frameset.el (frameset): Do not disable creation of the default
8472 frameset-p predicate. Doc fix.
8473 (frameset-valid-p): New function, copied from the old predicate-p.
8474 Add additional checks.
8475 (frameset-restore): Check with frameset-valid-p.
8476 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8477 (frameset-name, frameset-description, frameset-properties)
8478 (frameset-states): Add docstring.
8479 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8480 (frameset-filter-alist): Doc fixes.
8481
8482 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8483
8484 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8485
8486 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8487
8488 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8489 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8490 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8491 (byte-compile-normal-call): Remove obsolescence check.
8492
8493 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8494
8495 * frameset.el (frameset-restore): Doc fix.
8496
8497 * register.el (frameset-frame-id, frameset-frame-with-id)
8498 (frameset-p, frameset-restore, frameset-save): Declare.
8499 (register-alist): Document framesets.
8500 (frameset-session-filter-alist): Declare.
8501 (frameset-to-register): New function.
8502 (jump-to-register): Implement jumping to framesets. Doc fix.
8503 (describe-register-1): Describe framesets.
8504
8505 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8506
8507 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8510 Use lexical-binding.
8511
8512 * frameset.el (frameset): Use type vector, not list (incompatible
8513 change). Do not declare a new constructor, use the default one.
8514 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8515 `name' and `description', respectively, and add read-only slot
8516 `timestamp'. Doc fixes.
8517 (frameset-copy, frameset-persistent-filter-alist)
8518 (frameset-filter-alist, frameset-switch-to-gui-p)
8519 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8520 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8521 (frameset-filter-iconified, frameset-keep-original-display-p):
8522 Doc fixes.
8523 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8524 Rename from frameset-filter-(save|restore)-param. All callers changed.
8525 Doc fix.
8526 (frameset-p): Adapt to change to vector and be more thorough.
8527 Change arg name to OBJECT. Doc fix.
8528 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8529 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8530 All callers changed.
8531 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8532 All callers changed.
8533 (frameset--record-minibuffer-relationships): Rename from
8534 frameset--process-minibuffer-frames. All callers changed.
8535 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8536 Use new default constructor (again). Doc fix.
8537 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8538 All callers changed.
8539 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8540 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8541 Doc fix.
8542 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8543 PARAMETERS and WINDOW-STATE, respectively.
8544 (frameset-restore): Add new keyword argument PREDICATE.
8545 Reset frameset--target-display to nil. Doc fix.
8546
8547 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8548
8549 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8550 (bat-mode): Use it.
8551 (bat-mode-syntax-table): Mark \n as end-of-comment.
8552 (bat-font-lock-keywords): Remove comment rule.
8553
8554 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8555 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8556
8557 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8558 (byte-compile-callargs-warn): Use `push'.
8559 (byte-compile-arglist-warn): Ignore higher-order "calls".
8560 (byte-compile-file-form-autoload): Use `pcase'.
8561 (byte-compile-function-form): If quoting a symbol, check that it exists.
8562
8563 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8564
8565 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8566 and add a few popular commands found in batch files.
8567 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8568 (dos-mode): Doc fixes.
8569
8570 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8571
8572 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8573 (dos-mode): Use setq-local. Add space after "rem".
8574 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8575 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8576
8577 2013-08-07 Arni Magnusson <arnima@hafro.is>
8578
8579 * progmodes/dos.el: New file.
8580 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8581 dos-mode.
8582
8583 2013-08-06 Glenn Morris <rgm@gnu.org>
8584
8585 * calendar/calendar.el: Add new faces, and day-header-array.
8586 (calendar-weekday-header, calendar-weekend-header)
8587 (calendar-month-header): New faces.
8588 (calendar-day-header-construct): New function.
8589 (calendar-day-header-width): Also :set calendar-day-header-array.
8590 (calendar-american-month-header, calendar-european-month-header)
8591 (calendar-iso-month-header): Use calendar- faces.
8592 (calendar-generate-month):
8593 Use calendar-day-header-array for day headers; apply faces to them.
8594 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8595 (calendar-abbrev-construct): Add optional maxlen argument.
8596 (calendar-day-name-array): Doc fix.
8597 (calendar-day-name-array, calendar-abbrev-length)
8598 (calendar-day-abbrev-array):
8599 Also :set calendar-day-header-array, and maybe redraw.
8600 (calendar-day-header-array): New option. (Bug#15007)
8601 (calendar-font-lock-keywords): Set to nil and make obsolete.
8602 (calendar-day-name): Add option to use header array.
8603
8604 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8605
8606 * net/shr.el (shr-render-td): Remove debugging.
8607 (shr-render-td): Make width computation consistent by defaulting
8608 all zero-width columns to 10 characters. This may not be optimal,
8609 but it's at least consistent.
8610 (shr-make-table-1): Redo last change to fix the real problem in
8611 colspan handling.
8612
8613 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8614
8615 * files.el (cache-long-line-scans):
8616 Make obsolete alias to `cache-long-scans'.
8617
8618 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8619
8620 * frameset.el (frameset, frameset-filter-alist)
8621 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8622 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8623 (frameset-compute-pos): Rename from frameset--compute-pos,
8624 and add docstring.
8625 (frameset-move-onscreen): Use frameset-compute-pos.
8626 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8627
8628 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8629 Fix typos in docstrings.
8630
8631 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8632
8633 * frame.el (get-other-frame): Tiny cleanup.
8634
8635 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8636
8637 * vc/vc.el (vc-default-ignore-completion-table):
8638 Silence byte-compiler warning.
8639
8640 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8641 slot, which can indeed be nil.
8642 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8643 Move entry for `left' from persistent to live filter alist.
8644 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8645 Doc fixes.
8646 (frameset-filter-params): When restoring a frame, copy items added to
8647 `filtered', to avoid unwittingly modifying the original parameters.
8648 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8649 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8650
8651 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8652 to use looking-at-p instead of looking-at. (Bug#15028)
8653
8654 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 Revert introduction of isearch-filter-predicates (bug#14714).
8657 Rely on add-function instead.
8658 * isearch.el (isearch-filter-predicates): Rename it back to
8659 isearch-filter-predicate.
8660 (isearch-message-prefix): Use advice-function-mapc and advice
8661 properties to get the isearch-message-prefix.
8662 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8663 instead of run-hook-with-args-until-failure.
8664 (isearch-filter-visible): Not obsolete any more.
8665 * loadup.el: Preload nadvice.
8666 * replace.el (perform-replace): Revert to funcall
8667 instead of run-hook-with-args-until-failure.
8668 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8669 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8670 dired-isearch-filenames-toggle; make it into a proper minor mode.
8671 Use add/remove-function.
8672 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8673 Call the minor-mode rather than add/remove-hook.
8674 (dired-isearch-filter-filenames):
8675 Remove isearch-message-prefix property.
8676 * info.el (Info--search-loop): New function, extracted from Info-search.
8677 Funcall isearch-filter-predicate instead of
8678 run-hook-with-args-until-failure isearch-filter-predicates.
8679 (Info-search): Use it.
8680 (Info-mode): Use isearch-filter-predicate instead of
8681 isearch-filter-predicates.
8682
8683 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8684
8685 Do not call to `selected-window' where it is assumed by default.
8686 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8687 `window-hscroll', `window-width', `window-height', `window-buffer',
8688 `window-frame', `window-start', `window-point', `next-window'
8689 and `window-display-table'.
8690 * abbrev.el (abbrev--default-expand):
8691 * bs.el (bs--show-with-configuration):
8692 * buff-menu.el (Buffer-menu-mouse-select):
8693 * calc/calc.el (calc):
8694 * calendar/calendar.el (calendar-generate-window):
8695 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8696 (diary-make-entry):
8697 * comint.el (send-invisible, comint-dynamic-complete-filename)
8698 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8699 * completion.el (complete):
8700 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8701 * disp-table.el (describe-current-display-table):
8702 * doc-view.el (doc-view-insert-image):
8703 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8704 * ehelp.el (with-electric-help):
8705 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8706 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8707 * emacs-lisp/helper.el (Helper-help-scroller):
8708 * emulation/cua-base.el (cua--post-command-handler-1):
8709 * eshell/esh-mode.el (eshell-output-filter):
8710 * ffap.el (ffap-gnus-wrapper):
8711 * help-macro.el (make-help-screen):
8712 * hilit-chg.el (highlight-compare-buffers):
8713 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8714 * hl-line.el (global-hl-line-highlight):
8715 * icomplete.el (icomplete-simple-completing-p):
8716 * isearch.el (isearch-done):
8717 * jit-lock.el (jit-lock-stealth-fontify):
8718 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8719 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8720 * mpc.el (mpc-tagbrowser, mpc):
8721 * net/rcirc.el (rcirc-any-buffer):
8722 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8723 * play/landmark.el (landmark-max-width, landmark-max-height):
8724 * play/zone.el (zone):
8725 * progmodes/compile.el (compilation-goto-locus):
8726 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8727 * progmodes/etags.el (find-tag-other-window):
8728 * progmodes/fortran.el (fortran-column-ruler):
8729 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8730 * progmodes/verilog-mode.el (verilog-point-text):
8731 * reposition.el (reposition-window):
8732 * rot13.el (toggle-rot13-mode):
8733 * server.el (server-switch-buffer):
8734 * shell.el (shell-dynamic-complete-command)
8735 (shell-dynamic-complete-environment-variable):
8736 * simple.el (insert-buffer, set-selective-display)
8737 (delete-completion-window):
8738 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8739 (speedbar-recenter):
8740 * startup.el (fancy-splash-head):
8741 * textmodes/ispell.el (ispell-command-loop):
8742 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8743 * tutorial.el (help-with-tutorial):
8744 * vc/add-log.el (add-change-log-entry):
8745 * vc/compare-w.el (compare-windows):
8746 * vc/ediff-help.el (ediff-indent-help-message):
8747 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8748 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8749 (ediff-setup-control-frame):
8750 * vc/emerge.el (emerge-position-region):
8751 * vc/pcvs-util.el (cvs-bury-buffer):
8752 * window.el (walk-windows, mouse-autoselect-window-select):
8753 * winner.el (winner-set-conf, winner-undo): Related users changed.
8754
8755 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8756
8757 * frameset.el (frameset--set-id): Doc fix.
8758 (frameset-frame-id, frameset-frame-id-equal-p)
8759 (frameset-locate-frame-id): New functions.
8760 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8761 (frameset-restore): Use them.
8762
8763 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8764
8765 Do not call to `selected-frame' where it is assumed by default.
8766 Affected functions are `raise-frame', `redraw-frame',
8767 `frame-first-window', `frame-terminal' and `delete-frame'.
8768 * calendar/appt.el (appt-disp-window):
8769 * epg.el (epg-wait-for-completion):
8770 * follow.el (follow-delete-other-windows-and-split)
8771 (follow-avoid-tail-recenter):
8772 * international/mule.el (set-terminal-coding-system):
8773 * mail/rmail.el (rmail-mail-return):
8774 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8775 * progmodes/f90.el (f90-add-imenu-menu):
8776 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8777 * server.el (server-switch-buffer):
8778 * simple.el (delete-completion-window):
8779 * talk.el (talk):
8780 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8781 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8782 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8783 * vc/ediff.el (ediff-documentation): Related users changed.
8784 * frame.el (selected-terminal): Remove the leftover.
8785
8786 2013-08-05 Glenn Morris <rgm@gnu.org>
8787
8788 * calendar/calendar.el (calendar-generate-month):
8789 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8790 (calendar-generate-month, calendar-font-lock-keywords):
8791 Fix for calendar-day-header-width > length of any day name.
8792
8793 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * desktop.el (desktop-clear): Use new name of sort predicate.
8796
8797 * frameset.el (frameset): Add docstring. Move :version property to its
8798 own `version' slot.
8799 (frameset-copy): Rename from copy-frameset.
8800 (frameset-p): Check more thoroughly.
8801 (frameset-prop): Do not check for :version, which is no longer a prop.
8802 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8803 Use new :never value instead of t.
8804 (frameset-filter-alist): Expand and clarify docstring.
8805 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8806 (frameset-filter-minibuffer, frameset-filter-save-param)
8807 (frameset-filter-restore-param, frameset-filter-iconified):
8808 Add pointer to docstring of frameset-filter-alist.
8809 (frameset-filter-params): Rename filter values to be more meaningful:
8810 :never instead of t, and reverse the meanings of :save and :restore.
8811 (frameset--process-minibuffer-frames): Clarify error message.
8812 (frameset-save): Avoid unnecessary and confusing call to framep.
8813 Use new BOA constructor for framesets.
8814 (frameset--reuse-list): Doc fix.
8815 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8816 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8817 (frameset-minibufferless-first-p): Doc fix.
8818 Rename from frameset-sort-frames-for-deletion.
8819 (frameset-restore): Doc fixes. Use new function names.
8820 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8821
8822 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8823
8824 * desktop.el (desktop-restore-forces-onscreen)
8825 (desktop-restore-reuses-frames): Document :keyword constant values.
8826 (desktop-filter-parameters-alist): Remove, now identical to
8827 frameset-filter-alist.
8828 (desktop--filter-tty*): Remove, moved to frameset.el.
8829 (desktop-save-frameset, desktop-restore-frameset):
8830 Do not pass :filters argument.
8831
8832 * frameset.el (frameset-live-filter-alist)
8833 (frameset-persistent-filter-alist): New variables.
8834 (frameset-filter-alist): Use them. Add autoload cookie.
8835 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8836 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8837 `frameset--id' (it's supposed to be internal to frameset.el).
8838 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8839 (frameset--initial-params): New function.
8840 (frameset--get-frame): Use it. Doc fix.
8841 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8842 Accept :all, not 'all.
8843 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8844 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8845 with fbound symbols. Fix frame id matching, and remove matching ids if
8846 the frame being restored is deleted. Obey :delete.
8847
8848 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * subr.el (macrop): New function.
8851 (text-clone--maintaining): New var.
8852 (text-clone--maintain): Rename from text-clone-maintain. Use it
8853 instead of inhibit-modification-hooks.
8854
8855 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8856 a proxy, so as handle autoloads and redefinitions of the target.
8857 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8858
8859 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8860 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8861 (pcase--mutually-exclusive-p): New function.
8862 (pcase--split-consp): Use it.
8863 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8864 mutually exclusive with the current predicate.
8865
8866 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8867 (edebug-macrop): Remove. Use `macrop' instead.
8868 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8869 (ad-macro-p):
8870 * eshell/esh-cmd.el (eshell-macrop):
8871 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8872
8873 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8876 (advice-mapc): New function, using it.
8877 (advice-function-member-p): New function.
8878 (advice--normalize): Store the cdr in advice--saved-rewrite since
8879 that's the part that will be changed.
8880 (advice--symbol-function): New function.
8881 (advice-remove): Handle removal before the function is defined.
8882 Adjust to new advice--saved-rewrite.
8883 (advice-member-p): Use advice-function-member-p and
8884 advice--symbol-function.
8885
8886 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8887
8888 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8889 (frameset-filter-minibuffer): Doc fix.
8890 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8891 (frameset--set-id, frameset--process-minibuffer-frames)
8892 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8893 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8894
8895 * desktop.el (desktop-clear): Only delete frames when called
8896 interactively and desktop-restore-frames is non-nil. Doc fix.
8897 (desktop-read): Set desktop-saved-frameset to nil.
8898
8899 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8900
8901 * vc/vc.el (vc-ignore): Rewrite.
8902 (vc-default-ignore-completion-table, vc--read-lines)
8903 (vc--add-line, vc--remove-regexp): New functions.
8904
8905 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8906 (vc-svn-ignore-completion-table): New function.
8907
8908 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8909 (vc-hg-ignore-completion-table)
8910 (vc-hg-find-ignore-file): New functions.
8911
8912 * vc/vc-git.el (vc-git-ignore): Rewrite.
8913 (vc-git-ignore-completion-table)
8914 (vc-git-find-ignore-file): New functions.
8915
8916 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8917
8918 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8919 (vc-bzr-ignore-completion-table)
8920 (vc-bzr-find-ignore-file): New functions.
8921
8922 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8923
8924 * frameset.el (frameset-prop): New function and setter.
8925 (frameset-save): Do not modify frame list passed by the caller.
8926
8927 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8930
8931 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8934 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8935
8936 * custom.el (custom-initialize-default, custom-initialize-set)
8937 (custom-initialize-reset, custom-initialize-changed): Affect the
8938 toplevel-default-value (bug#6275, bug#14586).
8939 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8940 for bug#6275.
8941
8942 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8943
8944 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8945 Add cl-def* expressions.
8946
8947 * frameset.el (frameset-filter-params): Fix order of arguments.
8948
8949 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8950
8951 Move code related to saving frames to frameset.el.
8952 * desktop.el: Require frameset.
8953 (desktop-restore-frames): Doc fix.
8954 (desktop-restore-reuses-frames): Rename from
8955 desktop-restoring-reuses-frames.
8956 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8957 (desktop-clear): Clear frames too.
8958 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8959 (desktop--filter-tty*, desktop-save, desktop-read):
8960 Use frameset functions.
8961 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8962 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8963 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8964 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8965 (desktop--process-minibuffer-frames, desktop-save-frames)
8966 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8967 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8968 (desktop--sort-states, desktop-restoring-frames-p)
8969 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8970 (desktop-restoring-frameset-p, desktop-restore-frameset)
8971 (desktop--check-dont-save, desktop-save-frameset): New functions.
8972 (desktop--app-id): New constant.
8973 (desktop-first-buffer, desktop-buffer-ok-count)
8974 (desktop-buffer-fail-count): Move before first use.
8975 * frameset.el: New file.
8976
8977 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 * files.el: Use lexical-binding.
8980 (dir-locals-read-from-file): Remove unused `err' variable.
8981 (hack-dir-local-variables--warned-coding): New var.
8982 (hack-dir-local-variables): Use it to avoid repeated warnings.
8983 (make-backup-file-name--default-function): New function.
8984 (make-backup-file-name-function): Use it as default.
8985 (buffer-stale--default-function): New function.
8986 (buffer-stale-function): Use it as default.
8987 (revert-buffer-insert-file-contents--default-function): New function.
8988 (revert-buffer-insert-file-contents-function): Use it as default.
8989 (insert-directory): Avoid add-to-list.
8990
8991 * autorevert.el (auto-revert-handler): Simplify.
8992 Use buffer-stale--default-function.
8993
8994 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8995
8996 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8997
8998 * whitespace.el (whitespace-ensure-local-variables): New function.
8999 (whitespace-cleanup-region): Call it.
9000 (whitespace-turn-on): Call it.
9001
9002 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9003
9004 Complete file name handlers.
9005
9006 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9007 (tramp-handle-verify-visited-file-modtime)
9008 (tramp-handle-file-notify-rm-watch): New functions.
9009 (tramp-call-process): Do not bind `default-directory'.
9010
9011 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9012 Order alphabetically.
9013 <access-file, add-name-to-file, dired-call-process>:
9014 <dired-compress-file, file-acl, file-notify-rm-watch>:
9015 <file-ownership-preserved-p, file-selinux-context>:
9016 <make-directory-internal, make-symbolic-link, set-file-acl>:
9017 <set-file-selinux-context, set-visited-file-modtime>:
9018 <verify-visited-file-modtime>: Add handler.
9019 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9020
9021 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9022 <file-notify-add-watch, file-notify-rm-watch>:
9023 <set-file-times, set-visited-file-modtime>:
9024 <verify-visited-file-modtime>: Add handler.
9025 (with-tramp-gvfs-error-message)
9026 (tramp-gvfs-handle-set-visited-file-modtime)
9027 (tramp-gvfs-fuse-file-name): Remove.
9028 (tramp-gvfs-handle-file-notify-add-watch)
9029 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9030 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9031
9032 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9033 Order alphabetically.
9034 <file-notify-rm-watch>: Use default Tramp handler.
9035 <executable-find>: Remove private handler.
9036 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9037 `default-directory'.
9038 (tramp-sh-handle-executable-find)
9039 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9040 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9041 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9042 Do not use `format' in `tramp-message'.
9043
9044 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9045 <file-notify-rm-watch, set-visited-file-modtime>:
9046 <verify-visited-file-modtime>: Add handler.
9047 (tramp-smb-call-winexe): Do not bind `default-directory'.
9048
9049 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9050
9051 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9052
9053 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9054
9055 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9056 use it.
9057 (log-view-diff-changeset): Same.
9058 (log-view-diff-common): Call backend command `previous-revision'
9059 to find out the previous revision, in both cases. Swap the
9060 variables `to' and `fr', so that `fr' usually refers to the
9061 earlier revision (Bug#14989).
9062
9063 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9064
9065 * ibuf-ext.el (ibuffer-filter-by-filename):
9066 Make it work with dired buffers too.
9067
9068 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9069
9070 * emacs-lisp/re-builder.el (reb-color-display-p):
9071 * files.el (save-buffers-kill-terminal):
9072 * net/browse-url.el (browse-url):
9073 * server.el (server-save-buffers-kill-terminal):
9074 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9075 Prefer nil to selected-frame for the first arg of frame-parameter.
9076
9077 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9078
9079 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9080
9081 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9082
9083 * minibuffer.el (completion--twq-all): Try and preserve each
9084 completion's case choice (bug#14907).
9085
9086 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9087
9088 * net/network-stream.el (open-network-stream): Mention the new
9089 :nogreeting parameter.
9090 (network-stream-open-starttls): Use the :nogreeting parameter
9091 (bug#14938).
9092
9093 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9094
9095 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9096 more natural than popping.
9097
9098 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9099 (shr-urlify): Highlight under mouse.
9100
9101 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9102
9103 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9104
9105 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9106
9107 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9108 buffer for output.
9109
9110 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9111 point-min==1. Fix search string. Fix parentheses missing.
9112
9113 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9114 assume point-min==1. Fix search string. Fix parentheses missing.
9115
9116 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9117
9118 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9119 buffer for output.
9120
9121 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9122
9123 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9124 initial frame is minibuffer-less. (Bug#14841)
9125
9126 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9127
9128 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9129 option.
9130
9131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9132 (tramp-maybe-open-connection): Use it.
9133
9134 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9135
9136 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9137 minimal set of parameters passed when creating a frame, because
9138 the minibuffer status of a frame cannot be changed later.
9139
9140 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9141
9142 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9143 replace-regexp-in-string and inadvertent omissions in previous change.
9144 (todo-filter-items): Ensure only file names are comma-separated in
9145 name of filtered items buffer.
9146
9147 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9148
9149 * desktop.el: Optionally force offscreen frames back onscreen.
9150 (desktop-restoring-reuses-frames): New option.
9151 (desktop--compute-pos, desktop--move-onscreen): New functions.
9152 (desktop--make-frame): Use desktop--move-onscreen.
9153
9154 2013-07-27 Alan Mackenzie <acm@muc.de>
9155
9156 Fontify a Java generic method as a function.
9157 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9158 value to t.
9159
9160 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9161
9162 * calendar/todo-mode.el: Add command to rename todo files.
9163 (todo-rename-file): New command.
9164 (todo-key-bindings-t): Add key binding for it. Change the
9165 bindings of todo-filter-regexp-items(-multifile) to use `x'
9166 instead of `r', since the latter is better suited to the new
9167 renaming command.
9168
9169 2013-07-27 Alan Mackenzie <acm@muc.de>
9170
9171 Make Java try-with-resources statement parse properly.
9172 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9173 (c-block-stmt-1-2-key): New language constants/variables.
9174 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9175 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9176 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9177 with c-block-stmt-1-2-key.
9178
9179 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9180
9181 * desktop.el (desktop--make-frame): Apply most frame parameters after
9182 creating the frame to force (partially or totally) offscreen frames to
9183 be restored as such.
9184
9185 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9186
9187 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9188 (Bug#14948)
9189
9190 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9193 `base' arg of backtrace-frame.
9194
9195 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9196
9197 * simple.el (list-processes): Doc fix.
9198
9199 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9200
9201 * desktop.el (desktop--select-frame):
9202 Try harder to reuse existing frames.
9203
9204 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9205
9206 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9207 (edebug-eval): Use backtrace-eval.
9208 (edebug--display, edebug--recursive-edit): Don't let-bind the
9209 edebug-outer-* vars that keep track of variables we locally let-bind.
9210 (edebug-outside-excursion): Don't restore outside values of locally
9211 let-bound vars.
9212 (edebug--display): Use user-error.
9213 (cl-lexical-debug, cl-debug-env): Remove.
9214
9215 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9216
9217 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9218 are restored to be sure that they are visible before deleting any
9219 remaining ones.
9220
9221 2013-07-26 Matthias Meulien <orontee@gmail.com>
9222
9223 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9224 vc-print-root-log. (Bug#14948)
9225
9226 2013-07-26 Richard Stallman <rms@gnu.org>
9227
9228 Add aliases for encrypting mail.
9229 * epa.el (epa-mail-aliases): New option.
9230 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9231 Bind inhibit-read-only so read-only text doesn't ruin everything.
9232 (epa-mail-default-recipients): New subroutine broken out.
9233 Handle epa-mail-aliases.
9234
9235 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 Add support for lexical variables to the debugger's `e' command.
9238 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9239 vars, except for debugger-outer-match-data.
9240 (debugger-frame-number): Move check for "on a function call" from
9241 callers into it. Add `skip-base' argument.
9242 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9243 (debugger-env-macro): Only reset the state stored in non-variables,
9244 i.e. current-buffer and match-data.
9245 (debugger-eval-expression): Rewrite using backtrace-eval.
9246 * subr.el (internal--called-interactively-p--get-frame): Remove.
9247 (called-interactively-p):
9248 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9249 `base' arg of backtrace-frame instead.
9250
9251 2013-07-26 Glenn Morris <rgm@gnu.org>
9252
9253 * align.el (align-regexp): Doc fix. (Bug#14857)
9254 (align-region): Explicit error if subexpression missing/does not match.
9255
9256 * simple.el (global-visual-line-mode):
9257 Do not duplicate the mode lighter. (Bug#14858)
9258
9259 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9260
9261 * window.el (display-buffer): In display-buffer bind
9262 split-window-keep-point to t, bug#14829.
9263
9264 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9265
9266 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9267 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9268 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9269 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9270 Change accordingly.
9271 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9272 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9273
9274 2013-07-25 Glenn Morris <rgm@gnu.org>
9275
9276 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9277
9278 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9279
9280 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9281 parameter to modify-frame-parameters if the value has not changed;
9282 this is a workaround for bug#14949.
9283 (desktop--make-frame): On cl-delete-if call, check parameter name,
9284 not full parameter.
9285
9286 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9287
9288 * vc/vc.el (vc-ignore): New function.
9289
9290 * vc/vc-svn.el (vc-svn-ignore): New function.
9291
9292 * vc/vc-hg.el (vc-hg-ignore): New function.
9293
9294 * vc/vc-git.el (vc-git-ignore): New function.
9295
9296 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9297 (vc-dir-ignore): New function.
9298
9299 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9300 (cvs-append-to-ignore): Move here from pcvs.el.
9301
9302 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9303
9304 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9305
9306 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9307
9308 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9309 (desktop-restore-frames): Warn when deleting an existing frame failed.
9310
9311 2013-07-24 Glenn Morris <rgm@gnu.org>
9312
9313 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9314
9315 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9316
9317 * filenotify.el (file-notify-supported-p):
9318 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9319 Remove functions.
9320
9321 * autorevert.el (auto-revert-use-notify)
9322 (auto-revert-notify-add-watch):
9323 * net/tramp.el (tramp-file-name-for-operation):
9324 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9325 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9326 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9327 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9328 Remove `file-notify-supported-p' entry.
9329
9330 2013-07-24 Glenn Morris <rgm@gnu.org>
9331
9332 * printing.el: Replace all uses of deleted ps-windows-system,
9333 ps-lp-system, ps-flatten-list with lpr- versions.
9334
9335 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9338 checked with memq (bug#14935).
9339
9340 * files.el (revert-buffer-function): Use a non-nil default.
9341 (revert-buffer-preserve-modes): Declare var to
9342 provide access to the `preserve-modes' argument.
9343 (revert-buffer): Let-bind it.
9344 (revert-buffer--default): New function, extracted from revert-buffer.
9345
9346 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * lpr.el: Signal print errors more prominently.
9349 (print-region-function): Don't default to nil.
9350 (lpr-print-region): New function, extracted from print-region-1.
9351 Check lpr's return value and signal an error in case of problem.
9352 (print-region-1): Use it.
9353 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9354 versions instead.
9355 (ps-printer-name): Default to nil.
9356 (ps-printer-name-option): Default to lpr-printer-switch.
9357 (ps-print-region-function): Don't default to nil.
9358 (ps-postscript-code-directory): Simplify default.
9359 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9360 (ps-string-list, ps-eval-switch, ps-flatten-list)
9361 (ps-flatten-list-1): Remove.
9362 (ps-multibyte-buffer): Avoid setq.
9363 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9364 (print-region-function, ps-print-region-function): Don't set them here.
9365
9366 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9367
9368 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9369 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9370 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9371 (ido-decorations): Doc fix.
9372
9373 * ansi-color.el: Fix old URL.
9374
9375 2013-07-23 Michael R. Mauger <michael@mauger.com>
9376
9377 * progmodes/sql.el: Version 3.3
9378 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9379 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9380 (sql-interactive-remove-continuation-prompt): Rewrite, use
9381 functions above. Fix continuation prompt and complete output line
9382 handling.
9383 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9384 redirected output buffer.
9385 (sql-mode): Restore deleted code (Bug#13591).
9386
9387 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9388
9389 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9390
9391 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9392
9393 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9394
9395 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9397 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9398
9399 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9400
9401 * desktop.el (desktop-clear): Simplify; remove useless checks
9402 against invalid buffer names.
9403 (desktop-list*): Use cl-list*.
9404 (desktop-buffer-info, desktop-create-buffer): Simplify.
9405
9406 2013-07-23 Leo Liu <sdl.web@gmail.com>
9407
9408 * bookmark.el (bookmark-make-record): Restore NAME as a default
9409 value. (Bug#14933)
9410
9411 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9412
9413 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9414 extracted from autoload--insert-text.
9415 (autoload--insert-text): Remove.
9416 (autoload--print-cookie-text): New function, extracted from
9417 autoload--insert-cookie-text.
9418 (autoload--insert-cookie-text): Remove.
9419 (autoload-generate-file-autoloads): Adjust calls accordingly.
9420
9421 * winner.el (winner-hook-installed-p): Remove.
9422 (winner-mode): Simplify accordingly.
9423
9424 * subr.el (add-to-list): Fix compiler-macro when `append' is
9425 not constant. Don't use `cl-member' for the base case.
9426
9427 * progmodes/subword.el: Fix boundary case (bug#13758).
9428 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9429 own group.
9430 (subword-backward-regexp): Make it a constant.
9431 (subword-forward-internal): Don't treat a trailing capital as the
9432 beginning of a word.
9433
9434 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9435
9436 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9437 global value of tabulated-list-revert-hook (bug#14930).
9438
9439 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9440
9441 * desktop.el: Require 'cl-lib.
9442 (desktop-before-saving-frames-functions): New hook.
9443 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9444 for frames being saved. Rename from desktop--save-minibuffer-frames.
9445 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9446 Do not save frames with non-nil `desktop-dont-save' parameter.
9447 Filter out deleted frames.
9448 (desktop--find-frame): Use cl-find-if.
9449 (desktop--select-frame): Use cl-(first|second|third) to access values
9450 of desktop-mini.
9451 (desktop--make-frame): Use cl-delete-if.
9452 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9453 (desktop-restore-frames): Use cl-(first|second|third) to access values
9454 of desktop-mini. Look for visible frame at the end, not while
9455 restoring frames.
9456
9457 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9458 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9459 Use string-match-p, looking-at-p (bug#14927).
9460
9461 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9462
9463 * desktop.el (desktop-saved-frame-states):
9464 Rename from desktop--saved-states; all users changed.
9465 (desktop-save-frames): Rename from desktop--save-frames.
9466 Do not save state to desktop file.
9467 (desktop-save): Save desktop-saved-frame-states to desktop file
9468 and reset to nil.
9469 (desktop-restoring-frames-p): New function.
9470 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9471 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9472 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9473
9474 * desktop.el: Correctly restore iconified frames.
9475 (desktop--filter-iconified-position): New function.
9476 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9477
9478 2013-07-20 Glenn Morris <rgm@gnu.org>
9479
9480 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9481 Let `message' do the formatting.
9482 (def-gdb-preempt-display-buffer): Add explicit format.
9483
9484 * image-dired.el (image-dired-track-original-file):
9485 Use with-current-buffer.
9486 (image-dired-track-thumbnail): Use with-current-buffer.
9487 Avoid changing point of wrong window.
9488
9489 * image-dired.el (image-dired-track-original-file):
9490 Avoid changing point of wrong window. (Bug#14909)
9491
9492 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9493
9494 * progmodes/gdb-mi.el (gdb-done-or-error):
9495 Guard against "%" in gdb output. (Bug#14127)
9496
9497 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9498
9499 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9500 (Bug#14826)
9501
9502 * international/mule.el (coding-system-iso-2022-flags): Fix last
9503 change.
9504
9505 2013-07-20 Kenichi Handa <handa@gnu.org>
9506
9507 * international/mule.el (coding-system-iso-2022-flags):
9508 Add `8-bit-level-4'. (Bug#8522)
9509
9510 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9511
9512 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9513 (bug#14815).
9514
9515 * net/eww.el (eww-process-text-input): Allow inputting when the
9516 point is at the start of the line, as the properties aren't
9517 front-sticky.
9518
9519 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9520 degenerate widths.
9521
9522 2013-07-19 Richard Stallman <rms@gnu.org>
9523
9524 * epa.el (epa-popup-info-window): Doc fix.
9525
9526 * subr.el (split-string): New arg TRIM.
9527
9528 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9529
9530 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9531 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9532
9533 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9534
9535 * filenotify.el (file-notify--library): Rename from
9536 `file-notify-support'. Do not autoload. Adapt all uses.
9537 (file-notify-supported-p): New defun.
9538
9539 * autorevert.el (auto-revert-use-notify):
9540 Use `file-notify-supported-p' instead of `file-notify-support'.
9541 Adapt docstring.
9542 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9543
9544 * net/tramp.el (tramp-file-name-for-operation):
9545 Add `file-notify-supported-p'.
9546
9547 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9548 New defun.
9549 (tramp-sh-file-name-handler-alist): Add it as handler for
9550 `file-notify-supported-p '.
9551
9552 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9553 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9554 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9555 Add `ignore' as handler for `file-notify-*' functions.
9556
9557 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9558
9559 * simple.el (line-move-partial, line-move): Don't start vscroll or
9560 scroll-up if the current line is not taller than the window.
9561 (Bug#14881)
9562
9563 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9564
9565 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9566 highlight question marks in the method names as strings.
9567 (ruby-block-beg-keywords): Inline.
9568 (ruby-font-lock-keyword-beg-re): Extract from
9569 `ruby-font-lock-keywords'.
9570
9571 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9572
9573 * frame.el (blink-cursor-blinks): New defcustom.
9574 (blink-cursor-blinks-done): New defvar.
9575 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9576 (blink-cursor-timer-function): Check if number of blinks has been
9577 done on X and NS.
9578 (blink-cursor-suspend, blink-cursor-check): New defuns.
9579
9580 2013-07-15 Glenn Morris <rgm@gnu.org>
9581
9582 * edmacro.el (edmacro-format-keys): Fix previous change.
9583
9584 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9585
9586 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9587 The hack didn't work outside English locales anyway.
9588
9589 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9590
9591 * simple.el (define-alternatives): Rename from alternatives-define,
9592 per RMS' suggestion.
9593
9594 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9595
9596 * desktop.el (desktop-restore-frames): Change default to t.
9597 (desktop-restore-in-current-display): Now offer more options.
9598 (desktop-restoring-reuses-frames): New customization option.
9599 (desktop--saved-states): Doc fix.
9600 (desktop-filter-parameters-alist): New variable, renamed and expanded
9601 from desktop--excluded-frame-parameters.
9602 (desktop--target-display): New variable.
9603 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9604 (desktop--filter-tty*, desktop--filter-*-color)
9605 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9606 (desktop--filter-save-desktop-parm)
9607 (desktop-restore-in-original-display-p): New functions.
9608 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9609 (desktop--save-minibuffer-frames): New function, inspired by a similar
9610 function from Martin Rudalics.
9611 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9612 (desktop--restore-in-this-display-p): Remove.
9613 (desktop--find-frame): Rename from desktop--find-frame-in-display
9614 and add predicate argument.
9615 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9616 (desktop--reuse-list): New variable.
9617 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9618 New functions.
9619 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9620
9621 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9622
9623 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9624
9625 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9626
9627 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9628 Highlight conversion methods on Kernel.
9629
9630 2013-07-13 Alan Mackenzie <acm@muc.de>
9631
9632 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9633 and comment it out. This out-commenting enables certain C++
9634 declarations to be parsed correctly.
9635
9636 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9637
9638 * international/mule.el (define-coding-system): Doc fix.
9639
9640 * simple.el (default-font-height): Don't call font-info if the
9641 frame's default font didn't change since the frame was created.
9642 (Bug#14838)
9643
9644 2013-07-13 Leo Liu <sdl.web@gmail.com>
9645
9646 * ido.el (ido-read-file-name): Guard against non-symbol value.
9647
9648 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9649
9650 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9651 in nested defuns.
9652
9653 2013-07-13 Leo Liu <sdl.web@gmail.com>
9654
9655 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9656 ido-set-matches call. (Bug#6852)
9657
9658 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9659
9660 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9661 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9662 Ruby 2.0.
9663 (ruby-font-lock-keywords): Distinguish calls to functions with
9664 module-like names from module references. Highlight character
9665 literals.
9666
9667 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9668
9669 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9670 (gdb-send): Handle continued commands. (Bug#14847)
9671
9672 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9673
9674 * desktop.el (desktop--v2s): Remove unused local variable.
9675 (desktop-save-buffer): Make defvar-local; adjust docstring.
9676 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9677 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9678
9679 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9680
9681 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9682
9683 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9684
9685 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9686 (Bug#14842)
9687
9688 2013-07-12 Glenn Morris <rgm@gnu.org>
9689
9690 * doc-view.el: Require cl-lib at runtime too.
9691 (doc-view-remove-if): Remove.
9692 (doc-view-search-next-match, doc-view-search-previous-match):
9693 Use cl-remove-if.
9694
9695 * edmacro.el: Require cl-lib at runtime too.
9696 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9697 (edmacro-mismatch, edmacro-subseq): Remove.
9698
9699 * shadowfile.el: Require cl-lib.
9700 (shadow-remove-if): Remove.
9701 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9702 Use cl-remove-if.
9703
9704 * wid-edit.el: Require cl-lib.
9705 (widget-choose): Use cl-remove-if.
9706 (widget-remove-if): Remove.
9707
9708 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9709 (ebrowse-delete-if-not): Remove.
9710 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9711 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9712 Use cl-delete-if-not.
9713
9714 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9715
9716 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9717 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9718
9719 2013-07-12 Leo Liu <sdl.web@gmail.com>
9720
9721 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9722
9723 2013-07-11 Glenn Morris <rgm@gnu.org>
9724
9725 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9726 (edebug-gensym-index, edebug-gensym):
9727 Remove reimplementation of cl-gensym.
9728 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9729
9730 * thumbs.el: Require cl-lib at run-time too.
9731 (thumbs-gensym-counter, thumbs-gensym):
9732 Remove reimplementation of cl-gensym.
9733 (thumbs-temp-file): Use cl-gensym.
9734
9735 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9736 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9737 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9738 (ert--union, ert--gensym-counter, ert--gensym-counter)
9739 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9740 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9741 (ert-make-test-unbound, ert--expand-should-1)
9742 (ert--expand-should, ert--should-error-handle-error)
9743 (should-error, ert--explain-equal-rec)
9744 (ert--plist-difference-explanation, ert-select-tests)
9745 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9746 Use cl-lib functions rather than reimplementations.
9747
9748 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9749
9750 * net/tramp.el (tramp-methods): Extend docstring.
9751 (tramp-connection-timeout): New defcustom.
9752 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9753 (with-tramp-progress-reporter): Simplify.
9754 (tramp-process-actions): Improve messages.
9755
9756 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9757 * net/tramp-sh.el (tramp-maybe-open-connection):
9758 Use `tramp-connection-timeout'.
9759 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9760 (Bug#14808)
9761
9762 2013-07-11 Leo Liu <sdl.web@gmail.com>
9763
9764 * ido.el (ido-read-file-name): Conform to the requirements of
9765 read-file-name. (Bug#11861)
9766 (ido-read-directory-name): Conform to the requirements of
9767 read-directory-name.
9768
9769 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9770
9771 * subr.el (delay-warning): New function.
9772
9773 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9774
9775 * simple.el (default-line-height): New function.
9776 (line-move-partial, line-move): Use it instead of computing the
9777 line height inline.
9778 (line-move-partial): Always compute ROWH. If the last line is
9779 partially-visible, but its text is completely visible, allow
9780 cursor to enter such a partially-visible line.
9781
9782 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9783
9784 Improve error messages. (Bug#14808)
9785
9786 * net/tramp.el (tramp-current-connection): New defvar, moved from
9787 tramp-sh.el.
9788 (tramp-message-show-progress-reporter-message): Remove, not
9789 needed anymore.
9790 (tramp-error-with-buffer): Show message in minibuffer.
9791 Discard input before waiting. Reset connection timestamp.
9792 (with-tramp-progress-reporter): Improve messages.
9793 (tramp-process-actions): Use progress reporter. Delete process in
9794 case of error. Improve messages.
9795
9796 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9797 Call `tramp-error-with-buffer' with vector and buffer.
9798 (tramp-current-connection): Remove.
9799 (tramp-maybe-open-connection): The car of
9800 `tramp-current-connection' are the first 3 slots of the vector.
9801
9802 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9803
9804 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9805 inside continued strings.
9806
9807 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9808
9809 Timestamp fixes for undo (Bug#14824).
9810 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9811
9812 2013-07-10 Leo Liu <sdl.web@gmail.com>
9813
9814 * files.el (require-final-newline): Allow safe local value.
9815 (Bug#14834)
9816
9817 2013-07-09 Leo Liu <sdl.web@gmail.com>
9818
9819 * ido.el (ido-read-directory-name): Handle fallback.
9820 (ido-read-file-name): Update DIR to ido-current-directory.
9821 (Bug#1516)
9822 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9823
9824 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9825
9826 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9827 "autoload". Remove "warn lower camel case" section, previously
9828 commented out. Highlight negation char. Do not highlight the
9829 target in singleton method definitions.
9830
9831 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * faces.el (tty-setup-hook): Declare the hook.
9834
9835 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9836 and detect when a guard/pred depends on local vars (bug#14773).
9837 (pcase--u1): Adjust caller.
9838
9839 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9840
9841 * simple.el (line-move-partial, line-move): Account for
9842 line-spacing.
9843 (line-move-partial): Avoid setting vscroll when the last
9844 partially-visible line in window is of default height.
9845
9846 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9847
9848 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9849 been used a while.
9850
9851 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9852
9853 * subr.el (read-quoted-char): Remove unused local variable `char'.
9854
9855 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9856
9857 * ediff.el (ediff-version): Version update.
9858 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9859 (ediff-merge-with-ancestor-command, ediff-directories-command)
9860 (ediff-directories3-command, ediff-merge-directories-command)
9861 (ediff-merge-directories-with-ancestor-command): New functions.
9862 All are command-line interfaces to ediff: to facilitate calling
9863 Emacs with the appropriate ediff functions invoked.
9864
9865 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9866 (viper-save-kill-buffer): Check if buffer is modified.
9867
9868 * viper.el (viper-version): Version update.
9869 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9870
9871 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9874 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9875 (viper-intercept-ESC-key): Simplify.
9876 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9877 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9878 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9879 (viper-setup-ESC-to-escape): New functions.
9880 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9881 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9882
9883 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9884
9885 * simple.el (default-font-height, window-screen-lines):
9886 New functions.
9887 (line-move, line-move-partial): Use them instead of
9888 frame-char-height and window-text-height. This makes scrolling
9889 text smoother when the buffer's default face uses a font that is
9890 different from the frame's default font.
9891
9892 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9893
9894 * files.el (write-file): Do not display confirm dialog for NS,
9895 it does its own dialog, which can't be canceled (Bug#14578).
9896
9897 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9898
9899 * simple.el (line-move-partial): Adjust the row returned by
9900 posn-at-point for the current window-vscroll. (Bug#14567)
9901
9902 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9903
9904 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9905 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9906 spaces.
9907
9908 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9909
9910 * window.el (window-state-put-stale-windows): New variable.
9911 (window--state-put-2): Save list of windows without matching buffer.
9912 (window-state-put): Remove "bufferless" windows if possible.
9913
9914 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9915
9916 * simple.el (alternatives-define): Remove leftover :group keyword.
9917 Tweak docstring.
9918
9919 2013-07-06 Leo Liu <sdl.web@gmail.com>
9920
9921 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9922 (ido-enable-virtual-buffers): New variable.
9923 (ido-buffer-internal, ido-toggle-virtual-buffers)
9924 (ido-make-buffer-list): Use it.
9925 (ido-exhibit): Support turning on and off virtual buffers
9926 automatically.
9927
9928 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9929
9930 * simple.el (alternatives-define): New macro.
9931
9932 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9933
9934 * subr.el (read-quoted-char): Use read-key.
9935 (sit-for): Let read-event decode tty input (bug#14782).
9936
9937 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9938
9939 * calendar/todo-mode.el: Add handling of file deletion, both by
9940 mode command and externally. Fix various related bugs.
9941 Clarify Commentary and improve some documentation strings and code.
9942 (todo-delete-file): New command.
9943 (todo-check-file): New function.
9944 (todo-show): Handle external deletion of the file we're trying to
9945 show (bug#14688). Replace called-interactively-p by an optional
9946 prefix argument to avoid problematic interaction with catch form
9947 when byte compiled (bug#14702).
9948 (todo-quit): Handle external deletion of the archive's todo file.
9949 Make sure the buffer that was visiting the archive file is still
9950 live before trying to bury it.
9951 (todo-category-completions): Handle external deletion of any
9952 category completion files.
9953 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9954 of todo files, in case of external deletion.
9955 (todo-add-file): Replace unnecessary setq by let-binding.
9956 (todo-find-archive): Check whether there are any archives.
9957 Replace unnecessary setq by let-binding.
9958 (todo-archive-done-item): Use find-file-noselect to get the
9959 archive buffer whether or not the archive already exists.
9960 Remove superfluous code. Use file size instead of buffer-file-name to
9961 check if the archive is new; if it is, update list of archives.
9962 (todo-default-todo-file): Allow nil to be a valid value for when
9963 there are no todo files.
9964 (todo-reevaluate-default-file-defcustom): Use corrected definition
9965 of todo-default-todo-file.
9966 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9967 (todo-delete-category, todo-show-categories-table)
9968 (todo-category-number): Clarify comment.
9969 (todo-filter-items): Clarify documentation string.
9970 (todo-show-current-file, todo-display-as-todo-file)
9971 (todo-reset-and-enable-done-separator): Tweak documentation string.
9972 (todo-done-separator): Make separator length window-width, since
9973 bug#2749 is now fixed.
9974
9975 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9976
9977 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9978 Support both "gvfs-monitor-dir" and "inotifywait".
9979 (tramp-sh-file-inotifywait-process-filter): Rename from
9980 `tramp-sh-file-notify-process-filter'.
9981 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9982 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9983
9984 2013-07-05 Leo Liu <sdl.web@gmail.com>
9985
9986 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9987
9988 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9989
9990 * frame.el (display-pixel-height, display-pixel-width)
9991 (display-mm-height, display-mm-width): Mention behavior on
9992 multi-monitor setups in docstrings.
9993 (w32-display-monitor-attributes-list): Declare function.
9994 (display-monitor-attributes-list): Use it.
9995
9996 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9997
9998 * filenotify.el: New package.
9999
10000 * autorevert.el (top): Require filenotify.el.
10001 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10002 instead.
10003 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10004 (auto-revert-notify-handler): Use `file-notify-*' functions.
10005
10006 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10007
10008 * net/tramp.el (tramp-file-name-for-operation):
10009 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10010
10011 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10012 for `file-notify-add-watch' and `file-notify-rm-watch'.
10013 (tramp-process-sentinel): Improve trace.
10014 (tramp-sh-handle-file-notify-add-watch)
10015 (tramp-sh-file-notify-process-filter)
10016 (tramp-sh-handle-file-notify-rm-watch)
10017 (tramp-get-remote-inotifywait): New defuns.
10018
10019 2013-07-03 Juri Linkov <juri@jurta.org>
10020
10021 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10022 call of `occur-read-primary-args' to interactive spec.
10023
10024 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10025 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10026
10027 2013-07-03 Matthias Meulien <orontee@gmail.com>
10028
10029 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10030 `Buffer-menu-multi-occur'. Add it to the menu.
10031 (Buffer-menu-mode): Document it in docstring.
10032 (Buffer-menu-multi-occur): New command. (Bug#14673)
10033
10034 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10035
10036 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10037 keywords and built-ins.
10038
10039 2013-07-03 Glenn Morris <rgm@gnu.org>
10040
10041 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10042
10043 Make info-xref checks case-sensitive by default
10044 * info.el (Info-find-node, Info-find-in-tag-table)
10045 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10046 Add option for exact case matching of nodes.
10047 * info-xref.el (info-xref): New custom group.
10048 (info-xref-case-fold): New option.
10049 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10050
10051 2013-07-03 Leo Liu <sdl.web@gmail.com>
10052
10053 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10054
10055 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10056
10057 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10058 middle of block statement initially, lower the depth. Remove
10059 FIXME comment, not longer valid. Remove middle of block statement
10060 detection, no need to do that anymore since we've been using
10061 `ruby-parse-region' here.
10062
10063 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10064
10065 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10066
10067 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10068
10069 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10070
10071 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10072
10073 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10074 (desktop-restore-in-current-display): New customization option.
10075 (desktop--excluded-frame-parameters): Add `font'.
10076 (desktop--save-frames): Rename from desktop--save-windows.
10077 (desktop--restore-in-this-display-p): New function.
10078 (desktop--make-full-frame): Remove unwanted width/height from
10079 full(width|height) frames.
10080 (desktop--restore-frames): Rename from desktop--restore-windows.
10081 Obey desktop-restore-current-display. Do not delete old frames or
10082 select a new frame unless we were able to restore at least one frame.
10083
10084 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10085
10086 * files.el (find-file-noselect): Simplify conditional expression.
10087
10088 * textmodes/remember.el (remember-append-to-file):
10089 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10090
10091 Add `remember-notes' function to store random notes across Emacs
10092 restarts.
10093 * textmodes/remember.el (remember-data-file): Add :set callback to
10094 affect notes buffer (if any).
10095 (remember-notes): New command.
10096 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10097 New defcustoms for the `remember-notes' function.
10098 (remember-notes-save-and-bury-buffer): New command.
10099 (remember-notes-mode-map): New variable.
10100 (remember-mode): New minor mode.
10101 (remember-notes--kill-buffer-query): New function.
10102 * startup.el (initial-buffer-choice): Add notes to custom type.
10103
10104 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10105
10106 * bindings.el (right-char, left-char): Don't call sit-for, this is
10107 no longer needed. Use arithmetic comparison only for numerical
10108 arguments.
10109
10110 * international/mule-cmds.el (select-safe-coding-system):
10111 Handle the case of FROM being a string correctly. (Bug#14755)
10112
10113 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10114
10115 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10116 progression on degenerate tables.
10117 (shr-rescale-image): ImageMagick animated images currently don't work.
10118
10119 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10120
10121 Some fixes and improvements for desktop frame restoration.
10122 It is still experimental and disabled by default.
10123 * desktop.el (desktop--save-windows): Put the selected frame at
10124 the head of the list.
10125 (desktop--make-full-frame): New function.
10126 (desktop--restore-windows): Try to re-select the frame that was
10127 selected upon saving. Do not abort if some frames fail to restore,
10128 just show an error message and continue. Set up maximized frames
10129 so they have default non-maximized dimensions.
10130
10131 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10132
10133 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10134 Don't start heredoc inside a string or comment.
10135
10136 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10137
10138 * bindings.el (visual-order-cursor-movement): New defcustom.
10139 (right-char, left-char): Provide visual-order cursor motion by
10140 calling move-point-visually. Update the doc strings.
10141
10142 2013-06-28 Kenichi Handa <handa@gnu.org>
10143
10144 * international/mule.el (define-coding-system): New coding system
10145 properties :inhibit-null-byte-detection,
10146 :inhibit-iso-escape-detection, and :prefer-utf-8.
10147 (set-buffer-file-coding-system): If :charset-list property of
10148 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10149 appropriate for setting.
10150
10151 * international/mule-cmds.el (select-safe-coding-system):
10152 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10153 multibyte characters, return utf-8 (or one of its siblings).
10154
10155 * international/mule-conf.el (prefer-utf-8): New coding system.
10156 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10157 files.
10158
10159 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10160
10161 * net/shr.el (shr-render-region): New function.
10162
10163 * net/eww.el: Autoload `eww-browse-url'.
10164
10165 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10166
10167 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10168 Adapt to `package-desc-version' being a list.
10169 Use `package--ac-desc-version' to retrieve version from a package
10170 archive element.
10171
10172 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10173
10174 New experimental feature to save&restore window and frame setup.
10175 * desktop.el (desktop-save-windows): New defcustom.
10176 (desktop--saved-states): New var.
10177 (desktop--excluded-frame-parameters): New defconst.
10178 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10179 (desktop--restore-windows, desktop--save-windows): New functions.
10180 (desktop-save): Call `desktop--save-windows'.
10181 (desktop-read): Call `desktop--restore-windows'.
10182
10183 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10184
10185 * net/shr.el (add-face-text-property): Remove compat definition.
10186
10187 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10188
10189 * info.el (Info-try-follow-nearest-node): Move search for footnote
10190 above search for node name to prevent missing a footnote (bug#14717).
10191
10192 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10193
10194 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10195
10196 2013-06-27 Leo Liu <sdl.web@gmail.com>
10197
10198 * net/eww.el (eww-read-bookmarks): Check file size.
10199
10200 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10201
10202 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10203 advice--pending if newdef is nil or an autoload (bug#13820).
10204 (advice-mapc): New function.
10205
10206 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10207
10208 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10209 probably.
10210 (eww-mode-map): Add a menu bar.
10211 (eww-add-bookmark): New command.
10212 (eww-bookmark-mode): New mode and commands.
10213 (eww-add-bookmark): Remove newlines from the title.
10214 (eww-bookmark-browse): Don't bug out if it's the only window.
10215
10216 2013-06-26 Glenn Morris <rgm@gnu.org>
10217
10218 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10219 (hfy-size): Handle ttys. (Bug#14668)
10220
10221 * info-xref.el: Update for Texinfo 5 change in *note format.
10222 (info-xref-node-re, info-xref-note-re): New constants.
10223 (info-xref-check-buffer): Use info-xref-note-re.
10224
10225 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10228
10229 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10230 nil terminate the loop (bug#14718).
10231
10232 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10233
10234 * net/eww.el: Rework history traversal. When going forward/back,
10235 put these actions into the history, too, so that they can be
10236 replayed.
10237 (eww-render): Move the history reset to the correct buffer.
10238
10239 2013-06-25 Juri Linkov <juri@jurta.org>
10240
10241 * files-x.el (modify-dir-local-variable): Change the header comment
10242 in the file with directory local variables. (Bug#14692)
10243
10244 * files-x.el (read-file-local-variable-value): Add `default'.
10245 (Bug#14710)
10246
10247 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10248
10249 * net/eww.el (eww-make-unique-file-name): Create a unique file
10250 name before saving to entering `y' accidentally asynchronously.
10251
10252 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10253
10254 * net/eww.el (eww-download): New command and keystroke.
10255
10256 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10257
10258 * net/eww.el (eww-copy-page-url): Change name of command.
10259
10260 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10261 be more consistent with Info and dired.
10262
10263 * net/eww.el (eww-mode-map): Ditto.
10264
10265 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10266
10267 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10268 packages from archives.
10269 (package-archive-contents): Change format; include obsolete packages.
10270 (package-desc): Use `dir' to mark builtin packages.
10271 (package--from-builtin): Set the `dir' field to `builtin'.
10272 (generated-autoload-file, version-control): Declare.
10273 (package-compute-transaction): Change first arg and return value to be
10274 lists of package-descs. Adjust to new package-archive-contents format.
10275 (package--add-to-archive-contents): Adjust to new
10276 package-archive-contents format.
10277 (package-download-transaction): Arg is now a list of package-descs.
10278 (package-install): If `pkg' is a package name, pass it as
10279 a requirement, so it is subject to the usual (e.g. disabled) checks.
10280 (describe-package): Accept package-desc as well.
10281 (describe-package-1): Describe a specific package-desc. Add links to
10282 other package-descs for the same package name.
10283 (package-menu-describe-package): Pass the actual package-desc.
10284 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10285 works correctly.
10286 (package-desc-status): New function.
10287 (package-menu--refresh): New function, extracted
10288 from package-menu--generate.
10289 (package-menu--generate): Use it.
10290 (package-delete): Update package-alist.
10291 (package-menu-execute): Don't call package-initialize.
10292
10293 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10294 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10295 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10296 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10297 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10298 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10299
10300 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10301
10302 * window.el (window--state-get-1): Workaround for bug#14527.
10303 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10304
10305 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10306
10307 * net/eww.el (eww-back-url): Implement the history by stashing all
10308 the data into a list.
10309 (eww-forward-url): Allow going forward in the history, too.
10310
10311 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10312
10313 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10314 for values and use read--expression for expressions (bug#14710).
10315 (read-file-local-variable): Avoid setq.
10316 (read-file-local-variable-mode): Use minor-mode-list.
10317
10318 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10319
10320 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10321 for DOI URLs.
10322
10323 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10324
10325 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10326 Update imenu-support when dialect changes.
10327
10328 2013-06-25 Leo Liu <sdl.web@gmail.com>
10329
10330 * ido.el (ido-read-internal): Allow forward slash on windows.
10331
10332 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10333
10334 * net/eww.el (eww): Start of strings is \\`, not ^.
10335
10336 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10337
10338 * net/shr.el (shr-browse-url): Fix interactive spec.
10339
10340 * net/eww.el (eww): Add a trailing slash to domain names.
10341
10342 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10343
10344 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10345
10346 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10347
10348 * net/shr.el (shr-browse-url): Use an external browser if given a
10349 prefix.
10350
10351 * net/eww.el (eww-external-browser): Move to shr.
10352
10353 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10354
10355 * net/eww.el (eww): Work more correctly for file: URLs.
10356 (eww-detect-charset): Allow quoted charsets.
10357 (eww-yank-page-url): New command and keystroke.
10358
10359 2013-06-24 Daiki Ueno <ueno@gnu.org>
10360
10361 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10362 file name of gpg executable.
10363 (epg-context-program): New function.
10364 (epg-context-home-directory): New function.
10365 (epg-context-set-program): New function.
10366 (epg-context-set-home-directory): New function.
10367 (epg--start): Use `epg-context-program' instead of
10368 'epg-gpg-program'.
10369 (epg--list-keys-1): Likewise.
10370
10371 2013-06-24 Leo Liu <sdl.web@gmail.com>
10372
10373 * ido.el (ido-read-internal): Fix bug#14620.
10374
10375 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10376
10377 * faces.el (face-documentation): Simplify.
10378 (read-face-attribute, tty-find-type, x-resolve-font-name):
10379 Use `string-match-p'.
10380 (list-faces-display): Use `string-match-p'. Simplify.
10381 (face-spec-recalc): Check face to avoid face alias loops.
10382 (read-color): Use `string-match-p' and non-capturing parenthesis.
10383
10384 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10385
10386 * net/shr.el (shr-rescale-image): Use the new
10387 :max-width/:max-height functionality.
10388
10389 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10390
10391 * net/eww.el (eww-search-prefix): New variable.
10392 (eww): Use it.
10393 (eww-external-browser): New variable.
10394 (eww-mode-map): New keystroke.
10395 (eww-browse-with-external-browser): New command.
10396
10397 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10398
10399 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10400
10401 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10402 Don't skip aligning the next header field when padding is 0;
10403 otherwise, field width is not respected unless the title is as
10404 wide as the field.
10405
10406 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10407
10408 * emacs-lisp/package.el (package-el-version): Remove.
10409 (package-process-define-package): Fix inf-loop.
10410 (package-install): Allow symbols as arguments again.
10411
10412 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10413
10414 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10415 add some more keyword-like methods.
10416 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10417
10418 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10419
10420 * bs.el (bs-buffer-show-mark): Make defvar-local.
10421 (bs-mode): Use setq-local.
10422
10423 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10424 (emacs-lock--try-unlocking): Make defvar-local.
10425
10426 2013-06-22 Glenn Morris <rgm@gnu.org>
10427
10428 * play/cookie1.el (cookie-apropos): Minor simplification.
10429
10430 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10431
10432 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10433
10434 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10435 `regexp-opt', it breaks the build during dumping.
10436
10437 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10438
10439 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10440 Highlight keyword-like methods on Kernel and Module with
10441 font-lock-builtin-face.
10442 (auto-mode-alist): Consolidate different entries into one regexp
10443 and add more *file-s.
10444
10445 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10446
10447 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10448
10449 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10450 (diary-entry): Use it in the action of this button type instead of
10451 diary-goto-entry.
10452
10453 * calendar/todo-mode.el: New version.
10454 (todo-add-category): Append new category to end of file and give
10455 it the highest number, instead of putting it at the beginning and
10456 giving it 0. Incorporate noninteractive functionality.
10457 (todo-forward-category): Adapt to 1-based category numbering.
10458 Allow skipping over archived categories.
10459 (todo-backward-category): Derive from todo-forward-category.
10460 (todo-backward-item, todo-forward-item): Make noninteractive and
10461 delegate interactive part to new commands. Make sensitive to done items.
10462 (todo-categories): Make value an alist of category names and
10463 vectors of item counts.
10464 (todo-category-beg): Make a defconst.
10465 (todo-category-number): Use 1 instead of 0 as initial value.
10466 (todo-category-select): Make sensitive to overlays, optional item
10467 highlighting and done items.
10468 (todo-delete-item): Make sensitive to overlays and marked and done items.
10469 (todo-edit-item): Make sensitive to overlays and editing of
10470 date/time header optional. Add format checks.
10471 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10472 no-op if point is not on an item. Advertise using todo-edit-quit.
10473 (todo-edit-mode): Make sensitive to new format, font-locking, and
10474 multiple todo files.
10475 (todo-insert-item, todo-insert-item-here): Derive from
10476 todo-basic-insert-item and extend functionality.
10477 (todo-item-end, todo-item-start): Make sensitive to done items.
10478 (todo-item-string): Don't return text properties. Restore point.
10479 (todo-jump-to-category): Make sensitive to multiple todo files and
10480 todo archives. Use extended category completion.
10481 (todo-lower-item, todo-raise-item): Rename to *-priority and
10482 derive from todo-set-item-priority.
10483 (todo-mode): Derive from special-mode. Make sensitive to new
10484 format, font-locking and multiple todo files. Make read-only.
10485 (todo-mode-map): Don't suppress digit keys, so they can supply
10486 prefix arguments. Add many new key bindings.
10487 (todo-prefix): Insert as an overlay instead of file text.
10488 Change semantics from diary date expression to purely visual mark.
10489 (todo-print): Rename to todo-print-buffer. Make buffer display
10490 features printable. Remove option to restrict number of items
10491 printed. Add option to print to file.
10492 (todo-print-function): Rename to todo-print-buffer-function.
10493 (todo-quit): Extend to handle exiting new todo modes.
10494 (todo-remove-item): Make sensitive to overlays.
10495 (todo-save): Extend to buffers of filtered items.
10496 (todo-show): Make sensitive to done items, multiple todo files and
10497 new todo modes. Offer to convert legacy todo file before creating
10498 first new todo file.
10499 (todo-show-priorities): Rename to todo-top-priorities.
10500 Change semantics of value 0.
10501 (todo-top-priorities): Rename to todo-filter-top-priorities,
10502 derive from todo-filter-items and extend functionality.
10503 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10504 and extend functionality to other types of filtered items.
10505 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10506 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10507 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10508 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10509 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10510 (todo-edit-mode-hook, todo-entry-prefix-function)
10511 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10512 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10513 (todo-initials, todo-insert-threshold, todo-item-string-start)
10514 (todo-line-string, todo-menu, todo-mode-hook)
10515 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10516 (todo-print-priorities, todo-remove-separator)
10517 (todo-save-top-priorities-too, todo-string-count-lines)
10518 (todo-string-multiline-p, todo-time-string-format)
10519 (todo-tmp-buffer-name): Remove.
10520 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10521 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10522 (todo-edit-category-diary-inclusion)
10523 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10524 (todo-edit-file, todo-edit-item-date-day)
10525 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10526 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10527 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10528 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10529 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10530 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10531 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10532 (todo-filter-top-priorities-multifile, todo-find-archive)
10533 (todo-find-filtered-items-file, todo-go-to-source-item)
10534 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10535 (todo-jump-to-archive-category, todo-lower-category)
10536 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10537 (todo-move-category, todo-move-item, todo-next-button)
10538 (todo-next-item, todo-padded-string, todo-powerset)
10539 (todo-previous-button, todo-previous-item)
10540 (todo-print-buffer-to-file, todo-raise-category)
10541 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10542 (todo-set-category-number, todo-set-item-priority)
10543 (todo-set-top-priorities-in-category)
10544 (todo-set-top-priorities-in-file, todo-show-categories-table)
10545 (todo-sort-categories-alphabetically-or-numerically)
10546 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10547 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10548 (todo-toggle-item-header, todo-toggle-item-highlighting)
10549 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10550 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10551 (todo-unarchive-items, todo-unmark-category): New commands.
10552 (todo-absolute-file-name, todo-add-to-buffer-list)
10553 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10554 (todo-basic-insert-item, todo-category-completions)
10555 (todo-category-number, todo-category-string-matcher-1)
10556 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10557 (todo-check-format, todo-clear-matches)
10558 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10559 (todo-current-category, todo-date-string-matcher)
10560 (todo-define-insertion-command, todo-diary-expired-matcher)
10561 (todo-diary-goto-entry, todo-diary-item-p)
10562 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10563 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10564 (todo-done-item-section-p, todo-done-separator)
10565 (todo-done-string-matcher, todo-files, todo-filter-items)
10566 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10567 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10568 (todo-insert-category-line, todo-insert-item-from-calendar)
10569 (todo-insert-sort-button, todo-insert-with-overlays)
10570 (todo-insertion-command-name, todo-insertion-key-bindings)
10571 (todo-label-to-key, todo-longest-category-name-length)
10572 (todo-make-categories-list, todo-mode-external-set)
10573 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10574 (todo-modes-set-3, todo-multiple-filter-files)
10575 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10576 (todo-read-category, todo-read-date, todo-read-dayname)
10577 (todo-read-file-name, todo-read-time)
10578 (todo-reevaluate-category-completions-files-defcustom)
10579 (todo-reevaluate-default-file-defcustom)
10580 (todo-reevaluate-filelist-defcustoms)
10581 (todo-reevaluate-filter-files-defcustom)
10582 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10583 (todo-reset-done-separator, todo-reset-done-separator-string)
10584 (todo-reset-done-string, todo-reset-global-current-todo-file)
10585 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10586 (todo-reset-prefix, todo-set-categories)
10587 (todo-set-date-from-calendar, todo-set-show-current-file)
10588 (todo-set-top-priorities, todo-short-file-name)
10589 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10590 (todo-total-item-counts, todo-update-buffer-list)
10591 (todo-update-categories-display, todo-update-categories-sexp)
10592 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10593 New functions.
10594 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10595 New major modes.
10596 (todo-categories, todo-display, todo-edit, todo-faces)
10597 (todo-filtered): New defgroups.
10598 (todo-archived-only, todo-button, todo-category-string, todo-date)
10599 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10600 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10601 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10602 (todo-add-item-if-new-category, todo-always-add-time-string)
10603 (todo-categories-align, todo-categories-archived-label)
10604 (todo-categories-category-label, todo-categories-diary-label)
10605 (todo-categories-done-label, todo-categories-number-separator)
10606 (todo-categories-todo-label, todo-categories-totals-label)
10607 (todo-category-completions-files, todo-completion-ignore-case)
10608 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10609 (todo-done-separator-string, todo-done-string)
10610 (todo-files-function, todo-filter-done-items, todo-filter-files)
10611 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10612 (todo-initial-category, todo-initial-file, todo-item-mark)
10613 (todo-legacy-date-time-regexp, todo-mode-line-function)
10614 (todo-nondiary-marker, todo-number-prefix)
10615 (todo-print-buffer-function, todo-show-current-file)
10616 (todo-show-done-only, todo-show-first, todo-show-with-done)
10617 (todo-skip-archived-categories, todo-top-priorities-overrides)
10618 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10619 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10620 New defcustoms.
10621 (todo-category-done, todo-date-pattern, todo-date-string-start)
10622 (todo-diary-items-buffer, todo-done-string-start)
10623 (todo-filtered-items-buffer, todo-item-start)
10624 (todo-month-abbrev-array, todo-month-name-array)
10625 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10626 (todo-top-priorities-buffer): New defconsts.
10627 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10628 (todo-categories-with-marks, todo-category-string-face)
10629 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10630 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10631 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10632 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10633 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10634 (todo-font-lock-keywords, todo-global-current-todo-file)
10635 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10636 (todo-insertion-commands-args)
10637 (todo-insertion-commands-args-genlist)
10638 (todo-insertion-commands-names, todo-insertion-map)
10639 (todo-key-bindings-t, todo-key-bindings-t+a)
10640 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10641 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10642 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10643 (todo-visited): New variables.
10644
10645 2013-06-21 Glenn Morris <rgm@gnu.org>
10646
10647 * play/cookie1.el (cookie-apropos): Add optional display argument.
10648 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10649 (psychoanalyze-pinhead): Use cookie-doctor.
10650
10651 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10652
10653 * emacs-lisp/package.el (tar-get-file-descriptor)
10654 (tar--extract): Declare.
10655
10656 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10657
10658 Extend flymake's warning predicate to be a function (bug#14217).
10659 * progmodes/flymake.el (flymake-warning-predicate): New.
10660 (flymake-parse-line): Use it.
10661 (flymake-warning-re): Make obsolete alias to
10662 `flymake-warning-predicate'.
10663
10664 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10667 (package-obsolete-list): Remove.
10668 (package-activate): Remove min-version argument. Add `force' argument.
10669 Adjust to new package-alist format.
10670 (package-mark-obsolete): Remove.
10671 (package-unpack): Force reload of the package's autoloads.
10672 (package-installed-p): Check builtins if the installed package is not
10673 recent enough.
10674 (package-initialize): Don't reset package-obsolete-list.
10675 Don't specify which package version to activate.
10676 (package-process-define-package, describe-package-1)
10677 (package-menu--generate): Adjust to new package-alist format.
10678
10679 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10680
10681 * allout-widgets.el (allout-widgets-mode-off)
10682 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10683 (allout-widgets-post-command-business)
10684 (allout-widgets-after-copy-or-kill-function)
10685 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10686 (allout-decorate-item-and-context)
10687 (allout-graphics-modification-handler): Fix typos in docstrings.
10688 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10689
10690 * cmuscheme.el (scheme-start-file): Doc fix.
10691 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10692 (scheme-input-filter): Use `string-match-p'.
10693
10694 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10695
10696 * dired-x.el: Use Dired consistently in docstrings.
10697
10698 * dired.el: Use Dired consistently in docstrings.
10699 (dired-readin, dired-mode): Use `setq-local'.
10700 (dired-switches-alist): Make defvar-local.
10701 (dired-buffers-for-dir): Use `zerop'.
10702 (dired-safe-switches-p, dired-switches-escape-p)
10703 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10704 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10705 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10706 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10707 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10708 (dired-toggle-marks, dired-mark-files-containing-regexp)
10709 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10710 (dired-flag-auto-save-files, dired-flag-backup-files):
10711 Use `looking-at-p'.
10712 (dired-mark-files-regexp, dired-build-subdir-alist):
10713 Use `string-match-p', `looking-at-p'.
10714
10715 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10716 (direct-print-region-helper): Use `string-match-p'.
10717
10718 2013-06-21 Leo Liu <sdl.web@gmail.com>
10719
10720 * comint.el (comint-redirect-results-list-from-process):
10721 Fix infinite loop.
10722
10723 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10724
10725 * net/eww.el (eww-update-header-line-format): Quote % characters.
10726
10727 2013-06-21 Glenn Morris <rgm@gnu.org>
10728
10729 * play/cookie1.el (cookie): New custom group.
10730 (cookie-file): New option.
10731 (cookie-check-file): New function.
10732 (cookie): Make it interactive. Make start and end messages optional.
10733 Interactively, display the result. Default to cookie-file.
10734 (cookie-insert): Default to cookie-file.
10735 (cookie-snarf): Make start and end messages optional.
10736 Default to cookie-file. Use with-temp-buffer.
10737 (cookie-read): Rename from read-cookie.
10738 Make start and end messages optional. Default to cookie-file.
10739 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10740 Do not autoload it.
10741 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10742 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10743
10744 2013-06-21 Leo Liu <sdl.web@gmail.com>
10745
10746 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10747
10748 2013-06-21 Glenn Morris <rgm@gnu.org>
10749
10750 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10751
10752 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10753 Daniel Hackney <dan@haxney.org>
10754
10755 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10756 Consolidate the single-file vs tarball code.
10757 (package-desc-suffix): New function.
10758 (package-desc-full-name): Don't bother inlining it.
10759 (package-load-descriptor): Return the new package-desc.
10760 (package-mark-obsolete): Remove unused arg `package'.
10761 (package-unpack): Make it work for single files as well.
10762 Make it update package-alist.
10763 (package--make-autoloads-and-stuff): Rename from
10764 package--make-autoloads-and-compile. Don't compile any more.
10765 (package--compile): New function.
10766 (package-generate-description-file): New function, extracted from
10767 package-unpack-single.
10768 (package-unpack-single): Remove.
10769 (package--with-work-buffer): Add indentation and debugging info.
10770 (package-download-single): Remove.
10771 (package-install-from-archive): Rename from package-download-tar, make
10772 it take a pkg-desc, and make it work for single files as well.
10773 (package-download-transaction): Simplify.
10774 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10775 external tar program.
10776 (package-install-from-buffer): Remove `pkg-desc' argument.
10777 Use package-tar-file-info for tar-mode buffers.
10778 (package-install-file): Simplify accordingly.
10779 (package-archive-base): Change to take a pkg-desc.
10780 * tar-mode.el (tar--check-descriptor): New function, extracted from
10781 tar-get-descriptor.
10782 (tar-get-descriptor): Use it.
10783 (tar-get-file-descriptor): New function.
10784 (tar--extract): New function, extracted from tar-extract.
10785 (tar--extract): Use it.
10786 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10787 case the summary uses non-ascii. Adjust to new calling convention of
10788 package-tar-file-info.
10789
10790 2013-06-21 Leo Liu <sdl.web@gmail.com>
10791
10792 * comint.el (comint-redirect-results-list-from-process):
10793 Fix random delay. (Bug#14681)
10794
10795 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * profiler.el (profiler-format-number): Use log, not log10.
10798
10799 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10800
10801 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10802
10803 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10806 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10807 yet available.
10808 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10809 (AUTOGENEL): ... here.
10810 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10811 (cl--defsubst-expand): Use it.
10812
10813 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10814
10815 * subr.el (log10): Move here from C code, and declare as obsolete.
10816 All uses of (log10 X) replaced with (log X 10).
10817
10818 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10819
10820 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10821 Declare with `defvar-local'.
10822 (tabulated-list-use-header-line, tabulated-list-entries)
10823 (tabulated-list-padding, tabulated-list-printer)
10824 (tabulated-list-sort-key): Declare with `defvar-local'.
10825 (tabulated-list-init-header, tabulated-list-print-fake-header):
10826 Use `setq-local'.
10827
10828 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10829
10830 * arc-mode.el (archive-mode): Add `archive-write-file' to
10831 `write-contents-functions' also for remote files. (Bug#14652)
10832
10833 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10834
10835 * cus-edit.el (custom-commands): Fix typos.
10836 (custom-display): Fix tooltip text.
10837 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10838 Fix typos in docstrings.
10839 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10840 (custom-unlispify-menu-entry, custom-magic-value-create)
10841 (custom-add-see-also, custom-group-value-create): Use ?\s.
10842 (custom-guess-type, customize-apropos, editable-field)
10843 (custom-face-value-create): Use `string-match-p'.
10844 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10845
10846 * custom.el (custom-load-symbol): Use `string-match-p'.
10847
10848 * ansi-color.el: Convert to lexical binding.
10849 (ansi-colors): Fix URL.
10850 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10851 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10852 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10853
10854 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10855
10856 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10857
10858 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10859
10860 2013-06-19 Tom Tromey <tromey@redhat.com>
10861
10862 * net/eww.el (eww-top-url): Remove.
10863 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10864 (eww-render): Set new variables. Don't set eww-top-url.
10865 (eww-handle-link): Handle "prev", "home", and "contents".
10866 Downcase the rel text.
10867 (eww-top-url): Choose best top URL.
10868
10869 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10870
10871 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10872 relying in widget.el. Using widget.el leads to too many
10873 user interface inconsistencies.
10874 (eww-self-insert): Implement entering commands in text fields.
10875 (eww-process-text-input): New function to make text input field editing
10876 work.
10877 (eww-submit): Rewrite to use the new-style form methods.
10878 (eww-select-display): Display the correct selected item.
10879 (eww-change-select): Implement changing the select value.
10880 (eww-toggle-checkbox): Implement radio/checkboxes.
10881 (eww-update-field): Fix compilation error.
10882 (eww-tag-textarea): Implement <textarea>.
10883
10884 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10885 we don't shadow mode-specific bindings.
10886
10887 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10888 nothing to push.
10889
10890 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10891
10892 2013-06-19 Glenn Morris <rgm@gnu.org>
10893
10894 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10895
10896 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10897
10898 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10899 not needed.
10900
10901 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10902
10903 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10904
10905 * net/browse-url.el (browse-url-browser-function):
10906 `eww-browse-url' has the right calling signature, `eww' does not.
10907
10908 2013-06-19 Glenn Morris <rgm@gnu.org>
10909
10910 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10911 Only eval autoloaded macros.
10912 (byte-compile-autoload): Only give the macro warning for macros.
10913
10914 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10915 (ps-underlined-faces): Declare.
10916
10917 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10918 (speedbar-add-supported-extension): Declare.
10919
10920 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10921 Don't include a date stamp in the header of the generated file;
10922 it leads to needless differences between output files.
10923
10924 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10925
10926 * net/secrets.el (secrets-struct-secret-content-type):
10927 Replace check of introspection data by a test call of "CreateItem".
10928 Some servers do not offer introspection.
10929
10930 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * electric.el (electric-pair-mode): Improve interaction with
10933 electric-layout-mode.
10934 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10935 (electric-pair-syntax): Use text-mode-syntax-table in comments
10936 and strings.
10937 (electric-pair--insert): New function.
10938 (electric-pair-post-self-insert-function): Use it and
10939 electric--after-char-pos.
10940
10941 2013-06-19 Leo Liu <sdl.web@gmail.com>
10942
10943 * progmodes/octave.el (octave-help): Fix regexp.
10944
10945 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10946
10947 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10948 (shr-table-horizontal-line): Allow nil as a value, and change the
10949 default.
10950 (shr-insert-table-ruler): Respect the nil value.
10951
10952 2013-06-18 Tom Tromey <tromey@barimba>
10953
10954 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10955 New defvars.
10956 (eww-open-file): New defun.
10957 (eww-render): Initialize new variables.
10958 (eww-display-html): Handle "link" and "a".
10959 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10960 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10961 (eww-back-url): Rename from eww-previous-url.
10962 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10963 New defuns.
10964
10965 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10966
10967 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10968 Distinguish ternary operator tokens from slash symbol and slash
10969 char literal.
10970
10971 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10972
10973 Convert symbol prettification into minor mode and global minor mode.
10974
10975 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10976 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10977 (prettify-symbols--keywords): Rename from
10978 `prog-prettify-symbols-alist' and make a local defvar.
10979 (prettify-symbols--compose-symbol): Rename from
10980 `prog--prettify-font-lock-compose-symbol'.
10981 (prettify-symbols--make-keywords): Rename from
10982 `prog-prettify-font-lock-symbols-keywords' and simplify.
10983 (prog-prettify-install): Remove.
10984 (prettify-symbols-mode): New minor mode, based on
10985 `prog-prettify-install'.
10986 (turn-on-prettify-symbols-mode): New function.
10987 (global-prettify-symbols-mode): New globalized minor mode.
10988
10989 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10990 * progmodes/cfengine.el (cfengine3-mode):
10991 * progmodes/perl-mode.el (perl-mode): Don't call
10992 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10993
10994 2013-06-18 Juri Linkov <juri@jurta.org>
10995
10996 * files-x.el (modify-file-local-variable-message): New function.
10997 (modify-file-local-variable)
10998 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10999 and call `modify-file-local-variable-message' when it's non-nil.
11000 (add-file-local-variable, delete-file-local-variable)
11001 (add-file-local-variable-prop-line)
11002 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11003 and use it. (Bug#9820)
11004
11005 2013-06-18 Juri Linkov <juri@jurta.org>
11006
11007 * emulation/vi.el (vi-shell-op):
11008 * emulation/vip.el (vip-execute-com, ex-command):
11009 * emulation/viper-cmd.el (viper-exec-bang):
11010 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11011 the call of `shell-command-on-region'. (Bug#14637)
11012
11013 * simple.el (shell-command-on-region): Doc fix.
11014
11015 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11016
11017 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11018 (bug#14633).
11019
11020 2013-06-18 Glenn Morris <rgm@gnu.org>
11021
11022 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11023
11024 * newcomment.el (comment-search-forward, comment-search-backward):
11025 Doc fix. (Bug#14376)
11026
11027 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11028
11029 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11030 (buffer-face-mode-invoke): Doc fix.
11031
11032 2013-06-18 Matthias Meulien <orontee@gmail.com>
11033
11034 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11035 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11036
11037 2013-06-18 Glenn Morris <rgm@gnu.org>
11038
11039 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11040 Replace obsolete function generic-make-keywords with its expansion.
11041
11042 * progmodes/python.el (ffap-alist): Declare.
11043
11044 * textmodes/reftex.el (bibtex-mode-map): Declare.
11045
11046 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11047
11048 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11049 (package-unpack, package-unpack-single): Return the pkg-dir.
11050 (package-download-transaction): Use it to update package-alist.
11051
11052 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11053
11054 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11055 possible choice.
11056
11057 2013-06-17 Juri Linkov <juri@jurta.org>
11058
11059 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11060
11061 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11062
11063 * emacs-lisp/package.el (package-load-descriptor):
11064 Remove `with-syntax-table' call, `read' doesn't need it.
11065 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11066
11067 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11068
11069 * startup.el (command-line): Expand package name returned by
11070 `package--description-file' (bug#14639).
11071
11072 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11073
11074 * emacs-lisp/package.el (package-load-descriptor): Do not call
11075 `emacs-lisp-mode', just use its syntax table.
11076
11077 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11078
11079 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11080 `font-lock-extra-managed-props' if any prettifying keyword is added.
11081 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11082 (prog-mode): Use `setq-local'.
11083
11084 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * international/characters.el (standard-case-table): Set syntax of ?»
11087 and ?« to punctuation.
11088
11089 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11090
11091 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11092 Save relevant match data before calling `syntax-ppss' (bug#14595).
11093
11094 2013-06-15 Juri Linkov <juri@jurta.org>
11095
11096 * files-x.el (modify-file-local-variable-prop-line): Add local
11097 variables to the end of the existing comment on the first line.
11098 Use `file-auto-mode-skip' to skip interpreter magic line,
11099 and also skip XML declaration.
11100
11101 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11102
11103 * startup.el (package--builtin-versions): New var.
11104 (package-subdirectory-regexp): Remove.
11105 (package--description-file): Hard code its value instead.
11106
11107 * emacs-lisp/package.el: Don't activate packages older than builtin.
11108 (package-obsolete-list): Rename from package-obsolete-alist, and make
11109 it into a simple list of package-desc.
11110 (package-strip-version): Remove.
11111 (package-built-in-p): Use package--builtin-versions.
11112 (package-mark-obsolete): Simplify.
11113 (package-process-define-package): Mark it obsolete if older than the
11114 builtin version.
11115 (package-handle-response): Use line-end-position.
11116 (package-read-archive-contents, package--download-one-archive):
11117 Simplify.
11118 (package--add-to-archive-contents): Skip if older than the builtin or
11119 installed version.
11120 (package-menu-describe-package): Fix last change.
11121 (package-list-unversioned): New var.
11122 (package-menu--generate): Use it.
11123
11124 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11125 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11126 (autoload-builtin-package-versions): New variable.
11127 (autoload-generate-file-autoloads): Use them.
11128 Remove the list of autoloaded functions/macros from the
11129 (autoload...) comments.
11130
11131 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11132
11133 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11134
11135 * simple.el (line-move-partial): Don't jump to the next screen
11136 line as soon as it becomes visible. Instead, continue enlarging
11137 the vscroll until the portion of a tall screen line that's left on
11138 display is about the height of the frame's default font.
11139 (Bug#14567)
11140
11141 2013-06-15 Glenn Morris <rgm@gnu.org>
11142
11143 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11144 compilation-error-regexp-alist void, or local while let-bound.
11145
11146 * progmodes/make-mode.el (makefile-mode-syntax-table):
11147 Treat "=" as punctuation. (Bug#14614)
11148
11149 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11150
11151 * help-fns.el (describe-variable):
11152 Add extra line for permanent-local variables.
11153
11154 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11155
11156 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11157 Add export, import, library. (Bug#9164)
11158 (library): Set indent function.
11159
11160 2013-06-14 Glenn Morris <rgm@gnu.org>
11161
11162 * term/xterm.el (xterm--query):
11163 Stop after first matching handler. (Bug#14615)
11164
11165 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11166
11167 Add support for dired in saveplace.
11168 * dired.el (dired-initial-position-hook): New variable.
11169 (dired-initial-position): Call hook to place cursor position.
11170 * saveplace.el (save-place-to-alist): Add dired position.
11171 (save-place-dired-hook): New function.
11172
11173 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11174
11175 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11176 through a symbol rather than letrec.
11177
11178 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11179 (package-desc): Add `dir' field.
11180 (package-desc-full-name): New function.
11181 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11182 (package-maybe-load-descriptor): Remove.
11183 (package-load-all-descriptors): Just call package-load-descriptor.
11184 (package--disabled-p): New function.
11185 (package-desc-vers, package-desc-doc): Remove aliases.
11186 (package--dir): Remove function.
11187 (package-activate): Check if a package is disabled.
11188 (package-process-define-package): New function, extracted from
11189 define-package.
11190 (define-package): Turn into a place holder.
11191 (package-unpack-single, package-tar-file-info):
11192 Use package--description-file.
11193 (package-compute-transaction): Use package--disabled-p.
11194 (package-download-transaction): Don't call
11195 package-maybe-load-descriptor since they're all loaded anyway.
11196 (package-install): Change argument to be a pkg-desc.
11197 (package-delete): Use a single pkg-desc argument.
11198 (describe-package-1): Use package-desc-dir instead of package--dir.
11199 Use package-desc property instead of package-symbol.
11200 (package-install-button-action): Adjust accordingly.
11201 (package--push): Rewrite.
11202 (package-menu--print-info): Adjust accordingly. Change the ID format
11203 to be a pkg-desc.
11204 (package-menu-describe-package, package-menu-get-status)
11205 (package-menu--find-upgrades, package-menu-mark-upgrades)
11206 (package-menu-execute, package-menu--name-predicate):
11207 Adjust accordingly.
11208 * startup.el (package--description-file): New function.
11209 (command-line): Use it.
11210 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11211 Use package-desc-version.
11212
11213 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11214 (byte-compile-preprocess): Use it.
11215 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11216 can't quite recognize.
11217 (byte-compile-add-to-list): Remove.
11218 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11219 (cconv-closure-convert): Add assertion.
11220
11221 * emacs-lisp/map-ynp.el: Use lexical-binding.
11222 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11223 Factor out some repeated code.
11224
11225 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11226
11227 * subr.el (with-eval-after-load): New macro.
11228 (eval-after-load): Allow form to be a function.
11229 take advantage of lexical-binding.
11230 (do-after-load-evaluation): Use dolist and adjust to new format.
11231 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11232
11233 2013-06-13 Juri Linkov <juri@jurta.org>
11234
11235 * replace.el (perform-replace): Display "symbol " and other search
11236 modes from `isearch-message-prefix' in the *Help* buffer.
11237
11238 * isearch.el (isearch-query-replace): Add " symbol" and other
11239 possible search modes from `isearch-message-prefix' to the prompt.
11240 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11241 when reading a regexp to collect.
11242
11243 2013-06-13 Juri Linkov <juri@jurta.org>
11244
11245 * isearch.el (word-search-regexp): Match whitespace if the search
11246 string begins or ends in whitespace. The LAX arg is applied to
11247 both ends of the search string. Use `regexp-quote' and explicit
11248 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11249 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11250 boundaries are replaced with symbol boundaries, and characters
11251 between symbols match non-word non-symbol syntax. (Bug#14602)
11252
11253 2013-06-13 Juri Linkov <juri@jurta.org>
11254
11255 * isearch.el (isearch-del-char): Don't exceed the length of
11256 `isearch-string' by the prefix arg. (Bug#14563)
11257
11258 2013-06-13 Juri Linkov <juri@jurta.org>
11259
11260 * isearch.el (isearch-yank-word, isearch-yank-line)
11261 (isearch-char-by-name, isearch-quote-char)
11262 (isearch-printing-char, isearch-process-search-char):
11263 Add optional count prefix arg. (Bug#14563)
11264
11265 * international/isearch-x.el
11266 (isearch-process-search-multibyte-characters):
11267 Add optional count prefix arg.
11268
11269 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11270
11271 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11272 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11273 lexical-binding.
11274
11275 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11276
11277 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11278
11279 2013-06-13 Glenn Morris <rgm@gnu.org>
11280
11281 * startup.el (tty-handle-args):
11282 Don't just discard "--" and anything after. (Bug#14608)
11283
11284 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11285
11286 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11287
11288 Implement changes in Secret Service API. Make it backward compatible.
11289 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11290 (secrets-create-item): Use it. Prefix properties with interface.
11291
11292 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11293
11294 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11295 (term-emulate-terminal): Respect term-suppress-hard-newline.
11296
11297 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11298
11299 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11300 Only remove a `thumb-file' overlay. (Bug#14548)
11301
11302 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11303
11304 * mail/reporter.el (reporter-submit-bug-report):
11305 Handle missing package-name. (Bug#14600)
11306
11307 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11308
11309 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11310 (reftex-citation-prompt, reftex-default-bibliography)
11311 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11312 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11313 (reftex-bib-sort-author, reftex-bib-sort-year)
11314 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11315 (reftex-extract-bib-entries-from-thebibliography)
11316 (reftex-get-bibkey-default, reftex-get-bib-names)
11317 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11318 (reftex-format-bib-entry, reftex-parse-bibitem)
11319 (reftex-format-bibitem, reftex-do-citation)
11320 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11321 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11322 (reftex-insert-bib-matches, reftex-format-citation)
11323 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11324 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11325 existing comments into docstrings.
11326
11327 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11328
11329 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11330
11331 2013-06-12 Andreas Schwab <schwab@suse.de>
11332
11333 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11334 for auto-save files.
11335
11336 2013-06-12 Glenn Morris <rgm@gnu.org>
11337
11338 * ido.el (ido-delete-ignored-files): Remove.
11339 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11340 Go back to calling ido-ignore-item-p directly.
11341
11342 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11343
11344 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11345
11346 * ido.el (ido-delete-ignored-files): New function,
11347 split from ido-make-file-list-1.
11348 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11349 (ido-make-file-list-1): Use ido-delete-ignored-files.
11350
11351 2013-06-12 Leo Liu <sdl.web@gmail.com>
11352
11353 * progmodes/octave.el (inferior-octave-startup)
11354 (inferior-octave-completion-table)
11355 (inferior-octave-track-window-width-change)
11356 (octave-eldoc-function-signatures, octave-help)
11357 (octave-find-definition): Use single quoted strings.
11358 (inferior-octave-startup-args): Change default value.
11359 (inferior-octave-startup): Do not hard code "-i" and
11360 "--no-line-editing".
11361 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11362 (inferior-octave-directory-tracker): Use it.
11363 (octave-goto-function-definition): Robustify.
11364 (octave-help): Support highlighting operators in 'See also'.
11365 (octave-find-definition): Find subfunctions only in Octave mode.
11366
11367 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * help-fns.el (help-fns--compiler-macro): If the handler function is
11370 named, then put a link to it.
11371 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11372 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11373 (cl-typep): Use it.
11374 (cl-eval-when): Simplify debug spec.
11375 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11376 compiler-macro function instead of setting `compiler-macro-file'.
11377
11378 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11379
11380 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11381 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11382
11383 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11384 Daniel Hackney <dan@haxney.org>
11385
11386 First part of Daniel Hackney's patch to package.el.
11387 * emacs-lisp/package.el: Use defstruct.
11388 (package-desc): New, main struct.
11389 (package--bi-desc, package--ac-desc): New structs, used to describe the
11390 format in external files.
11391 (package-desc-vers): Replace with package-desc-version accessor.
11392 (package-desc-doc): Replace with package-desc-summary accessor.
11393 (package-activate-1): Remove `package' arg since the pkg-vec now
11394 includes the name.
11395 (define-package): Use package-desc-from-define.
11396 (package-unpack-single): Change file-name arg to be a symbol.
11397 (package--add-to-archive-contents): Use package-desc-create and new
11398 accessor functions to package--ac-desc.
11399 (package-buffer-info, package-tar-file-info): Return a package-desc.
11400 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11401 arg to be a package-desc.
11402 (package-install-file): Adjust accordingly. Use \' to match EOS.
11403 (package--from-builtin): New function.
11404 (describe-package-1, package-menu--generate): Use it.
11405 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11406 (package-generate-autoloads): Idem and return the name of the file.
11407 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11408 Change pkg-info arg to be a package-desc.
11409 Use package-make-ac-desc.
11410 (package-upload-file): Use \' to match EOS.
11411 * finder.el (finder-compile-keywords): Use package-make-builtin.
11412
11413 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11414
11415 * vc/vc.el (vc-deduce-fileset): Change error message.
11416 (vc-read-backend): New function.
11417 (vc-next-action): Use it.
11418
11419 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11420
11421 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11422 (prolog-font-lock-keywords): Use regexp-opt instead.
11423 Don't manually highlight strings.
11424 (prolog-mode-variables): Simplify comment-start-skip.
11425 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11426
11427 * emacs-lisp/generic.el (generic--normalise-comments)
11428 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11429 (generic-mode-set-comments): Use them.
11430 (generic-bracket-support): Use setq-local.
11431 (generic-make-keywords-list): Declare obsolete.
11432
11433 2013-06-11 Glenn Morris <rgm@gnu.org>
11434
11435 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11436 Prettify after setting font-lock-defaults. (Bug#14574)
11437
11438 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11439
11440 * replace.el (query-replace, occur-read-regexp-defaults-function)
11441 (replace-search):
11442 * subr.el (declare-function, number-sequence, local-set-key)
11443 (substitute-key-definition, locate-user-emacs-file)
11444 (with-silent-modifications, split-string, eval-after-load):
11445 Fix typos, remove unneeded backslashes and reflow some docstrings.
11446
11447 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11448
11449 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11450 default for Elisp files.
11451
11452 2013-06-11 Glenn Morris <rgm@gnu.org>
11453
11454 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11455 although define-derived-mode was doing this anyway. (Bug#14583)
11456
11457 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11458
11459 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11460 Fix make-variable-buffer-local call to refer to the correct variable.
11461
11462 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11463
11464 * eshell/em-term.el (eshell-visual-commands)
11465 (eshell-visual-subcommands, eshell-visual-options):
11466 Add summary line to docstrings. Add cross-references.
11467
11468 2013-06-10 Glenn Morris <rgm@gnu.org>
11469
11470 * epa.el (epa-read-file-name): New function. (Bug#14510)
11471 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11472
11473 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11474
11475 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11476 output redirection to be ignored with visual commands.
11477
11478 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11479
11480 * eshell/em-term.el (eshell-visual-command-p): New function.
11481 (eshell-term-initialize): Move long lambda to separate function
11482 eshell-visual-command-p.
11483 * eshell/em-dirs.el (eshell-dirs-initialize):
11484 * eshell/em-script.el (eshell-script-initialize):
11485 Add missing #' to lambda.
11486
11487 2013-06-08 Leo Liu <sdl.web@gmail.com>
11488
11489 * progmodes/octave.el (octave-add-log-current-defun): New function.
11490 (octave-mode): Set add-log-current-defun-function.
11491 (octave-goto-function-definition): Do not move point if not found.
11492 (octave-find-definition): Enhance to try subfunctions first.
11493
11494 2013-06-08 Glenn Morris <rgm@gnu.org>
11495
11496 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11497 (byte-compile-backward-char, byte-compile-backward-word):
11498 Improve previous change, to handle non-explicit nil.
11499
11500 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11503 (smie--opener/closer-at-point): New function.
11504 (smie--matching-block-data): Use it. Don't match from right after an
11505 opener or right before a closer. Obey smie-blink-matching-inners.
11506 Don't signal a mismatch for repeated inners like "switch..case..case".
11507
11508 2013-06-07 Leo Liu <sdl.web@gmail.com>
11509
11510 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11511 to t. (Bug#14303)
11512 (octave-function-header-regexp): Fix. (Bug#14570)
11513 (octave-help-mode-finish-hook, octave-help-mode-finish):
11514 Remove. Just use temp-buffer-show-hook.
11515
11516 * newcomment.el (comment-search-backward): Revert last change.
11517 (Bug#14434)
11518
11519 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11520
11521 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11522
11523 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11524 through xargs, to avoid failure due to MS-Windows limitations on
11525 command-line length.
11526
11527 2013-06-06 Glenn Morris <rgm@gnu.org>
11528
11529 * font-lock.el (lisp-font-lock-keywords-2):
11530 Treat user-error like error.
11531
11532 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11533 (byte-compile-backward-char, byte-compile-backward-word):
11534 Handle explicit nil arguments. (Bug#14565)
11535
11536 2013-06-05 Alan Mackenzie <acm@muc.de>
11537
11538 * isearch.el (isearch-allow-prefix): New user option.
11539 (isearch-other-meta-char): Don't exit isearch when a prefix
11540 argument is typed whilst `isearch-allow-prefix' is non-nil.
11541 (Bug#9706)
11542
11543 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * autorevert.el (auto-revert-notify-handler): Use memq.
11546 Hide assertion failure.
11547
11548 * skeleton.el: Use cl-lib.
11549 (skeleton-further-elements): Use defvar-local.
11550 (skeleton-insert): Use cl-progv.
11551
11552 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11553
11554 * progmodes/prog-mode.el (prog-prettify-symbols)
11555 (prog-prettify-install): Update docstrings.
11556
11557 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * simple.el: Move all the prog-mode code to prog-mode.el.
11560 * progmodes/prog-mode.el: New file.
11561 * loadup.el: Add prog-mode.el.
11562
11563 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11564
11565 * simple.el (prog-prettify-symbols): Add version.
11566 (prog-prettify-install): Add convenience function to prettify symbols.
11567
11568 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11569 (perl--augmented-font-lock-keywords-1)
11570 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11571 variables and use it.
11572
11573 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11574 (cfengine3-mode): Remove unneeded variable and use it.
11575
11576 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11577 (lisp--augmented-font-lock-keywords-1)
11578 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11579 Remove unneeded variables and use it.
11580
11581 2013-06-05 João Távora <joaotavora@gmail.com>
11582
11583 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11584 to point when opening the connection. (Bug#14380)
11585
11586 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11587
11588 * subr.el (load-history-regexp, load-history-filename-element)
11589 (eval-after-load, after-load-functions, do-after-load-evaluation)
11590 (eval-next-after-load, display-delayed-warnings)
11591 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11592 definition of save-match-data.
11593 (overriding-local-map): Remove accidental obsolescence declaration.
11594
11595 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11596
11597 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11598
11599 Generalize symbol prettify support to prog-mode and implement it
11600 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11601 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11602 (prog--prettify-font-lock-compose-symbol)
11603 (prog-prettify-font-lock-symbols-keywords): New variables and
11604 functions to support symbol prettification.
11605 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11606 (lisp--augmented-font-lock-keywords-1)
11607 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11608 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11609 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11610 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11611 Implement prettify of -> => :: strings.
11612 * progmodes/perl-mode.el (perl-prettify-symbols)
11613 (perl--font-lock-compose-symbol)
11614 (perl--font-lock-symbols-keywords): Move to prog-mode.
11615 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11616 (perl-font-lock-keywords-1)
11617 (perl-font-lock-keywords-2): Remove explicit prettify support.
11618 (perl--augmented-font-lock-keywords)
11619 (perl--augmented-font-lock-keywords-1)
11620 (perl--augmented-font-lock-keywords-2, perl-mode):
11621 Implement prettify support.
11622
11623 2013-06-05 Leo Liu <sdl.web@gmail.com>
11624
11625 Re-implement SMIE matching block highlight using
11626 show-paren-data-function. (Bug#14395)
11627 * emacs-lisp/smie.el (smie-matching-block-highlight)
11628 (smie--highlight-matching-block-overlay)
11629 (smie--highlight-matching-block-lastpos)
11630 (smie-highlight-matching-block)
11631 (smie-highlight-matching-block-mode): Remove.
11632 (smie--matching-block-data-cache): New variable.
11633 (smie--matching-block-data): New function.
11634 (smie-setup): Use smie--matching-block-data for
11635 show-paren-data-function.
11636
11637 * progmodes/octave.el (octave-mode-menu): Fix.
11638 (octave-find-definition): Skip garbage lines.
11639
11640 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11641
11642 Fix compilation error with simultaneous dynamic+lexical scoping.
11643 Add warning when a defvar appears after the first let-binding.
11644 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11645 (byte-compile-close-variables): Initialize it.
11646 (byte-compile--declare-var): New function.
11647 (byte-compile-file-form-defvar)
11648 (byte-compile-file-form-define-abbrev-table)
11649 (byte-compile-file-form-custom-declare-variable): Use it.
11650 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11651 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11652 (byte-compile-bind): Handle dynamic bindings that shadow
11653 lexical bindings.
11654 (byte-compile-unbind): Make arg non-optional.
11655 (byte-compile-let): Simplify.
11656 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11657 (cconv--analyse-function, cconv-analyse-form): Populate it.
11658 Protect byte-compile-bound-variables to limit the scope of defvars.
11659 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11660 Remove unneeded rule for `declare'.
11661
11662 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11663 so as to avoid depending on cl-adjoin at run-time.
11664 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11665
11666 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11667 (macroexp--warn-and-return): Use it.
11668
11669 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11670
11671 * subr.el: Convert to lexical binding.
11672 (overriding-local-map): Make obsolete.
11673 (add-to-list): Doc fix. Add compiler macro.
11674 (read-key): Swap values of local maps.
11675
11676 2013-06-05 Leo Liu <sdl.web@gmail.com>
11677
11678 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11679
11680 2013-06-04 Leo Liu <sdl.web@gmail.com>
11681
11682 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11683 (compilation-auto-jump): Suppress the "Mark set" message to give
11684 way to exit message.
11685
11686 2013-06-04 Alan Mackenzie <acm@muc.de>
11687
11688 Remove faulty optimisation from indentation calculation.
11689 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11690 search limit based on 2000 characters back from indent-point.
11691
11692 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11693
11694 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11695
11696 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * emacs-lisp/lisp.el: Use lexical-binding.
11699 (lisp--local-variables-1, lisp--local-variables): New functions.
11700 (lisp--local-variables-completion-table): New var.
11701 (lisp-completion-at-point): Use it complete let-bound vars.
11702
11703 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11704 eagerly (bug#14422).
11705
11706 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11707
11708 * autorevert.el (auto-revert-notify-enabled)
11709 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11710 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11711 (auto-revert-notify-handler): Handle also gfilenotify.
11712
11713 * subr.el (file-notify-handle-event): New defun. Replacing ...
11714 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11715 Remove.
11716
11717 2013-06-03 Juri Linkov <juri@jurta.org>
11718
11719 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11720 `M-s h .'. (Bug#14427)
11721
11722 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11723 command `hi-lock-face-symbol-at-point'.
11724 (hi-lock-face-symbol-at-point): New command.
11725 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11726 (hi-lock-menu): Add `highlight-symbol-at-point'.
11727 (hi-lock-mode): Doc fix.
11728
11729 * isearch.el (isearch-forward-symbol-at-point): New command.
11730 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11731 (isearch-highlight-regexp): Add a regexp which matches
11732 words/symbols for word/symbol mode.
11733
11734 * subr.el (find-tag-default-bounds): New function with the body
11735 mostly moved from `find-tag-default'.
11736 (find-tag-default): Move most code to `find-tag-default-bounds',
11737 call it and apply `buffer-substring-no-properties' afterwards.
11738
11739 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11740
11741 * eshell/em-term.el (eshell-term-initialize):
11742 Use `cl-intersection' rather than `intersection'.
11743
11744 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11745
11746 * vc/log-view.el: Doc fix.
11747 (log-view-mode-map): Copy keymap from `special-mode-map'.
11748
11749 2013-06-02 Eric Ludlam <zappo@gnu.org>
11750
11751 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11752 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11753 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11754 (eieio-unbound, eieio-default-superclass)
11755 (eieio--define-field-accessors, method-static, method-before)
11756 (method-primary, method-after, method-num-lists)
11757 (method-generic-before, method-generic-primary)
11758 (method-generic-after, method-num-slots)
11759 (eieio-specialized-key-to-generic-key)
11760 (eieio--check-type, class-v, class-p)
11761 (eieio-class-name, define-obsolete-function-alias)
11762 (eieio-class-parents-fast, eieio-class-children-fast)
11763 (same-class-fast-p, class-constructor, generic-p)
11764 (generic-primary-only-p, generic-primary-only-one-p)
11765 (class-option-assoc, class-option, eieio-object-p)
11766 (class-abstract-p, class-method-invocation-order)
11767 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11768 (eieio-class-un-autoload, eieio-defclass)
11769 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11770 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11771 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11772 (eieio-defgeneric-reset-generic-form)
11773 (eieio-defgeneric-form-primary-only)
11774 (eieio-defgeneric-reset-generic-form-primary-only)
11775 (eieio-defgeneric-form-primary-only-one)
11776 (eieio-defgeneric-reset-generic-form-primary-only-one)
11777 (eieio-unbind-method-implementations)
11778 (eieio--defmethod, eieio--typep)
11779 (eieio-perform-slot-validation, eieio-validate-slot-value)
11780 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11781 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11782 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11783 (eieio-slot-name-index, eieio-class-slot-name-index)
11784 (eieio-set-defaults, eieio-initarg-to-attribute)
11785 (eieio-attribute-to-initarg, eieio-c3-candidate)
11786 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11787 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11788 (eieio-class-precedence-list, eieio-generic-call-methodname)
11789 (eieio-generic-call-arglst, eieio-generic-call-key)
11790 (eieio-generic-call-next-method-list)
11791 (eieio-pre-method-execution-functions, eieio-generic-call)
11792 (eieio-generic-call-primary-only, eieiomt-method-list)
11793 (eieiomt-optimizing-obarray, eieiomt-install)
11794 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11795 (eieio-generic-form, eieio-defmethod, make-obsolete)
11796 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11797 (defclass): Remove `eval-and-compile' from macro.
11798 (call-next-method, shared-initialize): Instead of using
11799 `scoped-class' variable, use new eieio--scoped-class, and
11800 eieio--with-scoped-class.
11801 (initialize-instance): Rename local variable 'scoped-class' to
11802 'this-class' to remove ambiguitity from old global.
11803
11804 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11805 eieio.el.
11806 (eieio--scoped-class-stack): New variable.
11807 (eieio--scoped-class): New fcn.
11808 (eieio--with-scoped-class): New scoping macro.
11809 (eieio-defclass): Use pushnew instead of add-to-list.
11810 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11811 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11812 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11813 `scoped-class' variable, use new eieio--scoped-class, and
11814 eieio--with-scoped-class.
11815
11816 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11817
11818 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11819
11820 * eshell/esh-ext.el (eshell-external-command): Pass args to
11821 `eshell-find-interpreter'.
11822 (eshell-find-interpreter): Add new second parameter ARGS.
11823
11824 * eshell/em-script.el (eshell-script-initialize): Add second arg
11825 to the function added as MATCH to `eshell-interpreter-alist'.
11826
11827 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11828 the function added as MATCH to `eshell-interpreter-alist'.
11829
11830 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11831 (eshell-visual-options): New defcustom.
11832 (eshell-escape-control-x): Adapt docstring.
11833 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11834 `eshell-visual-options' in addition to `eshell-visual-commands'.
11835 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11836
11837 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11838
11839 * progmodes/python.el (python-indent-block-enders): Add break,
11840 continue and raise keywords.
11841
11842 2013-06-01 Glenn Morris <rgm@gnu.org>
11843
11844 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11845
11846 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11847 * progmodes/cc-cmds.el (delete-forward-p):
11848 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11849 * progmodes/cc-engine.el (buffer-syntactic-context):
11850 * progmodes/cc-fonts.el (face-property-instance):
11851 * progmodes/cc-mode.el (set-keymap-parents):
11852 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11853 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11854 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11855 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11856 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11857
11858 * progmodes/cc-vars.el (other): Emacs has this widget since
11859 at least 21.1, so don't (re)define it.
11860
11861 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11862 Replace the obsolete alias pcomplete-arg-quote-list.
11863
11864 2013-06-01 Leo Liu <sdl.web@gmail.com>
11865
11866 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11867 punctuation syntax.
11868 (inferior-octave-minimal-columns)
11869 (inferior-octave-last-column-width): New variables.
11870 (inferior-octave-track-window-width-change): New function.
11871 (inferior-octave-mode): Adjust column width so that Octave output,
11872 for example from 'ls', can fit into the window nicely.
11873
11874 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11875
11876 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11877 Highlight expansions inside regexp literals.
11878
11879 2013-05-31 Glenn Morris <rgm@gnu.org>
11880
11881 * obsolete/sym-comp.el (symbol-complete):
11882 Replace obsolete completion-annotate-function.
11883
11884 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11885
11886 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11887
11888 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11889 New function, checks if point is inside a literal that allows
11890 expression expansion.
11891 (ruby-syntax-propertize-expansion): Use it.
11892 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11893 around the body.
11894
11895 2013-05-30 Juri Linkov <juri@jurta.org>
11896
11897 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11898 to "\M-si".
11899 (isearch-invisible): New variable.
11900 (isearch-forward): Doc fix.
11901 (isearch-mode): Set `isearch-invisible'
11902 to the value of `search-invisible'.
11903 (isearch-toggle-case-fold): Doc fix.
11904 (isearch-toggle-invisible): New command.
11905 (isearch-query-replace): Let-bind `search-invisible'
11906 to the value of `isearch-invisible'.
11907 (isearch-search): Use `isearch-invisible' instead of
11908 `search-invisible'. Let-bind `search-invisible'
11909 to the value of `isearch-invisible'. (Bug#11378)
11910
11911 2013-05-30 Juri Linkov <juri@jurta.org>
11912
11913 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11914 call when `query-flag' is nil and `search-invisible' is non-nil.
11915 (Bug#11746)
11916
11917 2013-05-30 Glenn Morris <rgm@gnu.org>
11918
11919 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11920
11921 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11922 (cc-require): Suppress spurious "noruntime" warnings.
11923 (cc-require-when-compile): Use fboundp, for sake of compiler.
11924
11925 * progmodes/cc-mode.el: Move load of cc-vars before that of
11926 cc-langs (which in turn loads cc-vars), to quieten compiler.
11927
11928 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11929
11930 * paren.el: Simplify the code.
11931 (show-paren-mode): Always start the timer.
11932 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11933 (show-paren--overlay, show-paren--overlay-1): Rename from
11934 show-paren-overlay and show-paren-overlay-1, and initialize to an
11935 overlay rather than to nil.
11936 (show-paren-function): Misc cleanup and simplifications.
11937
11938 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * paren.el (show-paren-data-function): New hook.
11941 (show-paren--default): New function, extracted from show-paren-function.
11942 (show-paren-function): Use show-paren-data-function.
11943
11944 2013-05-30 Glenn Morris <rgm@gnu.org>
11945
11946 * ielm.el (ielm-map, ielm-complete-symbol):
11947 Use completion-at-point rather than obsolete functions.
11948 (inferior-emacs-lisp-mode): Doc fix.
11949 Set completion-at-point-functions, rather than
11950 comint-dynamic-complete-functions.
11951
11952 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11953 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11954 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11955
11956 * image.el (image-animated-p): Tweak definition.
11957
11958 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11959 (rlogin-process-connection-type): Tweak default. Add set-after.
11960 (rlogin-host): Doc fix.
11961 (rlogin): Tweak prompt.
11962 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11963
11964 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11965 * progmodes/tcl.el (inferior-tcl-mode-map):
11966 Use completion-at-point rather than obsolete alias.
11967
11968 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11969
11970 * minibuffer.el (read-file-name-completion-ignore-case):
11971 Move before completion--in-region, for eager macro expansion.
11972
11973 2013-05-29 Juri Linkov <juri@jurta.org>
11974
11975 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11976 for total count of matching lines. Add `global-matches' for total
11977 count of matches. Rename `matches' to `lines' for count of
11978 matching lines. Add `matches' for count of matches.
11979 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11980 to `prev-line' for line number of prev match endpt.
11981 Increment `matches' for every match. Print the number of
11982 matching lines in the header.
11983 (occur-context-lines): Rename `lines' to `curr-line'.
11984 Rename `prev-lines' to `prev-line'. (Bug#14017)
11985
11986 2013-05-29 Juri Linkov <juri@jurta.org>
11987
11988 * replace.el (perform-replace): Add `skip-read-only-count',
11989 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11990 Increment them for corresponding conditions and report the number
11991 of skipped occurrences in the final message. (Bug#11746)
11992 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11993 (replace-string, replace-regexp): Doc fix.
11994
11995 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11998
11999 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12000 prog-mode-map (bug#14504).
12001
12002 2013-05-29 Leo Liu <sdl.web@gmail.com>
12003
12004 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12005 (octave-help): Small simplification.
12006
12007 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12008 off the highlight first.
12009
12010 2013-05-29 Glenn Morris <rgm@gnu.org>
12011
12012 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12013 Handle idlwave-last-system-routine-info-cons-cell being nil.
12014
12015 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12016 (idlwave-write-paths): Simplify via with-temp-buffer.
12017
12018 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12019 * emulation/cua-rect.el: Also load cua-base at run time.
12020
12021 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12022 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12023 (cperl-imenu-on-info): Require imenu.
12024
12025 2013-05-28 Alan Mackenzie <acm@muc.de>
12026
12027 Handle "capitalised keywords" correctly.
12028 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12029
12030 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12031
12032 * eshell/em-unix.el: Add -r option to cp.
12033
12034 2013-05-28 Glenn Morris <rgm@gnu.org>
12035
12036 * vc/vc-arch.el (vc-exec-after): Declare.
12037 (vc-switches): Autoload.
12038 * vc/vc-bzr.el: No need to require vc when compiling.
12039 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12040 (vc-resynch-buffer, vc-dir-refresh): Declare.
12041 (vc-setup-buffer, vc-switches): Autoload.
12042 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12043 (vc-resynch-buffer): Declare.
12044 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12045 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12046 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12047 (grep-read-regexp, grep-read-files, grep-expand-template)
12048 (vc-dir-refresh): Declare.
12049 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12050 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12051 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12052 * vc/vc-mtn.el (vc-exec-after): Declare.
12053 (vc-switches): Autoload.
12054 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12055 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12056 (vc-file-tree-walk): Declare.
12057 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12058 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12059 (vc-tag-precondition, vc-rename-master): Autoload.
12060 * vc/vc-svn.el (vc-exec-after): Declare.
12061 (vc-switches, vc-setup-buffer): Autoload.
12062 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12063 Autoload.
12064 (vc-resynch-buffer): Declare.
12065
12066 * obsolete/fast-lock.el (byte-compile-warnings):
12067 Don't warn about obsolete features in this obsolete file.
12068
12069 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12070 Move definition before use.
12071
12072 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12073 (dun-unix-verbs): Remove dun-zippy.
12074 (dun-zippy): Remove function.
12075
12076 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12077
12078 2013-05-27 Juri Linkov <juri@jurta.org>
12079
12080 * replace.el (replace-search): New function with code moved out
12081 from `perform-replace'.
12082 (replace-highlight, replace-dehighlight): Move function definitions
12083 up closer to `replace-search'. (Bug#11746)
12084
12085 2013-05-27 Juri Linkov <juri@jurta.org>
12086
12087 * replace.el (perform-replace): Ignore invisible matches.
12088 In addition to checking `query-replace-skip-read-only', also
12089 filter out matches by calling `run-hook-with-args-until-failure'
12090 on `isearch-filter-predicates', and also check `search-invisible'
12091 for t or call `isearch-range-invisible'.
12092 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12093
12094 2013-05-27 Juri Linkov <juri@jurta.org>
12095
12096 * isearch.el (isearch-filter-predicates): Rename from
12097 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12098 (isearch-message-prefix): Display text from the property
12099 `isearch-message-prefix' of the currently active filters.
12100 (isearch-search): Don't compare `isearch-filter-predicate' with
12101 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12102 on `isearch-filter-predicates'. Also check `search-invisible' for t
12103 or call `isearch-range-invisible'.
12104 (isearch-filter-visible): Make obsolete.
12105 (isearch-lazy-highlight-search):
12106 Call `run-hook-with-args-until-failure' on
12107 `isearch-filter-predicates' and use `isearch-range-invisible'.
12108
12109 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12110 `isearch-filter-predicates' instead of `funcall'ing
12111 `isearch-filter-predicate'.
12112 (Info-mode): Set `Info-isearch-filter' to
12113 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12114
12115 * dired-aux.el (dired-isearch-filter-predicate-orig):
12116 Remove variable.
12117 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12118 (dired-isearch-filenames-end): Add and remove
12119 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12120 instead of changing the value of `isearch-filter-predicate'.
12121 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12122 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12123 Put property `isearch-message-prefix' to "filename " on
12124 `dired-isearch-filter-filenames'.
12125
12126 * wdired.el (wdired-change-to-wdired-mode):
12127 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12128 locally instead of changing `isearch-filter-predicate'.
12129 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12130
12131 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12132
12133 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12134 return the commit hash (Bug#14459). Also set the
12135 `vc-git-detached' property.
12136 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12137 (vc-git-mode-line-string): Use the same help-echo format whether
12138 in detached mode or not, because we know the actual revision now.
12139 When in detached mode, shorten the revision to 7 chars.
12140
12141 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * emacs-lisp/easy-mmode.el (define-minor-mode):
12144 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12145 mode hook and provide a docstring.
12146
12147 2013-05-27 Alan Mackenzie <acm@muc.de>
12148
12149 Remove spurious syntax-table text properties inserted by C-y.
12150 * progmodes/cc-mode.el (c-after-change): Also clear hard
12151 syntax-table property with value nil.
12152
12153 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12154
12155 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12156 when reading the events; the buffer layout shall not be changed.
12157
12158 2013-05-27 Leo Liu <sdl.web@gmail.com>
12159
12160 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12161 New variable.
12162 (inferior-octave-directory-tracker): Automatically re-sync
12163 default-directory.
12164 (octave-help): Improve handling of 'See also'.
12165
12166 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * doc-view.el: Minor naming convention tweaks.
12169 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12170
12171 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12172 even if there's no `display' property yet (bug#14435).
12173
12174 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12175
12176 * subr.el (unmsys--file-name): Rename from reveal-filename.
12177
12178 * Makefile.in (custom-deps, finder-data, autoloads)
12179 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12180 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12181 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12182
12183 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12184
12185 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12186 error-completion on the first 2 args of condition-case (bug#14446).
12187 Don't burp at EOB.
12188
12189 2013-05-25 Leo Liu <sdl.web@gmail.com>
12190
12191 * comint.el (comint-previous-matching-input): Do not flood the
12192 *Messages* buffer with trivial messages.
12193
12194 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12195
12196 * progmodes/flymake.el (flymake-nop): Don't return a string.
12197 (flymake-set-at): Fix typo.
12198
12199 * simple.el (read--expression): New function, extracted from
12200 eval-expression. Set completion-at-point-functions (bug#14465).
12201 (eval-expression, eval-minibuffer): Use it.
12202
12203 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12204
12205 * progmodes/flymake.el (flymake-save-buffer-in-file)
12206 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12207 (flymake-selected-frame, flymake-log, flymake-ins-after)
12208 (flymake-set-at, flymake-get-buildfile-from-cache)
12209 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12210 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12211 Refine the doc string.
12212 (flymake-get-file-name-mode-and-masks): Reformat.
12213 (flymake-get-real-file-name-function): Fix a minor bug.
12214
12215 2013-05-24 Juri Linkov <juri@jurta.org>
12216
12217 * progmodes/grep.el (grep-mode-font-lock-keywords):
12218 Support =linenumber= format used by git-grep for lines with
12219 function names. (Bug#13549)
12220
12221 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12222
12223 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12224 0 after a semi-colon; it works better for smie-auto-fill.
12225 (octave--indent-new-comment-line): New function.
12226 (octave-indent-new-comment-line): Use it (indirectly).
12227 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12228 modify comment-line-break-function.
12229
12230 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12231 (smie-setup): Use add-function to set it.
12232
12233 2013-05-24 Sam Steingold <sds@gnu.org>
12234
12235 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12236 argument (before the `interactive' argument).
12237
12238 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12239
12240 * image-mode.el (image-mode-winprops): Add winprops to
12241 image-mode-winprops-alist before running
12242 image-mode-new-window-functions.
12243 * doc-view.el (doc-view-new-window-function): Don't delay
12244 doc-view-goto-page via timers (bug#14435).
12245
12246 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12247
12248 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12249 (doc-view-desktop-save-buffer): New function.
12250 (doc-view-restore-desktop-buffer): New function.
12251 (desktop-buffer-mode-handlers):
12252 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12253 handler.
12254 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12255 `desktop-save-buffer' function.
12256
12257 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12258
12259 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12260 (tramp-gvfs-file-name-handler): Raise a user error when
12261 `tramp-gvfs-enabled' is nil.
12262 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12263 Do not raise a user error when loading package. (Bug#14447)
12264
12265 * net/xesam.el: Move to obsolete/.
12266
12267 2013-05-24 Glenn Morris <rgm@gnu.org>
12268
12269 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12270
12271 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12272
12273 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12274 (Info-find-node, Man-getpage-in-background): Declare.
12275
12276 * mail/unrmail.el (unrmail):
12277 Replace obsolete detect-coding-with-priority.
12278
12279 * net/socks.el (socks-split-string): Use this rather than split-string.
12280 (socks-nslookup-host): Update for above change.
12281 (dynamic-choice, s5-dynamic-choice-match)
12282 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12283 Comment out unused code.
12284
12285 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12286 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12287 (gud-tooltip-echo-area): Make obsolete.
12288 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12289
12290 * progmodes/js.el (js--optimize-arglist): Declare.
12291
12292 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12293
12294 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12295 (ediff-window-C): Declare.
12296
12297 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12298 Tweak requires to silence compiler.
12299
12300 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12301 (he-search-string, he-tried-table, he-expand-list)
12302 (he-init-string, he-string-member, he-substitute-string)
12303 (he-reset-string): Declare.
12304
12305 * obsolete/options.el (list-options): Use custom-variable-p,
12306 rather than obsolete alias.
12307
12308 2013-05-23 Sam Steingold <sds@gnu.org>
12309
12310 * simple.el (shell-command-on-region): Pass the `replace' argument
12311 down to `call-process-region' to comply with the doc as reported on
12312 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12313
12314 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12315
12316 * emacs-lisp/smie.el (smie-indent-forward-token)
12317 (smie-indent-backward-token): Handle string tokens (bug#14381).
12318
12319 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12320
12321 * ielm.el (ielm-menu): New menu.
12322 (inferior-emacs-lisp-mode): Set comment-start.
12323
12324 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12325
12326 * textmodes/reftex.el (reftex-ref-style-toggle):
12327 Fix deactivate action.
12328
12329 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12330 Add cleveref macros.
12331
12332 * textmodes/reftex-parse.el
12333 (reftex-locate-bibliography-files): Accept options for
12334 bibliography commands.
12335 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12336 Add addbibresource. Basic Biblatex support.
12337
12338 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12339
12340 * net/tramp-gvfs.el (top):
12341 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12342 when loading package. (Bug#14447)
12343
12344 2013-05-23 Glenn Morris <rgm@gnu.org>
12345
12346 * progmodes/js.el: No need to load comint when compiling.
12347 (ring-insert, comint-send-string, comint-send-input)
12348 (comint-last-input-end, ido-chop): Declare.
12349
12350 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12351 * vc/ediff-mult.el: Adjust requires.
12352 (ediff-directories-internal, ediff-directory-revisions-internal)
12353 (ediff-patch-file-internal): Declare.
12354 * vc/ediff-ptch.el: Adjust requires.
12355 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12356 (ediff-find-file): Autoload.
12357 * vc/ediff-util.el: No need to load ediff when compiling.
12358 (ediff-regions-internal): Declare.
12359 * vc/ediff-wind.el: Adjust requires.
12360 (ediff-compute-toolbar-width): Define when compiling.
12361 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12362 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12363 (dired-get-filename, dired-get-marked-files)
12364 (ediff-last-dir-patch, ediff-patch-default-directory)
12365 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12366 (ediff-patch-buffer-internal): Declare.
12367
12368 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12369 (ispell-process, ispell-buffer-local-words, lm-summary)
12370 (lm-section-start, lm-section-end): Declare.
12371 (checkdoc-ispell-init): Simplify.
12372
12373 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12374 (he-string-member, he-reset-string, he-substitute-string): Declare.
12375
12376 * eshell/em-ls.el: Adjust requires.
12377 (eshell-glob-regexp): Declare.
12378 * eshell/em-tramp.el: Adjust requires.
12379 (eshell-parse-command): Autoload.
12380 * eshell/em-xtra.el: Adjust requires.
12381 (eshell-parse-command): Autoload.
12382 * eshell/esh-ext.el: Adjust requires.
12383 (eshell-parse-command, eshell-close-handles): Autoload.
12384 * eshell/esh-io.el: Adjust requires.
12385 (eshell-output-filter): Autoload.
12386 * eshell/esh-util.el: No need to load tramp when compiling.
12387 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12388 Declare.
12389 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12390 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12391 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12392 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12393 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12394 * eshell/esh-opt.el, eshell/esh-proc.el:
12395 * eshell/esh-var.el: Adjust requires.
12396 * eshell/eshell.el: Do not require esh-util twice.
12397 (eshell-add-input-to-history): Declare.
12398 (eshell-command): Check history module is active before using it.
12399
12400 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12401
12402 2013-05-22 Leo Liu <sdl.web@gmail.com>
12403
12404 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12405
12406 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12407
12408 * autorevert.el (auto-revert-notify-add-watch)
12409 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12410 it indicates changes in file modification time.
12411
12412 2013-05-22 Glenn Morris <rgm@gnu.org>
12413
12414 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12415 Always delete the autoloaded function from the noruntime and
12416 unresolved functions lists.
12417
12418 * allout.el: No need to load epa, epg, overlay when compiling.
12419 (epg-context-set-passphrase-callback, epg-list-keys)
12420 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12421 (epg-key-user-id-list): Declare.
12422
12423 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12424 (viper-set-parsing-style-toggling-macro)
12425 (viper-set-emacs-state-searchstyle-macros):
12426 Use called-interactively-p on Emacs.
12427 (viper-looking-back): Make it an obsolete alias. Update callers.
12428 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12429 Use looking-back rather than viper-looking-back.
12430 (viper-tmp-insert-at-eob, viper-enlarge-region)
12431 (viper-read-string-with-history, viper-register-to-point)
12432 (viper-append-to-register, viper-change-state-to-vi)
12433 (viper-backward-char-carefully, viper-forward-char-carefully)
12434 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12435 (viper-change-state-to-emacs): Declare.
12436 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12437 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12438 * emulation/viper-mous.el: Do not load viper-cmd.
12439 (viper-backward-char-carefully, viper-forward-char-carefully)
12440 (viper-forward-word, viper-adjust-window): Declare.
12441
12442 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12443
12444 * progmodes/idlw-help.el (idlwave-help-fontify):
12445 Use called-interactively-p.
12446
12447 * term/w32console.el (w32-get-console-codepage)
12448 (w32-get-console-output-codepage): Declare.
12449
12450 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12451 Remove unnecessary declarations.
12452 (dframe-message): Doc fix.
12453
12454 * info.el (dframe-select-attached-frame, dframe-current-frame):
12455 Declare.
12456
12457 * speedbar.el (speedbar-message): Make it an obsolete alias.
12458 Update all callers.
12459 (speedbar-with-attached-buffer)
12460 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12461 (speedbar-with-writable): Use backquote.
12462 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12463 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12464 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12465 rather than speedbar- aliases.
12466 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12467 (speedbar-make-specialized-keymap, speedbar-insert-button)
12468 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12469 (speedbar-do-function-pointer): Declare.
12470 (rmail-speedbar-button, rmail-speedbar-find-file)
12471 (rmail-speedbar-move-message):
12472 Use dframe-with-attached-buffer rather than speedbar- alias.
12473 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12474 (dframe-message, speedbar-make-specialized-keymap)
12475 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12476 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12477 (speedbar-insert-button, dframe-select-attached-frame)
12478 (dframe-maybee-jump-to-attached-frame)
12479 (speedbar-change-initial-expansion-list)
12480 (speedbar-previously-used-expansion-list-name): Declare.
12481 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12482 Use dframe-message, dframe-with-attached-buffer rather than
12483 speedbar- aliases.
12484 (gud-sentinel): Silence compiler.
12485 * progmodes/vhdl-mode.el (speedbar-refresh)
12486 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12487 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12488 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12489 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12490 (speedbar-file-lists, speedbar-make-tag-line)
12491 (speedbar-line-directory, speedbar-goto-this-file)
12492 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12493 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12494 (speedbar-make-button, speedbar-reset-scanners)
12495 (speedbar-files-item-info, speedbar-line-text)
12496 (speedbar-find-file-in-frame, speedbar-set-timer)
12497 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12498 (speedbar-with-writable): Do not (re)define it.
12499 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12500 rather than speedbar- alias.
12501
12502 2013-05-21 Leo Liu <sdl.web@gmail.com>
12503
12504 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12505 menu items.
12506 (octave-mode): Tweak fill-nobreak-predicate.
12507 (inferior-octave-startup): Check process to avoid infinite loop.
12508 (inferior-octave): Pop to buffer first to show abornmal process
12509 exit information.
12510
12511 2013-05-21 Glenn Morris <rgm@gnu.org>
12512
12513 * printing.el (pr-menu-bar): Define when compiling.
12514
12515 2013-05-21 Leo Liu <sdl.web@gmail.com>
12516
12517 * progmodes/octave.el (octave-auto-fill): Remove.
12518 (octave-indent-new-comment-line): Improve.
12519 (octave-mode): Use auto fill mode through
12520 comment-line-break-function and fill-nobreak-predicate.
12521 (octave-goto-function-definition): Support DEFUN_DLD.
12522 (octave-beginning-of-defun): Small tweak.
12523 (octave-help): Show parent directory.
12524
12525 2013-05-21 Glenn Morris <rgm@gnu.org>
12526
12527 * files.el (dired-unmark):
12528 * progmodes/gud.el (gdb-input): Update declarations.
12529
12530 * calculator.el (electric, ehelp): No need to load when compiling.
12531 (Electric-command-loop, electric-describe-mode): Declare.
12532
12533 * doc-view.el (doc-view-current-converter-processes): Move before use.
12534
12535 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12536 Move MODE-set-explicitly definition before use.
12537
12538 * international/mule-diag.el (mule-diag):
12539 Don't use obsolete window-system-version.
12540
12541 * mail/feedmail.el (smtpmail): No need to load when compiling.
12542 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12543
12544 * mail/mail-utils.el (rfc822): No need to load when compiling.
12545 (rfc822-addresses): Autoload it.
12546 (mail-strip-quoted-names): Trivial simplification.
12547
12548 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12549 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12550
12551 * net/snmp-mode.el (tempo): Don't duplicate requires.
12552
12553 * progmodes/prolog.el (info): No need to load when compiling.
12554 (comint): Require before shell requires it.
12555 (Info-goto-node): Autoload it.
12556 (Info-follow-nearest-node): Declare.
12557 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12558
12559 * textmodes/artist.el (picture-mode-exit): Declare.
12560
12561 * textmodes/reftex-parse.el (reftex-parse-from-file):
12562 Trivial rewrite so the compiler can parse it better.
12563
12564 2013-05-20 Leo Liu <sdl.web@gmail.com>
12565
12566 * progmodes/octave.el (octave-help-mode-map)
12567 (octave-help-mode-finish-hook): New variables.
12568 (octave-help-mode, octave-help-mode-finish): New functions.
12569 (octave-help): Use octave-help-mode.
12570
12571 2013-05-20 Glenn Morris <rgm@gnu.org>
12572
12573 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12574
12575 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12576
12577 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12578 start at point, so that expansion starting right after opening
12579 slash in a regexp is recognized.
12580 (ruby-syntax-before-regexp-re): New defvar, extracted from
12581 ruby-syntax-propertize-function. Since the value of this regexp
12582 is looked up at runtime now, we should be able to turn
12583 `ruby-syntax-methods-before-regexp' into a defcustom later.
12584 (ruby-syntax-propertize-function): Split regexp matching into two
12585 parts, for opening and closing slashes. That allows us to skip
12586 over string interpolations and support multiline regexps.
12587 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12588 for them, which calls `ruby-syntax-propertize-expansion'.
12589 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12590 call to `ruby-syntax-propertize-function'.
12591 (ruby-syntax-propertize-expansion): Extracted from
12592 `ruby-syntax-propertize-expansions'. Handles one expansion.
12593 (ruby-syntax-propertize-percent-literal): Leave point right after
12594 the percent symbol, so that the expression expansion rule can
12595 propertize the contents.
12596 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12597 heredoc openers.
12598 (ruby-syntax-propertize-expansions): Remove.
12599
12600 2013-05-18 Juri Linkov <juri@jurta.org>
12601
12602 * man.el (Man-default-man-entry): Remove `-' from the end
12603 of the default value. (Bug#14400)
12604
12605 2013-05-18 Glenn Morris <rgm@gnu.org>
12606
12607 * comint.el (comint-password-prompt-regexp):
12608 Allow "password for XXX" where XXX contains colons (eg https://...).
12609
12610 2013-05-18 Leo Liu <sdl.web@gmail.com>
12611
12612 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12613 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12614 (octave-source-directories): Don't check process.
12615 (octave-source-directories, octave-find-definition): Doc fix.
12616
12617 2013-05-18 Glenn Morris <rgm@gnu.org>
12618
12619 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12620 Remove backspace/delete bindings. (Bug#14392)
12621
12622 * cus-dep.el (custom-make-dependencies): Sort the output.
12623 (custom-versions-load-alist): Convert comment to doc.
12624
12625 2013-05-17 Leo Liu <sdl.web@gmail.com>
12626
12627 * newcomment.el (comment-search-backward): Stricter in finding
12628 comment start. (Bug#14303)
12629
12630 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12631 (octave-comment-start-skip): Properly anchored.
12632
12633 2013-05-17 Leo Liu <sdl.web@gmail.com>
12634
12635 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12636 Clean up when turned off. (Bug#14395)
12637 (smie--highlight-matching-block-overlay): No longer buffer-local.
12638 (smie-highlight-matching-block): Adjust.
12639
12640 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12641
12642 Doc string fix for "nanoseconds" (Bug#14406).
12643 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12644 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12645
12646 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12647
12648 * calc/calc-units.el (math-extract-units): Preserve powers
12649 of units.
12650
12651 2013-05-17 Leo Liu <sdl.web@gmail.com>
12652
12653 * subr.el (delete-consecutive-dups): New function.
12654 * ido.el (ido-set-matches-1): Use it.
12655 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12656 * ido.el (ido-remove-consecutive-dups): Remove.
12657
12658 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12661 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12662 regexp-opt's `words'.
12663
12664 2013-05-16 Leo Liu <sdl.web@gmail.com>
12665
12666 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12667 (smie--highlight-matching-block-overlay)
12668 (smie--highlight-matching-block-lastpos)
12669 (smie--highlight-matching-block-timer): New variables.
12670 (smie-highlight-matching-block): New function.
12671 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12672 (smie-setup): Conditionally enable smie-blink-matching-open.
12673
12674 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12675
12676 Sync with upstream verilog-mode r840.
12677 * progmodes/verilog-mode.el (verilog-mode-version)
12678 (verilog-mode-release-date): Update.
12679 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12680 (verilog-sig-tieoff): Fix string error on
12681 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12682 (verilog-read-decls): Fix parameters confusing
12683 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12684
12685 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12686
12687 * subr.el (reveal-filename): New function.
12688
12689 * loadup.el: Compute Emacs executable versions on MS-Windows,
12690 where executables have the .exe extension. Add a hard link
12691 emacs-XX.YY.ZZ.exe on MS-Windows.
12692
12693 * Makefile.in (XARGS_LIMIT): New variable.
12694 (custom-deps, finder-data, autoloads)
12695 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12696 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12697 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12698 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12699
12700 2013-05-16 Leo Liu <sdl.web@gmail.com>
12701
12702 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12703 (octave-mode-menu, octave-mode-map): Remove its uses.
12704
12705 2013-05-16 Reto Zimmermann <reto@gnu.org>
12706
12707 Sync with upstream vhdl mode v3.34.2.
12708 * progmodes/vhdl-mode.el: Use `push' throughout.
12709 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12710 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12711 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12712 (vhdl-actual-generic-name): New option to derive actual generic name.
12713 (vhdl-port-paste-signals): Replace formal by actual generics.
12714 (vhdl-beautify): New name for old group vhdl-align. Update users.
12715 (vhdl-beautify-options): New option.
12716 (vhdl-last-input-event): New compat alias. Use throughout.
12717 (vhdl-goto-line): Replace user level function `goto-line'.
12718 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12719 vhdl-fix-statement-buffer.
12720 (vhdl-create-mode-menu): Add some entries.
12721 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12722 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12723 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12724 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12725 to force statements on one line.
12726 (vhdl-remove-trailing-spaces-region):
12727 New, split from vhdl-remove-trailing-spaces.
12728 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12729 Respect vhdl-beautify-options.
12730 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12731 (vhdl-update-sensitivity-list): Not add with index if exists without.
12732 Not include array index with signal. Ignore keywords in comments.
12733 (vhdl-get-visible-signals): Regexp tweaks.
12734 (vhdl-template-component-inst): Handle empty library.
12735 (vhdl-template-type): Add template for 'enum' type.
12736 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12737 Use vhdl-replace-string.
12738 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12739 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12740 (vhdl-speedbar-initialize): Update for above name change.
12741 (vhdl-compose-wire-components): Fix in handling of constants.
12742 (vhdl-error-regexp-emacs-alist): New variable.
12743 (vhdl-error-regexp-add-emacs): New function;
12744 adds support for new compile.el (Emacs 22+)
12745 (vhdl-generate-makefile-1): Change target order for single lib. units.
12746 Allow use of absolute file names.
12747
12748 2013-05-16 Leo Liu <sdl.web@gmail.com>
12749
12750 * simple.el (prog-indent-sexp): Indent enclosing defun.
12751
12752 2013-05-15 Glenn Morris <rgm@gnu.org>
12753
12754 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12755 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12756 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12757 (whitespace-highlight): Move to whitespace group.
12758
12759 * comint.el (comint-source):
12760 * pcmpl-linux.el (pcmpl-linux):
12761 * shell.el (shell-faces):
12762 * eshell/esh-opt.el (eshell-opt):
12763 * international/ccl.el (ccl): Remove empty custom groups.
12764
12765 * completion.el (dynamic-completion-mode):
12766 * jit-lock.el (jit-lock-debug-mode):
12767 * minibuffer.el (completion-in-region-mode):
12768 * type-break.el (type-break-mode-line-message-mode)
12769 (type-break-query-mode):
12770 * emulation/tpu-edt.el (tpu-edt-mode):
12771 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12772 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12773 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12774
12775 * term/xterm.el (xterm): Change parent group to terminals.
12776
12777 * master.el (master): Remove empty custom group.
12778 (master-mode): Remove unused :group argument.
12779 * textmodes/refill.el (refill): Remove empty custom group.
12780 (refill-mode): Remove unused :group argument.
12781
12782 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12783
12784 * cus-dep.el: Provide a feature.
12785 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12786 Don't mistakenly ignore files whose basenames match a basename
12787 from preloaded-file-list (eg cedet/ede/simple.el).
12788 Add a fallback method for getting :group.
12789
12790 2013-05-15 Juri Linkov <juri@jurta.org>
12791
12792 * isearch.el (isearch-char-by-name): Rename from
12793 `isearch-insert-char-by-name'. Doc fix.
12794 (isearch-forward): Mention `isearch-char-by-name' in
12795 the docstring. (Bug#13348)
12796
12797 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12798 `exit-minibuffer' instead of
12799 `isearch-nonincremental-exit-minibuffer'.
12800 (isearch-edit-string): Remove mention of
12801 `isearch-nonincremental-exit-minibuffer' from docstring.
12802 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12803 (isearch-forward-exit-minibuffer)
12804 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12805
12806 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12807
12808 * loadup.el: Just use unversioned DOC.
12809
12810 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12811 literals as extending to EOB.
12812 (nxml-last-fontify-end): Remove unused variable.
12813 (nxml-after-change1): Use with-silent-modifications.
12814 (nxml-extend-after-change-region): Simplify.
12815 (nxml-extend-after-change-region1): Remove function.
12816 (nxml-after-change1): Don't adjust for dependent regions.
12817 (nxml-fontify-matcher): Simplify.
12818 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12819 (xmltok-add-dependent): Remove function.
12820 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12821 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12822 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12823 unclosed <[[, <?, comment, and other literals as extending to EOB.
12824 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12825 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12826 Remove functions.
12827 (rng-do-some-validation-1): Don't mark dependent regions.
12828 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12829 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12830 (nxml-clear-dependent-regions): Remove functions.
12831 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12832 (nxml-ensure-scan-up-to-date):
12833 Don't clear&mark dependent regions.
12834
12835 2013-05-15 Leo Liu <sdl.web@gmail.com>
12836
12837 * progmodes/octave.el (octave-goto-function-definition):
12838 Improve and fix callers.
12839
12840 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12841
12842 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12843 the setter (bug#14387).
12844
12845 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12846 surrounding group (bug#14402).
12847
12848 2013-05-14 Juri Linkov <juri@jurta.org>
12849
12850 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12851 (Bug#14390)
12852
12853 2013-05-14 Glenn Morris <rgm@gnu.org>
12854
12855 * progmodes/f90.el (f90-imenu-generic-expression):
12856 Fix typo in 2013-05-08 change. (Bug#14402)
12857
12858 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12859
12860 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12861 Remove signals for which replies are never received.
12862
12863 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12864
12865 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12866 (gdb-handler-alist, gdb-handler-number): Remove variables.
12867 (gdb-handler-list): New variable.
12868 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12869 (gdb-pending-handler-p, gdb-handle-reply)
12870 (gdb-remove-all-pending-triggers): New functions.
12871 (gdb-discard-unordered-replies): New defcustom.
12872 (gdb-handler): New defstruct.
12873 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12874 instead of gdb-pending-triggers. Update docstring.
12875 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12876 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12877 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12878 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12879 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12880 (gdb-frame-handler): Pending triggers are now automatically managed.
12881 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12882 Remove argument.
12883 (gdb-input): Automatically handles pending triggers. Update docstring.
12884 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12885 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12886 Update comments.
12887 (gdb-done-or-error): Now use gdb-handle-reply.
12888
12889 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12890
12891 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12892 gdb-debug-log.
12893
12894 2013-05-14 Glenn Morris <rgm@gnu.org>
12895
12896 * subr.el (user-emacs-directory-warning): New option.
12897 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12898
12899 2013-05-14 Leo Liu <sdl.web@gmail.com>
12900
12901 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12902 during redisplay.
12903 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12904 (octave-font-lock-texinfo-comment): Fix invalid search bound
12905 error: wrong side of point.
12906
12907 2013-05-14 Glenn Morris <rgm@gnu.org>
12908
12909 * progmodes/flymake.el (flymake-xml-program): New option.
12910 (flymake-xml-init): Use it.
12911
12912 * term/xterm.el: Provide a feature.
12913
12914 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12915
12916 2013-05-13 Glenn Morris <rgm@gnu.org>
12917
12918 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12919 Add compat aliases as a hack workaround. (Bug#14384)
12920
12921 2013-05-13 Leo Liu <sdl.web@gmail.com>
12922
12923 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12924 ###, and %!.
12925 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12926 C-M-q.
12927 (octave-comment-start-skip): Include %!.
12928 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12929
12930 2013-05-12 Leo Liu <sdl.web@gmail.com>
12931
12932 * progmodes/octave.el (inferior-octave-startup): Store the value
12933 of __octave_srcdir__ for octave-source-directories.
12934 (inferior-octave-check-process): New function refactored out of
12935 inferior-octave-send-list-and-digest.
12936 (octave-source-directories)
12937 (octave-find-definition-filename-function): New variables.
12938 (octave-source-directories)
12939 (octave-find-definition-default-filename): New functions.
12940 (octave-find-definition): Improve to find functions implemented in C++.
12941
12942 2013-05-12 Glenn Morris <rgm@gnu.org>
12943
12944 * calendar/diary-lib.el (diary-outlook-format-1):
12945 Don't include dayname in the output. (Bug#14349)
12946
12947 2013-05-11 Glenn Morris <rgm@gnu.org>
12948
12949 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12950
12951 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12952 Treat cc-provide like provide.
12953
12954 2013-05-11 Kevin Ryde <user42@zip.com.au>
12955
12956 * cus-dep.el (custom-make-dependencies):
12957 Use generated-autoload-load-name for the sake of files such
12958 such cedet/semantic/bovine/c.el, where the base file name
12959 is not in load-path. (Bug#5277)
12960
12961 2013-05-11 Glenn Morris <rgm@gnu.org>
12962
12963 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12964 Provide features.
12965
12966 2013-05-11 Leo Liu <sdl.web@gmail.com>
12967
12968 * progmodes/octave.el (octave-indent-comment): Improve.
12969 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12970 (octave-eldoc-function-signatures, octave-eldoc-function):
12971 New functions.
12972 (octave-mode, inferior-octave-mode): Add eldoc support.
12973
12974 2013-05-11 Richard Stallman <rms@gnu.org>
12975
12976 * epa.el (epa-decrypt-file): Take output file name as argument
12977 and read it using `interactive'.
12978
12979 2013-05-11 Leo Liu <sdl.web@gmail.com>
12980
12981 * progmodes/octave.el (octave-beginning-of-line)
12982 (octave-end-of-line): Check before using up-list because it jumps
12983 out of more syntactic contructs since moving to smie.
12984 (octave-indent-comment): New function.
12985 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12986 (octave-begin-keywords, octave-end-keywords)
12987 (octave-reserved-words, octave-smie-bnf-table)
12988 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12989
12990 2013-05-11 Glenn Morris <rgm@gnu.org>
12991
12992 * faces.el (internal-face-x-get-resource):
12993 * frame.el (ns-display-monitor-attributes-list):
12994 * calc/calc-aent.el (math-to-radians-2):
12995 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12996 Fix declarations.
12997
12998 * calc/calc-menu.el: Make it loadable in isolation.
12999
13000 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13001 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13002 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13003 (eudc-bbdb-query-internal): Require 'bbdb.
13004
13005 * lpr.el (lpr-headers-switches):
13006 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13007
13008 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13009
13010 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13011
13012 * term.el (term-set-escape-char): Make it idempotent.
13013
13014 2013-05-10 Leo Liu <sdl.web@gmail.com>
13015
13016 * progmodes/octave.el (inferior-octave-completion-table):
13017 No longer a function and all uses changed. Use cache to speed up
13018 completion due to bug#11906.
13019 (octave-beginning-of-defun): Re-write to be more general.
13020
13021 2013-05-10 Glenn Morris <rgm@gnu.org>
13022
13023 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13024
13025 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13026
13027 * comint.el (comint-redirect-send-command-to-process): Use :around
13028 rather than :override for comint-redirect-filter.
13029 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13030 Call it instead of comint-redirect-original-filter-function (which
13031 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13032
13033 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13034
13035 * frame.el (display-monitor-attributes-list): Add NS case.
13036 (ns-display-monitor-attributes-list): Declare.
13037
13038 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13039
13040 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13041
13042 2013-05-09 Glenn Morris <rgm@gnu.org>
13043
13044 * international/fontset.el (vertical-centering-font-regexp):
13045 Set standard-value.
13046
13047 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13048
13049 * bookmark.el (bookmark-search-delay):
13050 * cus-start.el (vertical-centering-font-regexp):
13051 * ps-mule.el (ps-mule-font-info-database-default):
13052 * ps-print.el (ps-default-fg, ps-default-bg):
13053 * type-break.el (type-break-good-break-interval):
13054 * whitespace.el (whitespace-indentation-regexp)
13055 (whitespace-space-after-tab-regexp):
13056 * emacs-lisp/testcover.el (testcover-1value-functions)
13057 (testcover-noreturn-functions, testcover-progn-functions)
13058 (testcover-prog1-functions):
13059 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13060 * eshell/em-glob.el (eshell-glob-translate-alist):
13061 * play/tetris.el (tetris-tty-colors):
13062 * progmodes/cpp.el (cpp-face-default-list):
13063 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13064 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13065 (idlwave-help-browser-generic-args):
13066 * progmodes/make-mode.el (makefile-special-targets-list):
13067 * progmodes/python.el (python-shell-virtualenv-path):
13068 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13069 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13070 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13071 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13072 * textmodes/reftex-vars.el (reftex-format-label-function):
13073 * textmodes/remember.el (remember-diary-file): Fix custom types.
13074
13075 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13076 Add :version.
13077
13078 2013-05-09 Leo Liu <sdl.web@gmail.com>
13079
13080 * progmodes/octave.el (inferior-octave-completion-at-point):
13081 Restore file completion. (Bug#14300)
13082 (inferior-octave-startup): Fix incorrect highlighting for the
13083 first prompt.
13084
13085 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * progmodes/ruby-mode.el: First cut at SMIE support.
13088 (ruby-use-smie): New var.
13089 (ruby-smie-grammar): New constant.
13090 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13091 (ruby-smie--forward-token, ruby-smie--backward-token)
13092 (ruby-smie-rules): New functions.
13093 (ruby-mode-variables): Setup SMIE if applicable.
13094
13095 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13096
13097 * simple.el (line-move-visual): Signal beginning/end of buffer
13098 only if vertical-motion moved less than it was requested. Avoids
13099 silly incorrect error messages when there are display strings with
13100 multiple newlines at EOL.
13101
13102 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13103
13104 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13105 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13106 (prolog-char-quote-workaround):
13107 * progmodes/cperl-mode.el (cperl-under-as-char):
13108 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13109 Mark as obsolete.
13110 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13111 their declaration.
13112 (vhdl-mode-syntax-table-init): Remove.
13113
13114 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13115 last change.
13116
13117 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13118 syntax for "_".
13119 (ld-script-font-lock-keywords):
13120 Change regexps to use things like \_< and \_>.
13121
13122 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13123 Change all regexps to use things like \_< and \_>.
13124
13125 * progmodes/autoconf.el (autoconf-definition-regexp)
13126 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13127 Handle a _ with symbol syntax.
13128 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13129
13130 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13131 Consolidate declaration.
13132 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13133 the declaration.
13134 (ada-create-syntax-table): Remove.
13135 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13136 already has the right syntax nowadays.
13137 (ada-goto-next-word): Don't change the syntax of "_".
13138
13139 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13140 with-wrapper-hook.
13141
13142 2013-05-08 Sam Steingold <sds@gnu.org>
13143
13144 * thingatpt.el (thing-at-point): Accept optional second argument
13145 NO-PROPERTIES to strip the text properties from the return value.
13146 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13147 to `thing-at-point' instead of stripping the properties ourselves.
13148 Also, when `thing-at-point' fails to find a url, prepend "http://"
13149 to the filename at point on the assumption that the user is
13150 pointing at something like gnu.org/gnu.
13151
13152 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13153
13154 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13155 * faces.el (crm-separator):
13156 Silence byte-compiler.
13157
13158 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13159 (tool-bar-map): Remove unneeded defvars.
13160
13161 2013-05-08 Leo Liu <sdl.web@gmail.com>
13162
13163 Re-work a fix for bug#10994 based on Le Wang's patch.
13164 * ido.el (ido-remove-consecutive-dups): New helper.
13165 (ido-completing-read): Use it.
13166 (ido-chop): Revert fix for bug#10994.
13167
13168 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13169
13170 * cus-edit.el (custom-save-variables):
13171 Pretty-print long values. (Bug#14187)
13172
13173 2013-05-08 Glenn Morris <rgm@gnu.org>
13174
13175 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13176 (m4-mode-syntax-table): Init in the defvar.
13177 (m4-mode-abbrev-table): Let define-derived-mode define it.
13178
13179 2013-05-08 Tom Tromey <tromey@redhat.com>
13180
13181 * progmodes/m4-mode.el (m4-mode-syntax-table):
13182 Do not treat "_" as word constituent. (Bug#14167)
13183
13184 2013-05-07 Glenn Morris <rgm@gnu.org>
13185
13186 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13187 Remove explicit eshell-isearch-cancel-map.
13188
13189 * progmodes/f90.el (f90-smart-end-names): New option.
13190 (f90-smart-end): Doc fix.
13191 (f90-end-block-optional-name): New constant.
13192 (f90-block-match): Respect f90-smart-end-names.
13193
13194 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13195
13196 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13197 about implicit semi-colons (bug#14218).
13198
13199 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13200
13201 * frame.el (display-monitor-attributes-list)
13202 (frame-monitor-attributes): New functions.
13203
13204 2013-05-06 Leo Liu <sdl.web@gmail.com>
13205
13206 * progmodes/octave.el (octave-syntax-propertize-function): Change
13207 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13208 (octave-font-lock-keywords): Use octave-operator-regexp.
13209 (octave-completion-at-point): Rename from
13210 octave-completion-at-point-function.
13211 (inferior-octave-directory-tracker): Robustify.
13212 (octave-text-functions): Remove and fix its uses. No such things
13213 any more.
13214
13215 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13216
13217 * emacs-lisp/trace.el (trace--display-buffer): New function.
13218 (trace-make-advice): Use it.
13219
13220 2013-05-06 Juri Linkov <juri@jurta.org>
13221
13222 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13223 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13224 Doc fix.
13225 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13226 in the help string. (Bug#12985)
13227
13228 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13229
13230 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13231
13232 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * progmodes/perl-mode.el: Add support for here documents.
13235 (perl-syntax-propertize-function): Match here-doc markers.
13236 (perl-syntax-propertize-special-constructs): Find their end.
13237 (perl-imenu-generic-expression): Use [:alnum:].
13238
13239 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13240 (advice--add-function): Refresh the advice if already present
13241 (bug#14317).
13242
13243 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13244
13245 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13246
13247 2013-05-06 Glenn Morris <rgm@gnu.org>
13248
13249 * w32-fns.el (w32-charset-info-alist): Declare.
13250
13251 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13252 of its defcustom properties.
13253 (eshell-cmpl-initialize): No need to load pcomplete.
13254
13255 * generic-x.el: No need to require comint when compiling.
13256
13257 * net/eudc-export.el: Make it loadable without bbdb.
13258 (top-level): Use require rather than load-library.
13259 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13260 (eudc-batch-export-records-to-bbdb)
13261 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13262 Require bbdb.
13263
13264 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13267 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13268 some tweaks, instead.
13269
13270 2013-05-05 Leo Liu <sdl.web@gmail.com>
13271
13272 * progmodes/octave.el (octave-font-lock-keywords)
13273 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13274 (inferior-octave-send-list-and-digest): Improve error message.
13275 (octave-mode, inferior-octave-mode): Use setq-local.
13276 (octave-help): Set info-lookup-mode.
13277
13278 2013-05-05 Richard Stallman <rms@gnu.org>
13279
13280 * vc/compare-w.el (compare-windows-whitespace):
13281 Treat no-break space as whitespace.
13282
13283 * mail/rmailsum.el (rmail-summary-rmail-update):
13284 Detect empty summary and don't change selected message.
13285 (rmail-summary-goto-msg): Likewise.
13286
13287 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13288 Doc fixes, rename args.
13289
13290 2013-05-05 Alan Mackenzie <acm@muc.de>
13291
13292 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13293
13294 2013-05-05 Juri Linkov <juri@jurta.org>
13295
13296 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13297 to not add the length of the summary segment to the return value.
13298 (Bug#14125)
13299
13300 2013-05-05 Leo Liu <sdl.web@gmail.com>
13301
13302 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13303 (inferior-octave-output-filter): Remove.
13304 (octave-send-region, inferior-octave-startup): Fix callers.
13305 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13306 (octave-binary-file-extensions): New user variable.
13307 (octave-find-definition): Confirm if opening binary files.
13308 (octave-help-file): Use octave-find-definition to get the binary
13309 confirmation.
13310 (octave-help): Adjust for octave-help-file change.
13311
13312 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13315 Merge the two entries that handle function definitions.
13316 (pascal--syntax-propertize): New const.
13317 (pascal-mode): Use it. Use setq-local.
13318
13319 2013-05-04 Glenn Morris <rgm@gnu.org>
13320
13321 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13322 (diary-from-outlook): Respect diary-from-outlook-function.
13323
13324 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13325
13326 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13327 Move the declaration from C.
13328 (read-minibuffer, eval-minibuffer): Move from C.
13329 (completion-setup-function): Avoid minibuffer-completion-contents.
13330
13331 2013-05-03 Leo Liu <sdl.web@gmail.com>
13332
13333 * progmodes/octave.el (octave-font-lock-keywords): Do not
13334 dehighlight 'end' in comments or strings.
13335 (octave-completing-read, octave-goto-function-definition):
13336 New helpers.
13337 (octave-help-buffer): New user variable.
13338 (octave-help-file, octave-help-function): New button types.
13339 (octave-help): New command and bind it to C-h ;.
13340 (octave-find-definition): New command and bind it to M-.
13341 (user-error): Alias to error if not defined.
13342
13343 2013-05-02 Leo Liu <sdl.web@gmail.com>
13344
13345 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13346 for \. (bug#14332)
13347 (octave-font-lock-keywords): Include [ and {.
13348
13349 2013-05-02 Leo Liu <sdl.web@gmail.com>
13350
13351 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13352 (inferior-octave): Remove calling comint-mode and return the buffer.
13353 (inferior-octave-startup): Cosmetic changes.
13354
13355 2013-05-02 Leo Liu <sdl.web@gmail.com>
13356
13357 * progmodes/octave.el (octave-syntax-propertize-function):
13358 Include the case when ' is at line beginning. (Bug#14336)
13359
13360 2013-05-02 Glenn Morris <rgm@gnu.org>
13361
13362 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13363 * desktop.el (vc-dir-mode): Just autoload it here.
13364
13365 2013-05-02 Alan Mackenzie <acm@muc.de>
13366
13367 Eliminate variable c-standard-font-lock-fontify-region-function.
13368 * progmodes/cc-mode.el
13369 (c-standard-font-lock-fontify-region-function): Remove.
13370 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13371
13372 2013-05-01 Leo Liu <sdl.web@gmail.com>
13373
13374 * progmodes/octave.el: Compatible with older emacs-24 releases.
13375 (inferior-octave-has-built-in-variables): Remove. Built-in
13376 variables were removed from Octave in 2007.
13377 (inferior-octave-startup): Fix uses.
13378 (comint-line-beginning-position): Remove compatibility code for
13379 emacs 21.
13380
13381 2013-05-01 Juri Linkov <juri@jurta.org>
13382
13383 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13384
13385 2013-05-01 Juri Linkov <juri@jurta.org>
13386
13387 * comint.el (comint-previous-matching-input): Don't print message
13388 "History item: %d" when `isearch-mode' is active.
13389 (comint-history-isearch-message): Print message "History item: %d"
13390 when `comint-input-ring-index' is not empty and this function is
13391 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13392
13393 2013-05-01 Leo Liu <sdl.web@gmail.com>
13394
13395 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13396 definitions. Use completion-at-point to insert keywords.
13397 (octave-abbrev-start): Remove.
13398 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13399
13400 2013-04-30 Leo Liu <sdl.web@gmail.com>
13401
13402 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13403 change.
13404
13405 2013-04-30 Alan Mackenzie <acm@muc.de>
13406
13407 Handle arbitrarily long C++ member initialisation lists.
13408 * progmodes/cc-engine.el (c-back-over-member-initializers):
13409 new function.
13410 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13411 (most) member init lists.
13412
13413 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13414
13415 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13416 variable.
13417
13418 2013-04-30 Leo Liu <sdl.web@gmail.com>
13419
13420 * progmodes/octave.el (octave-variables): Remove. No builtin
13421 variables any more. All converted to functions.
13422 (octave-font-lock-keywords, octave-completion-at-point-function):
13423 Fix uses.
13424 (octave-font-lock-texinfo-comment): New user variable.
13425 (octave-texinfo-font-lock-keywords): New variable for texinfo
13426 comment block.
13427 (octave-function-comment-block): New face.
13428 (octave-font-lock-texinfo-comment): New function.
13429 (octave-mode): Font lock texinfo comment block.
13430
13431 2013-04-29 Leo Liu <sdl.web@gmail.com>
13432
13433 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13434 indexing expression.
13435 (octave-continuation-string): Do not use \.
13436 (inferior-octave-complete-impossible): Remove.
13437 (inferior-octave-completion-table)
13438 (inferior-octave-completion-at-point): Remove its uses.
13439 (inferior-octave-startup): completion_matches was introduced to
13440 Octave in 1996 so safe to assume it.
13441 (octave-function-file-comment): Improve to follow how Octave does it.
13442 (octave-update-function-file-comment): Tweak.
13443
13444 2013-04-29 Leo Liu <sdl.web@gmail.com>
13445
13446 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13447 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13448 (octave-function-file-comment): Fix typo.
13449 (octave-sync-function-file-names): Use read-char-choice.
13450
13451 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13452
13453 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13454 to t for the less important warnings.
13455
13456 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13457
13458 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13459
13460 2013-04-27 Glenn Morris <rgm@gnu.org>
13461
13462 * vc/log-view.el (log-view-current-entry):
13463 Treat "---" separator lines as part of the following rev. (Bug#14169)
13464
13465 2013-04-27 Juri Linkov <juri@jurta.org>
13466
13467 * subr.el (read-number): Doc fix about using it by interactive
13468 code letter `n'. (Bug#14254)
13469
13470 2013-04-27 Juri Linkov <juri@jurta.org>
13471
13472 * desktop.el (desktop-auto-save-timeout): New option.
13473 (desktop-file-checksum): New variable.
13474 (desktop-save): Add optional arg `auto-save' and don't auto-save
13475 if nothing changed.
13476 (desktop-auto-save-timer): New variable.
13477 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13478 (after-init-hook): Call `desktop-auto-save-set-timer'.
13479 Suggested by Reuben Thomas <rrt@sc3d.org> in
13480 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13481
13482 2013-04-27 Leo Liu <sdl.web@gmail.com>
13483
13484 * progmodes/octave.el (octave-function-file-p)
13485 (octave-skip-comment-forward, octave-function-file-comment)
13486 (octave-update-function-file-comment): New functions.
13487 (octave-mode-map): Bind C-c ; to
13488 octave-update-function-file-comment.
13489 (octave-mode-menu): Add octave-update-function-file-comment.
13490 (octave-mode, inferior-octave-mode): Fix doc-string.
13491 (octave-insert-defun): Conform to Octave's coding convention.
13492 (Bug#14285)
13493
13494 * files.el (basic-save-buffer): Don't let errors in
13495 before-save-hook prevent saving buffer.
13496
13497 2013-04-20 Roland Winkler <winkler@gnu.org>
13498
13499 * faces.el (read-face-name): Use completing-read if arg multiple
13500 is nil.
13501
13502 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13503
13504 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13505 displayed, move point to after the totals line.
13506 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13507 for the details.
13508
13509 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13510
13511 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13512 Add current dir to the load-path.
13513 (package-generate-autoloads): Don't rely on
13514 autoload-ensure-default-file.
13515
13516 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13517
13518 * textmodes/remember.el (remember-store-in-files): Document that
13519 the file name format is passed to `format-time-string'.
13520
13521 2013-04-26 Leo Liu <sdl.web@gmail.com>
13522
13523 * progmodes/octave.el (octave-sync-function-file-names): New function.
13524 (octave-mode): Use it in before-save-hook.
13525
13526 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13527
13528 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13529 (bug#14274).
13530
13531 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13532 \n and comment, even if it's not an implicit ; (bug#14218).
13533
13534 2013-04-26 Glenn Morris <rgm@gnu.org>
13535
13536 * subr.el (read-number): Once more use `read' rather than
13537 `string-to-number', to trap non-numeric input. (Bug#14254)
13538
13539 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13540
13541 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13542 Use `syntax-multiline' text property consistently instead of
13543 `font-lock-multiline'. (Bug#14237)
13544
13545 2013-04-26 Glenn Morris <rgm@gnu.org>
13546
13547 * emacs-lisp/shadow.el (list-load-path-shadows):
13548 No longer necessary to check for duplicate simple.el, since
13549 2012-07-07 change to init_lread to not include installation lisp
13550 directories in load-path when running uninstalled. (Bug#14270)
13551
13552 2013-04-26 Leo Liu <sdl.web@gmail.com>
13553
13554 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13555 (octave-mode, inferior-octave-mode): Use setq-local.
13556 (octave-not-in-string-or-comment-p): Rename to
13557 octave-in-string-or-comment-p.
13558 (octave-in-comment-p, octave-in-string-p)
13559 (octave-in-string-or-comment-p): Replace defsubst with defun.
13560
13561 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13562
13563 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13564
13565 2013-04-25 Bastien Guerry <bzg@gnu.org>
13566
13567 * textmodes/remember.el (remember-data-directory)
13568 (remember-directory-file-name-format): Fix custom types.
13569
13570 2013-04-25 Leo Liu <sdl.web@gmail.com>
13571
13572 * progmodes/octave.el (octave-completion-at-point-function):
13573 Make use of inferior octave process.
13574 (octave-initialize-completions): Remove.
13575 (inferior-octave-completion-table): New function.
13576 (inferior-octave-completion-at-point): Use it.
13577 (octave-completion-alist): Remove.
13578
13579 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13582 (opascal-mode-syntax-table): New var.
13583 (opascal-literal-kind, opascal-is-literal-end)
13584 (opascal-literal-token-at): Rewrite.
13585 (opascal--literal-start-re, opascal-font-lock-keywords)
13586 (opascal--syntax-propertize): New constants.
13587 (opascal-font-lock-defaults): Adjust.
13588 (opascal-mode): Use them. Set comment-<foo> variables as well.
13589 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13590 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13591 (delphi-other-face, opascal-other-face): Remove face variables.
13592 (opascal-save-state): Remove macro.
13593 (opascal-fontifying-progress-step): Remove constant.
13594 (opascal--ignore-changes): Remove var.
13595 (opascal-set-token-property, opascal-parse-next-literal)
13596 (opascal-is-stable-literal, opascal-complete-literal)
13597 (opascal-is-literal-start, opascal-face-of)
13598 (opascal-parse-region, opascal-parse-region-until-stable)
13599 (opascal-fontify-region, opascal-after-change)
13600 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13601 (opascal-debug-parse-region, opascal-debug-parse-window)
13602 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13603 (opascal-debug-fontify-buffer): Remove.
13604 (opascal-debug-mode-map): Adjust accordingly.
13605
13606 2013-04-25 Leo Liu <sdl.web@gmail.com>
13607
13608 Merge octave-mod.el and octave-inf.el into octave.el with some
13609 cleanups.
13610 * progmodes/octave.el: New file renamed from octave-mod.el.
13611 * progmodes/octave-inf.el: Merged into octave.el.
13612 * progmodes/octave-mod.el: Renamed to octave.el.
13613
13614 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13615
13616 * textmodes/reftex-vars.el
13617 (reftex-label-ignored-macros-and-environments): New defcustom.
13618
13619 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13620
13621 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13622
13623 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13624 (smie-indent-keyword): Improve the check to ensure that the next
13625 comment is really on the same line.
13626 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13627
13628 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13629 semi-colons if the line is not otherwise empty (bug#14218).
13630
13631 2013-04-25 Glenn Morris <rgm@gnu.org>
13632
13633 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13634
13635 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13636
13637 * progmodes/opascal.el (opascal-set-token-property): Rename from
13638 opascal-set-text-properties and only set `token' (bug#14134).
13639 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13640 (opascal-literal-text-properties): Remove.
13641 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13642 Adjust callers.
13643
13644 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13645
13646 * textmodes/remember.el (remember-handler-functions): Add an
13647 option for a new handler `remember-store-in-files'.
13648 (remember-data-directory, remember-directory-file-name-format):
13649 New options.
13650 (remember-store-in-files): New function to store remember notes
13651 as separate files within a directory.
13652
13653 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13654
13655 * progmodes/compile.el (compilation-next-error-function):
13656 Pass "formats" to compilation-find-file (bug#11777).
13657
13658 2013-04-24 Glenn Morris <rgm@gnu.org>
13659
13660 * vc/vc-bzr.el (vc-bzr-print-log):
13661 * vc/vc-hg.el (vc-hg-print-log):
13662 * vc/vc-svn.el (vc-svn-print-log):
13663 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13664
13665 * vc/vc-bzr.el (vc-bzr-print-log):
13666 * vc/vc-cvs.el (vc-cvs-print-log):
13667 * vc/vc-git.el (vc-git-print-log):
13668 * vc/vc-hg.el (vc-hg-print-log):
13669 * vc/vc-mtn.el (vc-mtn-print-log):
13670 * vc/vc-rcs.el (vc-rcs-print-log):
13671 * vc/vc-sccs.el (vc-sccs-print-log):
13672 * vc/vc-svn.el (vc-svn-print-log):
13673 * vc/vc.el (vc-print-log-internal): Doc fixes.
13674
13675 2013-04-23 Glenn Morris <rgm@gnu.org>
13676
13677 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13678 Remove venerable code attempting to avoid substitute-command-keys.
13679
13680 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13681
13682 * textmodes/reftex-vars.el (reftex-label-regexps):
13683 Call `reftex-compile-variables' after changes to this variable.
13684
13685 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13686
13687 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13688 Use lexical-binding.
13689 (jit-lock-force-redisplay): Use markers, check buffer's continued
13690 existence and beware narrowed buffers.
13691 (jit-lock-fontify-now): Adjust call accordingly.
13692
13693 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13696 to avoid misleading the user.
13697
13698 2013-04-22 Leo Liu <sdl.web@gmail.com>
13699
13700 * info-look.el: Prefer latex2e.info. (Bug#14240)
13701
13702 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13703
13704 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13705
13706 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13707 * net/tramp.el (tramp-call-process): ... here.
13708 (tramp-set-completion-function, tramp-parse-putty):
13709 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13710 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13711 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13712 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13713 (tramp-call-local-coding-command): Use `tramp-call-process'
13714 instead of `tramp-compat-call-process'.
13715
13716 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13717 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13718 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13719 (tramp-find-inline-compress): Improve traces.
13720 (tramp-maybe-send-script): Check for Perl binary.
13721 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13722
13723 2013-04-22 Daiki Ueno <ueno@gnu.org>
13724
13725 * epg.el (epg-context-pinentry-mode): New function.
13726 (epg-context-set-pinentry-mode): New function.
13727 (epg--start): Pass --pinentry-mode option to gpg command.
13728
13729 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13730
13731 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13732 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13733 `completion-at-point'. (Bug#13774)
13734
13735 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13736 default key binding for `describe-distribution' has been moved to
13737 `C-h C-o'. (Bug#13970)
13738
13739 2013-04-21 Glenn Morris <rgm@gnu.org>
13740
13741 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13742 Add doc strings.
13743 (vc-print-log): Clarify interactive prompt.
13744
13745 2013-04-20 Glenn Morris <rgm@gnu.org>
13746
13747 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13748 No longer include timestamp etc information.
13749
13750 2013-04-20 Roland Winkler <winkler@gnu.org>
13751
13752 * faces.el (read-face-name): Bug fix, return just one face if arg
13753 multiple is nil. (Bug#14209)
13754
13755 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13758 (remove-function): Autoload.
13759
13760 * comint.el (comint-redirect-original-filter-function): Remove.
13761 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13762 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13763 (vc-cvs-annotate-command):
13764 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13765 * progmodes/prolog.el (prolog-consult-compile):
13766 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13767 Use add/remove-function instead.
13768 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13769 (gud-tooltip-process-output, gud-tooltip-tips):
13770 Use add/remove-function instead.
13771 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13772 (scheme-interaction-mode, exit-scheme-interaction-mode):
13773 Use add/remove-function instead.
13774
13775 * vc/vc-dispatcher.el: Use lexical-binding.
13776 (vc--process-sentinel): Rename from vc-process-sentinel.
13777 Change last arg to be the code to run. Don't use vc-previous-sentinel
13778 and vc-sentinel-commands any more.
13779 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13780 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13781
13782 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13783
13784 * progmodes/sh-script.el (sh-imenu-generic-expression):
13785 Handle function names with a single character. (Bug#14111)
13786
13787 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13788
13789 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13790 for subroutines defined in an eval (bug#14182).
13791
13792 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13793
13794 * bookmark.el (bookmark-completing-read): Improve handling of empty
13795 string (bug#14176).
13796
13797 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13798
13799 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13800
13801 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13802
13803 New faster Imenu implementation (bug#14058).
13804 * progmodes/python.el:
13805 (python-imenu-prev-index-position):
13806 (python-imenu-format-item-label-function)
13807 (python-imenu-format-parent-item-label-function)
13808 (python-imenu-format-parent-item-jump-label-function):
13809 New vars.
13810 (python-imenu-format-item-label)
13811 (python-imenu-format-parent-item-label)
13812 (python-imenu-format-parent-item-jump-label)
13813 (python-imenu--put-parent, python-imenu--build-tree)
13814 (python-imenu-create-index, python-imenu-create-flat-index)
13815 (python-util-popn): New functions.
13816 (python-mode): Set imenu-create-index-function to
13817 python-imenu-create-index.
13818
13819 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * winner.el (winner-active-region): Use region-active-p, activate-mark
13822 and deactivate-mark (bug#14225).
13823
13824 * simple.el (deactivate-mark): Don't inline it.
13825
13826 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13827
13828 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13829
13830 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13831
13832 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13833 file extensions from the archive-mode entry in order to prefer
13834 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13835
13836 2013-04-18 Leo Liu <sdl.web@gmail.com>
13837
13838 * bindings.el (help-event-list): Add ?\?.
13839
13840 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13841
13842 * subr.el (with-wrapper-hook): Declare obsolete.
13843 * simple.el (filter-buffer-substring-function): New hook.
13844 (filter-buffer-substring): Use it.
13845 (filter-buffer-substring-functions): Mark obsolete.
13846 * minibuffer.el (completion-in-region-function): New hook.
13847 (completion-in-region): Use it.
13848 (completion-in-region-functions): Mark obsolete.
13849 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13850 * abbrev.el (abbrev-expand-function): New hook.
13851 (expand-abbrev): Use it.
13852 (abbrev-expand-functions): Mark obsolete.
13853 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13854 and :filter-return.
13855
13856 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13857
13858 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13859 and do not care about match data.
13860
13861 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13862
13863 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13864 completion tables when completing error conditions and
13865 `declare' arguments.
13866 (lisp-complete-symbol, field-complete): Mark as obsolete.
13867 (check-parens): Unmatched parens are user errors.
13868 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13869
13870 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13871
13872 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13873 command changed buffer (ie. `flyspell-pre-buffer' is not current
13874 buffer), which prevents making decisions based on invalid value of
13875 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13876 cause an error when `flyspell-pre-point' was nil after switching
13877 buffers.
13878 (flyspell-post-command-hook): No longer needs to change buffers when
13879 checking pre-word. While at it remove unnecessary progn.
13880
13881 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13882
13883 * textmodes/ispell.el (ispell-add-per-file-word-list):
13884 Fix `flyspell-correct-word-before-point' error when accepting
13885 words and `coment-padding' is an integer by using
13886 `comment-normalize-vars' (Bug #14214).
13887
13888 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13889
13890 New defun movement commands.
13891 * progmodes/python.el (python-nav--syntactically)
13892 (python-nav--forward-defun, python-nav-backward-defun)
13893 (python-nav-forward-defun): New functions.
13894
13895 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13896
13897 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13898 (python-syntax-context): Use named compiler-macro for backwards
13899 compatibility with Emacs 24.x.
13900
13901 2013-04-17 Leo Liu <sdl.web@gmail.com>
13902
13903 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13904 octave-hide-process-buffer.
13905
13906 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13909 (bug#14216).
13910
13911 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13912
13913 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13914 Fix adjustment of offset when receiving incomplete responses from GDB
13915 (bug#14129).
13916
13917 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13918
13919 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13920 python-mode-abbrev-table.
13921 (python-skeleton-define): Adjust accordingly.
13922 (python-mode-abbrev-table): New table that inherits from it so that
13923 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13924
13925 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13926 (abbrev-symbol): Use it.
13927 (abbrev--before-point): Use it since we already handle inheritance.
13928
13929 2013-04-16 Leo Liu <sdl.web@gmail.com>
13930
13931 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13932 binding to info-lookup-symbol.
13933
13934 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13935
13936 * minibuffer.el (completion--twq-all):
13937 * term/ns-win.el (ns-initialize-window-system):
13938 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13939
13940 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13941
13942 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13943 global bindings.
13944
13945 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13946
13947 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13948
13949 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13950 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13951 to nil.
13952 (ruby-end-of-defun): Remove the unused arg, change the docstring
13953 to reflect that this function is only used as the value of
13954 `end-of-defun-function'.
13955 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13956 to reflect an earlier change that beginning/end-of-defun functions
13957 jump between methods in a class definition, as well as top-level
13958 functions.
13959
13960 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13961
13962 * minibuffer.el (minibuffer-complete): Don't just scroll
13963 a *Completions* that's been iconified.
13964 (minibuffer-force-complete): Make sure repetitions do cycle when going
13965 through completion-in-region -> minibuffer-complete.
13966
13967 2013-04-15 Alan Mackenzie <acm@muc.de>
13968
13969 Correct the placement of c-cpp-delimiters when there're #s not at
13970 col 0.
13971
13972 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13973 place a submatch around the #.
13974 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13975 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13976 on the #, not BOL.
13977
13978 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13979
13980 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13981 (advice--member-p): New arg `name'.
13982 (advice--add-function, advice-member-p): Use it (bug#14202).
13983
13984 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13985
13986 Reformulate java imenu-generic-expression.
13987 The old expression contained ill formed regexps.
13988
13989 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13990 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13991 (cc-imenu-java-method-arg-regexp): New defconsts.
13992 (cc-imenu-java-build-type-args-regex): New defun.
13993 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13994 handling of spaces in the regexp.
13995
13996 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13997
13998 * textmodes/ispell.el (ispell-command-loop): Remove
13999 flyspell highlight of a word when ispell accepts it (bug #14178).
14000
14001 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14002
14003 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14004 uses code from the previous `ange-ftp-run-real-handler'.
14005 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14006 only in case that function exist. This is needed for proper
14007 unloading of Tramp.
14008
14009 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14010
14011 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14012
14013 * textmodes/reftex.el (reftex-compile-variables): Use it.
14014
14015 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14016
14017 * files.el (normal-mode): Only use default major-mode if no other mode
14018 was specified.
14019
14020 * emacs-lisp/trace.el (trace-values): New function.
14021
14022 * files.el: Allow : in local variables (bug#14089).
14023 (hack-local-variable-regexp): New var.
14024 (hack-local-variables-prop-line, hack-local-variables): Use it.
14025
14026 2013-04-13 Roland Winkler <winkler@gnu.org>
14027
14028 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14029 data before it gets modified by bibtex-beginning-of-entry.
14030
14031 2013-04-13 Roland Winkler <winkler@gnu.org>
14032
14033 * textmodes/bibtex.el (bibtex-url): Doc fix.
14034
14035 2013-04-13 Roland Winkler <winkler@gnu.org>
14036
14037 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14038 does not visit a BibTeX file, exclude it from the list of buffers
14039 returned by bibtex-initialize.
14040
14041 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14042
14043 * window.el (split-window): Remove interactive form, since as a
14044 command this function is a special case of split-window-below.
14045 Correct doc string.
14046
14047 2013-04-12 Roland Winkler <winkler@gnu.org>
14048
14049 * faces.el (read-face-name): Do not override value of arg default.
14050 Allow single faces and strings as default values. Remove those
14051 elements from return value that are not faces.
14052 (describe-face): Simplify.
14053 (face-at-point): New optional args thing and multiple so that this
14054 function can provide the same functionality previously provided by
14055 read-face-name.
14056 (make-face-bold, make-face-unbold, make-face-italic)
14057 (make-face-unitalic, make-face-bold-italic, invert-face)
14058 (modify-face, read-face-and-attribute): Use face-at-point.
14059
14060 * cus-edit.el (customize-face, customize-face-other-window)
14061 * cus-theme.el (custom-theme-add-face)
14062 * face-remap.el (buffer-face-set)
14063 * facemenu.el (facemenu-set-face): Use face-at-point.
14064
14065 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14066
14067 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14068
14069 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14070
14071 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14072 off leading { and trailing } from field values.
14073
14074 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * emacs-lisp/timer.el (timer--check): New function.
14077 (timer--time, timer-set-function, timer-event-handler): Use it.
14078 (timer-set-idle-time): Simplify.
14079 (timer--activate): CSE.
14080 (timer-event-handler): Give more info in error message.
14081 (internal-timer-start-idle): New function, moved from C.
14082
14083 * mpc.el (mpc-proc): Add `restart' argument.
14084 (mpc-proc-cmd): Use it.
14085 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14086 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14087 less often.
14088
14089 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14090
14091 * progmodes/sh-script.el: Implement `sh-mode' own
14092 `add-log-current-defun-function' (bug#14112).
14093 (sh-current-defun-name): New function.
14094 (sh-mode): Use the function.
14095
14096 2013-04-09 Bastien Guerry <bzg@gnu.org>
14097
14098 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14099
14100 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14101
14102 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14103
14104 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14105 timer (bug#14156).
14106
14107 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14108
14109 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14110 declaration.
14111
14112 2013-04-07 Leo Liu <sdl.web@gmail.com>
14113
14114 * pcmpl-x.el: New file.
14115
14116 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14117
14118 Do not set x-display-name until X connection is established.
14119 This is needed to prevent from weird situation described at
14120 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14121 * frame.el (make-frame): Set x-display-name after call to
14122 window system initialization function, not before.
14123 * term/x-win.el (x-initialize-window-system): Add optional
14124 display argument and use it.
14125 * term/w32-win.el (w32-initialize-window-system):
14126 * term/ns-win.el (ns-initialize-window-system):
14127 * term/pc-win.el (msdos-initialize-window-system):
14128 Add compatible optional display argument.
14129
14130 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14131
14132 * files.el (normal-backup-enable-predicate): On MS-Windows and
14133 MS-DOS compare truenames of temporary-file-directory and of the
14134 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14135 don't fail comparison by compare-strings. Also, compare file
14136 names case-insensitively on MS-Windows and MS-DOS.
14137
14138 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14139
14140 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14141 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14142
14143 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14144
14145 * whitespace.el (whitespace-color-on, whitespace-color-off):
14146 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14147
14148 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14149
14150 * ispell.el (ispell-set-spellchecker-params):
14151 Really set `ispell-args' for all equivs.
14152
14153 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14154
14155 * ido.el (ido-completions): Use extra elements of ido-decorations
14156 (bug#14143).
14157 (ido-decorations): Update docstring.
14158
14159 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14160
14161 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14162 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14163 nil during initialization, in order not to miss changes since the
14164 file was opened. (Bug#14140)
14165
14166 2013-04-05 Leo Liu <sdl.web@gmail.com>
14167
14168 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14169
14170 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14171
14172 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14173
14174 2013-04-04 Glenn Morris <rgm@gnu.org>
14175
14176 * electric.el (electric-pair-inhibit-predicate): Add :version.
14177
14178 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14179
14180 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14181 when a package is required several times (bug#14082).
14182
14183 2013-04-04 Roland Winkler <winkler@gnu.org>
14184
14185 * faces.el (read-face-name): Behave as promised by the docstring.
14186 Assume that arg default is a list of faces.
14187 (describe-face): Call read-face-name with list of default faces.
14188
14189 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14190
14191 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14192 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14193 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14194 the header.
14195 (bookmark-exit-hook-internal): Save even if list is empty.
14196
14197 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14198
14199 * emacs-lisp/package.el (package-pinned-packages): New var.
14200 (package--add-to-archive-contents): Obey it (bug#14118).
14201
14202 2013-04-03 Alan Mackenzie <acm@muc.de>
14203
14204 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14205 Also adapt to the new values of element 7 of a parse state.
14206
14207 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14208 parameter `not-in-delimiter'. Handle being inside comment opener.
14209 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14210 character in case we're typing a '*' after a '/'.
14211 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14212 instead by passing the parameter to c-state-pp-to-literal.
14213
14214 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14215 for elt. 7 of a parse state.
14216
14217 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14218
14219 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14220 * international/latin1-disp.el, international/mule-util.el:
14221 * language/cyril-util.el, language/european.el, language/ind-util.el:
14222 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14223 * language/tibetan.el, language/viet-util.el:
14224 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14225
14226 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14229 (electric-pair-post-self-insert-function): Use it.
14230 (electric-pair-default-inhibit): New function, extracted from
14231 electric-pair-post-self-insert-function.
14232
14233 2013-03-31 Roland Winkler <winkler@gnu.org>
14234
14235 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14236
14237 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14238
14239 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14240
14241 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14242
14243 Un-indent after "pass" and "return" statements (Bug#13888)
14244 * progmodes/python.el (python-indent-block-enders): New var.
14245 (python-indent-calculate-indentation): Use it.
14246
14247 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14248
14249 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14250 defun. Defining it as defalias could introduce too eager
14251 byte-compiler optimization. (Bug#14030)
14252
14253 2013-03-30 Chong Yidong <cyd@gnu.org>
14254
14255 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14256
14257 2013-03-30 Leo Liu <sdl.web@gmail.com>
14258
14259 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14260 (kmacro-execute-from-register): Pass the keyboard macro to
14261 kmacro-call-macro or repeating won't work correctly.
14262
14263 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14264
14265 * progmodes/subword.el: Back to using `forward-symbol'.
14266
14267 * subr.el (forward-whitespace, forward-symbol)
14268 (forward-same-syntax): Move from thingatpt.el.
14269
14270 2013-03-29 Leo Liu <sdl.web@gmail.com>
14271
14272 * kmacro.el (kmacro-to-register): New command.
14273 (kmacro-execute-from-register): New function.
14274 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14275
14276 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14277
14278 * mpc.el: Use defvar-local and setq-local.
14279 (mpc--proc-connect): Connection failures are not bugs.
14280 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14281 (mpc-volume-map): Bind to the up-events.
14282
14283 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14284
14285 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14286 instead of `forward-symbol'.
14287
14288 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14289
14290 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14291 (edebug--recursive-edit): Use it.
14292 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14293 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14294
14295 2013-03-28 Leo Liu <sdl.web@gmail.com>
14296
14297 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14298
14299 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14300
14301 * facemenu.el (list-colors-callback): New defvar.
14302 (list-colors-redisplay): New function.
14303 (list-colors-display): Install list-colors-redisplay as the
14304 revert-buffer-function. (Bug#14063)
14305
14306 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14307
14308 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14309 and suffixes don't overlap (bug#14061).
14310
14311 * case-table.el: Use lexical-binding.
14312 (case-table-get-table): New function.
14313 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14314
14315 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14316
14317 * progmodes/subword.el: Add `superword-mode' to do word motion
14318 over symbol_words (parallels and leverages `subword-mode' which
14319 does word motion inside MixedCaseWords).
14320
14321 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14322
14323 * eshell/em-unix.el: Move su and sudo to...
14324 * eshell/em-tramp.el: ...Eshell tramp module.
14325
14326 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14327
14328 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14329 Change return value to be a sexp. Delay `get-buffer' to after
14330 restoring the desktop (bug#13951).
14331
14332 2013-03-26 Leo Liu <sdl.web@gmail.com>
14333
14334 * register.el: Move semantic tag handling back to
14335 cedet/semantic/senator.el. (Bug#14052)
14336
14337 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14340 into the prompt either (bug#13963).
14341
14342 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14343
14344 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14345 part of "(error-foo)".
14346
14347 2013-03-24 Juri Linkov <juri@jurta.org>
14348
14349 * replace.el (list-matching-lines-prefix-face): New defcustom.
14350 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14351 `occur-engine' if `face-differs-from-default-p' returns t.
14352 (occur-engine): Add `,' inside backquote construct to evaluate
14353 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14354 Pass `prefix-face' to the functions `occur-context-lines' and
14355 `occur-engine-add-prefix'.
14356 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14357 `prefix-face' and propertize the prefix with `prefix-face'.
14358 (Bug#14017)
14359
14360 2013-03-24 Leo Liu <sdl.web@gmail.com>
14361
14362 * nxml/rng-valid.el (rng-validate-while-idle)
14363 (rng-validate-quick-while-idle): Guard against deleted buffer.
14364 (Bug#13999)
14365
14366 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14367 is the last entry in kill-buffer-hook.
14368
14369 * files.el (kill-buffer-hook): Doc fix.
14370
14371 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14372
14373 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14374 Make it safe-local.
14375
14376 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14377
14378 2013-03-23 Leo Liu <sdl.web@gmail.com>
14379
14380 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14381 Remove.
14382
14383 * nxml/rng-valid.el (rng-validate-mode)
14384 (rng-after-change-function, rng-do-some-validation):
14385 * nxml/rng-maint.el (rng-validate-buffer):
14386 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14387 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14388 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14389 (nxml-extend-after-change-region): Use with-silent-modifications.
14390
14391 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14392 timer-idle-list.
14393
14394 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14395 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14396 timer-idle-list. (Bug#13999)
14397
14398 2013-03-23 Juri Linkov <juri@jurta.org>
14399
14400 * info.el (info-index-match): New face.
14401 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14402 main pattern and add text properties with the new face to matches
14403 in index entries relative to the beginning of the index entry.
14404 (Bug#14015)
14405
14406 2013-03-21 Eric Ludlam <zappo@gnu.org>
14407
14408 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14409 Inhibit read only while inserting objects.
14410
14411 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14412
14413 * progmodes/cfengine.el: Update docs to mention
14414 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14415 symbol motion. Remove "_" from the word syntax.
14416
14417 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14418
14419 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14420 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14421
14422 2013-03-20 Juri Linkov <juri@jurta.org>
14423
14424 * info.el (Info-next-reference-or-link)
14425 (Info-prev-reference-or-link): New functions.
14426 (Info-next-reference, Info-prev-reference): Use them.
14427 (Info-try-follow-nearest-node): Handle footnote navigation.
14428 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14429
14430 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14433 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14434
14435 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14436
14437 Suppress unnecessary non-ASCII chatter during build process.
14438 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14439 (batch-skkdic-convert): Suppress most of the chatter.
14440 It's not needed so much now that machines are faster,
14441 and its non-ASCII component was confusing; see Dmitry Gutov in
14442 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14443
14444 2013-03-20 Leo Liu <sdl.web@gmail.com>
14445
14446 * ido.el (ido-chop): Fix bug#10994.
14447
14448 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14449
14450 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14451 Remove vars.
14452 (whitespace-color-on, whitespace-color-off):
14453 Use `font-lock-fontify-buffer' (Bug#13817).
14454
14455 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14456
14457 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14458 remapping in mode-line.
14459 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14460
14461 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14462
14463 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14464 value for `whitespace-line' face (Bug#13875).
14465 (whitespace-font-lock-keywords): Change description.
14466 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14467 the constructed keywords instead.
14468 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14469
14470 2013-03-19 Leo Liu <sdl.web@gmail.com>
14471
14472 * progmodes/compile.el (compilation-display-error): New command.
14473 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14474 C-o. (Bug#13992)
14475
14476 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14477
14478 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14479
14480 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14481
14482 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14483
14484 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14485
14486 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14487
14488 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14489 * net/tramp-gvfs.el (top):
14490 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14491 (tramp-handle-shell-command): Use it.
14492 (tramp-dissect-file-name): Raise an error when hostname is a
14493 method name, and neither method nor user is specified.
14494
14495 * net/trampver.el: Update release number.
14496
14497 2013-03-18 Leo Liu <sdl.web@gmail.com>
14498
14499 Make sure eldoc can be turned off properly.
14500 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14501 eldoc-mode.
14502 (eldoc-display-message-p): Revert last change.
14503 (eldoc-display-message-no-interference-p)
14504 (eldoc-print-current-symbol-info): Tweak.
14505
14506 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14507
14508 * doc-view.el (doc-view-new-window-function): Check the new window
14509 overlay's display property instead the char property of the
14510 buffer's first char. Use `with-selected-window' instead of
14511 `save-window-excursion' with `select-window'.
14512 (doc-view-document->bitmap): Check the current doc-view overlay's
14513 display property instead the char property of the buffer's first char.
14514
14515 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14516
14517 Automate the build of ja-dic.el (Bug#13984).
14518 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14519 from the input, rather than assume that it's been done for us by the
14520 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14521 the current date into a ja-dic.el comment, as that complicates
14522 regression testing.
14523
14524 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * whitespace.el: Fix double evaluation.
14527 (whitespace-space, whitespace-hspace, whitespace-tab)
14528 (whitespace-newline, whitespace-trailing, whitespace-line)
14529 (whitespace-space-before-tab, whitespace-indentation)
14530 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14531 obsolete defvars.
14532 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14533 (whitespace-color-on): Use a single font-lock-add-keywords call.
14534 Fix double-evaluation of face variables.
14535
14536 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14537
14538 * net/tramp-adb.el (tramp-adb-parse-device-names):
14539 Use `start-process' instead of `call-process'. Otherwise, the
14540 function might be blocked under MS Windows. (Bug#13299)
14541
14542 2013-03-17 Leo Liu <sdl.web@gmail.com>
14543
14544 Extend eldoc to display info in the mode-line. (Bug#13978)
14545 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14546 (eldoc-mode-line-string): New variable.
14547 (eldoc-minibuffer-message): New function.
14548 (eldoc-message-function): New variable.
14549 (eldoc-message): Use it.
14550 (eldoc-display-message-p)
14551 (eldoc-display-message-no-interference-p):
14552 Support eldoc-post-insert-mode.
14553
14554 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14555 (eval-expression): Run it.
14556
14557 2013-03-17 Roland Winkler <winkler@gnu.org>
14558
14559 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14560 strings in the list of return values.
14561
14562 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14563
14564 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14565 radix before checking for HMS forms.
14566
14567 2013-03-16 Leo Liu <sdl.web@gmail.com>
14568
14569 * progmodes/scheme.el: Add indentation and font-locking for λ.
14570 (Bug#13975)
14571
14572 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14573
14574 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14575 token before point (bug#13942).
14576
14577 2013-03-16 Leo Liu <sdl.web@gmail.com>
14578
14579 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14580
14581 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14582
14583 * startup.el (command-line-normalize-file-name): Fix handling of
14584 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14585 <xfq.free@gmail.com> in
14586 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14587
14588 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14589
14590 Sync with Tramp 2.2.7.
14591
14592 * net/trampver.el: Update release number.
14593
14594 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14595
14596 * doc-view.el: Fix bug#13887.
14597 (doc-view-insert-image): Don't modify overlay associated to
14598 non-live windows, and implement horizontal centering of image in
14599 case it's smaller than the window.
14600 (doc-view-new-window-function): Force redisplay of new windows on
14601 doc-view buffers.
14602
14603 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14604
14605 * saveplace.el (save-place-alist-to-file): Don't sort
14606 `save-place-alist', just pretty-print it (bug#13882).
14607
14608 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14609
14610 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14611 Check whether `default-file-name-coding-system' is bound.
14612 It isn't in XEmacs.
14613
14614 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14615
14616 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14617 backquotes for `obsolete' (bug#13929).
14618
14619 * international/mule.el (find-auto-coding): Include file name in
14620 obsolescence warning (bug#13922).
14621
14622 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14623
14624 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14625 for CFEngine 3-specific indentation.
14626 (cfengine3-indent-line): Use it. Fix up category regex.
14627 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14628
14629 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14630
14631 * type-break.el (type-break-file-name):
14632 * textmodes/remember.el (remember-data-file):
14633 * strokes.el (strokes-file):
14634 * shadowfile.el (shadow-initialize):
14635 * saveplace.el (save-place-file):
14636 * ps-bdf.el (bdf-cache-file):
14637 * progmodes/idlwave.el (idlwave-config-directory):
14638 * net/quickurl.el (quickurl-url-file):
14639 * international/kkc.el (kkc-init-file-name):
14640 * ido.el (ido-save-directory-list-file):
14641 * emulation/viper.el (viper-custom-file-name):
14642 * emulation/vip.el (vip-startup-file):
14643 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14644 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14645
14646 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14647
14648 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14649 * language/thai-word.el: Switch to UTF-8.
14650
14651 See ChangeLog.16 for earlier changes.
14652
14653 ;; Local Variables:
14654 ;; coding: utf-8
14655 ;; End:
14656
14657 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14658
14659 This file is part of GNU Emacs.
14660
14661 GNU Emacs is free software: you can redistribute it and/or modify
14662 it under the terms of the GNU General Public License as published by
14663 the Free Software Foundation, either version 3 of the License, or
14664 (at your option) any later version.
14665
14666 GNU Emacs is distributed in the hope that it will be useful,
14667 but WITHOUT ANY WARRANTY; without even the implied warranty of
14668 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14669 GNU General Public License for more details.
14670
14671 You should have received a copy of the GNU General Public License
14672 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.