* lisp/simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-03-31 Glenn Morris <rgm@gnu.org>
2
3 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
4
5 2014-03-31 Reto Zimmermann <reto@gnu.org>
6
7 Sync with upstream vhdl mode v3.35.2.
8 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
9 (top-level): No longer require assoc.
10 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11 New functions. Use throughout to replace aget etc.
12 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
13 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
14 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
15 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
16 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
17 except `vhdl-compiler'.
18 (vhdl-error-regexp-add-emacs): Remove all other compilers,
19 when appropriate.
20
21 2014-03-31 Glenn Morris <rgm@gnu.org>
22
23 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
24 Revert 2014-03-26 merge goof; go back to using defalias.
25
26 2014-03-30 Daniel Colascione <dancol@dancol.org>
27
28 * comint.el (comint-send-input): Deactivate
29 completion-in-region-mode before we send comint input.
30 (Bug#17139).
31
32 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
33 on keyboard-quit.
34
35 2014-03-29 Glenn Morris <rgm@gnu.org>
36
37 * textmodes/reftex.el: Manage most autoloads automatically.
38 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
39 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
40 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
41 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
42 * textmodes/reftex-toc.el: Set generated-autoload-file,
43 and add autoload cookies for reftex.el.
44 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
45
46 2014-03-28 Glenn Morris <rgm@gnu.org>
47
48 * cus-start.el (report-emacs-bug-address): Set custom properties.
49 * mail/emacsbug.el (report-emacs-bug-address):
50 Variable is now defined in emacs.c.
51
52 * mail/emacsbug.el (report-emacs-bug):
53 Include system-configuration-features.
54
55 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
56
57 * simple.el (cycle-spacing): Never delete spaces on first run by
58 default, but do so in a new 'fast mode and if there are already
59 N spaces (the previous behavior).
60 Compare N with its value in previous invocation so that changing
61 prefix argument restarts `cycle-spacing' sequence.
62 The idea is that with this change, binding M-SPC to
63 `cycle-spacing' should not introduce any changes in behavior of
64 the binding so long as users do not type M-SPC twice in a raw with
65 the same prefix argument or lack thereof.
66
67 2014-03-28 Glenn Morris <rgm@gnu.org>
68
69 * faces.el (term-file-aliases): New variable.
70 (tty-run-terminal-initialization): Respect term-file-aliases.
71 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
72 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
73 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
74
75 2014-03-27 Glenn Morris <rgm@gnu.org>
76
77 * startup.el (inhibit-startup-hooks): Doc tweak.
78 (normal-top-level): Simplify running of hooks.
79 For window-setup-hook, respect inhibit-startup-hooks.
80 (command-line-1): Don't set window-setup-hook to nil.
81
82 Allow selective autoloading from obsolete/ directory.
83 * Makefile.in (obsolete-autoloads): New rule.
84 (autoloads): Run obsolete-autoloads.
85 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
86 * simple.el (iswitchb-mode): Remove hand-written autoloads.
87
88 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
89
90 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
91 special globals with font-lock-builtin-face. (Bug#17057)
92
93 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
94 Don't propertize `?' or `!' as symbol constituent when after
95 colon. (Bug#17097)
96
97 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
98
99 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
100 which is no longer needed and causes trouble in GTK builds (bug#17046).
101
102 * emacs-lisp/package-x.el (package--archive-contents-from-url):
103 Use url-insert-file-contents; package-handle-response no longer exists.
104
105 2014-03-26 Daniel Colascione <dancol@dancol.org>
106
107 * simple.el (process-menu-mode-map): New variable.
108 (process-menu-delete-process): New command.
109
110 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
111
112 * emacs-lisp/package.el: Fix bug#16733 (again).
113 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
114 (url-http-target-url): Remove unused declarations.
115 (package-handle-response): Remove.
116 (package--with-work-buffer): Use url-insert-file-contents and simplify.
117 (package--download-one-archive): Use current-buffer instead of
118 dynamic binding of `buffer'.
119 (describe-package-1): Do not decode readme-string.
120
121 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
122
123 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
124
125 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
126 from 2014-03-07, it decreases performance unnecessarily. Let-bind
127 `remote-file-name-inhibit-cache' to nil in the second pass.
128 (tramp-find-executable): Do not call "which" on SunOS.
129 (tramp-send-command-and-check): Fix docstring.
130 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
131 check whether source directory has set the sticky bit.
132
133 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
134
135 * simple.el (primitive-undo): Only process marker adjustments
136 validated against their corresponding (TEXT . POS). Issue warning
137 for lone marker adjustments in undo history. (Bug#16818)
138 (undo-make-selective-list): Add marker adjustments to selective
139 undo list based on whether their corresponding (TEXT . POS) is in
140 the region. Remove variable adjusted-markers, which was unused
141 and only non nil during undo-make-selective-list.
142 (undo-elt-in-region): Return nil when passed a marker adjustment
143 and explain in function doc.
144
145 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
146
147 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
148
149 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
150
151 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
152 Match special global variables without curlies, too.
153 (ruby-font-lock-keywords): Simplify the matcher for special global
154 variables. Don't require a non-word character after the variable.
155 (Bug#17057)
156
157 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * simple.el (redisplay-highlight-region-function): Increase priority of
160 overlay to make sure boundaries are visible (bug#15899).
161
162 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
163
164 * frameset.el (frameset--initial-params): Fix typo in parameter name.
165 (frameset-restore): Compare display strings with equal.
166
167 * frame.el (make-frame): Don't quote display name in error message,
168 it is already a string.
169
170 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
171
172 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
173 the password.
174
175 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
176
177 * emacs-lisp/package.el (package--add-to-archive-contents):
178 Include already installed and built-in packages in
179 `package-archive-contents'.
180 (package-install): Don't include already installed packages in the
181 options during interactive invocation. (Bug#16762)
182 (package-show-package-list): If the buffer is already displayed in
183 another window, switch to that window.
184
185 2014-03-26 Reto Zimmermann <reto@gnu.org>
186
187 Sync with upstream vhdl mode v3.35.1.
188 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
189 (vhdl-compiler-alist): Doc fix.
190 (vhdl-goto-line): Remove.
191 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
192 (vhdl-mode) <paragraph-start>: Fix value.
193 (vhdl-fix-statement-region): Not `for' in wait-statement.
194 (vhdl-beautify-region): Also (un)tabify.
195 (vhdl-get-visible-signals):
196 Scan declarative part of generate statements.
197 (vhdl-template-record): Fix indentation for record type declaration.
198 (vhdl-expand-abbrev, vhdl-expand-paren):
199 Revert to using fset again rather than defalias.
200 (vhdl-scan-directory-contents): Tweak.
201 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
202 (vhdl-compose-components-package):
203 Replace vhdl-goto-line with forward-line.
204 (top-level): Tweak speedbar frame selection.
205 (vhdl-generate-makefile-1): Support for compilers with no
206 unit-to-file name mapping (create directory with dummy files).
207
208 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
209
210 Sync with upstream verilog-mode revision 702457d.
211 * progmodes/verilog-mode.el (verilog-mode-version): Update.
212 (create-lockfiles): Declare.
213 (verilog-read-decls): Fix module header imports, bug709.
214 Reported by Victor Lau.
215 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
216 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
217 interface-only modules, bug721. Reported by Dean Hoyt.
218
219 2014-03-26 Glenn Morris <rgm@gnu.org>
220
221 * obsolete/gulp.el: Move here from emacs-lisp/.
222
223 * files.el (lock-buffer, unlock-buffer, file-locked-p):
224 Remove fallback aliases, since they are always defined now.
225
226 2014-03-24 Daniel Colascione <dancol@dancol.org>
227
228 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
229 instead of cl-loop search function.
230
231 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
232
233 * calendar/parse-time.el (parse-time-iso8601-regexp)
234 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
235 it more generally.
236
237 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
238
239 * net/dns.el (network-interface-list): Define for XEmacs.
240
241 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
242
243 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
244 the network interfaces changed.
245 (dns-query): Use it to flush the data.
246
247 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
248
249 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
250
251 2014-03-23 Daniel Colascione <dancol@dancol.org>
252
253 Change subword-mode to use `find-word-boundary-function-table' and
254 replace `capitalized-words-mode'. Also, convert to lexical
255 binding.
256
257 * progmodes/cap-words.el: Delete now-obsolete file.
258 * progmodes/subword.el: Reimplement using
259 `find-word-boundary-function-table'.
260 (subword-mode-map): Hollow out.
261 (capitalized-words-mode): Define as obsolete alias for
262 `subword-mode'.
263 (subword-mode,superword-mode): Tweak documentation to reflect new
264 implementation; call `subword-setup-buffer'.
265 (subword-forward,subword-capitalize): Add underscore to indicate
266 unused variable.
267 (subword-find-word-boundary-function-table): New constant.
268 (subword-empty-char-table): New constant.
269 (subword-setup-buffer): New function.
270 (subword-find-word-boundary): New function.
271
272 2014-03-23 Daniel Colascione <dancol@dancol.org>
273
274 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
275 list to look for keyword arguments instead of `memq', fixing
276 (Bug#3647) --- unfortunately, only for freshly-compiled code.
277 Please make bootstrap.
278
279 2014-03-22 Glenn Morris <rgm@gnu.org>
280
281 * dired.el (dired-read-regexp): Make obsolete.
282 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
283 (dired-flag-files-regexp):
284 * dired-aux.el (dired-mark-read-regexp):
285 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
286
287 * startup.el (fancy-startup-text):
288 * help.el (describe-gnu-project): Visit online info about GNU project.
289
290 * help-fns.el (help-fns--interactive-only): New function.
291 (help-fns-describe-function-functions): Add the above function.
292 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
293 (next-line, previous-line): Remove hand-written interactive-only
294 information from doc strings, it is auto-generated now.
295 * bookmark.el (bookmark-write):
296 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
297 (epa-mail-import-keys): Mark interactive-only,
298 and remove hand-written interactive-only information from doc strings.
299 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
300 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
301 * files.el (not-modified):
302 * simple.el (mark-whole-buffer): Mark interactive-only.
303
304 * emacs-lisp/byte-run.el (defun-declarations-alist):
305 Add interactive-only. Doc tweak.
306 (macro-declarations-alist): Doc tweak.
307 * subr.el (declare): Doc tweak (add xref to manual).
308 * comint.el (comint-run):
309 * files.el (insert-file-literally, insert-file):
310 * replace.el (replace-string, replace-regexp):
311 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
312 (delete-forward-char, goto-line, insert-buffer, next-line)
313 (previous-line): Set interactive-only via declare.
314
315 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
316
317 * emacs-lisp/package.el (package-desc): Use the contents of the
318 quoted form, not its cdr. (Bug#16873)
319
320 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
321
322 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
323 benefit of doc.c; change parameter profile to match the X function.
324
325 2014-03-22 Leo Liu <sdl.web@gmail.com>
326
327 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
328 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
329
330 2014-03-21 Richard Stallman <rms@gnu.org>
331
332 * battery.el (battery-linux-sysfs): Search for each field
333 from the beginning of the buffer.
334
335 * subr.el (set-transient-map): Clear out function and value
336 of the temporary symbol when we're done with it.
337
338 * mail/rmailsum.el (rmail-summary-delete-forward):
339 Optimize case of reaching end and handling count.
340 (rmail-summary-mark-deleted): Optimize when N is current msg.
341 Don't create new summary line.
342 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
343 (rmail-summary-undelete-many): Rewrite for speed.
344 (rmail-summary-msg-number): New function.
345
346 * mail/rmail.el (rmail-delete-message): Update summary.
347 (rmail-undelete-previous-message): Handle repeat count arg.
348 (rmail-delete-backward, rmail-delete-forward): Likewise.
349
350 2014-03-21 Daniel Colascione <dancol@dancol.org>
351
352 * mail/emacsbug.el (report-emacs-bug): Include memory usage
353 information in bug reports.
354
355 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
356
357 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
358 and `tramp-copy-env'.
359
360 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
361 (tramp-maybe-open-connection): Handle `tramp-login-env'.
362
363 2014-03-21 Glenn Morris <rgm@gnu.org>
364
365 * electric.el (electric-indent-post-self-insert-function): Add doc.
366
367 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
368
369 * emacs-lisp/package.el (package-compute-transaction):
370 Use `version-list-<=' to compare the requirement version against
371 the version of package already to be installed. Update the error
372 message. (Bug#16826)
373
374 * progmodes/ruby-mode.el (ruby-smie-rules):
375 Add indentation rule for ` @ '. (Bug#17050)
376
377 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
378
379 * align.el (align-regexp): Remove superfluous backslash.
380
381 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
382 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
383 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
384 Fix docstring typos.
385 (ffap-next): Use C-u in docstring.
386 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
387 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
388 Remove superfluous backslashes.
389 (ffap-string-at-point): Reflow docstring.
390
391 * server.el (server-host): Reflow docstring.
392 (server-unload-function): Fix docstring typo.
393 (server-eval-at): Remove superfluous backslash.
394
395 * skeleton.el (skeleton-insert): Remove superfluous backslash.
396 (skeleton-insert): Doc fix.
397 (skeleton-insert): Reflow docstring.
398
399 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
400 (tty-color-approximate, tty-color-by-index, tty-color-values)
401 (tty-color-desc): Remove superfluous backslashes.
402
403 2014-03-21 Glenn Morris <rgm@gnu.org>
404
405 * cus-start.el (history-length): Bump :version.
406
407 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
408 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
409 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
410 Don't set `make-backup-files'.
411
412 * info.el (info--prettify-description): New function,
413 to give info-finder descriptions consistent case, punctuation.
414 (Info-finder-find-node): Use it. Sort packages.
415 Refer to "description" rather than "commentary".
416
417 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
418
419 * frameset.el (frameset--print-register): New function.
420 (frameset-to-register): Use it.
421
422 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
423
424 * progmodes/hideif.el (hif-string-to-number): New function.
425 (hif-tokenize): Use it to understand non-decimal floats.
426
427 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
428
429 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
430
431 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * electric.el (electric-newline-and-maybe-indent): New command.
434 Bind it globally to C-j.
435 (electric-indent-mode): Don't mess with the global map any more.
436 Don't drop the post-self-insert-hook is some buffer is still using it
437 (bug#16770).
438 * bindings.el (global-map): Remove C-j binding.
439
440 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
441 the docstring of functions advised before dumping (bug#16993).
442
443 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
444
445 * ps-print.el (ps-generate-postscript-with-faces):
446 Explicitly deactivate the mark (bug#16866).
447 * simple.el (deactivate-mark): Update region highlight.
448
449 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
450
451 * emacs-lisp/package.el (describe-package-1):
452 Decode commentary (bug#16733).
453
454 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
455
456 * custom.el (defcustom): Doc fix: recommend avoiding destructive
457 modification of the value argument of :set (bug#16755).
458
459 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * simple.el (newline-and-indent): Do autofill (bug#17031).
462
463 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
464
465 * newcomment.el (comment-normalize-vars): Only add escaping check
466 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
467 (comment-beginning): Use `narrow-to-region' instead of moving back
468 one character.
469 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
470 (comment-start-skip): Update the docstring.
471
472 2014-03-18 Richard Stallman <rms@gnu.org>
473
474 * dired.el (dired-display-file): Force use of other window.
475
476 2014-03-18 Daniel Colascione <dancol@dancol.org>
477
478 * startup.el (tty-handle-args): Remove debug message from 2007.
479
480 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
483 (advice--make-interactive-form): Use it to avoid (auto)loading function.
484 (advice--make-1, advice-add, advice-remove):
485 Remove braindead :advice-pending hack.
486
487 2014-03-17 Glenn Morris <rgm@gnu.org>
488
489 * calendar/calendar.el (calendar-generate-month): Apply weekend
490 face to the right days; fixes 2013-08-06 change. (Bug#17028)
491
492 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
493
494 * net/tramp.el (tramp-action-out-of-band): Read pending output.
495 (tramp-call-process): Trace also DESTINATION.
496
497 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
498 Quote file names when they are local. Remove superfluous trace.
499
500 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
501
502 * newcomment.el (comment-beginning): If `comment-start-skip'
503 doesn't match, move back one char and try again. (Bug#16971)
504
505 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
506 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
507 Set `comment-start-skip' to a simpler value that doesn't try to
508 check if the semicolon is escaped (this is handled by
509 `syntax-ppss' now). (Bug#16971)
510
511 * progmodes/scheme.el (scheme-mode-variables): Same.
512
513 2014-03-16 Martin Rudalics <rudalics@gmx.at>
514
515 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
516 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
517 current (Bug#16816, Bug#17007).
518 (with-current-buffer-window): New macro doing the same as
519 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
520 * help.el (help-print-return-message): Warn in doc-string to not
521 use this in `with-help-window'.
522 (describe-bindings-internal): Call `describe-buffer-bindings'
523 from within help buffer. See Juanma's scenario in (Bug#16816).
524 (with-help-window): Update doc-string.
525 * dired.el (dired-mark-pop-up):
526 * files.el (save-buffers-kill-emacs):
527 * register.el (register-preview): Use `with-current-buffer-window'
528 instead of `with-temp-buffer-window'.
529
530 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
531
532 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
533 Implement inserting into current buffer, documented in their docstrings.
534 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
535 (rst-section-tree-point, rst-forward-section, rst-indent)
536 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
537 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
538 (rst-font-lock-handle-adornment-pre-match-form)
539 (rst-repeat-last-character): Reflow docstrings.
540 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
541 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
542 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
543 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
544 Fix docstring typos.
545 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
546 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
547 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
548
549 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
550
551 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
552 for compatibility with other ports.
553 (ns-initialize-window-system): Use it. It is set in term/common-win.el
554 from the -xrm command line argument, but in the Nextstep port its value
555 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
556
557 * progmodes/python.el (defconst, python-syntax-count-quotes)
558 (python-indent-region, python-indent-shift-right)
559 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
560 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
561 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
562 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
563 (inferior-python-mode, python-shell-make-comint, run-python-internal)
564 (python-shell-buffer-substring, python-shell-send-buffer)
565 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
566 (python-completion-complete-at-point, python-fill-docstring-style)
567 (python-eldoc-function, python-imenu-format-item-label)
568 (python-imenu-format-parent-item-label)
569 (python-imenu-format-parent-item-jump-label)
570 (python-imenu--build-tree, python-imenu-create-index)
571 (python-imenu-create-flat-index): Fix docstring typos.
572 (python-indent-context, python-shell-prompt-regexp, run-python):
573 Remove superfluous backslashes.
574 (python-indent-line, python-nav-beginning-of-defun)
575 (python-shell-get-buffer, python-shell-get-process)
576 (python-info-current-defun, python-info-current-line-comment-p)
577 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
578 (python-indent-post-self-insert-function, python-shell-send-file)
579 (python-shell-completion-get-completions)
580 (python-shell-completion-complete-or-indent)
581 (python-eldoc--get-doc-at-point): Reflow docstrings.
582
583 2014-03-14 Glenn Morris <rgm@gnu.org>
584
585 * emacs-lisp/package.el (package-menu-mode-map):
586 Replace use of obsolete function alias. Tweak menu item text.
587
588 * info.el (Info-finder-find-node):
589 Ignore the `emacs' metapackage. (Bug#10813)
590
591 * finder.el (finder-list-matches): Include unversioned packages
592 in the result of a keyword search.
593
594 * finder.el (finder--builtins-descriptions): New constant.
595 (finder-compile-keywords): Use finder--builtins-descriptions.
596
597 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
598
599 * simple.el (blink-matching-paren): Describe the new value,
600 `jump', enabling the old behavior.
601 (blink-matching-open): Use that value. (Bug#17008)
602
603 2014-03-14 Glenn Morris <rgm@gnu.org>
604
605 * finder.el (finder-no-scan-regexp): Add leim-list.
606 (finder-compile-keywords):
607 Don't skip files with same basename. (Bug#14010)
608 * Makefile.in (setwins_finder): New, excluding leim.
609 (finder-data): Use setwins_finder.
610
611 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
612 (help-function-arglist, help-make-usage): Move from here...
613 * help.el (help-split-fundoc, help-add-fundoc-usage)
614 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
615 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
616
617 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
618
619 * net/socks.el (socks, socks-override-functions)
620 (socks-find-services-entry):
621 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
622 (hif-find-ifdef-block):
623 * progmodes/modula2.el (m2-indent): Fix docstring typos.
624
625 * net/tls.el (tls-program): Reflow docstring.
626
627 * progmodes/pascal.el (pascal-mode-abbrev-table)
628 (pascal-imenu-generic-expression, pascal-auto-endcomments)
629 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
630 (pascal-outline-mode): Fix docstring typos.
631 (pascal-mode): Let define-derived-mode document mode hook.
632 (pascal-uncomment-area): Reflow.
633 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
634
635 * progmodes/opascal.el (opascal-compound-block-indent)
636 (opascal-case-label-indent): Fix docstring typos.
637 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
638
639 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
640
641 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
642 Fontify multiple adjacent negation chars. (Bug#17004)
643
644 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
645
646 * emacs-lisp/package.el (package--prepare-dependencies):
647 Accept requirements without explicit version (bug#14941).
648
649 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
650
651 * register.el (register-separator, copy-to-register): Doc fixes.
652 (register-preview-default): Remove unnecessary call to concat.
653
654 * frameset.el (frameset-restore): When checking for a visible frame,
655 use the action map instead of calling visible-frame-list.
656
657 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
658
659 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
660
661 2014-03-12 Martin Rudalics <rudalics@gmx.at>
662
663 * window.el (fit-frame-to-buffer): Get maximum width from
664 display's width instead of height.
665
666 2014-03-12 Glenn Morris <rgm@gnu.org>
667
668 * desktop.el (desktop-restore-frames)
669 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
670 (desktop-restore-reuses-frames): Doc tweaks.
671
672 * electric.el (electric-indent-mode): Doc fix.
673
674 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
675
676 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
677 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
678 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
679 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
680 (cvs-dired-use-hook): Fix docstring typos.
681 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
682 Doc fixes.
683
684 * vc/pcvs-defs.el (cvs-auto-remove-handled)
685 (cvs-auto-remove-directories, cvs-default-ignore-marks)
686 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
687 (cvs-execute-single-dir): Fix docstring typos.
688
689 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
690 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
691
692 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
693
694 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
695 Fix docstring typos.
696
697 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
698
699 * frameset.el (frameset--jump-to-register): Add autoload; it could be
700 called from jump-to-register after unloading the frameset package.
701
702 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
705 (bug#16975). Deactivate the mark before setting it to nil.
706 (activate-mark): Do nothing if region is already active.
707
708 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
709
710 * frameset.el (frameset--target-display): Remove definition; declare.
711 (frameset-save, frameset-restore): Let-bind frameset--target-display.
712
713 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
716 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
717 when the advice is pending.
718 (advice-remove): Remove this marker when not needed any more.
719
720 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
721
722 * frameset.el: Separate options for reusing frames and cleaning up.
723 (frameset--reuse-list): Remove definition; declare.
724 (frameset--action-map): Declare.
725 (frameset--find-frame-if): Doc fix.
726 (frameset--restore-frame): Cache frame action.
727 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
728 how to clean up the frame list after restoring. Remove cleaning
729 options from REUSE-FRAMES. Change all keyword values to symbols.
730 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
731
732 * desktop.el (desktop-restore-forces-onscreen)
733 (desktop-restore-reuses-frames): Use non-keyword values.
734 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
735
736 2014-03-10 Glenn Morris <rgm@gnu.org>
737
738 * files.el (find-file): Doc fix: update info node name.
739
740 * emacs-lisp/advice.el (ad-add-advice, defadvice):
741 Doc fix: remove references to deleted info nodes.
742
743 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
744
745 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
746 Do not add `nil' to the environment, when there's no remote `locale'.
747 (tramp-find-inline-encoding): Check, that the remote host has
748 installed perl, before sending scripts.
749
750 2014-03-10 Leo Liu <sdl.web@gmail.com>
751
752 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
753 Clear eldoc-last-message. (Bug#16920)
754
755 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
758 (bug#14430).
759
760 2014-03-09 Juri Linkov <juri@jurta.org>
761
762 * ansi-color.el (ansi-color-names-vector): Copy default colors
763 from `xterm-standard-colors' that look well on the default white
764 background (and also on the black background) to avoid illegible
765 color combinations like yellow-on-white and white-on-white.
766 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
767
768 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
769
770 * frameset.el (frameset-restore): When no frame is visible, do not
771 generate a list of frames, just make visible the selected one.
772
773 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
774
775 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
776 it only contains the repository root. (Bug#16897)
777
778 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
779
780 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
781 only when `remote-file-name-inhibit-cache' is nil.
782 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
783
784 2014-03-06 Martin Rudalics <rudalics@gmx.at>
785
786 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
787 Fix doc-strings.
788 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
789 fit-frame-to-buffer variable. Fix doc-string.
790 (fit-window-to-buffer): Set ONLY argument in call of
791 fit-frame-to-buffer. Fix doc-string.
792
793 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
794
795 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
796 (tramp-action-password): Clear password cache if needed.
797 (tramp-read-passwd): Do not clear password cache.
798
799 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
800 cache unless it is the first password request.
801
802 2014-03-06 Glenn Morris <rgm@gnu.org>
803
804 * simple.el (newline): Doc tweak.
805
806 * emacs-lisp/shadow.el (load-path-shadows-find):
807 Ignore dir-locals. (Bug#12357)
808
809 2014-03-05 Glenn Morris <rgm@gnu.org>
810
811 * files.el (interpreter-mode-alist):
812 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
813
814 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
815
816 * frameset.el (frameset--initial-params): Filter out null entries.
817
818 2014-03-05 Martin Rudalics <rudalics@gmx.at>
819
820 * window.el (window-min-height, window-min-width):
821 Rewrite doc-strings.
822 (window-body-size): Add PIXELWISE argument to make it consistent
823 with its callees.
824
825 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
826
827 * finder.el (finder-mode-map, finder-mode-syntax-table):
828 Revert part of 2014-02-28 change.
829
830 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
831
832 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
833 (eww-setup-buffer): Clear next/prev/etc more reliably.
834 (eww-textarea-map): [tab] doesn't work on tty.
835 Reported by Mario Lang.
836
837 * net/shr.el (shr-map): Ditto.
838
839 2014-03-04 Glenn Morris <rgm@gnu.org>
840
841 * minibuffer.el (completion-hilit-commonality):
842 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
843
844 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
845
846 * hilit-chg.el (hilit-chg-unload-function): New function.
847 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
848 (hilit-chg-map-changes): Prefer cardinal number to digit.
849 (hilit-chg-display-changes): Reflow docstring.
850 (highlight-changes-rotate-faces): Remove superfluous backslash.
851
852 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
853
854 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
855 `tramp-send-command-and-check'.
856
857 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
858
859 * hexl.el (hexl-address-region, hexl-ascii-region)
860 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
861 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
862 (hexl-forward-word, hexl-previous-line, hexl-next-line):
863 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
864 (hexl-mode): Doc fix.
865 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
866 (hexl-mode-ruler): Fix typos in docstrings.
867
868 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
869 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
870 Remove superfluous backslashes.
871 (strokes-last-stroke, strokes-global-map, strokes-mode):
872 Reflow docstrings.
873 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
874 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
875 (strokes-distance-squared, strokes-global-set-stroke)
876 (strokes-global-set-stroke-string): Doc fixes.
877 (strokes-help): Fix typos; reflow docstring.
878
879 2014-03-04 Martin Rudalics <rudalics@gmx.at>
880
881 * window.el (window-in-direction): Fix doc-string.
882
883 2014-03-04 Glenn Morris <rgm@gnu.org>
884
885 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
886 Explicit error if no grammar.
887 (smie-config-save): Doc fix. Fix quote typo.
888
889 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
892 electric-indent-mode-hook if we obey electric-indent-mode.
893 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
894 decide whether we obey electric-indent-mode.
895 (c-change-set-fl-decl-start, c-extend-after-change-region):
896 Silence warnings.
897 (c-electric-indent-mode-hook): Assume we do want to obey
898 electric-indent-mode.
899
900 * electric.el (electric-indent-mode-has-been-called): Remove.
901 (electric-indent-mode): Fix accordingly.
902
903 * files.el (hack-local-variables): Mention file name in warning.
904
905 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
906
907 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
908
909 * binding.el: Add comment describing why C-d binds to `delete-char'.
910 * simple.el (delete-forward-char): Mark as interactive-only.
911
912 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
913
914 * icomplete.el (icomplete-completions):
915 Follow-up to 2014-03-01 change.
916
917 * icomplete.el: Miscellaneous doc fixes.
918 Use Icomplete everywhere instead of icomplete for consistency.
919 (icomplete-max-delay-chars): Fix typo.
920 (icomplete-mode): Use \[].
921 (icomplete-tidy, icomplete-exhibit): Reflow.
922 (icomplete-minibuffer-setup-hook, icomplete-completions):
923 Remove superfluous backlashes.
924
925 * ido.el: Miscellaneous doc fixes.
926 Use Ido everywhere instead of ido or `ido' for consistency.
927 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
928 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
929 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
930 (ido-separator): Extract obsolescence info from docstring and declare
931 with make-obsolete-variable.
932 (ido-minibuffer-setup-hook): Simplify example.
933 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
934 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
935 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
936 (ido-everywhere): Reflow docstring.
937 (ido-toggle-vc): Doc fix.
938 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
939 of long list of keybindings.
940
941 2014-03-03 Glenn Morris <rgm@gnu.org>
942
943 * frame.el (display-pixel-height, display-pixel-width)
944 (display-mm-dimensions-alist, display-mm-height)
945 (display-mm-width): Doc tweaks.
946
947 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
948
949 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
950 case of undo in region.
951
952 2014-03-02 Martin Rudalics <rudalics@gmx.at>
953
954 * window.el (fit-window-to-buffer): Fix argument in window-size
955 call when window is horizontally combined.
956
957 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
958
959 * icomplete.el (icomplete-completions): Use string-width.
960 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
961
962 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
963
964 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
965 Highlight regexp options. (Bug#16914)
966
967 2014-03-01 Martin Rudalics <rudalics@gmx.at>
968
969 * window.el (window--max-delta-1): Round down when calculating
970 how many lines/columns we can get from a window.
971
972 2014-03-01 Glenn Morris <rgm@gnu.org>
973
974 * isearch.el (search-invisible): Doc fix.
975
976 * minibuffer.el (completion-hilit-commonality):
977 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
978 * comint.el (comint-dynamic-list-completions): Doc fix.
979 * comint.el (comint-dynamic-list-completions):
980 * filecache.el (file-cache-minibuffer-complete):
981 * tempo.el (tempo-display-completions):
982 * eshell/em-hist.el (eshell-list-history):
983 Replace use of obsolete argument of display-completion-list.
984
985 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
986
987 * icomplete.el (icomplete-completions):
988 Revert back to using "..." when ?… cannot be displayed.
989
990 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
991
992 * finder.el (finder-unload-function): New function.
993
994 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
995
996 * dframe.el (dframe-detach):
997 * find-dired.el (find-dired, find-name-dired):
998 * finder.el (finder-mode-map, finder-mode-syntax-table)
999 (finder-headmark, finder-select, finder-mouse-select):
1000 Fix docstring typos.
1001
1002 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1003
1004 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1005 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1006 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1007 Fix doc-string based on a suggestion by Nicolas Richard
1008 <theonewiththeevillook@yahoo.fr>.
1009 * help.el (with-help-window): Fix doc-string.
1010
1011 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1012
1013 * net/shr.el (shr-image-animate): New option.
1014 (shr-put-image): Respect shr-image-animate.
1015
1016 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1017
1018 * net/tramp-adb.el (tramp-adb-parse-device-names):
1019 Use `accept-process-output'.
1020 (tramp-adb-handle-file-truename): Cache the localname only.
1021 (tramp-adb-handle-make-directory)
1022 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1023 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1024 modes cannot be changed.
1025
1026 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1027 file properties of symlinks.
1028
1029 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1030
1031 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1032 required/optional fields to match development biblatex. (Bug#16781)
1033
1034 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1035
1036 * saveplace.el (toggle-save-place):
1037 Fix argument handling. (Bug#16673)
1038
1039 2014-02-28 Glenn Morris <rgm@gnu.org>
1040
1041 * minibuffer.el (completions-first-difference)
1042 (completions-common-part, completion-hilit-commonality): Doc fixes.
1043
1044 2014-02-28 Karl Berry <karl@gnu.org>
1045
1046 * info.el (Info-mode-map): Add H for describe-mode,
1047 to synchronize with standalone Info.
1048
1049 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1050
1051 * progmodes/sql.el (sql-interactive-mode):
1052 Avoid setting global comint-input-ring-separator. (Bug#16814)
1053
1054 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1055
1056 * net/dbus.el (dbus--init-bus): Declare function.
1057 (dbus-path-local, dbus-interface-local): New defconst.
1058 (dbus-init-bus): Use them.
1059 (dbus-return-values-table): Extend doc.
1060 (dbus-handle-bus-disconnect): Extend error message.
1061
1062 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1063
1064 * subr.el (y-or-n-p): Fix double space issue in message.
1065
1066 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1067
1068 * net/tramp.el (tramp-call-process): Improve trace message.
1069 (tramp-handle-insert-file-contents): Trace error case.
1070
1071 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1072 <insert-directory>: Use `tramp-handle-insert-directory'.
1073 (tramp-adb-handle-insert-directory): Remove function.
1074 (tramp-adb-send-command-and-check): New defun, replacing
1075 `tramp-adb-command-exit-status'. Change all callees.
1076 (tramp-adb-handle-file-attributes)
1077 (tramp-adb-handle-directory-files-and-attributes): Use it.
1078 (tramp-adb-ls-output-name-less-p):
1079 Use `directory-listing-before-filename-regexp'.
1080 (tramp-adb-handle-delete-directory): Flush also file properties of
1081 the truename of directory.
1082 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1083 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1084 (tramp-adb-handle-write-region): Implement APPEND.
1085 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1086 properties correctly.
1087 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1088 variables. Check for connected devices only when needed.
1089
1090 2014-02-27 Glenn Morris <rgm@gnu.org>
1091
1092 * minibuffer.el (completion-table-dynamic)
1093 (completion-table-with-cache): Doc fixes.
1094
1095 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1096 (completing-read-multiple): Doc fixes.
1097
1098 2014-02-27 Daniel Colascione <dancol@dancol.org>
1099
1100 * minibuffer.el (completion--nth-completion): Fix indentation.
1101
1102 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1103 explicit tramp path is empty.
1104
1105 2014-02-27 Glenn Morris <rgm@gnu.org>
1106
1107 * emacs-lisp/crm.el (completing-read-multiple):
1108 Empower help-enable-auto-load.
1109
1110 2014-02-26 Glenn Morris <rgm@gnu.org>
1111
1112 * startup.el (command-line): Don't init the tty in daemon mode.
1113
1114 Avoid calling tty-setup-hook twice, eg if a term file
1115 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1116 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1117 (tty-create-frame-with-faces): Use it.
1118 * startup.el (command-line): Pass run-hook argument
1119 to tty-run-terminal-initialization.
1120
1121 * dired.el (dired-restore-desktop-buffer): Demote errors;
1122 eg in case a glob match fails. (Bug#16884)
1123
1124 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1125
1126 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1127 error from `read-from-string'. (Bug#16850)
1128
1129 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1130 result of `completing-read' in the interactive form. (Bug#16854)
1131
1132 2014-02-25 Glenn Morris <rgm@gnu.org>
1133
1134 * image.el (image-animate, image-animate-timeout):
1135 Stop animating images in dead buffers. (Bug#16878)
1136
1137 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1138
1139 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1140 Doc fixes.
1141 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1142 * term/sun.el (sun-raw-prefix-hooks):
1143 Use tty-setup-hook instead of term-setup-hook.
1144 (terminal-init-sun): Construct message from bytecomp plist.
1145 * term/wyse50.el (enable-arrow-keys): Doc fix.
1146
1147 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1148
1149 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1150 Fix docstring typos.
1151
1152 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1153
1154 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1155
1156 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1157
1158 * minibuffer.el (completion--try-word-completion):
1159 Fix error when completing M-x commands (bug#16808).
1160
1161 2014-02-24 Leo Liu <sdl.web@gmail.com>
1162
1163 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1164
1165 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1166
1167 * apropos.el (apropos-print): Avoid formatting error when
1168 apropos-do-all and apropos-compact-layout are both t.
1169
1170 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1171
1172 * apropos.el (apropos-property, apropos-all-words-regexp)
1173 (apropos-true-hit, apropos-variable, apropos-print):
1174 Fix docstring typos, and remove obsolete comment.
1175
1176 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1177
1178 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1179 Preserve trailing "/". (Bug#16851)
1180
1181 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1182
1183 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1184 after `=>' (bug#16811).
1185 (ruby-smie-rules): Handle the inconsistent second element of the
1186 list returned by `smie-indent--parent'.
1187 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1188 method call.
1189
1190 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1191
1192 * elec-pair.el (electric-pair-text-syntax-table)
1193 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1194 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1195 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1196 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1197
1198 2014-02-22 Glenn Morris <rgm@gnu.org>
1199
1200 * imenu.el (imenu--generic-function): Doc fix.
1201
1202 * register.el (frame-configuration-to-register): Make obsolete.
1203
1204 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1205
1206 * desktop.el (desktop-save-buffer-p): Do not fail when
1207 desktop-files-not-to-save is nil. Return t for true result
1208 as the doc says.
1209
1210 2014-02-22 Daniel Colascione <dancol@dancol.org>
1211
1212 * net/secrets.el (secrets-create-item, secrets-search-items):
1213 Check that attribute values are strings, avoiding the construction
1214 of invalid dbus messages.
1215
1216 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1219 defun-declarations-alist.
1220
1221 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1222
1223 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1224 (bug#16829).
1225
1226 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1227
1228 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1229 (whitespace-newline, whitespace-trailing, whitespace-line)
1230 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1231 (whitespace-space-after-tab): Fix typo in docstrings.
1232
1233 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1234
1235 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1236
1237 * electric.el (electric-indent-functions-without-reindent):
1238 Add `yaml-indent-line'.
1239
1240 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1241
1242 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1243 It has done nothing for years; should be removed after the release.
1244
1245 * simple.el (choose-completion): Fix docstring typo.
1246 (read-quoted-char-radix): Remove unneeded * in docstring.
1247 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1248 Don't escape parentheses unnecessarily in docstrings.
1249
1250 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1251
1252 Fix handling of window-min-height/-width (Bug#16738).
1253 * window.el (window--dump-window, window--dump-frame):
1254 New functions.
1255 (window--min-size-1): Account for window dividers.
1256 When window-resize-pixelwise is nil, delay rounding till after the
1257 sum of the window components has been calculated.
1258 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1259 nil make sure at least one text line and two text columns remain
1260 fully visible.
1261 (window-resize): Signal an error when window-resize-apply fails.
1262 (window--resize-child-windows): Fix calculation of by how many
1263 pixels a window can still be shrunk via window-new-normal.
1264 (adjust-window-trailing-edge): Call window--resizable with
1265 correct TRAIL argument.
1266
1267 (with-temp-buffer-window): Don't evaluate BODY within
1268 with-current-buffer (Bug#16816).
1269
1270 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1271
1272 * net/tramp.el (tramp-check-cached-permissions):
1273 Call `file-attributes' with `suffix' being a symbol but a string.
1274
1275 2014-02-21 Daniel Colascione <dancol@dancol.org>
1276
1277 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1278 (dbus-init-bus): New function: call into dbus-init-bus-1
1279 and installs a handler for the disconnect signal.
1280 (dbus-call-method): Rewrite to look for result in cons.
1281 (dbus-call-method-handler): Store result in cons.
1282 (dbus-check-event): Recognize events with nil sender as valid.
1283 (dbus-handle-bus-disconnect): New function. React to bus
1284 disconnection signal by synthesizing dbus error for each
1285 pending synchronous or asynchronous call.
1286 (dbus-notice-synchronous-call-errors): New function.
1287 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1288 is true, not all the time.
1289
1290 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1291
1292 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1293 Remove obsolescence declarations, these variables do not exist anymore.
1294
1295 * savehist.el (savehist-save-minibuffer-history)
1296 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1297 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1298 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1299 mostly, refer to "Savehist mode" when talking about the mode,
1300 and not the function.
1301
1302 * saveplace.el (save-place): Remove redundant info in docstring.
1303 (save-place-forget-unreadable-files, toggle-save-place)
1304 (save-place-forget-unreadable-files, save-place-dired-hook):
1305 Fix typos and remove unneeded backslashes.
1306
1307 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1310 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1311
1312 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1313 <insert-directory>: Use `tramp-handle-insert-directory'.
1314 (tramp-gvfs-handle-insert-directory): Remove function.
1315
1316 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1317 Call `tramp-handle-insert-directory'.
1318
1319 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1320
1321 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1322 before the start of buffer/region (bug#16799).
1323
1324 2014-02-20 Glenn Morris <rgm@gnu.org>
1325
1326 * isearch.el (search-invisible): Doc fix.
1327
1328 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1329
1330 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1331 (bug#16657).
1332
1333 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1334
1335 * frameset.el (frameset-restore): Delay removing an old frame's
1336 duplicate id until the new frame has been correctly created.
1337
1338 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1339
1340 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1341 (tramp-check-cached-permissions): Call `file-attributes' if the
1342 cache is empty.
1343
1344 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1345 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1346
1347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1348 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1349 (tramp-gvfs-maybe-open-connection): Set always connection
1350 properties, even if target is mounted already.
1351
1352 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1353 Set tramp-autoload cookie.
1354 (tramp-get-remote-touch): New defun.
1355 (tramp-sh-handle-set-file-times): Use it.
1356 (tramp-sh-handle-directory-files-and-attributes):
1357 Use `tramp-handle-directory-files-and-attributes' if neither stat
1358 nor perl are available on the remote host.
1359
1360 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1361 "/". Write long listing only when "l" belongs to the switches.
1362
1363 * net/trampver.el: Update release number.
1364
1365 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1366
1367 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1368
1369 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1370
1371 * window.el (window-state-put): Allow WINDOW to refer to an
1372 internal window (Bug#16793).
1373
1374 2014-02-19 Glenn Morris <rgm@gnu.org>
1375
1376 * textmodes/remember.el: Move provide statement to end.
1377 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1378 (remember-notes): Doc fixes.
1379
1380 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * delsel.el (delete-char): Restore incorrectly erased property
1383 (bug#16795).
1384
1385 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1386
1387 * frameset.el (frameset--restore-frame): When a frame is being reused
1388 and its root window is not alive, delete all the frame's windows before
1389 restoring the window state. This works around the issue in bug#16793.
1390
1391 2014-02-18 Glenn Morris <rgm@gnu.org>
1392
1393 * textmodes/remember.el (remember-data-directory)
1394 (remember-directory-file-name-format, remember-store-in-files)
1395 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1396 (remember-notes-save-and-bury-buffer)
1397 (remember-notes--kill-buffer-query): Doc fixes.
1398
1399 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1400
1401 2014-02-17 Alan Mackenzie <acm@muc.de>
1402
1403 Connect electric-indent-mode up with CC Mode. Bug #15478.
1404 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1405 to electric-indent-{,local-}-mode.
1406 (c-basic-common-init): Set electric-indent-inhibit.
1407 Initialise c-electric-flag from electric-indent-mode.
1408 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1409 New hook functions which propagate electric-indent-mode to CC mode.
1410
1411 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1412 hit, toggle electric-indent-local-mode.
1413
1414 * electric.el (electric-indent-mode-has-been-called):
1415 New variable.
1416
1417 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1418
1419 * frameset.el (frameset-cfg-id): New function.
1420 (frameset--reuse-frame, frameset-restore): Use it.
1421 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1422
1423 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1424
1425 * ido.el (ido-file-internal): Remove unused var `d'.
1426 Use \` for to match BoS. Fit within 80n columns.
1427
1428 2014-02-17 Daniel Colascione <dancol@dancol.org>
1429
1430 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1431 dbus-call-method check for completion using a busy-wait loop with
1432 gradual backoff.
1433
1434 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1435
1436 Sync with Tramp 2.2.9.
1437
1438 * net/trampver.el: Update release number.
1439
1440 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1441
1442 * ido.el (ido-file-internal): Don't add the name of an existing
1443 directory twice. (Bug#16747)
1444
1445 2014-02-16 Glenn Morris <rgm@gnu.org>
1446
1447 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1448 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1449
1450 2014-02-15 Michael R. Mauger <michael@mauger.com>
1451
1452 * progmodes/sql.el: Version 3.4
1453 (sql-oracle-options): New default value ("-L").
1454 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1455 (sql-placeholders-filter): Correct placeholder pattern.
1456 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1457 (sql-login-delay): New variable.
1458 (sql-product-interactive): Use it.
1459
1460 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1461
1462 * frameset.el (frameset--jump-to-register): Check that buffer is live
1463 (bug#16749).
1464
1465 2014-02-15 Glenn Morris <rgm@gnu.org>
1466
1467 * info.el (info-initialize): Revert 2014-01-10 change.
1468
1469 2014-02-14 Glenn Morris <rgm@gnu.org>
1470
1471 * replace.el (map-query-replace-regexp)
1472 (read-regexp-defaults-function, read-regexp): Doc fixes.
1473
1474 * dired.el (dired-read-regexp):
1475 * faces.el (list-faces-display):
1476 * misearch.el (multi-isearch-read-matching-buffers)
1477 (multi-isearch-read-matching-files):
1478 * play/cookie1.el (cookie-apropos):
1479 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1480
1481 * textmodes/remember.el (remember): Use frameset-to-register
1482 rather than frame-configuration-to-register.
1483
1484 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1485
1486 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1487 incorrect keybinding.
1488
1489 2014-02-13 Daniel Colascione <dancol@dancol.org>
1490
1491 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1492 when adding overlays so that line numbers from compiler match line
1493 numbers we use.
1494
1495 2014-02-13 Glenn Morris <rgm@gnu.org>
1496
1497 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1498
1499 * jit-lock.el (jit-lock-mode): Doc fix.
1500
1501 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1502
1503 * apropos.el (apropos-read-pattern): When the user passes an empty
1504 string, give a more helpful error message than "Wrong type
1505 argument: stringp, nil".
1506
1507 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1510
1511 2014-02-13 Glenn Morris <rgm@gnu.org>
1512
1513 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1514
1515 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1518 shift-select commands.
1519
1520 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1521
1522 * progmodes/js.el (js-indent-line): Don't widen.
1523 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1524
1525 2014-02-12 Glenn Morris <rgm@gnu.org>
1526
1527 * icomplete.el (icomplete): Add info-link to defgroup.
1528 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1529 (icomplete-minibuffer-map, icomplete-mode)
1530 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1531
1532 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1533 (package-menu-filter): Rename from package-menu-filter-interactive.
1534 Doc fix.
1535
1536 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1537
1538 * frameset.el (frameset--jump-to-register): Select the required
1539 window and buffer before restoring position (bug#16696).
1540
1541 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1542
1543 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1544
1545 2014-02-10 Glenn Morris <rgm@gnu.org>
1546
1547 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1548
1549 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1550
1551 * w32-common-fns.el (x-get-selection): Doc fix.
1552 * select.el (x-get-selection): Doc fix. (Bug#15109)
1553
1554 * face-remap.el (face-remap-add-relative)
1555 (face-remap-remove-relative, face-remap-reset-base)
1556 (face-remap-set-base): Call force-mode-line-update to redisplay
1557 the current buffer due to potential change in faces. (Bug#16709)
1558
1559 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1562 script more robustly.
1563
1564 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1565
1566 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1567
1568 * simple.el (choose-completion): Doc fix (bug#14160).
1569
1570 * subr.el (event-start): Say what a nil EVENT value means.
1571
1572 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1573 (bug#14197).
1574
1575 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1576
1577 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1578
1579 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1580
1581 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1582 predicate function (bug#15455).
1583
1584 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1585
1586 * ielm.el (inferior-emacs-lisp-mode): Instead of
1587 `comment-use-global-state', set `comment-use-syntax'.
1588
1589 2014-02-10 Glenn Morris <rgm@gnu.org>
1590
1591 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1592
1593 2014-02-09 Alan Mackenzie <acm@muc.de>
1594
1595 Fix c-invalidate-state-cache on narrowed buffers.
1596 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1597 Widen when setting and clearing the CPP delimiter properties.
1598
1599 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1600
1601 * help.el (describe-bindings): Doc fix (bug#9888).
1602
1603 * files.el (save-buffer): Use ARG as the parameter name for
1604 consistency (bug#10346).
1605 (save-buffer): Clarify the 0 argument (bug#10346).
1606
1607 * cus-edit.el (customize-apropos): Fix error string.
1608 (custom-buffer-create): Doc fix (bug#11122).
1609 (custom-sort-items): Doc fix (bug#11121).
1610
1611 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1612
1613 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1614 (icomplete-simple-completing-p): Mention the previous variable.
1615
1616 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1617 meaning of the parameter (bug#12282).
1618
1619 * files.el (find-file-noselect): Clarify prompt when changing
1620 readedness (bug#13261).
1621 (locate-file): Suffixes aren't returned, so don't say that they
1622 are (bug#12674).
1623 (backup-inhibited): Doc clarification (bug#12525).
1624
1625 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1626 before we actually start to delete things (bug#16331).
1627
1628 * subr.el (event-start): Doc fix (bug#14228).
1629 (event-end): Ditto.
1630
1631 2014-02-09 Glenn Morris <rgm@gnu.org>
1632
1633 * emacs-lisp/warnings.el (lwarn):
1634 Empower help-enable-auto-load. (Bug#15940)
1635
1636 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1637
1638 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1639 (Bug#16690)
1640
1641 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1644 Insert output at end of buffer. (Bug#16120)
1645
1646 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1647
1648 * simple.el (choose-completion-string-functions): Document new
1649 calling convention (bug#14153).
1650 (execute-extended-command): Clarify doc string (bug#13373).
1651
1652 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1653
1654 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1655 (find-grep-dired): Doc fix (bug#14288).
1656
1657 2014-02-08 Juri Linkov <juri@jurta.org>
1658
1659 * isearch.el (isearch-quote-char): Check character validity
1660 like in `quoted-insert' (bug#16677).
1661
1662 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1663
1664 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1665
1666 * isearch.el (isearch-hide-immediately): Doc clarification
1667 (bug#14723).
1668
1669 * simple.el (line-move): Document utility function used many
1670 places in the Emacs sources (bug#14843).
1671
1672 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1673 (dired-prev-marked-file): Doc fix (bug#14855).
1674 (dired-up-directory): Doc fix (bug#14848).
1675
1676 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1677
1678 * files.el (file-relative-name): Doc fix (bug#15159).
1679
1680 * fringe.el (fringe-styles): Doc fix (bug#15239).
1681
1682 * isearch.el (isearch-filter-predicate): Documentation typo fix
1683 (bug#15474).
1684
1685 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1686
1687 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1688
1689 * replace.el (replace-match-maybe-edit): Doc clarification
1690 (bug#15632).
1691
1692 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1693
1694 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1695
1696 2014-02-08 Glenn Morris <rgm@gnu.org>
1697
1698 * help-fns.el (describe-variable):
1699 Check {file,dir}-local-variables-alist, and buffer-file-name,
1700 in the correct buffer.
1701
1702 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1703
1704 * help-fns.el (describe-variable): Fix the case where
1705 a value is directory-local with no dir-locals file. (Bug#16635)
1706
1707 2014-02-08 Glenn Morris <rgm@gnu.org>
1708
1709 * abbrev.el (edit-abbrevs-mode):
1710 Derive from fundamental-mode. (Bug#16682)
1711
1712 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1713
1714 * simple.el (quoted-insert): Check character validity (bug#16677).
1715
1716 2014-02-07 Juri Linkov <juri@jurta.org>
1717
1718 * desktop.el (desktop-read): Claim the lock when the owner is not
1719 the current process. (Bug#16157)
1720
1721 2014-02-07 Juri Linkov <juri@jurta.org>
1722
1723 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1724 to "\\` ". (Bug#16651)
1725
1726 2014-02-07 Juri Linkov <juri@jurta.org>
1727
1728 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1729 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1730 (desktop-auto-save-cancel-timer): New function with some code from
1731 `desktop-auto-save-set-timer'.
1732 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1733 Instead of setting `desktop-save-mode' to nil, call
1734 `desktop-save-mode' with arg 0. (Bug#16630)
1735
1736 2014-02-07 Glenn Morris <rgm@gnu.org>
1737
1738 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1739 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1740 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1741
1742 * obsolete/iswitchb.el: Move to obsolete/.
1743 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1744 since obsolete/ is not scanned for autoloads.
1745 * emacs-lisp/authors.el (authors-valid-file-names):
1746 Add iswitchb.el.
1747
1748 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1749 Disable now non-functional find-file-hook.
1750
1751 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1752
1753 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1754 instead of ";" in order to avoid additional prompts. Let heredoc
1755 scripts read from tty. (Bug#16582)
1756 (tramp-send-command): No special handling of heredocs, it isn't
1757 necessary anymore.
1758
1759 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1762 with a space (bug#16664). Limit the symbols considered to the ones
1763 that are bound or fbound (bug#16646).
1764
1765 2014-02-06 Glenn Morris <rgm@gnu.org>
1766
1767 * epa.el (epa-mail-aliases): Doc fix.
1768
1769 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1770
1771 * emacs-lisp/lisp.el (lisp-completion-at-point):
1772 Use `completion-table-merge' instead of `completion-table-in-turn'
1773 (bug#16604).
1774
1775 * minibuffer.el (completion-table-merge): New function.
1776
1777 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1778
1779 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1780 (tramp-sh-handle-set-file-acl)
1781 (tramp-sh-handle-start-file-process)
1782 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1783 (tramp-find-executable, tramp-send-command): Use it.
1784
1785 2014-02-05 Glenn Morris <rgm@gnu.org>
1786
1787 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1788
1789 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1790
1791 * progmodes/python.el (python-shell-send-string)
1792 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1793
1794 2014-02-04 Anders Lindgren <andlind@gmail.com>
1795
1796 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1797 the names (bug#16620).
1798
1799 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1800
1801 * faces.el (window-divider): New default value. Rewrite doc-string.
1802 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1803
1804 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1805
1806 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1807 `protected' and `public' can also be called without arguments.
1808
1809 2014-02-03 Glenn Morris <rgm@gnu.org>
1810
1811 * register.el (window-configuration-to-register)
1812 (frame-configuration-to-register): Unadvertise unused argument.
1813 * frameset.el (frameset-to-register): Remove unused argument.
1814
1815 * frameset.el (frameset-to-register):
1816 * kmacro.el (kmacro-to-register):
1817 * register.el (increment-register):
1818 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1819 (calc-append-to-register, calc-prepend-to-register):
1820 * play/gametree.el (gametree-layout-to-register)
1821 (gametree-apply-register-layout):
1822 * textmodes/picture.el (picture-clear-rectangle-to-register)
1823 (picture-yank-rectangle-from-register):
1824 * vc/emerge.el (emerge-combine-versions-register):
1825 Use register-read-with-preview to read registers.
1826
1827 2014-02-03 João Távora <joaotavora@gmail.com>
1828
1829 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1830 when at beginning of (possibly narrowed) buffer.
1831
1832 2014-02-02 Daniel Colascione <dancol@dancol.org>
1833
1834 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1835 Also try to display local help from just before point.
1836
1837 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1838
1839 c-parse-state. Don't "append-lower-brace-pair" in certain
1840 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1841 recognised as a comment.
1842
1843 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1844 as well as normal comment starter.
1845 (c-parse-state-get-strategy): Extra return possibility
1846 'back-and-forward.
1847 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1848 return value list to indicate replacement of a brace-pair cons
1849 with its car.
1850 (c-parse-state-1): With 'back-and-forward, only call
1851 c-append-lower-brace-pair-to state-cache when cons-separated.
1852
1853 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1854
1855 * term/ns-win.el (ns-suspend-error): New function.
1856 (ns-initialize-window-system): Add ns-suspend-error to
1857 suspend-hook (Bug#16612).
1858
1859 2014-02-02 Daniel Colascione <dancol@dancol.org>
1860
1861 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1862 Make loading cc-mode silent.
1863
1864 2014-02-02 Daniel Colascione <dancol@dancol.org>
1865
1866 * comint.el (comint-prompt-read-only): Change doc to suggest
1867 remap keybinding.
1868
1869 2014-02-02 Glenn Morris <rgm@gnu.org>
1870
1871 * register.el (register-read-with-preview, point-to-register)
1872 (window-configuration-to-register, frame-configuration-to-register)
1873 (jump-to-register, number-to-register, view-register, insert-register)
1874 (copy-to-register, append-to-register, prepend-to-register)
1875 (copy-rectangle-to-register): Doc fixes.
1876
1877 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1880 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1881 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1882 * help-fns.el (describe-function-1): Use it.
1883
1884 2014-02-02 Glenn Morris <rgm@gnu.org>
1885
1886 * register.el (register-preview-default): New function,
1887 split from register-preview.
1888 (register-preview-function): Rename from register-preview-functions,
1889 make it not a hook.
1890 (register-preview): Use register-preview-function.
1891 (register-read-with-preview): Error on non-character event. (Bug#16595)
1892
1893 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1894
1895 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1896 `:' before binary operators (bug#16609). Don't check for `:'
1897 before `[' and `(', or their syntax status. A percent literal
1898 can't end with either.
1899 (ruby-font-lock-keywords): For built-ins that require arguments,
1900 check that they're followed by something that looks like argument
1901 (bug#16610).
1902
1903 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1904
1905 * subr.el (butlast): Document what an omitted N means (bug#13437).
1906 (nbutlast): Ditto.
1907
1908 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1909
1910 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1911 depth shallower (bug#16587).
1912 (shr-tag-svg): Respect `shr-inhibit-images'.
1913 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1914
1915 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1916
1917 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1918 (ruby-smie-grammar): Make "." right-associative. Make its priority
1919 lower than the ternary and all binary operators.
1920 (ruby-smie-rules): Indent "(" relative to the first non-"."
1921 parent, or the first "." parent at indentation.
1922 Use `ruby-align-chained-calls' for indentation of "." tokens.
1923 (Bug#16593)
1924
1925 2014-01-31 Juri Linkov <juri@jurta.org>
1926
1927 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1928 from `make-hash-table'.
1929
1930 * textmodes/ispell.el (ispell-init-process): Change message format
1931 to be consistent with other messages.
1932
1933 2014-01-31 Glenn Morris <rgm@gnu.org>
1934
1935 * delsel.el (delete-selection-mode): Doc fix.
1936
1937 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1938 (trace-function-background): Doc fixes.
1939
1940 * ido.el (ido-use-virtual-buffers): Doc fix.
1941 Reset :version, since the default value has not changed.
1942
1943 * register.el (register-preview-delay, register-read-with-preview):
1944 Doc fixes.
1945
1946 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1947 do not mess with mail-buffer position (fixes 2009-11-03 change).
1948 * progmodes/cc-mode.el (c-submit-bug-report):
1949 Check auto-fill-mode is bound. (Bug#16592)
1950
1951 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1952
1953 * startup.el (fancy-splash-image-file): New function,
1954 split from fancy-splash-head.
1955 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1956 so that we are both using the same image. (Bug#16574)
1957
1958 2014-01-30 Glenn Morris <rgm@gnu.org>
1959
1960 * simple.el (eval-expression): Doc fix.
1961
1962 * hexl.el (hexl-mode-hook):
1963 * ielm.el (ielm-mode-hook):
1964 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1965 (lisp-interaction-mode-hook):
1966 * progmodes/cfengine.e (cfengine3-documentation-function):
1967 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1968
1969 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1972 is a symbol (bug#16584).
1973
1974 2014-01-30 Glenn Morris <rgm@gnu.org>
1975
1976 * help.el (help-for-help-internal): Add "P" to text.
1977
1978 2014-01-29 Glenn Morris <rgm@gnu.org>
1979
1980 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1981
1982 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1983
1984 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1985 height constraints.
1986
1987 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1988
1989 * progmodes/hideif.el: Extend to full CPP expression syntax.
1990 (hif-token-alist): Add missing tokens.
1991 (hif-token-regexp): Add support for float/octal/hex immediates.
1992 (hif-string-literal-regexp): New const.
1993 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1994 (hif-exprlist): New function.
1995 (hif-parse-if-exp): Use it.
1996 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1997 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1998 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1999 (hif-logxor, hif-comma): New functions.
2000
2001 2014-01-28 Glenn Morris <rgm@gnu.org>
2002
2003 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2004
2005 * indent.el (tab-stop-list): Doc fix. Add :version.
2006
2007 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2008 (cvs-append-to-ignore): Add compatibility alias.
2009
2010 2014-01-27 Glenn Morris <rgm@gnu.org>
2011
2012 * dired.el (dired-hide-details-mode): Don't autoload it,
2013 since it cannot be used outside Dired buffers anyway.
2014
2015 * emulation/cua-base.el (cua-mode): Doc fix.
2016
2017 * dired.el (dired-hide-details-hide-symlink-targets)
2018 (dired-hide-details-hide-information-lines)
2019 (dired-hide-details-mode): Doc fixes.
2020
2021 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2022 * strokes.el (strokes-file): Doc fix. Bump :version.
2023 (strokes-help): Doc fix.
2024 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2025 * emulation/viper.el (viper): Doc fix for custom group.
2026 (top-level): Remove oh-so-no-longer-relevant text about vip.
2027 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2028
2029 * ido.el (ido-save-directory-list-file):
2030 * saveplace.el (save-place-file):
2031 * calendar/timeclock.el (timeclock-file):
2032 * net/quickurl.el (quickurl-url-file):
2033 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2034 * progmodes/idlwave.el (idlwave-config-directory):
2035 * textmodes/remember.el (remember-data-file):
2036 Bump :version.
2037
2038 2014-01-26 Glenn Morris <rgm@gnu.org>
2039
2040 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2041 Doc fix. Make obsolete.
2042 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2043
2044 * sort.el (delete-duplicate-lines): Doc fix.
2045
2046 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2047
2048 * progmodes/ada-mode.el (ada):
2049 * woman.el (woman): Link to info manual and Commentary section.
2050
2051 * progmodes/flymake.el (flymake):
2052 * nxml/nxml-mode.el (nxml):
2053 * net/eww.el (eww):
2054 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2055 * htmlfontify.el (htmlfontify):
2056 * ses.el (ses):
2057 * epa.el (epa):
2058 * ido.el (ido): Link to info manual.
2059
2060 2014-01-25 Leo Liu <sdl.web@gmail.com>
2061
2062 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2063
2064 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2065
2066 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2067 (bug#16537).
2068
2069 >>>>>>> MERGE-SOURCE
2070 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2071
2072 * net/eww.el (eww-download-callback):
2073 Fix reference to eww-download-directory.
2074
2075 * emacs-lisp/bytecomp.el (byte-compile-file):
2076 Remove unused local variable `file-name'.
2077
2078 2014-01-24 Glenn Morris <rgm@gnu.org>
2079
2080 * woman.el (woman-default-faces, woman-monochrome-faces):
2081 Fix obsolescence specification.
2082
2083 * subr.el (with-demoted-errors): Doc fix.
2084
2085 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2088 (cl--macroexp-fboundp): New function.
2089 (cl--make-type-test): Use it.
2090
2091 2014-01-23 Glenn Morris <rgm@gnu.org>
2092
2093 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2094 * simple.el (eval-expression): Doc fixes.
2095
2096 2014-01-22 Glenn Morris <rgm@gnu.org>
2097
2098 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2099
2100 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/package.el: Write files silently.
2103 (package-autoload-ensure-default-file, package--write-file-no-coding)
2104 (package-generate-description-file, package--download-one-archive)
2105 (package-install-from-archive): Tell `write-region' to stay quiet.
2106 (package-menu-mode, package-menu--print-info): Omit the Archive column
2107 if there's only one archive.
2108 (package-all-keywords, package--has-keyword-p): Remove dead code.
2109
2110 2014-01-22 Glenn Morris <rgm@gnu.org>
2111
2112 * version.el (emacs-bzr-version-bzr): Fix typo.
2113
2114 * version.el (emacs-repository-get-version):
2115 Check either .bzr or .git, but not both.
2116 Make the git case actually use the DIR argument, and return nil
2117 rather than the empty string.
2118 Avoid error if .git exists but the git executable is not found.
2119
2120 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2121
2122 Fixes in window size functions around Bug#16430 and Bug#16470.
2123 * window.el (window-total-size, window-size): New argument ROUND.
2124 (window--min-delta-1, window-min-delta, window--max-delta-1):
2125 Be more conservative when calculating the numbers of lines or
2126 columns a window can shrink (Bug#16430).
2127 (fit-window-to-buffer): Simplify code.
2128 * term.el (term-window-width): Call window-body-width again.
2129
2130 2014-01-22 Glenn Morris <rgm@gnu.org>
2131
2132 * image.el (image-format-suffixes): Doc fix.
2133
2134 * international/quail.el (quail-define-package): Doc fix.
2135
2136 * emacs-lisp/authors.el (authors-valid-file-names)
2137 (authors-renamed-files-alist): Additions.
2138
2139 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2140 reverts 2014-01-09 change. (Bug#16422)
2141
2142 * calc/calc-embed.el (thing-at-point-looking-at):
2143 * emacs-lisp/map-ynp.el (x-popup-dialog):
2144 * obsolete/lmenu.el (x-popup-dialog):
2145 * emacs-lisp/package.el (url-recreate-url):
2146 * mail/mailclient.el (clipboard-kill-ring-save):
2147 * subr.el (x-popup-dialog): Update declaration.
2148 * mail/rmail.el (rmail-mime-message-p):
2149 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2150
2151 2014-01-21 Daniel Colascione <dancol@dancol.org>
2152
2153 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2154 Correctly detect when we're inside an arithmetic expansion form
2155 containing nested parenthesis.
2156 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2157 to detect cases where we shouldn't expand "<<" to a heredoc
2158 skeleton.
2159
2160 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2163 (eldoc--message-command-p): New function.
2164 (eldoc-display-message-p): Use it.
2165 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2166 message is not automatically erased for us.
2167 (eldoc-print-current-symbol-info): Erase previous message, if any.
2168
2169 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2170
2171 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2172 specify it's an interactive function.
2173
2174 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2175 Fix regex used for scanning for citation keys which failed for
2176 citations with optional arguments.
2177
2178 2014-01-21 Leo Liu <sdl.web@gmail.com>
2179
2180 * simple.el (read--expression): Don't enable eldoc-mode.
2181
2182 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2183
2184 * simple.el (move-beginning-of-line): Make sure we don't move forward
2185 (bug#16497).
2186
2187 2014-01-20 Juri Linkov <juri@jurta.org>
2188
2189 * saveplace.el (toggle-save-place, save-place-to-alist)
2190 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2191 'dired-mode) before checking for dired-directory. (Bug#16477)
2192
2193 2014-01-20 Juri Linkov <juri@jurta.org>
2194
2195 * indent.el (indent-line-to): Use backward-to-indentation
2196 instead of back-to-indentation. (Bug#16461)
2197
2198 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2199
2200 Revert some of the CANNOT_DUMP fix (Bug#16494).
2201 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2202 but fixing this can wait until after the next release.
2203 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2204
2205 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2206
2207 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2208 Use `password-word-equivalents'.
2209 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2210 to t. (Bug#5664, Bug#13124)
2211
2212 2014-01-19 Alan Mackenzie <acm@muc.de>
2213
2214 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2215 points.
2216 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2217 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2218 * progmodes/cc-mode.el (c-before-change, c-after-change)
2219 (c-font-lock-fontify-region): Bind it here.
2220
2221 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2222
2223 * term.el (term-window-width): Call window-text-width instead of
2224 window-width (Bug#16470).
2225
2226 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2227
2228 * simple.el (password-word-equivalents): Remove duplicates.
2229 Sort, to make this easier next time.
2230 Downcase. Omit ": " after "jelszó".
2231
2232 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2233
2234 * term/common-win.el (saved-region-selection): Defvar it.
2235 (x-select-text): Set saved-region-selection (Bug#16382).
2236
2237 2014-01-18 Glenn Morris <rgm@gnu.org>
2238
2239 * emacs-lisp/authors.el (authors-aliases)
2240 (authors-renamed-files-alist): Add some entries.
2241
2242 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2243
2244 * net/tramp.el (tramp-password-prompt-regexp):
2245 Use `password-word-equivalents' if available.
2246 (tramp-action-password, tramp-process-one-action)
2247 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2248
2249 2014-01-17 Chong Yidong <cyd@gnu.org>
2250
2251 * simple.el (password-word-equivalents): New defcustom.
2252 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2253 to 24.4.
2254 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2255 to t. (Bug#13124)
2256
2257 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2258
2259 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2260 (ruby-align-to-stmt-keywords): Change the default value.
2261 Use `ruby-alignable-keywords' to generate the possible customization
2262 choices.
2263 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2264 keywords, check against the value of `ruby-alignable-keywords'
2265 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2266
2267 2014-01-17 Glenn Morris <rgm@gnu.org>
2268
2269 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2270
2271 Make M-x authors return zero *Authors Errors* from current logs.
2272 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2273 (authors-ignored-files): Add some entries, remove others.
2274 (authors-ambiguous-files, authors-valid-file-names):
2275 Add some entries.
2276 (authors-renamed-files-alist): Add, remove, and adjust entries.
2277 (authors-renamed-files-regexps): Add some entries.
2278 Remove some very broad ones. Make some entries `lax'.
2279 (authors-lax-changelogs): New constant.
2280 (authors-disambiguate-file-name): Treat top-level specially.
2281 (authors-lax-changelog-p): New function.
2282 (authors-canonical-file-name): Check file as written against
2283 authors-valid-file-names. Do not special-case etc/.
2284 Handle `lax' logs and authors-renamed-files-regexps elements.
2285
2286 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2287
2288 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2289 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2290 callers.
2291
2292 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2295 Assume we're already in the proper buffer.
2296 Inspired by Anders Lindgren <andlind@gmail.com>.
2297 (follow-post-command-hook): Call it from the right buffer.
2298 (follow-comint-scroll-to-bottom): Adjust call.
2299 (follow-all-followers): Use get-buffer-window-list.
2300
2301 2014-01-15 Daniel Colascione <dancol@dancol.org>
2302
2303 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2304 `buffer-file-name' in interactive-form so that we don't leave
2305 pathless file names in `file-name-history'.
2306
2307 2014-01-15 Juri Linkov <juri@jurta.org>
2308
2309 * indent.el (indent-rigidly): Set deactivate-mark to nil
2310 in transient indentation mode. (Bug#16438)
2311
2312 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2313
2314 * emacs-lisp/package.el (package-desc-keywords): New function
2315 (Bug#16222).
2316 (describe-package-1, package-all-keywords)
2317 (package--has-keyword-p): Use it.
2318
2319 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2320
2321 * simple.el (define-alternatives): When creating the
2322 COMMAND-alternatives variable, assign COMMAND as its definition
2323 name so that `describe-variable' can relocate it.
2324
2325 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2326
2327 * font-lock.el (font-lock-keywords): Fix typo in docstring
2328 (bug#16307).
2329
2330 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2331
2332 * ispell.el (ispell-region): Reset `in-comment' for new line
2333 instead of wrongly reset `add-coment' (bug#13577).
2334
2335 2014-01-14 Daiki Ueno <ueno@gnu.org>
2336
2337 * epa-file.el (epa-file-write-region): Encode the region according
2338 to `buffer-file-format'. Problem reported at:
2339 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2340
2341 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2342
2343 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2344 so it applies in the right buffer (bug#16410).
2345
2346 2014-01-13 Daniel Colascione <dancol@dancol.org>
2347
2348 * textmodes/rst.el (rst-define-key): Provide deprecated
2349 keybindings through named functions instead of anonymous ones so
2350 that "??" doesn't appear in describe-mode output.
2351
2352 2014-01-13 Bastien Guerry <bzg@gnu.org>
2353
2354 * simple.el (define-alternatives): Call the selected command
2355 interactively. When setting `COMMAND--implementation' for the
2356 first time, tell the user how to chose another implementation.
2357 Enhance the docstring.
2358
2359 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2362 (log-edit--match-first-line): New function.
2363 (log-edit-font-lock-keywords): Use it.
2364 (log-edit-mode): Make jit-lock-defer-multiline work.
2365
2366 2014-01-13 Bastien Guerry <bzg@gnu.org>
2367
2368 * rect.el (rectangle-mark-mode): When the region is not active,
2369 display a message saying that the mark as been set and that
2370 rectangle mode is in use.
2371 (rectangle--highlight-for-redisplay): Only put an overlay with a
2372 visible vertical bar when (display-graphic-p) is non-nil.
2373 This partially fixes Bug#16403.
2374
2375 2014-01-13 Juri Linkov <juri@jurta.org>
2376
2377 * info.el (Info-find-file): Go to DIR before displaying the error
2378 about a nonexistent file if no previous Info file is visited.
2379 Use `user-error' instead of `error' for "Info file %s does not exist".
2380 (Info-find-node-2): In case of a nonexistent node in unwind forms
2381 go to the Top node if there is no previous node to revert to.
2382 (Bug#16405)
2383
2384 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2385
2386 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2387 * window.el (fit-frame-to-buffer): Fix doc-string.
2388 Respect window-min-height/-width. Fit pixelwise when
2389 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2390 when avoiding that frame goes partially off-screen.
2391 (fit-window-to-buffer): Respect window-min-height/-width
2392 (Bug#14096).
2393
2394 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2395
2396 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2397 after an empty line.
2398
2399 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * net/shr.el (shr-render-region): Autoload.
2402
2403 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2404
2405 * net/eww.el (eww-download-directory): Rename from
2406 `eww-download-path' (Bug#16419).
2407
2408 2014-01-12 Leo Liu <sdl.web@gmail.com>
2409
2410 * dired-x.el (dired-mode-map): Fix last change.
2411
2412 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2413
2414 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2415
2416 Spelling fixes.
2417 * emacs-lisp/generic.el (generic--normalize-comments):
2418 Rename from generic--normalise-comments. All uses changed.
2419 * play/bubbles.el (bubbles--neighborhood-score)
2420 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2421 (bubbles--neighborhood-available)
2422 (bubbles--update-neighborhood-score):
2423 Rename from names with 'neighbourhood'. All uses changed.
2424
2425 2014-01-12 Leo Liu <sdl.web@gmail.com>
2426
2427 Re-implement the feature of showing eldoc info after editing.
2428 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2429 (eldoc-edit-message-commands): New function.
2430 (eldoc-print-after-edit): New variable.
2431 (eldoc-pre-command-refresh-echo-area): Emit message only by
2432 eldoc-message-commands.
2433 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2434 if eldoc-print-after-edit is set. (Bug#16346)
2435 * simple.el (read--expression): Enable eldoc-mode.
2436 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2437
2438 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2439 Eric S. Raymond <esr@thyrsus.com>
2440
2441 * version.el (emacs-repository-get-version): Enhance so the
2442 function works correctly in either a Bazaar or Git repo.
2443
2444 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2445
2446 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2447 Goes with removal of the joke manpages from /etc.
2448
2449 2014-01-10 Kenichi Handa <handa@gnu.org>
2450
2451 * mail/rmail.el (rmail-get-coding-system):
2452 Check rmail-get-coding-function before "funcall"ing it.
2453
2454 2014-01-10 Glenn Morris <rgm@gnu.org>
2455
2456 * emacs-lisp/authors.el (authors-fixed-entries):
2457 Update for files that no longer exist.
2458
2459 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2460
2461 * version.el (emacs-bzr-get-version): Restore compatibilty with
2462 24.3 (Tested).
2463
2464 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2465
2466 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2467 and Podfile.
2468
2469 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2470
2471 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2472
2473 2014-01-10 Chong Yidong <cyd@gnu.org>
2474
2475 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2476
2477 2014-01-10 Anders Lindgren <andlind@gmail.com>
2478
2479 * follow.el (follow-cache-command-list): Include right-char and
2480 left-char.
2481
2482 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2483
2484 Spelling fixes.
2485 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2486 * woman.el (woman-mark-horizontal-position):
2487 Rename from woman-mark-horizonal-position. Use changed.
2488
2489 2014-01-10 Glenn Morris <rgm@gnu.org>
2490
2491 * info.el (info-initialize): If running uninstalled, ensure our
2492 own info files are always found first, even if INFOPATH is set.
2493
2494 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2495
2496 2014-01-09 David Engster <deng@randomsample.de>
2497
2498 * emacs-lisp/eieio-custom.el:
2499 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2500 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2501 * emacs-lisp/eieio.el: Regenerate autoloads.
2502
2503 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2504
2505 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2506 following renames. (Bug#8756)
2507
2508 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2511 (bug#16382).
2512 (activate-mark): Add `no-tmm' argument.
2513 (set-mark, push-mark-command): Use it instead of running
2514 activate-mark-hook by hand.
2515
2516 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2517
2518 In preparation for the move to git, sanitize out some
2519 Bazaar-specific names.
2520
2521 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2522
2523 * version.el (emacs-bzr-version): Name changed to
2524 emacs-repository-version. Obsolete-variable alias made.
2525 * loadup.el: Follow through on this name change.
2526 * mail/emacsbug.el (report-emacs-bug): Factor out any
2527 assumption about the version control system in use.
2528
2529 2014-01-08 David Engster <deng@randomsample.de>
2530
2531 * help-fns.el (help-fns-describe-function-functions):
2532 New variable to call functions for augmenting help buffers.
2533 (describe-function-1): Remove explicit calls to
2534 `help-fns--compiler-macro', `help-fns--parent-mode' and
2535 `help-fns--obsolete'. Put them in above new variable instead, and
2536 call them through `run-hook-with-args'.
2537 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2538 `eieio-describe-class'. Not meant for interactive use anymore,
2539 but to augment existing help buffers. Remove optional second
2540 argument. Create proper button for file location.
2541 Rewrite function to use `insert' instead of `princ' and `prin1' where
2542 possible.
2543 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2544 (eieio-method-def, eieio-class-def): Move further up.
2545 (describe-method, describe-generic, eieio-describe-method):
2546 Remove aliases.
2547 (eieio-help-constructor, eieio-help-generic): Rename from
2548 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2549 Rewrite to use `insert' in the current buffer and use proper help
2550 buttons.
2551 (eieio-help-find-method-definition)
2552 (eieio-help-find-class-definition): Also accept symbols as
2553 arguments.
2554 (eieio-help-mode-augmentation-maybee): Remove.
2555 (eieio-describe-class-sb): Use `describe-function'.
2556 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2557 Add `eieio-help-generic' and `eieio-help-constructor'.
2558
2559 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2560
2561 Spelling fixes.
2562 * language/china-util.el (hz-ascii-designation):
2563 Rename from hz-ascii-designnation.
2564 (hz-ascii-designation): Rename from hz-ascii-designnation.
2565 All uses changed.
2566
2567 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2570 package-alist.
2571
2572 2014-01-08 Bastien Guerry <bzg@gnu.org>
2573
2574 * emacs-lisp/package.el (package-delete):
2575 Correctly delete the package from package-alist.
2576
2577 2014-01-08 Daiki Ueno <ueno@gnu.org>
2578
2579 * emacs-lisp/package.el (url-recreate-url): Declare.
2580 (url-http-target-url): Declare.
2581 (package-handle-response): Include requested URL in the error message.
2582 (package--check-signature): Don't re-signal errors from
2583 package--with-work-buffer. Suggested by Stefan Monnier.
2584
2585 2014-01-07 Bastien Guerry <bzg@gnu.org>
2586
2587 * minibuffer.el (completion--try-word-completion): When both a
2588 hyphen and a space are possible candidates for the character
2589 following a word, display both candidates. (Bug#15980)
2590
2591 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2592
2593 * window.el (balance-windows-2): While rounding don't give a
2594 window more than the remainder. Bug#16351, bug#16383.
2595
2596 2014-01-07 Glenn Morris <rgm@gnu.org>
2597
2598 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2599 (menu-bar-help-menu): Use view-external-packages instead.
2600
2601 2014-01-07 Bastien Guerry <bzg@gnu.org>
2602
2603 * emacs-lisp/package.el (package-delete): Also delete the package
2604 name from `package-alist', not its description only.
2605
2606 2014-01-07 Glenn Morris <rgm@gnu.org>
2607
2608 * help.el (view-external-packages):
2609 * menu-bar.el (menu-bar-help-extra-packages):
2610 Visit efaq.info rather than etc/MORE.STUFF.
2611
2612 2014-01-07 Juri Linkov <juri@jurta.org>
2613
2614 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2615 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2616
2617 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2618 that shadows RET. (Bug#16342)
2619
2620 2014-01-07 Chong Yidong <cyd@gnu.org>
2621
2622 * isearch.el (isearch-yank-char, isearch-yank-word)
2623 (isearch-yank-line): Doc fix.
2624
2625 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2628 * emacs-lisp/elint.el (elint-find-builtins):
2629 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2630 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2631 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2632 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2633 * apropos.el (apropos-safe-documentation):
2634 * subr.el (symbol-file): Remove redundant fboundp.
2635 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2636
2637 2014-01-06 Bastien Guerry <bzg@gnu.org>
2638
2639 * hl-line.el (global-hl-line-overlay): Make a local variable.
2640 (global-hl-line-overlays): New variable to store all overlays.
2641 (global-hl-line-mode): Don't delete overlays from the current
2642 buffer when `global-hl-line-sticky-flag' is non-nil.
2643 (global-hl-line-highlight): Add new overlays to
2644 `global-hl-line-overlays'.
2645 (global-hl-line-unhighlight-all): New function to delete all
2646 overlays when turning off `global-hl-line-mode'.
2647 This fixes Bug#16183.
2648
2649 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2650
2651 * subr.el (set-transient-map): Fix nested case and docstring.
2652
2653 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2654
2655 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2656 `Texinfo' entry.
2657
2658 2014-01-06 Daniel Colascione <dancol@dancol.org>
2659
2660 Fix defun navigation in vc log view.
2661
2662 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2663 like `beginning-of-defun'.
2664 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2665 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2666 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2667 (log-view-extract-comment): Call `log-view-current-entry' directly
2668 instead of relying on broken `log-view-beginning-of-defun' behavior.
2669
2670 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2671
2672 Spelling fixes.
2673 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2674 * emacs-lisp/debug.el (cancel-debug-on-entry):
2675 * epg.el (epg-error-to-string):
2676 * files.el (recover-file):
2677 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2678 * mail/emacsbug.el (report-emacs-bug-hook):
2679 * mail/sendmail.el (mail-recover):
2680 * ses.el (ses-yank-resize):
2681 * term/ns-win.el (ns-print-buffer):
2682 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2683 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2684 All uses changed.
2685 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2686
2687 2014-01-06 Leo Liu <sdl.web@gmail.com>
2688
2689 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2690 to avoid shadowing global key. (Bug#16354)
2691
2692 2014-01-06 Daniel Colascione <dancol@dancol.org>
2693
2694 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2695 rst-mode.
2696
2697 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2698
2699 * window.el (balance-windows): Add mising t to fix Bug#16351.
2700
2701 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2702
2703 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2704 (bug#16285).
2705 (shr-insert): If we have a word that's longer than `shr-width',
2706 break after it anyway. Otherwise we'll do no breaking once we get
2707 such a long word.
2708
2709 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2710
2711 * net/eww.el (eww): Support single/double quote for search.
2712 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2713 (eww-history-quit): Delete and use quit-window.
2714 (eww-history-kill): Delete, because it doesn't work well and
2715 not necessary.
2716 (eww-history-mode-map): Delete some keys and add easy-menu.
2717
2718 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2719
2720 Fix misspelling of 'chinese' in rx (Bug#16237).
2721 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2722 chinese-two-byte.
2723
2724 Change subword regexps back to vars (Bug#16296).
2725 * progmodes/subword.el (subword-forward-regexp)
2726 (subword-backward-regexp): Change these back to variables.
2727
2728 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2731 syntax-begin-function (bug#16247).
2732
2733 2014-01-03 Chong Yidong <cyd@gnu.org>
2734
2735 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2736 (advice--docstring): Delete variable.
2737 (advice--make-1): Leave the docstring empty.
2738 (advice-add): Use function-documentation for advised docstring.
2739
2740 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2741 Ignore function-documentation property when getting documentation.
2742 (ad-activate-advised-definition): Use function-documentation
2743 generate the docstring.
2744 (ad-make-advised-definition): Don't call
2745 ad-make-advised-definition-docstring.
2746 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2747 Delete functions.
2748
2749 * progmodes/sql.el (sql-help): Use function-documentation instead
2750 of dynamic-docstring-function property. No need to autoload now.
2751 (sql--help-docstring): New variable.
2752 (sql--make-help-docstring): Use it.
2753
2754 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * ielm.el (ielm-tab): Retarget.
2757 (ielm-map): Use ielm-tab for tab.
2758 (ielm-complete-filename): Use comint-filename-completion.
2759 (ielm-complete-symbol): Remove.
2760 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2761 remove ielm-tab from completion-at-point-functions (bug#16224).
2762
2763 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2764 Beware signals raised by predicates (bug#16201).
2765
2766 2014-01-02 Richard Stallman <rms@gnu.org>
2767
2768 * dired-aux.el (dired-do-print): Handle printer-name.
2769
2770 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2771 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2772 (rmail-epa-decrypt): Turn off mime processing.
2773
2774 * mail/rmail.el (rmail-make-in-reply-to-field):
2775 Add parens in message-id.
2776
2777 * mail/rmail.el (rmail-get-coding-function): Variable.
2778 (rmail-get-coding-system): Use it.
2779
2780 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2781
2782 * international/mule-conf.el: Unify the charset indian-is13194.
2783 (indian-is13194): Specify unify-map.
2784
2785 2013-12-31 Leo Liu <sdl.web@gmail.com>
2786
2787 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2788
2789 2013-12-30 Daniel Colascione <dancol@dancol.org>
2790
2791 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2792 of printing a useless when we resume from sleep.
2793
2794 * progmodes/sh-script.el
2795 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2796 in indentation code. (Bug#16233)
2797
2798 2013-12-28 João Távora <joaotavora@gmail.com>
2799
2800 * elec-pair.el (electric-pair-post-self-insert-function):
2801 Don't open extra newlines at beginning of buffer. (Bug#16272)
2802
2803 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2804
2805 * frame.el (window-system-for-display): Don't allow to create a
2806 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2807
2808 2013-12-28 Glenn Morris <rgm@gnu.org>
2809
2810 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2811 Update callers.
2812
2813 * apropos.el (apropos-match-face):
2814 * calculator.el (calculator-displayer):
2815 * dabbrev.el (dabbrev-search-these-buffers-only):
2816 * face-remap.el (buffer-face-mode-face):
2817 * simple.el (yank-handled-properties):
2818 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2819 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2820 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2821 (hashcash-double-spend-database):
2822 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2823 (ruby-deep-indent-paren-style):
2824 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2825 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2826 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2827 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2828 Specify custom types.
2829
2830 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2831 * bookmark.el (bookmark-bmenu-use-header-line):
2832 * doc-view.el (doc-view-scale-internally):
2833 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2834 * register.el (register-preview-delay):
2835 * net/shr.el (shr-bullet):
2836 * progmodes/cfengine.el (cfengine-cf-promises)
2837 (cfengine-parameters-indent):
2838 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2839 * textmodes/reftex-vars.el (reftex-label-regexps):
2840 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2841
2842 * net/tls.el (tls-certtool-program): Fix default value.
2843
2844 * desktop.el (desktop-restore-in-current-display):
2845 * newcomment.el (comment-empty-lines):
2846 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2847 (idlwave-pad-keyword):
2848 * progmodes/tcl.el (tcl-tab-always-indent):
2849 * textmodes/reftex-vars.el (reftex-index-default-tag):
2850 * elec-pair.el (electric-pair-skip-whitespace):
2851 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2852
2853 * emacs-lisp/authors.el (authors-ignored-files)
2854 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2855
2856 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2857
2858 * shell.el (shell-dynamic-complete-command): Doc fix.
2859 (shell--command-completion-data): Shell completion now matches
2860 executable filenames from the current buffer's directory, on
2861 systems in which this behavior is the default (windows-nt, ms-dos).
2862
2863 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2864
2865 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2866
2867 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2869 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2870 (bug#16251).
2871
2872 * electric.el: Move all electric-pair-* to elec-pair.el.
2873 * elec-pair.el: New file, split from electric.el.
2874
2875 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2876
2877 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2878 indentation level is larger than the width, because that will
2879 infloop.
2880 (shr-insert): Fill repeatedly long texts, so that Japanese is
2881 formatted correctly (bug#16263).
2882 (shr-find-fill-point): Off by one error in comparison with the
2883 indentation.
2884
2885 2013-12-26 João Távora <joaotavora@gmail.com>
2886
2887 * electric.el (electric-pair-mode): More flexible engine for skip-
2888 and inhibit predicates, new options for pairing-related functionality.
2889 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2890 if that keeps or improves their balance in buffers.
2891 (electric-pair-delete-adjacent-pairs): Delete the pair when
2892 backspacing over adjacent matched delimiters.
2893 (electric-pair-open-extra-newline): Open extra newline when
2894 inserting newlines between adjacent matched delimiters.
2895 (electric--sort-post-self-insertion-hook):
2896 Sort post-self-insert-hook according to priority values when
2897 minor-modes are activated.
2898 * simple.el (newline-and-indent): Call newline with interactive
2899 set to t.
2900 (blink-paren-post-self-insert-function): Set priority to 100.
2901 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2902 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2903 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2904 electric-pair-open-newline-between-pairs to nil.
2905
2906 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2907
2908 * progmodes/python.el: Use lexical-binding.
2909 (python-nav-beginning-of-defun): Stop searching ASAP.
2910
2911 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2912
2913 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2914 Fix interactive spec. Doc fix. (Bug#15754)
2915
2916 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2917
2918 * emacs-lisp/byte-run.el (eval-when-compile):
2919 * progmodes/cc-defs.el (cc-eval-when-compile):
2920 Fix edebug spec (bug#16184).
2921
2922 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2923
2924 * net/shr.el (shr-visit-file): Remove debugging function.
2925 (shr-insert): Don't infloop if we can't find a good place to break
2926 the line (bug#16256).
2927
2928 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2929
2930 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2931 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2932 python-nav-lisp-forward-sexp-safe.
2933 (python-nav--forward-sexp): New argument SAFE allows switching
2934 forward sexp movement behavior for parens.
2935 (python-nav-forward-sexp): Throw errors on unterminated parens
2936 (Bug#16191).
2937 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2938 (python-nav-backward-sexp-safe): New functions.
2939 (python-shell-buffer-substring):
2940 Use `python-nav-forward-sexp-safe'.
2941
2942 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2943
2944 * net/shr.el (shr-find-fill-point): Don't break lines before a
2945 quotation mark.
2946 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2947 (shr-find-fill-point): Remove the special checks for the quotation
2948 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2949
2950 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2951
2952 * net/eww.el (eww-form-textarea): Use a different face for
2953 textareas than text input since they have different keymaps
2954 (bug#16142).
2955
2956 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2957
2958 * progmodes/python.el (python-nav-beginning-of-statement):
2959 Speed up (Bug#15295).
2960
2961 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2962
2963 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2964 the window configuration.
2965
2966 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2967
2968 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2969 we run on MS-Windows or MS-DOS.
2970
2971 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2972
2973 * window.el (balance-windows-area): Call window-size instead of
2974 window-height and window-width. Bug#16241.
2975
2976 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2977
2978 * net/eww.el (eww-bookmark-quit): Remove.
2979 (eww-bookmark-browse): Restore the window configuration when you
2980 choose a bookmark (bug#16144).
2981
2982 2013-12-24 Daniel Colascione <dancol@dancol.org>
2983
2984 * icomplete.el: Remove redundant :group arguments to `defcustom'
2985 throughout.
2986 (icomplete-show-matches-on-no-input): New customizable variable.
2987 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2988 we have something to show.
2989 (icomplete-exhibit): Compute completions even if we have no user input.
2990
2991 2013-12-23 Daniel Colascione <dancol@dancol.org>
2992
2993 * icomplete.el: Move `provide' to end of file.
2994
2995 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2996
2997 * net/gnutls.el (gnutls-verify-error): Add version tag.
2998
2999 2013-12-23 Chong Yidong <cyd@gnu.org>
3000
3001 * subr.el (set-transient-map): Rename from
3002 set-temporary-overlay-map. Doc fix.
3003
3004 * face-remap.el (text-scale-adjust):
3005 * indent.el (indent-rigidly):
3006 * kmacro.el (kmacro-call-macro):
3007 * minibuffer.el (minibuffer-force-complete):
3008 * repeat.el (repeat):
3009 * simple.el (universal-argument--mode):
3010 * calendar/todo-mode.el (todo-insert-item--next-param):
3011 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3012
3013 * indent.el (indent-rigidly): Use substitute-command-keys.
3014
3015 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3016
3017 * net/eww.el (eww-tag-select): Add text-property to jump to next
3018 select field.
3019 (eww): Add non-supported ftp error.
3020
3021 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3022
3023 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3024 comments. Handle electric indent after typing `?' and `!'.
3025
3026 2013-12-22 Chong Yidong <cyd@gnu.org>
3027
3028 * faces.el (face-spec-recalc): If the theme specs are not
3029 applicable to a frame, fall back on the defface spec.
3030 This prevents themes from obliterating faces on low-color terminals.
3031
3032 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3033
3034 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3035 after `{'. We need it after block openers, and it doesn't seem
3036 to hurt after hash openers.
3037
3038 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3039
3040 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3041 extracted from `ruby-smie-rules'.
3042 (ruby--electric-indent-chars): New variable.
3043 (ruby--electric-indent-p): New function.
3044 (ruby-mode): Use `electric-indent-functions' instead of
3045 `electric-indent-chars'.
3046
3047 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3048
3049 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3050 docstring.
3051 (ruby-smie-rules): Indent plus one level after `=>'.
3052
3053 2013-12-21 Richard Stallman <rms@gnu.org>
3054
3055 * simple.el (newline): Doc fix.
3056
3057 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3058
3059 * net/eww.el (eww-list-histories, eww-list-histories)
3060 (eww-history-browse, eww-history-quit, eww-history-kill)
3061 (eww-history-mode-map, eww-history-mode): New command and
3062 functions to list browser histories.
3063 (eww-form-text): Support text form with disabled
3064 and readonly attributes.
3065 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3066
3067 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3068
3069 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3070 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3071 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3072 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3073 Use `user-error'.
3074 (eww-bookmark-mode-map): Add menu.
3075 (eww-render, eww-mode): Use `setq-local'.
3076 (eww-tool-bar-map): New variable.
3077 (eww-mode): Set `tool-bar-map'.
3078 (eww-view-source): Check for `html-mode' with `fboundp'.
3079
3080 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3081
3082 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3083 elements with text inside. Also remove debugging.
3084
3085 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3086
3087 * cus-start.el (all): Add ns-use-srgb-colorspace.
3088
3089 2013-12-21 Chong Yidong <cyd@gnu.org>
3090
3091 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3092 undefined. Thus, theme settings for undefined faces do not take
3093 effect until the faces are defined with defface, the same as with
3094 theme variables.
3095
3096 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3097 (face-spec-reset-face): Don't assign extra properties in temacs.
3098 (face-spec-recalc): Apply X resources too.
3099
3100 2013-12-21 Chong Yidong <cyd@gnu.org>
3101
3102 * faces.el (face-spec-set):
3103 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3104 * custom.el (defface): Doc fixes (Bug#16203).
3105
3106 * indent.el (indent-rigidly-map): Add docstring, and move commands
3107 into named functions.
3108 (indent-rigidly-left, indent-rigidly-right)
3109 (indent-rigidly-left-to-tab-stop)
3110 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3111 indentation direction based on bidi direction, and accumulate
3112 sequential commands in a single undo boundary.
3113 (indent-rigidly--pop-undo): New utility function.
3114
3115 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3116
3117 * faces.el (read-face-name): Require crm.el when using crm-separator.
3118
3119 2013-12-20 Daniel Colascione <dancol@dancol.org>
3120
3121 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3122 so that we don't reflow comments into the shebang line.
3123
3124 2013-12-20 Juri Linkov <juri@jurta.org>
3125
3126 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3127 a position when `dired-directory' is non-nil. Check integer
3128 positions with `integerp'.
3129 (toggle-save-place, save-places-to-alist): Add check for
3130 `dired-directory'.
3131 (save-place-find-file-hook): Check integer positions with
3132 `integerp'.
3133 (save-place-dired-hook): Use `dired-goto-file' when
3134 `dired-filename' is found in the assoc list. Check integer
3135 positions with `integerp'.
3136 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3137
3138 * dired.el (dired-initial-position-hook): Rename back from
3139 `dired-initial-point-hook'.
3140 (dired-initial-position): Rename `dired-initial-point-hook' to
3141 `dired-initial-position-hook'.
3142 (dired-file-name-at-point): Doc fix. (Bug#15329)
3143
3144 2013-12-20 Juri Linkov <juri@jurta.org>
3145
3146 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3147 (read-regexp-suggestions): New function.
3148 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3149 Use `read-regexp-suggestions'. Add non-empty default to history
3150 for empty input.
3151 (occur-read-regexp-defaults-function): Remove function.
3152 (occur-read-primary-args): Use `regexp-history-last' instead of
3153 `occur-read-regexp-defaults-function'.
3154
3155 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3156 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3157 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3158 `hi-lock-read-regexp-defaults-function'. Doc fix.
3159 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3160 with `find-tag-default-as-symbol-regexp'. Doc fix.
3161 (hi-lock-read-regexp-defaults): Remove function.
3162 (hi-lock-regexp-okay): Add check for null.
3163
3164 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3165 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3166
3167 * subr.el (find-tag-default-as-symbol-regexp): New function.
3168 (find-tag-default-as-regexp): Move symbol regexp formatting to
3169 `find-tag-default-as-symbol-regexp'.
3170
3171 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3172
3173 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3174 (Bug#14179)
3175
3176 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3177
3178 * calendar/todo-mode.el: New implementation of item insertion
3179 commands and key bindings.
3180 (todo-key-prompt): New face.
3181 (todo-insert-item): New command.
3182 (todo-insert-item--parameters): New defconst, replacing defvar
3183 todo-insertion-commands-args-genlist.
3184 (todo-insert-item--param-key-alist): New defconst, replacing
3185 defvar todo-insertion-commands-arg-key-list.
3186 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3187 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3188 (todo-insert-item--next-param): New functions.
3189 (todo-insert-item--args, todo-insert-item--argleft)
3190 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3191 New variables.
3192 (todo-key-bindings-t): Change binding of "i" from
3193 todo-insertion-map to todo-insert-item.
3194 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3195 (todo-insertion-command-name, todo-insertion-commands-names)
3196 (todo-define-insertion-command, todo-insertion-commands)
3197 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3198
3199 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3200
3201 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3202 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3203 eval-when-compile.
3204 (todo-move-category): Allow choosing a non-existing todo file to
3205 move the category to, and create that file.
3206 (todo-default-priority): New user option.
3207 (todo-set-item-priority): Use it.
3208 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3209 (desktop-restore-file-buffer): Declare.
3210 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3211 (todo-modes-set-2): Locally set desktop-save-buffer to
3212 todo-desktop-save-buffer.
3213 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3214 (auto-mode-alist): Add autoload cookie.
3215
3216 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3217
3218 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3219 helpers.el was a poor choice of name.
3220 (string-remove-prefix): New function.
3221 (string-remove-suffix): New function.
3222
3223 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3224
3225 Fix assignment for new window total sizes.
3226 * window.el (window--pixel-to-size): Remove function.
3227 (window--pixel-to-total-1, window--pixel-to-total):
3228 Fix calculation of new total sizes.
3229
3230 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3231
3232 * comint.el (comint-output-filter): Fix rear-nonsticky property
3233 placement (Bug#16010).
3234
3235 2013-12-20 Chong Yidong <cyd@gnu.org>
3236
3237 * faces.el (read-color): Minor fix for completion function.
3238
3239 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3240
3241 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3242 New option. (Bug#16182)
3243 (ruby-smie--indent-to-stmt-p): Use it.
3244 (ruby-smie-rules): Revert the logic in the handling of `when'.
3245 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3246 (ruby-deep-arglist, ruby-deep-indent-paren)
3247 (ruby-deep-indent-paren-style): Update docstrings to note that the
3248 vars don't have any effect with SMIE.
3249
3250 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3251
3252 * calc/calc.el (calc-enter, calc-pop): Use the variable
3253 `calc-context-sensitive-enter'.
3254
3255 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3256
3257 * net/shr.el (shr-insert): Protect against infloops in degenerate
3258 tables.
3259
3260 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3261
3262 * progmodes/octave.el (octave): Add link to manual and octave
3263 homepage.
3264 (octave-mode-menu): Link to octave-mode manual.
3265
3266 2013-12-20 Leo Liu <sdl.web@gmail.com>
3267
3268 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3269 insertion using skeleton-end-newline. (Bug#16138)
3270
3271 2013-12-20 Juri Linkov <juri@jurta.org>
3272
3273 * replace.el (occur-engine): Use `add-face-text-property'
3274 to add the face property to matches and titles. (Bug#14645)
3275
3276 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3277 the palette of other hi-lock colors.
3278 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3279
3280 2013-12-19 Juri Linkov <juri@jurta.org>
3281
3282 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3283 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3284 (minibuffer-history-symbol): Move variable declaration closer to
3285 its usage.
3286
3287 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3288 (Bug#14785)
3289
3290 2013-12-19 Juri Linkov <juri@jurta.org>
3291
3292 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3293 New function.
3294 (log-edit-hook): Add it to :options. (Bug#16170)
3295
3296 2013-12-19 Juri Linkov <juri@jurta.org>
3297
3298 * simple.el (eval-expression-print-format): Don't check for
3299 command names and the last command. Always display additional
3300 formats of the integer result in the echo area, and insert them
3301 to the current buffer only with a zero prefix arg.
3302 Display character when char-displayable-p is non-nil.
3303 (eval-expression): With a zero prefix arg, set `print-length' and
3304 `print-level' to nil, and insert the integer values from
3305 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3306
3307 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3308 `eval-last-sexp-arg-internal'. Doc fix.
3309 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3310 `eval-last-sexp-print-value'. Doc fix.
3311 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3312 Set `print-length' and `print-level' to nil when arg is zero.
3313 (eval-last-sexp): Doc fix.
3314 (eval-defun-2): Print the integer values from
3315 `eval-expression-print-format' at the end.
3316
3317 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3318 values from `eval-expression-print-format' at the end.
3319
3320 * ielm.el (ielm-eval-input): Print the integer
3321 values from `eval-expression-print-format' at the end.
3322
3323 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3324
3325 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3326 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3327
3328 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3331 (hl-line-highlight, global-hl-line-highlight): Use it.
3332 (hl-line-overlay): Use defvar-local.
3333
3334 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3335
3336 * term/ns-win.el: Require dnd.
3337 (global-map): Remove drag items.
3338 (ns-insert-text, ns-set-foreground-at-mouse)
3339 (ns-set-background-at-mouse):
3340 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3341 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3342 New functions.
3343
3344 2013-12-19 Glenn Morris <rgm@gnu.org>
3345
3346 * emacs-lisp/ert.el (ert-select-tests):
3347 Fix string/symbol mixup. (Bug#16121)
3348
3349 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3350
3351 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3352 keywords to their parent.
3353
3354 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3355
3356 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3357 first arg to be a string (fixed dead code), or an operator symbol.
3358 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3359 operator symbols.
3360 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3361 did nothing. Don't respond to `(:after ".")', it will be called
3362 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3363 change anything. Only return indentation for binary operators
3364 when they are hanging. De-dent opening paren when its parent is
3365 `.', otherwise it looks bad when the dot is not at bol or eol
3366 (bug#16182).
3367
3368 2013-12-19 Juri Linkov <juri@jurta.org>
3369
3370 * replace.el (query-replace-read-args): Split a non-negative arg
3371 and a negative arg into separate elements.
3372 (query-replace, query-replace-regexp, replace-string)
3373 (replace-regexp): Add arg `backward'. Doc fix.
3374 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3375 move point to the beginning of the match.
3376 (replace-search, replace-highlight): Use new arg `backward'
3377 to set the value of `isearch-forward'.
3378 (perform-replace): Add arg `backward' and use it to perform
3379 replacement backward. (Bug#14979)
3380
3381 * isearch.el (isearch-query-replace): Use a negative prefix arg
3382 to call `perform-replace' with a non-nil arg `backward'.
3383
3384 2013-12-18 Juri Linkov <juri@jurta.org>
3385
3386 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3387 to the default list. Move `log-edit-show-files' to the end.
3388 Add more available functions to options.
3389 (log-edit): Move default specific settings to
3390 `log-edit-insert-message-template'. Don't move point.
3391 (log-edit-insert-message-template): New function.
3392 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3393 (Bug#16170)
3394
3395 2013-12-18 Juri Linkov <juri@jurta.org>
3396
3397 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3398 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3399
3400 2013-12-18 Leo Liu <sdl.web@gmail.com>
3401
3402 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3403 (Bug#16186)
3404
3405 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3406
3407 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3408 formats for displaying file sizes when the -s switch is given.
3409 Instead, compute a separate format for displaying the size in
3410 blocks, which is displayed in addition to the "regular" size.
3411 When -h is given in addition to -s, produce size in blocks in
3412 human-readable form as well. (Bug#16179)
3413
3414 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3415
3416 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3417 Reference tables with ~\ref{...} instead of only \ref{...}.
3418
3419 2013-12-18 Chong Yidong <cyd@gnu.org>
3420
3421 * cus-edit.el (custom-magic-alist): Fix "themed" description
3422 (Bug#14348).
3423
3424 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3425 is non-nil, do not create a new entry in the symbol's theme-value
3426 or theme-face property; update theme-settings only (Bug#14664).
3427 (custom-available-themes): Doc fix.
3428
3429 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3430 (Bug#15674).
3431
3432 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3433
3434 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3435
3436 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3437 (Bug#13914).
3438
3439 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3440
3441 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3442
3443 2013-12-18 Glenn Morris <rgm@gnu.org>
3444
3445 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3446 * cus-start.el (load-prefer-newer): New option.
3447
3448 2013-12-18 Le Wang <l26wang@gmail.com>
3449
3450 * comint.el (comint-previous-matching-input-from-input):
3451 Retain point (Bug#13404).
3452
3453 2013-12-18 Chong Yidong <cyd@gnu.org>
3454
3455 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3456
3457 2013-12-18 Glenn Morris <rgm@gnu.org>
3458
3459 * mail/emacsbug.el (report-emacs-bug):
3460 Only mention enable-multibyte-characters if non-standard.
3461
3462 2013-12-17 Juri Linkov <juri@jurta.org>
3463
3464 * arc-mode.el (archive-extract-by-file): Check if directory exists
3465 before deletion to not show irrelevant errors if it doesn't exist.
3466
3467 2013-12-17 Juri Linkov <juri@jurta.org>
3468
3469 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3470 (Bug#14751)
3471
3472 * net/eww.el (browse-web): Add alias to `eww'.
3473 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3474 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3475
3476 * net/browse-url.el (browse-url-browser-function): Move `eww'
3477 closer to similar functions.
3478
3479 * startup.el (fancy-startup-screen, fancy-about-screen):
3480 Set browse-url-browser-function to eww-browse-url locally.
3481 (Bug#14751)
3482
3483 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * window.el (window--pixel-to-total): Remove unused `mini' var.
3486 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3487 (split-window): Remove unused `new' var.
3488 (window--display-buffer): Remove unused `frame' and `delta' vars.
3489 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3490 and display-width'.
3491
3492 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3493
3494 * dired.el (dired-mark-pop-up):
3495 * register.el (register-preview): Don't bind
3496 split-height-threshold here since it's now done in
3497 display-buffer-below-selected.
3498
3499 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3500
3501 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3502 xterm-rgb-convert-to-16bit.
3503 (rxvt-register-default-colors): Standardize with
3504 xterm-register-default-colors (Bug#14078).
3505
3506 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3507
3508 * simple.el (kill-region): Pass mark first, then point, so that
3509 kill-append works right (Bug#12819).
3510 (copy-region-as-kill, kill-ring-save): Likewise.
3511
3512 2013-12-17 Leo Liu <sdl.web@gmail.com>
3513
3514 * net/rcirc.el (rcirc-add-face):
3515 * eshell/em-prompt.el (eshell-emit-prompt):
3516 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3517 (Bug#16167)
3518
3519 2013-12-17 Chong Yidong <cyd@gnu.org>
3520
3521 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3522 Suggested by Xue Fuqiao.
3523
3524 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3525
3526 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3527
3528 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * net/shr.el (shr-insert-document): Remove unused var
3531 `shr-preliminary-table-render'.
3532 (shr-rescale-image): Remove unused arg `force'.
3533 (shr-put-image): Update calls accordingly.
3534 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3535
3536 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3537
3538 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3539 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3540 :close-all, to see which indentation method to use (Bug#16116).
3541 (smie-rules-function): Document the method :close-all.
3542
3543 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3544
3545 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3546
3547 * net/eww.el (eww-display-html): If we can't find the anchor we're
3548 looking for, then go to point-min.
3549
3550 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3551
3552 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3553 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3554 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3555 Expand dir too, in case it's relative.
3556
3557 2013-12-16 Juri Linkov <juri@jurta.org>
3558
3559 * desktop.el (desktop-auto-save-timeout): Change default to
3560 `auto-save-timeout'. Doc fix.
3561 (desktop-save): Skip the timestamp in desktop-saved-frameset
3562 when checking for auto-save changes.
3563 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3564 `desktop-auto-save' is called repeatedly by the idle timer.
3565 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3566 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3567 (Bug#15331)
3568
3569 2013-12-16 Juri Linkov <juri@jurta.org>
3570
3571 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3572 (Bug#16035)
3573 (isearch-pre-command-hook): Check `this-command' for symbolp.
3574
3575 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3578
3579 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3580
3581 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3582 (cfengine3--current-function): Bring in the current-function
3583 functionality from `cfengine3--current-word'.
3584 (cfengine3-completion-function): Bring in the
3585 bounds-of-current-word functionality from
3586 `cfengine3--current-word'.
3587
3588 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3589
3590 * window.el (display-buffer-below-selected):
3591 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3592
3593 2013-12-16 Leo Liu <sdl.web@gmail.com>
3594
3595 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3596 Remove NOMSG arg and all uses changed.
3597
3598 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3599
3600 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3601 (cua--deactivate-rectangle): Don't deactivate the mark.
3602 (cua-set-rectangle-mark): Don't set mark-active since
3603 cua--activate-rectangle already does it for us.
3604 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3605 non-rectangular region.
3606
3607 * emulation/cua-base.el (cua-repeat-replace-region):
3608 Use with-current-buffer.
3609
3610 * net/gnutls.el: Use cl-lib.
3611 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3612
3613 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3614
3615 * emacs-lisp/package.el (package-built-in-p): Support both
3616 built-in and the package.el converted package descriptions.
3617 (package-show-package-list): Allow keywords.
3618 (package-keyword-button-action): Use it instead of
3619 `finder-list-matches'.
3620 (package-menu-filter-interactive): Interactive filtering (by
3621 keyword) function.
3622 (package-menu--generate): Support keywords and change keymappings
3623 and headers when they are given.
3624 (package--has-keyword-p): Helper function.
3625 (package-menu--refresh): Use it.
3626 (package--mapc): Helper function.
3627 (package-all-keywords): Use it.
3628 (package-menu-mode-map): Set up menu items and keybindings to
3629 provide a filtering UI.
3630
3631 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3632
3633 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3634 the behavior when a certificate fails validation. Defaults to
3635 old behavior: never abort, just warn.
3636 (gnutls-negotiate): Use it.
3637
3638 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3639
3640 * window.el (display-buffer-below-selected): Never split window
3641 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3642
3643 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3644
3645 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3646 (package-buffer-info): Use it (bug#15108).
3647
3648 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * icomplete.el (icomplete-completions): Make sure the prefix is already
3651 displayed elsewhere before hiding it (bug#16219).
3652
3653 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3654
3655 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3656 open-paren tokens when preceded by a open-paren, too.
3657 (ruby-smie-rules): Handle virtual indentation after open-paren
3658 tokens specially. If there is code between it and eol, return the
3659 column where is starts (Bug#16118).
3660
3661 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3662
3663 * progmodes/cfengine.el: Fix `add-hook' doc.
3664 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3665 (cfengine3--current-word): Fix parameters.
3666 (cfengine3-make-syntax-cache): Simplify further.
3667 (cfengine3-completion-function, cfengine3--current-function):
3668 Use `assq' for symbols.
3669 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3670
3671 2013-12-13 Glenn Morris <rgm@gnu.org>
3672
3673 * loadup.el (load-path): Warn if site-load or site-init changes it.
3674 No more need to reset it when bootstrapping.
3675
3676 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3677
3678 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3679 locations for cf-promises.
3680 (cfengine-mode-syntax-functions-regex): New caching variable.
3681 (cfengine3-fallback-syntax): Fallback syntax for cases where
3682 cf-promises doesn't run.
3683 (cfengine3--current-word): Reimplement using
3684 `cfengine-mode-syntax-functions-regex'.
3685 (cfengine3-completion-function, cfengine3--current-function):
3686 Use `cfengine3-make-syntax-cache' directly.
3687 (cfengine3-clear-syntax-cache): New function.
3688 (cfengine3-make-syntax-cache): Simplify and create
3689 `cfengine-mode-syntax-functions-regex' on demand.
3690 (cfengine3-format-function-docstring): Don't call
3691 `cfengine3-make-syntax-cache' explicitly.
3692
3693 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3694
3695 Fix windmove-find-other-window broken after pixelwise resizing
3696 (Bug#16017).
3697 * windmove.el (windmove-other-window-loc): Revert change from
3698 2013-12-04.
3699 (windmove-find-other-window): Call window-in-direction.
3700 * window.el (window-in-direction): New arguments SIGN, WRAP and
3701 MINI to emulate original windmove-find-other-window behavior.
3702
3703 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3704
3705 * simple.el (blink-matching--overlay): New variable.
3706 (blink-matching-open): Instead of moving point, highlight the
3707 matching paren with an overlay
3708 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3709
3710 * faces.el (paren-showing-faces, show-paren-match)
3711 (show-paren-mismatch): Move from paren.el.
3712
3713 2013-12-13 Leo Liu <sdl.web@gmail.com>
3714
3715 * indent.el (indent-region): Disable progress reporter in
3716 minibuffer. (Bug#16108)
3717
3718 * bindings.el (visual-order-cursor-movement): Fix version.
3719
3720 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3721
3722 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3723 Also match after beginning of line.
3724 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3725 files. Thanks to Russell Sim. (Bug#15378)
3726
3727 2013-12-13 Juri Linkov <juri@jurta.org>
3728
3729 * simple.el <Keypad support>: Remove key bindings duplicated
3730 with bindings.el. (Bug#14397)
3731
3732 2013-12-13 Juri Linkov <juri@jurta.org>
3733
3734 * comint.el (comint-mode-map): Replace `delete-char' with
3735 `delete-forward-char'. (Bug#16109)
3736
3737 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3738
3739 * progmodes/python.el (python-indent-calculate-indentation):
3740 Fix de-denters cornercase. (Bug#15731)
3741
3742 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3745 (advice--make): Pay attention to `depth'.
3746 (advice--make-1): Don't autoload commands eagerly.
3747 * emacs-lisp/elp.el (elp-instrument-function):
3748 * emacs-lisp/trace.el (trace-function-internal):
3749 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3750
3751 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3752
3753 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3754
3755 * term/w32-win.el (w32-handle-dropped-file):
3756 * startup.el (normal-top-level):
3757 * net/browse-url.el (browse-url-file-url):
3758 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3759 decode file names using 'utf-8' rather than
3760 file-name-coding-system.
3761
3762 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3763
3764 * progmodes/python.el (python-indent-context)
3765 (python-indent-calculate-indentation): Fix auto-identation
3766 behavior for comment blocks. (Bug#15916)
3767
3768 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3769
3770 * progmodes/python.el (python-indent-calculate-indentation):
3771 When determining indentation, don't treat "return", "pass", etc., as
3772 operators when they are just string constituents. (Bug#15812)
3773
3774 2013-12-12 Juri Linkov <juri@jurta.org>
3775
3776 * uniquify.el (uniquify-buffer-name-style): Change default to
3777 `post-forward-angle-brackets'.
3778
3779 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3780 `uniquify'. Change default to `post-forward-angle-brackets'.
3781
3782 2013-12-11 Glenn Morris <rgm@gnu.org>
3783
3784 * emacs-lisp/package.el (finder-list-matches):
3785 Autoload rather than falsely declaring.
3786
3787 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3788
3789 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3790 (eww-mode-map): Use them.
3791
3792 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3793
3794 * window.el (display-buffer-in-side-window): Fix doc-string
3795 (Bug#16115).
3796
3797 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3798
3799 * vc/vc-git.el: Silence byte-compiler warnings.
3800 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3801 (log-edit-set-header): Declare.
3802
3803 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3804
3805 * Makefile.in (custom-deps, finder-data): Run output file names
3806 through unmsys--file-name. (Bug#16099)
3807
3808 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3811 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3812
3813 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3814 instead of deleting the selection "by hand" (bug#16098).
3815 Rely on insert-for-yank to yank rectangles.
3816 (cua-highlight-region-shift-only): Mark obsolete.
3817 (cua-mode): Don't enable/disable transient-mark-mode,
3818 shift-select-mode (cua-mode works both with and without them), and
3819 pc-selection-mode (obsolete).
3820 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3821 (cua--deactivate-rectangle): Deactivate it.
3822
3823 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3824 (delete-selection-helper): Make sure yank starts at the top of the
3825 deleted region.
3826 (minibuffer-keyboard-quit): Use region-active-p.
3827
3828 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3829
3830 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3831 to `delete' (bug#16109).
3832
3833 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3834
3835 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3836 info manual and show keybindings and set `:group' keyword.
3837
3838 2013-12-11 Juri Linkov <juri@jurta.org>
3839
3840 * delsel.el (delete-active-region): Let-bind `this-command'
3841 to prevent `kill-region' from changing its original value.
3842 (delete-selection-helper): Handle `overwrite-mode' for the type
3843 `kill' exactly the same way as for the type `t'.
3844 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3845 Support more commands. (Bug#13312)
3846
3847 2013-12-11 Juri Linkov <juri@jurta.org>
3848
3849 * bindings.el: Map kp keys to non-kp keys systematically
3850 with basic modifiers control, meta and shift. (Bug#14397)
3851
3852 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3853
3854 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3855 "Close browser" menu items. Fix wrong function of "List
3856 bookmarks".
3857
3858 2013-12-11 Juri Linkov <juri@jurta.org>
3859
3860 * misearch.el (multi-isearch-buffers): Set the value of
3861 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3862 arg of isearch-forward to t.
3863 (multi-isearch-buffers-regexp): Set the value of
3864 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3865 arg of isearch-forward-regexp to t.
3866 (multi-isearch-files): Set the value of
3867 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3868 arg of isearch-forward to t.
3869 (multi-isearch-files-regexp): Set the value of
3870 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3871 arg of isearch-forward-regexp to t. (Bug#16035)
3872
3873 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3874 arg of isearch-forward to t.
3875 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3876 arg of isearch-forward-regexp to t.
3877 (dired-isearch-filter-filenames): Remove unnecessary check for
3878 `dired-isearch-filenames'.
3879
3880 * comint.el (comint-history-isearch-backward):
3881 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3882 (comint-history-isearch-backward-regexp):
3883 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3884
3885 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3886
3887 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3888 unmsys--file-name. (Bug#16099)
3889
3890 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3891
3892 * emacs-lisp/package.el (package-keyword-button-action):
3893 Remove finder.el require dependency.
3894
3895 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3896
3897 * emacs-lisp/package.el: Require finder.el.
3898 (describe-package-1): Add keyword buttons.
3899 (package-make-button): New convenience function.
3900 (package-keyword-button-action): Keyword button action using
3901 `finder-list-matches'.
3902
3903 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3904
3905 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3906 last commit.
3907
3908 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3909
3910 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3911 symlinked files.
3912
3913 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3914
3915 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3916 after the end of a percent literal.
3917
3918 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3919
3920 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3921 Handle caret-delimited strings (Bug#16079).
3922
3923 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3924
3925 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3926 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3927 `ruby-parse-partial' (Bug#16078).
3928
3929 2013-12-09 Leo Liu <sdl.web@gmail.com>
3930
3931 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3932
3933 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3934
3935 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3936 (js-switch-indent-offset): New option.
3937 (js--proper-indentation): Use it. And handle the case when
3938 "default" is actually a key in an object literal.
3939 (js--same-line): New function.
3940 (js--multi-line-declaration-indentation): Use it.
3941 (js--indent-in-array-comp, js--array-comp-indentation):
3942 New functions.
3943 (js--proper-indentation): Use them, to handle array comprehension
3944 continuations.
3945
3946 2013-12-08 Leo Liu <sdl.web@gmail.com>
3947
3948 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3949 (flymake-make-overlay): Remove arg MOUSE-FACE.
3950 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3951
3952 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3955 New function.
3956 (redisplay-highlight-region-function): Use it.
3957
3958 * emulation/cua-base.el (cua--explicit-region-start)
3959 (cua--last-region-shifted): Remove.
3960 (cua--deactivate): Use deactivate-mark.
3961 (cua--pre-command-handler-1): Don't handle shift-selection.
3962 (cua--post-command-handler-1): Don't change transient-mark-mode.
3963 (cua--select-keymaps): Use region-active-p rather than
3964 cua--explicit-region-start or cua--last-region-shifted.
3965 (cua-mode): Enable shift-select-mode.
3966
3967 2013-12-08 Leo Liu <sdl.web@gmail.com>
3968
3969 * progmodes/flymake.el (flymake-popup-current-error-menu):
3970 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3971 (flymake-posn-at-point-as-event, flymake-popup-menu)
3972 (flymake-make-emacs-menu): Remove. (Bug#16077)
3973
3974 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * rect.el (rectangle-mark-mode): Activate mark even if
3977 transient-mark-mode is off (bug#16066).
3978 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3979 is > mark and at bolp.
3980
3981 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3982 (region-extract-function): Use it.
3983 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3984 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3985 Delete functions.
3986 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3987 kill-ring-save, kill-region, delete-char, delete-forward-char.
3988 Ignore self-insert-iso.
3989
3990 * emulation/cua-gmrk.el (cua--init-global-mark):
3991 Ignore `self-insert-iso'.
3992
3993 * emulation/cua-base.el (cua--prefix-copy-handler)
3994 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3995 checking cua--rectangle.
3996 (cua-delete-region): Use region-extract-function.
3997 (cua-replace-region): Delete function.
3998 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3999 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4000 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4001 (cua--init-keymaps): Don't remap delete-selection commands.
4002 (cua-mode): Use delete-selection-mode instead of rolling our own
4003 (bug#16085).
4004
4005 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4006 Obey region-extract-function.
4007
4008 Make registers and delete-selection-mode work on rectangles.
4009 * register.el (describe-register-1): Don't modify the register's value.
4010 (copy-to-register): Obey region-extract-function.
4011 * delsel.el (delete-active-region): Obey region-extract-function.
4012
4013 2013-12-08 Leo Liu <sdl.web@gmail.com>
4014
4015 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4016 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4017 (flymake-compilation-prevents-syntax-check)
4018 (flymake-start-syntax-check-on-newline)
4019 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4020 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4021 (flymake-xml-program, flymake-master-file-dirs)
4022 (flymake-master-file-count-limit)
4023 (flymake-allowed-file-name-masks): Relocate.
4024 (flymake-makehash, flymake-float-time)
4025 (flymake-replace-regexp-in-string, flymake-split-string)
4026 (flymake-get-temp-dir): Remove.
4027 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4028 (flymake-current-row, flymake-selected-frame)
4029 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4030 related functions. (Bug#16077)
4031
4032 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4033
4034 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4035
4036 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4037
4038 * help-fns.el (describe-function-1): Use new advice-* functions
4039 rather than old ad-* functions. Fix function type description and
4040 source links for advised functions and subrs.
4041
4042 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4043
4044 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4045
4046 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4047
4048 * progmodes/compile.el (compilation-start):
4049 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4050
4051 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4052 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4053
4054 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4055
4056 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4057 Touch up the last change.
4058
4059 2013-12-06 Leo Liu <sdl.web@gmail.com>
4060
4061 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4062 (inferior-octave-startup): Always use "octave> " for prompt.
4063 (octave-goto-function-definition)
4064 (octave-sync-function-file-names)
4065 (octave-find-definition-default-filename): Remove redundant backquotes.
4066
4067 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4068
4069 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4070 syntax for `?'.
4071 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4072 where appropriate already.
4073 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4074 end of method names (Bug#15874).
4075
4076 2013-12-06 Juri Linkov <juri@jurta.org>
4077
4078 * isearch.el (isearch--saved-overriding-local-map):
4079 New internal variable.
4080 (isearch-mode): Set it to the initial value of
4081 `overriding-terminal-local-map'.
4082 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4083 with `isearch--saved-overriding-local-map'. (Bug#16035)
4084
4085 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4086
4087 * progmodes/octave.el (inferior-octave-completion-table):
4088 Turn back into function, use `completion-table-with-cache'
4089 (Bug#11906). Update all references.
4090
4091 * minibuffer.el (completion-table-with-cache): New function.
4092
4093 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4094
4095 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4096
4097 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4098
4099 * net/eww.el (eww-current-source): New variable to store page
4100 source.
4101 (eww-display-html, eww-mode, eww-save-history)
4102 (eww-restore-history): Use it.
4103 (eww-view-source): New command to view page source.
4104 Opportunistically uses `html-mode' to highlight the buffer.
4105 (eww-mode-map): Install it.
4106
4107 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4108
4109 * net/dbus.el (dbus-unregister-service)
4110 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4111 Fix docstring.
4112 (dbus-unregister-service): Skip :serial entries in
4113 `dbus-registered-objects-table'.
4114 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4115
4116 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4117
4118 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4119 around keywords with extra `split-string' argument.
4120
4121 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4122
4123 * windmove.el (windmove-other-window-loc): Handle navigation
4124 between windows (excluding the minibuffer window - Bug#16017).
4125
4126 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4127
4128 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4129 in D-Bus type syntax.
4130 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4131 preserve unibyte strings. (Bug#16048)
4132
4133 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4136 Call force-mode-line-update is the proper buffer (bug#16042).
4137
4138 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4139
4140 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4141 `log-edit-remember-comment', make argument optional. Adjust all
4142 callers.
4143 (log-edit-mode): Add `log-edit-remember-comment' to
4144 `kill-buffer-hook' locally.
4145 (log-edit-kill-buffer): Don't remember comment explicitly since
4146 the buffer is killed anyway.
4147
4148 2013-12-04 Juri Linkov <juri@jurta.org>
4149
4150 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4151 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4152
4153 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4154
4155 * notifications.el (notifications-close-notification): Call the
4156 D-Bus method with ID being a `:uint32'. (Bug#16030)
4157
4158 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4159
4160 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4161
4162 2013-12-03 Juri Linkov <juri@jurta.org>
4163
4164 * progmodes/compile.el (compilation-start): Rename window alist
4165 entry `no-display-ok' to `allow-no-window'.
4166
4167 * simple.el (shell-command): Add window alist entry
4168 `allow-no-window' to `display-buffer'.
4169 (async-shell-command): Doc fix.
4170
4171 * window.el (display-buffer-no-window): New action function.
4172 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4173
4174 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4175
4176 * vc/log-edit.el (log-edit-set-header): Extract from
4177 `log-edit-toggle-header'.
4178 (log-edit-extract-headers): Separate the summary, when extracted
4179 from header, from the rest of the message with an empty line.
4180
4181 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4182 line, if present, to the Summary header.
4183
4184 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4187 in current-buffer (bug#16029).
4188
4189 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4190
4191 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4192 (debugger-mode-map): Bind it.
4193 (debugger--backtrace-base): New function.
4194 (debugger-eval-expression): Use it.
4195 (debugger-frame-number): Skip local vars when present.
4196 (debugger--locals-visible-p, debugger--insert-locals)
4197 (debugger--show-locals, debugger--hide-locals): New functions.
4198
4199 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4200
4201 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4202 "LC_ALL".
4203 (tramp-get-remote-locale): New defun.
4204 (tramp-open-connection-setup-interactive-shell): Use it.
4205
4206 2013-12-02 Leo Liu <sdl.web@gmail.com>
4207
4208 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4209
4210 * progmodes/sh-script.el (sh-shell-process):
4211 * progmodes/octave.el (inferior-octave-process-live-p):
4212 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4213 (gdb-inferior-io-sentinel):
4214 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4215
4216 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4217
4218 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4219 `save-selected-window' to `log-edit-hide-buf'. This makes
4220 `log-edit-show-files' idempotent.
4221 (log-edit-show-files): Mark the new window as dedicated.
4222
4223 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4224
4225 * vc/log-edit.el (log-edit-mode-map): Add binding for
4226 `log-edit-kill-biffer'.
4227 (log-edit-hide-buf): Add a FIXME comment.
4228 (log-edit-add-new-comment): New function, extracted from
4229 `log-edit-done'.
4230 (log-edit-done, log-edit-add-to-changelog): Use it.
4231 (log-edit-kill-buffer): New command.
4232
4233 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4234
4235 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4236 instead of killing the buffer.
4237
4238 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4239
4240 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4241
4242 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4243
4244 * net/eww.el (eww-form-checkbox-selected-symbol)
4245 (eww-form-checkbox-symbol): New customizable variable.
4246 (eww-form-checkbox, eww-toggle-checkbox):
4247 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4248
4249 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4250 (shr--get-media-pref, shr--extract-best-source): New function.
4251 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4252 no :src tag was specified.
4253
4254 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4255 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4256 Use \\` to match beginning of string instead of ^.
4257 (eww-browse-with-external-browser): Provide optional URL parameter.
4258 (eww-render): Set `eww-current-title' back to "".
4259
4260 * net/shr.el (shr-tag-video): Display content for video if no
4261 poster is available.
4262 (shr-tag-audio): Add support for <audio> tag.
4263
4264 * net/eww.el (eww-text-input-types): New const.
4265 (eww-process-text-input): Treat input types in
4266 `eww-text-input-types' as text.
4267
4268 * net/shr.el (shr-tag-table): Fix comment typo.
4269
4270 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4271
4272 * net/eww.el (eww-follow-link): New command to avoid reloading
4273 pages when we follow #target links (bug#15243).
4274 (eww-quit): Special mode buffers shouldn't query before exiting.
4275
4276 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4277
4278 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4279 forms.
4280
4281 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4282
4283 * net/eww.el (eww-restore-history): Update the window title after
4284 moving in the history.
4285 (eww-current-dom): New variable used to save the current DOM.
4286
4287 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4288
4289 * vc/log-edit.el (log-edit-mode-map): Add binding for
4290 `log-edit-beginning-of-line'.
4291 (log-edit-setup-add-author): New user option.
4292 (log-edit-beginning-of-line): New command.
4293 (log-edit): Move major mode call above the contents setup so that
4294 the local variable values are already applied.
4295 (log-edit): Only insert "Author: " when
4296 `log-edit-setup-add-author' is non-nil.
4297 (log-edit): When SETUP is non-nil, position point after ": "
4298 instead of point-min.
4299
4300 2013-12-01 Glenn Morris <rgm@gnu.org>
4301
4302 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4303
4304 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4305
4306 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4307 redisplay to make sure the initial frame gets a chance to become
4308 visible. (Bug#16014)
4309
4310 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4311
4312 Support resizing frames and windows pixelwise.
4313 * cus-start.el (frame-resize-pixelwise)
4314 (window-resize-pixelwise): New entries.
4315 * emacs-lisp/debug.el (debug): Use window-total-height instead
4316 of window-total-size.
4317 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4318 * help.el (describe-bindings-internal): Use help-buffer as
4319 argument for with-help-window.
4320 (temp-buffer-max-width): New option.
4321 (resize-temp-buffer-window, help-window-setup)
4322 (with-help-window): Rewrite.
4323 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4324 dragging dividers.
4325 * window.el (frame-char-size, window-min-pixel-height)
4326 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4327 (window-min-pixel-width, window-safe-min-pixel-size)
4328 (window-combination-p, window-safe-min-size)
4329 (window-resizable-p, window--size-to-pixel)
4330 (window--pixel-to-size, window--resize-apply-p): New functions.
4331 (window-safe-min-height): Fix doc-string.
4332 (window-size, window-min-size, window--min-size-1)
4333 (window-sizable, window-sizable-p, window--min-delta-1)
4334 (window-min-delta, window--max-delta-1, window-max-delta)
4335 (window--resizable, window--resizable-p, window-resizable)
4336 (window-full-height-p, window-full-width-p, window-at-side-p)
4337 (window--in-direction-2, window-in-direction)
4338 (window--resize-reset-1, window--resize-mini-window)
4339 (window-resize, window-resize-no-error)
4340 (window--resize-child-windows-normal)
4341 (window--resize-child-windows, window--resize-siblings)
4342 (window--resize-this-window, window--resize-root-window)
4343 (window--resize-root-window-vertically)
4344 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4345 (maximize-window, minimize-window, delete-window)
4346 (quit-restore-window, window-split-min-size, split-window)
4347 (balance-windows-2, balance-windows)
4348 (balance-windows-area-adjust, balance-windows-area)
4349 (window--state-get-1, window-state-get, window--state-put-1)
4350 (window--state-put-2, window-state-put)
4351 (display-buffer-record-window, window--display-buffer):
4352 Make functions handle pixelwise sizing of windows.
4353 (display-buffer--action-function-custom-type)
4354 (display-buffer-fallback-action):
4355 Add display-buffer-in-previous-window.
4356 (display-buffer-use-some-window): Resize window to height it had
4357 before.
4358 (fit-window-to-buffer-horizontally): New option.
4359 (fit-frame-to-buffer): Describe new values.
4360 (fit-frame-to-buffer-bottom-margin): Replace with
4361 fit-frame-to-buffer-margins.
4362 (window--sanitize-margin): New function.
4363 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4364 using window-text-pixel-size.
4365
4366 2013-11-30 Glenn Morris <rgm@gnu.org>
4367
4368 * emacs-lisp/bytecomp.el (byte-compile-form):
4369 Make the `interactive-only' warning like the `obsolete' one.
4370 * comint.el (comint-run):
4371 * files.el (insert-file-literally, insert-file):
4372 * replace.el (replace-string, replace-regexp):
4373 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4374 (goto-line, insert-buffer, next-line, previous-line):
4375 Tweak `interactive-only' spec.
4376
4377 Stop keeping (most) generated cedet grammar files in the repository.
4378 * Makefile.in (semantic): New.
4379 (compile-main): Depend on semantic.
4380
4381 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4382
4383 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4384 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4385
4386 * uniquify.el (uniquify-buffer-name-style): Change default.
4387
4388 * loadup.el: Preload "uniquify".
4389
4390 * time.el (display-time-update): Update all mode lines (bug#15999).
4391
4392 * electric.el (electric-indent-mode): Enable by default.
4393 * loadup.el: Preload "electric".
4394
4395 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4396
4397 * emacs-lisp/helpers.el (string-empty-p): New function.
4398 (string-blank-p): New function.
4399
4400 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4401
4402 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4403 (Bug#14029).
4404
4405 2013-11-29 Andreas Politz <politza@fh-trier.de>
4406 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4407 allow non-lambda lists as functions.
4408 (imenu--in-alist): Don't recurse into non-subalists.
4409 (imenu): Don't pass function itself as an argument (Bug#14029).
4410
4411 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * progmodes/python.el (python-mode-map): Remove binding for ":".
4414 (python-indent-electric-colon): Remove command.
4415 (python-indent-post-self-insert-function): Integrate the previous code
4416 of python-indent-electric-colon. Make it conditional on
4417 electric-indent-mode.
4418 (python-mode): Add ?: to electric-indent-chars.
4419 Move python-indent-post-self-insert-function to the end of
4420 post-self-insert-hook.
4421
4422 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * doc-view.el (doc-view-goto-page): Update mode-line.
4425
4426 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4427
4428 2013-11-27 Glenn Morris <rgm@gnu.org>
4429
4430 * international/charprop.el, international/uni-bidi.el:
4431 * international/uni-category.el, international/uni-combining.el:
4432 * international/uni-comment.el, international/uni-decimal.el:
4433 * international/uni-decomposition.el, international/uni-digit.el:
4434 * international/uni-lowercase.el, international/uni-mirrored.el:
4435 * international/uni-name.el, international/uni-numeric.el:
4436 * international/uni-old-name.el, international/uni-titlecase.el:
4437 * international/uni-uppercase.el:
4438 Remove generated files from VCS repository.
4439
4440 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4441
4442 * filenotify.el (file-notify-add-watch): Don't special-case
4443 w32notify when computing the directory to watch.
4444
4445 2013-11-27 Glenn Morris <rgm@gnu.org>
4446
4447 Make bootstrap without generated uni-*.el files possible again.
4448 * loadup.el: Update command-line-args checking for unidata-gen.
4449 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4450 * composite.el, international/characters.el:
4451 Handle unicode tables being undefined.
4452
4453 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4454 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4455 (compile-main): Depend on leim rule.
4456 (leim): New rule.
4457 * loadup.el: Move leim-list.el to leim/ subdirectory.
4458 * startup.el (normal-top-level): No more leim directory.
4459 * international/ja-dic-cnv.el (skkdic-convert):
4460 Disable version-control and autoloads in output files.
4461 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4462 Disable version-control and autoloads in output files.
4463 * leim/quail: Move here from ../leim.
4464 * leim/quail/hangul.el (hangul-input-method-activate):
4465 Add autoload cookie.
4466 (generated-autoload-load-name): Set file-local value.
4467 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4468 (generated-autoload-load-name): Set file-local value.
4469
4470 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4471
4472 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4473 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4474 (eww-quit): Ask confirmation before quitting eww.
4475
4476 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4477
4478 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4479 reading output from Diff on MS-Windows and MS-DOS.
4480
4481 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4482
4483 * emacs-lisp/helpers.el (string-reverse): New function.
4484
4485 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4486
4487 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4488 names on MS Windows, like "/[::1]:".
4489
4490 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4491 SWITCHES.
4492
4493 2013-11-26 Glenn Morris <rgm@gnu.org>
4494
4495 * progmodes/python.el (python-indent-guess-indent-offset):
4496 Avoid corner-case error. (Bug#15975)
4497
4498 Preload leim-list.el. (Bug#4789)
4499 * loadup.el: Load leim-list.el when found.
4500 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4501
4502 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4503
4504 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4505
4506 * emacs-lisp/helpers.el (string-join): New function.
4507
4508 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4509
4510 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4511 Mark as obsolete and replace it with a symbol property.
4512 (byte-compile-form): Use new 'interactive-only property.
4513 * comint.el, files.el, replace.el, simple.el:
4514 Apply new 'interactive-only properly.
4515
4516 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4517
4518 * window.el (display-buffer-at-bottom): Make sure that
4519 split-window-sensibly creates the new window on bottom
4520 (Bug#15961).
4521
4522 2013-11-23 David Kastrup <dak@gnu.org>
4523
4524 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4525 on the conflict markers when available.
4526 (smerge--get-marker): New function.
4527 (smerge-end-re, smerge-base-re): Add subgroup.
4528
4529 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4530
4531 * frame.el (handle-focus-in, handle-focus-out): Add missing
4532 interactive spec.
4533
4534 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4535
4536 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4537 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4538
4539 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4542 (gomoku--last-pos): New var.
4543 (gomoku--intangible-chars): New const.
4544 (gomoku--intangible): New function.
4545 (gomoku-mode): Use it. Derive from special-mode.
4546 (gomoku-move-up): Adjust line count.
4547 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4548 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4549 Simplify accordingly.
4550
4551 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4552 Remove blink-cursor code.
4553 (blink-cursor-timer-function, blink-cursor-suspend):
4554 Don't special-case GUIs.
4555 (blink-cursor-mode): Use focus-in/out-hook.
4556
4557 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4558
4559 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4560 work when annotation is invisible (Bug#13886).
4561
4562 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4563
4564 * json.el (json-alist-p): Only return non-nil if the alist has
4565 simple keys (Bug#13518).
4566
4567 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4568
4569 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4570 when control-statement is the first statement in a buffer (Bug#15956).
4571
4572 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4573
4574 * imenu.el (imenu-generic-skip-comments-and-strings):
4575 New option (Bug#15560).
4576 (imenu--generic-function): Use it.
4577
4578 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4579
4580 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4581 (Bug#13898)
4582
4583 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4584
4585 * emacs-lisp/helpers.el: Add some string helpers.
4586 (string-trim-left): Removes leading whitespace.
4587 (string-trim-right): Removes trailing whitespace.
4588 (string-trim): Removes leading and trailing whitespace.
4589
4590 * subr.el (string-suffix-p): New function.
4591
4592 2013-11-23 Glenn Morris <rgm@gnu.org>
4593
4594 * progmodes/python.el (python-shell-send-file):
4595 Add option to delete file when done. (Bug#15647)
4596 (python-shell-send-string, python-shell-send-region): Use it.
4597
4598 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4599
4600 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4601 to set buffer-read-only to t, never to nil. (Bug#15938)
4602
4603 * textmodes/tex-mode.el (latex-noindent-environments):
4604 Add safe-local-variable property. (Bug#15936)
4605
4606 2013-11-23 Glenn Morris <rgm@gnu.org>
4607
4608 * textmodes/enriched.el (enriched-mode): Doc fix.
4609 * emacs-lisp/authors.el (authors-renamed-files-alist):
4610 Add enriched.doc -> enriched.txt.
4611
4612 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4613
4614 2013-11-22 Leo Liu <sdl.web@gmail.com>
4615
4616 * progmodes/octave.el (inferior-octave-startup): Spit out error
4617 message.
4618
4619 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4620
4621 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4622 Improve docstring.
4623 Add :version.
4624 (ruby-encoding-magic-comment-style): Add :version.
4625
4626 2013-11-22 Leo Liu <sdl.web@gmail.com>
4627
4628 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4629 (Bug#15076)
4630 (octave-help-mode): Adapt to change to help-mode-finish to use
4631 derived-mode-p on 2013-09-17.
4632 (inferior-octave-prompt): Also match octave-gui.
4633 (octave-kill-process): Don't ask twice. (Bug#10564)
4634
4635 2013-11-22 Leo Liu <sdl.web@gmail.com>
4636
4637 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4638 (inferior-octave-startup, inferior-octave-check-process)
4639 (inferior-octave-track-window-width-change)
4640 (octave-completion-at-point, octave-eldoc-function): Use it.
4641 (octave-kill-process): Provide confirmation. (Bug#10564)
4642
4643 2013-11-21 Leo Liu <sdl.web@gmail.com>
4644
4645 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4646 Fix obsolete variable comment-use-global-state.
4647
4648 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4649
4650 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4651 Add `octave-source-file'.
4652 (octave-source-file): New function. (Bug#15935)
4653
4654 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4655
4656 * net/eww.el (eww-local-regex): New variable.
4657 (eww): Use it to detect localhost and similar.
4658
4659 2013-11-21 Leo Liu <sdl.web@gmail.com>
4660
4661 Add completion for command `ag'.
4662 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4663 (pcomplete/ag): New function.
4664 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4665
4666 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4669 (bug#14646).
4670 (make-obsolete): Remove interactive spec.
4671
4672 2013-11-21 Glenn Morris <rgm@gnu.org>
4673
4674 * startup.el (command-line-1): Use path-separator with -L.
4675
4676 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4677
4678 * emacs-lisp/package.el (describe-package-1): Add package archive
4679 to shown fields.
4680
4681 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4682
4683 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4684 Change default to "# encoding: %s" to differentiate it from the
4685 default Ruby encoding comment template.
4686
4687 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4688
4689 * ses.el (ses-mode): Doc fix. (Bug#14748)
4690
4691 2013-11-20 Leo Liu <sdl.web@gmail.com>
4692
4693 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4694
4695 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4696
4697 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4698 when rebase or bisect are in progress.
4699
4700 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4701
4702 * filenotify.el (file-notify-add-watch): Doc fix.
4703
4704 2013-11-19 Leo Liu <sdl.web@gmail.com>
4705
4706 * obsolete/rcompile.el: Mark obsolete.
4707
4708 * progmodes/compile.el (compilation-start)
4709 (compilation-goto-locus, compilation-find-file):
4710 Pass no-display-ok and handle nil value from display-buffer.
4711 (Bug#13594)
4712
4713 * window.el (display-buffer-alist, display-buffer): Document the
4714 new parameter no-display-ok. Return either a window or nil
4715 but never a non-window value.
4716
4717 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * electric.el (electric-indent-mode-map): Remove.
4720 (electric-indent-mode): Change the global-map instead (bug#15915).
4721
4722 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4723 Use add-function.
4724
4725 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 * emacs-lisp/nadvice.el (remove-function): Align with
4728 add-function's behavior.
4729
4730 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4731 (gdb--string-regexp): New constant.
4732 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4733 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4734 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4735 submatch 1.
4736 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4737 Adjust use accordingly.
4738 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4739
4740 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4741
4742 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4743 interpolation curlies (Bug#15914).
4744
4745 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4746
4747 * calc/calc.el (calc-context-sensitive-enter): New variable.
4748 (calc-enter): Use `calc-context-sensitive-enter'.
4749
4750 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4751
4752 * progmodes/cfengine.el: Version bump.
4753 (cfengine-cf-promises): New defcustom to locate cf-promises.
4754 (cfengine3-vartypes): Add new "data" type.
4755 (cfengine3--current-word): New function to get current name-like
4756 word or its bounds.
4757 (cfengine3--current-function): New function to look up a CFEngine
4758 function's definition.
4759 (cfengine3-format-function-docstring): New function.
4760 (cfengine3-make-syntax-cache): New function.
4761 (cfengine3-documentation-function): New function: ElDoc glue.
4762 (cfengine3-completion-function): New function: completion glue.
4763 (cfengine3-mode): Set `compile-command',
4764 `eldoc-documentation-function', and add to
4765 `completion-at-point-functions'.
4766
4767 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4768
4769 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4770 `tramp-current-connection'.
4771
4772 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4773
4774 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4775 nil/self/true/false with "end of symbol".
4776
4777 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4778
4779 * subr.el (version-regexp-alist): Fix a typo.
4780
4781 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4782
4783 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4784 "en_US.utf8" and "LC_CTYPE" to "".
4785 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4786 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4787
4788 2013-11-15 Leo Liu <sdl.web@gmail.com>
4789
4790 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4791
4792 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * progmodes/gud.el (ctl-x-map):
4795 Remove C-x SPC binding. (Bug#12342)
4796 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4797
4798 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4799
4800 * subr.el (version-regexp-alist):
4801 Recognize hg, svn and darcs versions as snapshot versions.
4802
4803 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4804 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4805 (ruby--encoding-comment-required-p): Extract from
4806 `ruby-mode-set-encoding'.
4807 (ruby-mode-set-encoding): Add the ability to always insert an
4808 utf-8 encoding comment. Fix and simplify coding comment update
4809 logic.
4810
4811 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4812
4813 * net/tramp-gvfs.el (top): Run init code only when
4814 `tramp-gvfs-enabled' is not nil.
4815 (tramp-gvfs-enabled): Check also :system bus.
4816
4817 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 Sync with upstream verilog-mode revision 78e66ba.
4820 * progmodes/verilog-mode.el (verilog-end-of-defun)
4821 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4822 (verilog-get-end-of-defun): Remove unused argument.
4823 (verilog-comment-depth): Remove unused local `e'.
4824 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4825 Don't pass arg to verilog-get-end-of-defun.
4826
4827 2013-11-14 Glenn Morris <rgm@gnu.org>
4828
4829 * obsolete/assoc.el (aget): Prefix dynamic variable.
4830
4831 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4832
4833 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * widget.el, hfy-cmap.el: Remove bogus package version number.
4836
4837 2013-11-13 Glenn Morris <rgm@gnu.org>
4838
4839 * replace.el (replace-eval-replacement):
4840 Try to give more helpful error message. (Bug#15836)
4841
4842 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4843 (archive-7z-update): Avoid custom type mismatches.
4844
4845 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4846
4847 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4848
4849 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4850 address can be empty.
4851
4852 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4853 Accept nil SWITCHES.
4854 (tramp-gvfs-handle-write-region): Implement APPEND.
4855
4856 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4857
4858 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4859 binary "|" operator and closing block args delimiter.
4860 Remove FIXME comment referring to Ruby 1.8-only syntax.
4861 (ruby-smie--implicit-semi-p): Not after "|" operator.
4862 (ruby-smie--closing-pipe-p): New function.
4863 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4864 (ruby-smie-rules): Indent after "|".
4865
4866 2013-11-12 Glenn Morris <rgm@gnu.org>
4867
4868 * ps-print.el (ps-face-attribute-list):
4869 Handle anonymous faces. (Bug#15827)
4870
4871 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4872
4873 * window.el (display-buffer-other-frame): Fix doc-string.
4874 (Bug#15868)
4875
4876 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4877
4878 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4879
4880 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4881
4882 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4883 (tramp-sh-handle-file-local-copy): Don't write a message when
4884 saving temporary files.
4885
4886 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4887 both directories are remote.
4888 (tramp-smb-handle-directory-files): Do not return double entries.
4889 Do not expand full file names.
4890 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4891 (tramp-smb-handle-write-region): Implement APPEND.
4892 (tramp-smb-get-stat-capability): Fix a stupid bug.
4893
4894 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4897
4898 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4899
4900 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4901 throwing error over malformed let/let* (bug#15814).
4902
4903 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * iswitchb.el (iswitchb-mode): Mark obsolete.
4906
4907 2013-11-11 Glenn Morris <rgm@gnu.org>
4908
4909 * international/uni-bidi.el, international/uni-category.el:
4910 * international/uni-name.el, international/uni-numeric.el:
4911 Regenerate for Unicode 6.3.0.
4912
4913 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4914
4915 * net/tramp.el (tramp-methods):
4916 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4917 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4918
4919 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4920
4921 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4922 Force highlighting text after Summary keyword in doc face for rpm.
4923
4924 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4925
4926 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4927 available and the word has no wildcards, append one to the grep pattern.
4928 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4929 (ispell-complete-word): Call `ispell-lookup-words' with the value
4930 independent of `ispell-look-p'.
4931
4932 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4933
4934 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4935 Not after "||".
4936 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4937 their parent.
4938
4939 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4940
4941 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4942 (ruby-font-lock-keywords): Use backquote.
4943
4944 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4945
4946 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4947 (ruby-smie--backward-token): Only consider full-string matches.
4948
4949 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4950
4951 * faces.el (describe-face): Add distant-foreground.
4952
4953 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4954
4955 * progmodes/ruby-mode.el: Improve encoding comment handling.
4956 (ruby-encoding-magic-comment-style): New option.
4957 (ruby-custom-encoding-magic-comment-template): New option.
4958 (ruby--insert-coding-comment, ruby--detect-encoding):
4959 New functions extracted from `ruby-mode-set-encoding'.
4960 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4961 to control the style of the auto-inserted encoding comment.
4962
4963 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4964
4965 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4966 Use `smie-backward-sexp' with token argument.
4967
4968 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4969
4970 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4971 Remove instrumentation code.
4972
4973 2013-11-08 Glenn Morris <rgm@gnu.org>
4974
4975 * progmodes/autoconf.el (autoconf-mode):
4976 Tweak comment-start-skip. (Bug#15822)
4977
4978 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4981 at bobp (bug#15826).
4982 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4983
4984 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4985
4986 * man.el (Man-start-calling): New macro, extracted from
4987 Man-getpage-in-background.
4988 (Man-getpage-in-background): Use it.
4989 (Man-update-manpage): New command.
4990 (Man-mode-map): Bind it.
4991
4992 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4993
4994 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4995 of "and", "or", "&&" and "||".
4996 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4997 argument. Prohibit opening curly brace because it could only be a
4998 block opener in that position.
4999 (ruby-smie--forward-token, ruby-smie--backward-token):
5000 Separate "|" from "&" or "*" going after it. That can happen in block
5001 arguments.
5002 (ruby-smie--indent-to-stmt): New function, seeks the end of
5003 previous statement or beginning of buffer.
5004 (ruby-smie-rules): Use it.
5005 (ruby-smie-rules): Check if there's a ":" before a curly block
5006 opener candidate; if there is, it's a hash.
5007
5008 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5009
5010 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5011 (cl--block-wrapper): Fix last accidental change.
5012
5013 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5014
5015 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5016 Instrument, in order to hunt failure on hydra.
5017
5018 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5019
5020 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5021 malformed bindings form (bug#15814).
5022
5023 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5024
5025 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5026 "." compared to " @ ". This incidentally fixes some indentation
5027 examples with "do".
5028 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5029 (ruby-smie-grammar): New tokens: "and" and "or".
5030 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5031 Exclude "and" and "or". Remove "do" in order to work around token
5032 priorities.
5033 (ruby-smie-rules): Add all infix tokens. Handle the case of
5034 beginning-of-buffer.
5035
5036 2013-11-06 Glenn Morris <rgm@gnu.org>
5037
5038 * Makefile.in (setwins_almost, setwins_for_subdirs):
5039 Avoid accidental matches.
5040
5041 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * menu-bar.el (popup-menu): Use key-binding.
5044
5045 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5046
5047 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5048 menus, support also the menus produced by minor modes.
5049 (Bug#15817)
5050
5051 2013-11-06 Leo Liu <sdl.web@gmail.com>
5052
5053 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5054 DISTANCE to bound the search. All uses changed. (Bug#15808)
5055
5056 2013-11-06 Glenn Morris <rgm@gnu.org>
5057
5058 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5059 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5060 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5061
5062 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * electric.el (electric-indent-just-newline): New command.
5065 (electric-indent-mode-map): New keymap.
5066 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5067 Re-add :group which weren't redundant.
5068
5069 * electric.el (electric-indent-local-mode): New minor mode.
5070 (electric-indent-functions-without-reindent): New var.
5071 (electric-indent-post-self-insert-function): Use it.
5072 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5073
5074 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5075
5076 * international/quail.el (quail-help): Be more explicit about the
5077 meaning of the labels shown on the keys. (Bug#15800)
5078
5079 * startup.el (normal-top-level): Load the subdirs.el files before
5080 setting the locale environment. (Bug#15805)
5081
5082 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5085 via arguments so as to get the right ones (bug#15418).
5086
5087 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5088
5089 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5090
5091 Fix problems found while writing a test suite.
5092
5093 * net/tramp-compat.el (tramp-compat-load): New defun.
5094 * net/tramp.el (tramp-handle-load): Use it.
5095
5096 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5097 "(numberp ok-if-already-exists)" correctly.
5098
5099 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5100
5101 * international/characters.el (glyphless-char-display-control):
5102 Add usage note.
5103
5104 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5105
5106 * progmodes/python.el (python-mode):
5107 * progmodes/scheme.el (scheme-mode):
5108 * progmodes/prolog.el (prolog-mode):
5109 * progmodes/ruby-mode.el (ruby-mode):
5110 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5111 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5112
5113 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * rect.el (rectangle--highlight-for-redisplay):
5116 * emacs-lisp/smie.el (smie--next-indent-change):
5117 Use buffer-chars-modified-tick.
5118
5119 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5120
5121 * electric.el (electric-indent-post-self-insert-function):
5122 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5123
5124 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5125
5126 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5127
5128 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5129
5130 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5131 (bug#15786).
5132
5133 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5136
5137 * progmodes/python.el: Fix up last change.
5138 (python-shell--save-temp-file): New function.
5139 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5140 `string' comes from the current buffer.
5141 (python-shell-send-string-no-output): Remove `msg' arg.
5142 (python--use-fake-loc): New var.
5143 (python-shell-buffer-substring): Obey it. Try to compensate for the
5144 extra coding line added by python-shell--save-temp-file.
5145 (python-shell-send-region): Use python-shell--save-temp-file and
5146 python-shell-send-file directly. Add `nomain' argument.
5147 (python-shell-send-buffer): Use python-shell-send-region.
5148 (python-electric-pair-string-delimiter): New function.
5149 (python-mode): Use it.
5150
5151 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5152
5153 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5154 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5155 environment and decoding all of the default-directory's to here
5156 from command-line.
5157 (command-line): Decode also argv[0].
5158
5159 * loadup.el: Error out if default-directory is a multibyte string
5160 when we are dumping.
5161
5162 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5163
5164 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5165
5166 * emacs-lisp/package.el (package-menu-mode)
5167 (package-menu--print-info, package-menu--archive-predicate):
5168 Add Archive column to package list.
5169
5170 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5171
5172 Fix problems found while writing a test suite.
5173
5174 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5175 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5176 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5177 to nil when running original file name handler. Otherwise,
5178 there are problems with constructs like "$$FOO".
5179
5180 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5181 for `localname'.
5182
5183 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5184
5185 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5186
5187 * subr.el (version<, version<=, version=):
5188 Update docstrings with information for snapshot versions.
5189
5190 * helpers.el: New library for misc helper functions.
5191 (hash-table-keys): New function returning a list of hash keys.
5192 (hash-table-values): New function returning a list of hash values.
5193
5194 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5195
5196 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5197 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5198
5199 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5200
5201 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5202 checking whether point is after a 1-letter word.
5203
5204 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5205
5206 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5207 Don't infloop when expanding region over `multiline' syntax-type that
5208 begins a line (bug#15778).
5209
5210 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5213 Make it into a proper minor mode.
5214 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5215 (rectangle-mark-mode-map): New keymap.
5216 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5217
5218 2013-11-04 Glenn Morris <rgm@gnu.org>
5219
5220 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5221
5222 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5225 (ruby-smie-rules): Use smie-rule-parent instead.
5226
5227 * emacs-lisp/smie.el (smie-rule-parent): Always call
5228 smie-indent-virtual rather than only for hanging tokens.
5229 (smie--next-indent-change): New helper command.
5230
5231 2013-11-03 Glenn Morris <rgm@gnu.org>
5232
5233 * Makefile.in (abs_srcdir): Remove.
5234 (emacs): Unset EMACSLOADPATH.
5235
5236 2013-11-02 Glenn Morris <rgm@gnu.org>
5237
5238 * Makefile.in (EMACS): Use a relative filename.
5239 (abs_top_builddir): Remove.
5240 (custom-deps, finder-data, autoloads): Use --chdir.
5241
5242 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5243
5244 Use relative filenames in TAGS files.
5245 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5246 (lisptagsfiles4, TAGS): Use relative file names.
5247 (TAGS-LISP): Remove.
5248 (maintainer-clean): No more TAGS-LISP file.
5249
5250 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5251 (lisptagsfiles4): Use absolute filenames again.
5252 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5253 Remove all *loaddefs files, not just the first. Remove esh-groups.
5254 (maintainer-clean): Delete TAGS, TAGS-LISP.
5255
5256 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5257
5258 * emacs-lisp/package.el (package-version-join):
5259 Recognize snapshot versions.
5260
5261 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5262
5263 * subr.el (version-regexp-alist): Add support for snapshot versions.
5264
5265 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5266
5267 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5268 New function, replacement for `smie-rule-parent' for when we want to
5269 skip over our direct parent if it's an assignment token..
5270 (ruby-smie-rules): Use it.
5271
5272 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5273
5274 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5275 unconditionally. Remove now unnecessary forward declarations.
5276 Remove XEmacs-specific setup.
5277 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5278 (ruby-font-lock-syntactic-keywords)
5279 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5280 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5281 (ruby-here-doc-end-syntax): Remove.
5282 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5283 defined as function.
5284
5285 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5286
5287 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5288
5289 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5290
5291 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5292 table and abbrev table, `define-derived-mode' does that for us
5293 anyway.
5294
5295 2013-11-01 Glenn Morris <rgm@gnu.org>
5296
5297 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5298 files is atomic for some time, so no parallel compilation issues).
5299
5300 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5301
5302 * faces.el (face-x-resources): Add :distant-foreground.
5303 (region): Use :distant-foreground for gtk and ns.
5304
5305 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5306
5307 Allow multiple bibliographies when BibLaTeX is used rather than
5308 BibTeX.
5309 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5310 (reftex-locate-bibliography-files): Us it.
5311
5312 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5313
5314 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5315 allow comments in pbm files.
5316
5317 * term/w32-win.el (dynamic-library-alist): Support newer versions
5318 of libjpeg starting with v7: look only for the DLL from the
5319 version against which Emacs was built.
5320 Support versions of libpng beyond 1.4.x.
5321 Support libtiff v4.x.
5322
5323 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5324
5325 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5326 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5327 Add property :safe.
5328 (ruby-deep-arglist): Add property :type.
5329
5330 2013-10-31 Glenn Morris <rgm@gnu.org>
5331
5332 * Makefile.in (custom-deps, finder-data): No need to setq the target
5333 variables, we are in the right directory and the defaults work fine.
5334
5335 2013-10-30 Glenn Morris <rgm@gnu.org>
5336
5337 * Makefile.in (autoloads): Do not use abs_lisp.
5338
5339 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5340 `newline' does not respect `standard-output', so use `princ'.
5341
5342 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5343
5344 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5345 * buff-menu.el (Buffer-menu--unmark): New function.
5346 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5347
5348 2013-10-30 Glenn Morris <rgm@gnu.org>
5349
5350 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5351
5352 * emacs-lisp/package.el (lm-homepage): Declare.
5353
5354 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5355 Fix doc typos.
5356
5357 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5358
5359 * Makefile.in (finder-data, autoloads, update-subdirs)
5360 (compile-main, compile-clean, compile-always, bootstrap-clean):
5361 Check return value of cd.
5362 (compile-calc): Remove.
5363
5364 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5367
5368 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5369 (byte-compile-and-folded): New function.
5370 (=, <, >, <=, >=): Use it.
5371
5372 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5373 (path-separator, null-device, buffer-file-coding-system)
5374 (lpr-headers-switches): Check system-type before modifying them.
5375 (find-buffer-file-type-coding-system): Mark obsolete.
5376 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5377 find-file-not-found-set-buffer-file-coding-system.
5378 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5379 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5380 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5381 (w32-direct-print-region-helper, w32-direct-print-region-function)
5382 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5383 * startup.el (normal-top-level-add-subdirs-to-load-path):
5384 * ps-print.el (ps-print-region-function):
5385 * lpr.el (print-region-function): Use new name.
5386
5387 * subr.el (custom-declare-variable-early): Remove function.
5388 (custom-declare-variable-list): Remove var.
5389 (error, user-error): Remove `while' loop.
5390 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5391 (user-emacs-directory-warning, locate-user-emacs-file):
5392 Move to files.el.
5393 * simple.el (read-quoted-char-radix, read-quoted-char):
5394 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5395 Move from subr.el.
5396 * custom.el (custom-declare-variable-list): Don't process
5397 custom-declare-variable-list.
5398
5399 * progmodes/python.el (python-shell-get-buffer): New function.
5400 (python-shell-get-process): Use it.
5401 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5402 Python which encoding was used. Don't split-string since we only care
5403 about the first line. Return the temp-file, if applicable.
5404 (python-shell-send-region): Tell compile.el how to turn locations in
5405 the temp-file into locations in the source buffer.
5406
5407 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * subr.el (undefined): Add missing behavior from the C code for
5410 unbound keys.
5411
5412 * rect.el: Use lexical-binding. Add new rectangular region support.
5413 (rectangle-mark): New command.
5414 (rectangle--region): New var.
5415 (deactivate-mark-hook): Reset rectangle--region.
5416 (rectangle--extract-region, rectangle--insert-for-yank)
5417 (rectangle--highlight-for-redisplay)
5418 (rectangle--unhighlight-for-redisplay): New functions.
5419 (region-extract-function, redisplay-unhighlight-region-function)
5420 (redisplay-highlight-region-function): Use them to handle
5421 rectangular region.
5422 * simple.el (region-extract-function): New var.
5423 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5424 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5425 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5426 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5427 (redisplay-unhighlight-region-function)
5428 (redisplay-highlight-region-function): New vars.
5429 (redisplay--update-region-highlight): New function.
5430 (pre-redisplay-function): Use it.
5431 (exchange-point-and-mark): Don't deactivate the mark before
5432 reactivate-it anyway.
5433 * comint.el (comint-kill-region): Remove yank-handler argument.
5434 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5435 (delete-char): Remove property, since it's now part of their
5436 default behavior.
5437 (self-insert-iso): Remove property since this command doesn't exist.
5438
5439 * emacs-lisp/package.el (package--download-one-archive)
5440 (describe-package-1): Don't query the user about final newline.
5441
5442 2013-10-29 Daniel Colascione <dancol@dancol.org>
5443
5444 * net/tramp.el (tramp-methods): Document new functionality.
5445 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5446 tramp-hostname-checker if method provides one instead of scanning
5447 argument list for "%h" to decide hostname acceptability.
5448
5449 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5450
5451 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5452 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5453 Handle COPY-CONTENTS. (Bug#15737)
5454
5455 2013-10-28 Daiki Ueno <ueno@gnu.org>
5456
5457 * epa-file.el
5458 (epa-file-cache-passphrase-for-symmetric-encryption):
5459 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5460
5461 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5462
5463 * image.el (defimage, image-load-path): Doc fixes.
5464
5465 2013-10-27 Alan Mackenzie <acm@muc.de>
5466
5467 Indent statements in macros following "##" correctly.
5468 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5469 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5470
5471 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5472
5473 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5474
5475 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5476
5477 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5478 after `=' is probably a new expression.
5479
5480 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5481
5482 * man.el (man-imenu-title): New option.
5483 (Man-mode-map): Add menu. (Bug#15722)
5484 (Man-mode): Add imenu to menu.
5485
5486 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5487
5488 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5489 specific in what the first arg can be: a non-keyword word,
5490 string/regexp/percent literal opener, opening paren, or unary
5491 operator followed directly by word.
5492
5493 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5494
5495 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5496 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5497 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5498 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5499 Remove vars, they do not apply any more.
5500 (prolog-mode-abbrev-table): Remove redundant declaration.
5501 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5502 (prolog-use-smie): Remove.
5503 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5504 supported by prolog-electric-if-then-else-flag.
5505 (prolog-mode-variables, prolog-menu): Use setq-local.
5506 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5507 Remove binding to `Backspace' since this key doesn't exist anyway.
5508 Remove bindings for electric self-inserting keys.
5509 (prog-mode): Assume it's defined.
5510 (prolog-post-self-insert): New function.
5511 (prolog-mode): Use it.
5512 (prolog-indent-line, prolog-indent-level)
5513 (prolog-find-indent-of-matching-paren)
5514 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5515 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5516 (prolog-goto-next-paren, prolog-in-string-or-comment)
5517 (prolog-tokenize, prolog-inside-mline-comment)
5518 (prolog-find-start-of-mline-comment): Remove functions.
5519 (prolog-find-unmatched-paren, prolog-clause-end)
5520 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5521 (prolog-electric--if-then-else): Rename from
5522 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5523 (prolog-tokenize-searchkey): Remove const.
5524 (prolog-clause-info): Use forward-sexp.
5525 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5526 (prolog-electric-if-then-else): Remove commands.
5527 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5528 for use in post-self-insert-hook.
5529 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5530 for use in post-self-insert-hook.
5531 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5532 for use in post-self-insert-hook.
5533 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5534 adapt it for use in post-self-insert-hook.
5535
5536 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5537
5538 * emacs-lisp/ert.el (ert-run-tests-interactively):
5539 Use `completing-read'. (Bug#9756)
5540
5541 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5542
5543 * simple.el (line-move): Call line-move-1 instead of
5544 line-move-visual when the current window hscroll is zero, but
5545 temporary-goal-column indicates we will need to hscroll as result
5546 of the movement. (Bug#15712)
5547
5548 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5549
5550 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5551 capitalization. Use :visible instead of :active.
5552 Fix `ruby-indent-exp' reference. Add menu items for the generic
5553 commands that are used with SMIE.
5554 (ruby-do-end-to-brace): Insert space after `{'.
5555
5556 2013-10-25 John Anthony <john@jo.hnanthony.com>
5557
5558 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5559
5560 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5561
5562 2013-10-25 Glenn Morris <rgm@gnu.org>
5563
5564 * vc/vc.el (vc-print-log): Don't use a working revision unless
5565 one was explicitly specified. (Bug#15322)
5566
5567 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * subr.el (add-to-list): Preserve return value in compiler-macro
5570 (bug#15692).
5571
5572 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5573
5574 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5575 result. Ask user to retry using '-all' flag. (Bug#15701)
5576
5577 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5578
5579 * emacs-lisp/smie.el: New smie-config system.
5580 (smie-config): New defcustom.
5581 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5582 (smie-config-guess, smie-config-save): New commands.
5583 (smie-config--mode-local, smie-config--buffer-local)
5584 (smie-config--trace, smie-config--modefuns): New vars.
5585 (smie-config--advice, smie-config--mode-hook)
5586 (smie-config--setter, smie-config-local, smie-config--get-trace)
5587 (smie-config--guess-value, smie-config--guess): New functions.
5588 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5589 text properties. Treat "string fence" syntax like string syntax.
5590
5591 * progmodes/sh-script.el (sh-use-smie): Change default.
5592 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5593 (sh-var-value): Simplify by CSE.
5594 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5595 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5596 is used.
5597 (sh-guess-basic-offset): Use cl-incf.
5598 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5599
5600 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5601
5602 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5603 (bug#15699).
5604
5605 2013-10-24 Glenn Morris <rgm@gnu.org>
5606
5607 * Makefile.in (abs_top_srcdir): Remove.
5608 (update-subdirs): Use relative path to update-subdirs.
5609
5610 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5611
5612 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5613 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5614 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5615 Call unmsys--file-name before expand-file-name, not after it.
5616
5617 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5618
5619 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5620 (ert-test-skipped): New error.
5621 (ert-skip, ert-stats-skipped): New defuns.
5622 (ert--skip-unless): New macro.
5623 (ert-test-skipped): New struct.
5624 (ert--run-test-debugger, ert-test-result-type-p)
5625 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5626 (ert--stats-set-test-and-result, ert-char-for-test-result)
5627 (ert-string-for-test-result, ert-run-tests-batch)
5628 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5629 Handle skipped tests. (Bug#9803)
5630
5631 2013-10-24 Glenn Morris <rgm@gnu.org>
5632
5633 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5634
5635 * Makefile.in (abs_top_srcdir): New, set by configure.
5636 (update-subdirs): Correct build-aux location.
5637
5638 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5639
5640 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5641 value, whether we could auto-deduce `backend', or not.
5642
5643 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5644 with parameters" example. Simplify the "is it block or is it
5645 hash" check, but also make it more thorough.
5646
5647 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5648
5649 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5650
5651 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5654 { if it is hanging.
5655
5656 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5657 :before ";".
5658
5659 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5660
5661 * progmodes/compile.el (compilation-directory-matcher)
5662 (compilation-page-delimiter):
5663 Support GNU Make-4.0 directory quoting. (Bug#15678)
5664
5665 2013-10-23 Leo Liu <sdl.web@gmail.com>
5666
5667 * ido.el (ido-tidy): Handle read-only text.
5668
5669 2013-10-23 Glenn Morris <rgm@gnu.org>
5670
5671 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5672 (emacs, compile, compile-always):
5673 Quote entities that might contain whitespace.
5674 (custom-deps, finder-data, autoloads): Use abs_lisp.
5675 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5676 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5677 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5678
5679 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5680
5681 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5682 Use `following-char'.
5683
5684 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5687 * progmodes/ruby-mode.el (ruby-smie-rules):
5688 Remove corresponding workaround. Fix indentation rule of ";" so it
5689 also applies when ";" is the parent.
5690
5691 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5692
5693 * frame.el (display-screens, display-pixel-height)
5694 (display-pixel-width, display-mm-width, display-backing-store)
5695 (display-save-under, display-planes, display-color-cells)
5696 (display-visual-class, display-monitor-attributes-list):
5697 Mention the optional ‘display’ argument in doc strings.
5698
5699 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5700
5701 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5702 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5703
5704 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5705
5706 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5707 TODO. Add "." after " @ ".
5708 (ruby-smie--at-dot-call): New function. Checks if point at method
5709 call with explicit target.
5710 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5711 to the method name tokens when it precedes them.
5712 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5713 (ruby-smie-rules): Add rule for indentation before and after "."
5714 token.
5715
5716 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * textmodes/remember.el (remember-diary-extract-entries):
5719 Avoid add-to-list.
5720
5721 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5722 an instruction.
5723
5724 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5725
5726 * progmodes/ruby-mode.el (ruby-smie-grammar):
5727 Add (almost) all infix operators.
5728 (ruby-smie--implicit-semi-p): Add new operator chars.
5729
5730 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5731 `smie-down-list'.
5732 (ruby-smie--args-separator-p): Check that there's no newline
5733 between method call and its arguments.
5734
5735 2013-10-20 Alan Mackenzie <acm@muc.de>
5736
5737 Allow comma separated lists after Java "implements".
5738
5739 * progmodes/cc-engine.el (c-backward-over-enum-header):
5740 Parse commas.
5741 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5742 from a "disallowed" list in enum fontification.
5743
5744 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5745
5746 * startup.el (default-frame-background-mode): Remove unused defvar.
5747
5748 * progmodes/verilog-mode.el (verilog-mode): Don't set
5749 comment-indent-function globally.
5750
5751 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5752
5753 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5754 Move Info menu item creation to ns-win.el.
5755
5756 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5757 in menu bar.
5758
5759 * menu-bar.el: Move GNUstep specific menus...
5760
5761 * term/ns-win.el (ns-initialize-window-system): ... to here.
5762
5763 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * simple.el (newline): Only run post-self-insert-hook when
5766 called interactively.
5767
5768 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5769
5770 * icomplete.el (icomplete-with-completion-tables): Add :version.
5771
5772 2013-10-19 Alan Mackenzie <acm@muc.de>
5773
5774 Fix fontification bugs with constructors and const.
5775
5776 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5777 CASE 2) Remove the check for the absence of a suffix construct
5778 after a function declaration with only types (no identifiers) in
5779 the parentheses. Also, accept a function declaration with just a
5780 type inside the parentheses, if this type can be positively
5781 recognised as such, or if a prefix keyword like "explicit" nails
5782 down the construct as a declaration.
5783
5784 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5785
5786 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5787 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5788 the problem whereby selecting a menu item that leads to a
5789 minibuffer prompt moves the cursor out of the minibuffer window,
5790 making it hard to type at the prompt. Suggested by Stefan Monnier
5791 <monnier@iro.umontreal.ca>.
5792
5793 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5794
5795 * menu-bar.el: Don't make Services menu.
5796
5797 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5798
5799 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5800 (ffap-alist): Use ffap-c++-mode for c++-mode.
5801 (ffap-c++-path): New variable.
5802 (ffap-c++-mode): New function.
5803
5804 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5805
5806 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5807
5808 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5809
5810 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5811 introduced on 2013-09-08, which results in an infinite loop
5812 requesting a password.
5813
5814 2013-10-18 Glenn Morris <rgm@gnu.org>
5815
5816 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5817
5818 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5819
5820 Sync with upstream verilog-mode revision 1a6ecec7.
5821 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5822 (verilog-mode-release-date): Remove.
5823 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5824 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5825 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5826 (verilog-auto-tieoff-ignore-regexp)
5827 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5828 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5829 (verilog-signals-with, verilog-dir-cache-preserving)
5830 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5831 Doc fixes.
5832 (verilog-case-fold): New option, to control case folding in
5833 regexp searches, bug597.
5834 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5835 (verilog-string-match-fold, verilog-in-paren-count)
5836 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5837 (verilog-at-close-struct-p): New functions.
5838 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5839 (verilog-forward-sexp, verilog-set-auto-endcomments)
5840 (verilog-leap-to-case-head): Handle "unique0" case.
5841 (verilog-in-constraint-re): New constant.
5842 (verilog-keywords, verilog-type-font-keywords):
5843 Add some SystemVerilog 1800-2012 keywords.
5844 (verilog-label-be): Remove unimplemented argument, bug669.
5845 (verilog-batch-execute-func): When batch expanding clear
5846 create-lockfiles to prevent spurious user locks when a file ends
5847 up not changing.
5848 (verilog-calculate-indent, verilog-calc-1)
5849 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5850 (verilog-do-indent): Fix indentation of nested constraints
5851 and structures.
5852 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5853 (verilog-auto-inst-param): Use verilog-string-match-fold.
5854 (verilog-read-inst-module-matcher):
5855 Fix AUTOINST on gate primitives with #1.
5856 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5857 Reads all user-defined typed variables.
5858 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5859 (verilog-signals-matching-regexp)
5860 (verilog-signals-not-matching-regexp, verilog-auto):
5861 Respect verilog-case-fold.
5862 (verilog-diff-report): Fix line count.
5863 (verilog-auto-assign-modport): Remove unused local `modi'.
5864 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5865 better handle multidimensional arrays.
5866 Fix packed array ports misadding bit index in AUTOINST, bug637.
5867 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5868 to not double-declare existing outputs and inputs, respectively.
5869 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5870 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5871 (verilog-sk-uvm-component): New skeleton.
5872 (verilog-submit-bug-report): Add verilog-case-fold,
5873 remove verilog-mode-release-date.
5874
5875 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5876
5877 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5878 as before.
5879
5880 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5881
5882 * textmodes/remember.el (remember): Set buffer-offer-save in
5883 remember buffers (bug#13566).
5884
5885 2013-10-18 Daniel Colascione <dancol@dancol.org>
5886
5887 When evaluating forms in ielm, direct standard output to ielm
5888 buffer. Add new ielm-return-for-effect command. Remove trailing
5889 whitespace throughout.
5890
5891 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5892 (ielm-return-for-effect): New command.
5893 (ielm-send-input): Accept optional `for-effect' parameter.
5894 (ielm-eval-input): Accept optional `for-effect' parameter.
5895 Bind `standard-output' to stream we create using
5896 `ielm-standard-output-impl'. Suppress printing result when
5897 `for-effect'.
5898 (ielm-standard-output-impl): New function.
5899 (inferior-emacs-lisp-mode): Explain new features in documentation.
5900
5901 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5902
5903 Code cleanup.
5904
5905 * net/tramp.el (tramp-debug-message): Do not check for connection
5906 buffer.
5907 (tramp-message): Use "vector" connection property.
5908
5909 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5910 (tramp-equal-remote, tramp-eshell-directory-change)
5911 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5912 (tramp-adb-handle-rename-file)
5913 * net/tramp-cmds.el (tramp-list-remote-buffers)
5914 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5915 * net/tramp-compat.el (tramp-compat-process-running-p)
5916 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5917 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5918 (tramp-gvfs-handle-rename-file)
5919 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5920 (tramp-set-file-uid-gid)
5921 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5922 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5923 of `file-remote-p'.
5924
5925 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5926 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5927 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5928 (tramp-gw-open-network-stream): Suppress unrelated traces.
5929
5930 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5931 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5932 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5933 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5934 connection property.
5935
5936 * net/tramp-cache.el (top): Suppress traces when reading
5937 persistency file.
5938
5939 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5940 Refactor common code. Improve debug message.
5941 (tramp-maybe-open-connection)
5942 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5943 connection buffer too early.
5944
5945 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5946 from `tramp-smb-actions-with-acl'.
5947 (tramp-smb-actions-set-acl): New defconst.
5948 (tramp-smb-handle-copy-directory)
5949 (tramp-smb-action-get-acl): New defun, renamed from
5950 `tramp-smb-action-with-acl'.
5951 (tramp-smb-action-set-acl): New defun.
5952 (tramp-smb-handle-set-file-acl): Rewrite.
5953
5954 2013-10-17 Glenn Morris <rgm@gnu.org>
5955
5956 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5957
5958 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * skeleton.el (skeleton-newline): Remove.
5961 (skeleton-internal-1): Use (insert "\n") instead.
5962
5963 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5964 let-bindings.
5965
5966 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5967 forward-sexp-function while we redo its job (bug#15613).
5968
5969 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5970
5971 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5972 represented by lists.
5973
5974 2013-10-16 Glenn Morris <rgm@gnu.org>
5975
5976 * tmm.el (tmm--history): New dynamic variable.
5977 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5978
5979 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5980
5981 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5982 (tramp-smb-errors): Add error messages.
5983 (tramp-smb-actions-with-acl): New defconst.
5984 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5985 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5986 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5987 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5988 (tramp-smb-get-stat-capability): Fix tests.
5989
5990 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5991
5992 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5993 (bug#15580).
5994
5995 2013-10-16 Glenn Morris <rgm@gnu.org>
5996
5997 * ansi-color.el (ansi-color-drop-regexp):
5998 Add 1J, 1K, 2K. (Bug#15617)
5999
6000 * files.el (hack-local-variables--warned-lexical): New.
6001 (hack-local-variables):
6002 Warn about misplaced lexical-binding. (Bug#15616)
6003
6004 * net/eww.el (eww-render): Always set eww-current-url,
6005 and update header line. (Bug#15622)
6006 (eww-display-html): ... Rather than just doing it here.
6007
6008 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6009
6010 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6011 menu navigations commands.
6012
6013 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6014
6015 * progmodes/subword.el (subword-capitalize): Be careful when
6016 the search for [[:alpha:]] fails (bug#15580).
6017
6018 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6019
6020 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6021 to commands that scroll the menu.
6022
6023 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6024
6025 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6026 Handle methods ending with `?' and `!'.
6027
6028 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6029
6030 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6031 `japanese-cp932' to `cp932' to fix the problem where saving a
6032 source file written in Shift_JIS twice would end up having
6033 `coding: japanese-cp932' which Ruby could not recognize.
6034 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6035 in `ruby-encoding-map'.
6036 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6037 doesn't need to be explicitly declared in magic comment.
6038 (ruby-encoding-map): Add type declaration for better customize UI.
6039
6040 2013-10-13 Glenn Morris <rgm@gnu.org>
6041
6042 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6043 Occur buffers are read-only. http://bugs.debian.org/720775
6044
6045 * emacs-lisp/authors.el (authors-fixed-entries):
6046 Comment out old alpha stuff.
6047
6048 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6049
6050 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6051 to `after-save-hook' instead of `before-save-hook'.
6052 (ruby-mode-set-encoding): Use the value of coding system used to
6053 write the file. Call `basic-save-buffer-1' after modifying the
6054 buffer.
6055
6056 2013-10-13 Alan Mackenzie <acm@muc.de>
6057
6058 Fix indentation/fontification of Java enum with
6059 "implements"/generic.
6060
6061 * progmodes/cc-engine.el (c-backward-over-enum-header):
6062 Extracted from the three other places and enhanced to handle generics.
6063 (c-inside-bracelist-p): Uses new function above.
6064 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6065 function above.
6066 (c-font-lock-enum-tail): Uses new function above.
6067
6068 2013-10-13 Kenichi Handa <handa@gnu.org>
6069
6070 * international/mule-cmds.el (select-safe-coding-system): Remove a
6071 superfluous condition in chekcing whether a coding system is safe
6072 or not.
6073
6074 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6075
6076 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6077
6078 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6079
6080 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6081
6082 2013-10-13 Glenn Morris <rgm@gnu.org>
6083
6084 * menu-bar.el (menu-bar-update-buffers):
6085 Unify Buffers menu prompt string. (Bug#15576)
6086
6087 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6088
6089 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6090 Add some entries.
6091 (authors-fixed-entries): Use accented form of name.
6092
6093 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6096 method calls (bug#15594).
6097 (ruby-smie--args-separator-p): New function.
6098 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6099 recognize paren-free method calls.
6100
6101 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6102 internals of universal-argument.
6103
6104 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6105
6106 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6107 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6108 dropped menu on second mouse click on the menu bar.
6109
6110 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6113 (explicit-shell-file-name): Declare.
6114 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6115 (sh-completion-at-point-function): New function.
6116 (sh-mode): Use it.
6117 (sh-smie--keyword-p): Remove unused argument.
6118 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6119 vars.
6120 (sh-set-shell): Always setup SMIE, even if we use the
6121 old indentation code.
6122
6123 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6124
6125 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6126 cases of ? and =.
6127 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6128 predicate would return nil are almost non-existent.
6129 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6130
6131 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6132 cache also after commands that modify the buffer but don't move
6133 point.
6134
6135 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 * env.el (substitute-env-in-file-name): New function.
6138 (substitute-env-vars): Extend the meaning of the optional arg.
6139
6140 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6141
6142 * term/w32-win.el (dynamic-library-alist): Define separate lists
6143 of GIF DLLs for versions before and after 5.0.0 of giflib.
6144 (Bug#15531)
6145
6146 2013-10-10 João Távora <joaotavora@gmail.com>
6147
6148 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6149 not locked, use last revision and current source as
6150 defaults. (Bug#15569)
6151
6152 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6153
6154 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6155 menu-bar is hidden.
6156
6157 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6158
6159 * window.el (pop-to-buffer-same-window): Fix doc-string.
6160 (Bug#15492)
6161
6162 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6165
6166 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6167
6168 * calendar/icalendar.el (icalendar-import-file):
6169 Fix interactive spec. (Bug#15482)
6170
6171 2013-10-10 Glenn Morris <rgm@gnu.org>
6172
6173 * desktop.el (desktop-save): Default to saving in .emacs.d,
6174 since PWD is no longer in desktop-path by default. (Bug#15319)
6175
6176 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6177 now that text mode has a menu with the same entry.
6178 (menu-bar-text-mode-auto-fill): Remove now unused func.
6179 * textmodes/text-mode.el (text-mode-map):
6180 Use auto-fill help text from menu-bar.el.
6181
6182 2013-10-10 John Anthony <john@jo.hnanthony.com>
6183
6184 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6185
6186 2013-10-09 Juri Linkov <juri@jurta.org>
6187
6188 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6189 instead of this-command-keys. Add universal-argument-more and
6190 universal-argument-minus to the list of prefix commands. (Bug#15568)
6191
6192 2013-10-09 Glenn Morris <rgm@gnu.org>
6193
6194 * vc/vc-svn.el (vc-svn-create-repo):
6195 Expand paths in file://... url. (Bug#15446)
6196
6197 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6198 Add some entries.
6199 (authors): Remove unused local variables.
6200
6201 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6202
6203 * profiler.el: Create a more coherent calltree from partial backtraces.
6204 (profiler-format): Hide the tail with `invisible' so that C-s can still
6205 find the hidden elements.
6206 (profiler-calltree-depth): Don't recurse so enthusiastically.
6207 (profiler-function-equal): New hash-table-test.
6208 (profiler-calltree-build-unified): New function.
6209 (profiler-calltree-build): Use it.
6210 (profiler-report-make-name-part): Indent the calltree less.
6211 (profiler-report-mode): Add visibility specs for profiler-format.
6212 (profiler-report-expand-entry, profiler-report-toggle-entry):
6213 Expand the whole subtree when provided with a prefix arg.
6214
6215 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6216
6217 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6218 iuwu-mod token.
6219 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6220 hanging iuwu-mod token.
6221 (ruby-smie--forward-token): Do not include a dot after a token in
6222 that token.
6223 (ruby-smie--backward-token): Likewise.
6224
6225 2013-10-08 Juri Linkov <juri@jurta.org>
6226
6227 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6228 to isearch-other-control-char.
6229 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6230 and isearch-post-command-hook to post-command-hook.
6231 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6232 and isearch-post-command-hook from post-command-hook.
6233 (isearch-unread-key-sequence)
6234 (isearch-reread-key-sequence-naturally)
6235 (isearch-lookup-scroll-key, isearch-other-control-char)
6236 (isearch-other-meta-char): Remove functions.
6237 (isearch-pre-command-hook, isearch-post-command-hook):
6238 New functions based on isearch-other-meta-char rewritten
6239 relying on the new behavior of overriding-terminal-local-map
6240 that does not replace the local keymaps any more. (Bug#15200)
6241
6242 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6243
6244 Support menus on text-mode terminals.
6245 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6246 functionality.
6247
6248 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6249
6250 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6251 Move here from mouse.el.
6252 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6253 and arrow keys.
6254 (tty-menu-navigation-map): New map for TTY menu navigation.
6255
6256 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6257
6258 * frame.el (display-mouse-p): Report text-mode mouse as available
6259 on w32.
6260 (display-popup-menus-p): Report availability if mouse is
6261 available; don't condition on window-system.
6262
6263 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6264 (tty-menu-selected-face): New faces.
6265
6266 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6269 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6270 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6271 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6272 New constants.
6273 (lisp-mode-variables): New `elisp' argument.
6274 (emacs-lisp-mode): Use it.
6275 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6276 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6277
6278 * indent.el: Use lexical-binding.
6279 (indent-region): Add progress reporter.
6280 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6281 last step.
6282 (indent--next-tab-stop): New function to implement this behavior.
6283 (tab-to-tab-stop, move-to-tab-stop): Use it.
6284
6285 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6286
6287 * indent.el (indent-rigidly--current-indentation): New function.
6288 (indent-rigidly-map): New var.
6289 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6290
6291 2013-10-08 Bastien Guerry <bzg@gnu.org>
6292
6293 * register.el (insert-register): Fix 2013-10-07 change.
6294
6295 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * progmodes/perl-mode.el: Use lexical-binding.
6298 Remove redundant :group args.
6299 (perl-nochange): Change default to be closer to other major modes's
6300 standard behavior.
6301 (perl-indent-line): Don't consider text on current line as a
6302 valid beginning of function from which to indent.
6303
6304 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6305 with more than one argument (bug#15538).
6306
6307 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6308
6309 * vc/pcvs.el: Use lexical-binding.
6310 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6311 environment of `eval'.
6312 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6313 than a list of expressions. Adjust callers.
6314 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6315
6316 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6317
6318 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6319 case of the dot in a chained method call being on the following line.
6320
6321 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * electric.el (electric-indent-inhibit): New var.
6324 (electric-indent-post-self-insert-function): Use it.
6325 * progmodes/python.el (python-mode): Set it.
6326
6327 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6328 open braces.
6329
6330 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6331
6332 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6333 (css-mode): Use electric-indent-chars.
6334
6335 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6336 (font-lock-beg, font-lock-end): Move before first use.
6337 (nxml-mode): Use syntax-propertize-function.
6338 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6339 (nxml-extend-after-change-region): Remove.
6340 * nxml/xmltok.el: Use lexical-binding.
6341 (xmltok-save): Use `declare'.
6342 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6343 * nxml/nxml-util.el: Use lexical-binding.
6344 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6345 Use `declare'.
6346 * nxml/nxml-ns.el: Use lexical-binding.
6347 (nxml-ns-save): Use `declare'.
6348 (nxml-ns-prefixes-for): Avoid add-to-list.
6349 * nxml/rng-match.el: Use lexical-binding.
6350 (rng--ipattern): Use cl-defstruct.
6351 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6352 (rng-cons-group-after, rng-subst-group-after)
6353 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6354 Use closures instead of `(lambda...).
6355
6356 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6357
6358 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6359 of BEG and END.
6360
6361 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6362 Use `tramp-handle-insert-file-contents'.
6363 (tramp-gvfs-handle-insert-file-contents): Remove function.
6364
6365 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6366 Use `save-restriction' in order to keep markers.
6367
6368 * net/trampver.el: Update release number.
6369
6370 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * progmodes/compile.el (compilation-parse-errors):
6373 Use compilation--put-prop.
6374 (compilation--ensure-parse): Check compilation-multiline.
6375
6376 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6377
6378 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6379 lexical-binding.
6380
6381 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6382
6383 * progmodes/ruby-mode.el: Fix recently added tests.
6384 (ruby-smie-grammar): Add - and +.
6385 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6386 (ruby-smie--backward-id): New functions.
6387 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6388 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6389 any more.
6390
6391 2013-10-07 Leo Liu <sdl.web@gmail.com>
6392
6393 * register.el (register-preview-delay)
6394 (register-preview-functions): New variables.
6395 (register-read-with-preview, register-preview)
6396 (register-describe-oneline): New functions.
6397 (point-to-register, window-configuration-to-register)
6398 (frame-configuration-to-register, jump-to-register)
6399 (number-to-register, view-register, insert-register)
6400 (copy-to-register, append-to-register, prepend-to-register)
6401 (copy-rectangle-to-register): Use register-read-with-preview to
6402 read register. (Bug#15525)
6403
6404 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6405
6406 * net/network-stream.el (network-stream-open-starttls): Don't add
6407 --insecure if it's already present, because that gnutls-cli
6408 rejects getting that parameter twice.
6409
6410 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6411
6412 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6413 keyword, too.
6414
6415 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6416
6417 * newcomment.el (comment-use-global-state): Change default value
6418 to t, mark obsolete (Bug#15251).
6419 (comment-beginning): In addition to `comment-to-syntax', check the
6420 value of `comment-use-global-state'.
6421
6422 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6423
6424 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6425 (ruby-comment-column): Follow the global default, by default.
6426 (ruby-smie-grammar): Add assignment syntax.
6427 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6428 open-paren, a comma, or a \.
6429 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6430 and line continuations.
6431 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6432 followed by implicit semi-colons. Add rule for string concatenation
6433 and for indentation at BOB.
6434 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6435
6436 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6437 calling next-sexp, since next-token may have skipped chars which
6438 next-sexp doesn't know should be skipped!
6439
6440 2013-10-05 Leo Liu <sdl.web@gmail.com>
6441
6442 * progmodes/octave.el (octave-send-region):
6443 Call compilation-forget-errors.
6444
6445 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6446
6447 * vc/vc-svn.el (vc-svn-find-admin-dir):
6448 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6449 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6450 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6451 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6452
6453 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6456
6457 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6458
6459 * subr.el (read-passwd): Hide chars even when called within a context
6460 where after-change-functions is disabled (bug#15501).
6461 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6462 until we removed ourself from overriding-terminal-local-map.
6463
6464 2013-10-04 Leo Liu <sdl.web@gmail.com>
6465
6466 * progmodes/octave.el (inferior-octave-mode):
6467 Call compilation-forget-errors.
6468
6469 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6470
6471 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6472
6473 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6474
6475 * net/secrets.el (secrets-create-collection): Add optional
6476 argument ALIAS. Use proper Label keyword. Append ALIAS as
6477 dbus-call-method argument. (Bug#15516)
6478
6479 2013-10-04 Leo Liu <sdl.web@gmail.com>
6480
6481 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6482 (inferior-octave-compilation-font-lock-keywords): New variables.
6483 (compilation-error-regexp-alist)
6484 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6485 (inferior-octave-mode): Use compilation-shell-minor-mode.
6486
6487 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6488
6489 * minibuffer.el (completion--replace): Be careful that `end' might be
6490 a marker.
6491
6492 2013-10-03 Daiki Ueno <ueno@gnu.org>
6493
6494 Add support for package signature checking.
6495 * emacs-lisp/package.el (url-http-file-exists-p)
6496 (epg-make-context, epg-context-set-home-directory)
6497 (epg-verify-string, epg-context-result-for)
6498 (epg-signature-status, epg-signature-to-string)
6499 (epg-check-configuration, epg-configuration)
6500 (epg-import-keys-from-file): Declare.
6501 (package-check-signature): New user option.
6502 (package-unsigned-archives): New user option.
6503 (package-desc): Add `signed' field.
6504 (package-load-descriptor): Set `signed' field if .signed file exists.
6505 (package--archive-file-exists-p): New function.
6506 (package--check-signature): New function.
6507 (package-install-from-archive): Check package signature.
6508 (package--download-one-archive): Check archive signature.
6509 (package-delete): Remove .signed file.
6510 (package-import-keyring): New command.
6511 (package-refresh-contents): Import default keyring.
6512 (package-desc-status): Add "unsigned" status.
6513 (describe-package-1, package-menu--print-info)
6514 (package-menu-mark-delete, package-menu--find-upgrades)
6515 (package-menu--status-predicate): Support "unsigned" status.
6516
6517 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6520 the new compilation scheme using the new byte-codes.
6521
6522 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6523 (byte-pophandler): New byte codes.
6524 (byte-goto-ops): Adjust accordingly.
6525 (byte-compile--use-old-handlers): New var.
6526 (byte-compile-catch): Use new byte codes depending on
6527 byte-compile--use-old-handlers.
6528 (byte-compile-condition-case--old): Rename from
6529 byte-compile-condition-case.
6530 (byte-compile-condition-case--new): New function.
6531 (byte-compile-condition-case): New function that dispatches depending
6532 on byte-compile--use-old-handlers.
6533 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6534 when we can.
6535
6536 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6537 Optimize under `condition-case' and `catch' if
6538 byte-compile--use-old-handlers is nil.
6539 (disassemble-offset): Handle new bytecodes.
6540
6541 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * subr.el (error): Use `declare'.
6544 (decode-char, encode-char): Use advertised-calling-convention instead
6545 of the docstring to discourage use of the `restriction' arg.
6546
6547 2013-10-03 Daiki Ueno <ueno@gnu.org>
6548
6549 * epg.el (epg-verify-file): Add a comment saying that it does not
6550 notify verification error as a return value nor a signal.
6551 (epg-verify-string): Ditto.
6552
6553 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6554
6555 * progmodes/compile.el (compilation-start): Try globbing the arg to
6556 `cd' (bug#15417).
6557
6558 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6559
6560 Sync with Tramp 2.2.8.
6561
6562 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6563 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6564 * net/trampver.el: Update release number.
6565
6566 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6567
6568 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6569 and default-process-coding-system for darwin only.
6570
6571 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6574
6575 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6576
6577 * vc/vc-git.el (vc-git-grep): Disable pager.
6578
6579 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6580
6581 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6582 Use :url instead of :homepage, as per
6583 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6584
6585 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6586 non-nil, use `syntax-ppss' (Bug#15251).
6587
6588 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6589
6590 * progmodes/octave.el (inferior-octave-startup-file):
6591 Prefer ~/.emacs.d/init_octave.m.
6592
6593 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6594
6595 * emacs-lisp/package.el (package-desc-from-define):
6596 Accept additional arguments as plist, convert them to an alist and store
6597 them in the `extras' slot.
6598 (package-generate-description-file): Convert extras alist back to
6599 plist and append to the `define-package' form arguments.
6600 (package--alist-to-plist): New function.
6601 (package--ac-desc): Add `extras' slot.
6602 (package--add-to-archive-contents): Check if the archive-contents
6603 vector is long enough, and if it is, pass its `extras' slot value
6604 to `package-desc-create'.
6605 (package-buffer-info): Call `lm-homepage', pass the returned value
6606 to `package-desc-from-define'.
6607 (describe-package-1): Render the homepage button (Bug#13291).
6608
6609 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6610 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6611
6612 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6613
6614 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6615 and default-process-coding-system to utf-8-unix (Bug#15402).
6616
6617 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6618
6619 * subr.el (looking-back): Do not recommend using looking-back.
6620
6621 2013-09-28 Alan Mackenzie <acm@muc.de>
6622
6623 Fix indentation/fontification of Java enum with "implements".
6624
6625 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6626 regexp which matches "implements", etc., in Java.
6627 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6628 specifier clauses coming after "enum".
6629 * progmodes/cc-fonts.el (c-font-lock-declarations)
6630 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6631 after "enum".
6632
6633 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6634
6635 * faces.el (region): Change ns_selection_color to
6636 ns_selection_fg_color, add ns_selection_bg_color.
6637
6638 2013-09-28 Leo Liu <sdl.web@gmail.com>
6639
6640 * progmodes/octave.el (inferior-octave-completion-table)
6641 (inferior-octave-completion-at-point): Minor tweaks.
6642
6643 * textmodes/ispell.el (ispell-lookup-words): Rename from
6644 lookup-words. (Bug#15460)
6645 (lookup-words): Obsolete.
6646 (ispell-complete-word, ispell-command-loop): All uses changed.
6647
6648 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6649
6650 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6651 (octave-mode-menu): Add octave-send-buffer.
6652 (octave-send-buffer): New function.
6653
6654 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6655
6656 * progmodes/octave.el (octave-mode-map): Add key binding for
6657 octave-lookfor.
6658 (octave-mode-menu): Add octave-lookfor.
6659 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6660 octave-lookfor.
6661 (octave-lookfor): New function.
6662
6663 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6666 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6667 its convention.
6668 (cl--loop-set-iterator-function): New function.
6669 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6670 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6671 Bind `it' with `let' instead of substituting it with `cl-subst'.
6672 (cl--unused-var-p): New function.
6673 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6674 Eliminate some unused variable warnings (bug#15326).
6675
6676 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6677
6678 * doc-view.el (doc-view-scale-reset): Rename from
6679 `doc-view-reset-zoom-level'.
6680 (doc-view-scale-adjust): New command.
6681 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6682 `doc-view-scale-adjust'.
6683
6684 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6685
6686 * doc-view.el (doc-view-reset-zoom-level): New command.
6687 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6688 zoom commands (bug#15466).
6689
6690 2013-09-26 Kenichi Handa <handa@gnu.org>
6691
6692 * international/quail.el (quail-help): Make it not a command.
6693
6694 2013-09-26 Leo Liu <sdl.web@gmail.com>
6695
6696 * minibuffer.el (completion-all-sorted-completions): Make args
6697 optional as they are.
6698
6699 2013-09-25 Daniel Colascione <dancol@dancol.org>
6700
6701 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6702 specs are and that they're not evaluated.
6703
6704 2013-09-24 Sam Steingold <sds@gnu.org>
6705
6706 * midnight.el (clean-buffer-list-kill-regexps)
6707 (clean-buffer-list-kill-buffer-names): Update for the new Man
6708 buffer naming which includes the object name.
6709
6710 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6713 (eshell-parse-command, eshell-parse-pipeline): Use it since
6714 eshell-separate-commands requires a dynamic scoped var.
6715 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6716
6717 2013-09-23 Leo Liu <sdl.web@gmail.com>
6718
6719 * autoinsert.el (auto-insert-alist): Make the value of
6720 lexical-binding match its file setting.
6721
6722 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6723
6724 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6725
6726 * autoarg.el (autoarg-kp-digit-argument):
6727 * electric.el (Electric-command-loop):
6728 * kmacro.el (kmacro-step-edit-insert):
6729 Do not set universal-argument-num-events.
6730
6731 2013-09-22 Leo Liu <sdl.web@gmail.com>
6732
6733 * files.el (interpreter-mode-alist): Add octave.
6734
6735 2013-09-21 Alan Mackenzie <acm@muc.de>
6736
6737 C++: fontify identifier in declaration following "public:" correctly.
6738 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6739 to match "public", etc.
6740 (c-decl-prefix-re): Add ":" into the C++ value.
6741 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6742 bit. Add a check for a ":" preceded by "public", etc.
6743
6744 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6745
6746 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6747 recognized by GDB 7.5 and later.
6748
6749 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6750
6751 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6752
6753 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6754
6755 * subr.el (internal--call-interactively): New const.
6756 (called-interactively-p): Use it (bug#3984).
6757
6758 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6759
6760 * vc/pcvs.el (cvs-mode-ignore):
6761 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6762 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6763
6764 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6765
6766 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6767 (eshell-ls-orig-insert-directory): Remove.
6768 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6769 (eshell-ls-use-in-dired): Use advice-add/remove.
6770 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6771 Add `orig-fun' arg for use in :around advice.
6772 Make it check (redundantly) eshell-ls-use-in-dired.
6773
6774 2013-09-19 Glenn Morris <rgm@gnu.org>
6775
6776 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6777
6778 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6779
6780 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6781
6782 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6783
6784 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6785 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6786 (tramp-get-remote-python): New defuns.
6787 (tramp-get-remote-uid-with-perl)
6788 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6789 contributed by yary <not.com@gmail.com> (tiny change).
6790 (tramp-get-remote-uid-with-python)
6791 (tramp-get-remote-gid-with-python): New defuns. Python code
6792 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6793 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6794
6795 2013-09-19 Glenn Morris <rgm@gnu.org>
6796
6797 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6798
6799 * eshell/em-unix.el (eshell-remove-entries):
6800 Rename argument to avoid name-clash with global `top-level'.
6801
6802 * eshell/esh-proc.el (eshell-kill-process-function):
6803 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6804 (eshell-reset-after-proc): Remove unused arg `proc'.
6805
6806 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6807 (directory-files-and-attributes): Mark unused arg.
6808
6809 * eshell/em-unix.el (eshell-remove-entries):
6810 Remove unused arg `path'. Update callers.
6811
6812 * eshell/em-hist.el (eshell-hist-parse-arguments):
6813 Remove unused arg `silent'. Update callers.
6814
6815 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6816 Fix (f)boundp mix-up.
6817
6818 * eshell/em-smart.el (eshell-smart-scroll-window)
6819 (eshell-disable-after-change):
6820 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6821
6822 2013-09-18 Alan Mackenzie <acm@muc.de>
6823
6824 Fix fontification of type when followed by "const".
6825 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6826 "known" types from fontification.
6827
6828 2013-09-18 Glenn Morris <rgm@gnu.org>
6829
6830 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6831 (chart-face-list): Drop Emacsen without display-color-p.
6832
6833 * net/eww.el (libxml-parse-html-region): Declare.
6834 (eww-display-html): Explicit error if no libxml2 support.
6835
6836 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6837
6838 * image.el (image-type-from-buffer, image-multi-frame-p):
6839 Remove --without-x warning/error.
6840
6841 * mouse.el (mouse-yank-primary):
6842 * term.el (term-mouse-paste):
6843 Reorder to silence --without-x compilation.
6844
6845 * mpc.el (doc-view-mode): Silence --without-x compilation.
6846
6847 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6848 Silence --without-x compilation.
6849
6850 * progmodes/gud.el (gud-find-file, gud-mode):
6851 Silence --without-x compilation.
6852 (tooltip-mode): Declare.
6853
6854 * wdired.el (dired-backup-overwrite): Remove declaration.
6855 (wdired-mode-map): Add doc string.
6856
6857 * custom.el (x-get-resource): Declare.
6858
6859 * eshell/em-glob.el (ange-cache):
6860 * eshell/em-unix.el (ange-cache): Declare.
6861
6862 * faces.el (x-display-list, x-open-connection, x-get-resource):
6863 Declare.
6864
6865 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6866 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6867 Declare.
6868
6869 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6870
6871 * net/gnutls.el (gnutls-log-level): Declare.
6872
6873 * net/shr.el (image-size, image-animate): Declare.
6874
6875 * simple.el (font-info): Declare.
6876
6877 * subr.el (x-popup-dialog): Declare.
6878
6879 * term/common-win.el (x-select-enable-primary)
6880 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6881 Declare.
6882
6883 * term/ns-win.el (x-handle-args): Declare.
6884
6885 * term/x-win.el (x-select-enable-clipboard): Declare.
6886
6887 * term/w32-win.el (create-default-fontset): Declare.
6888
6889 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6890 Declare.
6891
6892 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6893 (fit-frame-to-buffer): Explicit error if --without-x.
6894 (mouse-autoselect-window-select): Silence compiler.
6895
6896 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6897
6898 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6899 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6900 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6901 * eshell/esh-util.el (eshell-sublist):
6902 Remove unused local variables.
6903
6904 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6905
6906 * textmodes/two-column.el: Make 2C-split work for --without-x.
6907 (scroll-bar-columns): Autoload.
6908 (top-level): Require fringe when compiling.
6909
6910 2013-09-18 Leo Liu <sdl.web@gmail.com>
6911
6912 * subr.el (add-hook): Robustify to handle closure as well.
6913
6914 2013-09-17 Glenn Morris <rgm@gnu.org>
6915
6916 * simple.el (messages-buffer-mode-map): Unbind "g".
6917
6918 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * help-mode.el (help-mode-finish): Use derived-mode-p.
6921 Remove obsolete highlighting.
6922
6923 * play/life.el (life-mode): Use define-derived-mode. Derive from
6924 special-mode.
6925 (life): Let-bind inhibit-read-only.
6926 (life-setup): Avoid `setq'. Use `life-mode'.
6927
6928 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6929 which should not be needed any more.
6930 (package-menu-refresh, package-menu-describe-package): Use user-error.
6931
6932 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6933 (eshell-post-rewrite-command-hook): Make obsolete.
6934 (eshell-parse-command): Simplify.
6935 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6936 (eshell--cmd): Declare.
6937 (eshell-parse-pipeline): Remove unused var `final-p'.
6938 Pass a dynvar to eshell-post-rewrite-command-hook.
6939 Implement the new eshell-post-rewrite-command-function.
6940 (eshell-invoke-directly): Remove unused arg `input'.
6941 * eshell/esh-io.el (eshell-io-initialize):
6942 Use eshell-post-rewrite-command-function (bug#15399).
6943 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6944 adjust to new calling convention.
6945 (eshell-create-handles): Rename args to avoid clashing with dynvar
6946 `standard-output'.
6947
6948 2013-09-17 Glenn Morris <rgm@gnu.org>
6949
6950 * simple.el (messages-buffer-mode): New major mode.
6951 (messages-buffer): New function.
6952 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6953 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6954 (ert-run-test): Use `messages-buffer' function.
6955 (ert--force-message-log-buffer-truncation): Ignore read-only.
6956 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6957 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6958
6959 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6962
6963 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6964
6965 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * icomplete.el (icomplete-in-buffer): New var.
6968 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6969 vars and replace them with functions.
6970 (icomplete-minibuffer-setup): Adjust accordingly.
6971 (icomplete--completion-table, icomplete--completion-predicate)
6972 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6973 New functions.
6974 (icomplete-forward-completions, icomplete-backward-completions)
6975 (icomplete-simple-completing-p, icomplete-exhibit)
6976 (icomplete-completions): Use them.
6977 (icomplete--in-region-buffer): New var.
6978 (icomplete--in-region-setup): New function.
6979 (icomplete-mode): Use it.
6980
6981 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6982 (bug#15379).
6983 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6984 return args and options.
6985 (eshell-eval-using-options): Use the new return value of
6986 eshell--do-opts to set the options's vars in their scope.
6987 (eshell--set-option): Rename from eshell-set-option.
6988 Add arg `opt-vals'.
6989 (eshell--process-option): Rename from eshell-process-option.
6990 Add arg `opt-vals'.
6991 (eshell--process-args): Use an `opt-vals' alist to store the options's
6992 values during their processing and return them additionally to the
6993 remaining args.
6994
6995 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6996
6997 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6998 continuation character an operator, as far as indentation is
6999 concerned (Bug#15369).
7000
7001 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7002
7003 * window.el (window--state-put-2): Don't process buffer state
7004 when buffer doesn't exist any more (Bug#15382).
7005
7006 2013-09-15 Glenn Morris <rgm@gnu.org>
7007
7008 * eshell/em-unix.el (eshell/rm):
7009 Make -f ignore missing files. (Bug#15373)
7010
7011 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7012 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7013 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7014
7015 2013-09-14 Glenn Morris <rgm@gnu.org>
7016
7017 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7018
7019 2013-09-13 Glenn Morris <rgm@gnu.org>
7020
7021 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7022 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7023
7024 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7025
7026 * frame.el (x-focus-frame): Mark as declared in frame.c.
7027
7028 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * ls-lisp.el: Use advice-add.
7031 (original-insert-directory): Remove.
7032 (ls-lisp--insert-directory): Rename from insert-directory; add
7033 `orig-fun' argument.
7034 (insert-directory): Advise.
7035
7036 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7037
7038 * term.el (term-emulate-terminal): Decode the command string
7039 before passing it to term-command-hook. (Bug#15337)
7040
7041 2013-09-13 Glenn Morris <rgm@gnu.org>
7042
7043 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7044
7045 * eshell/esh-ext.el (eshell-search-path): Declare.
7046
7047 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7048 Otherwise an error occurs if eshell-dirs module not loaded.
7049
7050 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7051
7052 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7053
7054 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7055 `tramp-check-proper-host'. Check for a valid method name.
7056
7057 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7058 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7059 * net/tramp-sh.el (tramp-maybe-open-connection):
7060 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7061
7062 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7063 also for hash values.
7064
7065 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 * term/ns-win.el (parameters): Don't declare as dynamic.
7068 (before-make-frame-hook): Don't add ineffective function.
7069
7070 * eshell/*.el: Use lexical-binding (bug#15231).
7071
7072 2013-09-12 Kenichi Handa <handa@gnu.org>
7073
7074 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7075
7076 2013-09-12 Glenn Morris <rgm@gnu.org>
7077
7078 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7079 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7080
7081 * subr.el (do-after-load-evaluation): Also give compiler warnings
7082 when obsolete files are used (except by obsolete files).
7083
7084 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7085 in the status output, assume `filename' is the first. (Bug#15322)
7086
7087 * vc/vc.el (vc-deduce-fileset): Doc fix.
7088
7089 * calc/calc-help.el (Info-goto-node):
7090 * progmodes/cperl-mode.el (Info-find-node):
7091 * vc/ediff.el (Info-goto-node): Update declarations.
7092
7093 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7094
7095 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7096 (vc-bzr-pull): Require vc-dispatcher.
7097 * vc/vc-git.el (vc-compilation-mode): Declare.
7098 (vc-git-pull): Require vc-dispatcher.
7099
7100 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7101
7102 * progmodes/octave.el (help-button-action): Declare.
7103
7104 * shell.el (shell-directory-tracker): Output error as a message
7105 rather than just returning it as a string.
7106 (shell-process-pushd): Remove useless use of message.
7107
7108 * dframe.el (dframe-timer-fn):
7109 * files.el (dir-locals-read-from-file):
7110 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7111 (mpc-format):
7112 * reveal.el (reveal-post-command):
7113 * saveplace.el (load-save-place-alist-from-file):
7114 * shell.el (shell-resync-dirs):
7115 * w32-common-fns.el (x-get-selection-value):
7116 * emacs-lisp/copyright.el (copyright-find-copyright):
7117 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7118 * emulation/tpu-edt.el (tpu-copy-keyfile):
7119 * play/bubbles.el (bubbles--mark-neighbourhood):
7120 * progmodes/executable.el
7121 (executable-make-buffer-file-executable-if-script-p):
7122 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7123
7124 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7125
7126 Cleanup Eshell to rely less on dynamic scoping.
7127 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7128 last-value, and ext-command here. Bind `args' closer to `body'.
7129 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7130 (eshell--args): Declare new dynamic var.
7131 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7132 last-value, and ext-command. Pass `args' to `body'.
7133 (eshell-process-args): Bind eshell--args.
7134 (eshell-set-option): Use eshell--args.
7135 * eshell/eshell.el (eshell): Use derived-mode-p.
7136 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7137 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7138 (eshell-glob-function): Declare.
7139 * eshell/esh-util.el: Require cl-lib.
7140 (eshell-read-hosts-file): Avoid add-to-list.
7141 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7142 `err'.
7143 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7144 Declare.
7145 (eshell/diff): Remove unused var `err'.
7146 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7147 `killflag'.
7148 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7149 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7150 first use.
7151 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7152 Move declaration before first use.
7153 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7154 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7155 rely on cl-return.
7156
7157 2013-09-12 Glenn Morris <rgm@gnu.org>
7158
7159 * term/ns-win.el (global-map): Remove binding for ispell-next,
7160 deleted 1999-05-29. (Bug#15357)
7161
7162 2013-09-11 Glenn Morris <rgm@gnu.org>
7163
7164 * echistory.el (electric-command-history): Remove call to deleted func.
7165
7166 * play/landmark.el (landmark-mode): Fix typos.
7167
7168 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7169 Check cvs-sort-ignore-file is bound.
7170
7171 * savehist.el: No need for cl when compiling on Emacs.
7172
7173 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7176 (bug#15338).
7177 (eshell-self-insert-command, eshell-send-invisible):
7178 Remove unused argument.
7179 (eshell-handle-control-codes): Remove unused var `orig'.
7180 Avoid delete-backward-char.
7181
7182 * files.el (set-auto-mode): Simplify a bit further.
7183
7184 2013-09-11 Glenn Morris <rgm@gnu.org>
7185
7186 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7187 (set-auto-mode): Don't regexp-quote elements.
7188 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7189 * progmodes/cc-mode.el (interpreter-mode-alist):
7190 * progmodes/ruby-mode.el (interpreter-mode-alist):
7191 Revert previous change.
7192
7193 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * play/snake.el (snake-mode):
7196 * play/mpuz.el (mpuz-mode):
7197 * play/landmark.el (lm-mode):
7198 * play/blackbox.el (blackbox-mode):
7199 * play/5x5.el (5x5-mode):
7200 * obsolete/options.el (Edit-options-mode):
7201 * net/quickurl.el (quickurl-list-mode):
7202 * net/newst-treeview.el (newsticker-treeview-mode):
7203 * mail/rmailsum.el (rmail-summary-mode):
7204 * mail/mspools.el (mspools-mode):
7205 * locate.el (locate-mode):
7206 * ibuffer.el (ibuffer-mode):
7207 * emulation/ws-mode.el (wordstar-mode):
7208 * emacs-lisp/debug.el (debugger-mode):
7209 * array.el (array-mode):
7210 * net/eudc.el (eudc-mode): Use define-derived-mode.
7211 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7212 Move initialization into declaration.
7213 (mairix-searches-mode): Use define-derived-mode.
7214 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7215 (eudc-edit-hotlist): Use dolist.
7216 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7217 (Man-mode): Use define-derived-mode.
7218 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7219 (Info-edit-mode): Use define-derived-mode.
7220 (Info-cease-edit): Use Info-mode.
7221 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7222 into declaration.
7223 (eshell-mode): Use define-derived-mode.
7224 * chistory.el (command-history-mode-map): Rename from
7225 command-history-map.
7226 (command-history-mode): Use define-derived-mode.
7227 (Command-history-setup): Remove function.
7228 * calc/calc.el (calc-trail-mode-map): New var.
7229 (calc-trail-mode): Use define-derived-mode.
7230 (calc-trail-buffer): Set calc-main-buffer manually.
7231 * bookmark.el (bookmark-insert-annotation): New function.
7232 (bookmark-edit-annotation): Use it.
7233 (bookmark-edit-annotation-mode): Make it a proper major mode.
7234 (bookmark-send-edited-annotation): Use derived-mode-p.
7235 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7236 closer to its ideal place. Use \' to match EOS.
7237
7238 * profiler.el (profiler-calltree-find): Use function-equal.
7239
7240 2013-09-10 Glenn Morris <rgm@gnu.org>
7241
7242 * files.el (interpreter-mode-alist): Convert to regexps.
7243 (set-auto-mode): Adapt for this. (Bug#15306)
7244 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7245 Comment out unused variable.
7246 * progmodes/cc-mode.el (interpreter-mode-alist):
7247 * progmodes/python.el (interpreter-mode-alist):
7248 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7249 * progmodes/sh-script.el (sh-set-shell):
7250 No longer use interpreter-mode-alist to get list of shells.
7251
7252 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7253
7254 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7255
7256 * simple.el: Use set-temporary-overlay-map for universal-argument.
7257 (universal-argument-map): Don't use default-bindings (bug#15317).
7258 Bind switch-frame explicitly. Replace universal-argument-minus with
7259 a conditional binding.
7260 (universal-argument-num-events, saved-overriding-map): Remove.
7261 (restore-overriding-map): Remove.
7262 (universal-argument--mode): Rename from save&set-overriding-map,
7263 and rewrite.
7264 (universal-argument, universal-argument-more, negative-argument)
7265 (digit-argument): Adjust accordingly.
7266 (universal-argument-minus): Remove.
7267 (universal-argument-other-key): Remove.
7268
7269 * subr.el (with-demoted-errors): Add `format' argument.
7270
7271 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7272
7273 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7274 `tramp-cleanup-connection'.
7275
7276 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7277 parameters KEEP-DEBUG and KEEP-PASSWORD.
7278
7279 * net/tramp.el (tramp-file-name-handler):
7280 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7281 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7282 (tramp-maybe-open-connection):
7283 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7284 Use `tramp-cleanup-connection'.
7285
7286 * net/tramp-sh.el (tramp-maybe-open-connection):
7287 Catch 'uname-changed inside the progress reporter.
7288
7289 2013-09-10 Glenn Morris <rgm@gnu.org>
7290
7291 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7292
7293 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7294 returns "alternate access method" in mode (eg "-rw-r--r--.").
7295
7296 2013-09-08 Glenn Morris <rgm@gnu.org>
7297
7298 * saveplace.el (load-save-place-alist-from-file):
7299 Demote errors. (Bug#15305)
7300
7301 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7302
7303 Improve compatibility with older Emacsen, and XEmacs.
7304
7305 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7306 only if it is bound. It isn't for XEmacs.
7307 (with-tramp-progress-reporter): Do not let-bind `result'.
7308 This yields to scoping errors in XEmacs.
7309 (tramp-handle-make-auto-save-file-name): New function, moved from
7310 tramp-sh.el.
7311
7312 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7313 for `make-auto-save-file-name'.
7314 (tramp-adb--gnu-switches-to-ash):
7315 Use `tramp-compat-replace-regexp-in-string'.
7316
7317 * net/tramp-cache.el (tramp-cache-print): Call
7318 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7319
7320 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7321 bound. It isn't for XEmacs.
7322
7323 * net/tramp-compat.el (tramp-compat-copy-file):
7324 Catch `wrong-number-of-arguments' error.
7325 (tramp-compat-replace-regexp-in-string): New defun.
7326
7327 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7328 for `make-auto-save-file-name'.
7329 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7330 `copy-file'.
7331 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7332 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7333 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7334
7335 * net/tramp-gw.el (tramp-gw-open-network-stream):
7336 Use `tramp-compat-replace-regexp-in-string'.
7337
7338 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7339 Call `tramp-handle-make-auto-save-file-name'.
7340 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7341 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7342 (tramp-sh-file-inotifywait-process-filter):
7343 Use `tramp-compat-replace-regexp-in-string'.
7344 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7345
7346 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7347 for `make-auto-save-file-name'.
7348 (tramp-smb-handle-copy-directory):
7349 Call `tramp-compat-replace-regexp-in-string'.
7350 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7351 (tramp-smb-handle-copy-file): Improve error message.
7352 (tramp-smb-handle-rename-file): Rename directly only in case
7353 `newname' does not exist yet. This is a restriction of smbclient.
7354 (tramp-smb-maybe-open-connection): Rerun the function only when
7355 `auth-sources' is non-nil.
7356
7357 2013-09-08 Kenichi Handa <handa@gnu.org>
7358
7359 * international/characters.el: Set category "^" (Combining) for
7360 more characters.
7361
7362 2013-09-07 Alan Mackenzie <acm@muc.de>
7363
7364 Correctly fontify Java class constructors.
7365 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7366 in Java Mode.
7367 (c-recognize-typeless-decls): Set the Java value to t.
7368 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7369 While handling a "(", add a check for, effectively, Java, and handle a
7370 "typeless" declaration there.
7371
7372 2013-09-07 Roland Winkler <winkler@gnu.org>
7373
7374 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7375 field subtitle for entry type book.
7376
7377 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * minibuffer.el: Make minibuffer-complete call completion-in-region
7380 rather than other way around.
7381 (completion--some, completion-pcm--find-all-completions):
7382 Don't delay signals when debugging.
7383 (minibuffer-completion-contents): Beware fields within the
7384 minibuffer contents.
7385 (completion-all-sorted-completions): Use defvar-local.
7386 (completion--do-completion, completion--cache-all-sorted-completions)
7387 (completion-all-sorted-completions, minibuffer-force-complete):
7388 Add args `beg' and `end'.
7389 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7390 (minibuffer-complete): Use completion-in-region.
7391 (completion-complete-and-exit): New fun, extracted from
7392 minibuffer-complete-and-exit.
7393 (minibuffer-complete-and-exit): Use it.
7394 (completion--complete-and-exit): Rename from
7395 minibuffer--complete-and-exit.
7396 (completion-in-region--single-word): New function, extracted from
7397 minibuffer-complete-word.
7398 (minibuffer-complete-word): Use it.
7399 (display-completion-list): Make `common-substring' argument obsolete.
7400 (completion--in-region): Call completion--in-region-1 instead of
7401 minibuffer-complete.
7402 (completion-help-at-point): Pass boundaries to
7403 minibuffer-completion-help as args rather than via an overlay.
7404 (completion-pcm--string->pattern): Use `any-delim'.
7405 (completion-pcm--optimize-pattern): New function.
7406 (completion-pcm--pattern->regex): Handle `any-delim'.
7407 * icomplete.el (icomplete-forward-completions)
7408 (icomplete-backward-completions, icomplete-completions):
7409 Adjust calls to completion-all-sorted-completions and
7410 completion--cache-all-sorted-completions.
7411 (icomplete-with-completion-tables): Default to t.
7412 * emacs-lisp/crm.el (crm--current-element): Rename from
7413 crm--select-current-element. Don't put an overlay but return the
7414 boundaries instead.
7415 (crm--completion-command): Take two new args to bind to the boundaries.
7416 (crm-completion-help): Adjust accordingly.
7417 (crm-complete): Use completion-in-region.
7418 (crm-complete-word): Use completion-in-region--single-word.
7419 (crm-complete-and-exit): Use completion-complete-and-exit.
7420
7421 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7422
7423 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7424 than dynamically.
7425
7426 2013-09-06 Juri Linkov <juri@jurta.org>
7427
7428 * info.el (Info-display-images-node): When image file doesn't exist
7429 display text version of the image if it's provided in the Info file.
7430 Otherwise, display the location of missing image from SRC attribute.
7431 Add help-echo text property from ALT attribute. (Bug#15279)
7432
7433 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7436 (edit-abbrevs-mode): Use define-derived-mode.
7437
7438 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7439 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7440 that it's defined.
7441 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7442 Use define-derived-mode.
7443
7444 * epg.el (epg-start-encrypt): Minor CSE simplification.
7445
7446 2013-09-06 William Xu <william.xwl@gmail.com>
7447
7448 * arc-mode.el: Add support for 7za (bug#15264).
7449 (archive-7z-program): New var.
7450 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7451 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7452 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7453
7454 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7455
7456 Remove URL syntax.
7457
7458 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7459 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7460 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7461 (tramp-postfix-host-format, tramp-file-name-regexp)
7462 (tramp-completion-file-name-regexp)
7463 (tramp-completion-dissect-file-name)
7464 (tramp-handle-substitute-in-file-name): Remove 'url case.
7465 (tramp-file-name-regexp-url)
7466 (tramp-completion-file-name-regexp-url): Remove constants.
7467
7468 2013-09-06 Glenn Morris <rgm@gnu.org>
7469
7470 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7471
7472 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7473
7474 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7475 keywords" below "here-doc beginnings" (Bug#15270).
7476
7477 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7478
7479 * subr.el (pop): Use `car-safe'.
7480 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7481 to detect unused `pop' return value.
7482
7483 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7484 var `block-regexp'.
7485 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7486 (python-fill-string): Remove unused var `marker'.
7487 (python-skeleton-add-menu-items): Remove unused var `items'.
7488
7489 * international/mule-cmds.el: Require CL.
7490 (find-coding-systems-for-charsets): Avoid add-to-list.
7491 (sanitize-coding-system-list): New function, extracted from
7492 select-safe-coding-system-interactively.
7493 (select-safe-coding-system-interactively): Use it.
7494 (read-input-method-name): Accept symbols for `default'.
7495
7496 * emacs-lisp/advice.el (defadvice): Add indent rule.
7497
7498 2013-09-05 Daniel Hackney <dan@haxney.org>
7499
7500 * dired-x.el:
7501 * net/ange-ftp.el:
7502 * net/browse-url.el:
7503 * net/dbus.el:
7504 * net/eudc.el:
7505 * net/eudcb-ldap.el:
7506 * net/eww.el:
7507 * net/imap.el:
7508 * printing.el:
7509 * vc/ediff-diff.el:
7510 * vc/ediff-init.el:
7511 * vc/ediff-merg.el:
7512 * vc/ediff-mult.el:
7513 * vc/ediff-util.el:
7514 * vc/ediff-wind.el:
7515 * vc/ediff.el:
7516 * vc/emerge.el:
7517 * vc/pcvs.el:
7518 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7519 byte compiler. Remove some unused let-bound variables.
7520
7521 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7522
7523 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7524 a "ref-cell", since it gets better optimized (bug#14883).
7525
7526 2013-09-05 Glenn Morris <rgm@gnu.org>
7527
7528 * progmodes/cc-awk.el (c-forward-sws): Declare.
7529
7530 2013-09-04 Glenn Morris <rgm@gnu.org>
7531
7532 * generic-x.el [rul-generic-mode]: Require cc-mode.
7533 (c++-mode-syntax-table): Declare.
7534 (rul-generic-mode-syntax-table): Init in the defvar.
7535
7536 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7539 (vc-do-command, vc-set-async-update):
7540 * vc/vc-mtn.el (vc-mtn-dir-status):
7541 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7542 (vc-hg-pull, vc-hg-merge-branch):
7543 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7544 (vc-git-merge-branch):
7545 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7546 (vc-cvs-dir-status-files):
7547 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7548 (vc-bzr-dir-status-files):
7549 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7550 * vc/vc-annotate.el: Use lexical-binding.
7551 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7552 (vc-sentinel-movepoint): Declare.
7553 (vc-annotate): Don't use `goto-line'.
7554 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7555 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7556 (vc-sentinel-movepoint): Declare.
7557 * vc/vc-svn.el: Use lexical-binding.
7558 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7559 * vc/vc-sccs.el:
7560 * vc/vc-rcs.el: Use lexical-binding.
7561
7562 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7563 `deleted'. Don't drop errors silently.
7564
7565 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7566
7567 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7568
7569 * vc/vc.el (vc-ignore): Rewrite.
7570 (vc-default-ignore): New function.
7571 (vc-default-ignore-completion-table): Use find-ignore-file.
7572
7573 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7574 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7575 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7576 Remove. Most code moved to vc.el.
7577
7578 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7581 * net/tramp-smb.el (tramp-smb-get-file-entries):
7582 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7583 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7584
7585 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7586 Update call to it.
7587 (eww-change-select): Remove unused var `properties'.
7588 (eww-make-unique-file-name): Remove unused var `base'.
7589
7590 * finder.el (finder-compile-keywords): Don't mess with windows.
7591
7592 * calculator.el (calculator-funcall): Fix typo in last change.
7593
7594 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7595
7596 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7597 <pkg>-autoloads.el file stop us.
7598
7599 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7600 warnings, and factor out common code.
7601
7602 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7603
7604 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7605 two-character operators and whether the character preceding them
7606 changes their meaning (Bug#15208).
7607
7608 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7609
7610 Format code sent to Python shell for robustness.
7611 * progmodes/python.el (python-shell-buffer-substring):
7612 New function.
7613 (python-shell-send-region, python-shell-send-buffer): Use it.
7614
7615 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7616
7617 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7618 * net/tramp.el (tramp-user-error): ... here.
7619 (tramp-find-method, tramp-check-proper-host)
7620 (tramp-dissect-file-name, tramp-debug-message)
7621 (tramp-handle-shell-command):
7622 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7623 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7624
7625 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7626
7627 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7628
7629 * avoid.el (mouse-avoidance-point-position)
7630 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7631 returns nil.
7632
7633 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7634
7635 * progmodes/python.el (python-shell-completion-get-completions):
7636 Drop use of deleted `comint-last-prompt-overlay'.
7637 (python-nav-if-name-main): New command.
7638
7639 2013-09-01 Glenn Morris <rgm@gnu.org>
7640
7641 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7642 Avoid leading space in $wins. Otherwise the sed command used by
7643 eg compile-main ends up containing "/*.el". (Bug#15170)
7644
7645 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7646
7647 2013-08-30 Glenn Morris <rgm@gnu.org>
7648
7649 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7650 Fix is-this-a-directory logic. (Bug#15220)
7651
7652 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * textmodes/css-mode.el: Use SMIE.
7655 (css-smie-grammar): New var.
7656 (css-smie--forward-token, css-smie--backward-token)
7657 (css-smie-rules): New functions.
7658 (css-mode): Use them.
7659 (css-navigation-syntax-table): Remove var.
7660 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7661 (css-indent-calculate, css-indent-line): Remove functions.
7662
7663 Misc changes to reduce use of `(lambda...); and other cleanups.
7664 * cus-edit.el: Use lexical-binding.
7665 (customize-push-and-save, customize-apropos)
7666 (custom-buffer-create-internal): Use closures.
7667 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7668 * progmodes/ada-xref.el: Use setq.
7669 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7670 * dframe.el: Use lexical-binding.
7671 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7672 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7673 * descr-text.el: Use lexical-binding.
7674 (describe-text-widget, describe-text-sexp, describe-property-list):
7675 Use closures.
7676 * comint.el (comint-history-isearch-push-state): Use a closure.
7677 * calculator.el: Use lexical-binding.
7678 (calculator-number-to-string): Make it work with lexical-binding.
7679 (calculator-funcall): Same and use cl-letf.
7680
7681 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7682 (lisp--company-doc-string, lisp--company-location): New functions.
7683 (lisp-completion-at-point): Use them to improve Company support.
7684
7685 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7686 params of lambda expressions.
7687 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7688 (ruby-smie--opening-pipe-p): New function.
7689 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7690 symbols and matched |...| for formal params.
7691 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7692 from being treated as hanging. Handle "rescue".
7693
7694 2013-08-29 Glenn Morris <rgm@gnu.org>
7695
7696 * progmodes/cc-engine.el (c-pull-open-brace):
7697 Move definition before use.
7698
7699 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7702 are immutable. Don't use `unsafe' any more.
7703 (cl--defsubst-expand): Don't substitute at the same time as keeping
7704 a residual unused let-binding. Don't use `unsafe' any more.
7705
7706 2013-08-29 Glenn Morris <rgm@gnu.org>
7707
7708 * calendar/cal-china.el (calendar-chinese-year-cache):
7709 Recenter on 2015.
7710
7711 * nxml/nxml-util.el (nxml-debug-clear-inside):
7712 Use cl-loop rather than loop.
7713
7714 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7715
7716 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7717
7718 2013-08-28 Glenn Morris <rgm@gnu.org>
7719
7720 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7721
7722 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7723
7724 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7725
7726 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7727
7728 * simple.el (repeat-complex-command--called-interactively-skip):
7729 New function.
7730 (repeat-complex-command): Use it (bug#14136).
7731
7732 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7733 (c-define-abbrev-table): Add `doc' argument.
7734 (c-mode-abbrev-table, c++-mode-abbrev-table)
7735 (objc-mode-abbrev-table, java-mode-abbrev-table)
7736 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7737 (awk-mode-abbrev-table): Use it.
7738 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7739 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7740 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7741 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7742 Move initialization into the declaration; and remove any
7743 autoload cookie.
7744
7745 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7746 and dynamic let binding.
7747
7748 * vc/smerge-mode.el: Remove redundant :group args.
7749
7750 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7751 to load-path.
7752
7753 2013-08-28 Juri Linkov <juri@jurta.org>
7754
7755 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7756 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7757 (isearch-other-meta-char): Handle an undefined shifted printing
7758 character by downshifting it. (Bug#15200)
7759
7760 2013-08-28 Juri Linkov <juri@jurta.org>
7761
7762 * isearch.el (isearch-search): Change regexp error message for
7763 non-regexp searches. (Bug#15166)
7764
7765 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7766
7767 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7768 for portability to hosts where /bin/sh has problems.
7769
7770 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7771
7772 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7773
7774 2013-08-27 Juri Linkov <juri@jurta.org>
7775
7776 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7777 in the keyboard macro. (Bug#15126)
7778
7779 2013-08-27 Juri Linkov <juri@jurta.org>
7780
7781 * isearch.el (isearch-quote-char): Comment out converting unibyte
7782 to multibyte, thus syncing with its `quoted-insert' counterpart.
7783 (Bug#15166)
7784
7785 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7786
7787 * window.el (display-buffer-use-some-window): Add missing
7788 argument in call of get-largest-window (Bug#15185).
7789 Reported by Stephen Leake.
7790
7791 2013-08-27 Glenn Morris <rgm@gnu.org>
7792
7793 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7794
7795 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7796
7797 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7798 from a matcher-function unless there's no more matches (bug#15161).
7799
7800 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7801
7802 * minibuffer.el: Revert change from 2013-08-20.
7803
7804 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7805 with text property `tramp-default', if appropriate.
7806 (tramp-check-proper-host): New defun.
7807 (tramp-dissect-file-name): Do not check hostname. Revert change
7808 of 2013-03-18.
7809 (tramp-backtrace): Make VEC-OR-PROC optional.
7810
7811 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7812 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7813 * net/tramp-sh.el (tramp-maybe-open-connection):
7814 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7815 Apply `tramp-check-proper-host'.
7816
7817 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7818
7819 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7820 lambda expression in order to have `describe-variable' display it.
7821
7822 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7823
7824 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7825 BUF can be optional. (Bug#15186)
7826
7827 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7828
7829 * progmodes/flymake.el (flymake-get-real-file-name-function):
7830 Fix broken customization. (Bug#15184)
7831
7832 2013-08-25 Alan Mackenzie <acm@muc.de>
7833
7834 Improve indentation of bracelists defined by macros (without "=").
7835
7836 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7837 expansion begins with "{", regard it as bracelist when it doesn't
7838 contain a ";".
7839
7840 Parse C++ inher-intro when there's a template split over 2 lines.
7841
7842 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7843 rigorously the search for "class" etc. followed by ":".
7844
7845 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7846 random languages a regexp which never matches rather than nil.
7847
7848 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7849
7850 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7851 (c-awk-regexp-one-line-possibly-open-char-list-re)
7852 (c-awk-one-line-possibly-open-regexp-re)
7853 (c-awk-one-line-non-syn-ws*-re): Remove.
7854 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7855 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7856 (c-awk-space*-unclosed-regexp-/-re): New constants.
7857 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7858 aren't regexp delimiters.
7859
7860 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7861 handling for a rare situation in AWK Mode involving unterminated
7862 strings/regexps.
7863
7864 2013-08-23 Glenn Morris <rgm@gnu.org>
7865
7866 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7867
7868 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7869
7870 * files.el (create-file-buffer): If the result would begin with
7871 spaces, prepend a "|" instead of removing them. (Bug#15162)
7872
7873 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7874
7875 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7876 text-properties (bug#15155).
7877
7878 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7879 exist any more.
7880 (calc-keypad-redraw): Remove unused var `pad'.
7881 (calc-keypad-press): Remove unused var `menu'.
7882
7883 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7884
7885 * window.el (display-buffer-pop-up-frame):
7886 Call pop-up-frame-function with BUFFER current so `make-frame' will
7887 use it as the new frame's buffer (Bug#15133).
7888
7889 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * calendar/timeclock.el: Minor cleanups.
7892 (timeclock-ask-before-exiting, timeclock-use-display-time):
7893 Use `symbol'.
7894 (timeclock-modeline-display): Define as alias before the
7895 actual definition.
7896 (timeclock-mode-line-display): Use define-minor-mode.
7897 (timeclock-day-list-template): Make it a function, add an argument.
7898 (timeclock-day-list-required, timeclock-day-list-length)
7899 (timeclock-day-list-debt, timeclock-day-list-span)
7900 (timeclock-day-list-break): Adjust calls accordingly.
7901
7902 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7905 Use read--expression so that completion works again.
7906
7907 2013-08-21 Sam Steingold <sds@gnu.org>
7908
7909 Add rudimentary inferior shell interaction
7910 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7911 (sh-set-shell): Reset it.
7912 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7913 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7914
7915 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7916
7917 * align.el: Use lexical-binding.
7918 (align-region): Simplify accordingly.
7919
7920 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7921
7922 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7923
7924 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7925 `non-essential' up.
7926
7927 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7928
7929 * net/tramp.el:
7930 * net/tramp-adb.el:
7931 * net/tramp-cmds.el:
7932 * net/tramp-ftp.el:
7933 * net/tramp-gvfs.el:
7934 * net/tramp-gw.el:
7935 * net/tramp-sh.el: Don't wrap external variable declarations by
7936 `eval-when-compile'.
7937
7938 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7939
7940 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7941 now that Emacs supports ImageMagick animations.
7942
7943 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7944
7945 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7946 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7947
7948 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7949
7950 * window.el (mouse-autoselect-window-select): Do autoselect when
7951 mouse pointer is on margin.
7952
7953 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7954
7955 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7956
7957 2013-08-16 Glenn Morris <rgm@gnu.org>
7958
7959 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7960 Handle "Remote Directory" response of some clients. (Bug#15058)
7961
7962 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7963 Tweak warning. (Bug#14926)
7964
7965 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7966 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7967
7968 * image-mode.el (image-mode-map): Add menu items to reverse,
7969 increase, decrease, reset animation speed.
7970 (image--set-speed, image-increase-speed, image-decrease-speed)
7971 (image-reverse-speed, image-reset-speed): New functions.
7972 (image-mode-map): Add bindings for speed commands.
7973
7974 * image.el (image-animate-get-speed, image-animate-set-speed):
7975 New functions.
7976 (image-animate-timeout): Respect image :speed property.
7977
7978 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7981 previous line (bug#15101).
7982 (debugger-eval-expression, debugger-record-expression):
7983 Use read--expression (bug#15102).
7984
7985 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7986
7987 Remove byte compiler warnings, visible when compiling with
7988 `byte-compile-force-lexical-warnings' set to t.
7989
7990 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7991 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7992 (tramp-handle-unhandled-file-name-directory)
7993 (tramp-handle-file-notify-add-watch, tramp-action-login)
7994 (tramp-action-succeed, tramp-action-permission-denied)
7995 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7996 arguments with "_".
7997
7998 * net/tramp-adb.el (tramp-adb-parse-device-names)
7999 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8000 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8001 (tramp-adb-handle-file-truename): Remove unused arguments.
8002
8003 * net/tramp-cache.el (tramp-flush-directory-property)
8004 (tramp-flush-connection-property, tramp-list-connections)
8005 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8006
8007 * net/tramp-compat.el (tramp-compat-make-temp-file):
8008 Rename FILENAME to F.
8009
8010 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8011 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8012 (tramp-zeroconf-parse-workstation-device-names)
8013 (tramp-zeroconf-parse-webdav-device-names)
8014 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8015
8016 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8017 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8018
8019 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8020 arguments.
8021 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8022 (tramp-sh-handle-insert-file-contents-literally)
8023 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8024 with "_".
8025 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8026 Remove unused variables.
8027
8028 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8029 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8030 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8031
8032 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8033 Make them a defconst.
8034 (tramp-uuencode-region): Remove unused variable.
8035
8036 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * frameset.el (frameset--prop-setter): New function.
8039 (frameset-prop): Add gv-setter declaration.
8040 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8041 parameter was already set in FILTERED. Doc fix.
8042 (frameset--record-minibuffer-relationships): Allow saving a
8043 minibufferless frame without its corresponding minibuffer frame.
8044 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8045 frame, if the frame id matches.
8046 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8047 frames before orphaned ones.
8048 (frameset-restore): Warn about orphaned windows, instead of error out.
8049
8050 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8051
8052 * window.el (window-make-atom): Don't overwrite parameter
8053 already present.
8054 (display-buffer-in-atom-window): Handle special case where we
8055 split an already atomic window.
8056 (window--major-non-side-window, display-buffer-in-side-window)
8057 (window--side-check): Ignore minibuffer window when walking
8058 window tree.
8059 (window-deletable-p): Return 'frame only if no other frame uses
8060 our minibuffer window.
8061 (record-window-buffer): Run buffer-list-update-hook.
8062 (split-window): Make sure window--check-frame won't destroy an
8063 existing atomic window in case the new window gets nested
8064 inside.
8065 (display-buffer-at-bottom): Ignore minibuffer window when
8066 walking window tree. Don't split a side window.
8067 (pop-to-buffer): Don't set-buffer here, the select-window call
8068 should do that.
8069 (mouse-autoselect-window-select): Autoselect only if we are in the
8070 text portion of the window.
8071
8072 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073
8074 * net/shr.el (shr-parse-image-data): New function to grab both the
8075 data itself and the Content-Type.
8076 (shr-put-image): Use it.
8077
8078 * net/eww.el (eww-display-image): Ditto.
8079
8080 * image.el (image-content-type-suffixes): New variable.
8081
8082 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8083
8084 * progmodes/python.el (python-imenu--build-tree)
8085 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8086
8087 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8088
8089 * simple.el (backward-word): Mention the optional argument.
8090
8091 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8092
8093 * frameset.el (frameset--make): Rename constructor from make-frameset.
8094 (frameset-p, frameset-valid-p): Don't autoload.
8095 (frameset-valid-p): Use normal accessors.
8096
8097 2013-08-13 Glenn Morris <rgm@gnu.org>
8098
8099 * progmodes/compile.el (compile-command): Tweak example in doc.
8100 * obsolete/scribe.el (scribe-mode):
8101 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8102
8103 * mail/feedmail.el (feedmail-confirm-outgoing)
8104 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8105
8106 * cus-start.el (truncate-partial-width-windows): Fix type.
8107
8108 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8109
8110 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8111
8112 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * emacs-lisp/timer.el (timer--time-setter): New function.
8115 (timer--time): Use it as gv-setter.
8116
8117 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8118 setter is not a symbol.
8119
8120 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8121
8122 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8123 if sending fails. This makes debugging easier.
8124
8125 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8126
8127 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8128 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8129 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8130
8131 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8132
8133 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8134
8135 2013-08-12 Glenn Morris <rgm@gnu.org>
8136
8137 * format.el (format-annotate-function):
8138 Handle read-only text properties in the source. (Bug#14887)
8139
8140 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8141
8142 * net/eww.el (eww-display-html): Ignore coding system errors.
8143 One web site uses "utf-8lias" as the coding system.
8144
8145 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8146
8147 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8148
8149 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8152 (tutorial--detailed-help): Remove unused local variables.
8153 (tutorial--save-tutorial-to): Use ignore-errors.
8154 (help-with-tutorial): Use looking-at-p.
8155
8156 * view.el (view-buffer-other-window, view-buffer-other-frame):
8157 Mark unused arguments.
8158
8159 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8160 (woman-select-symbol-fonts, woman, woman-find-file)
8161 (woman-insert-file-contents, woman-non-underline-faces):
8162 Use string-match-p.
8163 (woman1-unquote): Move declaration.
8164
8165 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8166 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8167 argument. Remove unused local variable.
8168 (xml-parse-elem-type): Use string-match-p.
8169 (xml-substitute-numeric-entities): Use ignore-errors.
8170
8171 * calculator.el (calculator): Mark unused argument.
8172 (calculator-paste, calculator-quit, calculator-integer-p):
8173 Use ignore-errors.
8174 (calculator-string-to-number, calculator-decimal, calculator-exp)
8175 (calculator-op-or-exp): Use string-match-p.
8176
8177 * dired.el (dired-buffer-more-recently-used-p): Declare.
8178 (dired-insert-set-properties, dired-insert-old-subdirs):
8179 Use ignore-errors.
8180
8181 * dired-aux.el (dired-compress): Use ignore-errors.
8182 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8183 (dired-do-async-shell-command, dired-do-shell-command)
8184 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8185 (dired-insert-subdir-validate): Use string-match-p.
8186 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8187 (dired-add-entry): Use string-match-p, looking-at-p.
8188 (dired-insert-subdir-newpos): Remove unused local variable.
8189
8190 * filenotify.el (file-notify-callback): Remove unused local variable.
8191
8192 * filesets.el (filesets-error): Mark unused argument.
8193 (filesets-which-command-p, filesets-filter-dir-names)
8194 (filesets-directory-files, filesets-get-external-viewer)
8195 (filesets-ingroup-get-data): Use string-match-p.
8196
8197 * find-file.el (ff-other-file-name, ff-other-file-name)
8198 (ff-find-the-other-file, ff-cc-hh-converter):
8199 Remove unused local variables.
8200 (ff-get-file-name): Use string-match-p.
8201 (ff-all-dirs-under): Use ignore-errors.
8202
8203 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8204 (follow-select-if-visible): Remove unused local variable.
8205
8206 * forms.el (read-file-filter): Move declaration.
8207 (forms--make-format, forms--make-parser, forms-insert-record):
8208 Quote function with #'.
8209 (forms--update): Use string-match-p. Quote function with #'.
8210
8211 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8212 (help-make-xrefs): Use looking-at-p.
8213 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8214
8215 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8216 (ibuffer-confirm-operation-on): Use string-match-p.
8217
8218 * msb.el (msb-item-handler, msb-dired-item-handler):
8219 Mark unused arguments.
8220
8221 * ses.el (ses-decode-cell-symbol)
8222 (ses-kill-override): Remove unused local variable.
8223 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8224 (ses-load): Use ignore-errors, looking-at-p.
8225 (ses-jump-safe): Use ignore-errors.
8226 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8227
8228 * tabify.el (untabify, tabify): Mark unused arguments.
8229
8230 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8231 Mark unused argument.
8232 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8233 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8234
8235 * emacs-lisp/timer.el (timer--time): Define setter with
8236 gv-define-setter to avoid deprecation warning.
8237
8238 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8239 (*record-cmpl-statistics-p*): Remove (was commented out).
8240 (cmpl-statistics-block): Remove (body was commented out).
8241 All callers changed.
8242 (add-completions-from-buffer, load-completions-from-file):
8243 Remove unused variables.
8244
8245 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * filecache.el (file-cache-delete-file-list):
8248 Print message only when told so.
8249 (file-cache-files-matching): Use #' in mapconcat argument.
8250
8251 * ffap.el (ffap-url-at-point): Fix reference to variable
8252 thing-at-point-default-mail-uri-scheme.
8253
8254 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8255
8256 * subr.el (define-error): New function.
8257 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8258 error-file-not-found and define with define-error.
8259 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8260 and define with define-error.
8261 * userlock.el (file-locked, file-supersession):
8262 * simple.el (mark-inactive):
8263 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8264 * progmodes/ada-mode.el (ada-mode-errors):
8265 * play/life.el (life-extinct):
8266 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8267 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8268 * nxml/rng-util.el (rng-error):
8269 * nxml/rng-uri.el (rng-uri-error):
8270 * nxml/rng-match.el (rng-compile-error):
8271 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8272 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8273 * nxml/nxml-rap.el (nxml-scan-error):
8274 * nxml/nxml-outln.el (nxml-outline-error):
8275 * net/soap-client.el (soap-error):
8276 * net/gnutls.el (gnutls-error):
8277 * net/ange-ftp.el (ftp-error):
8278 * mpc.el (mpc-proc-error):
8279 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8280 (json-number-format, json-string-escape, json-string-format)
8281 (json-key-format, json-object-format):
8282 * jka-compr.el (compression-error):
8283 * international/quail.el (quail-error):
8284 * international/kkc.el (kkc-error):
8285 * emacs-lisp/ert.el (ert-test-failed):
8286 * calc/calc.el (calc-error, inexact-result, math-overflow)
8287 (math-underflow):
8288 * bookmark.el (bookmark-error-no-filename):
8289 * epg.el (epg-error): Define with define-error.
8290
8291 * time.el (display-time-event-handler)
8292 (display-time-next-load-average): Don't call sit-for since it seems
8293 unnecessary (bug#15045).
8294
8295 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8296 Use #' instead of ' to quote functions.
8297 (checkdoc-output-mode): Use setq-local.
8298 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8299 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8300 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8301 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8302 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8303 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8304 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8305 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8306
8307 * ido.el (ido-completion-help): Fix up compiler warning.
8308
8309 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8310
8311 * frameset.el (frameset-p): Add autoload cookie.
8312 (frameset--jump-to-register): New function, based on code moved from
8313 register.el.
8314 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8315
8316 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8317 (frameset-restore, frameset-save, frameset-session-filter-alist):
8318 Remove declarations.
8319 (register-alist): Doc fix.
8320 (frameset-to-register): Move to frameset.el.
8321 (jump-to-register, describe-register-1): Remove frameset-specific code.
8322
8323 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8324
8325 * allout-widgets.el (allout-widgets-pre-command-business)
8326 (allout-widgets-post-command-business)
8327 (allout-widgets-after-change-handler)
8328 (allout-decorate-item-and-context, allout-set-boundary-marker)
8329 (allout-body-modification-handler)
8330 (allout-graphics-modification-handler): Mark ignored arguments.
8331 (allout-widgets-post-command-business)
8332 (allout-widgets-exposure-change-processor)
8333 (allout-widgets-exposure-undo-processor)
8334 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8335 (allout-parse-item-at-point, allout-decorate-item-guides)
8336 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8337 * allout.el (epa-passphrase-callback-function): Declare.
8338 (allout-overlay-insert-in-front-handler)
8339 (allout-overlay-interior-modification-handler)
8340 (allout-isearch-end-handler, allout-chart-siblings)
8341 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8342 (allout-yank-processing, allout-process-exposed)
8343 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8344 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8345 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8346 (lisp-indent-defform): Mark ignored arguments.
8347 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8348 (calculate-lisp-indent): Remove unused variables.
8349 * international/characters.el (indian-2-column, arabic-2-column)
8350 (tibetan): Mark ignored arguments.
8351 (use-cjk-char-width-table): Mark ignored arguments.
8352 Remove unused variables.
8353 * international/fontset.el (build-default-fontset-data)
8354 (x-compose-font-name, create-fontset-from-fontset-spec):
8355 Mark ignored arguments.
8356 (fontset-plain-name): Remove unused variables.
8357 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8358 (keyboard-coding-system): Mark ignored arguments.
8359 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8360 * help.el (resize-temp-buffer-window):
8361 * window.el (display-buffer-in-major-side-window)
8362 (display-buffer-in-side-window, display-buffer-in-previous-window):
8363 Remove unused variables.
8364 * isearch.el (isearch-forward-symbol):
8365 * version.el (emacs-bzr-version-bzr):
8366 * international/mule-cmds.el (current-language-environment):
8367 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8368 (x-handle-display):
8369 * term/pc-win.el (x-list-fonts, x-display-planes)
8370 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8371 (x-server-version, x-display-screens, x-display-mm-height)
8372 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8373 (x-selection-owner-p, x-own-selection-internal)
8374 (x-disown-selection-internal, x-get-selection-internal)
8375 (msdos-initialize-window-system):
8376 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8377 * term/x-win.el (x-handle-no-bitmap-icon):
8378 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8379 (vc-default-find-file-hook, vc-default-extra-menu):
8380 Mark ignored arguments.
8381
8382 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8385 break-condition in the context of the debugged code (bug#12685).
8386
8387 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8388
8389 * comint.el:
8390 Do not use an overlay to highlight the last prompt. (Bug#14744)
8391 (comint-mode): Make comint-last-prompt buffer local.
8392 (comint-last-prompt): New variable.
8393 (comint-last-prompt-overlay): Remove. Superseded by
8394 comint-last-prompt.
8395 (comint-snapshot-last-prompt, comint-output-filter):
8396 Use comint-last-prompt.
8397
8398 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8399
8400 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8401 (frameset-save): Check validity of the resulting frameset.
8402
8403 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8404
8405 * ido.el (ido-record-command): Add doc string.
8406
8407 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8408
8409 * frameset.el (frameset): Do not disable creation of the default
8410 frameset-p predicate. Doc fix.
8411 (frameset-valid-p): New function, copied from the old predicate-p.
8412 Add additional checks.
8413 (frameset-restore): Check with frameset-valid-p.
8414 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8415 (frameset-name, frameset-description, frameset-properties)
8416 (frameset-states): Add docstring.
8417 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8418 (frameset-filter-alist): Doc fixes.
8419
8420 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8421
8422 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8423
8424 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8427 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8428 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8429 (byte-compile-normal-call): Remove obsolescence check.
8430
8431 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8432
8433 * frameset.el (frameset-restore): Doc fix.
8434
8435 * register.el (frameset-frame-id, frameset-frame-with-id)
8436 (frameset-p, frameset-restore, frameset-save): Declare.
8437 (register-alist): Document framesets.
8438 (frameset-session-filter-alist): Declare.
8439 (frameset-to-register): New function.
8440 (jump-to-register): Implement jumping to framesets. Doc fix.
8441 (describe-register-1): Describe framesets.
8442
8443 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8444
8445 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8446
8447 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8448 Use lexical-binding.
8449
8450 * frameset.el (frameset): Use type vector, not list (incompatible
8451 change). Do not declare a new constructor, use the default one.
8452 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8453 `name' and `description', respectively, and add read-only slot
8454 `timestamp'. Doc fixes.
8455 (frameset-copy, frameset-persistent-filter-alist)
8456 (frameset-filter-alist, frameset-switch-to-gui-p)
8457 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8458 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8459 (frameset-filter-iconified, frameset-keep-original-display-p):
8460 Doc fixes.
8461 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8462 Rename from frameset-filter-(save|restore)-param. All callers changed.
8463 Doc fix.
8464 (frameset-p): Adapt to change to vector and be more thorough.
8465 Change arg name to OBJECT. Doc fix.
8466 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8467 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8468 All callers changed.
8469 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8470 All callers changed.
8471 (frameset--record-minibuffer-relationships): Rename from
8472 frameset--process-minibuffer-frames. All callers changed.
8473 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8474 Use new default constructor (again). Doc fix.
8475 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8476 All callers changed.
8477 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8478 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8479 Doc fix.
8480 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8481 PARAMETERS and WINDOW-STATE, respectively.
8482 (frameset-restore): Add new keyword argument PREDICATE.
8483 Reset frameset--target-display to nil. Doc fix.
8484
8485 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8486
8487 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8488 (bat-mode): Use it.
8489 (bat-mode-syntax-table): Mark \n as end-of-comment.
8490 (bat-font-lock-keywords): Remove comment rule.
8491
8492 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8493 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8494
8495 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8496 (byte-compile-callargs-warn): Use `push'.
8497 (byte-compile-arglist-warn): Ignore higher-order "calls".
8498 (byte-compile-file-form-autoload): Use `pcase'.
8499 (byte-compile-function-form): If quoting a symbol, check that it exists.
8500
8501 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8502
8503 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8504 and add a few popular commands found in batch files.
8505 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8506 (dos-mode): Doc fixes.
8507
8508 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8511 (dos-mode): Use setq-local. Add space after "rem".
8512 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8513 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8514
8515 2013-08-07 Arni Magnusson <arnima@hafro.is>
8516
8517 * progmodes/dos.el: New file.
8518 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8519 dos-mode.
8520
8521 2013-08-06 Glenn Morris <rgm@gnu.org>
8522
8523 * calendar/calendar.el: Add new faces, and day-header-array.
8524 (calendar-weekday-header, calendar-weekend-header)
8525 (calendar-month-header): New faces.
8526 (calendar-day-header-construct): New function.
8527 (calendar-day-header-width): Also :set calendar-day-header-array.
8528 (calendar-american-month-header, calendar-european-month-header)
8529 (calendar-iso-month-header): Use calendar- faces.
8530 (calendar-generate-month):
8531 Use calendar-day-header-array for day headers; apply faces to them.
8532 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8533 (calendar-abbrev-construct): Add optional maxlen argument.
8534 (calendar-day-name-array): Doc fix.
8535 (calendar-day-name-array, calendar-abbrev-length)
8536 (calendar-day-abbrev-array):
8537 Also :set calendar-day-header-array, and maybe redraw.
8538 (calendar-day-header-array): New option. (Bug#15007)
8539 (calendar-font-lock-keywords): Set to nil and make obsolete.
8540 (calendar-day-name): Add option to use header array.
8541
8542 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8543
8544 * net/shr.el (shr-render-td): Remove debugging.
8545 (shr-render-td): Make width computation consistent by defaulting
8546 all zero-width columns to 10 characters. This may not be optimal,
8547 but it's at least consistent.
8548 (shr-make-table-1): Redo last change to fix the real problem in
8549 colspan handling.
8550
8551 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8552
8553 * files.el (cache-long-line-scans):
8554 Make obsolete alias to `cache-long-scans'.
8555
8556 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * frameset.el (frameset, frameset-filter-alist)
8559 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8560 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8561 (frameset-compute-pos): Rename from frameset--compute-pos,
8562 and add docstring.
8563 (frameset-move-onscreen): Use frameset-compute-pos.
8564 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8565
8566 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8567 Fix typos in docstrings.
8568
8569 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8570
8571 * frame.el (get-other-frame): Tiny cleanup.
8572
8573 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8574
8575 * vc/vc.el (vc-default-ignore-completion-table):
8576 Silence byte-compiler warning.
8577
8578 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8579 slot, which can indeed be nil.
8580 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8581 Move entry for `left' from persistent to live filter alist.
8582 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8583 Doc fixes.
8584 (frameset-filter-params): When restoring a frame, copy items added to
8585 `filtered', to avoid unwittingly modifying the original parameters.
8586 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8587 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8588
8589 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8590 to use looking-at-p instead of looking-at. (Bug#15028)
8591
8592 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 Revert introduction of isearch-filter-predicates (bug#14714).
8595 Rely on add-function instead.
8596 * isearch.el (isearch-filter-predicates): Rename it back to
8597 isearch-filter-predicate.
8598 (isearch-message-prefix): Use advice-function-mapc and advice
8599 properties to get the isearch-message-prefix.
8600 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8601 instead of run-hook-with-args-until-failure.
8602 (isearch-filter-visible): Not obsolete any more.
8603 * loadup.el: Preload nadvice.
8604 * replace.el (perform-replace): Revert to funcall
8605 instead of run-hook-with-args-until-failure.
8606 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8607 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8608 dired-isearch-filenames-toggle; make it into a proper minor mode.
8609 Use add/remove-function.
8610 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8611 Call the minor-mode rather than add/remove-hook.
8612 (dired-isearch-filter-filenames):
8613 Remove isearch-message-prefix property.
8614 * info.el (Info--search-loop): New function, extracted from Info-search.
8615 Funcall isearch-filter-predicate instead of
8616 run-hook-with-args-until-failure isearch-filter-predicates.
8617 (Info-search): Use it.
8618 (Info-mode): Use isearch-filter-predicate instead of
8619 isearch-filter-predicates.
8620
8621 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8622
8623 Do not call to `selected-window' where it is assumed by default.
8624 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8625 `window-hscroll', `window-width', `window-height', `window-buffer',
8626 `window-frame', `window-start', `window-point', `next-window'
8627 and `window-display-table'.
8628 * abbrev.el (abbrev--default-expand):
8629 * bs.el (bs--show-with-configuration):
8630 * buff-menu.el (Buffer-menu-mouse-select):
8631 * calc/calc.el (calc):
8632 * calendar/calendar.el (calendar-generate-window):
8633 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8634 (diary-make-entry):
8635 * comint.el (send-invisible, comint-dynamic-complete-filename)
8636 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8637 * completion.el (complete):
8638 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8639 * disp-table.el (describe-current-display-table):
8640 * doc-view.el (doc-view-insert-image):
8641 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8642 * ehelp.el (with-electric-help):
8643 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8644 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8645 * emacs-lisp/helper.el (Helper-help-scroller):
8646 * emulation/cua-base.el (cua--post-command-handler-1):
8647 * eshell/esh-mode.el (eshell-output-filter):
8648 * ffap.el (ffap-gnus-wrapper):
8649 * help-macro.el (make-help-screen):
8650 * hilit-chg.el (highlight-compare-buffers):
8651 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8652 * hl-line.el (global-hl-line-highlight):
8653 * icomplete.el (icomplete-simple-completing-p):
8654 * isearch.el (isearch-done):
8655 * jit-lock.el (jit-lock-stealth-fontify):
8656 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8657 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8658 * mpc.el (mpc-tagbrowser, mpc):
8659 * net/rcirc.el (rcirc-any-buffer):
8660 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8661 * play/landmark.el (landmark-max-width, landmark-max-height):
8662 * play/zone.el (zone):
8663 * progmodes/compile.el (compilation-goto-locus):
8664 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8665 * progmodes/etags.el (find-tag-other-window):
8666 * progmodes/fortran.el (fortran-column-ruler):
8667 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8668 * progmodes/verilog-mode.el (verilog-point-text):
8669 * reposition.el (reposition-window):
8670 * rot13.el (toggle-rot13-mode):
8671 * server.el (server-switch-buffer):
8672 * shell.el (shell-dynamic-complete-command)
8673 (shell-dynamic-complete-environment-variable):
8674 * simple.el (insert-buffer, set-selective-display)
8675 (delete-completion-window):
8676 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8677 (speedbar-recenter):
8678 * startup.el (fancy-splash-head):
8679 * textmodes/ispell.el (ispell-command-loop):
8680 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8681 * tutorial.el (help-with-tutorial):
8682 * vc/add-log.el (add-change-log-entry):
8683 * vc/compare-w.el (compare-windows):
8684 * vc/ediff-help.el (ediff-indent-help-message):
8685 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8686 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8687 (ediff-setup-control-frame):
8688 * vc/emerge.el (emerge-position-region):
8689 * vc/pcvs-util.el (cvs-bury-buffer):
8690 * window.el (walk-windows, mouse-autoselect-window-select):
8691 * winner.el (winner-set-conf, winner-undo): Related users changed.
8692
8693 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * frameset.el (frameset--set-id): Doc fix.
8696 (frameset-frame-id, frameset-frame-id-equal-p)
8697 (frameset-locate-frame-id): New functions.
8698 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8699 (frameset-restore): Use them.
8700
8701 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8702
8703 Do not call to `selected-frame' where it is assumed by default.
8704 Affected functions are `raise-frame', `redraw-frame',
8705 `frame-first-window', `frame-terminal' and `delete-frame'.
8706 * calendar/appt.el (appt-disp-window):
8707 * epg.el (epg-wait-for-completion):
8708 * follow.el (follow-delete-other-windows-and-split)
8709 (follow-avoid-tail-recenter):
8710 * international/mule.el (set-terminal-coding-system):
8711 * mail/rmail.el (rmail-mail-return):
8712 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8713 * progmodes/f90.el (f90-add-imenu-menu):
8714 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8715 * server.el (server-switch-buffer):
8716 * simple.el (delete-completion-window):
8717 * talk.el (talk):
8718 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8719 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8720 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8721 * vc/ediff.el (ediff-documentation): Related users changed.
8722 * frame.el (selected-terminal): Remove the leftover.
8723
8724 2013-08-05 Glenn Morris <rgm@gnu.org>
8725
8726 * calendar/calendar.el (calendar-generate-month):
8727 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8728 (calendar-generate-month, calendar-font-lock-keywords):
8729 Fix for calendar-day-header-width > length of any day name.
8730
8731 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8732
8733 * desktop.el (desktop-clear): Use new name of sort predicate.
8734
8735 * frameset.el (frameset): Add docstring. Move :version property to its
8736 own `version' slot.
8737 (frameset-copy): Rename from copy-frameset.
8738 (frameset-p): Check more thoroughly.
8739 (frameset-prop): Do not check for :version, which is no longer a prop.
8740 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8741 Use new :never value instead of t.
8742 (frameset-filter-alist): Expand and clarify docstring.
8743 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8744 (frameset-filter-minibuffer, frameset-filter-save-param)
8745 (frameset-filter-restore-param, frameset-filter-iconified):
8746 Add pointer to docstring of frameset-filter-alist.
8747 (frameset-filter-params): Rename filter values to be more meaningful:
8748 :never instead of t, and reverse the meanings of :save and :restore.
8749 (frameset--process-minibuffer-frames): Clarify error message.
8750 (frameset-save): Avoid unnecessary and confusing call to framep.
8751 Use new BOA constructor for framesets.
8752 (frameset--reuse-list): Doc fix.
8753 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8754 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8755 (frameset-minibufferless-first-p): Doc fix.
8756 Rename from frameset-sort-frames-for-deletion.
8757 (frameset-restore): Doc fixes. Use new function names.
8758 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8759
8760 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8761
8762 * desktop.el (desktop-restore-forces-onscreen)
8763 (desktop-restore-reuses-frames): Document :keyword constant values.
8764 (desktop-filter-parameters-alist): Remove, now identical to
8765 frameset-filter-alist.
8766 (desktop--filter-tty*): Remove, moved to frameset.el.
8767 (desktop-save-frameset, desktop-restore-frameset):
8768 Do not pass :filters argument.
8769
8770 * frameset.el (frameset-live-filter-alist)
8771 (frameset-persistent-filter-alist): New variables.
8772 (frameset-filter-alist): Use them. Add autoload cookie.
8773 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8774 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8775 `frameset--id' (it's supposed to be internal to frameset.el).
8776 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8777 (frameset--initial-params): New function.
8778 (frameset--get-frame): Use it. Doc fix.
8779 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8780 Accept :all, not 'all.
8781 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8782 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8783 with fbound symbols. Fix frame id matching, and remove matching ids if
8784 the frame being restored is deleted. Obey :delete.
8785
8786 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * subr.el (macrop): New function.
8789 (text-clone--maintaining): New var.
8790 (text-clone--maintain): Rename from text-clone-maintain. Use it
8791 instead of inhibit-modification-hooks.
8792
8793 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8794 a proxy, so as handle autoloads and redefinitions of the target.
8795 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8796
8797 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8798 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8799 (pcase--mutually-exclusive-p): New function.
8800 (pcase--split-consp): Use it.
8801 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8802 mutually exclusive with the current predicate.
8803
8804 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8805 (edebug-macrop): Remove. Use `macrop' instead.
8806 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8807 (ad-macro-p):
8808 * eshell/esh-cmd.el (eshell-macrop):
8809 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8810
8811 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8814 (advice-mapc): New function, using it.
8815 (advice-function-member-p): New function.
8816 (advice--normalize): Store the cdr in advice--saved-rewrite since
8817 that's the part that will be changed.
8818 (advice--symbol-function): New function.
8819 (advice-remove): Handle removal before the function is defined.
8820 Adjust to new advice--saved-rewrite.
8821 (advice-member-p): Use advice-function-member-p and
8822 advice--symbol-function.
8823
8824 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8825
8826 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8827 (frameset-filter-minibuffer): Doc fix.
8828 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8829 (frameset--set-id, frameset--process-minibuffer-frames)
8830 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8831 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8832
8833 * desktop.el (desktop-clear): Only delete frames when called
8834 interactively and desktop-restore-frames is non-nil. Doc fix.
8835 (desktop-read): Set desktop-saved-frameset to nil.
8836
8837 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8838
8839 * vc/vc.el (vc-ignore): Rewrite.
8840 (vc-default-ignore-completion-table, vc--read-lines)
8841 (vc--add-line, vc--remove-regexp): New functions.
8842
8843 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8844 (vc-svn-ignore-completion-table): New function.
8845
8846 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8847 (vc-hg-ignore-completion-table)
8848 (vc-hg-find-ignore-file): New functions.
8849
8850 * vc/vc-git.el (vc-git-ignore): Rewrite.
8851 (vc-git-ignore-completion-table)
8852 (vc-git-find-ignore-file): New functions.
8853
8854 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8855
8856 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8857 (vc-bzr-ignore-completion-table)
8858 (vc-bzr-find-ignore-file): New functions.
8859
8860 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8861
8862 * frameset.el (frameset-prop): New function and setter.
8863 (frameset-save): Do not modify frame list passed by the caller.
8864
8865 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8868
8869 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8872 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8873
8874 * custom.el (custom-initialize-default, custom-initialize-set)
8875 (custom-initialize-reset, custom-initialize-changed): Affect the
8876 toplevel-default-value (bug#6275, bug#14586).
8877 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8878 for bug#6275.
8879
8880 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8881
8882 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8883 Add cl-def* expressions.
8884
8885 * frameset.el (frameset-filter-params): Fix order of arguments.
8886
8887 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8888
8889 Move code related to saving frames to frameset.el.
8890 * desktop.el: Require frameset.
8891 (desktop-restore-frames): Doc fix.
8892 (desktop-restore-reuses-frames): Rename from
8893 desktop-restoring-reuses-frames.
8894 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8895 (desktop-clear): Clear frames too.
8896 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8897 (desktop--filter-tty*, desktop-save, desktop-read):
8898 Use frameset functions.
8899 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8900 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8901 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8902 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8903 (desktop--process-minibuffer-frames, desktop-save-frames)
8904 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8905 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8906 (desktop--sort-states, desktop-restoring-frames-p)
8907 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8908 (desktop-restoring-frameset-p, desktop-restore-frameset)
8909 (desktop--check-dont-save, desktop-save-frameset): New functions.
8910 (desktop--app-id): New constant.
8911 (desktop-first-buffer, desktop-buffer-ok-count)
8912 (desktop-buffer-fail-count): Move before first use.
8913 * frameset.el: New file.
8914
8915 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8916
8917 * files.el: Use lexical-binding.
8918 (dir-locals-read-from-file): Remove unused `err' variable.
8919 (hack-dir-local-variables--warned-coding): New var.
8920 (hack-dir-local-variables): Use it to avoid repeated warnings.
8921 (make-backup-file-name--default-function): New function.
8922 (make-backup-file-name-function): Use it as default.
8923 (buffer-stale--default-function): New function.
8924 (buffer-stale-function): Use it as default.
8925 (revert-buffer-insert-file-contents--default-function): New function.
8926 (revert-buffer-insert-file-contents-function): Use it as default.
8927 (insert-directory): Avoid add-to-list.
8928
8929 * autorevert.el (auto-revert-handler): Simplify.
8930 Use buffer-stale--default-function.
8931
8932 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8933
8934 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8935
8936 * whitespace.el (whitespace-ensure-local-variables): New function.
8937 (whitespace-cleanup-region): Call it.
8938 (whitespace-turn-on): Call it.
8939
8940 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8941
8942 Complete file name handlers.
8943
8944 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8945 (tramp-handle-verify-visited-file-modtime)
8946 (tramp-handle-file-notify-rm-watch): New functions.
8947 (tramp-call-process): Do not bind `default-directory'.
8948
8949 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8950 Order alphabetically.
8951 <access-file, add-name-to-file, dired-call-process>:
8952 <dired-compress-file, file-acl, file-notify-rm-watch>:
8953 <file-ownership-preserved-p, file-selinux-context>:
8954 <make-directory-internal, make-symbolic-link, set-file-acl>:
8955 <set-file-selinux-context, set-visited-file-modtime>:
8956 <verify-visited-file-modtime>: Add handler.
8957 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8958
8959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8960 <file-notify-add-watch, file-notify-rm-watch>:
8961 <set-file-times, set-visited-file-modtime>:
8962 <verify-visited-file-modtime>: Add handler.
8963 (with-tramp-gvfs-error-message)
8964 (tramp-gvfs-handle-set-visited-file-modtime)
8965 (tramp-gvfs-fuse-file-name): Remove.
8966 (tramp-gvfs-handle-file-notify-add-watch)
8967 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8968 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8969
8970 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8971 Order alphabetically.
8972 <file-notify-rm-watch>: Use default Tramp handler.
8973 <executable-find>: Remove private handler.
8974 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8975 `default-directory'.
8976 (tramp-sh-handle-executable-find)
8977 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8978 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8979 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8980 Do not use `format' in `tramp-message'.
8981
8982 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8983 <file-notify-rm-watch, set-visited-file-modtime>:
8984 <verify-visited-file-modtime>: Add handler.
8985 (tramp-smb-call-winexe): Do not bind `default-directory'.
8986
8987 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8988
8989 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8990
8991 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8992
8993 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8994 use it.
8995 (log-view-diff-changeset): Same.
8996 (log-view-diff-common): Call backend command `previous-revision'
8997 to find out the previous revision, in both cases. Swap the
8998 variables `to' and `fr', so that `fr' usually refers to the
8999 earlier revision (Bug#14989).
9000
9001 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9002
9003 * ibuf-ext.el (ibuffer-filter-by-filename):
9004 Make it work with dired buffers too.
9005
9006 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9007
9008 * emacs-lisp/re-builder.el (reb-color-display-p):
9009 * files.el (save-buffers-kill-terminal):
9010 * net/browse-url.el (browse-url):
9011 * server.el (server-save-buffers-kill-terminal):
9012 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9013 Prefer nil to selected-frame for the first arg of frame-parameter.
9014
9015 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9016
9017 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9018
9019 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9020
9021 * minibuffer.el (completion--twq-all): Try and preserve each
9022 completion's case choice (bug#14907).
9023
9024 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9025
9026 * net/network-stream.el (open-network-stream): Mention the new
9027 :nogreeting parameter.
9028 (network-stream-open-starttls): Use the :nogreeting parameter
9029 (bug#14938).
9030
9031 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9032
9033 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9034 more natural than popping.
9035
9036 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9037 (shr-urlify): Highlight under mouse.
9038
9039 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9040
9041 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9042
9043 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9044
9045 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9046 buffer for output.
9047
9048 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9049 point-min==1. Fix search string. Fix parentheses missing.
9050
9051 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9052 assume point-min==1. Fix search string. Fix parentheses missing.
9053
9054 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9055
9056 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9057 buffer for output.
9058
9059 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9060
9061 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9062 initial frame is minibuffer-less. (Bug#14841)
9063
9064 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9065
9066 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9067 option.
9068
9069 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9070 (tramp-maybe-open-connection): Use it.
9071
9072 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9073
9074 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9075 minimal set of parameters passed when creating a frame, because
9076 the minibuffer status of a frame cannot be changed later.
9077
9078 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9079
9080 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9081 replace-regexp-in-string and inadvertent omissions in previous change.
9082 (todo-filter-items): Ensure only file names are comma-separated in
9083 name of filtered items buffer.
9084
9085 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9086
9087 * desktop.el: Optionally force offscreen frames back onscreen.
9088 (desktop-restoring-reuses-frames): New option.
9089 (desktop--compute-pos, desktop--move-onscreen): New functions.
9090 (desktop--make-frame): Use desktop--move-onscreen.
9091
9092 2013-07-27 Alan Mackenzie <acm@muc.de>
9093
9094 Fontify a Java generic method as a function.
9095 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9096 value to t.
9097
9098 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9099
9100 * calendar/todo-mode.el: Add command to rename todo files.
9101 (todo-rename-file): New command.
9102 (todo-key-bindings-t): Add key binding for it. Change the
9103 bindings of todo-filter-regexp-items(-multifile) to use `x'
9104 instead of `r', since the latter is better suited to the new
9105 renaming command.
9106
9107 2013-07-27 Alan Mackenzie <acm@muc.de>
9108
9109 Make Java try-with-resources statement parse properly.
9110 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9111 (c-block-stmt-1-2-key): New language constants/variables.
9112 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9113 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9114 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9115 with c-block-stmt-1-2-key.
9116
9117 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9118
9119 * desktop.el (desktop--make-frame): Apply most frame parameters after
9120 creating the frame to force (partially or totally) offscreen frames to
9121 be restored as such.
9122
9123 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9124
9125 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9126 (Bug#14948)
9127
9128 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9131 `base' arg of backtrace-frame.
9132
9133 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9134
9135 * simple.el (list-processes): Doc fix.
9136
9137 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9138
9139 * desktop.el (desktop--select-frame):
9140 Try harder to reuse existing frames.
9141
9142 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9143
9144 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9145 (edebug-eval): Use backtrace-eval.
9146 (edebug--display, edebug--recursive-edit): Don't let-bind the
9147 edebug-outer-* vars that keep track of variables we locally let-bind.
9148 (edebug-outside-excursion): Don't restore outside values of locally
9149 let-bound vars.
9150 (edebug--display): Use user-error.
9151 (cl-lexical-debug, cl-debug-env): Remove.
9152
9153 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9154
9155 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9156 are restored to be sure that they are visible before deleting any
9157 remaining ones.
9158
9159 2013-07-26 Matthias Meulien <orontee@gmail.com>
9160
9161 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9162 vc-print-root-log. (Bug#14948)
9163
9164 2013-07-26 Richard Stallman <rms@gnu.org>
9165
9166 Add aliases for encrypting mail.
9167 * epa.el (epa-mail-aliases): New option.
9168 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9169 Bind inhibit-read-only so read-only text doesn't ruin everything.
9170 (epa-mail-default-recipients): New subroutine broken out.
9171 Handle epa-mail-aliases.
9172
9173 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9174
9175 Add support for lexical variables to the debugger's `e' command.
9176 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9177 vars, except for debugger-outer-match-data.
9178 (debugger-frame-number): Move check for "on a function call" from
9179 callers into it. Add `skip-base' argument.
9180 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9181 (debugger-env-macro): Only reset the state stored in non-variables,
9182 i.e. current-buffer and match-data.
9183 (debugger-eval-expression): Rewrite using backtrace-eval.
9184 * subr.el (internal--called-interactively-p--get-frame): Remove.
9185 (called-interactively-p):
9186 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9187 `base' arg of backtrace-frame instead.
9188
9189 2013-07-26 Glenn Morris <rgm@gnu.org>
9190
9191 * align.el (align-regexp): Doc fix. (Bug#14857)
9192 (align-region): Explicit error if subexpression missing/does not match.
9193
9194 * simple.el (global-visual-line-mode):
9195 Do not duplicate the mode lighter. (Bug#14858)
9196
9197 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9198
9199 * window.el (display-buffer): In display-buffer bind
9200 split-window-keep-point to t, bug#14829.
9201
9202 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9203
9204 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9205 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9206 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9207 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9208 Change accordingly.
9209 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9210 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9211
9212 2013-07-25 Glenn Morris <rgm@gnu.org>
9213
9214 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9215
9216 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9217
9218 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9219 parameter to modify-frame-parameters if the value has not changed;
9220 this is a workaround for bug#14949.
9221 (desktop--make-frame): On cl-delete-if call, check parameter name,
9222 not full parameter.
9223
9224 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9225
9226 * vc/vc.el (vc-ignore): New function.
9227
9228 * vc/vc-svn.el (vc-svn-ignore): New function.
9229
9230 * vc/vc-hg.el (vc-hg-ignore): New function.
9231
9232 * vc/vc-git.el (vc-git-ignore): New function.
9233
9234 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9235 (vc-dir-ignore): New function.
9236
9237 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9238 (cvs-append-to-ignore): Move here from pcvs.el.
9239
9240 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9241
9242 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9243
9244 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9245
9246 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9247 (desktop-restore-frames): Warn when deleting an existing frame failed.
9248
9249 2013-07-24 Glenn Morris <rgm@gnu.org>
9250
9251 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9252
9253 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9254
9255 * filenotify.el (file-notify-supported-p):
9256 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9257 Remove functions.
9258
9259 * autorevert.el (auto-revert-use-notify)
9260 (auto-revert-notify-add-watch):
9261 * net/tramp.el (tramp-file-name-for-operation):
9262 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9263 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9264 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9266 Remove `file-notify-supported-p' entry.
9267
9268 2013-07-24 Glenn Morris <rgm@gnu.org>
9269
9270 * printing.el: Replace all uses of deleted ps-windows-system,
9271 ps-lp-system, ps-flatten-list with lpr- versions.
9272
9273 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9276 checked with memq (bug#14935).
9277
9278 * files.el (revert-buffer-function): Use a non-nil default.
9279 (revert-buffer-preserve-modes): Declare var to
9280 provide access to the `preserve-modes' argument.
9281 (revert-buffer): Let-bind it.
9282 (revert-buffer--default): New function, extracted from revert-buffer.
9283
9284 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * lpr.el: Signal print errors more prominently.
9287 (print-region-function): Don't default to nil.
9288 (lpr-print-region): New function, extracted from print-region-1.
9289 Check lpr's return value and signal an error in case of problem.
9290 (print-region-1): Use it.
9291 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9292 versions instead.
9293 (ps-printer-name): Default to nil.
9294 (ps-printer-name-option): Default to lpr-printer-switch.
9295 (ps-print-region-function): Don't default to nil.
9296 (ps-postscript-code-directory): Simplify default.
9297 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9298 (ps-string-list, ps-eval-switch, ps-flatten-list)
9299 (ps-flatten-list-1): Remove.
9300 (ps-multibyte-buffer): Avoid setq.
9301 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9302 (print-region-function, ps-print-region-function): Don't set them here.
9303
9304 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9305
9306 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9307 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9308 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9309 (ido-decorations): Doc fix.
9310
9311 * ansi-color.el: Fix old URL.
9312
9313 2013-07-23 Michael R. Mauger <michael@mauger.com>
9314
9315 * progmodes/sql.el: Version 3.3
9316 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9317 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9318 (sql-interactive-remove-continuation-prompt): Rewrite, use
9319 functions above. Fix continuation prompt and complete output line
9320 handling.
9321 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9322 redirected output buffer.
9323 (sql-mode): Restore deleted code (Bug#13591).
9324
9325 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9326
9327 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9328
9329 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9330
9331 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9332
9333 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9334 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9335 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9336
9337 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9338
9339 * desktop.el (desktop-clear): Simplify; remove useless checks
9340 against invalid buffer names.
9341 (desktop-list*): Use cl-list*.
9342 (desktop-buffer-info, desktop-create-buffer): Simplify.
9343
9344 2013-07-23 Leo Liu <sdl.web@gmail.com>
9345
9346 * bookmark.el (bookmark-make-record): Restore NAME as a default
9347 value. (Bug#14933)
9348
9349 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9352 extracted from autoload--insert-text.
9353 (autoload--insert-text): Remove.
9354 (autoload--print-cookie-text): New function, extracted from
9355 autoload--insert-cookie-text.
9356 (autoload--insert-cookie-text): Remove.
9357 (autoload-generate-file-autoloads): Adjust calls accordingly.
9358
9359 * winner.el (winner-hook-installed-p): Remove.
9360 (winner-mode): Simplify accordingly.
9361
9362 * subr.el (add-to-list): Fix compiler-macro when `append' is
9363 not constant. Don't use `cl-member' for the base case.
9364
9365 * progmodes/subword.el: Fix boundary case (bug#13758).
9366 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9367 own group.
9368 (subword-backward-regexp): Make it a constant.
9369 (subword-forward-internal): Don't treat a trailing capital as the
9370 beginning of a word.
9371
9372 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9373
9374 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9375 global value of tabulated-list-revert-hook (bug#14930).
9376
9377 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9378
9379 * desktop.el: Require 'cl-lib.
9380 (desktop-before-saving-frames-functions): New hook.
9381 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9382 for frames being saved. Rename from desktop--save-minibuffer-frames.
9383 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9384 Do not save frames with non-nil `desktop-dont-save' parameter.
9385 Filter out deleted frames.
9386 (desktop--find-frame): Use cl-find-if.
9387 (desktop--select-frame): Use cl-(first|second|third) to access values
9388 of desktop-mini.
9389 (desktop--make-frame): Use cl-delete-if.
9390 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9391 (desktop-restore-frames): Use cl-(first|second|third) to access values
9392 of desktop-mini. Look for visible frame at the end, not while
9393 restoring frames.
9394
9395 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9396 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9397 Use string-match-p, looking-at-p (bug#14927).
9398
9399 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9400
9401 * desktop.el (desktop-saved-frame-states):
9402 Rename from desktop--saved-states; all users changed.
9403 (desktop-save-frames): Rename from desktop--save-frames.
9404 Do not save state to desktop file.
9405 (desktop-save): Save desktop-saved-frame-states to desktop file
9406 and reset to nil.
9407 (desktop-restoring-frames-p): New function.
9408 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9409 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9410 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9411
9412 * desktop.el: Correctly restore iconified frames.
9413 (desktop--filter-iconified-position): New function.
9414 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9415
9416 2013-07-20 Glenn Morris <rgm@gnu.org>
9417
9418 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9419 Let `message' do the formatting.
9420 (def-gdb-preempt-display-buffer): Add explicit format.
9421
9422 * image-dired.el (image-dired-track-original-file):
9423 Use with-current-buffer.
9424 (image-dired-track-thumbnail): Use with-current-buffer.
9425 Avoid changing point of wrong window.
9426
9427 * image-dired.el (image-dired-track-original-file):
9428 Avoid changing point of wrong window. (Bug#14909)
9429
9430 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9431
9432 * progmodes/gdb-mi.el (gdb-done-or-error):
9433 Guard against "%" in gdb output. (Bug#14127)
9434
9435 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9436
9437 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9438 (Bug#14826)
9439
9440 * international/mule.el (coding-system-iso-2022-flags): Fix last
9441 change.
9442
9443 2013-07-20 Kenichi Handa <handa@gnu.org>
9444
9445 * international/mule.el (coding-system-iso-2022-flags):
9446 Add `8-bit-level-4'. (Bug#8522)
9447
9448 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9449
9450 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9451 (bug#14815).
9452
9453 * net/eww.el (eww-process-text-input): Allow inputting when the
9454 point is at the start of the line, as the properties aren't
9455 front-sticky.
9456
9457 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9458 degenerate widths.
9459
9460 2013-07-19 Richard Stallman <rms@gnu.org>
9461
9462 * epa.el (epa-popup-info-window): Doc fix.
9463
9464 * subr.el (split-string): New arg TRIM.
9465
9466 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9467
9468 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9469 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9470
9471 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9472
9473 * filenotify.el (file-notify--library): Rename from
9474 `file-notify-support'. Do not autoload. Adapt all uses.
9475 (file-notify-supported-p): New defun.
9476
9477 * autorevert.el (auto-revert-use-notify):
9478 Use `file-notify-supported-p' instead of `file-notify-support'.
9479 Adapt docstring.
9480 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9481
9482 * net/tramp.el (tramp-file-name-for-operation):
9483 Add `file-notify-supported-p'.
9484
9485 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9486 New defun.
9487 (tramp-sh-file-name-handler-alist): Add it as handler for
9488 `file-notify-supported-p '.
9489
9490 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9491 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9492 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9493 Add `ignore' as handler for `file-notify-*' functions.
9494
9495 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9496
9497 * simple.el (line-move-partial, line-move): Don't start vscroll or
9498 scroll-up if the current line is not taller than the window.
9499 (Bug#14881)
9500
9501 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9502
9503 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9504 highlight question marks in the method names as strings.
9505 (ruby-block-beg-keywords): Inline.
9506 (ruby-font-lock-keyword-beg-re): Extract from
9507 `ruby-font-lock-keywords'.
9508
9509 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9510
9511 * frame.el (blink-cursor-blinks): New defcustom.
9512 (blink-cursor-blinks-done): New defvar.
9513 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9514 (blink-cursor-timer-function): Check if number of blinks has been
9515 done on X and NS.
9516 (blink-cursor-suspend, blink-cursor-check): New defuns.
9517
9518 2013-07-15 Glenn Morris <rgm@gnu.org>
9519
9520 * edmacro.el (edmacro-format-keys): Fix previous change.
9521
9522 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9523
9524 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9525 The hack didn't work outside English locales anyway.
9526
9527 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9528
9529 * simple.el (define-alternatives): Rename from alternatives-define,
9530 per RMS' suggestion.
9531
9532 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9533
9534 * desktop.el (desktop-restore-frames): Change default to t.
9535 (desktop-restore-in-current-display): Now offer more options.
9536 (desktop-restoring-reuses-frames): New customization option.
9537 (desktop--saved-states): Doc fix.
9538 (desktop-filter-parameters-alist): New variable, renamed and expanded
9539 from desktop--excluded-frame-parameters.
9540 (desktop--target-display): New variable.
9541 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9542 (desktop--filter-tty*, desktop--filter-*-color)
9543 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9544 (desktop--filter-save-desktop-parm)
9545 (desktop-restore-in-original-display-p): New functions.
9546 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9547 (desktop--save-minibuffer-frames): New function, inspired by a similar
9548 function from Martin Rudalics.
9549 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9550 (desktop--restore-in-this-display-p): Remove.
9551 (desktop--find-frame): Rename from desktop--find-frame-in-display
9552 and add predicate argument.
9553 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9554 (desktop--reuse-list): New variable.
9555 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9556 New functions.
9557 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9558
9559 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9560
9561 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9562
9563 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9564
9565 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9566 Highlight conversion methods on Kernel.
9567
9568 2013-07-13 Alan Mackenzie <acm@muc.de>
9569
9570 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9571 and comment it out. This out-commenting enables certain C++
9572 declarations to be parsed correctly.
9573
9574 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9575
9576 * international/mule.el (define-coding-system): Doc fix.
9577
9578 * simple.el (default-font-height): Don't call font-info if the
9579 frame's default font didn't change since the frame was created.
9580 (Bug#14838)
9581
9582 2013-07-13 Leo Liu <sdl.web@gmail.com>
9583
9584 * ido.el (ido-read-file-name): Guard against non-symbol value.
9585
9586 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9587
9588 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9589 in nested defuns.
9590
9591 2013-07-13 Leo Liu <sdl.web@gmail.com>
9592
9593 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9594 ido-set-matches call. (Bug#6852)
9595
9596 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9597
9598 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9599 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9600 Ruby 2.0.
9601 (ruby-font-lock-keywords): Distinguish calls to functions with
9602 module-like names from module references. Highlight character
9603 literals.
9604
9605 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9606
9607 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9608 (gdb-send): Handle continued commands. (Bug#14847)
9609
9610 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9611
9612 * desktop.el (desktop--v2s): Remove unused local variable.
9613 (desktop-save-buffer): Make defvar-local; adjust docstring.
9614 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9615 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9616
9617 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9618
9619 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9620
9621 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9622
9623 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9624 (Bug#14842)
9625
9626 2013-07-12 Glenn Morris <rgm@gnu.org>
9627
9628 * doc-view.el: Require cl-lib at runtime too.
9629 (doc-view-remove-if): Remove.
9630 (doc-view-search-next-match, doc-view-search-previous-match):
9631 Use cl-remove-if.
9632
9633 * edmacro.el: Require cl-lib at runtime too.
9634 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9635 (edmacro-mismatch, edmacro-subseq): Remove.
9636
9637 * shadowfile.el: Require cl-lib.
9638 (shadow-remove-if): Remove.
9639 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9640 Use cl-remove-if.
9641
9642 * wid-edit.el: Require cl-lib.
9643 (widget-choose): Use cl-remove-if.
9644 (widget-remove-if): Remove.
9645
9646 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9647 (ebrowse-delete-if-not): Remove.
9648 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9649 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9650 Use cl-delete-if-not.
9651
9652 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9653
9654 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9655 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9656
9657 2013-07-12 Leo Liu <sdl.web@gmail.com>
9658
9659 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9660
9661 2013-07-11 Glenn Morris <rgm@gnu.org>
9662
9663 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9664 (edebug-gensym-index, edebug-gensym):
9665 Remove reimplementation of cl-gensym.
9666 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9667
9668 * thumbs.el: Require cl-lib at run-time too.
9669 (thumbs-gensym-counter, thumbs-gensym):
9670 Remove reimplementation of cl-gensym.
9671 (thumbs-temp-file): Use cl-gensym.
9672
9673 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9674 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9675 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9676 (ert--union, ert--gensym-counter, ert--gensym-counter)
9677 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9678 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9679 (ert-make-test-unbound, ert--expand-should-1)
9680 (ert--expand-should, ert--should-error-handle-error)
9681 (should-error, ert--explain-equal-rec)
9682 (ert--plist-difference-explanation, ert-select-tests)
9683 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9684 Use cl-lib functions rather than reimplementations.
9685
9686 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9687
9688 * net/tramp.el (tramp-methods): Extend docstring.
9689 (tramp-connection-timeout): New defcustom.
9690 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9691 (with-tramp-progress-reporter): Simplify.
9692 (tramp-process-actions): Improve messages.
9693
9694 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9695 * net/tramp-sh.el (tramp-maybe-open-connection):
9696 Use `tramp-connection-timeout'.
9697 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9698 (Bug#14808)
9699
9700 2013-07-11 Leo Liu <sdl.web@gmail.com>
9701
9702 * ido.el (ido-read-file-name): Conform to the requirements of
9703 read-file-name. (Bug#11861)
9704 (ido-read-directory-name): Conform to the requirements of
9705 read-directory-name.
9706
9707 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9708
9709 * subr.el (delay-warning): New function.
9710
9711 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9712
9713 * simple.el (default-line-height): New function.
9714 (line-move-partial, line-move): Use it instead of computing the
9715 line height inline.
9716 (line-move-partial): Always compute ROWH. If the last line is
9717 partially-visible, but its text is completely visible, allow
9718 cursor to enter such a partially-visible line.
9719
9720 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9721
9722 Improve error messages. (Bug#14808)
9723
9724 * net/tramp.el (tramp-current-connection): New defvar, moved from
9725 tramp-sh.el.
9726 (tramp-message-show-progress-reporter-message): Remove, not
9727 needed anymore.
9728 (tramp-error-with-buffer): Show message in minibuffer.
9729 Discard input before waiting. Reset connection timestamp.
9730 (with-tramp-progress-reporter): Improve messages.
9731 (tramp-process-actions): Use progress reporter. Delete process in
9732 case of error. Improve messages.
9733
9734 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9735 Call `tramp-error-with-buffer' with vector and buffer.
9736 (tramp-current-connection): Remove.
9737 (tramp-maybe-open-connection): The car of
9738 `tramp-current-connection' are the first 3 slots of the vector.
9739
9740 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9741
9742 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9743 inside continued strings.
9744
9745 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9746
9747 Timestamp fixes for undo (Bug#14824).
9748 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9749
9750 2013-07-10 Leo Liu <sdl.web@gmail.com>
9751
9752 * files.el (require-final-newline): Allow safe local value.
9753 (Bug#14834)
9754
9755 2013-07-09 Leo Liu <sdl.web@gmail.com>
9756
9757 * ido.el (ido-read-directory-name): Handle fallback.
9758 (ido-read-file-name): Update DIR to ido-current-directory.
9759 (Bug#1516)
9760 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9761
9762 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9763
9764 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9765 "autoload". Remove "warn lower camel case" section, previously
9766 commented out. Highlight negation char. Do not highlight the
9767 target in singleton method definitions.
9768
9769 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9770
9771 * faces.el (tty-setup-hook): Declare the hook.
9772
9773 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9774 and detect when a guard/pred depends on local vars (bug#14773).
9775 (pcase--u1): Adjust caller.
9776
9777 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9778
9779 * simple.el (line-move-partial, line-move): Account for
9780 line-spacing.
9781 (line-move-partial): Avoid setting vscroll when the last
9782 partially-visible line in window is of default height.
9783
9784 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9785
9786 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9787 been used a while.
9788
9789 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9790
9791 * subr.el (read-quoted-char): Remove unused local variable `char'.
9792
9793 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9794
9795 * ediff.el (ediff-version): Version update.
9796 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9797 (ediff-merge-with-ancestor-command, ediff-directories-command)
9798 (ediff-directories3-command, ediff-merge-directories-command)
9799 (ediff-merge-directories-with-ancestor-command): New functions.
9800 All are command-line interfaces to ediff: to facilitate calling
9801 Emacs with the appropriate ediff functions invoked.
9802
9803 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9804 (viper-save-kill-buffer): Check if buffer is modified.
9805
9806 * viper.el (viper-version): Version update.
9807 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9808
9809 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9812 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9813 (viper-intercept-ESC-key): Simplify.
9814 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9815 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9816 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9817 (viper-setup-ESC-to-escape): New functions.
9818 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9819 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9820
9821 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9822
9823 * simple.el (default-font-height, window-screen-lines):
9824 New functions.
9825 (line-move, line-move-partial): Use them instead of
9826 frame-char-height and window-text-height. This makes scrolling
9827 text smoother when the buffer's default face uses a font that is
9828 different from the frame's default font.
9829
9830 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9831
9832 * files.el (write-file): Do not display confirm dialog for NS,
9833 it does its own dialog, which can't be canceled (Bug#14578).
9834
9835 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9836
9837 * simple.el (line-move-partial): Adjust the row returned by
9838 posn-at-point for the current window-vscroll. (Bug#14567)
9839
9840 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9841
9842 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9843 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9844 spaces.
9845
9846 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9847
9848 * window.el (window-state-put-stale-windows): New variable.
9849 (window--state-put-2): Save list of windows without matching buffer.
9850 (window-state-put): Remove "bufferless" windows if possible.
9851
9852 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9853
9854 * simple.el (alternatives-define): Remove leftover :group keyword.
9855 Tweak docstring.
9856
9857 2013-07-06 Leo Liu <sdl.web@gmail.com>
9858
9859 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9860 (ido-enable-virtual-buffers): New variable.
9861 (ido-buffer-internal, ido-toggle-virtual-buffers)
9862 (ido-make-buffer-list): Use it.
9863 (ido-exhibit): Support turning on and off virtual buffers
9864 automatically.
9865
9866 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9867
9868 * simple.el (alternatives-define): New macro.
9869
9870 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * subr.el (read-quoted-char): Use read-key.
9873 (sit-for): Let read-event decode tty input (bug#14782).
9874
9875 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9876
9877 * calendar/todo-mode.el: Add handling of file deletion, both by
9878 mode command and externally. Fix various related bugs.
9879 Clarify Commentary and improve some documentation strings and code.
9880 (todo-delete-file): New command.
9881 (todo-check-file): New function.
9882 (todo-show): Handle external deletion of the file we're trying to
9883 show (bug#14688). Replace called-interactively-p by an optional
9884 prefix argument to avoid problematic interaction with catch form
9885 when byte compiled (bug#14702).
9886 (todo-quit): Handle external deletion of the archive's todo file.
9887 Make sure the buffer that was visiting the archive file is still
9888 live before trying to bury it.
9889 (todo-category-completions): Handle external deletion of any
9890 category completion files.
9891 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9892 of todo files, in case of external deletion.
9893 (todo-add-file): Replace unnecessary setq by let-binding.
9894 (todo-find-archive): Check whether there are any archives.
9895 Replace unnecessary setq by let-binding.
9896 (todo-archive-done-item): Use find-file-noselect to get the
9897 archive buffer whether or not the archive already exists.
9898 Remove superfluous code. Use file size instead of buffer-file-name to
9899 check if the archive is new; if it is, update list of archives.
9900 (todo-default-todo-file): Allow nil to be a valid value for when
9901 there are no todo files.
9902 (todo-reevaluate-default-file-defcustom): Use corrected definition
9903 of todo-default-todo-file.
9904 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9905 (todo-delete-category, todo-show-categories-table)
9906 (todo-category-number): Clarify comment.
9907 (todo-filter-items): Clarify documentation string.
9908 (todo-show-current-file, todo-display-as-todo-file)
9909 (todo-reset-and-enable-done-separator): Tweak documentation string.
9910 (todo-done-separator): Make separator length window-width, since
9911 bug#2749 is now fixed.
9912
9913 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9914
9915 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9916 Support both "gvfs-monitor-dir" and "inotifywait".
9917 (tramp-sh-file-inotifywait-process-filter): Rename from
9918 `tramp-sh-file-notify-process-filter'.
9919 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9920 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9921
9922 2013-07-05 Leo Liu <sdl.web@gmail.com>
9923
9924 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9925
9926 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9927
9928 * frame.el (display-pixel-height, display-pixel-width)
9929 (display-mm-height, display-mm-width): Mention behavior on
9930 multi-monitor setups in docstrings.
9931 (w32-display-monitor-attributes-list): Declare function.
9932 (display-monitor-attributes-list): Use it.
9933
9934 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9935
9936 * filenotify.el: New package.
9937
9938 * autorevert.el (top): Require filenotify.el.
9939 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9940 instead.
9941 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9942 (auto-revert-notify-handler): Use `file-notify-*' functions.
9943
9944 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9945
9946 * net/tramp.el (tramp-file-name-for-operation):
9947 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9948
9949 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9950 for `file-notify-add-watch' and `file-notify-rm-watch'.
9951 (tramp-process-sentinel): Improve trace.
9952 (tramp-sh-handle-file-notify-add-watch)
9953 (tramp-sh-file-notify-process-filter)
9954 (tramp-sh-handle-file-notify-rm-watch)
9955 (tramp-get-remote-inotifywait): New defuns.
9956
9957 2013-07-03 Juri Linkov <juri@jurta.org>
9958
9959 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9960 call of `occur-read-primary-args' to interactive spec.
9961
9962 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9963 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9964
9965 2013-07-03 Matthias Meulien <orontee@gmail.com>
9966
9967 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9968 `Buffer-menu-multi-occur'. Add it to the menu.
9969 (Buffer-menu-mode): Document it in docstring.
9970 (Buffer-menu-multi-occur): New command. (Bug#14673)
9971
9972 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9973
9974 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9975 keywords and built-ins.
9976
9977 2013-07-03 Glenn Morris <rgm@gnu.org>
9978
9979 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9980
9981 Make info-xref checks case-sensitive by default
9982 * info.el (Info-find-node, Info-find-in-tag-table)
9983 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9984 Add option for exact case matching of nodes.
9985 * info-xref.el (info-xref): New custom group.
9986 (info-xref-case-fold): New option.
9987 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9988
9989 2013-07-03 Leo Liu <sdl.web@gmail.com>
9990
9991 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9992
9993 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9994
9995 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9996 middle of block statement initially, lower the depth. Remove
9997 FIXME comment, not longer valid. Remove middle of block statement
9998 detection, no need to do that anymore since we've been using
9999 `ruby-parse-region' here.
10000
10001 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10002
10003 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10004
10005 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10006
10007 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10008
10009 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10010
10011 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10012 (desktop-restore-in-current-display): New customization option.
10013 (desktop--excluded-frame-parameters): Add `font'.
10014 (desktop--save-frames): Rename from desktop--save-windows.
10015 (desktop--restore-in-this-display-p): New function.
10016 (desktop--make-full-frame): Remove unwanted width/height from
10017 full(width|height) frames.
10018 (desktop--restore-frames): Rename from desktop--restore-windows.
10019 Obey desktop-restore-current-display. Do not delete old frames or
10020 select a new frame unless we were able to restore at least one frame.
10021
10022 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10023
10024 * files.el (find-file-noselect): Simplify conditional expression.
10025
10026 * textmodes/remember.el (remember-append-to-file):
10027 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10028
10029 Add `remember-notes' function to store random notes across Emacs
10030 restarts.
10031 * textmodes/remember.el (remember-data-file): Add :set callback to
10032 affect notes buffer (if any).
10033 (remember-notes): New command.
10034 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10035 New defcustoms for the `remember-notes' function.
10036 (remember-notes-save-and-bury-buffer): New command.
10037 (remember-notes-mode-map): New variable.
10038 (remember-mode): New minor mode.
10039 (remember-notes--kill-buffer-query): New function.
10040 * startup.el (initial-buffer-choice): Add notes to custom type.
10041
10042 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10043
10044 * bindings.el (right-char, left-char): Don't call sit-for, this is
10045 no longer needed. Use arithmetic comparison only for numerical
10046 arguments.
10047
10048 * international/mule-cmds.el (select-safe-coding-system):
10049 Handle the case of FROM being a string correctly. (Bug#14755)
10050
10051 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10052
10053 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10054 progression on degenerate tables.
10055 (shr-rescale-image): ImageMagick animated images currently don't work.
10056
10057 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10058
10059 Some fixes and improvements for desktop frame restoration.
10060 It is still experimental and disabled by default.
10061 * desktop.el (desktop--save-windows): Put the selected frame at
10062 the head of the list.
10063 (desktop--make-full-frame): New function.
10064 (desktop--restore-windows): Try to re-select the frame that was
10065 selected upon saving. Do not abort if some frames fail to restore,
10066 just show an error message and continue. Set up maximized frames
10067 so they have default non-maximized dimensions.
10068
10069 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10070
10071 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10072 Don't start heredoc inside a string or comment.
10073
10074 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10075
10076 * bindings.el (visual-order-cursor-movement): New defcustom.
10077 (right-char, left-char): Provide visual-order cursor motion by
10078 calling move-point-visually. Update the doc strings.
10079
10080 2013-06-28 Kenichi Handa <handa@gnu.org>
10081
10082 * international/mule.el (define-coding-system): New coding system
10083 properties :inhibit-null-byte-detection,
10084 :inhibit-iso-escape-detection, and :prefer-utf-8.
10085 (set-buffer-file-coding-system): If :charset-list property of
10086 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10087 appropriate for setting.
10088
10089 * international/mule-cmds.el (select-safe-coding-system):
10090 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10091 multibyte characters, return utf-8 (or one of its siblings).
10092
10093 * international/mule-conf.el (prefer-utf-8): New coding system.
10094 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10095 files.
10096
10097 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10098
10099 * net/shr.el (shr-render-region): New function.
10100
10101 * net/eww.el: Autoload `eww-browse-url'.
10102
10103 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10104
10105 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10106 Adapt to `package-desc-version' being a list.
10107 Use `package--ac-desc-version' to retrieve version from a package
10108 archive element.
10109
10110 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10111
10112 New experimental feature to save&restore window and frame setup.
10113 * desktop.el (desktop-save-windows): New defcustom.
10114 (desktop--saved-states): New var.
10115 (desktop--excluded-frame-parameters): New defconst.
10116 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10117 (desktop--restore-windows, desktop--save-windows): New functions.
10118 (desktop-save): Call `desktop--save-windows'.
10119 (desktop-read): Call `desktop--restore-windows'.
10120
10121 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10122
10123 * net/shr.el (add-face-text-property): Remove compat definition.
10124
10125 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10126
10127 * info.el (Info-try-follow-nearest-node): Move search for footnote
10128 above search for node name to prevent missing a footnote (bug#14717).
10129
10130 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10131
10132 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10133
10134 2013-06-27 Leo Liu <sdl.web@gmail.com>
10135
10136 * net/eww.el (eww-read-bookmarks): Check file size.
10137
10138 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10139
10140 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10141 advice--pending if newdef is nil or an autoload (bug#13820).
10142 (advice-mapc): New function.
10143
10144 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10145
10146 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10147 probably.
10148 (eww-mode-map): Add a menu bar.
10149 (eww-add-bookmark): New command.
10150 (eww-bookmark-mode): New mode and commands.
10151 (eww-add-bookmark): Remove newlines from the title.
10152 (eww-bookmark-browse): Don't bug out if it's the only window.
10153
10154 2013-06-26 Glenn Morris <rgm@gnu.org>
10155
10156 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10157 (hfy-size): Handle ttys. (Bug#14668)
10158
10159 * info-xref.el: Update for Texinfo 5 change in *note format.
10160 (info-xref-node-re, info-xref-note-re): New constants.
10161 (info-xref-check-buffer): Use info-xref-note-re.
10162
10163 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10164
10165 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10166
10167 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10168 nil terminate the loop (bug#14718).
10169
10170 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10171
10172 * net/eww.el: Rework history traversal. When going forward/back,
10173 put these actions into the history, too, so that they can be
10174 replayed.
10175 (eww-render): Move the history reset to the correct buffer.
10176
10177 2013-06-25 Juri Linkov <juri@jurta.org>
10178
10179 * files-x.el (modify-dir-local-variable): Change the header comment
10180 in the file with directory local variables. (Bug#14692)
10181
10182 * files-x.el (read-file-local-variable-value): Add `default'.
10183 (Bug#14710)
10184
10185 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10186
10187 * net/eww.el (eww-make-unique-file-name): Create a unique file
10188 name before saving to entering `y' accidentally asynchronously.
10189
10190 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10191
10192 * net/eww.el (eww-download): New command and keystroke.
10193
10194 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10195
10196 * net/eww.el (eww-copy-page-url): Change name of command.
10197
10198 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10199 be more consistent with Info and dired.
10200
10201 * net/eww.el (eww-mode-map): Ditto.
10202
10203 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10206 packages from archives.
10207 (package-archive-contents): Change format; include obsolete packages.
10208 (package-desc): Use `dir' to mark builtin packages.
10209 (package--from-builtin): Set the `dir' field to `builtin'.
10210 (generated-autoload-file, version-control): Declare.
10211 (package-compute-transaction): Change first arg and return value to be
10212 lists of package-descs. Adjust to new package-archive-contents format.
10213 (package--add-to-archive-contents): Adjust to new
10214 package-archive-contents format.
10215 (package-download-transaction): Arg is now a list of package-descs.
10216 (package-install): If `pkg' is a package name, pass it as
10217 a requirement, so it is subject to the usual (e.g. disabled) checks.
10218 (describe-package): Accept package-desc as well.
10219 (describe-package-1): Describe a specific package-desc. Add links to
10220 other package-descs for the same package name.
10221 (package-menu-describe-package): Pass the actual package-desc.
10222 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10223 works correctly.
10224 (package-desc-status): New function.
10225 (package-menu--refresh): New function, extracted
10226 from package-menu--generate.
10227 (package-menu--generate): Use it.
10228 (package-delete): Update package-alist.
10229 (package-menu-execute): Don't call package-initialize.
10230
10231 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10232 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10233 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10234 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10235 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10236 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10237
10238 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10239
10240 * window.el (window--state-get-1): Workaround for bug#14527.
10241 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10242
10243 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10244
10245 * net/eww.el (eww-back-url): Implement the history by stashing all
10246 the data into a list.
10247 (eww-forward-url): Allow going forward in the history, too.
10248
10249 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10250
10251 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10252 for values and use read--expression for expressions (bug#14710).
10253 (read-file-local-variable): Avoid setq.
10254 (read-file-local-variable-mode): Use minor-mode-list.
10255
10256 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10257
10258 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10259 for DOI URLs.
10260
10261 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10262
10263 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10264 Update imenu-support when dialect changes.
10265
10266 2013-06-25 Leo Liu <sdl.web@gmail.com>
10267
10268 * ido.el (ido-read-internal): Allow forward slash on windows.
10269
10270 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10271
10272 * net/eww.el (eww): Start of strings is \\`, not ^.
10273
10274 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10275
10276 * net/shr.el (shr-browse-url): Fix interactive spec.
10277
10278 * net/eww.el (eww): Add a trailing slash to domain names.
10279
10280 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10281
10282 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10283
10284 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10285
10286 * net/shr.el (shr-browse-url): Use an external browser if given a
10287 prefix.
10288
10289 * net/eww.el (eww-external-browser): Move to shr.
10290
10291 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10292
10293 * net/eww.el (eww): Work more correctly for file: URLs.
10294 (eww-detect-charset): Allow quoted charsets.
10295 (eww-yank-page-url): New command and keystroke.
10296
10297 2013-06-24 Daiki Ueno <ueno@gnu.org>
10298
10299 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10300 file name of gpg executable.
10301 (epg-context-program): New function.
10302 (epg-context-home-directory): New function.
10303 (epg-context-set-program): New function.
10304 (epg-context-set-home-directory): New function.
10305 (epg--start): Use `epg-context-program' instead of
10306 'epg-gpg-program'.
10307 (epg--list-keys-1): Likewise.
10308
10309 2013-06-24 Leo Liu <sdl.web@gmail.com>
10310
10311 * ido.el (ido-read-internal): Fix bug#14620.
10312
10313 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10314
10315 * faces.el (face-documentation): Simplify.
10316 (read-face-attribute, tty-find-type, x-resolve-font-name):
10317 Use `string-match-p'.
10318 (list-faces-display): Use `string-match-p'. Simplify.
10319 (face-spec-recalc): Check face to avoid face alias loops.
10320 (read-color): Use `string-match-p' and non-capturing parenthesis.
10321
10322 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10323
10324 * net/shr.el (shr-rescale-image): Use the new
10325 :max-width/:max-height functionality.
10326
10327 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10328
10329 * net/eww.el (eww-search-prefix): New variable.
10330 (eww): Use it.
10331 (eww-external-browser): New variable.
10332 (eww-mode-map): New keystroke.
10333 (eww-browse-with-external-browser): New command.
10334
10335 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10336
10337 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10338
10339 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10340 Don't skip aligning the next header field when padding is 0;
10341 otherwise, field width is not respected unless the title is as
10342 wide as the field.
10343
10344 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10345
10346 * emacs-lisp/package.el (package-el-version): Remove.
10347 (package-process-define-package): Fix inf-loop.
10348 (package-install): Allow symbols as arguments again.
10349
10350 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10351
10352 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10353 add some more keyword-like methods.
10354 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10355
10356 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10357
10358 * bs.el (bs-buffer-show-mark): Make defvar-local.
10359 (bs-mode): Use setq-local.
10360
10361 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10362 (emacs-lock--try-unlocking): Make defvar-local.
10363
10364 2013-06-22 Glenn Morris <rgm@gnu.org>
10365
10366 * play/cookie1.el (cookie-apropos): Minor simplification.
10367
10368 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10369
10370 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10371
10372 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10373 `regexp-opt', it breaks the build during dumping.
10374
10375 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10376
10377 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10378 Highlight keyword-like methods on Kernel and Module with
10379 font-lock-builtin-face.
10380 (auto-mode-alist): Consolidate different entries into one regexp
10381 and add more *file-s.
10382
10383 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10384
10385 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10386
10387 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10388 (diary-entry): Use it in the action of this button type instead of
10389 diary-goto-entry.
10390
10391 * calendar/todo-mode.el: New version.
10392 (todo-add-category): Append new category to end of file and give
10393 it the highest number, instead of putting it at the beginning and
10394 giving it 0. Incorporate noninteractive functionality.
10395 (todo-forward-category): Adapt to 1-based category numbering.
10396 Allow skipping over archived categories.
10397 (todo-backward-category): Derive from todo-forward-category.
10398 (todo-backward-item, todo-forward-item): Make noninteractive and
10399 delegate interactive part to new commands. Make sensitive to done items.
10400 (todo-categories): Make value an alist of category names and
10401 vectors of item counts.
10402 (todo-category-beg): Make a defconst.
10403 (todo-category-number): Use 1 instead of 0 as initial value.
10404 (todo-category-select): Make sensitive to overlays, optional item
10405 highlighting and done items.
10406 (todo-delete-item): Make sensitive to overlays and marked and done items.
10407 (todo-edit-item): Make sensitive to overlays and editing of
10408 date/time header optional. Add format checks.
10409 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10410 no-op if point is not on an item. Advertise using todo-edit-quit.
10411 (todo-edit-mode): Make sensitive to new format, font-locking, and
10412 multiple todo files.
10413 (todo-insert-item, todo-insert-item-here): Derive from
10414 todo-basic-insert-item and extend functionality.
10415 (todo-item-end, todo-item-start): Make sensitive to done items.
10416 (todo-item-string): Don't return text properties. Restore point.
10417 (todo-jump-to-category): Make sensitive to multiple todo files and
10418 todo archives. Use extended category completion.
10419 (todo-lower-item, todo-raise-item): Rename to *-priority and
10420 derive from todo-set-item-priority.
10421 (todo-mode): Derive from special-mode. Make sensitive to new
10422 format, font-locking and multiple todo files. Make read-only.
10423 (todo-mode-map): Don't suppress digit keys, so they can supply
10424 prefix arguments. Add many new key bindings.
10425 (todo-prefix): Insert as an overlay instead of file text.
10426 Change semantics from diary date expression to purely visual mark.
10427 (todo-print): Rename to todo-print-buffer. Make buffer display
10428 features printable. Remove option to restrict number of items
10429 printed. Add option to print to file.
10430 (todo-print-function): Rename to todo-print-buffer-function.
10431 (todo-quit): Extend to handle exiting new todo modes.
10432 (todo-remove-item): Make sensitive to overlays.
10433 (todo-save): Extend to buffers of filtered items.
10434 (todo-show): Make sensitive to done items, multiple todo files and
10435 new todo modes. Offer to convert legacy todo file before creating
10436 first new todo file.
10437 (todo-show-priorities): Rename to todo-top-priorities.
10438 Change semantics of value 0.
10439 (todo-top-priorities): Rename to todo-filter-top-priorities,
10440 derive from todo-filter-items and extend functionality.
10441 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10442 and extend functionality to other types of filtered items.
10443 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10444 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10445 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10446 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10447 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10448 (todo-edit-mode-hook, todo-entry-prefix-function)
10449 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10450 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10451 (todo-initials, todo-insert-threshold, todo-item-string-start)
10452 (todo-line-string, todo-menu, todo-mode-hook)
10453 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10454 (todo-print-priorities, todo-remove-separator)
10455 (todo-save-top-priorities-too, todo-string-count-lines)
10456 (todo-string-multiline-p, todo-time-string-format)
10457 (todo-tmp-buffer-name): Remove.
10458 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10459 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10460 (todo-edit-category-diary-inclusion)
10461 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10462 (todo-edit-file, todo-edit-item-date-day)
10463 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10464 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10465 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10466 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10467 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10468 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10469 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10470 (todo-filter-top-priorities-multifile, todo-find-archive)
10471 (todo-find-filtered-items-file, todo-go-to-source-item)
10472 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10473 (todo-jump-to-archive-category, todo-lower-category)
10474 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10475 (todo-move-category, todo-move-item, todo-next-button)
10476 (todo-next-item, todo-padded-string, todo-powerset)
10477 (todo-previous-button, todo-previous-item)
10478 (todo-print-buffer-to-file, todo-raise-category)
10479 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10480 (todo-set-category-number, todo-set-item-priority)
10481 (todo-set-top-priorities-in-category)
10482 (todo-set-top-priorities-in-file, todo-show-categories-table)
10483 (todo-sort-categories-alphabetically-or-numerically)
10484 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10485 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10486 (todo-toggle-item-header, todo-toggle-item-highlighting)
10487 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10488 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10489 (todo-unarchive-items, todo-unmark-category): New commands.
10490 (todo-absolute-file-name, todo-add-to-buffer-list)
10491 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10492 (todo-basic-insert-item, todo-category-completions)
10493 (todo-category-number, todo-category-string-matcher-1)
10494 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10495 (todo-check-format, todo-clear-matches)
10496 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10497 (todo-current-category, todo-date-string-matcher)
10498 (todo-define-insertion-command, todo-diary-expired-matcher)
10499 (todo-diary-goto-entry, todo-diary-item-p)
10500 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10501 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10502 (todo-done-item-section-p, todo-done-separator)
10503 (todo-done-string-matcher, todo-files, todo-filter-items)
10504 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10505 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10506 (todo-insert-category-line, todo-insert-item-from-calendar)
10507 (todo-insert-sort-button, todo-insert-with-overlays)
10508 (todo-insertion-command-name, todo-insertion-key-bindings)
10509 (todo-label-to-key, todo-longest-category-name-length)
10510 (todo-make-categories-list, todo-mode-external-set)
10511 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10512 (todo-modes-set-3, todo-multiple-filter-files)
10513 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10514 (todo-read-category, todo-read-date, todo-read-dayname)
10515 (todo-read-file-name, todo-read-time)
10516 (todo-reevaluate-category-completions-files-defcustom)
10517 (todo-reevaluate-default-file-defcustom)
10518 (todo-reevaluate-filelist-defcustoms)
10519 (todo-reevaluate-filter-files-defcustom)
10520 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10521 (todo-reset-done-separator, todo-reset-done-separator-string)
10522 (todo-reset-done-string, todo-reset-global-current-todo-file)
10523 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10524 (todo-reset-prefix, todo-set-categories)
10525 (todo-set-date-from-calendar, todo-set-show-current-file)
10526 (todo-set-top-priorities, todo-short-file-name)
10527 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10528 (todo-total-item-counts, todo-update-buffer-list)
10529 (todo-update-categories-display, todo-update-categories-sexp)
10530 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10531 New functions.
10532 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10533 New major modes.
10534 (todo-categories, todo-display, todo-edit, todo-faces)
10535 (todo-filtered): New defgroups.
10536 (todo-archived-only, todo-button, todo-category-string, todo-date)
10537 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10538 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10539 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10540 (todo-add-item-if-new-category, todo-always-add-time-string)
10541 (todo-categories-align, todo-categories-archived-label)
10542 (todo-categories-category-label, todo-categories-diary-label)
10543 (todo-categories-done-label, todo-categories-number-separator)
10544 (todo-categories-todo-label, todo-categories-totals-label)
10545 (todo-category-completions-files, todo-completion-ignore-case)
10546 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10547 (todo-done-separator-string, todo-done-string)
10548 (todo-files-function, todo-filter-done-items, todo-filter-files)
10549 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10550 (todo-initial-category, todo-initial-file, todo-item-mark)
10551 (todo-legacy-date-time-regexp, todo-mode-line-function)
10552 (todo-nondiary-marker, todo-number-prefix)
10553 (todo-print-buffer-function, todo-show-current-file)
10554 (todo-show-done-only, todo-show-first, todo-show-with-done)
10555 (todo-skip-archived-categories, todo-top-priorities-overrides)
10556 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10557 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10558 New defcustoms.
10559 (todo-category-done, todo-date-pattern, todo-date-string-start)
10560 (todo-diary-items-buffer, todo-done-string-start)
10561 (todo-filtered-items-buffer, todo-item-start)
10562 (todo-month-abbrev-array, todo-month-name-array)
10563 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10564 (todo-top-priorities-buffer): New defconsts.
10565 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10566 (todo-categories-with-marks, todo-category-string-face)
10567 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10568 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10569 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10570 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10571 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10572 (todo-font-lock-keywords, todo-global-current-todo-file)
10573 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10574 (todo-insertion-commands-args)
10575 (todo-insertion-commands-args-genlist)
10576 (todo-insertion-commands-names, todo-insertion-map)
10577 (todo-key-bindings-t, todo-key-bindings-t+a)
10578 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10579 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10580 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10581 (todo-visited): New variables.
10582
10583 2013-06-21 Glenn Morris <rgm@gnu.org>
10584
10585 * play/cookie1.el (cookie-apropos): Add optional display argument.
10586 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10587 (psychoanalyze-pinhead): Use cookie-doctor.
10588
10589 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10590
10591 * emacs-lisp/package.el (tar-get-file-descriptor)
10592 (tar--extract): Declare.
10593
10594 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10595
10596 Extend flymake's warning predicate to be a function (bug#14217).
10597 * progmodes/flymake.el (flymake-warning-predicate): New.
10598 (flymake-parse-line): Use it.
10599 (flymake-warning-re): Make obsolete alias to
10600 `flymake-warning-predicate'.
10601
10602 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10605 (package-obsolete-list): Remove.
10606 (package-activate): Remove min-version argument. Add `force' argument.
10607 Adjust to new package-alist format.
10608 (package-mark-obsolete): Remove.
10609 (package-unpack): Force reload of the package's autoloads.
10610 (package-installed-p): Check builtins if the installed package is not
10611 recent enough.
10612 (package-initialize): Don't reset package-obsolete-list.
10613 Don't specify which package version to activate.
10614 (package-process-define-package, describe-package-1)
10615 (package-menu--generate): Adjust to new package-alist format.
10616
10617 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10618
10619 * allout-widgets.el (allout-widgets-mode-off)
10620 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10621 (allout-widgets-post-command-business)
10622 (allout-widgets-after-copy-or-kill-function)
10623 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10624 (allout-decorate-item-and-context)
10625 (allout-graphics-modification-handler): Fix typos in docstrings.
10626 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10627
10628 * cmuscheme.el (scheme-start-file): Doc fix.
10629 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10630 (scheme-input-filter): Use `string-match-p'.
10631
10632 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10633
10634 * dired-x.el: Use Dired consistently in docstrings.
10635
10636 * dired.el: Use Dired consistently in docstrings.
10637 (dired-readin, dired-mode): Use `setq-local'.
10638 (dired-switches-alist): Make defvar-local.
10639 (dired-buffers-for-dir): Use `zerop'.
10640 (dired-safe-switches-p, dired-switches-escape-p)
10641 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10642 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10643 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10644 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10645 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10646 (dired-toggle-marks, dired-mark-files-containing-regexp)
10647 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10648 (dired-flag-auto-save-files, dired-flag-backup-files):
10649 Use `looking-at-p'.
10650 (dired-mark-files-regexp, dired-build-subdir-alist):
10651 Use `string-match-p', `looking-at-p'.
10652
10653 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10654 (direct-print-region-helper): Use `string-match-p'.
10655
10656 2013-06-21 Leo Liu <sdl.web@gmail.com>
10657
10658 * comint.el (comint-redirect-results-list-from-process):
10659 Fix infinite loop.
10660
10661 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10662
10663 * net/eww.el (eww-update-header-line-format): Quote % characters.
10664
10665 2013-06-21 Glenn Morris <rgm@gnu.org>
10666
10667 * play/cookie1.el (cookie): New custom group.
10668 (cookie-file): New option.
10669 (cookie-check-file): New function.
10670 (cookie): Make it interactive. Make start and end messages optional.
10671 Interactively, display the result. Default to cookie-file.
10672 (cookie-insert): Default to cookie-file.
10673 (cookie-snarf): Make start and end messages optional.
10674 Default to cookie-file. Use with-temp-buffer.
10675 (cookie-read): Rename from read-cookie.
10676 Make start and end messages optional. Default to cookie-file.
10677 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10678 Do not autoload it.
10679 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10680 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10681
10682 2013-06-21 Leo Liu <sdl.web@gmail.com>
10683
10684 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10685
10686 2013-06-21 Glenn Morris <rgm@gnu.org>
10687
10688 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10689
10690 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10691 Daniel Hackney <dan@haxney.org>
10692
10693 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10694 Consolidate the single-file vs tarball code.
10695 (package-desc-suffix): New function.
10696 (package-desc-full-name): Don't bother inlining it.
10697 (package-load-descriptor): Return the new package-desc.
10698 (package-mark-obsolete): Remove unused arg `package'.
10699 (package-unpack): Make it work for single files as well.
10700 Make it update package-alist.
10701 (package--make-autoloads-and-stuff): Rename from
10702 package--make-autoloads-and-compile. Don't compile any more.
10703 (package--compile): New function.
10704 (package-generate-description-file): New function, extracted from
10705 package-unpack-single.
10706 (package-unpack-single): Remove.
10707 (package--with-work-buffer): Add indentation and debugging info.
10708 (package-download-single): Remove.
10709 (package-install-from-archive): Rename from package-download-tar, make
10710 it take a pkg-desc, and make it work for single files as well.
10711 (package-download-transaction): Simplify.
10712 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10713 external tar program.
10714 (package-install-from-buffer): Remove `pkg-desc' argument.
10715 Use package-tar-file-info for tar-mode buffers.
10716 (package-install-file): Simplify accordingly.
10717 (package-archive-base): Change to take a pkg-desc.
10718 * tar-mode.el (tar--check-descriptor): New function, extracted from
10719 tar-get-descriptor.
10720 (tar-get-descriptor): Use it.
10721 (tar-get-file-descriptor): New function.
10722 (tar--extract): New function, extracted from tar-extract.
10723 (tar--extract): Use it.
10724 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10725 case the summary uses non-ascii. Adjust to new calling convention of
10726 package-tar-file-info.
10727
10728 2013-06-21 Leo Liu <sdl.web@gmail.com>
10729
10730 * comint.el (comint-redirect-results-list-from-process):
10731 Fix random delay. (Bug#14681)
10732
10733 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10734
10735 * profiler.el (profiler-format-number): Use log, not log10.
10736
10737 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10738
10739 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10740
10741 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10744 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10745 yet available.
10746 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10747 (AUTOGENEL): ... here.
10748 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10749 (cl--defsubst-expand): Use it.
10750
10751 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10752
10753 * subr.el (log10): Move here from C code, and declare as obsolete.
10754 All uses of (log10 X) replaced with (log X 10).
10755
10756 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10757
10758 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10759 Declare with `defvar-local'.
10760 (tabulated-list-use-header-line, tabulated-list-entries)
10761 (tabulated-list-padding, tabulated-list-printer)
10762 (tabulated-list-sort-key): Declare with `defvar-local'.
10763 (tabulated-list-init-header, tabulated-list-print-fake-header):
10764 Use `setq-local'.
10765
10766 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10767
10768 * arc-mode.el (archive-mode): Add `archive-write-file' to
10769 `write-contents-functions' also for remote files. (Bug#14652)
10770
10771 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10772
10773 * cus-edit.el (custom-commands): Fix typos.
10774 (custom-display): Fix tooltip text.
10775 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10776 Fix typos in docstrings.
10777 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10778 (custom-unlispify-menu-entry, custom-magic-value-create)
10779 (custom-add-see-also, custom-group-value-create): Use ?\s.
10780 (custom-guess-type, customize-apropos, editable-field)
10781 (custom-face-value-create): Use `string-match-p'.
10782 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10783
10784 * custom.el (custom-load-symbol): Use `string-match-p'.
10785
10786 * ansi-color.el: Convert to lexical binding.
10787 (ansi-colors): Fix URL.
10788 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10789 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10790 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10791
10792 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10793
10794 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10795
10796 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10797
10798 2013-06-19 Tom Tromey <tromey@redhat.com>
10799
10800 * net/eww.el (eww-top-url): Remove.
10801 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10802 (eww-render): Set new variables. Don't set eww-top-url.
10803 (eww-handle-link): Handle "prev", "home", and "contents".
10804 Downcase the rel text.
10805 (eww-top-url): Choose best top URL.
10806
10807 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10808
10809 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10810 relying in widget.el. Using widget.el leads to too many
10811 user interface inconsistencies.
10812 (eww-self-insert): Implement entering commands in text fields.
10813 (eww-process-text-input): New function to make text input field editing
10814 work.
10815 (eww-submit): Rewrite to use the new-style form methods.
10816 (eww-select-display): Display the correct selected item.
10817 (eww-change-select): Implement changing the select value.
10818 (eww-toggle-checkbox): Implement radio/checkboxes.
10819 (eww-update-field): Fix compilation error.
10820 (eww-tag-textarea): Implement <textarea>.
10821
10822 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10823 we don't shadow mode-specific bindings.
10824
10825 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10826 nothing to push.
10827
10828 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10829
10830 2013-06-19 Glenn Morris <rgm@gnu.org>
10831
10832 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10833
10834 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10835
10836 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10837 not needed.
10838
10839 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10840
10841 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10842
10843 * net/browse-url.el (browse-url-browser-function):
10844 `eww-browse-url' has the right calling signature, `eww' does not.
10845
10846 2013-06-19 Glenn Morris <rgm@gnu.org>
10847
10848 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10849 Only eval autoloaded macros.
10850 (byte-compile-autoload): Only give the macro warning for macros.
10851
10852 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10853 (ps-underlined-faces): Declare.
10854
10855 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10856 (speedbar-add-supported-extension): Declare.
10857
10858 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10859 Don't include a date stamp in the header of the generated file;
10860 it leads to needless differences between output files.
10861
10862 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10863
10864 * net/secrets.el (secrets-struct-secret-content-type):
10865 Replace check of introspection data by a test call of "CreateItem".
10866 Some servers do not offer introspection.
10867
10868 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10869
10870 * electric.el (electric-pair-mode): Improve interaction with
10871 electric-layout-mode.
10872 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10873 (electric-pair-syntax): Use text-mode-syntax-table in comments
10874 and strings.
10875 (electric-pair--insert): New function.
10876 (electric-pair-post-self-insert-function): Use it and
10877 electric--after-char-pos.
10878
10879 2013-06-19 Leo Liu <sdl.web@gmail.com>
10880
10881 * progmodes/octave.el (octave-help): Fix regexp.
10882
10883 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10884
10885 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10886 (shr-table-horizontal-line): Allow nil as a value, and change the
10887 default.
10888 (shr-insert-table-ruler): Respect the nil value.
10889
10890 2013-06-18 Tom Tromey <tromey@barimba>
10891
10892 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10893 New defvars.
10894 (eww-open-file): New defun.
10895 (eww-render): Initialize new variables.
10896 (eww-display-html): Handle "link" and "a".
10897 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10898 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10899 (eww-back-url): Rename from eww-previous-url.
10900 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10901 New defuns.
10902
10903 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10904
10905 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10906 Distinguish ternary operator tokens from slash symbol and slash
10907 char literal.
10908
10909 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10910
10911 Convert symbol prettification into minor mode and global minor mode.
10912
10913 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10914 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10915 (prettify-symbols--keywords): Rename from
10916 `prog-prettify-symbols-alist' and make a local defvar.
10917 (prettify-symbols--compose-symbol): Rename from
10918 `prog--prettify-font-lock-compose-symbol'.
10919 (prettify-symbols--make-keywords): Rename from
10920 `prog-prettify-font-lock-symbols-keywords' and simplify.
10921 (prog-prettify-install): Remove.
10922 (prettify-symbols-mode): New minor mode, based on
10923 `prog-prettify-install'.
10924 (turn-on-prettify-symbols-mode): New function.
10925 (global-prettify-symbols-mode): New globalized minor mode.
10926
10927 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10928 * progmodes/cfengine.el (cfengine3-mode):
10929 * progmodes/perl-mode.el (perl-mode): Don't call
10930 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10931
10932 2013-06-18 Juri Linkov <juri@jurta.org>
10933
10934 * files-x.el (modify-file-local-variable-message): New function.
10935 (modify-file-local-variable)
10936 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10937 and call `modify-file-local-variable-message' when it's non-nil.
10938 (add-file-local-variable, delete-file-local-variable)
10939 (add-file-local-variable-prop-line)
10940 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10941 and use it. (Bug#9820)
10942
10943 2013-06-18 Juri Linkov <juri@jurta.org>
10944
10945 * emulation/vi.el (vi-shell-op):
10946 * emulation/vip.el (vip-execute-com, ex-command):
10947 * emulation/viper-cmd.el (viper-exec-bang):
10948 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10949 the call of `shell-command-on-region'. (Bug#14637)
10950
10951 * simple.el (shell-command-on-region): Doc fix.
10952
10953 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10954
10955 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10956 (bug#14633).
10957
10958 2013-06-18 Glenn Morris <rgm@gnu.org>
10959
10960 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10961
10962 * newcomment.el (comment-search-forward, comment-search-backward):
10963 Doc fix. (Bug#14376)
10964
10965 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10966
10967 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10968 (buffer-face-mode-invoke): Doc fix.
10969
10970 2013-06-18 Matthias Meulien <orontee@gmail.com>
10971
10972 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10973 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10974
10975 2013-06-18 Glenn Morris <rgm@gnu.org>
10976
10977 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10978 Replace obsolete function generic-make-keywords with its expansion.
10979
10980 * progmodes/python.el (ffap-alist): Declare.
10981
10982 * textmodes/reftex.el (bibtex-mode-map): Declare.
10983
10984 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10987 (package-unpack, package-unpack-single): Return the pkg-dir.
10988 (package-download-transaction): Use it to update package-alist.
10989
10990 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10991
10992 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10993 possible choice.
10994
10995 2013-06-17 Juri Linkov <juri@jurta.org>
10996
10997 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10998
10999 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11000
11001 * emacs-lisp/package.el (package-load-descriptor):
11002 Remove `with-syntax-table' call, `read' doesn't need it.
11003 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11004
11005 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11006
11007 * startup.el (command-line): Expand package name returned by
11008 `package--description-file' (bug#14639).
11009
11010 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11011
11012 * emacs-lisp/package.el (package-load-descriptor): Do not call
11013 `emacs-lisp-mode', just use its syntax table.
11014
11015 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11016
11017 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11018 `font-lock-extra-managed-props' if any prettifying keyword is added.
11019 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11020 (prog-mode): Use `setq-local'.
11021
11022 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * international/characters.el (standard-case-table): Set syntax of ?»
11025 and ?« to punctuation.
11026
11027 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11028
11029 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11030 Save relevant match data before calling `syntax-ppss' (bug#14595).
11031
11032 2013-06-15 Juri Linkov <juri@jurta.org>
11033
11034 * files-x.el (modify-file-local-variable-prop-line): Add local
11035 variables to the end of the existing comment on the first line.
11036 Use `file-auto-mode-skip' to skip interpreter magic line,
11037 and also skip XML declaration.
11038
11039 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * startup.el (package--builtin-versions): New var.
11042 (package-subdirectory-regexp): Remove.
11043 (package--description-file): Hard code its value instead.
11044
11045 * emacs-lisp/package.el: Don't activate packages older than builtin.
11046 (package-obsolete-list): Rename from package-obsolete-alist, and make
11047 it into a simple list of package-desc.
11048 (package-strip-version): Remove.
11049 (package-built-in-p): Use package--builtin-versions.
11050 (package-mark-obsolete): Simplify.
11051 (package-process-define-package): Mark it obsolete if older than the
11052 builtin version.
11053 (package-handle-response): Use line-end-position.
11054 (package-read-archive-contents, package--download-one-archive):
11055 Simplify.
11056 (package--add-to-archive-contents): Skip if older than the builtin or
11057 installed version.
11058 (package-menu-describe-package): Fix last change.
11059 (package-list-unversioned): New var.
11060 (package-menu--generate): Use it.
11061
11062 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11063 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11064 (autoload-builtin-package-versions): New variable.
11065 (autoload-generate-file-autoloads): Use them.
11066 Remove the list of autoloaded functions/macros from the
11067 (autoload...) comments.
11068
11069 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11070
11071 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11072
11073 * simple.el (line-move-partial): Don't jump to the next screen
11074 line as soon as it becomes visible. Instead, continue enlarging
11075 the vscroll until the portion of a tall screen line that's left on
11076 display is about the height of the frame's default font.
11077 (Bug#14567)
11078
11079 2013-06-15 Glenn Morris <rgm@gnu.org>
11080
11081 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11082 compilation-error-regexp-alist void, or local while let-bound.
11083
11084 * progmodes/make-mode.el (makefile-mode-syntax-table):
11085 Treat "=" as punctuation. (Bug#14614)
11086
11087 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11088
11089 * help-fns.el (describe-variable):
11090 Add extra line for permanent-local variables.
11091
11092 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11093
11094 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11095 Add export, import, library. (Bug#9164)
11096 (library): Set indent function.
11097
11098 2013-06-14 Glenn Morris <rgm@gnu.org>
11099
11100 * term/xterm.el (xterm--query):
11101 Stop after first matching handler. (Bug#14615)
11102
11103 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11104
11105 Add support for dired in saveplace.
11106 * dired.el (dired-initial-position-hook): New variable.
11107 (dired-initial-position): Call hook to place cursor position.
11108 * saveplace.el (save-place-to-alist): Add dired position.
11109 (save-place-dired-hook): New function.
11110
11111 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11114 through a symbol rather than letrec.
11115
11116 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11117 (package-desc): Add `dir' field.
11118 (package-desc-full-name): New function.
11119 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11120 (package-maybe-load-descriptor): Remove.
11121 (package-load-all-descriptors): Just call package-load-descriptor.
11122 (package--disabled-p): New function.
11123 (package-desc-vers, package-desc-doc): Remove aliases.
11124 (package--dir): Remove function.
11125 (package-activate): Check if a package is disabled.
11126 (package-process-define-package): New function, extracted from
11127 define-package.
11128 (define-package): Turn into a place holder.
11129 (package-unpack-single, package-tar-file-info):
11130 Use package--description-file.
11131 (package-compute-transaction): Use package--disabled-p.
11132 (package-download-transaction): Don't call
11133 package-maybe-load-descriptor since they're all loaded anyway.
11134 (package-install): Change argument to be a pkg-desc.
11135 (package-delete): Use a single pkg-desc argument.
11136 (describe-package-1): Use package-desc-dir instead of package--dir.
11137 Use package-desc property instead of package-symbol.
11138 (package-install-button-action): Adjust accordingly.
11139 (package--push): Rewrite.
11140 (package-menu--print-info): Adjust accordingly. Change the ID format
11141 to be a pkg-desc.
11142 (package-menu-describe-package, package-menu-get-status)
11143 (package-menu--find-upgrades, package-menu-mark-upgrades)
11144 (package-menu-execute, package-menu--name-predicate):
11145 Adjust accordingly.
11146 * startup.el (package--description-file): New function.
11147 (command-line): Use it.
11148 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11149 Use package-desc-version.
11150
11151 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11152 (byte-compile-preprocess): Use it.
11153 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11154 can't quite recognize.
11155 (byte-compile-add-to-list): Remove.
11156 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11157 (cconv-closure-convert): Add assertion.
11158
11159 * emacs-lisp/map-ynp.el: Use lexical-binding.
11160 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11161 Factor out some repeated code.
11162
11163 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * subr.el (with-eval-after-load): New macro.
11166 (eval-after-load): Allow form to be a function.
11167 take advantage of lexical-binding.
11168 (do-after-load-evaluation): Use dolist and adjust to new format.
11169 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11170
11171 2013-06-13 Juri Linkov <juri@jurta.org>
11172
11173 * replace.el (perform-replace): Display "symbol " and other search
11174 modes from `isearch-message-prefix' in the *Help* buffer.
11175
11176 * isearch.el (isearch-query-replace): Add " symbol" and other
11177 possible search modes from `isearch-message-prefix' to the prompt.
11178 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11179 when reading a regexp to collect.
11180
11181 2013-06-13 Juri Linkov <juri@jurta.org>
11182
11183 * isearch.el (word-search-regexp): Match whitespace if the search
11184 string begins or ends in whitespace. The LAX arg is applied to
11185 both ends of the search string. Use `regexp-quote' and explicit
11186 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11187 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11188 boundaries are replaced with symbol boundaries, and characters
11189 between symbols match non-word non-symbol syntax. (Bug#14602)
11190
11191 2013-06-13 Juri Linkov <juri@jurta.org>
11192
11193 * isearch.el (isearch-del-char): Don't exceed the length of
11194 `isearch-string' by the prefix arg. (Bug#14563)
11195
11196 2013-06-13 Juri Linkov <juri@jurta.org>
11197
11198 * isearch.el (isearch-yank-word, isearch-yank-line)
11199 (isearch-char-by-name, isearch-quote-char)
11200 (isearch-printing-char, isearch-process-search-char):
11201 Add optional count prefix arg. (Bug#14563)
11202
11203 * international/isearch-x.el
11204 (isearch-process-search-multibyte-characters):
11205 Add optional count prefix arg.
11206
11207 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11210 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11211 lexical-binding.
11212
11213 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11214
11215 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11216
11217 2013-06-13 Glenn Morris <rgm@gnu.org>
11218
11219 * startup.el (tty-handle-args):
11220 Don't just discard "--" and anything after. (Bug#14608)
11221
11222 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11223
11224 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11225
11226 Implement changes in Secret Service API. Make it backward compatible.
11227 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11228 (secrets-create-item): Use it. Prefix properties with interface.
11229
11230 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11231
11232 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11233 (term-emulate-terminal): Respect term-suppress-hard-newline.
11234
11235 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11236
11237 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11238 Only remove a `thumb-file' overlay. (Bug#14548)
11239
11240 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11241
11242 * mail/reporter.el (reporter-submit-bug-report):
11243 Handle missing package-name. (Bug#14600)
11244
11245 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11246
11247 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11248 (reftex-citation-prompt, reftex-default-bibliography)
11249 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11250 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11251 (reftex-bib-sort-author, reftex-bib-sort-year)
11252 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11253 (reftex-extract-bib-entries-from-thebibliography)
11254 (reftex-get-bibkey-default, reftex-get-bib-names)
11255 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11256 (reftex-format-bib-entry, reftex-parse-bibitem)
11257 (reftex-format-bibitem, reftex-do-citation)
11258 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11259 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11260 (reftex-insert-bib-matches, reftex-format-citation)
11261 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11262 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11263 existing comments into docstrings.
11264
11265 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11266
11267 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11268
11269 2013-06-12 Andreas Schwab <schwab@suse.de>
11270
11271 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11272 for auto-save files.
11273
11274 2013-06-12 Glenn Morris <rgm@gnu.org>
11275
11276 * ido.el (ido-delete-ignored-files): Remove.
11277 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11278 Go back to calling ido-ignore-item-p directly.
11279
11280 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11281
11282 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11283
11284 * ido.el (ido-delete-ignored-files): New function,
11285 split from ido-make-file-list-1.
11286 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11287 (ido-make-file-list-1): Use ido-delete-ignored-files.
11288
11289 2013-06-12 Leo Liu <sdl.web@gmail.com>
11290
11291 * progmodes/octave.el (inferior-octave-startup)
11292 (inferior-octave-completion-table)
11293 (inferior-octave-track-window-width-change)
11294 (octave-eldoc-function-signatures, octave-help)
11295 (octave-find-definition): Use single quoted strings.
11296 (inferior-octave-startup-args): Change default value.
11297 (inferior-octave-startup): Do not hard code "-i" and
11298 "--no-line-editing".
11299 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11300 (inferior-octave-directory-tracker): Use it.
11301 (octave-goto-function-definition): Robustify.
11302 (octave-help): Support highlighting operators in 'See also'.
11303 (octave-find-definition): Find subfunctions only in Octave mode.
11304
11305 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11306
11307 * help-fns.el (help-fns--compiler-macro): If the handler function is
11308 named, then put a link to it.
11309 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11310 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11311 (cl-typep): Use it.
11312 (cl-eval-when): Simplify debug spec.
11313 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11314 compiler-macro function instead of setting `compiler-macro-file'.
11315
11316 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11317
11318 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11319 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11320
11321 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11322 Daniel Hackney <dan@haxney.org>
11323
11324 First part of Daniel Hackney's patch to package.el.
11325 * emacs-lisp/package.el: Use defstruct.
11326 (package-desc): New, main struct.
11327 (package--bi-desc, package--ac-desc): New structs, used to describe the
11328 format in external files.
11329 (package-desc-vers): Replace with package-desc-version accessor.
11330 (package-desc-doc): Replace with package-desc-summary accessor.
11331 (package-activate-1): Remove `package' arg since the pkg-vec now
11332 includes the name.
11333 (define-package): Use package-desc-from-define.
11334 (package-unpack-single): Change file-name arg to be a symbol.
11335 (package--add-to-archive-contents): Use package-desc-create and new
11336 accessor functions to package--ac-desc.
11337 (package-buffer-info, package-tar-file-info): Return a package-desc.
11338 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11339 arg to be a package-desc.
11340 (package-install-file): Adjust accordingly. Use \' to match EOS.
11341 (package--from-builtin): New function.
11342 (describe-package-1, package-menu--generate): Use it.
11343 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11344 (package-generate-autoloads): Idem and return the name of the file.
11345 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11346 Change pkg-info arg to be a package-desc.
11347 Use package-make-ac-desc.
11348 (package-upload-file): Use \' to match EOS.
11349 * finder.el (finder-compile-keywords): Use package-make-builtin.
11350
11351 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11352
11353 * vc/vc.el (vc-deduce-fileset): Change error message.
11354 (vc-read-backend): New function.
11355 (vc-next-action): Use it.
11356
11357 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11358
11359 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11360 (prolog-font-lock-keywords): Use regexp-opt instead.
11361 Don't manually highlight strings.
11362 (prolog-mode-variables): Simplify comment-start-skip.
11363 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11364
11365 * emacs-lisp/generic.el (generic--normalise-comments)
11366 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11367 (generic-mode-set-comments): Use them.
11368 (generic-bracket-support): Use setq-local.
11369 (generic-make-keywords-list): Declare obsolete.
11370
11371 2013-06-11 Glenn Morris <rgm@gnu.org>
11372
11373 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11374 Prettify after setting font-lock-defaults. (Bug#14574)
11375
11376 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11377
11378 * replace.el (query-replace, occur-read-regexp-defaults-function)
11379 (replace-search):
11380 * subr.el (declare-function, number-sequence, local-set-key)
11381 (substitute-key-definition, locate-user-emacs-file)
11382 (with-silent-modifications, split-string, eval-after-load):
11383 Fix typos, remove unneeded backslashes and reflow some docstrings.
11384
11385 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11388 default for Elisp files.
11389
11390 2013-06-11 Glenn Morris <rgm@gnu.org>
11391
11392 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11393 although define-derived-mode was doing this anyway. (Bug#14583)
11394
11395 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11396
11397 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11398 Fix make-variable-buffer-local call to refer to the correct variable.
11399
11400 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11401
11402 * eshell/em-term.el (eshell-visual-commands)
11403 (eshell-visual-subcommands, eshell-visual-options):
11404 Add summary line to docstrings. Add cross-references.
11405
11406 2013-06-10 Glenn Morris <rgm@gnu.org>
11407
11408 * epa.el (epa-read-file-name): New function. (Bug#14510)
11409 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11410
11411 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11412
11413 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11414 output redirection to be ignored with visual commands.
11415
11416 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11417
11418 * eshell/em-term.el (eshell-visual-command-p): New function.
11419 (eshell-term-initialize): Move long lambda to separate function
11420 eshell-visual-command-p.
11421 * eshell/em-dirs.el (eshell-dirs-initialize):
11422 * eshell/em-script.el (eshell-script-initialize):
11423 Add missing #' to lambda.
11424
11425 2013-06-08 Leo Liu <sdl.web@gmail.com>
11426
11427 * progmodes/octave.el (octave-add-log-current-defun): New function.
11428 (octave-mode): Set add-log-current-defun-function.
11429 (octave-goto-function-definition): Do not move point if not found.
11430 (octave-find-definition): Enhance to try subfunctions first.
11431
11432 2013-06-08 Glenn Morris <rgm@gnu.org>
11433
11434 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11435 (byte-compile-backward-char, byte-compile-backward-word):
11436 Improve previous change, to handle non-explicit nil.
11437
11438 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11439
11440 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11441 (smie--opener/closer-at-point): New function.
11442 (smie--matching-block-data): Use it. Don't match from right after an
11443 opener or right before a closer. Obey smie-blink-matching-inners.
11444 Don't signal a mismatch for repeated inners like "switch..case..case".
11445
11446 2013-06-07 Leo Liu <sdl.web@gmail.com>
11447
11448 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11449 to t. (Bug#14303)
11450 (octave-function-header-regexp): Fix. (Bug#14570)
11451 (octave-help-mode-finish-hook, octave-help-mode-finish):
11452 Remove. Just use temp-buffer-show-hook.
11453
11454 * newcomment.el (comment-search-backward): Revert last change.
11455 (Bug#14434)
11456
11457 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11458
11459 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11460
11461 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11462 through xargs, to avoid failure due to MS-Windows limitations on
11463 command-line length.
11464
11465 2013-06-06 Glenn Morris <rgm@gnu.org>
11466
11467 * font-lock.el (lisp-font-lock-keywords-2):
11468 Treat user-error like error.
11469
11470 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11471 (byte-compile-backward-char, byte-compile-backward-word):
11472 Handle explicit nil arguments. (Bug#14565)
11473
11474 2013-06-05 Alan Mackenzie <acm@muc.de>
11475
11476 * isearch.el (isearch-allow-prefix): New user option.
11477 (isearch-other-meta-char): Don't exit isearch when a prefix
11478 argument is typed whilst `isearch-allow-prefix' is non-nil.
11479 (Bug#9706)
11480
11481 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11482
11483 * autorevert.el (auto-revert-notify-handler): Use memq.
11484 Hide assertion failure.
11485
11486 * skeleton.el: Use cl-lib.
11487 (skeleton-further-elements): Use defvar-local.
11488 (skeleton-insert): Use cl-progv.
11489
11490 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11491
11492 * progmodes/prog-mode.el (prog-prettify-symbols)
11493 (prog-prettify-install): Update docstrings.
11494
11495 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11496
11497 * simple.el: Move all the prog-mode code to prog-mode.el.
11498 * progmodes/prog-mode.el: New file.
11499 * loadup.el: Add prog-mode.el.
11500
11501 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11502
11503 * simple.el (prog-prettify-symbols): Add version.
11504 (prog-prettify-install): Add convenience function to prettify symbols.
11505
11506 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11507 (perl--augmented-font-lock-keywords-1)
11508 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11509 variables and use it.
11510
11511 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11512 (cfengine3-mode): Remove unneeded variable and use it.
11513
11514 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11515 (lisp--augmented-font-lock-keywords-1)
11516 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11517 Remove unneeded variables and use it.
11518
11519 2013-06-05 João Távora <joaotavora@gmail.com>
11520
11521 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11522 to point when opening the connection. (Bug#14380)
11523
11524 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * subr.el (load-history-regexp, load-history-filename-element)
11527 (eval-after-load, after-load-functions, do-after-load-evaluation)
11528 (eval-next-after-load, display-delayed-warnings)
11529 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11530 definition of save-match-data.
11531 (overriding-local-map): Remove accidental obsolescence declaration.
11532
11533 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11534
11535 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11536
11537 Generalize symbol prettify support to prog-mode and implement it
11538 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11539 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11540 (prog--prettify-font-lock-compose-symbol)
11541 (prog-prettify-font-lock-symbols-keywords): New variables and
11542 functions to support symbol prettification.
11543 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11544 (lisp--augmented-font-lock-keywords-1)
11545 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11546 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11547 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11548 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11549 Implement prettify of -> => :: strings.
11550 * progmodes/perl-mode.el (perl-prettify-symbols)
11551 (perl--font-lock-compose-symbol)
11552 (perl--font-lock-symbols-keywords): Move to prog-mode.
11553 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11554 (perl-font-lock-keywords-1)
11555 (perl-font-lock-keywords-2): Remove explicit prettify support.
11556 (perl--augmented-font-lock-keywords)
11557 (perl--augmented-font-lock-keywords-1)
11558 (perl--augmented-font-lock-keywords-2, perl-mode):
11559 Implement prettify support.
11560
11561 2013-06-05 Leo Liu <sdl.web@gmail.com>
11562
11563 Re-implement SMIE matching block highlight using
11564 show-paren-data-function. (Bug#14395)
11565 * emacs-lisp/smie.el (smie-matching-block-highlight)
11566 (smie--highlight-matching-block-overlay)
11567 (smie--highlight-matching-block-lastpos)
11568 (smie-highlight-matching-block)
11569 (smie-highlight-matching-block-mode): Remove.
11570 (smie--matching-block-data-cache): New variable.
11571 (smie--matching-block-data): New function.
11572 (smie-setup): Use smie--matching-block-data for
11573 show-paren-data-function.
11574
11575 * progmodes/octave.el (octave-mode-menu): Fix.
11576 (octave-find-definition): Skip garbage lines.
11577
11578 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11579
11580 Fix compilation error with simultaneous dynamic+lexical scoping.
11581 Add warning when a defvar appears after the first let-binding.
11582 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11583 (byte-compile-close-variables): Initialize it.
11584 (byte-compile--declare-var): New function.
11585 (byte-compile-file-form-defvar)
11586 (byte-compile-file-form-define-abbrev-table)
11587 (byte-compile-file-form-custom-declare-variable): Use it.
11588 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11589 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11590 (byte-compile-bind): Handle dynamic bindings that shadow
11591 lexical bindings.
11592 (byte-compile-unbind): Make arg non-optional.
11593 (byte-compile-let): Simplify.
11594 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11595 (cconv--analyse-function, cconv-analyse-form): Populate it.
11596 Protect byte-compile-bound-variables to limit the scope of defvars.
11597 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11598 Remove unneeded rule for `declare'.
11599
11600 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11601 so as to avoid depending on cl-adjoin at run-time.
11602 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11603
11604 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11605 (macroexp--warn-and-return): Use it.
11606
11607 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11608
11609 * subr.el: Convert to lexical binding.
11610 (overriding-local-map): Make obsolete.
11611 (add-to-list): Doc fix. Add compiler macro.
11612 (read-key): Swap values of local maps.
11613
11614 2013-06-05 Leo Liu <sdl.web@gmail.com>
11615
11616 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11617
11618 2013-06-04 Leo Liu <sdl.web@gmail.com>
11619
11620 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11621 (compilation-auto-jump): Suppress the "Mark set" message to give
11622 way to exit message.
11623
11624 2013-06-04 Alan Mackenzie <acm@muc.de>
11625
11626 Remove faulty optimisation from indentation calculation.
11627 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11628 search limit based on 2000 characters back from indent-point.
11629
11630 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11631
11632 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11633
11634 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11635
11636 * emacs-lisp/lisp.el: Use lexical-binding.
11637 (lisp--local-variables-1, lisp--local-variables): New functions.
11638 (lisp--local-variables-completion-table): New var.
11639 (lisp-completion-at-point): Use it complete let-bound vars.
11640
11641 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11642 eagerly (bug#14422).
11643
11644 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11645
11646 * autorevert.el (auto-revert-notify-enabled)
11647 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11648 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11649 (auto-revert-notify-handler): Handle also gfilenotify.
11650
11651 * subr.el (file-notify-handle-event): New defun. Replacing ...
11652 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11653 Remove.
11654
11655 2013-06-03 Juri Linkov <juri@jurta.org>
11656
11657 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11658 `M-s h .'. (Bug#14427)
11659
11660 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11661 command `hi-lock-face-symbol-at-point'.
11662 (hi-lock-face-symbol-at-point): New command.
11663 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11664 (hi-lock-menu): Add `highlight-symbol-at-point'.
11665 (hi-lock-mode): Doc fix.
11666
11667 * isearch.el (isearch-forward-symbol-at-point): New command.
11668 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11669 (isearch-highlight-regexp): Add a regexp which matches
11670 words/symbols for word/symbol mode.
11671
11672 * subr.el (find-tag-default-bounds): New function with the body
11673 mostly moved from `find-tag-default'.
11674 (find-tag-default): Move most code to `find-tag-default-bounds',
11675 call it and apply `buffer-substring-no-properties' afterwards.
11676
11677 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11678
11679 * eshell/em-term.el (eshell-term-initialize):
11680 Use `cl-intersection' rather than `intersection'.
11681
11682 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11683
11684 * vc/log-view.el: Doc fix.
11685 (log-view-mode-map): Copy keymap from `special-mode-map'.
11686
11687 2013-06-02 Eric Ludlam <zappo@gnu.org>
11688
11689 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11690 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11691 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11692 (eieio-unbound, eieio-default-superclass)
11693 (eieio--define-field-accessors, method-static, method-before)
11694 (method-primary, method-after, method-num-lists)
11695 (method-generic-before, method-generic-primary)
11696 (method-generic-after, method-num-slots)
11697 (eieio-specialized-key-to-generic-key)
11698 (eieio--check-type, class-v, class-p)
11699 (eieio-class-name, define-obsolete-function-alias)
11700 (eieio-class-parents-fast, eieio-class-children-fast)
11701 (same-class-fast-p, class-constructor, generic-p)
11702 (generic-primary-only-p, generic-primary-only-one-p)
11703 (class-option-assoc, class-option, eieio-object-p)
11704 (class-abstract-p, class-method-invocation-order)
11705 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11706 (eieio-class-un-autoload, eieio-defclass)
11707 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11708 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11709 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11710 (eieio-defgeneric-reset-generic-form)
11711 (eieio-defgeneric-form-primary-only)
11712 (eieio-defgeneric-reset-generic-form-primary-only)
11713 (eieio-defgeneric-form-primary-only-one)
11714 (eieio-defgeneric-reset-generic-form-primary-only-one)
11715 (eieio-unbind-method-implementations)
11716 (eieio--defmethod, eieio--typep)
11717 (eieio-perform-slot-validation, eieio-validate-slot-value)
11718 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11719 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11720 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11721 (eieio-slot-name-index, eieio-class-slot-name-index)
11722 (eieio-set-defaults, eieio-initarg-to-attribute)
11723 (eieio-attribute-to-initarg, eieio-c3-candidate)
11724 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11725 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11726 (eieio-class-precedence-list, eieio-generic-call-methodname)
11727 (eieio-generic-call-arglst, eieio-generic-call-key)
11728 (eieio-generic-call-next-method-list)
11729 (eieio-pre-method-execution-functions, eieio-generic-call)
11730 (eieio-generic-call-primary-only, eieiomt-method-list)
11731 (eieiomt-optimizing-obarray, eieiomt-install)
11732 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11733 (eieio-generic-form, eieio-defmethod, make-obsolete)
11734 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11735 (defclass): Remove `eval-and-compile' from macro.
11736 (call-next-method, shared-initialize): Instead of using
11737 `scoped-class' variable, use new eieio--scoped-class, and
11738 eieio--with-scoped-class.
11739 (initialize-instance): Rename local variable 'scoped-class' to
11740 'this-class' to remove ambiguitity from old global.
11741
11742 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11743 eieio.el.
11744 (eieio--scoped-class-stack): New variable.
11745 (eieio--scoped-class): New fcn.
11746 (eieio--with-scoped-class): New scoping macro.
11747 (eieio-defclass): Use pushnew instead of add-to-list.
11748 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11749 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11750 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11751 `scoped-class' variable, use new eieio--scoped-class, and
11752 eieio--with-scoped-class.
11753
11754 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11755
11756 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11757
11758 * eshell/esh-ext.el (eshell-external-command): Pass args to
11759 `eshell-find-interpreter'.
11760 (eshell-find-interpreter): Add new second parameter ARGS.
11761
11762 * eshell/em-script.el (eshell-script-initialize): Add second arg
11763 to the function added as MATCH to `eshell-interpreter-alist'.
11764
11765 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11766 the function added as MATCH to `eshell-interpreter-alist'.
11767
11768 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11769 (eshell-visual-options): New defcustom.
11770 (eshell-escape-control-x): Adapt docstring.
11771 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11772 `eshell-visual-options' in addition to `eshell-visual-commands'.
11773 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11774
11775 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11776
11777 * progmodes/python.el (python-indent-block-enders): Add break,
11778 continue and raise keywords.
11779
11780 2013-06-01 Glenn Morris <rgm@gnu.org>
11781
11782 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11783
11784 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11785 * progmodes/cc-cmds.el (delete-forward-p):
11786 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11787 * progmodes/cc-engine.el (buffer-syntactic-context):
11788 * progmodes/cc-fonts.el (face-property-instance):
11789 * progmodes/cc-mode.el (set-keymap-parents):
11790 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11791 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11792 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11793 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11794 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11795
11796 * progmodes/cc-vars.el (other): Emacs has this widget since
11797 at least 21.1, so don't (re)define it.
11798
11799 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11800 Replace the obsolete alias pcomplete-arg-quote-list.
11801
11802 2013-06-01 Leo Liu <sdl.web@gmail.com>
11803
11804 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11805 punctuation syntax.
11806 (inferior-octave-minimal-columns)
11807 (inferior-octave-last-column-width): New variables.
11808 (inferior-octave-track-window-width-change): New function.
11809 (inferior-octave-mode): Adjust column width so that Octave output,
11810 for example from 'ls', can fit into the window nicely.
11811
11812 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11813
11814 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11815 Highlight expansions inside regexp literals.
11816
11817 2013-05-31 Glenn Morris <rgm@gnu.org>
11818
11819 * obsolete/sym-comp.el (symbol-complete):
11820 Replace obsolete completion-annotate-function.
11821
11822 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11823
11824 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11825
11826 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11827 New function, checks if point is inside a literal that allows
11828 expression expansion.
11829 (ruby-syntax-propertize-expansion): Use it.
11830 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11831 around the body.
11832
11833 2013-05-30 Juri Linkov <juri@jurta.org>
11834
11835 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11836 to "\M-si".
11837 (isearch-invisible): New variable.
11838 (isearch-forward): Doc fix.
11839 (isearch-mode): Set `isearch-invisible'
11840 to the value of `search-invisible'.
11841 (isearch-toggle-case-fold): Doc fix.
11842 (isearch-toggle-invisible): New command.
11843 (isearch-query-replace): Let-bind `search-invisible'
11844 to the value of `isearch-invisible'.
11845 (isearch-search): Use `isearch-invisible' instead of
11846 `search-invisible'. Let-bind `search-invisible'
11847 to the value of `isearch-invisible'. (Bug#11378)
11848
11849 2013-05-30 Juri Linkov <juri@jurta.org>
11850
11851 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11852 call when `query-flag' is nil and `search-invisible' is non-nil.
11853 (Bug#11746)
11854
11855 2013-05-30 Glenn Morris <rgm@gnu.org>
11856
11857 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11858
11859 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11860 (cc-require): Suppress spurious "noruntime" warnings.
11861 (cc-require-when-compile): Use fboundp, for sake of compiler.
11862
11863 * progmodes/cc-mode.el: Move load of cc-vars before that of
11864 cc-langs (which in turn loads cc-vars), to quieten compiler.
11865
11866 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11867
11868 * paren.el: Simplify the code.
11869 (show-paren-mode): Always start the timer.
11870 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11871 (show-paren--overlay, show-paren--overlay-1): Rename from
11872 show-paren-overlay and show-paren-overlay-1, and initialize to an
11873 overlay rather than to nil.
11874 (show-paren-function): Misc cleanup and simplifications.
11875
11876 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11877
11878 * paren.el (show-paren-data-function): New hook.
11879 (show-paren--default): New function, extracted from show-paren-function.
11880 (show-paren-function): Use show-paren-data-function.
11881
11882 2013-05-30 Glenn Morris <rgm@gnu.org>
11883
11884 * ielm.el (ielm-map, ielm-complete-symbol):
11885 Use completion-at-point rather than obsolete functions.
11886 (inferior-emacs-lisp-mode): Doc fix.
11887 Set completion-at-point-functions, rather than
11888 comint-dynamic-complete-functions.
11889
11890 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11891 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11892 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11893
11894 * image.el (image-animated-p): Tweak definition.
11895
11896 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11897 (rlogin-process-connection-type): Tweak default. Add set-after.
11898 (rlogin-host): Doc fix.
11899 (rlogin): Tweak prompt.
11900 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11901
11902 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11903 * progmodes/tcl.el (inferior-tcl-mode-map):
11904 Use completion-at-point rather than obsolete alias.
11905
11906 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11907
11908 * minibuffer.el (read-file-name-completion-ignore-case):
11909 Move before completion--in-region, for eager macro expansion.
11910
11911 2013-05-29 Juri Linkov <juri@jurta.org>
11912
11913 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11914 for total count of matching lines. Add `global-matches' for total
11915 count of matches. Rename `matches' to `lines' for count of
11916 matching lines. Add `matches' for count of matches.
11917 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11918 to `prev-line' for line number of prev match endpt.
11919 Increment `matches' for every match. Print the number of
11920 matching lines in the header.
11921 (occur-context-lines): Rename `lines' to `curr-line'.
11922 Rename `prev-lines' to `prev-line'. (Bug#14017)
11923
11924 2013-05-29 Juri Linkov <juri@jurta.org>
11925
11926 * replace.el (perform-replace): Add `skip-read-only-count',
11927 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11928 Increment them for corresponding conditions and report the number
11929 of skipped occurrences in the final message. (Bug#11746)
11930 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11931 (replace-string, replace-regexp): Doc fix.
11932
11933 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11934
11935 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11936
11937 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11938 prog-mode-map (bug#14504).
11939
11940 2013-05-29 Leo Liu <sdl.web@gmail.com>
11941
11942 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11943 (octave-help): Small simplification.
11944
11945 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11946 off the highlight first.
11947
11948 2013-05-29 Glenn Morris <rgm@gnu.org>
11949
11950 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11951 Handle idlwave-last-system-routine-info-cons-cell being nil.
11952
11953 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11954 (idlwave-write-paths): Simplify via with-temp-buffer.
11955
11956 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11957 * emulation/cua-rect.el: Also load cua-base at run time.
11958
11959 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11960 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11961 (cperl-imenu-on-info): Require imenu.
11962
11963 2013-05-28 Alan Mackenzie <acm@muc.de>
11964
11965 Handle "capitalised keywords" correctly.
11966 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11967
11968 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11969
11970 * eshell/em-unix.el: Add -r option to cp.
11971
11972 2013-05-28 Glenn Morris <rgm@gnu.org>
11973
11974 * vc/vc-arch.el (vc-exec-after): Declare.
11975 (vc-switches): Autoload.
11976 * vc/vc-bzr.el: No need to require vc when compiling.
11977 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11978 (vc-resynch-buffer, vc-dir-refresh): Declare.
11979 (vc-setup-buffer, vc-switches): Autoload.
11980 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11981 (vc-resynch-buffer): Declare.
11982 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11983 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11984 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11985 (grep-read-regexp, grep-read-files, grep-expand-template)
11986 (vc-dir-refresh): Declare.
11987 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11988 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11989 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11990 * vc/vc-mtn.el (vc-exec-after): Declare.
11991 (vc-switches): Autoload.
11992 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11993 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11994 (vc-file-tree-walk): Declare.
11995 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11996 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11997 (vc-tag-precondition, vc-rename-master): Autoload.
11998 * vc/vc-svn.el (vc-exec-after): Declare.
11999 (vc-switches, vc-setup-buffer): Autoload.
12000 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12001 Autoload.
12002 (vc-resynch-buffer): Declare.
12003
12004 * obsolete/fast-lock.el (byte-compile-warnings):
12005 Don't warn about obsolete features in this obsolete file.
12006
12007 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12008 Move definition before use.
12009
12010 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12011 (dun-unix-verbs): Remove dun-zippy.
12012 (dun-zippy): Remove function.
12013
12014 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12015
12016 2013-05-27 Juri Linkov <juri@jurta.org>
12017
12018 * replace.el (replace-search): New function with code moved out
12019 from `perform-replace'.
12020 (replace-highlight, replace-dehighlight): Move function definitions
12021 up closer to `replace-search'. (Bug#11746)
12022
12023 2013-05-27 Juri Linkov <juri@jurta.org>
12024
12025 * replace.el (perform-replace): Ignore invisible matches.
12026 In addition to checking `query-replace-skip-read-only', also
12027 filter out matches by calling `run-hook-with-args-until-failure'
12028 on `isearch-filter-predicates', and also check `search-invisible'
12029 for t or call `isearch-range-invisible'.
12030 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12031
12032 2013-05-27 Juri Linkov <juri@jurta.org>
12033
12034 * isearch.el (isearch-filter-predicates): Rename from
12035 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12036 (isearch-message-prefix): Display text from the property
12037 `isearch-message-prefix' of the currently active filters.
12038 (isearch-search): Don't compare `isearch-filter-predicate' with
12039 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12040 on `isearch-filter-predicates'. Also check `search-invisible' for t
12041 or call `isearch-range-invisible'.
12042 (isearch-filter-visible): Make obsolete.
12043 (isearch-lazy-highlight-search):
12044 Call `run-hook-with-args-until-failure' on
12045 `isearch-filter-predicates' and use `isearch-range-invisible'.
12046
12047 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12048 `isearch-filter-predicates' instead of `funcall'ing
12049 `isearch-filter-predicate'.
12050 (Info-mode): Set `Info-isearch-filter' to
12051 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12052
12053 * dired-aux.el (dired-isearch-filter-predicate-orig):
12054 Remove variable.
12055 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12056 (dired-isearch-filenames-end): Add and remove
12057 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12058 instead of changing the value of `isearch-filter-predicate'.
12059 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12060 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12061 Put property `isearch-message-prefix' to "filename " on
12062 `dired-isearch-filter-filenames'.
12063
12064 * wdired.el (wdired-change-to-wdired-mode):
12065 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12066 locally instead of changing `isearch-filter-predicate'.
12067 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12068
12069 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12070
12071 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12072 return the commit hash (Bug#14459). Also set the
12073 `vc-git-detached' property.
12074 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12075 (vc-git-mode-line-string): Use the same help-echo format whether
12076 in detached mode or not, because we know the actual revision now.
12077 When in detached mode, shorten the revision to 7 chars.
12078
12079 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12080
12081 * emacs-lisp/easy-mmode.el (define-minor-mode):
12082 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12083 mode hook and provide a docstring.
12084
12085 2013-05-27 Alan Mackenzie <acm@muc.de>
12086
12087 Remove spurious syntax-table text properties inserted by C-y.
12088 * progmodes/cc-mode.el (c-after-change): Also clear hard
12089 syntax-table property with value nil.
12090
12091 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12092
12093 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12094 when reading the events; the buffer layout shall not be changed.
12095
12096 2013-05-27 Leo Liu <sdl.web@gmail.com>
12097
12098 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12099 New variable.
12100 (inferior-octave-directory-tracker): Automatically re-sync
12101 default-directory.
12102 (octave-help): Improve handling of 'See also'.
12103
12104 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * doc-view.el: Minor naming convention tweaks.
12107 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12108
12109 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12110 even if there's no `display' property yet (bug#14435).
12111
12112 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12113
12114 * subr.el (unmsys--file-name): Rename from reveal-filename.
12115
12116 * Makefile.in (custom-deps, finder-data, autoloads)
12117 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12118 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12119 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12120
12121 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12124 error-completion on the first 2 args of condition-case (bug#14446).
12125 Don't burp at EOB.
12126
12127 2013-05-25 Leo Liu <sdl.web@gmail.com>
12128
12129 * comint.el (comint-previous-matching-input): Do not flood the
12130 *Messages* buffer with trivial messages.
12131
12132 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12133
12134 * progmodes/flymake.el (flymake-nop): Don't return a string.
12135 (flymake-set-at): Fix typo.
12136
12137 * simple.el (read--expression): New function, extracted from
12138 eval-expression. Set completion-at-point-functions (bug#14465).
12139 (eval-expression, eval-minibuffer): Use it.
12140
12141 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12142
12143 * progmodes/flymake.el (flymake-save-buffer-in-file)
12144 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12145 (flymake-selected-frame, flymake-log, flymake-ins-after)
12146 (flymake-set-at, flymake-get-buildfile-from-cache)
12147 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12148 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12149 Refine the doc string.
12150 (flymake-get-file-name-mode-and-masks): Reformat.
12151 (flymake-get-real-file-name-function): Fix a minor bug.
12152
12153 2013-05-24 Juri Linkov <juri@jurta.org>
12154
12155 * progmodes/grep.el (grep-mode-font-lock-keywords):
12156 Support =linenumber= format used by git-grep for lines with
12157 function names. (Bug#13549)
12158
12159 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12162 0 after a semi-colon; it works better for smie-auto-fill.
12163 (octave--indent-new-comment-line): New function.
12164 (octave-indent-new-comment-line): Use it (indirectly).
12165 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12166 modify comment-line-break-function.
12167
12168 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12169 (smie-setup): Use add-function to set it.
12170
12171 2013-05-24 Sam Steingold <sds@gnu.org>
12172
12173 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12174 argument (before the `interactive' argument).
12175
12176 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * image-mode.el (image-mode-winprops): Add winprops to
12179 image-mode-winprops-alist before running
12180 image-mode-new-window-functions.
12181 * doc-view.el (doc-view-new-window-function): Don't delay
12182 doc-view-goto-page via timers (bug#14435).
12183
12184 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12185
12186 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12187 (doc-view-desktop-save-buffer): New function.
12188 (doc-view-restore-desktop-buffer): New function.
12189 (desktop-buffer-mode-handlers):
12190 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12191 handler.
12192 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12193 `desktop-save-buffer' function.
12194
12195 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12196
12197 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12198 (tramp-gvfs-file-name-handler): Raise a user error when
12199 `tramp-gvfs-enabled' is nil.
12200 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12201 Do not raise a user error when loading package. (Bug#14447)
12202
12203 * net/xesam.el: Move to obsolete/.
12204
12205 2013-05-24 Glenn Morris <rgm@gnu.org>
12206
12207 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12208
12209 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12210
12211 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12212 (Info-find-node, Man-getpage-in-background): Declare.
12213
12214 * mail/unrmail.el (unrmail):
12215 Replace obsolete detect-coding-with-priority.
12216
12217 * net/socks.el (socks-split-string): Use this rather than split-string.
12218 (socks-nslookup-host): Update for above change.
12219 (dynamic-choice, s5-dynamic-choice-match)
12220 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12221 Comment out unused code.
12222
12223 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12224 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12225 (gud-tooltip-echo-area): Make obsolete.
12226 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12227
12228 * progmodes/js.el (js--optimize-arglist): Declare.
12229
12230 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12231
12232 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12233 (ediff-window-C): Declare.
12234
12235 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12236 Tweak requires to silence compiler.
12237
12238 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12239 (he-search-string, he-tried-table, he-expand-list)
12240 (he-init-string, he-string-member, he-substitute-string)
12241 (he-reset-string): Declare.
12242
12243 * obsolete/options.el (list-options): Use custom-variable-p,
12244 rather than obsolete alias.
12245
12246 2013-05-23 Sam Steingold <sds@gnu.org>
12247
12248 * simple.el (shell-command-on-region): Pass the `replace' argument
12249 down to `call-process-region' to comply with the doc as reported on
12250 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12251
12252 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12253
12254 * emacs-lisp/smie.el (smie-indent-forward-token)
12255 (smie-indent-backward-token): Handle string tokens (bug#14381).
12256
12257 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12258
12259 * ielm.el (ielm-menu): New menu.
12260 (inferior-emacs-lisp-mode): Set comment-start.
12261
12262 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12263
12264 * textmodes/reftex.el (reftex-ref-style-toggle):
12265 Fix deactivate action.
12266
12267 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12268 Add cleveref macros.
12269
12270 * textmodes/reftex-parse.el
12271 (reftex-locate-bibliography-files): Accept options for
12272 bibliography commands.
12273 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12274 Add addbibresource. Basic Biblatex support.
12275
12276 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12277
12278 * net/tramp-gvfs.el (top):
12279 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12280 when loading package. (Bug#14447)
12281
12282 2013-05-23 Glenn Morris <rgm@gnu.org>
12283
12284 * progmodes/js.el: No need to load comint when compiling.
12285 (ring-insert, comint-send-string, comint-send-input)
12286 (comint-last-input-end, ido-chop): Declare.
12287
12288 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12289 * vc/ediff-mult.el: Adjust requires.
12290 (ediff-directories-internal, ediff-directory-revisions-internal)
12291 (ediff-patch-file-internal): Declare.
12292 * vc/ediff-ptch.el: Adjust requires.
12293 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12294 (ediff-find-file): Autoload.
12295 * vc/ediff-util.el: No need to load ediff when compiling.
12296 (ediff-regions-internal): Declare.
12297 * vc/ediff-wind.el: Adjust requires.
12298 (ediff-compute-toolbar-width): Define when compiling.
12299 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12300 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12301 (dired-get-filename, dired-get-marked-files)
12302 (ediff-last-dir-patch, ediff-patch-default-directory)
12303 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12304 (ediff-patch-buffer-internal): Declare.
12305
12306 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12307 (ispell-process, ispell-buffer-local-words, lm-summary)
12308 (lm-section-start, lm-section-end): Declare.
12309 (checkdoc-ispell-init): Simplify.
12310
12311 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12312 (he-string-member, he-reset-string, he-substitute-string): Declare.
12313
12314 * eshell/em-ls.el: Adjust requires.
12315 (eshell-glob-regexp): Declare.
12316 * eshell/em-tramp.el: Adjust requires.
12317 (eshell-parse-command): Autoload.
12318 * eshell/em-xtra.el: Adjust requires.
12319 (eshell-parse-command): Autoload.
12320 * eshell/esh-ext.el: Adjust requires.
12321 (eshell-parse-command, eshell-close-handles): Autoload.
12322 * eshell/esh-io.el: Adjust requires.
12323 (eshell-output-filter): Autoload.
12324 * eshell/esh-util.el: No need to load tramp when compiling.
12325 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12326 Declare.
12327 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12328 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12329 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12330 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12331 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12332 * eshell/esh-opt.el, eshell/esh-proc.el:
12333 * eshell/esh-var.el: Adjust requires.
12334 * eshell/eshell.el: Do not require esh-util twice.
12335 (eshell-add-input-to-history): Declare.
12336 (eshell-command): Check history module is active before using it.
12337
12338 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12339
12340 2013-05-22 Leo Liu <sdl.web@gmail.com>
12341
12342 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12343
12344 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12345
12346 * autorevert.el (auto-revert-notify-add-watch)
12347 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12348 it indicates changes in file modification time.
12349
12350 2013-05-22 Glenn Morris <rgm@gnu.org>
12351
12352 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12353 Always delete the autoloaded function from the noruntime and
12354 unresolved functions lists.
12355
12356 * allout.el: No need to load epa, epg, overlay when compiling.
12357 (epg-context-set-passphrase-callback, epg-list-keys)
12358 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12359 (epg-key-user-id-list): Declare.
12360
12361 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12362 (viper-set-parsing-style-toggling-macro)
12363 (viper-set-emacs-state-searchstyle-macros):
12364 Use called-interactively-p on Emacs.
12365 (viper-looking-back): Make it an obsolete alias. Update callers.
12366 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12367 Use looking-back rather than viper-looking-back.
12368 (viper-tmp-insert-at-eob, viper-enlarge-region)
12369 (viper-read-string-with-history, viper-register-to-point)
12370 (viper-append-to-register, viper-change-state-to-vi)
12371 (viper-backward-char-carefully, viper-forward-char-carefully)
12372 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12373 (viper-change-state-to-emacs): Declare.
12374 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12375 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12376 * emulation/viper-mous.el: Do not load viper-cmd.
12377 (viper-backward-char-carefully, viper-forward-char-carefully)
12378 (viper-forward-word, viper-adjust-window): Declare.
12379
12380 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12381
12382 * progmodes/idlw-help.el (idlwave-help-fontify):
12383 Use called-interactively-p.
12384
12385 * term/w32console.el (w32-get-console-codepage)
12386 (w32-get-console-output-codepage): Declare.
12387
12388 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12389 Remove unnecessary declarations.
12390 (dframe-message): Doc fix.
12391
12392 * info.el (dframe-select-attached-frame, dframe-current-frame):
12393 Declare.
12394
12395 * speedbar.el (speedbar-message): Make it an obsolete alias.
12396 Update all callers.
12397 (speedbar-with-attached-buffer)
12398 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12399 (speedbar-with-writable): Use backquote.
12400 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12401 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12402 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12403 rather than speedbar- aliases.
12404 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12405 (speedbar-make-specialized-keymap, speedbar-insert-button)
12406 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12407 (speedbar-do-function-pointer): Declare.
12408 (rmail-speedbar-button, rmail-speedbar-find-file)
12409 (rmail-speedbar-move-message):
12410 Use dframe-with-attached-buffer rather than speedbar- alias.
12411 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12412 (dframe-message, speedbar-make-specialized-keymap)
12413 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12414 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12415 (speedbar-insert-button, dframe-select-attached-frame)
12416 (dframe-maybee-jump-to-attached-frame)
12417 (speedbar-change-initial-expansion-list)
12418 (speedbar-previously-used-expansion-list-name): Declare.
12419 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12420 Use dframe-message, dframe-with-attached-buffer rather than
12421 speedbar- aliases.
12422 (gud-sentinel): Silence compiler.
12423 * progmodes/vhdl-mode.el (speedbar-refresh)
12424 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12425 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12426 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12427 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12428 (speedbar-file-lists, speedbar-make-tag-line)
12429 (speedbar-line-directory, speedbar-goto-this-file)
12430 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12431 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12432 (speedbar-make-button, speedbar-reset-scanners)
12433 (speedbar-files-item-info, speedbar-line-text)
12434 (speedbar-find-file-in-frame, speedbar-set-timer)
12435 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12436 (speedbar-with-writable): Do not (re)define it.
12437 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12438 rather than speedbar- alias.
12439
12440 2013-05-21 Leo Liu <sdl.web@gmail.com>
12441
12442 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12443 menu items.
12444 (octave-mode): Tweak fill-nobreak-predicate.
12445 (inferior-octave-startup): Check process to avoid infinite loop.
12446 (inferior-octave): Pop to buffer first to show abornmal process
12447 exit information.
12448
12449 2013-05-21 Glenn Morris <rgm@gnu.org>
12450
12451 * printing.el (pr-menu-bar): Define when compiling.
12452
12453 2013-05-21 Leo Liu <sdl.web@gmail.com>
12454
12455 * progmodes/octave.el (octave-auto-fill): Remove.
12456 (octave-indent-new-comment-line): Improve.
12457 (octave-mode): Use auto fill mode through
12458 comment-line-break-function and fill-nobreak-predicate.
12459 (octave-goto-function-definition): Support DEFUN_DLD.
12460 (octave-beginning-of-defun): Small tweak.
12461 (octave-help): Show parent directory.
12462
12463 2013-05-21 Glenn Morris <rgm@gnu.org>
12464
12465 * files.el (dired-unmark):
12466 * progmodes/gud.el (gdb-input): Update declarations.
12467
12468 * calculator.el (electric, ehelp): No need to load when compiling.
12469 (Electric-command-loop, electric-describe-mode): Declare.
12470
12471 * doc-view.el (doc-view-current-converter-processes): Move before use.
12472
12473 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12474 Move MODE-set-explicitly definition before use.
12475
12476 * international/mule-diag.el (mule-diag):
12477 Don't use obsolete window-system-version.
12478
12479 * mail/feedmail.el (smtpmail): No need to load when compiling.
12480 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12481
12482 * mail/mail-utils.el (rfc822): No need to load when compiling.
12483 (rfc822-addresses): Autoload it.
12484 (mail-strip-quoted-names): Trivial simplification.
12485
12486 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12487 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12488
12489 * net/snmp-mode.el (tempo): Don't duplicate requires.
12490
12491 * progmodes/prolog.el (info): No need to load when compiling.
12492 (comint): Require before shell requires it.
12493 (Info-goto-node): Autoload it.
12494 (Info-follow-nearest-node): Declare.
12495 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12496
12497 * textmodes/artist.el (picture-mode-exit): Declare.
12498
12499 * textmodes/reftex-parse.el (reftex-parse-from-file):
12500 Trivial rewrite so the compiler can parse it better.
12501
12502 2013-05-20 Leo Liu <sdl.web@gmail.com>
12503
12504 * progmodes/octave.el (octave-help-mode-map)
12505 (octave-help-mode-finish-hook): New variables.
12506 (octave-help-mode, octave-help-mode-finish): New functions.
12507 (octave-help): Use octave-help-mode.
12508
12509 2013-05-20 Glenn Morris <rgm@gnu.org>
12510
12511 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12512
12513 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12514
12515 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12516 start at point, so that expansion starting right after opening
12517 slash in a regexp is recognized.
12518 (ruby-syntax-before-regexp-re): New defvar, extracted from
12519 ruby-syntax-propertize-function. Since the value of this regexp
12520 is looked up at runtime now, we should be able to turn
12521 `ruby-syntax-methods-before-regexp' into a defcustom later.
12522 (ruby-syntax-propertize-function): Split regexp matching into two
12523 parts, for opening and closing slashes. That allows us to skip
12524 over string interpolations and support multiline regexps.
12525 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12526 for them, which calls `ruby-syntax-propertize-expansion'.
12527 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12528 call to `ruby-syntax-propertize-function'.
12529 (ruby-syntax-propertize-expansion): Extracted from
12530 `ruby-syntax-propertize-expansions'. Handles one expansion.
12531 (ruby-syntax-propertize-percent-literal): Leave point right after
12532 the percent symbol, so that the expression expansion rule can
12533 propertize the contents.
12534 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12535 heredoc openers.
12536 (ruby-syntax-propertize-expansions): Remove.
12537
12538 2013-05-18 Juri Linkov <juri@jurta.org>
12539
12540 * man.el (Man-default-man-entry): Remove `-' from the end
12541 of the default value. (Bug#14400)
12542
12543 2013-05-18 Glenn Morris <rgm@gnu.org>
12544
12545 * comint.el (comint-password-prompt-regexp):
12546 Allow "password for XXX" where XXX contains colons (eg https://...).
12547
12548 2013-05-18 Leo Liu <sdl.web@gmail.com>
12549
12550 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12551 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12552 (octave-source-directories): Don't check process.
12553 (octave-source-directories, octave-find-definition): Doc fix.
12554
12555 2013-05-18 Glenn Morris <rgm@gnu.org>
12556
12557 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12558 Remove backspace/delete bindings. (Bug#14392)
12559
12560 * cus-dep.el (custom-make-dependencies): Sort the output.
12561 (custom-versions-load-alist): Convert comment to doc.
12562
12563 2013-05-17 Leo Liu <sdl.web@gmail.com>
12564
12565 * newcomment.el (comment-search-backward): Stricter in finding
12566 comment start. (Bug#14303)
12567
12568 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12569 (octave-comment-start-skip): Properly anchored.
12570
12571 2013-05-17 Leo Liu <sdl.web@gmail.com>
12572
12573 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12574 Clean up when turned off. (Bug#14395)
12575 (smie--highlight-matching-block-overlay): No longer buffer-local.
12576 (smie-highlight-matching-block): Adjust.
12577
12578 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12579
12580 Doc string fix for "nanoseconds" (Bug#14406).
12581 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12582 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12583
12584 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12585
12586 * calc/calc-units.el (math-extract-units): Preserve powers
12587 of units.
12588
12589 2013-05-17 Leo Liu <sdl.web@gmail.com>
12590
12591 * subr.el (delete-consecutive-dups): New function.
12592 * ido.el (ido-set-matches-1): Use it.
12593 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12594 * ido.el (ido-remove-consecutive-dups): Remove.
12595
12596 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12597
12598 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12599 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12600 regexp-opt's `words'.
12601
12602 2013-05-16 Leo Liu <sdl.web@gmail.com>
12603
12604 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12605 (smie--highlight-matching-block-overlay)
12606 (smie--highlight-matching-block-lastpos)
12607 (smie--highlight-matching-block-timer): New variables.
12608 (smie-highlight-matching-block): New function.
12609 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12610 (smie-setup): Conditionally enable smie-blink-matching-open.
12611
12612 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12613
12614 Sync with upstream verilog-mode r840.
12615 * progmodes/verilog-mode.el (verilog-mode-version)
12616 (verilog-mode-release-date): Update.
12617 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12618 (verilog-sig-tieoff): Fix string error on
12619 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12620 (verilog-read-decls): Fix parameters confusing
12621 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12622
12623 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12624
12625 * subr.el (reveal-filename): New function.
12626
12627 * loadup.el: Compute Emacs executable versions on MS-Windows,
12628 where executables have the .exe extension. Add a hard link
12629 emacs-XX.YY.ZZ.exe on MS-Windows.
12630
12631 * Makefile.in (XARGS_LIMIT): New variable.
12632 (custom-deps, finder-data, autoloads)
12633 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12634 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12635 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12636 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12637
12638 2013-05-16 Leo Liu <sdl.web@gmail.com>
12639
12640 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12641 (octave-mode-menu, octave-mode-map): Remove its uses.
12642
12643 2013-05-16 Reto Zimmermann <reto@gnu.org>
12644
12645 Sync with upstream vhdl mode v3.34.2.
12646 * progmodes/vhdl-mode.el: Use `push' throughout.
12647 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12648 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12649 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12650 (vhdl-actual-generic-name): New option to derive actual generic name.
12651 (vhdl-port-paste-signals): Replace formal by actual generics.
12652 (vhdl-beautify): New name for old group vhdl-align. Update users.
12653 (vhdl-beautify-options): New option.
12654 (vhdl-last-input-event): New compat alias. Use throughout.
12655 (vhdl-goto-line): Replace user level function `goto-line'.
12656 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12657 vhdl-fix-statement-buffer.
12658 (vhdl-create-mode-menu): Add some entries.
12659 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12660 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12661 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12662 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12663 to force statements on one line.
12664 (vhdl-remove-trailing-spaces-region):
12665 New, split from vhdl-remove-trailing-spaces.
12666 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12667 Respect vhdl-beautify-options.
12668 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12669 (vhdl-update-sensitivity-list): Not add with index if exists without.
12670 Not include array index with signal. Ignore keywords in comments.
12671 (vhdl-get-visible-signals): Regexp tweaks.
12672 (vhdl-template-component-inst): Handle empty library.
12673 (vhdl-template-type): Add template for 'enum' type.
12674 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12675 Use vhdl-replace-string.
12676 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12677 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12678 (vhdl-speedbar-initialize): Update for above name change.
12679 (vhdl-compose-wire-components): Fix in handling of constants.
12680 (vhdl-error-regexp-emacs-alist): New variable.
12681 (vhdl-error-regexp-add-emacs): New function;
12682 adds support for new compile.el (Emacs 22+)
12683 (vhdl-generate-makefile-1): Change target order for single lib. units.
12684 Allow use of absolute file names.
12685
12686 2013-05-16 Leo Liu <sdl.web@gmail.com>
12687
12688 * simple.el (prog-indent-sexp): Indent enclosing defun.
12689
12690 2013-05-15 Glenn Morris <rgm@gnu.org>
12691
12692 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12693 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12694 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12695 (whitespace-highlight): Move to whitespace group.
12696
12697 * comint.el (comint-source):
12698 * pcmpl-linux.el (pcmpl-linux):
12699 * shell.el (shell-faces):
12700 * eshell/esh-opt.el (eshell-opt):
12701 * international/ccl.el (ccl): Remove empty custom groups.
12702
12703 * completion.el (dynamic-completion-mode):
12704 * jit-lock.el (jit-lock-debug-mode):
12705 * minibuffer.el (completion-in-region-mode):
12706 * type-break.el (type-break-mode-line-message-mode)
12707 (type-break-query-mode):
12708 * emulation/tpu-edt.el (tpu-edt-mode):
12709 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12710 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12711 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12712
12713 * term/xterm.el (xterm): Change parent group to terminals.
12714
12715 * master.el (master): Remove empty custom group.
12716 (master-mode): Remove unused :group argument.
12717 * textmodes/refill.el (refill): Remove empty custom group.
12718 (refill-mode): Remove unused :group argument.
12719
12720 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12721
12722 * cus-dep.el: Provide a feature.
12723 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12724 Don't mistakenly ignore files whose basenames match a basename
12725 from preloaded-file-list (eg cedet/ede/simple.el).
12726 Add a fallback method for getting :group.
12727
12728 2013-05-15 Juri Linkov <juri@jurta.org>
12729
12730 * isearch.el (isearch-char-by-name): Rename from
12731 `isearch-insert-char-by-name'. Doc fix.
12732 (isearch-forward): Mention `isearch-char-by-name' in
12733 the docstring. (Bug#13348)
12734
12735 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12736 `exit-minibuffer' instead of
12737 `isearch-nonincremental-exit-minibuffer'.
12738 (isearch-edit-string): Remove mention of
12739 `isearch-nonincremental-exit-minibuffer' from docstring.
12740 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12741 (isearch-forward-exit-minibuffer)
12742 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12743
12744 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12745
12746 * loadup.el: Just use unversioned DOC.
12747
12748 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12749 literals as extending to EOB.
12750 (nxml-last-fontify-end): Remove unused variable.
12751 (nxml-after-change1): Use with-silent-modifications.
12752 (nxml-extend-after-change-region): Simplify.
12753 (nxml-extend-after-change-region1): Remove function.
12754 (nxml-after-change1): Don't adjust for dependent regions.
12755 (nxml-fontify-matcher): Simplify.
12756 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12757 (xmltok-add-dependent): Remove function.
12758 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12759 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12760 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12761 unclosed <[[, <?, comment, and other literals as extending to EOB.
12762 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12763 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12764 Remove functions.
12765 (rng-do-some-validation-1): Don't mark dependent regions.
12766 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12767 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12768 (nxml-clear-dependent-regions): Remove functions.
12769 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12770 (nxml-ensure-scan-up-to-date):
12771 Don't clear&mark dependent regions.
12772
12773 2013-05-15 Leo Liu <sdl.web@gmail.com>
12774
12775 * progmodes/octave.el (octave-goto-function-definition):
12776 Improve and fix callers.
12777
12778 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12779
12780 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12781 the setter (bug#14387).
12782
12783 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12784 surrounding group (bug#14402).
12785
12786 2013-05-14 Juri Linkov <juri@jurta.org>
12787
12788 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12789 (Bug#14390)
12790
12791 2013-05-14 Glenn Morris <rgm@gnu.org>
12792
12793 * progmodes/f90.el (f90-imenu-generic-expression):
12794 Fix typo in 2013-05-08 change. (Bug#14402)
12795
12796 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12797
12798 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12799 Remove signals for which replies are never received.
12800
12801 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12802
12803 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12804 (gdb-handler-alist, gdb-handler-number): Remove variables.
12805 (gdb-handler-list): New variable.
12806 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12807 (gdb-pending-handler-p, gdb-handle-reply)
12808 (gdb-remove-all-pending-triggers): New functions.
12809 (gdb-discard-unordered-replies): New defcustom.
12810 (gdb-handler): New defstruct.
12811 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12812 instead of gdb-pending-triggers. Update docstring.
12813 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12814 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12815 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12816 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12817 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12818 (gdb-frame-handler): Pending triggers are now automatically managed.
12819 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12820 Remove argument.
12821 (gdb-input): Automatically handles pending triggers. Update docstring.
12822 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12823 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12824 Update comments.
12825 (gdb-done-or-error): Now use gdb-handle-reply.
12826
12827 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12828
12829 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12830 gdb-debug-log.
12831
12832 2013-05-14 Glenn Morris <rgm@gnu.org>
12833
12834 * subr.el (user-emacs-directory-warning): New option.
12835 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12836
12837 2013-05-14 Leo Liu <sdl.web@gmail.com>
12838
12839 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12840 during redisplay.
12841 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12842 (octave-font-lock-texinfo-comment): Fix invalid search bound
12843 error: wrong side of point.
12844
12845 2013-05-14 Glenn Morris <rgm@gnu.org>
12846
12847 * progmodes/flymake.el (flymake-xml-program): New option.
12848 (flymake-xml-init): Use it.
12849
12850 * term/xterm.el: Provide a feature.
12851
12852 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12853
12854 2013-05-13 Glenn Morris <rgm@gnu.org>
12855
12856 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12857 Add compat aliases as a hack workaround. (Bug#14384)
12858
12859 2013-05-13 Leo Liu <sdl.web@gmail.com>
12860
12861 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12862 ###, and %!.
12863 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12864 C-M-q.
12865 (octave-comment-start-skip): Include %!.
12866 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12867
12868 2013-05-12 Leo Liu <sdl.web@gmail.com>
12869
12870 * progmodes/octave.el (inferior-octave-startup): Store the value
12871 of __octave_srcdir__ for octave-source-directories.
12872 (inferior-octave-check-process): New function refactored out of
12873 inferior-octave-send-list-and-digest.
12874 (octave-source-directories)
12875 (octave-find-definition-filename-function): New variables.
12876 (octave-source-directories)
12877 (octave-find-definition-default-filename): New functions.
12878 (octave-find-definition): Improve to find functions implemented in C++.
12879
12880 2013-05-12 Glenn Morris <rgm@gnu.org>
12881
12882 * calendar/diary-lib.el (diary-outlook-format-1):
12883 Don't include dayname in the output. (Bug#14349)
12884
12885 2013-05-11 Glenn Morris <rgm@gnu.org>
12886
12887 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12888
12889 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12890 Treat cc-provide like provide.
12891
12892 2013-05-11 Kevin Ryde <user42@zip.com.au>
12893
12894 * cus-dep.el (custom-make-dependencies):
12895 Use generated-autoload-load-name for the sake of files such
12896 such cedet/semantic/bovine/c.el, where the base file name
12897 is not in load-path. (Bug#5277)
12898
12899 2013-05-11 Glenn Morris <rgm@gnu.org>
12900
12901 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12902 Provide features.
12903
12904 2013-05-11 Leo Liu <sdl.web@gmail.com>
12905
12906 * progmodes/octave.el (octave-indent-comment): Improve.
12907 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12908 (octave-eldoc-function-signatures, octave-eldoc-function):
12909 New functions.
12910 (octave-mode, inferior-octave-mode): Add eldoc support.
12911
12912 2013-05-11 Richard Stallman <rms@gnu.org>
12913
12914 * epa.el (epa-decrypt-file): Take output file name as argument
12915 and read it using `interactive'.
12916
12917 2013-05-11 Leo Liu <sdl.web@gmail.com>
12918
12919 * progmodes/octave.el (octave-beginning-of-line)
12920 (octave-end-of-line): Check before using up-list because it jumps
12921 out of more syntactic contructs since moving to smie.
12922 (octave-indent-comment): New function.
12923 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12924 (octave-begin-keywords, octave-end-keywords)
12925 (octave-reserved-words, octave-smie-bnf-table)
12926 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12927
12928 2013-05-11 Glenn Morris <rgm@gnu.org>
12929
12930 * faces.el (internal-face-x-get-resource):
12931 * frame.el (ns-display-monitor-attributes-list):
12932 * calc/calc-aent.el (math-to-radians-2):
12933 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12934 Fix declarations.
12935
12936 * calc/calc-menu.el: Make it loadable in isolation.
12937
12938 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12939 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12940 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12941 (eudc-bbdb-query-internal): Require 'bbdb.
12942
12943 * lpr.el (lpr-headers-switches):
12944 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12945
12946 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12947
12948 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12949
12950 * term.el (term-set-escape-char): Make it idempotent.
12951
12952 2013-05-10 Leo Liu <sdl.web@gmail.com>
12953
12954 * progmodes/octave.el (inferior-octave-completion-table):
12955 No longer a function and all uses changed. Use cache to speed up
12956 completion due to bug#11906.
12957 (octave-beginning-of-defun): Re-write to be more general.
12958
12959 2013-05-10 Glenn Morris <rgm@gnu.org>
12960
12961 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12962
12963 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 * comint.el (comint-redirect-send-command-to-process): Use :around
12966 rather than :override for comint-redirect-filter.
12967 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12968 Call it instead of comint-redirect-original-filter-function (which
12969 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12970
12971 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12972
12973 * frame.el (display-monitor-attributes-list): Add NS case.
12974 (ns-display-monitor-attributes-list): Declare.
12975
12976 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12977
12978 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12979
12980 2013-05-09 Glenn Morris <rgm@gnu.org>
12981
12982 * international/fontset.el (vertical-centering-font-regexp):
12983 Set standard-value.
12984
12985 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12986
12987 * bookmark.el (bookmark-search-delay):
12988 * cus-start.el (vertical-centering-font-regexp):
12989 * ps-mule.el (ps-mule-font-info-database-default):
12990 * ps-print.el (ps-default-fg, ps-default-bg):
12991 * type-break.el (type-break-good-break-interval):
12992 * whitespace.el (whitespace-indentation-regexp)
12993 (whitespace-space-after-tab-regexp):
12994 * emacs-lisp/testcover.el (testcover-1value-functions)
12995 (testcover-noreturn-functions, testcover-progn-functions)
12996 (testcover-prog1-functions):
12997 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12998 * eshell/em-glob.el (eshell-glob-translate-alist):
12999 * play/tetris.el (tetris-tty-colors):
13000 * progmodes/cpp.el (cpp-face-default-list):
13001 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13002 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13003 (idlwave-help-browser-generic-args):
13004 * progmodes/make-mode.el (makefile-special-targets-list):
13005 * progmodes/python.el (python-shell-virtualenv-path):
13006 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13007 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13008 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13009 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13010 * textmodes/reftex-vars.el (reftex-format-label-function):
13011 * textmodes/remember.el (remember-diary-file): Fix custom types.
13012
13013 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13014 Add :version.
13015
13016 2013-05-09 Leo Liu <sdl.web@gmail.com>
13017
13018 * progmodes/octave.el (inferior-octave-completion-at-point):
13019 Restore file completion. (Bug#14300)
13020 (inferior-octave-startup): Fix incorrect highlighting for the
13021 first prompt.
13022
13023 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * progmodes/ruby-mode.el: First cut at SMIE support.
13026 (ruby-use-smie): New var.
13027 (ruby-smie-grammar): New constant.
13028 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13029 (ruby-smie--forward-token, ruby-smie--backward-token)
13030 (ruby-smie-rules): New functions.
13031 (ruby-mode-variables): Setup SMIE if applicable.
13032
13033 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13034
13035 * simple.el (line-move-visual): Signal beginning/end of buffer
13036 only if vertical-motion moved less than it was requested. Avoids
13037 silly incorrect error messages when there are display strings with
13038 multiple newlines at EOL.
13039
13040 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13041
13042 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13043 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13044 (prolog-char-quote-workaround):
13045 * progmodes/cperl-mode.el (cperl-under-as-char):
13046 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13047 Mark as obsolete.
13048 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13049 their declaration.
13050 (vhdl-mode-syntax-table-init): Remove.
13051
13052 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13053 last change.
13054
13055 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13056 syntax for "_".
13057 (ld-script-font-lock-keywords):
13058 Change regexps to use things like \_< and \_>.
13059
13060 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13061 Change all regexps to use things like \_< and \_>.
13062
13063 * progmodes/autoconf.el (autoconf-definition-regexp)
13064 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13065 Handle a _ with symbol syntax.
13066 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13067
13068 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13069 Consolidate declaration.
13070 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13071 the declaration.
13072 (ada-create-syntax-table): Remove.
13073 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13074 already has the right syntax nowadays.
13075 (ada-goto-next-word): Don't change the syntax of "_".
13076
13077 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13078 with-wrapper-hook.
13079
13080 2013-05-08 Sam Steingold <sds@gnu.org>
13081
13082 * thingatpt.el (thing-at-point): Accept optional second argument
13083 NO-PROPERTIES to strip the text properties from the return value.
13084 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13085 to `thing-at-point' instead of stripping the properties ourselves.
13086 Also, when `thing-at-point' fails to find a url, prepend "http://"
13087 to the filename at point on the assumption that the user is
13088 pointing at something like gnu.org/gnu.
13089
13090 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13091
13092 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13093 * faces.el (crm-separator):
13094 Silence byte-compiler.
13095
13096 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13097 (tool-bar-map): Remove unneeded defvars.
13098
13099 2013-05-08 Leo Liu <sdl.web@gmail.com>
13100
13101 Re-work a fix for bug#10994 based on Le Wang's patch.
13102 * ido.el (ido-remove-consecutive-dups): New helper.
13103 (ido-completing-read): Use it.
13104 (ido-chop): Revert fix for bug#10994.
13105
13106 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13107
13108 * cus-edit.el (custom-save-variables):
13109 Pretty-print long values. (Bug#14187)
13110
13111 2013-05-08 Glenn Morris <rgm@gnu.org>
13112
13113 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13114 (m4-mode-syntax-table): Init in the defvar.
13115 (m4-mode-abbrev-table): Let define-derived-mode define it.
13116
13117 2013-05-08 Tom Tromey <tromey@redhat.com>
13118
13119 * progmodes/m4-mode.el (m4-mode-syntax-table):
13120 Do not treat "_" as word constituent. (Bug#14167)
13121
13122 2013-05-07 Glenn Morris <rgm@gnu.org>
13123
13124 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13125 Remove explicit eshell-isearch-cancel-map.
13126
13127 * progmodes/f90.el (f90-smart-end-names): New option.
13128 (f90-smart-end): Doc fix.
13129 (f90-end-block-optional-name): New constant.
13130 (f90-block-match): Respect f90-smart-end-names.
13131
13132 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13133
13134 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13135 about implicit semi-colons (bug#14218).
13136
13137 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13138
13139 * frame.el (display-monitor-attributes-list)
13140 (frame-monitor-attributes): New functions.
13141
13142 2013-05-06 Leo Liu <sdl.web@gmail.com>
13143
13144 * progmodes/octave.el (octave-syntax-propertize-function): Change
13145 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13146 (octave-font-lock-keywords): Use octave-operator-regexp.
13147 (octave-completion-at-point): Rename from
13148 octave-completion-at-point-function.
13149 (inferior-octave-directory-tracker): Robustify.
13150 (octave-text-functions): Remove and fix its uses. No such things
13151 any more.
13152
13153 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13154
13155 * emacs-lisp/trace.el (trace--display-buffer): New function.
13156 (trace-make-advice): Use it.
13157
13158 2013-05-06 Juri Linkov <juri@jurta.org>
13159
13160 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13161 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13162 Doc fix.
13163 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13164 in the help string. (Bug#12985)
13165
13166 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13167
13168 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13169
13170 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13171
13172 * progmodes/perl-mode.el: Add support for here documents.
13173 (perl-syntax-propertize-function): Match here-doc markers.
13174 (perl-syntax-propertize-special-constructs): Find their end.
13175 (perl-imenu-generic-expression): Use [:alnum:].
13176
13177 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13178 (advice--add-function): Refresh the advice if already present
13179 (bug#14317).
13180
13181 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13182
13183 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13184
13185 2013-05-06 Glenn Morris <rgm@gnu.org>
13186
13187 * w32-fns.el (w32-charset-info-alist): Declare.
13188
13189 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13190 of its defcustom properties.
13191 (eshell-cmpl-initialize): No need to load pcomplete.
13192
13193 * generic-x.el: No need to require comint when compiling.
13194
13195 * net/eudc-export.el: Make it loadable without bbdb.
13196 (top-level): Use require rather than load-library.
13197 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13198 (eudc-batch-export-records-to-bbdb)
13199 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13200 Require bbdb.
13201
13202 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13205 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13206 some tweaks, instead.
13207
13208 2013-05-05 Leo Liu <sdl.web@gmail.com>
13209
13210 * progmodes/octave.el (octave-font-lock-keywords)
13211 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13212 (inferior-octave-send-list-and-digest): Improve error message.
13213 (octave-mode, inferior-octave-mode): Use setq-local.
13214 (octave-help): Set info-lookup-mode.
13215
13216 2013-05-05 Richard Stallman <rms@gnu.org>
13217
13218 * vc/compare-w.el (compare-windows-whitespace):
13219 Treat no-break space as whitespace.
13220
13221 * mail/rmailsum.el (rmail-summary-rmail-update):
13222 Detect empty summary and don't change selected message.
13223 (rmail-summary-goto-msg): Likewise.
13224
13225 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13226 Doc fixes, rename args.
13227
13228 2013-05-05 Alan Mackenzie <acm@muc.de>
13229
13230 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13231
13232 2013-05-05 Juri Linkov <juri@jurta.org>
13233
13234 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13235 to not add the length of the summary segment to the return value.
13236 (Bug#14125)
13237
13238 2013-05-05 Leo Liu <sdl.web@gmail.com>
13239
13240 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13241 (inferior-octave-output-filter): Remove.
13242 (octave-send-region, inferior-octave-startup): Fix callers.
13243 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13244 (octave-binary-file-extensions): New user variable.
13245 (octave-find-definition): Confirm if opening binary files.
13246 (octave-help-file): Use octave-find-definition to get the binary
13247 confirmation.
13248 (octave-help): Adjust for octave-help-file change.
13249
13250 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13251
13252 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13253 Merge the two entries that handle function definitions.
13254 (pascal--syntax-propertize): New const.
13255 (pascal-mode): Use it. Use setq-local.
13256
13257 2013-05-04 Glenn Morris <rgm@gnu.org>
13258
13259 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13260 (diary-from-outlook): Respect diary-from-outlook-function.
13261
13262 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13263
13264 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13265 Move the declaration from C.
13266 (read-minibuffer, eval-minibuffer): Move from C.
13267 (completion-setup-function): Avoid minibuffer-completion-contents.
13268
13269 2013-05-03 Leo Liu <sdl.web@gmail.com>
13270
13271 * progmodes/octave.el (octave-font-lock-keywords): Do not
13272 dehighlight 'end' in comments or strings.
13273 (octave-completing-read, octave-goto-function-definition):
13274 New helpers.
13275 (octave-help-buffer): New user variable.
13276 (octave-help-file, octave-help-function): New button types.
13277 (octave-help): New command and bind it to C-h ;.
13278 (octave-find-definition): New command and bind it to M-.
13279 (user-error): Alias to error if not defined.
13280
13281 2013-05-02 Leo Liu <sdl.web@gmail.com>
13282
13283 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13284 for \. (bug#14332)
13285 (octave-font-lock-keywords): Include [ and {.
13286
13287 2013-05-02 Leo Liu <sdl.web@gmail.com>
13288
13289 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13290 (inferior-octave): Remove calling comint-mode and return the buffer.
13291 (inferior-octave-startup): Cosmetic changes.
13292
13293 2013-05-02 Leo Liu <sdl.web@gmail.com>
13294
13295 * progmodes/octave.el (octave-syntax-propertize-function):
13296 Include the case when ' is at line beginning. (Bug#14336)
13297
13298 2013-05-02 Glenn Morris <rgm@gnu.org>
13299
13300 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13301 * desktop.el (vc-dir-mode): Just autoload it here.
13302
13303 2013-05-02 Alan Mackenzie <acm@muc.de>
13304
13305 Eliminate variable c-standard-font-lock-fontify-region-function.
13306 * progmodes/cc-mode.el
13307 (c-standard-font-lock-fontify-region-function): Remove.
13308 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13309
13310 2013-05-01 Leo Liu <sdl.web@gmail.com>
13311
13312 * progmodes/octave.el: Compatible with older emacs-24 releases.
13313 (inferior-octave-has-built-in-variables): Remove. Built-in
13314 variables were removed from Octave in 2007.
13315 (inferior-octave-startup): Fix uses.
13316 (comint-line-beginning-position): Remove compatibility code for
13317 emacs 21.
13318
13319 2013-05-01 Juri Linkov <juri@jurta.org>
13320
13321 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13322
13323 2013-05-01 Juri Linkov <juri@jurta.org>
13324
13325 * comint.el (comint-previous-matching-input): Don't print message
13326 "History item: %d" when `isearch-mode' is active.
13327 (comint-history-isearch-message): Print message "History item: %d"
13328 when `comint-input-ring-index' is not empty and this function is
13329 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13330
13331 2013-05-01 Leo Liu <sdl.web@gmail.com>
13332
13333 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13334 definitions. Use completion-at-point to insert keywords.
13335 (octave-abbrev-start): Remove.
13336 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13337
13338 2013-04-30 Leo Liu <sdl.web@gmail.com>
13339
13340 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13341 change.
13342
13343 2013-04-30 Alan Mackenzie <acm@muc.de>
13344
13345 Handle arbitrarily long C++ member initialisation lists.
13346 * progmodes/cc-engine.el (c-back-over-member-initializers):
13347 new function.
13348 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13349 (most) member init lists.
13350
13351 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13352
13353 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13354 variable.
13355
13356 2013-04-30 Leo Liu <sdl.web@gmail.com>
13357
13358 * progmodes/octave.el (octave-variables): Remove. No builtin
13359 variables any more. All converted to functions.
13360 (octave-font-lock-keywords, octave-completion-at-point-function):
13361 Fix uses.
13362 (octave-font-lock-texinfo-comment): New user variable.
13363 (octave-texinfo-font-lock-keywords): New variable for texinfo
13364 comment block.
13365 (octave-function-comment-block): New face.
13366 (octave-font-lock-texinfo-comment): New function.
13367 (octave-mode): Font lock texinfo comment block.
13368
13369 2013-04-29 Leo Liu <sdl.web@gmail.com>
13370
13371 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13372 indexing expression.
13373 (octave-continuation-string): Do not use \.
13374 (inferior-octave-complete-impossible): Remove.
13375 (inferior-octave-completion-table)
13376 (inferior-octave-completion-at-point): Remove its uses.
13377 (inferior-octave-startup): completion_matches was introduced to
13378 Octave in 1996 so safe to assume it.
13379 (octave-function-file-comment): Improve to follow how Octave does it.
13380 (octave-update-function-file-comment): Tweak.
13381
13382 2013-04-29 Leo Liu <sdl.web@gmail.com>
13383
13384 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13385 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13386 (octave-function-file-comment): Fix typo.
13387 (octave-sync-function-file-names): Use read-char-choice.
13388
13389 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13390
13391 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13392 to t for the less important warnings.
13393
13394 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13395
13396 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13397
13398 2013-04-27 Glenn Morris <rgm@gnu.org>
13399
13400 * vc/log-view.el (log-view-current-entry):
13401 Treat "---" separator lines as part of the following rev. (Bug#14169)
13402
13403 2013-04-27 Juri Linkov <juri@jurta.org>
13404
13405 * subr.el (read-number): Doc fix about using it by interactive
13406 code letter `n'. (Bug#14254)
13407
13408 2013-04-27 Juri Linkov <juri@jurta.org>
13409
13410 * desktop.el (desktop-auto-save-timeout): New option.
13411 (desktop-file-checksum): New variable.
13412 (desktop-save): Add optional arg `auto-save' and don't auto-save
13413 if nothing changed.
13414 (desktop-auto-save-timer): New variable.
13415 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13416 (after-init-hook): Call `desktop-auto-save-set-timer'.
13417 Suggested by Reuben Thomas <rrt@sc3d.org> in
13418 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13419
13420 2013-04-27 Leo Liu <sdl.web@gmail.com>
13421
13422 * progmodes/octave.el (octave-function-file-p)
13423 (octave-skip-comment-forward, octave-function-file-comment)
13424 (octave-update-function-file-comment): New functions.
13425 (octave-mode-map): Bind C-c ; to
13426 octave-update-function-file-comment.
13427 (octave-mode-menu): Add octave-update-function-file-comment.
13428 (octave-mode, inferior-octave-mode): Fix doc-string.
13429 (octave-insert-defun): Conform to Octave's coding convention.
13430 (Bug#14285)
13431
13432 * files.el (basic-save-buffer): Don't let errors in
13433 before-save-hook prevent saving buffer.
13434
13435 2013-04-20 Roland Winkler <winkler@gnu.org>
13436
13437 * faces.el (read-face-name): Use completing-read if arg multiple
13438 is nil.
13439
13440 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13441
13442 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13443 displayed, move point to after the totals line.
13444 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13445 for the details.
13446
13447 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13448
13449 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13450 Add current dir to the load-path.
13451 (package-generate-autoloads): Don't rely on
13452 autoload-ensure-default-file.
13453
13454 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13455
13456 * textmodes/remember.el (remember-store-in-files): Document that
13457 the file name format is passed to `format-time-string'.
13458
13459 2013-04-26 Leo Liu <sdl.web@gmail.com>
13460
13461 * progmodes/octave.el (octave-sync-function-file-names): New function.
13462 (octave-mode): Use it in before-save-hook.
13463
13464 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13465
13466 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13467 (bug#14274).
13468
13469 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13470 \n and comment, even if it's not an implicit ; (bug#14218).
13471
13472 2013-04-26 Glenn Morris <rgm@gnu.org>
13473
13474 * subr.el (read-number): Once more use `read' rather than
13475 `string-to-number', to trap non-numeric input. (Bug#14254)
13476
13477 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13478
13479 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13480 Use `syntax-multiline' text property consistently instead of
13481 `font-lock-multiline'. (Bug#14237)
13482
13483 2013-04-26 Glenn Morris <rgm@gnu.org>
13484
13485 * emacs-lisp/shadow.el (list-load-path-shadows):
13486 No longer necessary to check for duplicate simple.el, since
13487 2012-07-07 change to init_lread to not include installation lisp
13488 directories in load-path when running uninstalled. (Bug#14270)
13489
13490 2013-04-26 Leo Liu <sdl.web@gmail.com>
13491
13492 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13493 (octave-mode, inferior-octave-mode): Use setq-local.
13494 (octave-not-in-string-or-comment-p): Rename to
13495 octave-in-string-or-comment-p.
13496 (octave-in-comment-p, octave-in-string-p)
13497 (octave-in-string-or-comment-p): Replace defsubst with defun.
13498
13499 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13500
13501 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13502
13503 2013-04-25 Bastien Guerry <bzg@gnu.org>
13504
13505 * textmodes/remember.el (remember-data-directory)
13506 (remember-directory-file-name-format): Fix custom types.
13507
13508 2013-04-25 Leo Liu <sdl.web@gmail.com>
13509
13510 * progmodes/octave.el (octave-completion-at-point-function):
13511 Make use of inferior octave process.
13512 (octave-initialize-completions): Remove.
13513 (inferior-octave-completion-table): New function.
13514 (inferior-octave-completion-at-point): Use it.
13515 (octave-completion-alist): Remove.
13516
13517 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13518
13519 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13520 (opascal-mode-syntax-table): New var.
13521 (opascal-literal-kind, opascal-is-literal-end)
13522 (opascal-literal-token-at): Rewrite.
13523 (opascal--literal-start-re, opascal-font-lock-keywords)
13524 (opascal--syntax-propertize): New constants.
13525 (opascal-font-lock-defaults): Adjust.
13526 (opascal-mode): Use them. Set comment-<foo> variables as well.
13527 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13528 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13529 (delphi-other-face, opascal-other-face): Remove face variables.
13530 (opascal-save-state): Remove macro.
13531 (opascal-fontifying-progress-step): Remove constant.
13532 (opascal--ignore-changes): Remove var.
13533 (opascal-set-token-property, opascal-parse-next-literal)
13534 (opascal-is-stable-literal, opascal-complete-literal)
13535 (opascal-is-literal-start, opascal-face-of)
13536 (opascal-parse-region, opascal-parse-region-until-stable)
13537 (opascal-fontify-region, opascal-after-change)
13538 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13539 (opascal-debug-parse-region, opascal-debug-parse-window)
13540 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13541 (opascal-debug-fontify-buffer): Remove.
13542 (opascal-debug-mode-map): Adjust accordingly.
13543
13544 2013-04-25 Leo Liu <sdl.web@gmail.com>
13545
13546 Merge octave-mod.el and octave-inf.el into octave.el with some
13547 cleanups.
13548 * progmodes/octave.el: New file renamed from octave-mod.el.
13549 * progmodes/octave-inf.el: Merged into octave.el.
13550 * progmodes/octave-mod.el: Renamed to octave.el.
13551
13552 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13553
13554 * textmodes/reftex-vars.el
13555 (reftex-label-ignored-macros-and-environments): New defcustom.
13556
13557 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13558
13559 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13560
13561 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13562 (smie-indent-keyword): Improve the check to ensure that the next
13563 comment is really on the same line.
13564 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13565
13566 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13567 semi-colons if the line is not otherwise empty (bug#14218).
13568
13569 2013-04-25 Glenn Morris <rgm@gnu.org>
13570
13571 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13572
13573 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13574
13575 * progmodes/opascal.el (opascal-set-token-property): Rename from
13576 opascal-set-text-properties and only set `token' (bug#14134).
13577 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13578 (opascal-literal-text-properties): Remove.
13579 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13580 Adjust callers.
13581
13582 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13583
13584 * textmodes/remember.el (remember-handler-functions): Add an
13585 option for a new handler `remember-store-in-files'.
13586 (remember-data-directory, remember-directory-file-name-format):
13587 New options.
13588 (remember-store-in-files): New function to store remember notes
13589 as separate files within a directory.
13590
13591 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13592
13593 * progmodes/compile.el (compilation-next-error-function):
13594 Pass "formats" to compilation-find-file (bug#11777).
13595
13596 2013-04-24 Glenn Morris <rgm@gnu.org>
13597
13598 * vc/vc-bzr.el (vc-bzr-print-log):
13599 * vc/vc-hg.el (vc-hg-print-log):
13600 * vc/vc-svn.el (vc-svn-print-log):
13601 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13602
13603 * vc/vc-bzr.el (vc-bzr-print-log):
13604 * vc/vc-cvs.el (vc-cvs-print-log):
13605 * vc/vc-git.el (vc-git-print-log):
13606 * vc/vc-hg.el (vc-hg-print-log):
13607 * vc/vc-mtn.el (vc-mtn-print-log):
13608 * vc/vc-rcs.el (vc-rcs-print-log):
13609 * vc/vc-sccs.el (vc-sccs-print-log):
13610 * vc/vc-svn.el (vc-svn-print-log):
13611 * vc/vc.el (vc-print-log-internal): Doc fixes.
13612
13613 2013-04-23 Glenn Morris <rgm@gnu.org>
13614
13615 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13616 Remove venerable code attempting to avoid substitute-command-keys.
13617
13618 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13619
13620 * textmodes/reftex-vars.el (reftex-label-regexps):
13621 Call `reftex-compile-variables' after changes to this variable.
13622
13623 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13624
13625 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13626 Use lexical-binding.
13627 (jit-lock-force-redisplay): Use markers, check buffer's continued
13628 existence and beware narrowed buffers.
13629 (jit-lock-fontify-now): Adjust call accordingly.
13630
13631 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13632
13633 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13634 to avoid misleading the user.
13635
13636 2013-04-22 Leo Liu <sdl.web@gmail.com>
13637
13638 * info-look.el: Prefer latex2e.info. (Bug#14240)
13639
13640 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13641
13642 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13643
13644 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13645 * net/tramp.el (tramp-call-process): ... here.
13646 (tramp-set-completion-function, tramp-parse-putty):
13647 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13648 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13649 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13650 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13651 (tramp-call-local-coding-command): Use `tramp-call-process'
13652 instead of `tramp-compat-call-process'.
13653
13654 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13655 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13656 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13657 (tramp-find-inline-compress): Improve traces.
13658 (tramp-maybe-send-script): Check for Perl binary.
13659 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13660
13661 2013-04-22 Daiki Ueno <ueno@gnu.org>
13662
13663 * epg.el (epg-context-pinentry-mode): New function.
13664 (epg-context-set-pinentry-mode): New function.
13665 (epg--start): Pass --pinentry-mode option to gpg command.
13666
13667 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13668
13669 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13670 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13671 `completion-at-point'. (Bug#13774)
13672
13673 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13674 default key binding for `describe-distribution' has been moved to
13675 `C-h C-o'. (Bug#13970)
13676
13677 2013-04-21 Glenn Morris <rgm@gnu.org>
13678
13679 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13680 Add doc strings.
13681 (vc-print-log): Clarify interactive prompt.
13682
13683 2013-04-20 Glenn Morris <rgm@gnu.org>
13684
13685 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13686 No longer include timestamp etc information.
13687
13688 2013-04-20 Roland Winkler <winkler@gnu.org>
13689
13690 * faces.el (read-face-name): Bug fix, return just one face if arg
13691 multiple is nil. (Bug#14209)
13692
13693 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13696 (remove-function): Autoload.
13697
13698 * comint.el (comint-redirect-original-filter-function): Remove.
13699 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13700 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13701 (vc-cvs-annotate-command):
13702 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13703 * progmodes/prolog.el (prolog-consult-compile):
13704 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13705 Use add/remove-function instead.
13706 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13707 (gud-tooltip-process-output, gud-tooltip-tips):
13708 Use add/remove-function instead.
13709 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13710 (scheme-interaction-mode, exit-scheme-interaction-mode):
13711 Use add/remove-function instead.
13712
13713 * vc/vc-dispatcher.el: Use lexical-binding.
13714 (vc--process-sentinel): Rename from vc-process-sentinel.
13715 Change last arg to be the code to run. Don't use vc-previous-sentinel
13716 and vc-sentinel-commands any more.
13717 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13718 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13719
13720 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13721
13722 * progmodes/sh-script.el (sh-imenu-generic-expression):
13723 Handle function names with a single character. (Bug#14111)
13724
13725 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13726
13727 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13728 for subroutines defined in an eval (bug#14182).
13729
13730 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13731
13732 * bookmark.el (bookmark-completing-read): Improve handling of empty
13733 string (bug#14176).
13734
13735 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13736
13737 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13738
13739 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13740
13741 New faster Imenu implementation (bug#14058).
13742 * progmodes/python.el:
13743 (python-imenu-prev-index-position):
13744 (python-imenu-format-item-label-function)
13745 (python-imenu-format-parent-item-label-function)
13746 (python-imenu-format-parent-item-jump-label-function):
13747 New vars.
13748 (python-imenu-format-item-label)
13749 (python-imenu-format-parent-item-label)
13750 (python-imenu-format-parent-item-jump-label)
13751 (python-imenu--put-parent, python-imenu--build-tree)
13752 (python-imenu-create-index, python-imenu-create-flat-index)
13753 (python-util-popn): New functions.
13754 (python-mode): Set imenu-create-index-function to
13755 python-imenu-create-index.
13756
13757 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13758
13759 * winner.el (winner-active-region): Use region-active-p, activate-mark
13760 and deactivate-mark (bug#14225).
13761
13762 * simple.el (deactivate-mark): Don't inline it.
13763
13764 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13765
13766 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13767
13768 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13769
13770 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13771 file extensions from the archive-mode entry in order to prefer
13772 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13773
13774 2013-04-18 Leo Liu <sdl.web@gmail.com>
13775
13776 * bindings.el (help-event-list): Add ?\?.
13777
13778 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13779
13780 * subr.el (with-wrapper-hook): Declare obsolete.
13781 * simple.el (filter-buffer-substring-function): New hook.
13782 (filter-buffer-substring): Use it.
13783 (filter-buffer-substring-functions): Mark obsolete.
13784 * minibuffer.el (completion-in-region-function): New hook.
13785 (completion-in-region): Use it.
13786 (completion-in-region-functions): Mark obsolete.
13787 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13788 * abbrev.el (abbrev-expand-function): New hook.
13789 (expand-abbrev): Use it.
13790 (abbrev-expand-functions): Mark obsolete.
13791 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13792 and :filter-return.
13793
13794 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13795
13796 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13797 and do not care about match data.
13798
13799 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13800
13801 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13802 completion tables when completing error conditions and
13803 `declare' arguments.
13804 (lisp-complete-symbol, field-complete): Mark as obsolete.
13805 (check-parens): Unmatched parens are user errors.
13806 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13807
13808 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13809
13810 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13811 command changed buffer (ie. `flyspell-pre-buffer' is not current
13812 buffer), which prevents making decisions based on invalid value of
13813 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13814 cause an error when `flyspell-pre-point' was nil after switching
13815 buffers.
13816 (flyspell-post-command-hook): No longer needs to change buffers when
13817 checking pre-word. While at it remove unnecessary progn.
13818
13819 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13820
13821 * textmodes/ispell.el (ispell-add-per-file-word-list):
13822 Fix `flyspell-correct-word-before-point' error when accepting
13823 words and `coment-padding' is an integer by using
13824 `comment-normalize-vars' (Bug #14214).
13825
13826 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13827
13828 New defun movement commands.
13829 * progmodes/python.el (python-nav--syntactically)
13830 (python-nav--forward-defun, python-nav-backward-defun)
13831 (python-nav-forward-defun): New functions.
13832
13833 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13834
13835 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13836 (python-syntax-context): Use named compiler-macro for backwards
13837 compatibility with Emacs 24.x.
13838
13839 2013-04-17 Leo Liu <sdl.web@gmail.com>
13840
13841 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13842 octave-hide-process-buffer.
13843
13844 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13847 (bug#14216).
13848
13849 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13850
13851 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13852 Fix adjustment of offset when receiving incomplete responses from GDB
13853 (bug#14129).
13854
13855 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13856
13857 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13858 python-mode-abbrev-table.
13859 (python-skeleton-define): Adjust accordingly.
13860 (python-mode-abbrev-table): New table that inherits from it so that
13861 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13862
13863 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13864 (abbrev-symbol): Use it.
13865 (abbrev--before-point): Use it since we already handle inheritance.
13866
13867 2013-04-16 Leo Liu <sdl.web@gmail.com>
13868
13869 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13870 binding to info-lookup-symbol.
13871
13872 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13873
13874 * minibuffer.el (completion--twq-all):
13875 * term/ns-win.el (ns-initialize-window-system):
13876 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13877
13878 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13881 global bindings.
13882
13883 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13884
13885 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13886
13887 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13888 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13889 to nil.
13890 (ruby-end-of-defun): Remove the unused arg, change the docstring
13891 to reflect that this function is only used as the value of
13892 `end-of-defun-function'.
13893 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13894 to reflect an earlier change that beginning/end-of-defun functions
13895 jump between methods in a class definition, as well as top-level
13896 functions.
13897
13898 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13899
13900 * minibuffer.el (minibuffer-complete): Don't just scroll
13901 a *Completions* that's been iconified.
13902 (minibuffer-force-complete): Make sure repetitions do cycle when going
13903 through completion-in-region -> minibuffer-complete.
13904
13905 2013-04-15 Alan Mackenzie <acm@muc.de>
13906
13907 Correct the placement of c-cpp-delimiters when there're #s not at
13908 col 0.
13909
13910 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13911 place a submatch around the #.
13912 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13913 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13914 on the #, not BOL.
13915
13916 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13917
13918 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13919 (advice--member-p): New arg `name'.
13920 (advice--add-function, advice-member-p): Use it (bug#14202).
13921
13922 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13923
13924 Reformulate java imenu-generic-expression.
13925 The old expression contained ill formed regexps.
13926
13927 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13928 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13929 (cc-imenu-java-method-arg-regexp): New defconsts.
13930 (cc-imenu-java-build-type-args-regex): New defun.
13931 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13932 handling of spaces in the regexp.
13933
13934 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13935
13936 * textmodes/ispell.el (ispell-command-loop): Remove
13937 flyspell highlight of a word when ispell accepts it (bug #14178).
13938
13939 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13940
13941 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13942 uses code from the previous `ange-ftp-run-real-handler'.
13943 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13944 only in case that function exist. This is needed for proper
13945 unloading of Tramp.
13946
13947 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13948
13949 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13950
13951 * textmodes/reftex.el (reftex-compile-variables): Use it.
13952
13953 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13954
13955 * files.el (normal-mode): Only use default major-mode if no other mode
13956 was specified.
13957
13958 * emacs-lisp/trace.el (trace-values): New function.
13959
13960 * files.el: Allow : in local variables (bug#14089).
13961 (hack-local-variable-regexp): New var.
13962 (hack-local-variables-prop-line, hack-local-variables): Use it.
13963
13964 2013-04-13 Roland Winkler <winkler@gnu.org>
13965
13966 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13967 data before it gets modified by bibtex-beginning-of-entry.
13968
13969 2013-04-13 Roland Winkler <winkler@gnu.org>
13970
13971 * textmodes/bibtex.el (bibtex-url): Doc fix.
13972
13973 2013-04-13 Roland Winkler <winkler@gnu.org>
13974
13975 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13976 does not visit a BibTeX file, exclude it from the list of buffers
13977 returned by bibtex-initialize.
13978
13979 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13980
13981 * window.el (split-window): Remove interactive form, since as a
13982 command this function is a special case of split-window-below.
13983 Correct doc string.
13984
13985 2013-04-12 Roland Winkler <winkler@gnu.org>
13986
13987 * faces.el (read-face-name): Do not override value of arg default.
13988 Allow single faces and strings as default values. Remove those
13989 elements from return value that are not faces.
13990 (describe-face): Simplify.
13991 (face-at-point): New optional args thing and multiple so that this
13992 function can provide the same functionality previously provided by
13993 read-face-name.
13994 (make-face-bold, make-face-unbold, make-face-italic)
13995 (make-face-unitalic, make-face-bold-italic, invert-face)
13996 (modify-face, read-face-and-attribute): Use face-at-point.
13997
13998 * cus-edit.el (customize-face, customize-face-other-window)
13999 * cus-theme.el (custom-theme-add-face)
14000 * face-remap.el (buffer-face-set)
14001 * facemenu.el (facemenu-set-face): Use face-at-point.
14002
14003 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14004
14005 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14006
14007 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14008
14009 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14010 off leading { and trailing } from field values.
14011
14012 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14013
14014 * emacs-lisp/timer.el (timer--check): New function.
14015 (timer--time, timer-set-function, timer-event-handler): Use it.
14016 (timer-set-idle-time): Simplify.
14017 (timer--activate): CSE.
14018 (timer-event-handler): Give more info in error message.
14019 (internal-timer-start-idle): New function, moved from C.
14020
14021 * mpc.el (mpc-proc): Add `restart' argument.
14022 (mpc-proc-cmd): Use it.
14023 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14024 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14025 less often.
14026
14027 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14028
14029 * progmodes/sh-script.el: Implement `sh-mode' own
14030 `add-log-current-defun-function' (bug#14112).
14031 (sh-current-defun-name): New function.
14032 (sh-mode): Use the function.
14033
14034 2013-04-09 Bastien Guerry <bzg@gnu.org>
14035
14036 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14037
14038 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14039
14040 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14041
14042 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14043 timer (bug#14156).
14044
14045 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14046
14047 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14048 declaration.
14049
14050 2013-04-07 Leo Liu <sdl.web@gmail.com>
14051
14052 * pcmpl-x.el: New file.
14053
14054 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14055
14056 Do not set x-display-name until X connection is established.
14057 This is needed to prevent from weird situation described at
14058 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14059 * frame.el (make-frame): Set x-display-name after call to
14060 window system initialization function, not before.
14061 * term/x-win.el (x-initialize-window-system): Add optional
14062 display argument and use it.
14063 * term/w32-win.el (w32-initialize-window-system):
14064 * term/ns-win.el (ns-initialize-window-system):
14065 * term/pc-win.el (msdos-initialize-window-system):
14066 Add compatible optional display argument.
14067
14068 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14069
14070 * files.el (normal-backup-enable-predicate): On MS-Windows and
14071 MS-DOS compare truenames of temporary-file-directory and of the
14072 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14073 don't fail comparison by compare-strings. Also, compare file
14074 names case-insensitively on MS-Windows and MS-DOS.
14075
14076 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14077
14078 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14079 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14080
14081 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14082
14083 * whitespace.el (whitespace-color-on, whitespace-color-off):
14084 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14085
14086 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14087
14088 * ispell.el (ispell-set-spellchecker-params):
14089 Really set `ispell-args' for all equivs.
14090
14091 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14092
14093 * ido.el (ido-completions): Use extra elements of ido-decorations
14094 (bug#14143).
14095 (ido-decorations): Update docstring.
14096
14097 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14098
14099 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14100 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14101 nil during initialization, in order not to miss changes since the
14102 file was opened. (Bug#14140)
14103
14104 2013-04-05 Leo Liu <sdl.web@gmail.com>
14105
14106 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14107
14108 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14109
14110 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14111
14112 2013-04-04 Glenn Morris <rgm@gnu.org>
14113
14114 * electric.el (electric-pair-inhibit-predicate): Add :version.
14115
14116 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14117
14118 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14119 when a package is required several times (bug#14082).
14120
14121 2013-04-04 Roland Winkler <winkler@gnu.org>
14122
14123 * faces.el (read-face-name): Behave as promised by the docstring.
14124 Assume that arg default is a list of faces.
14125 (describe-face): Call read-face-name with list of default faces.
14126
14127 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14128
14129 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14130 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14131 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14132 the header.
14133 (bookmark-exit-hook-internal): Save even if list is empty.
14134
14135 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14136
14137 * emacs-lisp/package.el (package-pinned-packages): New var.
14138 (package--add-to-archive-contents): Obey it (bug#14118).
14139
14140 2013-04-03 Alan Mackenzie <acm@muc.de>
14141
14142 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14143 Also adapt to the new values of element 7 of a parse state.
14144
14145 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14146 parameter `not-in-delimiter'. Handle being inside comment opener.
14147 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14148 character in case we're typing a '*' after a '/'.
14149 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14150 instead by passing the parameter to c-state-pp-to-literal.
14151
14152 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14153 for elt. 7 of a parse state.
14154
14155 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14156
14157 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14158 * international/latin1-disp.el, international/mule-util.el:
14159 * language/cyril-util.el, language/european.el, language/ind-util.el:
14160 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14161 * language/tibetan.el, language/viet-util.el:
14162 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14163
14164 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14165
14166 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14167 (electric-pair-post-self-insert-function): Use it.
14168 (electric-pair-default-inhibit): New function, extracted from
14169 electric-pair-post-self-insert-function.
14170
14171 2013-03-31 Roland Winkler <winkler@gnu.org>
14172
14173 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14174
14175 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14176
14177 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14178
14179 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14180
14181 Un-indent after "pass" and "return" statements (Bug#13888)
14182 * progmodes/python.el (python-indent-block-enders): New var.
14183 (python-indent-calculate-indentation): Use it.
14184
14185 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14186
14187 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14188 defun. Defining it as defalias could introduce too eager
14189 byte-compiler optimization. (Bug#14030)
14190
14191 2013-03-30 Chong Yidong <cyd@gnu.org>
14192
14193 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14194
14195 2013-03-30 Leo Liu <sdl.web@gmail.com>
14196
14197 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14198 (kmacro-execute-from-register): Pass the keyboard macro to
14199 kmacro-call-macro or repeating won't work correctly.
14200
14201 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14202
14203 * progmodes/subword.el: Back to using `forward-symbol'.
14204
14205 * subr.el (forward-whitespace, forward-symbol)
14206 (forward-same-syntax): Move from thingatpt.el.
14207
14208 2013-03-29 Leo Liu <sdl.web@gmail.com>
14209
14210 * kmacro.el (kmacro-to-register): New command.
14211 (kmacro-execute-from-register): New function.
14212 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14213
14214 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14215
14216 * mpc.el: Use defvar-local and setq-local.
14217 (mpc--proc-connect): Connection failures are not bugs.
14218 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14219 (mpc-volume-map): Bind to the up-events.
14220
14221 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14222
14223 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14224 instead of `forward-symbol'.
14225
14226 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14229 (edebug--recursive-edit): Use it.
14230 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14231 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14232
14233 2013-03-28 Leo Liu <sdl.web@gmail.com>
14234
14235 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14236
14237 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14238
14239 * facemenu.el (list-colors-callback): New defvar.
14240 (list-colors-redisplay): New function.
14241 (list-colors-display): Install list-colors-redisplay as the
14242 revert-buffer-function. (Bug#14063)
14243
14244 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14245
14246 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14247 and suffixes don't overlap (bug#14061).
14248
14249 * case-table.el: Use lexical-binding.
14250 (case-table-get-table): New function.
14251 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14252
14253 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14254
14255 * progmodes/subword.el: Add `superword-mode' to do word motion
14256 over symbol_words (parallels and leverages `subword-mode' which
14257 does word motion inside MixedCaseWords).
14258
14259 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14260
14261 * eshell/em-unix.el: Move su and sudo to...
14262 * eshell/em-tramp.el: ...Eshell tramp module.
14263
14264 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14265
14266 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14267 Change return value to be a sexp. Delay `get-buffer' to after
14268 restoring the desktop (bug#13951).
14269
14270 2013-03-26 Leo Liu <sdl.web@gmail.com>
14271
14272 * register.el: Move semantic tag handling back to
14273 cedet/semantic/senator.el. (Bug#14052)
14274
14275 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14276
14277 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14278 into the prompt either (bug#13963).
14279
14280 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14281
14282 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14283 part of "(error-foo)".
14284
14285 2013-03-24 Juri Linkov <juri@jurta.org>
14286
14287 * replace.el (list-matching-lines-prefix-face): New defcustom.
14288 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14289 `occur-engine' if `face-differs-from-default-p' returns t.
14290 (occur-engine): Add `,' inside backquote construct to evaluate
14291 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14292 Pass `prefix-face' to the functions `occur-context-lines' and
14293 `occur-engine-add-prefix'.
14294 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14295 `prefix-face' and propertize the prefix with `prefix-face'.
14296 (Bug#14017)
14297
14298 2013-03-24 Leo Liu <sdl.web@gmail.com>
14299
14300 * nxml/rng-valid.el (rng-validate-while-idle)
14301 (rng-validate-quick-while-idle): Guard against deleted buffer.
14302 (Bug#13999)
14303
14304 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14305 is the last entry in kill-buffer-hook.
14306
14307 * files.el (kill-buffer-hook): Doc fix.
14308
14309 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14310
14311 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14312 Make it safe-local.
14313
14314 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14315
14316 2013-03-23 Leo Liu <sdl.web@gmail.com>
14317
14318 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14319 Remove.
14320
14321 * nxml/rng-valid.el (rng-validate-mode)
14322 (rng-after-change-function, rng-do-some-validation):
14323 * nxml/rng-maint.el (rng-validate-buffer):
14324 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14325 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14326 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14327 (nxml-extend-after-change-region): Use with-silent-modifications.
14328
14329 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14330 timer-idle-list.
14331
14332 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14333 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14334 timer-idle-list. (Bug#13999)
14335
14336 2013-03-23 Juri Linkov <juri@jurta.org>
14337
14338 * info.el (info-index-match): New face.
14339 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14340 main pattern and add text properties with the new face to matches
14341 in index entries relative to the beginning of the index entry.
14342 (Bug#14015)
14343
14344 2013-03-21 Eric Ludlam <zappo@gnu.org>
14345
14346 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14347 Inhibit read only while inserting objects.
14348
14349 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14350
14351 * progmodes/cfengine.el: Update docs to mention
14352 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14353 symbol motion. Remove "_" from the word syntax.
14354
14355 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14356
14357 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14358 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14359
14360 2013-03-20 Juri Linkov <juri@jurta.org>
14361
14362 * info.el (Info-next-reference-or-link)
14363 (Info-prev-reference-or-link): New functions.
14364 (Info-next-reference, Info-prev-reference): Use them.
14365 (Info-try-follow-nearest-node): Handle footnote navigation.
14366 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14367
14368 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14369
14370 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14371 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14372
14373 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14374
14375 Suppress unnecessary non-ASCII chatter during build process.
14376 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14377 (batch-skkdic-convert): Suppress most of the chatter.
14378 It's not needed so much now that machines are faster,
14379 and its non-ASCII component was confusing; see Dmitry Gutov in
14380 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14381
14382 2013-03-20 Leo Liu <sdl.web@gmail.com>
14383
14384 * ido.el (ido-chop): Fix bug#10994.
14385
14386 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14387
14388 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14389 Remove vars.
14390 (whitespace-color-on, whitespace-color-off):
14391 Use `font-lock-fontify-buffer' (Bug#13817).
14392
14393 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14394
14395 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14396 remapping in mode-line.
14397 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14398
14399 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14400
14401 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14402 value for `whitespace-line' face (Bug#13875).
14403 (whitespace-font-lock-keywords): Change description.
14404 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14405 the constructed keywords instead.
14406 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14407
14408 2013-03-19 Leo Liu <sdl.web@gmail.com>
14409
14410 * progmodes/compile.el (compilation-display-error): New command.
14411 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14412 C-o. (Bug#13992)
14413
14414 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14415
14416 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14417
14418 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14419
14420 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14421
14422 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14423
14424 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14425
14426 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14427 * net/tramp-gvfs.el (top):
14428 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14429 (tramp-handle-shell-command): Use it.
14430 (tramp-dissect-file-name): Raise an error when hostname is a
14431 method name, and neither method nor user is specified.
14432
14433 * net/trampver.el: Update release number.
14434
14435 2013-03-18 Leo Liu <sdl.web@gmail.com>
14436
14437 Make sure eldoc can be turned off properly.
14438 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14439 eldoc-mode.
14440 (eldoc-display-message-p): Revert last change.
14441 (eldoc-display-message-no-interference-p)
14442 (eldoc-print-current-symbol-info): Tweak.
14443
14444 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14445
14446 * doc-view.el (doc-view-new-window-function): Check the new window
14447 overlay's display property instead the char property of the
14448 buffer's first char. Use `with-selected-window' instead of
14449 `save-window-excursion' with `select-window'.
14450 (doc-view-document->bitmap): Check the current doc-view overlay's
14451 display property instead the char property of the buffer's first char.
14452
14453 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14454
14455 Automate the build of ja-dic.el (Bug#13984).
14456 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14457 from the input, rather than assume that it's been done for us by the
14458 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14459 the current date into a ja-dic.el comment, as that complicates
14460 regression testing.
14461
14462 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14463
14464 * whitespace.el: Fix double evaluation.
14465 (whitespace-space, whitespace-hspace, whitespace-tab)
14466 (whitespace-newline, whitespace-trailing, whitespace-line)
14467 (whitespace-space-before-tab, whitespace-indentation)
14468 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14469 obsolete defvars.
14470 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14471 (whitespace-color-on): Use a single font-lock-add-keywords call.
14472 Fix double-evaluation of face variables.
14473
14474 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14475
14476 * net/tramp-adb.el (tramp-adb-parse-device-names):
14477 Use `start-process' instead of `call-process'. Otherwise, the
14478 function might be blocked under MS Windows. (Bug#13299)
14479
14480 2013-03-17 Leo Liu <sdl.web@gmail.com>
14481
14482 Extend eldoc to display info in the mode-line. (Bug#13978)
14483 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14484 (eldoc-mode-line-string): New variable.
14485 (eldoc-minibuffer-message): New function.
14486 (eldoc-message-function): New variable.
14487 (eldoc-message): Use it.
14488 (eldoc-display-message-p)
14489 (eldoc-display-message-no-interference-p):
14490 Support eldoc-post-insert-mode.
14491
14492 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14493 (eval-expression): Run it.
14494
14495 2013-03-17 Roland Winkler <winkler@gnu.org>
14496
14497 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14498 strings in the list of return values.
14499
14500 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14501
14502 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14503 radix before checking for HMS forms.
14504
14505 2013-03-16 Leo Liu <sdl.web@gmail.com>
14506
14507 * progmodes/scheme.el: Add indentation and font-locking for λ.
14508 (Bug#13975)
14509
14510 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14511
14512 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14513 token before point (bug#13942).
14514
14515 2013-03-16 Leo Liu <sdl.web@gmail.com>
14516
14517 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14518
14519 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14520
14521 * startup.el (command-line-normalize-file-name): Fix handling of
14522 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14523 <xfq.free@gmail.com> in
14524 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14525
14526 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14527
14528 Sync with Tramp 2.2.7.
14529
14530 * net/trampver.el: Update release number.
14531
14532 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14533
14534 * doc-view.el: Fix bug#13887.
14535 (doc-view-insert-image): Don't modify overlay associated to
14536 non-live windows, and implement horizontal centering of image in
14537 case it's smaller than the window.
14538 (doc-view-new-window-function): Force redisplay of new windows on
14539 doc-view buffers.
14540
14541 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14542
14543 * saveplace.el (save-place-alist-to-file): Don't sort
14544 `save-place-alist', just pretty-print it (bug#13882).
14545
14546 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14547
14548 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14549 Check whether `default-file-name-coding-system' is bound.
14550 It isn't in XEmacs.
14551
14552 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14553
14554 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14555 backquotes for `obsolete' (bug#13929).
14556
14557 * international/mule.el (find-auto-coding): Include file name in
14558 obsolescence warning (bug#13922).
14559
14560 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14561
14562 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14563 for CFEngine 3-specific indentation.
14564 (cfengine3-indent-line): Use it. Fix up category regex.
14565 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14566
14567 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14568
14569 * type-break.el (type-break-file-name):
14570 * textmodes/remember.el (remember-data-file):
14571 * strokes.el (strokes-file):
14572 * shadowfile.el (shadow-initialize):
14573 * saveplace.el (save-place-file):
14574 * ps-bdf.el (bdf-cache-file):
14575 * progmodes/idlwave.el (idlwave-config-directory):
14576 * net/quickurl.el (quickurl-url-file):
14577 * international/kkc.el (kkc-init-file-name):
14578 * ido.el (ido-save-directory-list-file):
14579 * emulation/viper.el (viper-custom-file-name):
14580 * emulation/vip.el (vip-startup-file):
14581 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14582 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14583
14584 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14585
14586 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14587 * language/thai-word.el: Switch to UTF-8.
14588
14589 See ChangeLog.16 for earlier changes.
14590
14591 ;; Local Variables:
14592 ;; coding: utf-8
14593 ;; End:
14594
14595 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14596
14597 This file is part of GNU Emacs.
14598
14599 GNU Emacs is free software: you can redistribute it and/or modify
14600 it under the terms of the GNU General Public License as published by
14601 the Free Software Foundation, either version 3 of the License, or
14602 (at your option) any later version.
14603
14604 GNU Emacs is distributed in the hope that it will be useful,
14605 but WITHOUT ANY WARRANTY; without even the implied warranty of
14606 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14607 GNU General Public License for more details.
14608
14609 You should have received a copy of the GNU General Public License
14610 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.