Revert subr.el workaround for GC bug.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
4fd68bf6
RS
12014-04-02 Richard Stallman <rms@gnu.org>
2
3 * subr.el (set-transient-map): Comment out previous change.
4
c7510f6e
GM
52014-04-02 Glenn Morris <rgm@gnu.org>
6
0b908bf2
GM
7 * menu-bar.el (menu-bar-file-menu):
8 * vc/ediff.el (ediff-current-file):
9 Update for revert-buffer-function no longer being nil by default.
10
c7510f6e
GM
11 * simple.el (command-execute): Respect nil disabled-command-function.
12
09aba815 132014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
6116a727
NR
14
15 * simple.el (command-execute): Do not execute the command when it
16 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
17
09aba815 182014-04-02 Juri Linkov <juri@jurta.org>
8778eb5e
JL
19
20 * dired-aux.el (dired-compress-file): Don't use string-match-p
21 because its match data is used afterwards.
22
09aba815 232014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
929c0500
SM
24
25 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
26 0 like nil.
27
200c532b
JT
282014-04-02 João Távora <joaotavora@gmail.com>
29
30 * elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
31 quote pairing if point-max is inside an unterminated string.
32 (electric-pair--looking-at-unterminated-string-p):
33 Delete.
34 (electric-pair--in-unterminated-string-p): New function.
35
2395f2b9
DC
362014-04-01 Daniel Colascione <dancol@dancol.org>
37
38 * minibuffer.el (minibuffer-complete): Prevent assertion failure
39 when trying to complete the prompt.
40
294b2b09
LL
412014-03-31 Leo Liu <sdl.web@gmail.com>
42
43 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): Refactor
44 out eldoc-documentation-function-default.
45 (eldoc-documentation-function-default): New function.
46 (eldoc-documentation-function): Change value.
47
4f3a895b
GM
482014-03-31 Glenn Morris <rgm@gnu.org>
49
50 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
51
1db854cc
GM
52 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
53 (vhdl-compose-components-package, vhdl-compose-configuration):
54 Abbreviate default-directory (missing from some previous upstream sync).
55
3c2d4776
RZ
562014-03-31 Reto Zimmermann <reto@gnu.org>
57
58 Sync with upstream vhdl mode v3.35.2.
59 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
60 (top-level): No longer require assoc.
61 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
62 New functions. Use throughout to replace aget etc.
63 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
64 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
65 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
66 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
67 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
68 except `vhdl-compiler'.
69 (vhdl-error-regexp-add-emacs): Remove all other compilers,
70 when appropriate.
71
5c30ab7a
GM
722014-03-31 Glenn Morris <rgm@gnu.org>
73
74 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
75 Revert 2014-03-26 merge goof; go back to using defalias.
76
1861d5a7
DC
772014-03-30 Daniel Colascione <dancol@dancol.org>
78
79 * comint.el (comint-send-input): Deactivate
80 completion-in-region-mode before we send comint input.
81 (Bug#17139).
82
83 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
84 on keyboard-quit.
85
41116c5a
GM
862014-03-29 Glenn Morris <rgm@gnu.org>
87
88 * textmodes/reftex.el: Manage most autoloads automatically.
89 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
90 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
91 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
92 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
93 * textmodes/reftex-toc.el: Set generated-autoload-file,
94 and add autoload cookies for reftex.el.
95 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
96
c3153003
GM
972014-03-28 Glenn Morris <rgm@gnu.org>
98
7b207d6d
GM
99 * cus-start.el (report-emacs-bug-address): Set custom properties.
100 * mail/emacsbug.el (report-emacs-bug-address):
101 Variable is now defined in emacs.c.
102
c3153003
GM
103 * mail/emacsbug.el (report-emacs-bug):
104 Include system-configuration-features.
105
687e0e19
MN
1062014-03-28 Michal Nazarewicz <mina86@mina86.com>
107
108 * simple.el (cycle-spacing): Never delete spaces on first run by
109 default, but do so in a new 'fast mode and if there are already
4f3a895b 110 N spaces (the previous behavior).
687e0e19
MN
111 Compare N with its value in previous invocation so that changing
112 prefix argument restarts `cycle-spacing' sequence.
687e0e19 113 The idea is that with this change, binding M-SPC to
4f3a895b 114 `cycle-spacing' should not introduce any changes in behavior of
687e0e19
MN
115 the binding so long as users do not type M-SPC twice in a raw with
116 the same prefix argument or lack thereof.
117
95de732d
GM
1182014-03-28 Glenn Morris <rgm@gnu.org>
119
120 * faces.el (term-file-aliases): New variable.
121 (tty-run-terminal-initialization): Respect term-file-aliases.
122 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
123 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
124 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
125
6730259f
GM
1262014-03-27 Glenn Morris <rgm@gnu.org>
127
862a4e4a
GM
128 * startup.el (inhibit-startup-hooks): Doc tweak.
129 (normal-top-level): Simplify running of hooks.
130 For window-setup-hook, respect inhibit-startup-hooks.
131 (command-line-1): Don't set window-setup-hook to nil.
132
6730259f
GM
133 Allow selective autoloading from obsolete/ directory.
134 * Makefile.in (obsolete-autoloads): New rule.
135 (autoloads): Run obsolete-autoloads.
136 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
137 * simple.el (iswitchb-mode): Remove hand-written autoloads.
138
42ebc34e
DG
1392014-03-27 Dmitry Gutov <dgutov@yandex.ru>
140
929c0500
SM
141 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
142 Highlight special globals with font-lock-builtin-face. (Bug#17057)
8de64bb8 143
42ebc34e
DG
144 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
145 Don't propertize `?' or `!' as symbol constituent when after
146 colon. (Bug#17097)
147
b1c870c9
JB
1482014-03-27 Juanma Barranquero <lekktu@gmail.com>
149
857ba6ec
JB
150 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
151 which is no longer needed and causes trouble in GTK builds (bug#17046).
152
b1c870c9
JB
153 * emacs-lisp/package-x.el (package--archive-contents-from-url):
154 Use url-insert-file-contents; package-handle-response no longer exists.
155
8ab9876a
DC
1562014-03-26 Daniel Colascione <dancol@dancol.org>
157
158 * simple.el (process-menu-mode-map): New variable.
159 (process-menu-delete-process): New command.
160
196716cf
JB
1612014-03-26 Juanma Barranquero <lekktu@gmail.com>
162
163 * emacs-lisp/package.el: Fix bug#16733 (again).
164 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
165 (url-http-target-url): Remove unused declarations.
166 (package-handle-response): Remove.
167 (package--with-work-buffer): Use url-insert-file-contents and simplify.
168 (package--download-one-archive): Use current-buffer instead of
169 dynamic binding of `buffer'.
170 (describe-package-1): Do not decode readme-string.
171
16adf2e6 1722014-03-26 Michael Albinus <michael.albinus@gmx.de>
1f73d6c6
MA
173
174 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
175
176 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
177 from 2014-03-07, it decreases performance unnecessarily. Let-bind
178 `remote-file-name-inhibit-cache' to nil in the second pass.
179 (tramp-find-executable): Do not call "which" on SunOS.
180 (tramp-send-command-and-check): Fix docstring.
08cf935b
MA
181 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
182 check whether source directory has set the sticky bit.
1f73d6c6 183
16adf2e6 1842014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
37ea8275
BR
185
186 * simple.el (primitive-undo): Only process marker adjustments
187 validated against their corresponding (TEXT . POS). Issue warning
188 for lone marker adjustments in undo history. (Bug#16818)
189 (undo-make-selective-list): Add marker adjustments to selective
190 undo list based on whether their corresponding (TEXT . POS) is in
191 the region. Remove variable adjusted-markers, which was unused
192 and only non nil during undo-make-selective-list.
193 (undo-elt-in-region): Return nil when passed a marker adjustment
194 and explain in function doc.
195
16adf2e6 1962014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
74be1649
NR
197
198 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
199
16adf2e6 2002014-03-26 Dmitry Gutov <dgutov@yandex.ru>
c2d6c639
DG
201
202 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
203 Match special global variables without curlies, too.
204 (ruby-font-lock-keywords): Simplify the matcher for special global
205 variables. Don't require a non-word character after the variable.
206 (Bug#17057)
207
16adf2e6 2082014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
f6614a47
SM
209
210 * simple.el (redisplay-highlight-region-function): Increase priority of
211 overlay to make sure boundaries are visible (bug#15899).
212
16adf2e6 2132014-03-26 Juanma Barranquero <lekktu@gmail.com>
3ea2c781 214
16adf2e6
JB
215 * frameset.el (frameset--initial-params): Fix typo in parameter name.
216 (frameset-restore): Compare display strings with equal.
ee79b33f 217
3ea2c781
JB
218 * frame.el (make-frame): Don't quote display name in error message,
219 it is already a string.
220
16adf2e6 2212014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
f1e06f7b
TV
222
223 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
224 the password.
225
16adf2e6 2262014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2614c1af 227
16adf2e6
JB
228 * emacs-lisp/package.el (package--add-to-archive-contents):
229 Include already installed and built-in packages in
230 `package-archive-contents'.
231 (package-install): Don't include already installed packages in the
232 options during interactive invocation. (Bug#16762)
233 (package-show-package-list): If the buffer is already displayed in
234 another window, switch to that window.
235
fb3deac8
RZ
2362014-03-26 Reto Zimmermann <reto@gnu.org>
237
238 Sync with upstream vhdl mode v3.35.1.
239 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
240 (vhdl-compiler-alist): Doc fix.
241 (vhdl-goto-line): Remove.
242 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
243 (vhdl-mode) <paragraph-start>: Fix value.
244 (vhdl-fix-statement-region): Not `for' in wait-statement.
245 (vhdl-beautify-region): Also (un)tabify.
246 (vhdl-get-visible-signals):
247 Scan declarative part of generate statements.
248 (vhdl-template-record): Fix indentation for record type declaration.
c1e6bc0a
GM
249 (vhdl-expand-abbrev, vhdl-expand-paren):
250 Revert to using fset again rather than defalias.
fb3deac8
RZ
251 (vhdl-scan-directory-contents): Tweak.
252 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
253 (vhdl-compose-components-package):
254 Replace vhdl-goto-line with forward-line.
255 (top-level): Tweak speedbar frame selection.
256 (vhdl-generate-makefile-1): Support for compilers with no
257 unit-to-file name mapping (create directory with dummy files).
258
511df08c
WS
2592014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
260
261 Sync with upstream verilog-mode revision 702457d.
262 * progmodes/verilog-mode.el (verilog-mode-version): Update.
263 (create-lockfiles): Declare.
264 (verilog-read-decls): Fix module header imports, bug709.
265 Reported by Victor Lau.
266 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
267 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
268 interface-only modules, bug721. Reported by Dean Hoyt.
269
11ee65af
GM
2702014-03-26 Glenn Morris <rgm@gnu.org>
271
b4aca021
GM
272 * obsolete/gulp.el: Move here from emacs-lisp/.
273
11ee65af
GM
274 * files.el (lock-buffer, unlock-buffer, file-locked-p):
275 Remove fallback aliases, since they are always defined now.
276
1edb4a2e
DC
2772014-03-24 Daniel Colascione <dancol@dancol.org>
278
279 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
280 instead of cl-loop search function.
281
7a31038f
G
2822014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
283
284 * calendar/parse-time.el (parse-time-iso8601-regexp)
285 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
286 it more generally.
287
2882014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
289
290 * net/dns.el (network-interface-list): Define for XEmacs.
291
2922014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
293
294 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
295 the network interfaces changed.
296 (dns-query): Use it to flush the data.
297
835af719
JB
2982014-03-23 Juanma Barranquero <lekktu@gmail.com>
299
300 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
301
6ddc4422
DC
3022014-03-23 Daniel Colascione <dancol@dancol.org>
303
304 Change subword-mode to use `find-word-boundary-function-table' and
305 replace `capitalized-words-mode'. Also, convert to lexical
306 binding.
307
308 * progmodes/cap-words.el: Delete now-obsolete file.
309 * progmodes/subword.el: Reimplement using
310 `find-word-boundary-function-table'.
311 (subword-mode-map): Hollow out.
312 (capitalized-words-mode): Define as obsolete alias for
313 `subword-mode'.
314 (subword-mode,superword-mode): Tweak documentation to reflect new
315 implementation; call `subword-setup-buffer'.
316 (subword-forward,subword-capitalize): Add underscore to indicate
317 unused variable.
318 (subword-find-word-boundary-function-table): New constant.
319 (subword-empty-char-table): New constant.
320 (subword-setup-buffer): New function.
321 (subword-find-word-boundary): New function.
322
c6b0fbe7
DC
3232014-03-23 Daniel Colascione <dancol@dancol.org>
324
325 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
326 list to look for keyword arguments instead of `memq', fixing
327 (Bug#3647) --- unfortunately, only for freshly-compiled code.
328 Please make bootstrap.
329
5076d275
GM
3302014-03-22 Glenn Morris <rgm@gnu.org>
331
5dbc3244
GM
332 * dired.el (dired-read-regexp): Make obsolete.
333 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
334 (dired-flag-files-regexp):
335 * dired-aux.el (dired-mark-read-regexp):
336 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
337
00156f95
GM
338 * startup.el (fancy-startup-text):
339 * help.el (describe-gnu-project): Visit online info about GNU project.
340
f9c81e7b
GM
341 * help-fns.el (help-fns--interactive-only): New function.
342 (help-fns-describe-function-functions): Add the above function.
343 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
344 (next-line, previous-line): Remove hand-written interactive-only
345 information from doc strings, it is auto-generated now.
346 * bookmark.el (bookmark-write):
347 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
348 (epa-mail-import-keys): Mark interactive-only,
349 and remove hand-written interactive-only information from doc strings.
350 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
351 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
352 * files.el (not-modified):
353 * simple.el (mark-whole-buffer): Mark interactive-only.
354
5076d275
GM
355 * emacs-lisp/byte-run.el (defun-declarations-alist):
356 Add interactive-only. Doc tweak.
357 (macro-declarations-alist): Doc tweak.
358 * subr.el (declare): Doc tweak (add xref to manual).
359 * comint.el (comint-run):
360 * files.el (insert-file-literally, insert-file):
361 * replace.el (replace-string, replace-regexp):
362 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
363 (delete-forward-char, goto-line, insert-buffer, next-line)
364 (previous-line): Set interactive-only via declare.
365
1197f2e6
DG
3662014-03-22 Dmitry Gutov <dgutov@yandex.ru>
367
368 * emacs-lisp/package.el (package-desc): Use the contents of the
369 quoted form, not its cdr. (Bug#16873)
370
aac06179
JB
3712014-03-22 Juanma Barranquero <lekktu@gmail.com>
372
373 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
374 benefit of doc.c; change parameter profile to match the X function.
375
3e7bc044
LL
3762014-03-22 Leo Liu <sdl.web@gmail.com>
377
378 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
379 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
380
59271b3e
RS
3812014-03-21 Richard Stallman <rms@gnu.org>
382
8266cd88
RS
383 * battery.el (battery-linux-sysfs): Search for each field
384 from the beginning of the buffer.
385
16ec0742
RS
386 * subr.el (set-transient-map): Clear out function and value
387 of the temporary symbol when we're done with it.
388
59271b3e
RS
389 * mail/rmailsum.el (rmail-summary-delete-forward):
390 Optimize case of reaching end and handling count.
391 (rmail-summary-mark-deleted): Optimize when N is current msg.
392 Don't create new summary line.
393 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
394 (rmail-summary-undelete-many): Rewrite for speed.
395 (rmail-summary-msg-number): New function.
396
397 * mail/rmail.el (rmail-delete-message): Update summary.
398 (rmail-undelete-previous-message): Handle repeat count arg.
399 (rmail-delete-backward, rmail-delete-forward): Likewise.
400
0d8ac93e
DC
4012014-03-21 Daniel Colascione <dancol@dancol.org>
402
403 * mail/emacsbug.el (report-emacs-bug): Include memory usage
404 information in bug reports.
405
1e92a8a3
MA
4062014-03-21 Michael Albinus <michael.albinus@gmx.de>
407
408 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
409 and `tramp-copy-env'.
410
411 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
412 (tramp-maybe-open-connection): Handle `tramp-login-env'.
413
78540c42
GM
4142014-03-21 Glenn Morris <rgm@gnu.org>
415
416 * electric.el (electric-indent-post-self-insert-function): Add doc.
417
1fc8f655
DG
4182014-03-21 Dmitry Gutov <dgutov@yandex.ru>
419
dcf78667
DG
420 * emacs-lisp/package.el (package-compute-transaction):
421 Use `version-list-<=' to compare the requirement version against
422 the version of package already to be installed. Update the error
423 message. (Bug#16826)
424
1fc8f655
DG
425 * progmodes/ruby-mode.el (ruby-smie-rules):
426 Add indentation rule for ` @ '. (Bug#17050)
427
dada060d
JB
4282014-03-21 Juanma Barranquero <lekktu@gmail.com>
429
430 * align.el (align-regexp): Remove superfluous backslash.
431
432 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
433 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
434 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
435 Fix docstring typos.
436 (ffap-next): Use C-u in docstring.
437 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
438 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
439 Remove superfluous backslashes.
440 (ffap-string-at-point): Reflow docstring.
441
442 * server.el (server-host): Reflow docstring.
443 (server-unload-function): Fix docstring typo.
444 (server-eval-at): Remove superfluous backslash.
445
446 * skeleton.el (skeleton-insert): Remove superfluous backslash.
447 (skeleton-insert): Doc fix.
448 (skeleton-insert): Reflow docstring.
449
450 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
451 (tty-color-approximate, tty-color-by-index, tty-color-values)
452 (tty-color-desc): Remove superfluous backslashes.
453
f428101f
GM
4542014-03-21 Glenn Morris <rgm@gnu.org>
455
26e91130
GM
456 * cus-start.el (history-length): Bump :version.
457
aa3a7b51
GM
458 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
459 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
460 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
461 Don't set `make-backup-files'.
462
f428101f
GM
463 * info.el (info--prettify-description): New function,
464 to give info-finder descriptions consistent case, punctuation.
465 (Info-finder-find-node): Use it. Sort packages.
466 Refer to "description" rather than "commentary".
467
6ce1b56e
JB
4682014-03-21 Juanma Barranquero <lekktu@gmail.com>
469
470 * frameset.el (frameset--print-register): New function.
471 (frameset-to-register): Use it.
472
b730af26
JB
4732014-03-20 Juanma Barranquero <lekktu@gmail.com>
474
45393801
JB
475 * progmodes/hideif.el (hif-string-to-number): New function.
476 (hif-tokenize): Use it to understand non-decimal floats.
477
814e26fa
JB
478 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
479
b730af26
JB
480 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
481
049fac7c
SM
4822014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
483
494ec1e7
SM
484 * electric.el (electric-newline-and-maybe-indent): New command.
485 Bind it globally to C-j.
486 (electric-indent-mode): Don't mess with the global map any more.
487 Don't drop the post-self-insert-hook is some buffer is still using it
488 (bug#16770).
489 * bindings.el (global-map): Remove C-j binding.
490
049fac7c
SM
491 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
492 the docstring of functions advised before dumping (bug#16993).
493
f15ec1ba 4942014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
6a72e405
SH
495
496 * ps-print.el (ps-generate-postscript-with-faces):
497 Explicitly deactivate the mark (bug#16866).
498 * simple.el (deactivate-mark): Update region highlight.
499
f88bdc45
JB
5002014-03-19 Juanma Barranquero <lekktu@gmail.com>
501
502 * emacs-lisp/package.el (describe-package-1):
503 Decode commentary (bug#16733).
504
6b88e570
JB
5052014-03-18 Juanma Barranquero <lekktu@gmail.com>
506
507 * custom.el (defcustom): Doc fix: recommend avoiding destructive
508 modification of the value argument of :set (bug#16755).
509
ac9b4703
SM
5102014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * simple.el (newline-and-indent): Do autofill (bug#17031).
513
2b7858ec
DG
5142014-03-18 Dmitry Gutov <dgutov@yandex.ru>
515
516 * newcomment.el (comment-normalize-vars): Only add escaping check
517 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
518 (comment-beginning): Use `narrow-to-region' instead of moving back
519 one character.
520 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
521 (comment-start-skip): Update the docstring.
522
11eff3ae
RS
5232014-03-18 Richard Stallman <rms@gnu.org>
524
525 * dired.el (dired-display-file): Force use of other window.
526
07f44fdb
JB
5272014-03-18 Daniel Colascione <dancol@dancol.org>
528
529 * startup.el (tty-handle-args): Remove debug message from 2007.
530
5312014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
adbfe42c
SM
532
533 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
534 (advice--make-interactive-form): Use it to avoid (auto)loading function.
535 (advice--make-1, advice-add, advice-remove):
536 Remove braindead :advice-pending hack.
537
61debe4a
GM
5382014-03-17 Glenn Morris <rgm@gnu.org>
539
540 * calendar/calendar.el (calendar-generate-month): Apply weekend
541 face to the right days; fixes 2013-08-06 change. (Bug#17028)
542
8273986b
MA
5432014-03-17 Michael Albinus <michael.albinus@gmx.de>
544
545 * net/tramp.el (tramp-action-out-of-band): Read pending output.
546 (tramp-call-process): Trace also DESTINATION.
547
548 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
549 Quote file names when they are local. Remove superfluous trace.
550
4f8aeb84
DG
5512014-03-17 Dmitry Gutov <dgutov@yandex.ru>
552
218feefc
DG
553 * newcomment.el (comment-beginning): If `comment-start-skip'
554 doesn't match, move back one char and try again. (Bug#16971)
555
6c187ef5
SM
556 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
557 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
4f8aeb84
DG
558 Set `comment-start-skip' to a simpler value that doesn't try to
559 check if the semicolon is escaped (this is handled by
560 `syntax-ppss' now). (Bug#16971)
561
562 * progmodes/scheme.el (scheme-mode-variables): Same.
563
b92631bf
MR
5642014-03-16 Martin Rudalics <rudalics@gmx.at>
565
566 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
567 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
568 current (Bug#16816, Bug#17007).
569 (with-current-buffer-window): New macro doing the same as
570 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
571 * help.el (help-print-return-message): Warn in doc-string to not
572 use this in `with-help-window'.
573 (describe-bindings-internal): Call `describe-buffer-bindings'
574 from within help buffer. See Juanma's scenario in (Bug#16816).
575 (with-help-window): Update doc-string.
576 * dired.el (dired-mark-pop-up):
577 * files.el (save-buffers-kill-emacs):
578 * register.el (register-preview): Use `with-current-buffer-window'
579 instead of `with-temp-buffer-window'.
580
57348c4d
JB
5812014-03-16 Juanma Barranquero <lekktu@gmail.com>
582
583 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
584 Implement inserting into current buffer, documented in their docstrings.
585 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
586 (rst-section-tree-point, rst-forward-section, rst-indent)
587 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
588 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
589 (rst-font-lock-handle-adornment-pre-match-form)
590 (rst-repeat-last-character): Reflow docstrings.
591 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
592 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
593 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
594 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
595 Fix docstring typos.
596 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
597 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
598 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
599
fd16b061
JB
6002014-03-15 Juanma Barranquero <lekktu@gmail.com>
601
a2403e3d
JB
602 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
603 for compatibility with other ports.
604 (ns-initialize-window-system): Use it. It is set in term/common-win.el
605 from the -xrm command line argument, but in the Nextstep port its value
606 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
607
fd16b061
JB
608 * progmodes/python.el (defconst, python-syntax-count-quotes)
609 (python-indent-region, python-indent-shift-right)
610 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
611 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
612 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
613 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
614 (inferior-python-mode, python-shell-make-comint, run-python-internal)
615 (python-shell-buffer-substring, python-shell-send-buffer)
616 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
617 (python-completion-complete-at-point, python-fill-docstring-style)
618 (python-eldoc-function, python-imenu-format-item-label)
619 (python-imenu-format-parent-item-label)
620 (python-imenu-format-parent-item-jump-label)
621 (python-imenu--build-tree, python-imenu-create-index)
622 (python-imenu-create-flat-index): Fix docstring typos.
623 (python-indent-context, python-shell-prompt-regexp, run-python):
624 Remove superfluous backslashes.
625 (python-indent-line, python-nav-beginning-of-defun)
626 (python-shell-get-buffer, python-shell-get-process)
627 (python-info-current-defun, python-info-current-line-comment-p)
628 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
629 (python-indent-post-self-insert-function, python-shell-send-file)
630 (python-shell-completion-get-completions)
631 (python-shell-completion-complete-or-indent)
632 (python-eldoc--get-doc-at-point): Reflow docstrings.
633
e94807f0
GM
6342014-03-14 Glenn Morris <rgm@gnu.org>
635
88103345
GM
636 * emacs-lisp/package.el (package-menu-mode-map):
637 Replace use of obsolete function alias. Tweak menu item text.
638
f2dd4ba8
GM
639 * info.el (Info-finder-find-node):
640 Ignore the `emacs' metapackage. (Bug#10813)
641
ac0f82ef
GM
642 * finder.el (finder-list-matches): Include unversioned packages
643 in the result of a keyword search.
644
e94807f0
GM
645 * finder.el (finder--builtins-descriptions): New constant.
646 (finder-compile-keywords): Use finder--builtins-descriptions.
647
50d434d1
DG
6482014-03-14 Dmitry Gutov <dgutov@yandex.ru>
649
650 * simple.el (blink-matching-paren): Describe the new value,
651 `jump', enabling the old behavior.
652 (blink-matching-open): Use that value. (Bug#17008)
653
56759cf1
GM
6542014-03-14 Glenn Morris <rgm@gnu.org>
655
459d74ef
GM
656 * finder.el (finder-no-scan-regexp): Add leim-list.
657 (finder-compile-keywords):
658 Don't skip files with same basename. (Bug#14010)
659 * Makefile.in (setwins_finder): New, excluding leim.
660 (finder-data): Use setwins_finder.
661
56759cf1
GM
662 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
663 (help-function-arglist, help-make-usage): Move from here...
664 * help.el (help-split-fundoc, help-add-fundoc-usage)
665 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
666 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
667
7644aa97
JB
6682014-03-14 Juanma Barranquero <lekktu@gmail.com>
669
670 * net/socks.el (socks, socks-override-functions)
fd16b061 671 (socks-find-services-entry):
7644aa97
JB
672 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
673 (hif-find-ifdef-block):
674 * progmodes/modula2.el (m2-indent): Fix docstring typos.
675
676 * net/tls.el (tls-program): Reflow docstring.
677
678 * progmodes/pascal.el (pascal-mode-abbrev-table)
679 (pascal-imenu-generic-expression, pascal-auto-endcomments)
680 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
681 (pascal-outline-mode): Fix docstring typos.
682 (pascal-mode): Let define-derived-mode document mode hook.
683 (pascal-uncomment-area): Reflow.
684 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
685
686 * progmodes/opascal.el (opascal-compound-block-indent)
687 (opascal-case-label-indent): Fix docstring typos.
688 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
689
1f44df94
DG
6902014-03-13 Dmitry Gutov <dgutov@yandex.ru>
691
07f44fdb
JB
692 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
693 Fontify multiple adjacent negation chars. (Bug#17004)
1f44df94 694
0d71dfb3
TW
6952014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
696
697 * emacs-lisp/package.el (package--prepare-dependencies):
698 Accept requirements without explicit version (bug#14941).
699
d27a1a7b
JB
7002014-03-12 Juanma Barranquero <lekktu@gmail.com>
701
a5765a3d
JB
702 * register.el (register-separator, copy-to-register): Doc fixes.
703 (register-preview-default): Remove unnecessary call to concat.
704
d27a1a7b
JB
705 * frameset.el (frameset-restore): When checking for a visible frame,
706 use the action map instead of calling visible-frame-list.
707
08dfa0b7
JB
7082014-03-12 Jonas Bernoulli <jonas@bernoul.li>
709
710 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
711
8960529e
MR
7122014-03-12 Martin Rudalics <rudalics@gmx.at>
713
714 * window.el (fit-frame-to-buffer): Get maximum width from
715 display's width instead of height.
716
8a51e8e4
GM
7172014-03-12 Glenn Morris <rgm@gnu.org>
718
46456005
GM
719 * desktop.el (desktop-restore-frames)
720 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
721 (desktop-restore-reuses-frames): Doc tweaks.
722
8a51e8e4
GM
723 * electric.el (electric-indent-mode): Doc fix.
724
5983b317
JB
7252014-03-12 Juanma Barranquero <lekktu@gmail.com>
726
727 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
728 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
729 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
730 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
731 (cvs-dired-use-hook): Fix docstring typos.
732 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
733 Doc fixes.
734
735 * vc/pcvs-defs.el (cvs-auto-remove-handled)
736 (cvs-auto-remove-directories, cvs-default-ignore-marks)
737 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
738 (cvs-execute-single-dir): Fix docstring typos.
739
740 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
741 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
742
743 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
744
745 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
746 Fix docstring typos.
747
13c00cf0
JB
7482014-03-12 Juanma Barranquero <lekktu@gmail.com>
749
750 * frameset.el (frameset--jump-to-register): Add autoload; it could be
751 called from jump-to-register after unloading the frameset package.
752
536a17e3
SM
7532014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
756 (bug#16975). Deactivate the mark before setting it to nil.
757 (activate-mark): Do nothing if region is already active.
758
baf8d0ac
JB
7592014-03-11 Juanma Barranquero <lekktu@gmail.com>
760
761 * frameset.el (frameset--target-display): Remove definition; declare.
762 (frameset-save, frameset-restore): Let-bind frameset--target-display.
763
1ea22560
SM
7642014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
765
766 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
767 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
768 when the advice is pending.
769 (advice-remove): Remove this marker when not needed any more.
770
4538c058
JB
7712014-03-11 Juanma Barranquero <lekktu@gmail.com>
772
773 * frameset.el: Separate options for reusing frames and cleaning up.
774 (frameset--reuse-list): Remove definition; declare.
775 (frameset--action-map): Declare.
776 (frameset--find-frame-if): Doc fix.
777 (frameset--restore-frame): Cache frame action.
778 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
779 how to clean up the frame list after restoring. Remove cleaning
780 options from REUSE-FRAMES. Change all keyword values to symbols.
781 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
782
783 * desktop.el (desktop-restore-forces-onscreen)
784 (desktop-restore-reuses-frames): Use non-keyword values.
785 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
786
ba1a5c78
GM
7872014-03-10 Glenn Morris <rgm@gnu.org>
788
776aa432
GM
789 * files.el (find-file): Doc fix: update info node name.
790
ba1a5c78
GM
791 * emacs-lisp/advice.el (ad-add-advice, defadvice):
792 Doc fix: remove references to deleted info nodes.
793
183d706e
MA
7942014-03-10 Michael Albinus <michael.albinus@gmx.de>
795
796 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
797 Do not add `nil' to the environment, when there's no remote `locale'.
798 (tramp-find-inline-encoding): Check, that the remote host has
799 installed perl, before sending scripts.
800
6f0f96e7
LL
8012014-03-10 Leo Liu <sdl.web@gmail.com>
802
536a17e3
SM
803 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
804 Clear eldoc-last-message. (Bug#16920)
6f0f96e7 805
ca70fe78
SM
8062014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
809 (bug#14430).
810
eb67db41
JL
8112014-03-09 Juri Linkov <juri@jurta.org>
812
813 * ansi-color.el (ansi-color-names-vector): Copy default colors
814 from `xterm-standard-colors' that look well on the default white
815 background (and also on the black background) to avoid illegible
8cf07e5a 816 color combinations like yellow-on-white and white-on-white.
eb67db41
JL
817 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
818
e7db5447
JB
8192014-03-08 Juanma Barranquero <lekktu@gmail.com>
820
821 * frameset.el (frameset-restore): When no frame is visible, do not
822 generate a list of frames, just make visible the selected one.
823
f0a4c8d7
DG
8242014-03-08 Dmitry Gutov <dgutov@yandex.ru>
825
826 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
827 it only contains the repository root. (Bug#16897)
828
e50772e3
MA
8292014-03-07 Michael Albinus <michael.albinus@gmx.de>
830
831 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
832 only when `remote-file-name-inhibit-cache' is nil.
833 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
834
cac0a1d6
MR
8352014-03-06 Martin Rudalics <rudalics@gmx.at>
836
837 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
838 Fix doc-strings.
839 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
840 fit-frame-to-buffer variable. Fix doc-string.
841 (fit-window-to-buffer): Set ONLY argument in call of
842 fit-frame-to-buffer. Fix doc-string.
843
fa965cbf
MA
8442014-03-06 Michael Albinus <michael.albinus@gmx.de>
845
846 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
847 (tramp-action-password): Clear password cache if needed.
848 (tramp-read-passwd): Do not clear password cache.
849
850 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
851 cache unless it is the first password request.
852
c94e6ee4
GM
8532014-03-06 Glenn Morris <rgm@gnu.org>
854
03bc753e
GM
855 * simple.el (newline): Doc tweak.
856
c94e6ee4
GM
857 * emacs-lisp/shadow.el (load-path-shadows-find):
858 Ignore dir-locals. (Bug#12357)
859
bd2d43dc
GM
8602014-03-05 Glenn Morris <rgm@gnu.org>
861
862 * files.el (interpreter-mode-alist):
863 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
864
9284000e
JB
8652014-03-05 Juanma Barranquero <lekktu@gmail.com>
866
867 * frameset.el (frameset--initial-params): Filter out null entries.
868
e1a2cb1c
MR
8692014-03-05 Martin Rudalics <rudalics@gmx.at>
870
27821a89
JB
871 * window.el (window-min-height, window-min-width):
872 Rewrite doc-strings.
e1a2cb1c
MR
873 (window-body-size): Add PIXELWISE argument to make it consistent
874 with its callees.
875
6bf67038
JB
8762014-03-05 Juanma Barranquero <lekktu@gmail.com>
877
878 * finder.el (finder-mode-map, finder-mode-syntax-table):
879 Revert part of 2014-02-28 change.
880
90f04e4c
LI
8812014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
882
883 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
884 (eww-setup-buffer): Clear next/prev/etc more reliably.
27821a89
JB
885 (eww-textarea-map): [tab] doesn't work on tty.
886 Reported by Mario Lang.
6952100d
LI
887
888 * net/shr.el (shr-map): Ditto.
90f04e4c 889
3106d59b
GM
8902014-03-04 Glenn Morris <rgm@gnu.org>
891
892 * minibuffer.el (completion-hilit-commonality):
893 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
894
f604dfdc
JB
8952014-03-04 Juanma Barranquero <lekktu@gmail.com>
896
897 * hilit-chg.el (hilit-chg-unload-function): New function.
898 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
899 (hilit-chg-map-changes): Prefer cardinal number to digit.
900 (hilit-chg-display-changes): Reflow docstring.
901 (highlight-changes-rotate-faces): Remove superfluous backslash.
902
5dc65319
MA
9032014-03-04 Michael Albinus <michael.albinus@gmx.de>
904
905 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
906 `tramp-send-command-and-check'.
907
4242d21d
JB
9082014-03-04 Juanma Barranquero <lekktu@gmail.com>
909
b01fa838
JB
910 * hexl.el (hexl-address-region, hexl-ascii-region)
911 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
912 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
913 (hexl-forward-word, hexl-previous-line, hexl-next-line):
914 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
915 (hexl-mode): Doc fix.
916 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
917 (hexl-mode-ruler): Fix typos in docstrings.
918
4242d21d
JB
919 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
920 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
921 Remove superfluous backslashes.
922 (strokes-last-stroke, strokes-global-map, strokes-mode):
923 Reflow docstrings.
924 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
925 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
926 (strokes-distance-squared, strokes-global-set-stroke)
927 (strokes-global-set-stroke-string): Doc fixes.
928 (strokes-help): Fix typos; reflow docstring.
929
87132570
MR
9302014-03-04 Martin Rudalics <rudalics@gmx.at>
931
932 * window.el (window-in-direction): Fix doc-string.
933
d82e752c
GM
9342014-03-04 Glenn Morris <rgm@gnu.org>
935
936 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
937 Explicit error if no grammar.
938 (smie-config-save): Doc fix. Fix quote typo.
939
62528af0
SM
9402014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
941
8d4901dc
SM
942 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
943 electric-indent-mode-hook if we obey electric-indent-mode.
944 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
945 decide whether we obey electric-indent-mode.
946 (c-change-set-fl-decl-start, c-extend-after-change-region):
947 Silence warnings.
948 (c-electric-indent-mode-hook): Assume we do want to obey
949 electric-indent-mode.
950
951 * electric.el (electric-indent-mode-has-been-called): Remove.
952 (electric-indent-mode): Fix accordingly.
953
092c12b2
SM
954 * files.el (hack-local-variables): Mention file name in warning.
955
62528af0
SM
956 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
957
5b87d0d9
MN
9582014-03-04 Michal Nazarewicz <mina86@mina86.com>
959
960 * binding.el: Add comment describing why C-d binds to `delete-char'.
961 * simple.el (delete-forward-char): Mark as interactive-only.
962
542a3840
JB
9632014-03-03 Juanma Barranquero <lekktu@gmail.com>
964
f2d2402e
GM
965 * icomplete.el (icomplete-completions):
966 Follow-up to 2014-03-01 change.
d11320e5
JB
967
968 * icomplete.el: Miscellaneous doc fixes.
969 Use Icomplete everywhere instead of icomplete for consistency.
970 (icomplete-max-delay-chars): Fix typo.
971 (icomplete-mode): Use \[].
972 (icomplete-tidy, icomplete-exhibit): Reflow.
973 (icomplete-minibuffer-setup-hook, icomplete-completions):
974 Remove superfluous backlashes.
975
976 * ido.el: Miscellaneous doc fixes.
977 Use Ido everywhere instead of ido or `ido' for consistency.
978 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
979 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
980 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
981 (ido-separator): Extract obsolescence info from docstring and declare
982 with make-obsolete-variable.
983 (ido-minibuffer-setup-hook): Simplify example.
984 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
985 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
986 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
987 (ido-everywhere): Reflow docstring.
988 (ido-toggle-vc): Doc fix.
989 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
990 of long list of keybindings.
991
7ebd57e9
GM
9922014-03-03 Glenn Morris <rgm@gnu.org>
993
994 * frame.el (display-pixel-height, display-pixel-width)
995 (display-mm-dimensions-alist, display-mm-height)
996 (display-mm-width): Doc tweaks.
997
35e951cd 9982014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
e3d090b4
BR
999
1000 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1001 case of undo in region.
1002
b923819c
MR
10032014-03-02 Martin Rudalics <rudalics@gmx.at>
1004
1005 * window.el (fit-window-to-buffer): Fix argument in window-size
1006 call when window is horizontally combined.
1007
b6e443c5
JB
10082014-03-02 Juanma Barranquero <lekktu@gmail.com>
1009
1010 * icomplete.el (icomplete-completions): Use string-width.
35e951cd 1011 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
b6e443c5 1012
1850913d
DG
10132014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1014
35e951cd
JB
1015 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1016 Highlight regexp options. (Bug#16914)
1850913d 1017
04b577b6
MR
10182014-03-01 Martin Rudalics <rudalics@gmx.at>
1019
1020 * window.el (window--max-delta-1): Round down when calculating
1021 how many lines/columns we can get from a window.
1022
b829360f
GM
10232014-03-01 Glenn Morris <rgm@gnu.org>
1024
2501c912
GM
1025 * isearch.el (search-invisible): Doc fix.
1026
b829360f
GM
1027 * minibuffer.el (completion-hilit-commonality):
1028 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1029 * comint.el (comint-dynamic-list-completions): Doc fix.
1030 * comint.el (comint-dynamic-list-completions):
1031 * filecache.el (file-cache-minibuffer-complete):
1032 * tempo.el (tempo-display-completions):
1033 * eshell/em-hist.el (eshell-list-history):
1034 Replace use of obsolete argument of display-completion-list.
1035
9a155058
JB
10362014-03-01 Juanma Barranquero <lekktu@gmail.com>
1037
1038 * icomplete.el (icomplete-completions):
1039 Revert back to using "..." when ?… cannot be displayed.
1040
53f6cda8
JB
10412014-02-28 Juanma Barranquero <lekktu@gmail.com>
1042
1043 * finder.el (finder-unload-function): New function.
1044
43977c23
JB
10452014-02-28 Juanma Barranquero <lekktu@gmail.com>
1046
1047 * dframe.el (dframe-detach):
1048 * find-dired.el (find-dired, find-name-dired):
1049 * finder.el (finder-mode-map, finder-mode-syntax-table)
1050 (finder-headmark, finder-select, finder-mouse-select):
1051 Fix docstring typos.
1052
9dda75ad
MR
10532014-02-28 Martin Rudalics <rudalics@gmx.at>
1054
1055 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
27821a89
JB
1056 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1057 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1058 Fix doc-string based on a suggestion by Nicolas Richard
1059 <theonewiththeevillook@yahoo.fr>.
9dda75ad
MR
1060 * help.el (with-help-window): Fix doc-string.
1061
8a73034e
IK
10622014-02-28 Ivan Kanis <ivan@kanis.fr>
1063
b70257b0
GM
1064 * net/shr.el (shr-image-animate): New option.
1065 (shr-put-image): Respect shr-image-animate.
8a73034e 1066
245aa73e
MA
10672014-02-28 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/tramp-adb.el (tramp-adb-parse-device-names):
1070 Use `accept-process-output'.
1071 (tramp-adb-handle-file-truename): Cache the localname only.
1072 (tramp-adb-handle-make-directory)
1073 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1074 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1075 modes cannot be changed.
1076
1077 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1078 file properties of symlinks.
1079
48e15d64
PS
10802014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1081
1082 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1083 required/optional fields to match development biblatex. (Bug#16781)
1084
65b77347
AS
10852014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1086
1087 * saveplace.el (toggle-save-place):
1088 Fix argument handling. (Bug#16673)
1089
5e618aba
GM
10902014-02-28 Glenn Morris <rgm@gnu.org>
1091
1092 * minibuffer.el (completions-first-difference)
1093 (completions-common-part, completion-hilit-commonality): Doc fixes.
1094
6deb314e
KB
10952014-02-28 Karl Berry <karl@gnu.org>
1096
1097 * info.el (Info-mode-map): Add H for describe-mode,
1098 to synchronize with standalone Info.
1099
289996f5
EL
11002014-02-28 Emilio C. Lopes <eclig@gmx.net>
1101
1102 * progmodes/sql.el (sql-interactive-mode):
1103 Avoid setting global comint-input-ring-separator. (Bug#16814)
1104
79fc1191
MA
11052014-02-27 Michael Albinus <michael.albinus@gmx.de>
1106
1107 * net/dbus.el (dbus--init-bus): Declare function.
1108 (dbus-path-local, dbus-interface-local): New defconst.
1109 (dbus-init-bus): Use them.
1110 (dbus-return-values-table): Extend doc.
1111 (dbus-handle-bus-disconnect): Extend error message.
1112
298520df
JB
11132014-02-27 Juanma Barranquero <lekktu@gmail.com>
1114
1115 * subr.el (y-or-n-p): Fix double space issue in message.
1116
c22c1614
MA
11172014-02-27 Michael Albinus <michael.albinus@gmx.de>
1118
1119 * net/tramp.el (tramp-call-process): Improve trace message.
1120 (tramp-handle-insert-file-contents): Trace error case.
1121
1122 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1123 <insert-directory>: Use `tramp-handle-insert-directory'.
1124 (tramp-adb-handle-insert-directory): Remove function.
1125 (tramp-adb-send-command-and-check): New defun, replacing
1126 `tramp-adb-command-exit-status'. Change all callees.
1127 (tramp-adb-handle-file-attributes)
1128 (tramp-adb-handle-directory-files-and-attributes): Use it.
35e951cd
JB
1129 (tramp-adb-ls-output-name-less-p):
1130 Use `directory-listing-before-filename-regexp'.
c22c1614
MA
1131 (tramp-adb-handle-delete-directory): Flush also file properties of
1132 the truename of directory.
1133 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1134 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1135 (tramp-adb-handle-write-region): Implement APPEND.
1136 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1137 properties correctly.
1138 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1139 variables. Check for connected devices only when needed.
1140
d9263618
GM
11412014-02-27 Glenn Morris <rgm@gnu.org>
1142
ea7826ba
GM
1143 * minibuffer.el (completion-table-dynamic)
1144 (completion-table-with-cache): Doc fixes.
1145
d9263618
GM
1146 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1147 (completing-read-multiple): Doc fixes.
1148
eff3168a
DC
11492014-02-27 Daniel Colascione <dancol@dancol.org>
1150
51f213c3
DC
1151 * minibuffer.el (completion--nth-completion): Fix indentation.
1152
eff3168a
DC
1153 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1154 explicit tramp path is empty.
1155
b77cfcd7
GM
11562014-02-27 Glenn Morris <rgm@gnu.org>
1157
1158 * emacs-lisp/crm.el (completing-read-multiple):
1159 Empower help-enable-auto-load.
1160
9577b569
GM
11612014-02-26 Glenn Morris <rgm@gnu.org>
1162
259887e8
GM
1163 * startup.el (command-line): Don't init the tty in daemon mode.
1164
1d491ef2
GM
1165 Avoid calling tty-setup-hook twice, eg if a term file
1166 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1167 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1168 (tty-create-frame-with-faces): Use it.
1169 * startup.el (command-line): Pass run-hook argument
1170 to tty-run-terminal-initialization.
1171
9577b569
GM
1172 * dired.el (dired-restore-desktop-buffer): Demote errors;
1173 eg in case a glob match fails. (Bug#16884)
1174
40ff7f86
DG
11752014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1176
b2388336
DG
1177 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1178 error from `read-from-string'. (Bug#16850)
1179
40ff7f86
DG
1180 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1181 result of `completing-read' in the interactive form. (Bug#16854)
1182
98bd6b32
GM
11832014-02-25 Glenn Morris <rgm@gnu.org>
1184
f086804c
GM
1185 * image.el (image-animate, image-animate-timeout):
1186 Stop animating images in dead buffers. (Bug#16878)
1187
c107155e
GM
1188 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1189
9577b569
GM
1190 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1191 Doc fixes.
98bd6b32
GM
1192 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1193 * term/sun.el (sun-raw-prefix-hooks):
1194 Use tty-setup-hook instead of term-setup-hook.
1195 (terminal-init-sun): Construct message from bytecomp plist.
1196 * term/wyse50.el (enable-arrow-keys): Doc fix.
1197
9c9e18e8
JB
11982014-02-24 Juanma Barranquero <lekktu@gmail.com>
1199
1200 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1201 Fix docstring typos.
1202
c848881f
MA
12032014-02-24 Michael Albinus <michael.albinus@gmx.de>
1204
1205 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1206
0e38ae05
NR
12072014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1208
1209 * minibuffer.el (completion--try-word-completion):
1210 Fix error when completing M-x commands (bug#16808).
1211
8ee4c296
LL
12122014-02-24 Leo Liu <sdl.web@gmail.com>
1213
1214 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1215
7d4bd627
JB
12162014-02-24 Juanma Barranquero <lekktu@gmail.com>
1217
1218 * apropos.el (apropos-print): Avoid formatting error when
1219 apropos-do-all and apropos-compact-layout are both t.
1220
e918e27f
JB
12212014-02-23 Juanma Barranquero <lekktu@gmail.com>
1222
1223 * apropos.el (apropos-property, apropos-all-words-regexp)
1224 (apropos-true-hit, apropos-variable, apropos-print):
1225 Fix docstring typos, and remove obsolete comment.
1226
85c01f80
MA
12272014-02-23 Michael Albinus <michael.albinus@gmx.de>
1228
1229 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1230 Preserve trailing "/". (Bug#16851)
1231
62f95022
DG
12322014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1233
1234 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1235 after `=>' (bug#16811).
dfdb365c
DG
1236 (ruby-smie-rules): Handle the inconsistent second element of the
1237 list returned by `smie-indent--parent'.
1238 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1239 method call.
62f95022 1240
025f2c81
JB
12412014-02-23 Juanma Barranquero <lekktu@gmail.com>
1242
1243 * elec-pair.el (electric-pair-text-syntax-table)
1244 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1245 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1246 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1247 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1248
123c84f9
GM
12492014-02-22 Glenn Morris <rgm@gnu.org>
1250
612c3e46
GM
1251 * imenu.el (imenu--generic-function): Doc fix.
1252
123c84f9
GM
1253 * register.el (frame-configuration-to-register): Make obsolete.
1254
e59fa9ad
JB
12552014-02-22 Juanma Barranquero <lekktu@gmail.com>
1256
1257 * desktop.el (desktop-save-buffer-p): Do not fail when
1258 desktop-files-not-to-save is nil. Return t for true result
1259 as the doc says.
1260
4e652634
DC
12612014-02-22 Daniel Colascione <dancol@dancol.org>
1262
27821a89 1263 * net/secrets.el (secrets-create-item, secrets-search-items):
35e951cd
JB
1264 Check that attribute values are strings, avoiding the construction
1265 of invalid dbus messages.
4e652634 1266
f35affb6
JB
12672014-02-21 Juanma Barranquero <lekktu@gmail.com>
1268
1269 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1270 defun-declarations-alist.
1271
3d136b1b
SM
12722014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1275 (bug#16829).
1276
612ddfc0
JB
12772014-02-21 Juanma Barranquero <lekktu@gmail.com>
1278
1279 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1280 (whitespace-newline, whitespace-trailing, whitespace-line)
1281 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1282 (whitespace-space-after-tab): Fix typo in docstrings.
1283
c8481b1b
DG
12842014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1285
cb8f50a7
DG
1286 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1287
c8481b1b
DG
1288 * electric.el (electric-indent-functions-without-reindent):
1289 Add `yaml-indent-line'.
1290
bed5126f
JB
12912014-02-21 Juanma Barranquero <lekktu@gmail.com>
1292
34b71457
JB
1293 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1294 It has done nothing for years; should be removed after the release.
1295
bed5126f
JB
1296 * simple.el (choose-completion): Fix docstring typo.
1297 (read-quoted-char-radix): Remove unneeded * in docstring.
1298 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1299 Don't escape parentheses unnecessarily in docstrings.
1300
8dd3e94f
MR
13012014-02-21 Martin Rudalics <rudalics@gmx.at>
1302
1303 Fix handling of window-min-height/-width (Bug#16738).
3d136b1b
SM
1304 * window.el (window--dump-window, window--dump-frame):
1305 New functions.
1306 (window--min-size-1): Account for window dividers.
1307 When window-resize-pixelwise is nil, delay rounding till after the
8dd3e94f
MR
1308 sum of the window components has been calculated.
1309 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1310 nil make sure at least one text line and two text columns remain
1311 fully visible.
1312 (window-resize): Signal an error when window-resize-apply fails.
1313 (window--resize-child-windows): Fix calculation of by how many
1314 pixels a window can still be shrunk via window-new-normal.
1315 (adjust-window-trailing-edge): Call window--resizable with
1316 correct TRAIL argument.
1317
2ed94e04
MR
1318 (with-temp-buffer-window): Don't evaluate BODY within
1319 with-current-buffer (Bug#16816).
1320
0e5324c4
MA
13212014-02-21 Michael Albinus <michael.albinus@gmx.de>
1322
1323 * net/tramp.el (tramp-check-cached-permissions):
1324 Call `file-attributes' with `suffix' being a symbol but a string.
1325
48198420
DC
13262014-02-21 Daniel Colascione <dancol@dancol.org>
1327
1328 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1329 (dbus-init-bus): New function: call into dbus-init-bus-1
1330 and installs a handler for the disconnect signal.
1331 (dbus-call-method): Rewrite to look for result in cons.
1332 (dbus-call-method-handler): Store result in cons.
1333 (dbus-check-event): Recognize events with nil sender as valid.
1334 (dbus-handle-bus-disconnect): New function. React to bus
1335 disconnection signal by synthesizing dbus error for each
1336 pending synchronous or asynchronous call.
1337 (dbus-notice-synchronous-call-errors): New function.
1338 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1339 is true, not all the time.
1340
99e15133
JB
13412014-02-21 Juanma Barranquero <lekktu@gmail.com>
1342
e48983a6
JB
1343 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1344 Remove obsolescence declarations, these variables do not exist anymore.
1345
fdcfd745
JB
1346 * savehist.el (savehist-save-minibuffer-history)
1347 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1348 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1349 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1350 mostly, refer to "Savehist mode" when talking about the mode,
1351 and not the function.
1352
99e15133
JB
1353 * saveplace.el (save-place): Remove redundant info in docstring.
1354 (save-place-forget-unreadable-files, toggle-save-place)
1355 (save-place-forget-unreadable-files, save-place-dired-hook):
1356 Fix typos and remove unneeded backslashes.
1357
f5bee33b
MA
13582014-02-20 Michael Albinus <michael.albinus@gmx.de>
1359
1360 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1361 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1362
1363 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
85c01f80 1364 <insert-directory>: Use `tramp-handle-insert-directory'.
f5bee33b
MA
1365 (tramp-gvfs-handle-insert-directory): Remove function.
1366
1367 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1368 Call `tramp-handle-insert-directory'.
1369
ee0761ca
JB
13702014-02-20 Juanma Barranquero <lekktu@gmail.com>
1371
1372 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1373 before the start of buffer/region (bug#16799).
1374
4d49cc65
GM
13752014-02-20 Glenn Morris <rgm@gnu.org>
1376
1377 * isearch.el (search-invisible): Doc fix.
1378
eee0d650
TK
13792014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1380
1381 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1382 (bug#16657).
1383
94e5e202
JB
13842014-02-19 Juanma Barranquero <lekktu@gmail.com>
1385
1386 * frameset.el (frameset-restore): Delay removing an old frame's
1387 duplicate id until the new frame has been correctly created.
1388
50bfdd5d
MA
13892014-02-19 Michael Albinus <michael.albinus@gmx.de>
1390
1391 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1392 (tramp-check-cached-permissions): Call `file-attributes' if the
1393 cache is empty.
1394
1395 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
afe1e4c8 1396 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1397
1398 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8 1399 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
50bfdd5d
MA
1400 (tramp-gvfs-maybe-open-connection): Set always connection
1401 properties, even if target is mounted already.
1402
1403 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1404 Set tramp-autoload cookie.
1405 (tramp-get-remote-touch): New defun.
1406 (tramp-sh-handle-set-file-times): Use it.
1407 (tramp-sh-handle-directory-files-and-attributes):
1408 Use `tramp-handle-directory-files-and-attributes' if neither stat
1409 nor perl are available on the remote host.
1410
1411 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1412 "/". Write long listing only when "l" belongs to the switches.
1413
1414 * net/trampver.el: Update release number.
1415
f097a3d2
JB
14162014-02-19 Juanma Barranquero <lekktu@gmail.com>
1417
1418 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1419
8e009b78
MR
14202014-02-19 Martin Rudalics <rudalics@gmx.at>
1421
1422 * window.el (window-state-put): Allow WINDOW to refer to an
1423 internal window (Bug#16793).
1424
95160c90
GM
14252014-02-19 Glenn Morris <rgm@gnu.org>
1426
1427 * textmodes/remember.el: Move provide statement to end.
1428 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1429 (remember-notes): Doc fixes.
1430
b28df58c
SM
14312014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1432
1433 * delsel.el (delete-char): Restore incorrectly erased property
1434 (bug#16795).
1435
7108e1c0
JB
14362014-02-18 Juanma Barranquero <lekktu@gmail.com>
1437
1438 * frameset.el (frameset--restore-frame): When a frame is being reused
1439 and its root window is not alive, delete all the frame's windows before
1440 restoring the window state. This works around the issue in bug#16793.
1441
c863b6ad
GM
14422014-02-18 Glenn Morris <rgm@gnu.org>
1443
a73fae1f
GM
1444 * textmodes/remember.el (remember-data-directory)
1445 (remember-directory-file-name-format, remember-store-in-files)
1446 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1447 (remember-notes-save-and-bury-buffer)
1448 (remember-notes--kill-buffer-query): Doc fixes.
1449
c863b6ad
GM
1450 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1451
29238d28
AM
14522014-02-17 Alan Mackenzie <acm@muc.de>
1453
1454 Connect electric-indent-mode up with CC Mode. Bug #15478.
b28df58c 1455 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
29238d28 1456 to electric-indent-{,local-}-mode.
b28df58c
SM
1457 (c-basic-common-init): Set electric-indent-inhibit.
1458 Initialise c-electric-flag from electric-indent-mode.
29238d28 1459 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
b28df58c 1460 New hook functions which propagate electric-indent-mode to CC mode.
29238d28
AM
1461
1462 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
b28df58c 1463 hit, toggle electric-indent-local-mode.
29238d28 1464
b28df58c
SM
1465 * electric.el (electric-indent-mode-has-been-called):
1466 New variable.
29238d28 1467
c6463340
JB
14682014-02-17 Juanma Barranquero <lekktu@gmail.com>
1469
1470 * frameset.el (frameset-cfg-id): New function.
1471 (frameset--reuse-frame, frameset-restore): Use it.
1472 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1473
94912b88
SM
14742014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1475
1476 * ido.el (ido-file-internal): Remove unused var `d'.
1477 Use \` for to match BoS. Fit within 80n columns.
1478
26ea164c
DC
14792014-02-17 Daniel Colascione <dancol@dancol.org>
1480
1481 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1482 dbus-call-method check for completion using a busy-wait loop with
1483 gradual backoff.
1484
589d1988 14852014-02-16 Michael Albinus <michael.albinus@gmx.de>
dd7691b7
MA
1486
1487 Sync with Tramp 2.2.9.
1488
1489 * net/trampver.el: Update release number.
1490
17d1b51b
DG
14912014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1492
1493 * ido.el (ido-file-internal): Don't add the name of an existing
1494 directory twice. (Bug#16747)
1495
5bcad689
GM
14962014-02-16 Glenn Morris <rgm@gnu.org>
1497
1498 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1499 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1500
15012014-02-15 Michael R. Mauger <michael@mauger.com>
9b0c01f7
MM
1502
1503 * progmodes/sql.el: Version 3.4
1504 (sql-oracle-options): New default value ("-L").
94912b88 1505 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
9b0c01f7 1506 (sql-placeholders-filter): Correct placeholder pattern.
35e951cd 1507 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
9b0c01f7
MM
1508 (sql-login-delay): New variable.
1509 (sql-product-interactive): Use it.
1510
285f1858
JB
15112014-02-15 Juanma Barranquero <lekktu@gmail.com>
1512
1513 * frameset.el (frameset--jump-to-register): Check that buffer is live
1514 (bug#16749).
1515
5d645ea4
GM
15162014-02-15 Glenn Morris <rgm@gnu.org>
1517
1518 * info.el (info-initialize): Revert 2014-01-10 change.
1519
48c4f9b1
GM
15202014-02-14 Glenn Morris <rgm@gnu.org>
1521
b8630261
GM
1522 * replace.el (map-query-replace-regexp)
1523 (read-regexp-defaults-function, read-regexp): Doc fixes.
1524
b2bf2a25
GM
1525 * dired.el (dired-read-regexp):
1526 * faces.el (list-faces-display):
1527 * misearch.el (multi-isearch-read-matching-buffers)
1528 (multi-isearch-read-matching-files):
1529 * play/cookie1.el (cookie-apropos):
1530 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1531
48c4f9b1
GM
1532 * textmodes/remember.el (remember): Use frameset-to-register
1533 rather than frame-configuration-to-register.
1534
2804e0bd
JB
15352014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1536
1537 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1538 incorrect keybinding.
1539
0b87142f
DC
15402014-02-13 Daniel Colascione <dancol@dancol.org>
1541
1542 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1543 when adding overlays so that line numbers from compiler match line
1544 numbers we use.
1545
47a73eb0
GM
15462014-02-13 Glenn Morris <rgm@gnu.org>
1547
8abcfd51
GM
1548 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1549
47a73eb0
GM
1550 * jit-lock.el (jit-lock-mode): Doc fix.
1551
c9b6b262
JB
15522014-02-13 Juanma Barranquero <lekktu@gmail.com>
1553
1554 * apropos.el (apropos-read-pattern): When the user passes an empty
1555 string, give a more helpful error message than "Wrong type
1556 argument: stringp, nil".
1557
eb4c6947
SM
15582014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1561
0dab5068
GM
15622014-02-13 Glenn Morris <rgm@gnu.org>
1563
1564 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1565
59075dcf
SM
15662014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1569 shift-select commands.
1570
5af9fbad
DG
15712014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1572
1573 * progmodes/js.el (js-indent-line): Don't widen.
1574 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1575
a215930c
GM
15762014-02-12 Glenn Morris <rgm@gnu.org>
1577
a8cb4247
GM
1578 * icomplete.el (icomplete): Add info-link to defgroup.
1579 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1580 (icomplete-minibuffer-map, icomplete-mode)
1581 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1582
a215930c
GM
1583 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1584 (package-menu-filter): Rename from package-menu-filter-interactive.
1585 Doc fix.
1586
26c5ecd9
JB
15872014-02-11 Juanma Barranquero <lekktu@gmail.com>
1588
1589 * frameset.el (frameset--jump-to-register): Select the required
1590 window and buffer before restoring position (bug#16696).
1591
fcd58a02
LI
15922014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1593
1594 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1595
bacb3380
GM
15962014-02-10 Glenn Morris <rgm@gnu.org>
1597
1598 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1599
881329dc
EZ
16002014-02-10 Eli Zaretskii <eliz@gnu.org>
1601
02328db9
EZ
1602 * w32-common-fns.el (x-get-selection): Doc fix.
1603 * select.el (x-get-selection): Doc fix. (Bug#15109)
1604
881329dc
EZ
1605 * face-remap.el (face-remap-add-relative)
1606 (face-remap-remove-relative, face-remap-reset-base)
1607 (face-remap-set-base): Call force-mode-line-update to redisplay
1608 the current buffer due to potential change in faces. (Bug#16709)
1609
c7db4c06
MA
16102014-02-10 Michael Albinus <michael.albinus@gmx.de>
1611
1612 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1613 script more robustly.
1614
6abe4589
LI
16152014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1616
7602b5c3
LI
1617 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1618
e3692ee0
LI
1619 * simple.el (choose-completion): Doc fix (bug#14160).
1620
41015524
LI
1621 * subr.el (event-start): Say what a nil EVENT value means.
1622
87c79dcb
LI
1623 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1624 (bug#14197).
1625
3ab49e2c
LI
1626 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1627
f3c60241
LI
1628 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1629
3bd1d8a8
LI
1630 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1631
6abe4589
LI
1632 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1633 predicate function (bug#15455).
1634
a11463de
DG
16352014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1636
1637 * ielm.el (inferior-emacs-lisp-mode): Instead of
1638 `comment-use-global-state', set `comment-use-syntax'.
1639
2ab0ad85
GM
16402014-02-10 Glenn Morris <rgm@gnu.org>
1641
1642 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1643
411141fb
AM
16442014-02-09 Alan Mackenzie <acm@muc.de>
1645
1646 Fix c-invalidate-state-cache on narrowed buffers.
1647 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1648 Widen when setting and clearing the CPP delimiter properties.
1649
d6d5fdf8
LI
16502014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1651
92c70367
LI
1652 * help.el (describe-bindings): Doc fix (bug#9888).
1653
468ef484
LI
1654 * files.el (save-buffer): Use ARG as the parameter name for
1655 consistency (bug#10346).
7e34193f 1656 (save-buffer): Clarify the 0 argument (bug#10346).
468ef484 1657
fc2b1ffa 1658 * cus-edit.el (customize-apropos): Fix error string.
382fd368 1659 (custom-buffer-create): Doc fix (bug#11122).
1e4a57ac 1660 (custom-sort-items): Doc fix (bug#11121).
fc2b1ffa 1661
790aceec
LI
1662 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1663
a54a7552 1664 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
c359b7bd 1665 (icomplete-simple-completing-p): Mention the previous variable.
a54a7552 1666
dd163123
LI
1667 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1668 meaning of the parameter (bug#12282).
1669
9e108fe6
LI
1670 * files.el (find-file-noselect): Clarify prompt when changing
1671 readedness (bug#13261).
5a836f58
LI
1672 (locate-file): Suffixes aren't returned, so don't say that they
1673 are (bug#12674).
2356b316 1674 (backup-inhibited): Doc clarification (bug#12525).
9e108fe6 1675
20dda930
LI
1676 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1677 before we actually start to delete things (bug#16331).
1678
d6d5fdf8
LI
1679 * subr.el (event-start): Doc fix (bug#14228).
1680 (event-end): Ditto.
1681
2abd71e5
GM
16822014-02-09 Glenn Morris <rgm@gnu.org>
1683
1684 * emacs-lisp/warnings.el (lwarn):
1685 Empower help-enable-auto-load. (Bug#15940)
1686
c1b5900b
AS
16872014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1688
1689 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1690 (Bug#16690)
1691
429b93bd
MA
16922014-02-08 Michael Albinus <michael.albinus@gmx.de>
1693
1694 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1695 Insert output at end of buffer. (Bug#16120)
1696
b772a699
LI
16972014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1698
18c6aa8c
LI
1699 * simple.el (choose-completion-string-functions): Document new
1700 calling convention (bug#14153).
54dd147a 1701 (execute-extended-command): Clarify doc string (bug#13373).
18c6aa8c 1702
dce8463b
LI
1703 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1704
b772a699 1705 * find-dired.el (find-name-dired): Doc fix (bug#14290).
8aa76c93 1706 (find-grep-dired): Doc fix (bug#14288).
b772a699 1707
2423c8d5
JL
17082014-02-08 Juri Linkov <juri@jurta.org>
1709
1710 * isearch.el (isearch-quote-char): Check character validity
1711 like in `quoted-insert' (bug#16677).
1712
518f26c2
LI
17132014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1714
893cc908
LI
1715 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1716
9165ffc0
LI
1717 * isearch.el (isearch-hide-immediately): Doc clarification
1718 (bug#14723).
1719
6ef4f3ce
LI
1720 * simple.el (line-move): Document utility function used many
1721 places in the Emacs sources (bug#14843).
1722
be58a238 1723 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
8cff064c 1724 (dired-prev-marked-file): Doc fix (bug#14855).
574e477f 1725 (dired-up-directory): Doc fix (bug#14848).
be58a238 1726
dd7aafbb
LI
1727 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1728
15cb9968
LI
1729 * files.el (file-relative-name): Doc fix (bug#15159).
1730
9788effd
LI
1731 * fringe.el (fringe-styles): Doc fix (bug#15239).
1732
c96411bd
LI
1733 * isearch.el (isearch-filter-predicate): Documentation typo fix
1734 (bug#15474).
1735
ea838c36
LI
1736 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1737
0d8a4ae7
LI
1738 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1739
f7a17bb3
LI
1740 * replace.el (replace-match-maybe-edit): Doc clarification
1741 (bug#15632).
1742
1bde5c3b
LI
1743 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1744
518f26c2
LI
1745 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1746
dd8e49fd
GM
17472014-02-08 Glenn Morris <rgm@gnu.org>
1748
1749 * help-fns.el (describe-variable):
1750 Check {file,dir}-local-variables-alist, and buffer-file-name,
1751 in the correct buffer.
1752
7e088b29
IL
17532014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1754
1755 * help-fns.el (describe-variable): Fix the case where
1756 a value is directory-local with no dir-locals file. (Bug#16635)
1757
41a4a82f
GM
17582014-02-08 Glenn Morris <rgm@gnu.org>
1759
1760 * abbrev.el (edit-abbrevs-mode):
1761 Derive from fundamental-mode. (Bug#16682)
1762
e255a703
JB
17632014-02-07 Juanma Barranquero <lekktu@gmail.com>
1764
1765 * simple.el (quoted-insert): Check character validity (bug#16677).
1766
c99cf5ee
JL
17672014-02-07 Juri Linkov <juri@jurta.org>
1768
1769 * desktop.el (desktop-read): Claim the lock when the owner is not
1770 the current process. (Bug#16157)
1771
7d7a68d8
JL
17722014-02-07 Juri Linkov <juri@jurta.org>
1773
1774 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1775 to "\\` ". (Bug#16651)
1776
2b777cd9
JL
17772014-02-07 Juri Linkov <juri@jurta.org>
1778
1779 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1780 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1781 (desktop-auto-save-cancel-timer): New function with some code from
1782 `desktop-auto-save-set-timer'.
1783 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1784 Instead of setting `desktop-save-mode' to nil, call
1785 `desktop-save-mode' with arg 0. (Bug#16630)
1786
60eabbb9
GM
17872014-02-07 Glenn Morris <rgm@gnu.org>
1788
99cf3859
GM
1789 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1790 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1791 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1792
2b568bc9
GM
1793 * obsolete/iswitchb.el: Move to obsolete/.
1794 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1795 since obsolete/ is not scanned for autoloads.
1796 * emacs-lisp/authors.el (authors-valid-file-names):
1797 Add iswitchb.el.
1798
60eabbb9
GM
1799 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1800 Disable now non-functional find-file-hook.
1801
629de968
MA
18022014-02-06 Michael Albinus <michael.albinus@gmx.de>
1803
1804 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1805 instead of ";" in order to avoid additional prompts. Let heredoc
1806 scripts read from tty. (Bug#16582)
1807 (tramp-send-command): No special handling of heredocs, it isn't
1808 necessary anymore.
1809
29127376
SM
18102014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1813 with a space (bug#16664). Limit the symbols considered to the ones
1814 that are bound or fbound (bug#16646).
1815
79b6e0a9
GM
18162014-02-06 Glenn Morris <rgm@gnu.org>
1817
1818 * epa.el (epa-mail-aliases): Doc fix.
1819
a333e4d2
DG
18202014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1821
29127376
SM
1822 * emacs-lisp/lisp.el (lisp-completion-at-point):
1823 Use `completion-table-merge' instead of `completion-table-in-turn'
a333e4d2
DG
1824 (bug#16604).
1825
1826 * minibuffer.el (completion-table-merge): New function.
1827
9a83b32b
MA
18282014-02-05 Michael Albinus <michael.albinus@gmx.de>
1829
1830 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1831 (tramp-sh-handle-set-file-acl)
1832 (tramp-sh-handle-start-file-process)
1833 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1834 (tramp-find-executable, tramp-send-command): Use it.
1835
451ea3e6
GM
18362014-02-05 Glenn Morris <rgm@gnu.org>
1837
9a83b32b 1838 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
451ea3e6 1839
dd27d13b
FEG
18402014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1841
35e951cd 1842 * progmodes/python.el (python-shell-send-string)
dd27d13b
FEG
1843 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1844
08e41897
AL
18452014-02-04 Anders Lindgren <andlind@gmail.com>
1846
1847 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1848 the names (bug#16620).
1849
764ec9e5
MR
18502014-02-03 Martin Rudalics <rudalics@gmx.at>
1851
08e41897
AL
1852 * faces.el (window-divider): New default value. Rewrite doc-string.
1853 (window-divider-first-pixel, window-divider-last-pixel): New faces.
764ec9e5 1854
6da8227c
DG
18552014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1856
1857 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1858 `protected' and `public' can also be called without arguments.
1859
6a6b8e40
GM
18602014-02-03 Glenn Morris <rgm@gnu.org>
1861
7bcbca40
GM
1862 * register.el (window-configuration-to-register)
1863 (frame-configuration-to-register): Unadvertise unused argument.
1864 * frameset.el (frameset-to-register): Remove unused argument.
1865
719d965d 1866 * frameset.el (frameset-to-register):
6a6b8e40
GM
1867 * kmacro.el (kmacro-to-register):
1868 * register.el (increment-register):
1869 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1870 (calc-append-to-register, calc-prepend-to-register):
1871 * play/gametree.el (gametree-layout-to-register)
1872 (gametree-apply-register-layout):
1873 * textmodes/picture.el (picture-clear-rectangle-to-register)
1874 (picture-yank-rectangle-from-register):
1875 * vc/emerge.el (emerge-combine-versions-register):
1876 Use register-read-with-preview to read registers.
1877
5dca7759
JT
18782014-02-03 João Távora <joaotavora@gmail.com>
1879
1880 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1881 when at beginning of (possibly narrowed) buffer.
1882
709085b9
DC
18832014-02-02 Daniel Colascione <dancol@dancol.org>
1884
c295fc18 1885 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
08e41897 1886 Also try to display local help from just before point.
709085b9 1887
99f7b0a6
AM
18882014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1889
1890 c-parse-state. Don't "append-lower-brace-pair" in certain
1891 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1892 recognised as a comment.
1893
1894 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1895 as well as normal comment starter.
1896 (c-parse-state-get-strategy): Extra return possibility
1897 'back-and-forward.
1898 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1899 return value list to indicate replacement of a brace-pair cons
1900 with its car.
1901 (c-parse-state-1): With 'back-and-forward, only call
1902 c-append-lower-brace-pair-to state-cache when cons-separated.
1903
f0a10576
JD
19042014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1905
1906 * term/ns-win.el (ns-suspend-error): New function.
1907 (ns-initialize-window-system): Add ns-suspend-error to
1908 suspend-hook (Bug#16612).
1909
b8d552c2
DC
19102014-02-02 Daniel Colascione <dancol@dancol.org>
1911
35e951cd
JB
1912 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1913 Make loading cc-mode silent.
b8d552c2 1914
f2b7d123
DC
19152014-02-02 Daniel Colascione <dancol@dancol.org>
1916
35e951cd
JB
1917 * comint.el (comint-prompt-read-only): Change doc to suggest
1918 remap keybinding.
f2b7d123 1919
4472a196
GM
19202014-02-02 Glenn Morris <rgm@gnu.org>
1921
1922 * register.el (register-read-with-preview, point-to-register)
1923 (window-configuration-to-register, frame-configuration-to-register)
1924 (jump-to-register, number-to-register, view-register, insert-register)
1925 (copy-to-register, append-to-register, prepend-to-register)
1926 (copy-rectangle-to-register): Doc fixes.
1927
70e5a261
SM
19282014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1931 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1932 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1933 * help-fns.el (describe-function-1): Use it.
1934
7c324762
GM
19352014-02-02 Glenn Morris <rgm@gnu.org>
1936
1937 * register.el (register-preview-default): New function,
1938 split from register-preview.
1939 (register-preview-function): Rename from register-preview-functions,
1940 make it not a hook.
1941 (register-preview): Use register-preview-function.
1942 (register-read-with-preview): Error on non-character event. (Bug#16595)
1943
a09beb3d
DG
19442014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1945
1946 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1947 `:' before binary operators (bug#16609). Don't check for `:'
1948 before `[' and `(', or their syntax status. A percent literal
1949 can't end with either.
68e004e0
DG
1950 (ruby-font-lock-keywords): For built-ins that require arguments,
1951 check that they're followed by something that looks like argument
1952 (bug#16610).
a09beb3d 1953
ed4d2875
LI
19542014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1955
1956 * subr.el (butlast): Document what an omitted N means (bug#13437).
1957 (nbutlast): Ditto.
1958
dba6e3ec
LI
19592014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1960
1961 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1962 depth shallower (bug#16587).
cc477daa
LI
1963 (shr-tag-svg): Respect `shr-inhibit-images'.
1964 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
dba6e3ec 1965
e2a67bd0
DG
19662014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1967
1968 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1969 (ruby-smie-grammar): Make "." right-associative. Make its priority
1970 lower than the ternary and all binary operators.
1971 (ruby-smie-rules): Indent "(" relative to the first non-"."
70e5a261
SM
1972 parent, or the first "." parent at indentation.
1973 Use `ruby-align-chained-calls' for indentation of "." tokens.
e2a67bd0
DG
1974 (Bug#16593)
1975
bd21bf41
JL
19762014-01-31 Juri Linkov <juri@jurta.org>
1977
1978 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1979 from `make-hash-table'.
1980
1981 * textmodes/ispell.el (ispell-init-process): Change message format
1982 to be consistent with other messages.
1983
b7e615b9
GM
19842014-01-31 Glenn Morris <rgm@gnu.org>
1985
a69ecd19
GM
1986 * delsel.el (delete-selection-mode): Doc fix.
1987
9997d7e3
GM
1988 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1989 (trace-function-background): Doc fixes.
1990
fbb764b8
GM
1991 * ido.el (ido-use-virtual-buffers): Doc fix.
1992 Reset :version, since the default value has not changed.
1993
da942af1
GM
1994 * register.el (register-preview-delay, register-read-with-preview):
1995 Doc fixes.
1996
b7e615b9
GM
1997 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1998 do not mess with mail-buffer position (fixes 2009-11-03 change).
1999 * progmodes/cc-mode.el (c-submit-bug-report):
2000 Check auto-fill-mode is bound. (Bug#16592)
2001
0a25002d
DH
20022014-01-31 Darren Hoo <darren.hoo@gmail.com>
2003
2004 * startup.el (fancy-splash-image-file): New function,
2005 split from fancy-splash-head.
2006 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2007 so that we are both using the same image. (Bug#16574)
2008
ad78f432
GM
20092014-01-30 Glenn Morris <rgm@gnu.org>
2010
6bbc0c84
GM
2011 * simple.el (eval-expression): Doc fix.
2012
ad78f432
GM
2013 * hexl.el (hexl-mode-hook):
2014 * ielm.el (ielm-mode-hook):
2015 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2016 (lisp-interaction-mode-hook):
2017 * progmodes/cfengine.e (cfengine3-documentation-function):
2018 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2019
7b2f049c
SM
20202014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2023 is a symbol (bug#16584).
2024
0c633f13
GM
20252014-01-30 Glenn Morris <rgm@gnu.org>
2026
2027 * help.el (help-for-help-internal): Add "P" to text.
2028
5e61c1ef
GM
20292014-01-29 Glenn Morris <rgm@gnu.org>
2030
2031 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2032
1dcb169c
MR
20332014-01-28 Martin Rudalics <rudalics@gmx.at>
2034
2035 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2036 height constraints.
2037
a9128931
LL
20382014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2039
2040 * progmodes/hideif.el: Extend to full CPP expression syntax.
2041 (hif-token-alist): Add missing tokens.
2042 (hif-token-regexp): Add support for float/octal/hex immediates.
2043 (hif-string-literal-regexp): New const.
2044 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2045 (hif-exprlist): New function.
2046 (hif-parse-if-exp): Use it.
2047 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2048 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2049 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2050 (hif-logxor, hif-comma): New functions.
2051
a22359a7
GM
20522014-01-28 Glenn Morris <rgm@gnu.org>
2053
793ffe81
GM
2054 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2055
e3bd7eed
GM
2056 * indent.el (tab-stop-list): Doc fix. Add :version.
2057
a22359a7
GM
2058 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2059 (cvs-append-to-ignore): Add compatibility alias.
2060
52695556 20612014-01-27 Glenn Morris <rgm@gnu.org>
d269bb99 2062
bac524e0
GM
2063 * dired.el (dired-hide-details-mode): Don't autoload it,
2064 since it cannot be used outside Dired buffers anyway.
2065
52695556 2066 * emulation/cua-base.el (cua-mode): Doc fix.
d269bb99 2067
52695556
GM
2068 * dired.el (dired-hide-details-hide-symlink-targets)
2069 (dired-hide-details-hide-information-lines)
2070 (dired-hide-details-mode): Doc fixes.
ece4bae5
GM
2071
2072 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2073 * strokes.el (strokes-file): Doc fix. Bump :version.
2074 (strokes-help): Doc fix.
2075 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2076 * emulation/viper.el (viper): Doc fix for custom group.
2077 (top-level): Remove oh-so-no-longer-relevant text about vip.
2078 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2079
2080 * ido.el (ido-save-directory-list-file):
2081 * saveplace.el (save-place-file):
2082 * calendar/timeclock.el (timeclock-file):
2083 * net/quickurl.el (quickurl-url-file):
2084 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2085 * progmodes/idlwave.el (idlwave-config-directory):
2086 * textmodes/remember.el (remember-data-file):
2087 Bump :version.
2088
169d6004
GM
20892014-01-26 Glenn Morris <rgm@gnu.org>
2090
de6a923b
GM
2091 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2092 Doc fix. Make obsolete.
2093 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2094
169d6004
GM
2095 * sort.el (delete-duplicate-lines): Doc fix.
2096
ed85dee6
RS
20972014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2098
2099 * progmodes/ada-mode.el (ada):
2100 * woman.el (woman): Link to info manual and Commentary section.
2101
2102 * progmodes/flymake.el (flymake):
2103 * nxml/nxml-mode.el (nxml):
2104 * net/eww.el (eww):
2105 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2106 * htmlfontify.el (htmlfontify):
2107 * ses.el (ses):
2108 * epa.el (epa):
2109 * ido.el (ido): Link to info manual.
2110
e0c67e1d
LL
21112014-01-25 Leo Liu <sdl.web@gmail.com>
2112
2113 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2114
35408b1a
AS
21152014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2116
2117 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2118 (bug#16537).
2119
11eff3ae 2120>>>>>>> MERGE-SOURCE
76c3fa95
JB
21212014-01-24 Juanma Barranquero <lekktu@gmail.com>
2122
f77c7a99
JB
2123 * net/eww.el (eww-download-callback):
2124 Fix reference to eww-download-directory.
2125
76c3fa95
JB
2126 * emacs-lisp/bytecomp.el (byte-compile-file):
2127 Remove unused local variable `file-name'.
2128
1e548e40
GM
21292014-01-24 Glenn Morris <rgm@gnu.org>
2130
03f3b318
GM
2131 * woman.el (woman-default-faces, woman-monochrome-faces):
2132 Fix obsolescence specification.
2133
1e548e40
GM
2134 * subr.el (with-demoted-errors): Doc fix.
2135
d4f0427b
SM
21362014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2139 (cl--macroexp-fboundp): New function.
2140 (cl--make-type-test): Use it.
2141
1670e27f
GM
21422014-01-23 Glenn Morris <rgm@gnu.org>
2143
2144 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2145 * simple.el (eval-expression): Doc fixes.
2146
80efa207
GM
21472014-01-22 Glenn Morris <rgm@gnu.org>
2148
2149 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2150
29afcbab
SM
21512014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * emacs-lisp/package.el: Write files silently.
2154 (package-autoload-ensure-default-file, package--write-file-no-coding)
2155 (package-generate-description-file, package--download-one-archive)
2156 (package-install-from-archive): Tell `write-region' to stay quiet.
2157 (package-menu-mode, package-menu--print-info): Omit the Archive column
2158 if there's only one archive.
2159 (package-all-keywords, package--has-keyword-p): Remove dead code.
2160
2a5bce4f
GM
21612014-01-22 Glenn Morris <rgm@gnu.org>
2162
edace89f
GM
2163 * version.el (emacs-bzr-version-bzr): Fix typo.
2164
2a5bce4f
GM
2165 * version.el (emacs-repository-get-version):
2166 Check either .bzr or .git, but not both.
2167 Make the git case actually use the DIR argument, and return nil
2168 rather than the empty string.
983664c0 2169 Avoid error if .git exists but the git executable is not found.
2a5bce4f 2170
6cb4da45
MR
21712014-01-22 Martin Rudalics <rudalics@gmx.at>
2172
2173 Fixes in window size functions around Bug#16430 and Bug#16470.
29afcbab
SM
2174 * window.el (window-total-size, window-size): New argument ROUND.
2175 (window--min-delta-1, window-min-delta, window--max-delta-1):
2176 Be more conservative when calculating the numbers of lines or
6cb4da45
MR
2177 columns a window can shrink (Bug#16430).
2178 (fit-window-to-buffer): Simplify code.
2179 * term.el (term-window-width): Call window-body-width again.
2180
cc0f2ece
GM
21812014-01-22 Glenn Morris <rgm@gnu.org>
2182
7b997b14
GM
2183 * image.el (image-format-suffixes): Doc fix.
2184
44e76f9d
GM
2185 * international/quail.el (quail-define-package): Doc fix.
2186
35e951cd 2187 * emacs-lisp/authors.el (authors-valid-file-names)
73c1c6d7 2188 (authors-renamed-files-alist): Additions.
7bfc1caa 2189
85a5f61f
GM
2190 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2191 reverts 2014-01-09 change. (Bug#16422)
2192
cc0f2ece
GM
2193 * calc/calc-embed.el (thing-at-point-looking-at):
2194 * emacs-lisp/map-ynp.el (x-popup-dialog):
2195 * obsolete/lmenu.el (x-popup-dialog):
2196 * emacs-lisp/package.el (url-recreate-url):
2197 * mail/mailclient.el (clipboard-kill-ring-save):
2198 * subr.el (x-popup-dialog): Update declaration.
2199 * mail/rmail.el (rmail-mime-message-p):
2200 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2201
00d2a6bb
DC
22022014-01-21 Daniel Colascione <dancol@dancol.org>
2203
2204 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2205 Correctly detect when we're inside an arithmetic expansion form
2206 containing nested parenthesis.
c295fc18 2207 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
00d2a6bb
DC
2208 to detect cases where we shouldn't expand "<<" to a heredoc
2209 skeleton.
2210
dd9d2e9d
SM
22112014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2214 (eldoc--message-command-p): New function.
2215 (eldoc-display-message-p): Use it.
2216 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2217 message is not automatically erased for us.
2218 (eldoc-print-current-symbol-info): Erase previous message, if any.
2219
e7d807ca
TH
22202014-01-21 Tassilo Horn <tsdh@gnu.org>
2221
4ff0a0e5
TH
2222 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2223 specify it's an interactive function.
2224
dd9d2e9d
SM
2225 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2226 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
2227 citations with optional arguments.
2228
87503791
LL
22292014-01-21 Leo Liu <sdl.web@gmail.com>
2230
2231 * simple.el (read--expression): Don't enable eldoc-mode.
2232
6cc750ee
SM
22332014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * simple.el (move-beginning-of-line): Make sure we don't move forward
2236 (bug#16497).
2237
71f16bda
JL
22382014-01-20 Juri Linkov <juri@jurta.org>
2239
2240 * saveplace.el (toggle-save-place, save-place-to-alist)
2241 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2242 'dired-mode) before checking for dired-directory. (Bug#16477)
2243
3c5a4839
JL
22442014-01-20 Juri Linkov <juri@jurta.org>
2245
2246 * indent.el (indent-line-to): Use backward-to-indentation
2247 instead of back-to-indentation. (Bug#16461)
2248
f952002e
PE
22492014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2250
2251 Revert some of the CANNOT_DUMP fix (Bug#16494).
2252 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2253 but fixing this can wait until after the next release.
2254 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2255
93675500
MA
22562014-01-19 Michael Albinus <michael.albinus@gmx.de>
2257
2258 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2259 Use `password-word-equivalents'.
2260 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2261 to t. (Bug#5664, Bug#13124)
2262
e3af763f
AM
22632014-01-19 Alan Mackenzie <acm@muc.de>
2264
2265 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2266 points.
2267 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3fcfc4ee 2268 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
e3af763f
AM
2269 * progmodes/cc-mode.el (c-before-change, c-after-change)
2270 (c-font-lock-fontify-region): Bind it here.
2271
4ff6d92d
MR
22722014-01-19 Martin Rudalics <rudalics@gmx.at>
2273
2274 * term.el (term-window-width): Call window-text-width instead of
2275 window-width (Bug#16470).
2276
9a685cf6
PE
22772014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2278
2279 * simple.el (password-word-equivalents): Remove duplicates.
2280 Sort, to make this easier next time.
2281 Downcase. Omit ": " after "jelszó".
2282
5aa78c2d
JD
22832014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2284
2285 * term/common-win.el (saved-region-selection): Defvar it.
2286 (x-select-text): Set saved-region-selection (Bug#16382).
2287
cabb250c
GM
22882014-01-18 Glenn Morris <rgm@gnu.org>
2289
2290 * emacs-lisp/authors.el (authors-aliases)
2291 (authors-renamed-files-alist): Add some entries.
2292
a1340440
MA
22932014-01-17 Michael Albinus <michael.albinus@gmx.de>
2294
93675500
MA
2295 * net/tramp.el (tramp-password-prompt-regexp):
2296 Use `password-word-equivalents' if available.
a1340440
MA
2297 (tramp-action-password, tramp-process-one-action)
2298 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2299
681ce5d2
CY
23002014-01-17 Chong Yidong <cyd@gnu.org>
2301
2302 * simple.el (password-word-equivalents): New defcustom.
2303 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2304 to 24.4.
2305 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2306 to t. (Bug#13124)
2307
fb3d479c
DG
23082014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2309
2310 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
2311 (ruby-align-to-stmt-keywords): Change the default value.
2312 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
2313 choices.
2314 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2315 keywords, check against the value of `ruby-alignable-keywords'
2316 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2317
0d613483
GM
23182014-01-17 Glenn Morris <rgm@gnu.org>
2319
fc23fe2d
GM
2320 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2321
0d613483 2322 Make M-x authors return zero *Authors Errors* from current logs.
35e951cd 2323 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
0d613483
GM
2324 (authors-ignored-files): Add some entries, remove others.
2325 (authors-ambiguous-files, authors-valid-file-names):
2326 Add some entries.
2327 (authors-renamed-files-alist): Add, remove, and adjust entries.
2328 (authors-renamed-files-regexps): Add some entries.
2329 Remove some very broad ones. Make some entries `lax'.
2330 (authors-lax-changelogs): New constant.
2331 (authors-disambiguate-file-name): Treat top-level specially.
2332 (authors-lax-changelog-p): New function.
2333 (authors-canonical-file-name): Check file as written against
2334 authors-valid-file-names. Do not special-case etc/.
2335 Handle `lax' logs and authors-renamed-files-regexps elements.
2336
2dbf4ffd
DG
23372014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2338
2339 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
2340 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2341 callers.
2dbf4ffd 2342
87b2a7f2
SM
23432014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2346 Assume we're already in the proper buffer.
2347 Inspired by Anders Lindgren <andlind@gmail.com>.
2348 (follow-post-command-hook): Call it from the right buffer.
2349 (follow-comint-scroll-to-bottom): Adjust call.
2350 (follow-all-followers): Use get-buffer-window-list.
2351
93acfb0e
DC
23522014-01-15 Daniel Colascione <dancol@dancol.org>
2353
2354 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2355 `buffer-file-name' in interactive-form so that we don't leave
2356 pathless file names in `file-name-history'.
2357
ccc6b208
JL
23582014-01-15 Juri Linkov <juri@jurta.org>
2359
2360 * indent.el (indent-rigidly): Set deactivate-mark to nil
2361 in transient indentation mode. (Bug#16438)
2362
5c92e00d
DG
23632014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2364
2365 * emacs-lisp/package.el (package-desc-keywords): New function
2366 (Bug#16222).
2367 (describe-package-1, package-all-keywords)
2368 (package--has-keyword-p): Use it.
2369
dac69660
NR
23702014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2371
2372 * simple.el (define-alternatives): When creating the
2373 COMMAND-alternatives variable, assign COMMAND as its definition
2374 name so that `describe-variable' can relocate it.
2375
8b63edf8
ML
23762014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2377
2378 * font-lock.el (font-lock-keywords): Fix typo in docstring
2379 (bug#16307).
2380
c6a0b8eb
AM
23812014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2382
2383 * ispell.el (ispell-region): Reset `in-comment' for new line
2384 instead of wrongly reset `add-coment' (bug#13577).
2385
02bf443d
DU
23862014-01-14 Daiki Ueno <ueno@gnu.org>
2387
2388 * epa-file.el (epa-file-write-region): Encode the region according
2389 to `buffer-file-format'. Problem reported at:
2390 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2391
fd7fde15
SM
23922014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2395 so it applies in the right buffer (bug#16410).
2396
c176054f
DC
23972014-01-13 Daniel Colascione <dancol@dancol.org>
2398
2399 * textmodes/rst.el (rst-define-key): Provide deprecated
2400 keybindings through named functions instead of anonymous ones so
2401 that "??" doesn't appear in describe-mode output.
2402
e3f33e5d
BG
24032014-01-13 Bastien Guerry <bzg@gnu.org>
2404
2405 * simple.el (define-alternatives): Call the selected command
2406 interactively. When setting `COMMAND--implementation' for the
2407 first time, tell the user how to chose another implementation.
2408 Enhance the docstring.
2409
c055d654
SM
24102014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2413 (log-edit--match-first-line): New function.
2414 (log-edit-font-lock-keywords): Use it.
2415 (log-edit-mode): Make jit-lock-defer-multiline work.
2416
d791cc3b
BG
24172014-01-13 Bastien Guerry <bzg@gnu.org>
2418
2419 * rect.el (rectangle-mark-mode): When the region is not active,
2420 display a message saying that the mark as been set and that
2421 rectangle mode is in use.
2422 (rectangle--highlight-for-redisplay): Only put an overlay with a
2423 visible vertical bar when (display-graphic-p) is non-nil.
2424 This partially fixes Bug#16403.
2425
3c0c4562
JL
24262014-01-13 Juri Linkov <juri@jurta.org>
2427
2428 * info.el (Info-find-file): Go to DIR before displaying the error
2429 about a nonexistent file if no previous Info file is visited.
2430 Use `user-error' instead of `error' for "Info file %s does not exist".
2431 (Info-find-node-2): In case of a nonexistent node in unwind forms
2432 go to the Top node if there is no previous node to revert to.
2433 (Bug#16405)
2434
25a700d0
MR
24352014-01-13 Martin Rudalics <rudalics@gmx.at>
2436
2437 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
2438 * window.el (fit-frame-to-buffer): Fix doc-string.
2439 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
2440 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2441 when avoiding that frame goes partially off-screen.
2442 (fit-window-to-buffer): Respect window-min-height/-width
2443 (Bug#14096).
2444
6ae948d8
SM
24452014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2448 after an empty line.
2449
6137cb82
SM
24502014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2451
2452 * net/shr.el (shr-render-region): Autoload.
2453
e6344e17
XF
24542014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2455
2456 * net/eww.el (eww-download-directory): Rename from
2457 `eww-download-path' (Bug#16419).
2458
3b922c70
LL
24592014-01-12 Leo Liu <sdl.web@gmail.com>
2460
2461 * dired-x.el (dired-mode-map): Fix last change.
2462
2463 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2464
4fa51741
PE
24652014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2466
2467 Spelling fixes.
2468 * emacs-lisp/generic.el (generic--normalize-comments):
2469 Rename from generic--normalise-comments. All uses changed.
35e951cd 2470 * play/bubbles.el (bubbles--neighborhood-score)
4fa51741
PE
2471 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2472 (bubbles--neighborhood-available)
2473 (bubbles--update-neighborhood-score):
2474 Rename from names with 'neighbourhood'. All uses changed.
2475
9b335362
LL
24762014-01-12 Leo Liu <sdl.web@gmail.com>
2477
2478 Re-implement the feature of showing eldoc info after editing.
2479 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2480 (eldoc-edit-message-commands): New function.
2481 (eldoc-print-after-edit): New variable.
2482 (eldoc-pre-command-refresh-echo-area): Emit message only by
2483 eldoc-message-commands.
2484 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2485 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 2486 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 2487 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 2488
e2a095b1
GM
24892014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2490 Eric S. Raymond <esr@thyrsus.com>
9685190b 2491
841a6d0c 2492 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 2493 function works correctly in either a Bazaar or Git repo.
0abf4134 2494
e2a095b1
GM
24952014-01-11 Eric S. Raymond <esr@thyrsus.com>
2496
6137cb82
SM
2497 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2498 Goes with removal of the joke manpages from /etc.
9685190b 2499
c295fc18 25002014-01-10 Kenichi Handa <handa@gnu.org>
3923e7bd 2501
6137cb82
SM
2502 * mail/rmail.el (rmail-get-coding-system):
2503 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 2504
d2f16e93
GM
25052014-01-10 Glenn Morris <rgm@gnu.org>
2506
2507 * emacs-lisp/authors.el (authors-fixed-entries):
2508 Update for files that no longer exist.
2509
7e03bb32
ER
25102014-01-10 Eric S. Raymond <esr@thyrsus.com>
2511
2512 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 2513 24.3 (Tested).
7e03bb32 2514
dd806710
BB
25152014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2516
2517 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2518 and Podfile.
2519
ed6ec139
EZ
25202014-01-10 Eli Zaretskii <eliz@gnu.org>
2521
2522 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2523
cc33cac9
CY
25242014-01-10 Chong Yidong <cyd@gnu.org>
2525
6137cb82 2526 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 2527
d9d836b5
AL
25282014-01-10 Anders Lindgren <andlind@gmail.com>
2529
2530 * follow.el (follow-cache-command-list): Include right-char and
2531 left-char.
2532
06827ec8
PE
25332014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2534
2535 Spelling fixes.
2536 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2537 * woman.el (woman-mark-horizontal-position):
2538 Rename from woman-mark-horizonal-position. Use changed.
2539
458dbf5e
GM
25402014-01-10 Glenn Morris <rgm@gnu.org>
2541
dad6fae7
GM
2542 * info.el (info-initialize): If running uninstalled, ensure our
2543 own info files are always found first, even if INFOPATH is set.
2544
458dbf5e
GM
2545 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2546
05e0afce
DE
25472014-01-09 David Engster <deng@randomsample.de>
2548
2549 * emacs-lisp/eieio-custom.el:
2550 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2551 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2552 * emacs-lisp/eieio.el: Regenerate autoloads.
2553
f29778b3
ER
25542014-01-09 Eric S. Raymond <esr@thyrsus.com>
2555
2556 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 2557 following renames. (Bug#8756)
f29778b3 2558
684d44ef
SM
25592014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2562 (bug#16382).
2563 (activate-mark): Add `no-tmm' argument.
2564 (set-mark, push-mark-command): Use it instead of running
2565 activate-mark-hook by hand.
2566
9475054f
ER
25672014-01-08 Eric S. Raymond <esr@thyrsus.com>
2568
2569 In preparation for the move to git, sanitize out some
2570 Bazaar-specific names.
2571
38942b9c
GM
2572 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2573
9475054f 2574 * version.el (emacs-bzr-version): Name changed to
689c9ca5 2575 emacs-repository-version. Obsolete-variable alias made.
9475054f 2576 * loadup.el: Follow through on this name change.
a12bf61e 2577 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
2578 assumption about the version control system in use.
2579
0f918d96 25802014-01-08 David Engster <deng@randomsample.de>
abb82152 2581
684d44ef
SM
2582 * help-fns.el (help-fns-describe-function-functions):
2583 New variable to call functions for augmenting help buffers.
abb82152
DE
2584 (describe-function-1): Remove explicit calls to
2585 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
2586 `help-fns--obsolete'. Put them in above new variable instead, and
2587 call them through `run-hook-with-args'.
2588 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2589 `eieio-describe-class'. Not meant for interactive use anymore,
2590 but to augment existing help buffers. Remove optional second
684d44ef
SM
2591 argument. Create proper button for file location.
2592 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
2593 possible.
2594 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2595 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
2596 (describe-method, describe-generic, eieio-describe-method):
2597 Remove aliases.
0f918d96
DE
2598 (eieio-help-constructor, eieio-help-generic): Rename from
2599 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2600 Rewrite to use `insert' in the current buffer and use proper help
2601 buttons.
2602 (eieio-help-find-method-definition)
2603 (eieio-help-find-class-definition): Also accept symbols as
2604 arguments.
2605 (eieio-help-mode-augmentation-maybee): Remove.
2606 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
2607 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2608 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 2609
136b74c5
PE
26102014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2611
2612 Spelling fixes.
2613 * language/china-util.el (hz-ascii-designation):
2614 Rename from hz-ascii-designnation.
2615 (hz-ascii-designation): Rename from hz-ascii-designnation.
2616 All uses changed.
2617
ec6c7de2
SM
26182014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2621 package-alist.
2622
d6262c7c
BG
26232014-01-08 Bastien Guerry <bzg@gnu.org>
2624
4b9e6087
GM
2625 * emacs-lisp/package.el (package-delete):
2626 Correctly delete the package from package-alist.
d6262c7c 2627
0a3eec32
DU
26282014-01-08 Daiki Ueno <ueno@gnu.org>
2629
2630 * emacs-lisp/package.el (url-recreate-url): Declare.
2631 (url-http-target-url): Declare.
4b9e6087 2632 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
2633 (package--check-signature): Don't re-signal errors from
2634 package--with-work-buffer. Suggested by Stefan Monnier.
2635
68f0bb97
BG
26362014-01-07 Bastien Guerry <bzg@gnu.org>
2637
2638 * minibuffer.el (completion--try-word-completion): When both a
2639 hyphen and a space are possible candidates for the character
2640 following a word, display both candidates. (Bug#15980)
2641
7e1899d7
MR
26422014-01-07 Martin Rudalics <rudalics@gmx.at>
2643
2644 * window.el (balance-windows-2): While rounding don't give a
c295fc18 2645 window more than the remainder. Bug#16351, bug#16383.
7e1899d7 2646
0030ec15
GM
26472014-01-07 Glenn Morris <rgm@gnu.org>
2648
2649 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2650 (menu-bar-help-menu): Use view-external-packages instead.
2651
2b6b4f20
BG
26522014-01-07 Bastien Guerry <bzg@gnu.org>
2653
2654 * emacs-lisp/package.el (package-delete): Also delete the package
2655 name from `package-alist', not its description only.
2656
e9be0a13
GM
26572014-01-07 Glenn Morris <rgm@gnu.org>
2658
2659 * help.el (view-external-packages):
2660 * menu-bar.el (menu-bar-help-extra-packages):
2661 Visit efaq.info rather than etc/MORE.STUFF.
2662
e4f74da9
JL
26632014-01-07 Juri Linkov <juri@jurta.org>
2664
2665 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2666 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2667
2668 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2669 that shadows RET. (Bug#16342)
2670
de7ce2d1
CY
26712014-01-07 Chong Yidong <cyd@gnu.org>
2672
2673 * isearch.el (isearch-yank-char, isearch-yank-word)
2674 (isearch-yank-line): Doc fix.
2675
6bdd9204
SM
26762014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2677
2678 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2679 * emacs-lisp/elint.el (elint-find-builtins):
2680 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2681 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2682 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2683 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2684 * apropos.el (apropos-safe-documentation):
2685 * subr.el (symbol-file): Remove redundant fboundp.
2686 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2687
daccca97
BG
26882014-01-06 Bastien Guerry <bzg@gnu.org>
2689
2690 * hl-line.el (global-hl-line-overlay): Make a local variable.
2691 (global-hl-line-overlays): New variable to store all overlays.
2692 (global-hl-line-mode): Don't delete overlays from the current
2693 buffer when `global-hl-line-sticky-flag' is non-nil.
2694 (global-hl-line-highlight): Add new overlays to
2695 `global-hl-line-overlays'.
2696 (global-hl-line-unhighlight-all): New function to delete all
2697 overlays when turning off `global-hl-line-mode'.
2698 This fixes Bug#16183.
2699
ec00f20f
SM
27002014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * subr.el (set-transient-map): Fix nested case and docstring.
2703
a0031f97
TH
27042014-01-06 Tassilo Horn <tsdh@gnu.org>
2705
2706 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2707 `Texinfo' entry.
2708
bf6a77f3
DC
27092014-01-06 Daniel Colascione <dancol@dancol.org>
2710
2711 Fix defun navigation in vc log view.
2712
2713 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2714 like `beginning-of-defun'.
c295fc18 2715 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
ec00f20f
SM
2716 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2717 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 2718 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 2719 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 2720
d5081c1e
PE
27212014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2722
2723 Spelling fixes.
2724 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2725 * emacs-lisp/debug.el (cancel-debug-on-entry):
2726 * epg.el (epg-error-to-string):
2727 * files.el (recover-file):
2728 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2729 * mail/emacsbug.el (report-emacs-bug-hook):
2730 * mail/sendmail.el (mail-recover):
2731 * ses.el (ses-yank-resize):
2732 * term/ns-win.el (ns-print-buffer):
2733 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2734 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2735 All uses changed.
2736 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2737
53f6b148
LL
27382014-01-06 Leo Liu <sdl.web@gmail.com>
2739
2740 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 2741 to avoid shadowing global key. (Bug#16354)
53f6b148 2742
b82ace2f
DC
27432014-01-06 Daniel Colascione <dancol@dancol.org>
2744
2745 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2746 rst-mode.
2747
3669b636
MR
27482014-01-05 Martin Rudalics <rudalics@gmx.at>
2749
2750 * window.el (balance-windows): Add mising t to fix Bug#16351.
2751
1a29adc2
LMI
27522014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2753
2754 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2755 (bug#16285).
3d95a0f4
LMI
2756 (shr-insert): If we have a word that's longer than `shr-width',
2757 break after it anyway. Otherwise we'll do no breaking once we get
2758 such a long word.
1a29adc2 2759
f4018140
KN
27602014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2761
3fcfc4ee 2762 * net/eww.el (eww): Support single/double quote for search.
c295fc18 2763 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
189340f5
KN
2764 (eww-history-quit): Delete and use quit-window.
2765 (eww-history-kill): Delete, because it doesn't work well and
2766 not necessary.
2767 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 2768
4e619754
PE
27692014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2770
73dbf960
PE
2771 Fix misspelling of 'chinese' in rx (Bug#16237).
2772 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2773 chinese-two-byte.
2774
4e619754
PE
2775 Change subword regexps back to vars (Bug#16296).
2776 * progmodes/subword.el (subword-forward-regexp)
2777 (subword-backward-regexp): Change these back to variables.
2778
e18b70fc
SM
27792014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2782 syntax-begin-function (bug#16247).
2783
0d53f628
CY
27842014-01-03 Chong Yidong <cyd@gnu.org>
2785
2786 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2787 (advice--docstring): Delete variable.
2788 (advice--make-1): Leave the docstring empty.
2789 (advice-add): Use function-documentation for advised docstring.
2790
2791 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2792 Ignore function-documentation property when getting documentation.
2793 (ad-activate-advised-definition): Use function-documentation
2794 generate the docstring.
2795 (ad-make-advised-definition): Don't call
2796 ad-make-advised-definition-docstring.
2797 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2798 Delete functions.
2799
2800 * progmodes/sql.el (sql-help): Use function-documentation instead
2801 of dynamic-docstring-function property. No need to autoload now.
2802 (sql--help-docstring): New variable.
2803 (sql--make-help-docstring): Use it.
2804
6f547583
SM
28052014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2806
6ef9aed8
SM
2807 * ielm.el (ielm-tab): Retarget.
2808 (ielm-map): Use ielm-tab for tab.
2809 (ielm-complete-filename): Use comint-filename-completion.
2810 (ielm-complete-symbol): Remove.
2811 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2812 remove ielm-tab from completion-at-point-functions (bug#16224).
2813
6f547583
SM
2814 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2815 Beware signals raised by predicates (bug#16201).
2816
a574edbe
RS
28172014-01-02 Richard Stallman <rms@gnu.org>
2818
e831604d
RS
2819 * dired-aux.el (dired-do-print): Handle printer-name.
2820
6f547583
SM
2821 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2822 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
2823 (rmail-epa-decrypt): Turn off mime processing.
2824
3fcfc4ee 2825 * mail/rmail.el (rmail-make-in-reply-to-field):
a574edbe
RS
2826 Add parens in message-id.
2827
2828 * mail/rmail.el (rmail-get-coding-function): Variable.
2829 (rmail-get-coding-system): Use it.
2830
04311a16
KH
28312013-12-31 Eli Zaretskii <eliz@gnu.org>
2832
2833 * international/mule-conf.el: Unify the charset indian-is13194.
2834 (indian-is13194): Specify unify-map.
2835
c8d89778
LL
28362013-12-31 Leo Liu <sdl.web@gmail.com>
2837
2838 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2839
e63ace37
DC
28402013-12-30 Daniel Colascione <dancol@dancol.org>
2841
9e0bf19a
DC
2842 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2843 of printing a useless when we resume from sleep.
2844
e63ace37 2845 * progmodes/sh-script.el
c295fc18 2846 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
e63ace37
DC
2847 in indentation code. (Bug#16233)
2848
e9d6c46a
JT
28492013-12-28 João Távora <joaotavora@gmail.com>
2850
6f547583
SM
2851 * elec-pair.el (electric-pair-post-self-insert-function):
2852 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 2853
bf7bea5d
EZ
28542013-12-28 Eli Zaretskii <eliz@gnu.org>
2855
2856 * frame.el (window-system-for-display): Don't allow to create a
2857 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2858
8449dd1f
GM
28592013-12-28 Glenn Morris <rgm@gnu.org>
2860
9c5a5c77
GM
2861 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2862 Update callers.
2863
2864 * apropos.el (apropos-match-face):
2865 * calculator.el (calculator-displayer):
2866 * dabbrev.el (dabbrev-search-these-buffers-only):
2867 * face-remap.el (buffer-face-mode-face):
2868 * simple.el (yank-handled-properties):
2869 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2870 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2871 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2872 (hashcash-double-spend-database):
2873 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2874 (ruby-deep-indent-paren-style):
2875 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2876 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2877 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2878 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2879 Specify custom types.
2880
bb098075
GM
2881 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2882 * bookmark.el (bookmark-bmenu-use-header-line):
2883 * doc-view.el (doc-view-scale-internally):
2884 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2885 * register.el (register-preview-delay):
2886 * net/shr.el (shr-bullet):
2887 * progmodes/cfengine.el (cfengine-cf-promises)
2888 (cfengine-parameters-indent):
2889 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2890 * textmodes/reftex-vars.el (reftex-label-regexps):
2891 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2892
9c61f806
GM
2893 * net/tls.el (tls-certtool-program): Fix default value.
2894
2895 * desktop.el (desktop-restore-in-current-display):
2896 * newcomment.el (comment-empty-lines):
2897 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2898 (idlwave-pad-keyword):
2899 * progmodes/tcl.el (tcl-tab-always-indent):
2900 * textmodes/reftex-vars.el (reftex-index-default-tag):
2901 * elec-pair.el (electric-pair-skip-whitespace):
2902 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2903
8449dd1f
GM
2904 * emacs-lisp/authors.el (authors-ignored-files)
2905 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2906
fdadeb49
JC
29072013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2908
72140a0f
GM
2909 * shell.el (shell-dynamic-complete-command): Doc fix.
2910 (shell--command-completion-data): Shell completion now matches
2911 executable filenames from the current buffer's directory, on
da5ecfa9 2912 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 2913
e572a7d8
LI
29142013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2915
2916 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2917
7514d3f8
SM
29182013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2919
a4151f3b
SM
2920 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2921 (bug#16251).
2922
7514d3f8
SM
2923 * electric.el: Move all electric-pair-* to elec-pair.el.
2924 * elec-pair.el: New file, split from electric.el.
2925
ac5758d1
LI
29262013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2927
2928 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2929 indentation level is larger than the width, because that will
2930 infloop.
2931 (shr-insert): Fill repeatedly long texts, so that Japanese is
2932 formatted correctly (bug#16263).
24a6b65e
LI
2933 (shr-find-fill-point): Off by one error in comparison with the
2934 indentation.
ac5758d1 2935
7514d3f8 29362013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
2937
2938 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 2939 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
2940 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2941 if that keeps or improves their balance in buffers.
2942 (electric-pair-delete-adjacent-pairs): Delete the pair when
2943 backspacing over adjacent matched delimiters.
2944 (electric-pair-open-extra-newline): Open extra newline when
2945 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
2946 (electric--sort-post-self-insertion-hook):
2947 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
2948 minor-modes are activated.
2949 * simple.el (newline-and-indent): Call newline with interactive
2950 set to t.
2951 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
2952 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2953 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2954 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
2955 electric-pair-open-newline-between-pairs to nil.
2956
fbcc63a3
FEG
29572013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2958
2959 * progmodes/python.el: Use lexical-binding.
2960 (python-nav-beginning-of-defun): Stop searching ASAP.
2961
ed78d16c
XF
29622013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2963
2964 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2965 Fix interactive spec. Doc fix. (Bug#15754)
2966
38b2c142
KY
29672013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2968
2969 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 2970 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
2971 Fix edebug spec (bug#16184).
2972
3c856c14
LI
29732013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2974
83fa295c 2975 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
2976 (shr-insert): Don't infloop if we can't find a good place to break
2977 the line (bug#16256).
3c856c14 2978
01379221
FEG
29792013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2980
35e951cd 2981 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
01379221
FEG
2982 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2983 python-nav-lisp-forward-sexp-safe.
2984 (python-nav--forward-sexp): New argument SAFE allows switching
2985 forward sexp movement behavior for parens.
2986 (python-nav-forward-sexp): Throw errors on unterminated parens
2987 (Bug#16191).
2988 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2989 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
2990 (python-shell-buffer-substring):
2991 Use `python-nav-forward-sexp-safe'.
01379221 2992
99e4926f
LI
29932013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2994
2995 * net/shr.el (shr-find-fill-point): Don't break lines before a
2996 quotation mark.
c6c20584
LI
2997 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2998 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 2999 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 3000
fec0e828
KN
30012013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3002
3003 * net/eww.el (eww-form-textarea): Use a different face for
3004 textareas than text input since they have different keymaps
3005 (bug#16142).
3006
89c868ad
FEG
30072013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3008
7514d3f8
SM
3009 * progmodes/python.el (python-nav-beginning-of-statement):
3010 Speed up (Bug#15295).
89c868ad 3011
eeef121a
LI
30122013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3013
3014 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3015 the window configuration.
3016
121ea65f
EZ
30172013-12-24 Eli Zaretskii <eliz@gnu.org>
3018
3019 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3020 we run on MS-Windows or MS-DOS.
3021
18cee9ec
MR
30222013-12-24 Martin Rudalics <rudalics@gmx.at>
3023
3024 * window.el (balance-windows-area): Call window-size instead of
3025 window-height and window-width. Bug#16241.
3026
58f2b9a5
LI
30272013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3028
3029 * net/eww.el (eww-bookmark-quit): Remove.
3030 (eww-bookmark-browse): Restore the window configuration when you
3031 choose a bookmark (bug#16144).
3032
d64b6308
DC
30332013-12-24 Daniel Colascione <dancol@dancol.org>
3034
3035 * icomplete.el: Remove redundant :group arguments to `defcustom'
3036 throughout.
3037 (icomplete-show-matches-on-no-input): New customizable variable.
3038 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3039 we have something to show.
7514d3f8 3040 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 3041
0da54898
DC
30422013-12-23 Daniel Colascione <dancol@dancol.org>
3043
3044 * icomplete.el: Move `provide' to end of file.
3045
b90aa4f4
TZ
30462013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3047
3048 * net/gnutls.el (gnutls-verify-error): Add version tag.
3049
8cd22a08
CY
30502013-12-23 Chong Yidong <cyd@gnu.org>
3051
3052 * subr.el (set-transient-map): Rename from
3053 set-temporary-overlay-map. Doc fix.
3054
3055 * face-remap.el (text-scale-adjust):
3056 * indent.el (indent-rigidly):
3057 * kmacro.el (kmacro-call-macro):
3058 * minibuffer.el (minibuffer-force-complete):
3059 * repeat.el (repeat):
3060 * simple.el (universal-argument--mode):
3061 * calendar/todo-mode.el (todo-insert-item--next-param):
3062 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3063
7510b021
CY
3064 * indent.el (indent-rigidly): Use substitute-command-keys.
3065
72140a0f 30662013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
3067
3068 * net/eww.el (eww-tag-select): Add text-property to jump to next
3069 select field.
e9dc713d 3070 (eww): Add non-supported ftp error.
56890ecd 3071
1f87a56c
DG
30722013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3073
3074 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3075 comments. Handle electric indent after typing `?' and `!'.
3076
dca38cf9
CY
30772013-12-22 Chong Yidong <cyd@gnu.org>
3078
3079 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
3080 applicable to a frame, fall back on the defface spec.
3081 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 3082
f2351498
DG
30832013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3084
3085 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3086 after `{'. We need it after block openers, and it doesn't seem
3087 to hurt after hash openers.
3088
6cddebc1
DG
30892013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3090
3091 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3092 extracted from `ruby-smie-rules'.
3093 (ruby--electric-indent-chars): New variable.
3094 (ruby--electric-indent-p): New function.
3095 (ruby-mode): Use `electric-indent-functions' instead of
3096 `electric-indent-chars'.
3097
65a1da00
DG
30982013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3099
3100 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3101 docstring.
3102 (ruby-smie-rules): Indent plus one level after `=>'.
3103
b51ad4cf
RS
31042013-12-21 Richard Stallman <rms@gnu.org>
3105
3106 * simple.el (newline): Doc fix.
3107
72140a0f 31082013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 3109
e9dc713d 3110 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
3111 (eww-history-browse, eww-history-quit, eww-history-kill)
3112 (eww-history-mode-map, eww-history-mode): New command and
3113 functions to list browser histories.
e9dc713d
JB
3114 (eww-form-text): Support text form with disabled
3115 and readonly attributes.
3116 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 3117
5e1901c1
RS
31182013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3119
3120 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3121 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3122 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3123 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3124 Use `user-error'.
3125 (eww-bookmark-mode-map): Add menu.
3126 (eww-render, eww-mode): Use `setq-local'.
3127 (eww-tool-bar-map): New variable.
3128 (eww-mode): Set `tool-bar-map'.
3129 (eww-view-source): Check for `html-mode' with `fboundp'.
3130
073d5cfd
LMI
31312013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3132
3133 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3134 elements with text inside. Also remove debugging.
3135
41cf3d11
JD
31362013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3137
3138 * cus-start.el (all): Add ns-use-srgb-colorspace.
3139
aac2b673
CY
31402013-12-21 Chong Yidong <cyd@gnu.org>
3141
3142 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3143 undefined. Thus, theme settings for undefined faces do not take
3144 effect until the faces are defined with defface, the same as with
3145 theme variables.
3146
3147 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3148 (face-spec-reset-face): Don't assign extra properties in temacs.
3149 (face-spec-recalc): Apply X resources too.
3150
bacb0e77
CY
31512013-12-21 Chong Yidong <cyd@gnu.org>
3152
3153 * faces.el (face-spec-set):
3154 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3155 * custom.el (defface): Doc fixes (Bug#16203).
3156
77221051
CY
3157 * indent.el (indent-rigidly-map): Add docstring, and move commands
3158 into named functions.
3159 (indent-rigidly-left, indent-rigidly-right)
3160 (indent-rigidly-left-to-tab-stop)
3161 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3162 indentation direction based on bidi direction, and accumulate
3163 sequential commands in a single undo boundary.
3164 (indent-rigidly--pop-undo): New utility function.
3165
e0eb0550
JB
31662013-12-20 Juanma Barranquero <lekktu@gmail.com>
3167
3168 * faces.el (read-face-name): Require crm.el when using crm-separator.
3169
3282bd2e
DC
31702013-12-20 Daniel Colascione <dancol@dancol.org>
3171
3172 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3173 so that we don't reflow comments into the shebang line.
3174
1d42e5b6
JL
31752013-12-20 Juri Linkov <juri@jurta.org>
3176
3177 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3178 a position when `dired-directory' is non-nil. Check integer
3179 positions with `integerp'.
3180 (toggle-save-place, save-places-to-alist): Add check for
3181 `dired-directory'.
3182 (save-place-find-file-hook): Check integer positions with
3183 `integerp'.
3184 (save-place-dired-hook): Use `dired-goto-file' when
3185 `dired-filename' is found in the assoc list. Check integer
3186 positions with `integerp'.
3187 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3188
3189 * dired.el (dired-initial-position-hook): Rename back from
3190 `dired-initial-point-hook'.
3191 (dired-initial-position): Rename `dired-initial-point-hook' to
3192 `dired-initial-position-hook'.
3193 (dired-file-name-at-point): Doc fix. (Bug#15329)
3194
24da7273
JL
31952013-12-20 Juri Linkov <juri@jurta.org>
3196
3197 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3198 (read-regexp-suggestions): New function.
3199 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3200 Use `read-regexp-suggestions'. Add non-empty default to history
3201 for empty input.
3202 (occur-read-regexp-defaults-function): Remove function.
3203 (occur-read-primary-args): Use `regexp-history-last' instead of
3204 `occur-read-regexp-defaults-function'.
3205
3206 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3207 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3208 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3209 `hi-lock-read-regexp-defaults-function'. Doc fix.
3210 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3211 with `find-tag-default-as-symbol-regexp'. Doc fix.
3212 (hi-lock-read-regexp-defaults): Remove function.
3213 (hi-lock-regexp-okay): Add check for null.
3214
3215 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3216 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3217
3218 * subr.el (find-tag-default-as-symbol-regexp): New function.
3219 (find-tag-default-as-regexp): Move symbol regexp formatting to
3220 `find-tag-default-as-symbol-regexp'.
3221
137f57c8
S
32222013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3223
3224 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3225 (Bug#14179)
3226
f3a66082
SB
32272013-12-20 Stephen Berman <stephen.berman@gmx.net>
3228
3229 * calendar/todo-mode.el: New implementation of item insertion
3230 commands and key bindings.
3231 (todo-key-prompt): New face.
3232 (todo-insert-item): New command.
3233 (todo-insert-item--parameters): New defconst, replacing defvar
3234 todo-insertion-commands-args-genlist.
3235 (todo-insert-item--param-key-alist): New defconst, replacing
3236 defvar todo-insertion-commands-arg-key-list.
3237 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3238 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3239 (todo-insert-item--next-param): New functions.
3240 (todo-insert-item--args, todo-insert-item--argleft)
3241 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3242 New variables.
3243 (todo-key-bindings-t): Change binding of "i" from
3244 todo-insertion-map to todo-insert-item.
3245 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3246 (todo-insertion-command-name, todo-insertion-commands-names)
3247 (todo-define-insertion-command, todo-insertion-commands)
3248 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3249
2f99433b
SB
32502013-12-20 Stephen Berman <stephen.berman@gmx.net>
3251
3252 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3253 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3254 eval-when-compile.
3255 (todo-move-category): Allow choosing a non-existing todo file to
3256 move the category to, and create that file.
3257 (todo-default-priority): New user option.
3258 (todo-set-item-priority): Use it.
3259 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3260 (desktop-restore-file-buffer): Declare.
3261 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3262 (todo-modes-set-2): Locally set desktop-save-buffer to
3263 todo-desktop-save-buffer.
3264 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3265 (auto-mode-alist): Add autoload cookie.
3266
131e4695
BB
32672013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3268
3269 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3270 helpers.el was a poor choice of name.
3cbfb935
BB
3271 (string-remove-prefix): New function.
3272 (string-remove-suffix): New function.
131e4695 3273
c44de18d
MR
32742013-12-20 Martin Rudalics <rudalics@gmx.at>
3275
3276 Fix assignment for new window total sizes.
3277 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
3278 (window--pixel-to-total-1, window--pixel-to-total):
3279 Fix calculation of new total sizes.
c44de18d 3280
ca65efcc
VS
32812013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3282
3283 * comint.el (comint-output-filter): Fix rear-nonsticky property
3284 placement (Bug#16010).
3285
a9574eb7
CY
32862013-12-20 Chong Yidong <cyd@gnu.org>
3287
3288 * faces.el (read-color): Minor fix for completion function.
3289
b520f210
DG
32902013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3291
e0eb0550
JB
3292 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3293 New option. (Bug#16182)
b520f210
DG
3294 (ruby-smie--indent-to-stmt-p): Use it.
3295 (ruby-smie-rules): Revert the logic in the handling of `when'.
3296 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3297 (ruby-deep-arglist, ruby-deep-indent-paren)
3298 (ruby-deep-indent-paren-style): Update docstrings to note that the
3299 vars don't have any effect with SMIE.
3300
26b75b45
JB
33012013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3302
3303 * calc/calc.el (calc-enter, calc-pop): Use the variable
3304 `calc-context-sensitive-enter'.
3305
cf91cee7
LMI
33062013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3307
3308 * net/shr.el (shr-insert): Protect against infloops in degenerate
3309 tables.
3310
51d971b4
RS
33112013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3312
3313 * progmodes/octave.el (octave): Add link to manual and octave
3314 homepage.
3315 (octave-mode-menu): Link to octave-mode manual.
3316
8c2e462a
LL
33172013-12-20 Leo Liu <sdl.web@gmail.com>
3318
3319 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3320 insertion using skeleton-end-newline. (Bug#16138)
3321
501158bc
JL
33222013-12-20 Juri Linkov <juri@jurta.org>
3323
3324 * replace.el (occur-engine): Use `add-face-text-property'
3325 to add the face property to matches and titles. (Bug#14645)
3326
3327 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3328 the palette of other hi-lock colors.
3329 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3330
50ab1da6
JL
33312013-12-19 Juri Linkov <juri@jurta.org>
3332
3333 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3334 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3335 (minibuffer-history-symbol): Move variable declaration closer to
3336 its usage.
3337
3338 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3339 (Bug#14785)
3340
3d6e95e7
JL
33412013-12-19 Juri Linkov <juri@jurta.org>
3342
3343 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3344 New function.
3345 (log-edit-hook): Add it to :options. (Bug#16170)
3346
b41594fd
JL
33472013-12-19 Juri Linkov <juri@jurta.org>
3348
3349 * simple.el (eval-expression-print-format): Don't check for
3350 command names and the last command. Always display additional
3351 formats of the integer result in the echo area, and insert them
3352 to the current buffer only with a zero prefix arg.
3353 Display character when char-displayable-p is non-nil.
3354 (eval-expression): With a zero prefix arg, set `print-length' and
3355 `print-level' to nil, and insert the integer values from
3356 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3357
3358 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3359 `eval-last-sexp-arg-internal'. Doc fix.
3360 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3361 `eval-last-sexp-print-value'. Doc fix.
3362 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3363 Set `print-length' and `print-level' to nil when arg is zero.
3364 (eval-last-sexp): Doc fix.
3365 (eval-defun-2): Print the integer values from
3366 `eval-expression-print-format' at the end.
3367
3368 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3369 values from `eval-expression-print-format' at the end.
3370
3371 * ielm.el (ielm-eval-input): Print the integer
3372 values from `eval-expression-print-format' at the end.
3373
8f2be364
TZ
33742013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3375
3376 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3377 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3378
2230a6e3
SM
33792013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3382 (hl-line-highlight, global-hl-line-highlight): Use it.
3383 (hl-line-overlay): Use defvar-local.
3384
1269a680
JD
33852013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3386
3387 * term/ns-win.el: Require dnd.
3388 (global-map): Remove drag items.
3389 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
3390 (ns-set-background-at-mouse):
3391 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3392 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3393 New functions.
1269a680 3394
049638ad
GM
33952013-12-19 Glenn Morris <rgm@gnu.org>
3396
3397 * emacs-lisp/ert.el (ert-select-tests):
3398 Fix string/symbol mixup. (Bug#16121)
3399
ce41edb4
DG
34002013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3401
3402 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3403 keywords to their parent.
3404
7e1549c9
DG
34052013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3406
3407 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3408 first arg to be a string (fixed dead code), or an operator symbol.
3409 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3410 operator symbols.
3411 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3412 did nothing. Don't respond to `(:after ".")', it will be called
3413 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3414 change anything. Only return indentation for binary operators
3415 when they are hanging. De-dent opening paren when its parent is
3416 `.', otherwise it looks bad when the dot is not at bol or eol
3417 (bug#16182).
3418
3ee4cd64
JL
34192013-12-19 Juri Linkov <juri@jurta.org>
3420
3421 * replace.el (query-replace-read-args): Split a non-negative arg
3422 and a negative arg into separate elements.
3423 (query-replace, query-replace-regexp, replace-string)
3424 (replace-regexp): Add arg `backward'. Doc fix.
3425 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3426 move point to the beginning of the match.
3427 (replace-search, replace-highlight): Use new arg `backward'
3428 to set the value of `isearch-forward'.
3429 (perform-replace): Add arg `backward' and use it to perform
3430 replacement backward. (Bug#14979)
3431
3432 * isearch.el (isearch-query-replace): Use a negative prefix arg
3433 to call `perform-replace' with a non-nil arg `backward'.
3434
0cda6b7b
JL
34352013-12-18 Juri Linkov <juri@jurta.org>
3436
3437 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3438 to the default list. Move `log-edit-show-files' to the end.
3439 Add more available functions to options.
3440 (log-edit): Move default specific settings to
3441 `log-edit-insert-message-template'. Don't move point.
3442 (log-edit-insert-message-template): New function.
3443 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3444 (Bug#16170)
3445
b216f0a6
JL
34462013-12-18 Juri Linkov <juri@jurta.org>
3447
3448 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3449 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3450
1d1c55dc
LL
34512013-12-18 Leo Liu <sdl.web@gmail.com>
3452
e9dc713d
JB
3453 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3454 (Bug#16186)
1d1c55dc 3455
64e4c76e
EZ
34562013-12-18 Eli Zaretskii <eliz@gnu.org>
3457
3458 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3459 formats for displaying file sizes when the -s switch is given.
3460 Instead, compute a separate format for displaying the size in
3461 blocks, which is displayed in addition to the "regular" size.
3462 When -h is given in addition to -s, produce size in blocks in
3463 human-readable form as well. (Bug#16179)
3464
b2984e39
TH
34652013-12-18 Tassilo Horn <tsdh@gnu.org>
3466
2230a6e3
SM
3467 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3468 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 3469
50ff2e06
CY
34702013-12-18 Chong Yidong <cyd@gnu.org>
3471
0081bc84
CY
3472 * cus-edit.el (custom-magic-alist): Fix "themed" description
3473 (Bug#14348).
3474
a7ee9424
CY
3475 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3476 is non-nil, do not create a new entry in the symbol's theme-value
3477 or theme-face property; update theme-settings only (Bug#14664).
18874304 3478 (custom-available-themes): Doc fix.
a7ee9424 3479
8f942537
CY
3480 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3481 (Bug#15674).
3482
50ff2e06
CY
3483 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3484
83c60f60
KI
34852013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3486
3487 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3488 (Bug#13914).
3489
e0eb0550 34902013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
3491
3492 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3493
1f41ee56
GM
34942013-12-18 Glenn Morris <rgm@gnu.org>
3495
3496 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 3497 * cus-start.el (load-prefer-newer): New option.
1f41ee56 3498
e82134b1
LW
34992013-12-18 Le Wang <l26wang@gmail.com>
3500
2230a6e3
SM
3501 * comint.el (comint-previous-matching-input-from-input):
3502 Retain point (Bug#13404).
e82134b1 3503
33f5d4c1
CY
35042013-12-18 Chong Yidong <cyd@gnu.org>
3505
3506 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3507
ccc9f6dc
GM
35082013-12-18 Glenn Morris <rgm@gnu.org>
3509
3510 * mail/emacsbug.el (report-emacs-bug):
3511 Only mention enable-multibyte-characters if non-standard.
3512
33dd8e95
JL
35132013-12-17 Juri Linkov <juri@jurta.org>
3514
3515 * arc-mode.el (archive-extract-by-file): Check if directory exists
3516 before deletion to not show irrelevant errors if it doesn't exist.
3517
7a409b30
JL
35182013-12-17 Juri Linkov <juri@jurta.org>
3519
3520 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3521 (Bug#14751)
3522
3523 * net/eww.el (browse-web): Add alias to `eww'.
3524 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3525 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3526
3527 * net/browse-url.el (browse-url-browser-function): Move `eww'
3528 closer to similar functions.
3529
3530 * startup.el (fancy-startup-screen, fancy-about-screen):
3531 Set browse-url-browser-function to eww-browse-url locally.
3532 (Bug#14751)
3533
2d6b6005
SM
35342013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * window.el (window--pixel-to-total): Remove unused `mini' var.
3537 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3538 (split-window): Remove unused `new' var.
3539 (window--display-buffer): Remove unused `frame' and `delta' vars.
3540 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3541 and display-width'.
3542
cf2b7efc
MR
35432013-12-17 Martin Rudalics <rudalics@gmx.at>
3544
3545 * dired.el (dired-mark-pop-up):
3546 * register.el (register-preview): Don't bind
3547 split-height-threshold here since it's now done in
3548 display-buffer-below-selected.
3549
ed3af8a7 35502013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3551
3552 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3553 xterm-rgb-convert-to-16bit.
3554 (rxvt-register-default-colors): Standardize with
3555 xterm-register-default-colors (Bug#14078).
3556
76da3455
DK
35572013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3558
3559 * simple.el (kill-region): Pass mark first, then point, so that
3560 kill-append works right (Bug#12819).
3561 (copy-region-as-kill, kill-ring-save): Likewise.
3562
2b84d763
LL
35632013-12-17 Leo Liu <sdl.web@gmail.com>
3564
3565 * net/rcirc.el (rcirc-add-face):
3566 * eshell/em-prompt.el (eshell-emit-prompt):
3567 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3568 (Bug#16167)
3569
e2f6a0bc
CY
35702013-12-17 Chong Yidong <cyd@gnu.org>
3571
3572 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3573 Suggested by Xue Fuqiao.
3574
35b249a6
DG
35752013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3576
3577 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3578
e9145444
SM
35792013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3580
3581 * net/shr.el (shr-insert-document): Remove unused var
3582 `shr-preliminary-table-render'.
3583 (shr-rescale-image): Remove unused arg `force'.
3584 (shr-put-image): Update calls accordingly.
3585 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3586
5556c0ce
DG
35872013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3588
3589 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3590 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3591 :close-all, to see which indentation method to use (Bug#16116).
3592 (smie-rules-function): Document the method :close-all.
3593
11bade0a
LMI
35942013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3595
1c4b1e61
LMI
3596 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3597
11bade0a
LMI
3598 * net/eww.el (eww-display-html): If we can't find the anchor we're
3599 looking for, then go to point-min.
3600
8fb8c4f3
PE
36012013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3602
3603 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3604 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3605 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3606 Expand dir too, in case it's relative.
3607
6c8e0ae6
JL
36082013-12-16 Juri Linkov <juri@jurta.org>
3609
3610 * desktop.el (desktop-auto-save-timeout): Change default to
3611 `auto-save-timeout'. Doc fix.
3612 (desktop-save): Skip the timestamp in desktop-saved-frameset
3613 when checking for auto-save changes.
3614 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3615 `desktop-auto-save' is called repeatedly by the idle timer.
3616 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3617 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3618 (Bug#15331)
3619
2178e858
JL
36202013-12-16 Juri Linkov <juri@jurta.org>
3621
3622 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3623 (Bug#16035)
3624 (isearch-pre-command-hook): Check `this-command' for symbolp.
3625
39cb42c6
SM
36262013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3627
3628 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3629
5b9b750a
TZ
36302013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3631
3632 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3633 (cfengine3--current-function): Bring in the current-function
3634 functionality from `cfengine3--current-word'.
3635 (cfengine3-completion-function): Bring in the
3636 bounds-of-current-word functionality from
3637 `cfengine3--current-word'.
3638
d144ef06
MR
36392013-12-16 Martin Rudalics <rudalics@gmx.at>
3640
39cb42c6
SM
3641 * window.el (display-buffer-below-selected):
3642 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 3643
a8bbe298
LL
36442013-12-16 Leo Liu <sdl.web@gmail.com>
3645
3646 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3647 Remove NOMSG arg and all uses changed.
3648
2013a2f9
SM
36492013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3652 (cua--deactivate-rectangle): Don't deactivate the mark.
3653 (cua-set-rectangle-mark): Don't set mark-active since
3654 cua--activate-rectangle already does it for us.
3655 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3656 non-rectangular region.
3657
3658 * emulation/cua-base.el (cua-repeat-replace-region):
3659 Use with-current-buffer.
3660
3661 * net/gnutls.el: Use cl-lib.
3662 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3663
5ae811dd
TZ
36642013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3665
3666 * emacs-lisp/package.el (package-built-in-p): Support both
3667 built-in and the package.el converted package descriptions.
3668 (package-show-package-list): Allow keywords.
3669 (package-keyword-button-action): Use it instead of
3670 `finder-list-matches'.
3671 (package-menu-filter-interactive): Interactive filtering (by
3672 keyword) function.
3673 (package-menu--generate): Support keywords and change keymappings
3674 and headers when they are given.
3675 (package--has-keyword-p): Helper function.
3676 (package-menu--refresh): Use it.
3677 (package--mapc): Helper function.
3678 (package-all-keywords): Use it.
3679 (package-menu-mode-map): Set up menu items and keybindings to
3680 provide a filtering UI.
3681
31b4827e
TZ
36822013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3683
3684 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3685 the behavior when a certificate fails validation. Defaults to
3686 old behavior: never abort, just warn.
3687 (gnutls-negotiate): Use it.
3688
f93cc74f
MR
36892013-12-14 Martin Rudalics <rudalics@gmx.at>
3690
3691 * window.el (display-buffer-below-selected): Never split window
3692 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3693
f77d7d17
TW
36942013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3695
3696 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3697 (package-buffer-info): Use it (bug#15108).
aa2bddd7 3698
7514d3f8
SM
36992013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3700
aa2bddd7 3701 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 3702 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 3703
276bc333
DG
37042013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3705
3706 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3707 open-paren tokens when preceded by a open-paren, too.
3708 (ruby-smie-rules): Handle virtual indentation after open-paren
3709 tokens specially. If there is code between it and eol, return the
3710 column where is starts (Bug#16118).
3711
d43957f3
TZ
37122013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3713
a5c1ac0c 3714 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 3715 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
3716 (cfengine3--current-word): Fix parameters.
3717 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
3718 (cfengine3-completion-function, cfengine3--current-function):
3719 Use `assq' for symbols.
d43957f3
TZ
3720 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3721
06a4f110
GM
37222013-12-13 Glenn Morris <rgm@gnu.org>
3723
3724 * loadup.el (load-path): Warn if site-load or site-init changes it.
3725 No more need to reset it when bootstrapping.
3726
978a5fda
TZ
37272013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3728
3729 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3730 locations for cf-promises.
3731 (cfengine-mode-syntax-functions-regex): New caching variable.
3732 (cfengine3-fallback-syntax): Fallback syntax for cases where
3733 cf-promises doesn't run.
3734 (cfengine3--current-word): Reimplement using
3735 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
3736 (cfengine3-completion-function, cfengine3--current-function):
3737 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
3738 (cfengine3-clear-syntax-cache): New function.
3739 (cfengine3-make-syntax-cache): Simplify and create
3740 `cfengine-mode-syntax-functions-regex' on demand.
3741 (cfengine3-format-function-docstring): Don't call
3742 `cfengine3-make-syntax-cache' explicitly.
3743
71e6691e
MR
37442013-12-13 Martin Rudalics <rudalics@gmx.at>
3745
3746 Fix windmove-find-other-window broken after pixelwise resizing
3747 (Bug#16017).
3748 * windmove.el (windmove-other-window-loc): Revert change from
3749 2013-12-04.
3750 (windmove-find-other-window): Call window-in-direction.
3751 * window.el (window-in-direction): New arguments SIGN, WRAP and
3752 MINI to emulate original windmove-find-other-window behavior.
3753
84c73ba0
DG
37542013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3755
3756 * simple.el (blink-matching--overlay): New variable.
3757 (blink-matching-open): Instead of moving point, highlight the
3758 matching paren with an overlay
3759 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3760
3761 * faces.el (paren-showing-faces, show-paren-match)
3762 (show-paren-mismatch): Move from paren.el.
3763
b9e20952
LL
37642013-12-13 Leo Liu <sdl.web@gmail.com>
3765
3766 * indent.el (indent-region): Disable progress reporter in
3767 minibuffer. (Bug#16108)
3768
3769 * bindings.el (visual-order-cursor-movement): Fix version.
3770
ce030451
FEG
37712013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3772
3773 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3774 Also match after beginning of line.
3775 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 3776 files. Thanks to Russell Sim. (Bug#15378)
ce030451 3777
4a9c6865
JL
37782013-12-13 Juri Linkov <juri@jurta.org>
3779
3780 * simple.el <Keypad support>: Remove key bindings duplicated
3781 with bindings.el. (Bug#14397)
3782
2bc170c3
JL
37832013-12-13 Juri Linkov <juri@jurta.org>
3784
3785 * comint.el (comint-mode-map): Replace `delete-char' with
3786 `delete-forward-char'. (Bug#16109)
3787
bc9222c9
FEG
37882013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3789
aa2bddd7 3790 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 3791 Fix de-denters cornercase. (Bug#15731)
bc9222c9 3792
cb3a1380
SM
37932013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3796 (advice--make): Pay attention to `depth'.
3797 (advice--make-1): Don't autoload commands eagerly.
3798 * emacs-lisp/elp.el (elp-instrument-function):
3799 * emacs-lisp/trace.el (trace-function-internal):
3800 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3801
3802 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3803
01633a17
EZ
38042013-12-12 Eli Zaretskii <eliz@gnu.org>
3805
3806 * term/w32-win.el (w32-handle-dropped-file):
3807 * startup.el (normal-top-level):
3808 * net/browse-url.el (browse-url-file-url):
3809 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3810 decode file names using 'utf-8' rather than
3811 file-name-coding-system.
3812
09faee72
FEG
38132013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3814
3815 * progmodes/python.el (python-indent-context)
3816 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 3817 behavior for comment blocks. (Bug#15916)
09faee72 3818
f4f84024 38192013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 3820
cb3a1380
SM
3821 * progmodes/python.el (python-indent-calculate-indentation):
3822 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
3823 operators when they are just string constituents. (Bug#15812)
3824
d5ccb7be
JL
38252013-12-12 Juri Linkov <juri@jurta.org>
3826
3827 * uniquify.el (uniquify-buffer-name-style): Change default to
3828 `post-forward-angle-brackets'.
3829
3830 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3831 `uniquify'. Change default to `post-forward-angle-brackets'.
3832
7b3f5679
GM
38332013-12-11 Glenn Morris <rgm@gnu.org>
3834
3835 * emacs-lisp/package.el (finder-list-matches):
3836 Autoload rather than falsely declaring.
3837
f4fe8fdd
TZ
38382013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3839
3840 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3841 (eww-mode-map): Use them.
3842
3c29190f
MR
38432013-12-11 Martin Rudalics <rudalics@gmx.at>
3844
3845 * window.el (display-buffer-in-side-window): Fix doc-string
3846 (Bug#16115).
3847
0cd616a2
JB
38482013-12-11 Juanma Barranquero <lekktu@gmail.com>
3849
3850 * vc/vc-git.el: Silence byte-compiler warnings.
3851 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3852 (log-edit-set-header): Declare.
3853
3ef8e0d1
EZ
38542013-12-11 Eli Zaretskii <eliz@gnu.org>
3855
3856 * Makefile.in (custom-deps, finder-data): Run output file names
3857 through unmsys--file-name. (Bug#16099)
3858
afdadaf7
SM
38592013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3860
7ae3ae39 3861 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 3862 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 3863
5b4f37ab
SM
3864 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3865 instead of deleting the selection "by hand" (bug#16098).
3866 Rely on insert-for-yank to yank rectangles.
3867 (cua-highlight-region-shift-only): Mark obsolete.
3868 (cua-mode): Don't enable/disable transient-mark-mode,
3869 shift-select-mode (cua-mode works both with and without them), and
3870 pc-selection-mode (obsolete).
3871 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3872 (cua--deactivate-rectangle): Deactivate it.
3873
4b72c12b
SM
3874 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3875 (delete-selection-helper): Make sure yank starts at the top of the
3876 deleted region.
3877 (minibuffer-keyboard-quit): Use region-active-p.
3878
e82af72d
SM
3879 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3880
afdadaf7
SM
3881 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3882 to `delete' (bug#16109).
3883
ed4bc201
RS
38842013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3885
3886 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3887 info manual and show keybindings and set `:group' keyword.
3888
bb8097b9
JL
38892013-12-11 Juri Linkov <juri@jurta.org>
3890
3891 * delsel.el (delete-active-region): Let-bind `this-command'
3892 to prevent `kill-region' from changing its original value.
3893 (delete-selection-helper): Handle `overwrite-mode' for the type
3894 `kill' exactly the same way as for the type `t'.
3895 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3896 Support more commands. (Bug#13312)
3897
c1916ff5
JL
38982013-12-11 Juri Linkov <juri@jurta.org>
3899
3900 * bindings.el: Map kp keys to non-kp keys systematically
3901 with basic modifiers control, meta and shift. (Bug#14397)
3902
7514d3f8 39032013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
3904
3905 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3906 "Close browser" menu items. Fix wrong function of "List
3907 bookmarks".
3908
4cc51eaf
JL
39092013-12-11 Juri Linkov <juri@jurta.org>
3910
3911 * misearch.el (multi-isearch-buffers): Set the value of
3912 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3913 arg of isearch-forward to t.
3914 (multi-isearch-buffers-regexp): Set the value of
3915 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3916 arg of isearch-forward-regexp to t.
3917 (multi-isearch-files): Set the value of
3918 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3919 arg of isearch-forward to t.
3920 (multi-isearch-files-regexp): Set the value of
c295fc18 3921 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4cc51eaf
JL
3922 arg of isearch-forward-regexp to t. (Bug#16035)
3923
3924 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3925 arg of isearch-forward to t.
3926 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3927 arg of isearch-forward-regexp to t.
3928 (dired-isearch-filter-filenames): Remove unnecessary check for
3929 `dired-isearch-filenames'.
3930
3931 * comint.el (comint-history-isearch-backward):
3932 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3933 (comint-history-isearch-backward-regexp):
3934 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3935
ceac12b7
EZ
39362013-12-10 Eli Zaretskii <eliz@gnu.org>
3937
3938 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3939 unmsys--file-name. (Bug#16099)
3940
5a565782
TZ
39412013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3942
cb3a1380
SM
3943 * emacs-lisp/package.el (package-keyword-button-action):
3944 Remove finder.el require dependency.
5a565782 3945
a81fc7ba
TZ
39462013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3947
3948 * emacs-lisp/package.el: Require finder.el.
3949 (describe-package-1): Add keyword buttons.
3950 (package-make-button): New convenience function.
3951 (package-keyword-button-action): Keyword button action using
e0eb0550 3952 `finder-list-matches'.
a81fc7ba 3953
6aaca951
EZ
39542013-12-09 Eli Zaretskii <eliz@gnu.org>
3955
3956 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3957 last commit.
3958
a1099a91
MA
39592013-12-09 Michael Albinus <michael.albinus@gmx.de>
3960
3961 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3962 symlinked files.
3963
8212d9c0
DG
39642013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3965
3966 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3967 after the end of a percent literal.
3968
8f48d131
CD
39692013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3970
cb3a1380
SM
3971 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3972 Handle caret-delimited strings (Bug#16079).
8f48d131 3973
ff8c9764
DG
39742013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3975
cb3a1380
SM
3976 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3977 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
3978 `ruby-parse-partial' (Bug#16078).
3979
d64643b4
LL
39802013-12-09 Leo Liu <sdl.web@gmail.com>
3981
3982 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3983
47e59c66
DG
39842013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3985
3986 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3987 (js-switch-indent-offset): New option.
3988 (js--proper-indentation): Use it. And handle the case when
3989 "default" is actually a key in an object literal.
3990 (js--same-line): New function.
3991 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
3992 (js--indent-in-array-comp, js--array-comp-indentation):
3993 New functions.
47e59c66
DG
3994 (js--proper-indentation): Use them, to handle array comprehension
3995 continuations.
3996
974ebc9c
LL
39972013-12-08 Leo Liu <sdl.web@gmail.com>
3998
3999 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4000 (flymake-make-overlay): Remove arg MOUSE-FACE.
4001 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4002
27262e39
SM
40032013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4004
4005 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4006 New function.
4007 (redisplay-highlight-region-function): Use it.
4008
4009 * emulation/cua-base.el (cua--explicit-region-start)
4010 (cua--last-region-shifted): Remove.
4011 (cua--deactivate): Use deactivate-mark.
4012 (cua--pre-command-handler-1): Don't handle shift-selection.
4013 (cua--post-command-handler-1): Don't change transient-mark-mode.
4014 (cua--select-keymaps): Use region-active-p rather than
4015 cua--explicit-region-start or cua--last-region-shifted.
4016 (cua-mode): Enable shift-select-mode.
4017
6407822c
LL
40182013-12-08 Leo Liu <sdl.web@gmail.com>
4019
27262e39
SM
4020 * progmodes/flymake.el (flymake-popup-current-error-menu):
4021 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
4022 (flymake-posn-at-point-as-event, flymake-popup-menu)
4023 (flymake-make-emacs-menu): Remove. (Bug#16077)
4024
00a2b823
SM
40252013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4026
02033d49
SM
4027 * rect.el (rectangle-mark-mode): Activate mark even if
4028 transient-mark-mode is off (bug#16066).
4029 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4030 is > mark and at bolp.
4031
6f8dfccf
SM
4032 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4033 (region-extract-function): Use it.
4034 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4035 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4036 Delete functions.
4037 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4038 kill-ring-save, kill-region, delete-char, delete-forward-char.
4039 Ignore self-insert-iso.
4040
4041 * emulation/cua-gmrk.el (cua--init-global-mark):
4042 Ignore `self-insert-iso'.
4043
4044 * emulation/cua-base.el (cua--prefix-copy-handler)
4045 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4046 checking cua--rectangle.
4047 (cua-delete-region): Use region-extract-function.
4048 (cua-replace-region): Delete function.
4049 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4050 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4051 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4052 (cua--init-keymaps): Don't remap delete-selection commands.
4053 (cua-mode): Use delete-selection-mode instead of rolling our own
4054 (bug#16085).
4055
4056 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4057 Obey region-extract-function.
4058
00a2b823
SM
4059 Make registers and delete-selection-mode work on rectangles.
4060 * register.el (describe-register-1): Don't modify the register's value.
4061 (copy-to-register): Obey region-extract-function.
4062 * delsel.el (delete-active-region): Obey region-extract-function.
4063
a92fa5f1
LL
40642013-12-08 Leo Liu <sdl.web@gmail.com>
4065
4066 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4067 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4068 (flymake-compilation-prevents-syntax-check)
4069 (flymake-start-syntax-check-on-newline)
4070 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4071 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4072 (flymake-xml-program, flymake-master-file-dirs)
4073 (flymake-master-file-count-limit)
4074 (flymake-allowed-file-name-masks): Relocate.
4075 (flymake-makehash, flymake-float-time)
4076 (flymake-replace-regexp-in-string, flymake-split-string)
4077 (flymake-get-temp-dir): Remove.
4078 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4079 (flymake-current-row, flymake-selected-frame)
4080 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4081 related functions. (Bug#16077)
4082
73c8ceea
BB
40832013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4084
4085 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4086
faec28d9
TH
40872013-12-07 Tassilo Horn <tsdh@gnu.org>
4088
4089 * help-fns.el (describe-function-1): Use new advice-* functions
4090 rather than old ad-* functions. Fix function type description and
4091 source links for advised functions and subrs.
4092
e330b646
LMI
40932013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4094
00a2b823 4095 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 4096
4803595d
MA
40972013-12-06 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * progmodes/compile.el (compilation-start):
4100 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4101
4102 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4103 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4104
fa834a93
DG
41052013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4106
00a2b823
SM
4107 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4108 Touch up the last change.
fa834a93 4109
b2856a6f
LL
41102013-12-06 Leo Liu <sdl.web@gmail.com>
4111
4112 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4113 (inferior-octave-startup): Always use "octave> " for prompt.
4114 (octave-goto-function-definition)
4115 (octave-sync-function-file-names)
4116 (octave-find-definition-default-filename): Remove redundant backquotes.
4117
af67e79a
DG
41182013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4119
4120 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4121 syntax for `?'.
4122 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4123 where appropriate already.
4124 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4125 end of method names (Bug#15874).
4126
bf093209
JL
41272013-12-06 Juri Linkov <juri@jurta.org>
4128
4129 * isearch.el (isearch--saved-overriding-local-map):
4130 New internal variable.
4131 (isearch-mode): Set it to the initial value of
4132 `overriding-terminal-local-map'.
4133 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4134 with `isearch--saved-overriding-local-map'. (Bug#16035)
4135
16588fad
DG
41362013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4137
00a2b823
SM
4138 * progmodes/octave.el (inferior-octave-completion-table):
4139 Turn back into function, use `completion-table-with-cache'
16588fad
DG
4140 (Bug#11906). Update all references.
4141
4142 * minibuffer.el (completion-table-with-cache): New function.
4143
bf4906d7
CD
41442013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4145
4146 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4147
ff69c18f
TZ
41482013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4149
4150 * net/eww.el (eww-current-source): New variable to store page
4151 source.
4152 (eww-display-html, eww-mode, eww-save-history)
4153 (eww-restore-history): Use it.
4154 (eww-view-source): New command to view page source.
4155 Opportunistically uses `html-mode' to highlight the buffer.
4156 (eww-mode-map): Install it.
4157
b85eff45
MA
41582013-12-05 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/dbus.el (dbus-unregister-service)
4161 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4162 Fix docstring.
4163 (dbus-unregister-service): Skip :serial entries in
4164 `dbus-registered-objects-table'.
4165 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4166
39eb0899
TZ
41672013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4168
4169 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4170 around keywords with extra `split-string' argument.
4171
456760a5
MR
41722013-12-04 Martin Rudalics <rudalics@gmx.at>
4173
4174 * windmove.el (windmove-other-window-loc): Handle navigation
4175 between windows (excluding the minibuffer window - Bug#16017).
4176
81961e4c
MA
41772013-12-04 Michael Albinus <michael.albinus@gmx.de>
4178
4179 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4180 in D-Bus type syntax.
4181 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4182 preserve unibyte strings. (Bug#16048)
4183
8497f938
SM
41842013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4187 Call force-mode-line-update is the proper buffer (bug#16042).
4188
dda61916
DG
41892013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4190
4191 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4192 `log-edit-remember-comment', make argument optional. Adjust all
4193 callers.
4194 (log-edit-mode): Add `log-edit-remember-comment' to
4195 `kill-buffer-hook' locally.
4196 (log-edit-kill-buffer): Don't remember comment explicitly since
4197 the buffer is killed anyway.
4198
c085e5b9
JL
41992013-12-04 Juri Linkov <juri@jurta.org>
4200
4201 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4202 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4203
e0eb0550 42042013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
4205
4206 * notifications.el (notifications-close-notification): Call the
81961e4c 4207 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 4208
39fa32d6
KY
42092013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4210
4211 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4212
9139632a
JL
42132013-12-03 Juri Linkov <juri@jurta.org>
4214
4215 * progmodes/compile.el (compilation-start): Rename window alist
4216 entry `no-display-ok' to `allow-no-window'.
4217
4218 * simple.el (shell-command): Add window alist entry
4219 `allow-no-window' to `display-buffer'.
4220 (async-shell-command): Doc fix.
4221
4222 * window.el (display-buffer-no-window): New action function.
4223 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4224
0f457a37
DG
42252013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4226
4227 * vc/log-edit.el (log-edit-set-header): Extract from
4228 `log-edit-toggle-header'.
4229 (log-edit-extract-headers): Separate the summary, when extracted
4230 from header, from the rest of the message with an empty line.
4231
4232 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4233 line, if present, to the Summary header.
4234
0962f376
SM
42352013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4238 in current-buffer (bug#16029).
4239
f345395c
HE
42402013-12-02 Helmut Eller <eller.helmut@gmail.com>
4241
4242 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4243 (debugger-mode-map): Bind it.
4244 (debugger--backtrace-base): New function.
4245 (debugger-eval-expression): Use it.
4246 (debugger-frame-number): Skip local vars when present.
4247 (debugger--locals-visible-p, debugger--insert-locals)
4248 (debugger--show-locals, debugger--hide-locals): New functions.
4249
a8a15d9d
MA
42502013-12-02 Michael Albinus <michael.albinus@gmx.de>
4251
4252 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4253 "LC_ALL".
4254 (tramp-get-remote-locale): New defun.
4255 (tramp-open-connection-setup-interactive-shell): Use it.
4256
0518b057
LL
42572013-12-02 Leo Liu <sdl.web@gmail.com>
4258
4259 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4260
4261 * progmodes/sh-script.el (sh-shell-process):
4262 * progmodes/octave.el (inferior-octave-process-live-p):
4263 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4264 (gdb-inferior-io-sentinel):
4265 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4266
3adc9c6d
DG
42672013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4268
4269 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4270 `save-selected-window' to `log-edit-hide-buf'. This makes
4271 `log-edit-show-files' idempotent.
4272 (log-edit-show-files): Mark the new window as dedicated.
4273
47e8b74e
DG
42742013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4275
4276 * vc/log-edit.el (log-edit-mode-map): Add binding for
4277 `log-edit-kill-biffer'.
4278 (log-edit-hide-buf): Add a FIXME comment.
4279 (log-edit-add-new-comment): New function, extracted from
4280 `log-edit-done'.
4281 (log-edit-done, log-edit-add-to-changelog): Use it.
4282 (log-edit-kill-buffer): New command.
4283
1f6e1bb0
LMI
42842013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4285
4286 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4287 instead of killing the buffer.
4288
fb651d15
SM
42892013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4292
8feacce0
RS
42932013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4294
fb651d15 4295 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 4296 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
4297 (eww-form-checkbox, eww-toggle-checkbox):
4298 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4299
e0eb0550 4300 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 4301 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 4302 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
4303 no :src tag was specified.
4304
fb651d15 4305 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
4306 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4307 Use \\` to match beginning of string instead of ^.
4308 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 4309 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 4310
177948a5
RS
4311 * net/shr.el (shr-tag-video): Display content for video if no
4312 poster is available.
eb2dd24d 4313 (shr-tag-audio): Add support for <audio> tag.
177948a5 4314
e0eb0550 4315 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
4316 (eww-process-text-input): Treat input types in
4317 `eww-text-input-types' as text.
4318
8feacce0
RS
4319 * net/shr.el (shr-tag-table): Fix comment typo.
4320
513562a1
LMI
43212013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4322
4323 * net/eww.el (eww-follow-link): New command to avoid reloading
4324 pages when we follow #target links (bug#15243).
de8a5633 4325 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 4326
9dd99753
KN
43272013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4328
4329 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4330 forms.
4331
3e9876de
LMI
43322013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4333
4334 * net/eww.el (eww-restore-history): Update the window title after
4335 moving in the history.
ab6dea82 4336 (eww-current-dom): New variable used to save the current DOM.
3e9876de 4337
52789f7f
DG
43382013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4339
4340 * vc/log-edit.el (log-edit-mode-map): Add binding for
4341 `log-edit-beginning-of-line'.
4342 (log-edit-setup-add-author): New user option.
4343 (log-edit-beginning-of-line): New command.
4344 (log-edit): Move major mode call above the contents setup so that
4345 the local variable values are already applied.
4346 (log-edit): Only insert "Author: " when
4347 `log-edit-setup-add-author' is non-nil.
4348 (log-edit): When SETUP is non-nil, position point after ": "
4349 instead of point-min.
4350
2e6710c3
GM
43512013-12-01 Glenn Morris <rgm@gnu.org>
4352
4353 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4354
fadec31f
EZ
43552013-11-30 Eli Zaretskii <eliz@gnu.org>
4356
4357 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 4358 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
4359 visible. (Bug#16014)
4360
10634b40 43612013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
4362
4363 Support resizing frames and windows pixelwise.
4364 * cus-start.el (frame-resize-pixelwise)
4365 (window-resize-pixelwise): New entries.
4366 * emacs-lisp/debug.el (debug): Use window-total-height instead
4367 of window-total-size.
4368 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
9dda75ad
MR
4369 * help.el (describe-bindings-internal): Use help-buffer as
4370 argument for with-help-window.
880e6158
MR
4371 (temp-buffer-max-width): New option.
4372 (resize-temp-buffer-window, help-window-setup)
4373 (with-help-window): Rewrite.
4374 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4375 dragging dividers.
4376 * window.el (frame-char-size, window-min-pixel-height)
4377 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4378 (window-min-pixel-width, window-safe-min-pixel-size)
4379 (window-combination-p, window-safe-min-size)
4380 (window-resizable-p, window--size-to-pixel)
4381 (window--pixel-to-size, window--resize-apply-p): New functions.
4382 (window-safe-min-height): Fix doc-string.
4383 (window-size, window-min-size, window--min-size-1)
4384 (window-sizable, window-sizable-p, window--min-delta-1)
4385 (window-min-delta, window--max-delta-1, window-max-delta)
4386 (window--resizable, window--resizable-p, window-resizable)
4387 (window-full-height-p, window-full-width-p, window-at-side-p)
4388 (window--in-direction-2, window-in-direction)
4389 (window--resize-reset-1, window--resize-mini-window)
4390 (window-resize, window-resize-no-error)
4391 (window--resize-child-windows-normal)
4392 (window--resize-child-windows, window--resize-siblings)
4393 (window--resize-this-window, window--resize-root-window)
4394 (window--resize-root-window-vertically)
4395 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4396 (maximize-window, minimize-window, delete-window)
4397 (quit-restore-window, window-split-min-size, split-window)
4398 (balance-windows-2, balance-windows)
4399 (balance-windows-area-adjust, balance-windows-area)
4400 (window--state-get-1, window-state-get, window--state-put-1)
4401 (window--state-put-2, window-state-put)
fb651d15
SM
4402 (display-buffer-record-window, window--display-buffer):
4403 Make functions handle pixelwise sizing of windows.
880e6158 4404 (display-buffer--action-function-custom-type)
fb651d15
SM
4405 (display-buffer-fallback-action):
4406 Add display-buffer-in-previous-window.
880e6158
MR
4407 (display-buffer-use-some-window): Resize window to height it had
4408 before.
4409 (fit-window-to-buffer-horizontally): New option.
4410 (fit-frame-to-buffer): Describe new values.
4411 (fit-frame-to-buffer-bottom-margin): Replace with
4412 fit-frame-to-buffer-margins.
4413 (window--sanitize-margin): New function.
4414 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4415 using window-text-pixel-size.
4416
f9b697dd
GM
44172013-11-30 Glenn Morris <rgm@gnu.org>
4418
3e2fb4db
GM
4419 * emacs-lisp/bytecomp.el (byte-compile-form):
4420 Make the `interactive-only' warning like the `obsolete' one.
4421 * comint.el (comint-run):
4422 * files.el (insert-file-literally, insert-file):
4423 * replace.el (replace-string, replace-regexp):
4424 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4425 (goto-line, insert-buffer, next-line, previous-line):
4426 Tweak `interactive-only' spec.
4427
f9b697dd
GM
4428 Stop keeping (most) generated cedet grammar files in the repository.
4429 * Makefile.in (semantic): New.
4430 (compile-main): Depend on semantic.
4431
da048127
SM
44322013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4433
7784b779
SM
4434 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4435 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4436
4e36a6a6
SM
4437 * uniquify.el (uniquify-buffer-name-style): Change default.
4438
4439 * loadup.el: Preload "uniquify".
4440
e0ba1308
SM
4441 * time.el (display-time-update): Update all mode lines (bug#15999).
4442
da048127
SM
4443 * electric.el (electric-indent-mode): Enable by default.
4444 * loadup.el: Preload "electric".
4445
015b3b3e
BB
44462013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4447
4448 * emacs-lisp/helpers.el (string-empty-p): New function.
4449 (string-blank-p): New function.
4450
7efb806d
AP
44512013-11-29 Andreas Politz <politza@hochschule-trier.de>
4452
4453 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4454 (Bug#14029).
4455
c8f0efc2
AP
44562013-11-29 Andreas Politz <politza@fh-trier.de>
4457 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4458 allow non-lambda lists as functions.
4459 (imenu--in-alist): Don't recurse into non-subalists.
4460 (imenu): Don't pass function itself as an argument (Bug#14029).
4461
bd15d9d1
SM
44622013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * progmodes/python.el (python-mode-map): Remove binding for ":".
4465 (python-indent-electric-colon): Remove command.
4466 (python-indent-post-self-insert-function): Integrate the previous code
4467 of python-indent-electric-colon. Make it conditional on
4468 electric-indent-mode.
4469 (python-mode): Add ?: to electric-indent-chars.
4470 Move python-indent-post-self-insert-function to the end of
4471 post-self-insert-hook.
4472
1b10adb6
SM
44732013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4474
655ab9a3
SM
4475 * doc-view.el (doc-view-goto-page): Update mode-line.
4476
1b10adb6
SM
4477 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4478
7e3bf78c
GM
44792013-11-27 Glenn Morris <rgm@gnu.org>
4480
4481 * international/charprop.el, international/uni-bidi.el:
4482 * international/uni-category.el, international/uni-combining.el:
4483 * international/uni-comment.el, international/uni-decimal.el:
4484 * international/uni-decomposition.el, international/uni-digit.el:
4485 * international/uni-lowercase.el, international/uni-mirrored.el:
4486 * international/uni-name.el, international/uni-numeric.el:
4487 * international/uni-old-name.el, international/uni-titlecase.el:
4488 * international/uni-uppercase.el:
4489 Remove generated files from VCS repository.
4490
fb6a5d68
EZ
44912013-11-27 Eli Zaretskii <eliz@gnu.org>
4492
4493 * filenotify.el (file-notify-add-watch): Don't special-case
4494 w32notify when computing the directory to watch.
4495
cb6c95a3
GM
44962013-11-27 Glenn Morris <rgm@gnu.org>
4497
20372d0c
GM
4498 Make bootstrap without generated uni-*.el files possible again.
4499 * loadup.el: Update command-line-args checking for unidata-gen.
4500 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4501 * composite.el, international/characters.el:
4502 Handle unicode tables being undefined.
4503
52d6635f 4504 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
4505 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4506 (compile-main): Depend on leim rule.
4507 (leim): New rule.
4508 * loadup.el: Move leim-list.el to leim/ subdirectory.
4509 * startup.el (normal-top-level): No more leim directory.
4510 * international/ja-dic-cnv.el (skkdic-convert):
4511 Disable version-control and autoloads in output files.
4512 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4513 Disable version-control and autoloads in output files.
4514 * leim/quail: Move here from ../leim.
4515 * leim/quail/hangul.el (hangul-input-method-activate):
4516 Add autoload cookie.
4517 (generated-autoload-load-name): Set file-local value.
4518 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4519 (generated-autoload-load-name): Set file-local value.
4520
7514d3f8 45212013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 4522
e0eb0550 4523 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 4524 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 4525 (eww-quit): Ask confirmation before quitting eww.
e47112ee 4526
0e2c793f
EZ
45272013-11-26 Eli Zaretskii <eliz@gnu.org>
4528
4529 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4530 reading output from Diff on MS-Windows and MS-DOS.
4531
447bdcb8
BB
45322013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4533
4534 * emacs-lisp/helpers.el (string-reverse): New function.
4535
5fbf6856
MA
45362013-11-26 Michael Albinus <michael.albinus@gmx.de>
4537
4538 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4539 names on MS Windows, like "/[::1]:".
4540
4541 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4542 SWITCHES.
4543
624780f0
GM
45442013-11-26 Glenn Morris <rgm@gnu.org>
4545
0bf3f0fa
GM
4546 * progmodes/python.el (python-indent-guess-indent-offset):
4547 Avoid corner-case error. (Bug#15975)
4548
624780f0
GM
4549 Preload leim-list.el. (Bug#4789)
4550 * loadup.el: Load leim-list.el when found.
4551 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4552
4301875e 45532013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
4554
4555 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4556
4301875e
BB
4557 * emacs-lisp/helpers.el (string-join): New function.
4558
1633a815 45592013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
4560
4561 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4562 Mark as obsolete and replace it with a symbol property.
4563 (byte-compile-form): Use new 'interactive-only property.
4564 * comint.el, files.el, replace.el, simple.el:
4565 Apply new 'interactive-only properly.
4566
00139435
MR
45672013-11-25 Martin Rudalics <rudalics@gmx.at>
4568
4569 * window.el (display-buffer-at-bottom): Make sure that
4570 split-window-sensibly creates the new window on bottom
4571 (Bug#15961).
4572
5f5b128d
DK
45732013-11-23 David Kastrup <dak@gnu.org>
4574
4575 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4576 on the conflict markers when available.
4577 (smerge--get-marker): New function.
4578 (smerge-end-re, smerge-base-re): Add subgroup.
4579
623891e5
SM
45802013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * frame.el (handle-focus-in, handle-focus-out): Add missing
4583 interactive spec.
4584
05ca27d8
MA
45852013-11-25 Michael Albinus <michael.albinus@gmx.de>
4586
4587 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4588 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4589
511fa0d3
SM
45902013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4591
e82ad66c
SM
4592 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4593 (gomoku--last-pos): New var.
4594 (gomoku--intangible-chars): New const.
4595 (gomoku--intangible): New function.
4596 (gomoku-mode): Use it. Derive from special-mode.
4597 (gomoku-move-up): Adjust line count.
4598 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4599 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4600 Simplify accordingly.
4601
511fa0d3
SM
4602 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4603 Remove blink-cursor code.
4604 (blink-cursor-timer-function, blink-cursor-suspend):
4605 Don't special-case GUIs.
4606 (blink-cursor-mode): Use focus-in/out-hook.
4607
6f20dd03
DG
46082013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4609
4610 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4611 work when annotation is invisible (Bug#13886).
4612
431dec31 46132013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
4614
4615 * json.el (json-alist-p): Only return non-nil if the alist has
4616 simple keys (Bug#13518).
4617
431dec31 46182013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
4619
4620 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4621 when control-statement is the first statement in a buffer (Bug#15956).
4622
ee4f0261
DG
46232013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4624
4625 * imenu.el (imenu-generic-skip-comments-and-strings):
4626 New option (Bug#15560).
4627 (imenu--generic-function): Use it.
4628
c484f866
JS
46292013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4630
e9dc713d
JB
4631 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4632 (Bug#13898)
c484f866 4633
41ce6f70
BB
46342013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4635
b55aea38
BB
4636 * emacs-lisp/helpers.el: Add some string helpers.
4637 (string-trim-left): Removes leading whitespace.
4638 (string-trim-right): Removes trailing whitespace.
4639 (string-trim): Removes leading and trailing whitespace.
4640
41ce6f70
BB
4641 * subr.el (string-suffix-p): New function.
4642
3cfb6af3
GM
46432013-11-23 Glenn Morris <rgm@gnu.org>
4644
4645 * progmodes/python.el (python-shell-send-file):
4646 Add option to delete file when done. (Bug#15647)
4647 (python-shell-send-string, python-shell-send-region): Use it.
4648
c27924b7
IS
46492013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4650
e1b01c7f
IS
4651 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4652 to set buffer-read-only to t, never to nil. (Bug#15938)
4653
c27924b7
IS
4654 * textmodes/tex-mode.el (latex-noindent-environments):
4655 Add safe-local-variable property. (Bug#15936)
4656
17e0445b
GM
46572013-11-23 Glenn Morris <rgm@gnu.org>
4658
92f78ea3
GM
4659 * textmodes/enriched.el (enriched-mode): Doc fix.
4660 * emacs-lisp/authors.el (authors-renamed-files-alist):
4661 Add enriched.doc -> enriched.txt.
4662
17e0445b
GM
4663 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4664
965bb23a
LL
46652013-11-22 Leo Liu <sdl.web@gmail.com>
4666
4667 * progmodes/octave.el (inferior-octave-startup): Spit out error
4668 message.
4669
d19ffd64
BB
46702013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4671
4672 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4673 Improve docstring.
15ba2182
BB
4674 Add :version.
4675 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 4676
7a7567d2
LL
46772013-11-22 Leo Liu <sdl.web@gmail.com>
4678
4679 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4680 (Bug#15076)
8c09f64b
LL
4681 (octave-help-mode): Adapt to change to help-mode-finish to use
4682 derived-mode-p on 2013-09-17.
4683 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 4684 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 4685
724bc265
LL
46862013-11-22 Leo Liu <sdl.web@gmail.com>
4687
4688 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4689 (inferior-octave-startup, inferior-octave-check-process)
4690 (inferior-octave-track-window-width-change)
4691 (octave-completion-at-point, octave-eldoc-function): Use it.
4692 (octave-kill-process): Provide confirmation. (Bug#10564)
4693
38637cca
LL
46942013-11-21 Leo Liu <sdl.web@gmail.com>
4695
511fa0d3
SM
4696 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4697 Fix obsolete variable comment-use-global-state.
38637cca 4698
06e752b4
RS
46992013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4700
511fa0d3
SM
4701 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4702 Add `octave-source-file'.
06e752b4
RS
4703 (octave-source-file): New function. (Bug#15935)
4704
7514d3f8 47052013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
4706
4707 * net/eww.el (eww-local-regex): New variable.
4708 (eww): Use it to detect localhost and similar.
4709
b6ffa04a
LL
47102013-11-21 Leo Liu <sdl.web@gmail.com>
4711
4712 Add completion for command `ag'.
2021a200
LL
4713 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4714 (pcomplete/ag): New function.
e9dc713d 4715 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 4716
d1a6bccc
SM
47172013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4720 (bug#14646).
4721 (make-obsolete): Remove interactive spec.
4722
2df10228
GM
47232013-11-21 Glenn Morris <rgm@gnu.org>
4724
4725 * startup.el (command-line-1): Use path-separator with -L.
4726
86fd16b6
TZ
47272013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4728
4729 * emacs-lisp/package.el (describe-package-1): Add package archive
4730 to shown fields.
4731
0449d6cd 47322013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
4733
4734 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4735 Change default to "# encoding: %s" to differentiate it from the
4736 default Ruby encoding comment template.
4737
dc7e8c17 47382013-11-20 era eriksson <era+emacsbugs@iki.fi>
4739
4740 * ses.el (ses-mode): Doc fix. (Bug#14748)
4741
f0cfa5fe
LL
47422013-11-20 Leo Liu <sdl.web@gmail.com>
4743
4744 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4745
826dc7b6
DN
47462013-11-19 Dan Nicolaescu <dann@gnu.org>
4747
4748 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4749 when rebase or bisect are in progress.
4750
a6e3a5d5
XF
47512013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4752
4753 * filenotify.el (file-notify-add-watch): Doc fix.
4754
f130cb76
LL
47552013-11-19 Leo Liu <sdl.web@gmail.com>
4756
e0855d7d
LL
4757 * obsolete/rcompile.el: Mark obsolete.
4758
f130cb76 4759 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
4760 (compilation-goto-locus, compilation-find-file):
4761 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
4762 (Bug#13594)
4763
4764 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
4765 new parameter no-display-ok. Return either a window or nil
4766 but never a non-window value.
f130cb76 4767
1f35d401
SM
47682013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4769
25158c76
SM
4770 * electric.el (electric-indent-mode-map): Remove.
4771 (electric-indent-mode): Change the global-map instead (bug#15915).
4772
4773 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4774 Use add-function.
1f35d401 4775
9bc67baa
SM
47762013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4777
986545b5
SM
4778 * emacs-lisp/nadvice.el (remove-function): Align with
4779 add-function's behavior.
4780
9bc67baa
SM
4781 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4782 (gdb--string-regexp): New constant.
4783 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4784 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4785 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4786 submatch 1.
4787 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4788 Adjust use accordingly.
4789 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4790
56cd894e
AS
47912013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4792
4793 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4794 interpolation curlies (Bug#15914).
4795
014690de
JB
47962013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4797
4798 * calc/calc.el (calc-context-sensitive-enter): New variable.
4799 (calc-enter): Use `calc-context-sensitive-enter'.
4800
7e26a6c3
TZ
48012013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4802
4803 * progmodes/cfengine.el: Version bump.
4804 (cfengine-cf-promises): New defcustom to locate cf-promises.
4805 (cfengine3-vartypes): Add new "data" type.
4806 (cfengine3--current-word): New function to get current name-like
4807 word or its bounds.
4808 (cfengine3--current-function): New function to look up a CFEngine
4809 function's definition.
4810 (cfengine3-format-function-docstring): New function.
4811 (cfengine3-make-syntax-cache): New function.
4812 (cfengine3-documentation-function): New function: ElDoc glue.
4813 (cfengine3-completion-function): New function: completion glue.
4814 (cfengine3-mode): Set `compile-command',
4815 `eldoc-documentation-function', and add to
4816 `completion-at-point-functions'.
4817
355204dd
MA
48182013-11-16 Michael Albinus <michael.albinus@gmx.de>
4819
4820 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4821 `tramp-current-connection'.
4822
43cebc23
DG
48232013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4824
4825 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4826 nil/self/true/false with "end of symbol".
4827
a3fed6ff
BB
48282013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4829
4830 * subr.el (version-regexp-alist): Fix a typo.
4831
e675b3e4
MA
48322013-11-15 Michael Albinus <michael.albinus@gmx.de>
4833
4834 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4835 "en_US.utf8" and "LC_CTYPE" to "".
4836 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4837 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4838
a1f03e89
LL
48392013-11-15 Leo Liu <sdl.web@gmail.com>
4840
4841 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4842
5d9d9451
SM
48432013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4844
58362662
CS
4845 * progmodes/gud.el (ctl-x-map):
4846 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
4847 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4848
6c1bf086
BB
48492013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4850
0d5363c4
BB
4851 * subr.el (version-regexp-alist):
4852 Recognize hg, svn and darcs versions as snapshot versions.
4853
4e9fc48c
BB
4854 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4855 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4856 (ruby--encoding-comment-required-p): Extract from
4857 `ruby-mode-set-encoding'.
4858 (ruby-mode-set-encoding): Add the ability to always insert an
4859 utf-8 encoding comment. Fix and simplify coding comment update
4860 logic.
6c1bf086 4861
2f7e72f8
MA
48622013-11-14 Michael Albinus <michael.albinus@gmx.de>
4863
4864 * net/tramp-gvfs.el (top): Run init code only when
4865 `tramp-gvfs-enabled' is not nil.
4866 (tramp-gvfs-enabled): Check also :system bus.
4867
0f137a73
SM
48682013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4869
4870 Sync with upstream verilog-mode revision 78e66ba.
4871 * progmodes/verilog-mode.el (verilog-end-of-defun)
4872 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4873 (verilog-get-end-of-defun): Remove unused argument.
4874 (verilog-comment-depth): Remove unused local `e'.
4875 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4876 Don't pass arg to verilog-get-end-of-defun.
4877
1c276bdd
GM
48782013-11-14 Glenn Morris <rgm@gnu.org>
4879
4880 * obsolete/assoc.el (aget): Prefix dynamic variable.
4881
4882 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4883
ff6ec81d
SM
48842013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * widget.el, hfy-cmap.el: Remove bogus package version number.
4887
75f777b6
GM
48882013-11-13 Glenn Morris <rgm@gnu.org>
4889
1d43dba1
GM
4890 * replace.el (replace-eval-replacement):
4891 Try to give more helpful error message. (Bug#15836)
4892
ff4b7bd5
GM
4893 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4894 (archive-7z-update): Avoid custom type mismatches.
4895
75f777b6
GM
4896 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4897
11151a06
MA
48982013-11-13 Michael Albinus <michael.albinus@gmx.de>
4899
e675b3e4 4900 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
4901 address can be empty.
4902
4903 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4904 Accept nil SWITCHES.
4905 (tramp-gvfs-handle-write-region): Implement APPEND.
4906
7b08f97e
DG
49072013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4908
4909 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
4910 binary "|" operator and closing block args delimiter.
4911 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
4912 (ruby-smie--implicit-semi-p): Not after "|" operator.
4913 (ruby-smie--closing-pipe-p): New function.
4914 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4915 (ruby-smie-rules): Indent after "|".
4916
f201cf3a
GM
49172013-11-12 Glenn Morris <rgm@gnu.org>
4918
4919 * ps-print.el (ps-face-attribute-list):
4920 Handle anonymous faces. (Bug#15827)
4921
e6f759f9
MR
49222013-11-12 Martin Rudalics <rudalics@gmx.at>
4923
4924 * window.el (display-buffer-other-frame): Fix doc-string.
4925 (Bug#15868)
4926
ecda65d4
SM
49272013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4930
7ce8fcc3
MA
49312013-11-11 Michael Albinus <michael.albinus@gmx.de>
4932
4933 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4934 (tramp-sh-handle-file-local-copy): Don't write a message when
4935 saving temporary files.
4936
4937 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4938 both directories are remote.
4939 (tramp-smb-handle-directory-files): Do not return double entries.
4940 Do not expand full file names.
4941 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4942 (tramp-smb-handle-write-region): Implement APPEND.
4943 (tramp-smb-get-stat-capability): Fix a stupid bug.
4944
7818df11
SM
49452013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4946
4947 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4948
608c2085
NT
49492013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4950
4951 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4952 throwing error over malformed let/let* (bug#15814).
4953
122a7e46
SM
49542013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * iswitchb.el (iswitchb-mode): Mark obsolete.
4957
766284d9
GM
49582013-11-11 Glenn Morris <rgm@gnu.org>
4959
4960 * international/uni-bidi.el, international/uni-category.el:
4961 * international/uni-name.el, international/uni-numeric.el:
4962 Regenerate for Unicode 6.3.0.
4963
7072a4e9
MA
49642013-11-10 Michael Albinus <michael.albinus@gmx.de>
4965
4966 * net/tramp.el (tramp-methods):
4967 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4968 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4969
c9df215b
AS
49702013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4971
608c2085
NT
4972 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4973 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 4974
fa47d796
DG
49752013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4976
4977 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 4978 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
4979 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4980 (ispell-complete-word): Call `ispell-lookup-words' with the value
4981 independent of `ispell-look-p'.
4982
1629a329
DG
49832013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4984
4985 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4986 Not after "||".
4987 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4988 their parent.
4989
ad16897c
SM
49902013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4991
4992 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4993 (ruby-font-lock-keywords): Use backquote.
4994
ffa2df72
DG
49952013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4996
4997 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4998 (ruby-smie--backward-token): Only consider full-string matches.
4999
5b97b4c0
JD
50002013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5001
5002 * faces.el (describe-face): Add distant-foreground.
5003
71731c03
BB
50042013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5005
4e9fc48c
BB
5006 * progmodes/ruby-mode.el: Improve encoding comment handling.
5007 (ruby-encoding-magic-comment-style): New option.
5008 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
5009 (ruby--insert-coding-comment, ruby--detect-encoding):
5010 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
5011 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5012 to control the style of the auto-inserted encoding comment.
71731c03 5013
da3b328d
DG
50142013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5015
ad16897c
SM
5016 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5017 Use `smie-backward-sexp' with token argument.
da3b328d 5018
1606c2d3
MA
50192013-11-08 Michael Albinus <michael.albinus@gmx.de>
5020
5021 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5022 Remove instrumentation code.
5023
b0f4c320
GM
50242013-11-08 Glenn Morris <rgm@gnu.org>
5025
5026 * progmodes/autoconf.el (autoconf-mode):
5027 Tweak comment-start-skip. (Bug#15822)
5028
43668fb1
SM
50292013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5032 at bobp (bug#15826).
5033 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5034
daddb3fd
DH
50352013-11-08 Darren Hoo <darren.hoo@gmail.com>
5036
5037 * man.el (Man-start-calling): New macro, extracted from
5038 Man-getpage-in-background.
5039 (Man-getpage-in-background): Use it.
5040 (Man-update-manpage): New command.
5041 (Man-mode-map): Bind it.
5042
1f923923
DG
50432013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5044
5045 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5046 of "and", "or", "&&" and "||".
5047 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5048 argument. Prohibit opening curly brace because it could only be a
5049 block opener in that position.
daddb3fd
DH
5050 (ruby-smie--forward-token, ruby-smie--backward-token):
5051 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
5052 arguments.
5053 (ruby-smie--indent-to-stmt): New function, seeks the end of
5054 previous statement or beginning of buffer.
5055 (ruby-smie-rules): Use it.
5056 (ruby-smie-rules): Check if there's a ":" before a curly block
5057 opener candidate; if there is, it's a hash.
5058
3220d527
SM
50592013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5062 (cl--block-wrapper): Fix last accidental change.
5063
1eb1f9e0
MA
50642013-11-07 Michael Albinus <michael.albinus@gmx.de>
5065
5066 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5067 Instrument, in order to hunt failure on hydra.
5068
e6e4db3c
NT
50692013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5070
5071 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5072 malformed bindings form (bug#15814).
5073
b420ccfc
DG
50742013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5075
5076 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
5077 "." compared to " @ ". This incidentally fixes some indentation
5078 examples with "do".
e6e4db3c 5079 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
5080 (ruby-smie-grammar): New tokens: "and" and "or".
5081 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5082 Exclude "and" and "or". Remove "do" in order to work around token
5083 priorities.
5084 (ruby-smie-rules): Add all infix tokens. Handle the case of
5085 beginning-of-buffer.
b420ccfc 5086
6b4ac03e
GM
50872013-11-06 Glenn Morris <rgm@gnu.org>
5088
5089 * Makefile.in (setwins_almost, setwins_for_subdirs):
5090 Avoid accidental matches.
5091
5ca114d1
SM
50922013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5093
5094 * menu-bar.el (popup-menu): Use key-binding.
5095
f72552bd
EZ
50962013-11-06 Eli Zaretskii <eliz@gnu.org>
5097
5098 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5099 menus, support also the menus produced by minor modes.
5100 (Bug#15817)
5101
5d5c701e
LL
51022013-11-06 Leo Liu <sdl.web@gmail.com>
5103
5104 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 5105 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 5106
0a8b75e2
GM
51072013-11-06 Glenn Morris <rgm@gnu.org>
5108
5109 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
5110 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5111 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 5112
a35287ea
SM
51132013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5114
feca4e2d
SM
5115 * electric.el (electric-indent-just-newline): New command.
5116 (electric-indent-mode-map): New keymap.
5117 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5118 Re-add :group which weren't redundant.
5119
a35287ea
SM
5120 * electric.el (electric-indent-local-mode): New minor mode.
5121 (electric-indent-functions-without-reindent): New var.
5122 (electric-indent-post-self-insert-function): Use it.
5123 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5124
375761b2
EZ
51252013-11-05 Eli Zaretskii <eliz@gnu.org>
5126
9a6ad735
EZ
5127 * international/quail.el (quail-help): Be more explicit about the
5128 meaning of the labels shown on the keys. (Bug#15800)
5129
375761b2
EZ
5130 * startup.el (normal-top-level): Load the subdirs.el files before
5131 setting the locale environment. (Bug#15805)
5132
520a6e4a
SM
51332013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5134
0acfafef
SM
5135 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5136 via arguments so as to get the right ones (bug#15418).
5137
520a6e4a
SM
5138 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5139
15826261
MA
51402013-11-05 Michael Albinus <michael.albinus@gmx.de>
5141
5142 Fix problems found while writing a test suite.
5143
5144 * net/tramp-compat.el (tramp-compat-load): New defun.
5145 * net/tramp.el (tramp-handle-load): Use it.
5146
5147 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5148 "(numberp ok-if-already-exists)" correctly.
5149
d35f31a4
XF
51502013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5151
5152 * international/characters.el (glyphless-char-display-control):
5153 Add usage note.
5154
ae93bc74
BB
51552013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5156
520a6e4a
SM
5157 * progmodes/python.el (python-mode):
5158 * progmodes/scheme.el (scheme-mode):
5159 * progmodes/prolog.el (prolog-mode):
5160 * progmodes/ruby-mode.el (ruby-mode):
5161 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5162 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 5163
0ade65b5
SM
51642013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5165
a0d5f7a4
SM
5166 * rect.el (rectangle--highlight-for-redisplay):
5167 * emacs-lisp/smie.el (smie--next-indent-change):
5168 Use buffer-chars-modified-tick.
5169
c93f3f5c
SM
5170 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5171
0ade65b5
SM
5172 * electric.el (electric-indent-post-self-insert-function):
5173 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5174
ef9dd188
HE
51752013-11-04 Helmut Eller <eller.helmut@gmail.com>
5176
5177 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5178
306e7308
NT
51792013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5180
5181 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5182 (bug#15786).
5183
e5afbcac
SM
51842013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5185
1d01ad41
SM
5186 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5187
e5afbcac
SM
5188 * progmodes/python.el: Fix up last change.
5189 (python-shell--save-temp-file): New function.
5190 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5191 `string' comes from the current buffer.
5192 (python-shell-send-string-no-output): Remove `msg' arg.
5193 (python--use-fake-loc): New var.
5194 (python-shell-buffer-substring): Obey it. Try to compensate for the
5195 extra coding line added by python-shell--save-temp-file.
5196 (python-shell-send-region): Use python-shell--save-temp-file and
5197 python-shell-send-file directly. Add `nomain' argument.
5198 (python-shell-send-buffer): Use python-shell-send-region.
5199 (python-electric-pair-string-delimiter): New function.
5200 (python-mode): Use it.
5201
d0065ff1
EZ
52022013-11-04 Eli Zaretskii <eliz@gnu.org>
5203
5204 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5205 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5206 environment and decoding all of the default-directory's to here
5207 from command-line.
5208 (command-line): Decode also argv[0].
5209
5210 * loadup.el: Error out if default-directory is a multibyte string
5211 when we are dumping.
5212
5213 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5214
7397c587
TZ
52152013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5216
5217 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
5218 (package-menu--print-info, package-menu--archive-predicate):
5219 Add Archive column to package list.
7397c587 5220
b27cc9fc
MA
52212013-11-04 Michael Albinus <michael.albinus@gmx.de>
5222
5223 Fix problems found while writing a test suite.
5224
5225 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5226 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5227 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5228 to nil when running original file name handler. Otherwise,
5229 there are problems with constructs like "$$FOO".
5230
5231 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5232 for `localname'.
5233
d8c4f18a
BB
52342013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5235
7b530552
BB
5236 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5237
5238 * subr.el (version<, version<=, version=):
5239 Update docstrings with information for snapshot versions.
5240
d8c4f18a
BB
5241 * helpers.el: New library for misc helper functions.
5242 (hash-table-keys): New function returning a list of hash keys.
5243 (hash-table-values): New function returning a list of hash values.
5244
dca01b09
DG
52452013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5246
5247 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5248 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5249
0a749fa0
MN
52502013-11-04 Michal Nazarewicz <mina86@mina86.com>
5251
5252 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5253 checking whether point is after a 1-letter word.
5254
52552013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
5256
5257 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5258 Don't infloop when expanding region over `multiline' syntax-type that
5259 begins a line (bug#15778).
5260
4aca7145
SM
52612013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5264 Make it into a proper minor mode.
5265 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5266 (rectangle-mark-mode-map): New keymap.
5267 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5268
a0833f62
GM
52692013-11-04 Glenn Morris <rgm@gnu.org>
5270
5271 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5272
e61845c1
SM
52732013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5276 (ruby-smie-rules): Use smie-rule-parent instead.
5277
5278 * emacs-lisp/smie.el (smie-rule-parent): Always call
5279 smie-indent-virtual rather than only for hanging tokens.
5280 (smie--next-indent-change): New helper command.
5281
62942f89
GM
52822013-11-03 Glenn Morris <rgm@gnu.org>
5283
5284 * Makefile.in (abs_srcdir): Remove.
5285 (emacs): Unset EMACSLOADPATH.
5286
b0b9e592
GM
52872013-11-02 Glenn Morris <rgm@gnu.org>
5288
18ba6a33 5289 * Makefile.in (EMACS): Use a relative filename.
8061810d 5290 (abs_top_builddir): Remove.
18ba6a33
GM
5291 (custom-deps, finder-data, autoloads): Use --chdir.
5292
6a8b929e
GM
5293 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5294
c617f3d0
GM
5295 Use relative filenames in TAGS files.
5296 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5297 (lisptagsfiles4, TAGS): Use relative file names.
5298 (TAGS-LISP): Remove.
5299 (maintainer-clean): No more TAGS-LISP file.
5300
b0b9e592
GM
5301 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5302 (lisptagsfiles4): Use absolute filenames again.
5303 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5304 Remove all *loaddefs files, not just the first. Remove esh-groups.
5305 (maintainer-clean): Delete TAGS, TAGS-LISP.
5306
d1c0ea6a
BB
53072013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5308
e61845c1
SM
5309 * emacs-lisp/package.el (package-version-join):
5310 Recognize snapshot versions.
d1c0ea6a 5311
684d71c6
BB
53122013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5313
5314 * subr.el (version-regexp-alist): Add support for snapshot versions.
5315
3d42b968
DG
53162013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5317
e61845c1
SM
5318 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5319 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
5320 skip over our direct parent if it's an assignment token..
5321 (ruby-smie-rules): Use it.
5322
7ffd3721
DG
53232013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5324
8449dd1f 5325 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
5326 unconditionally. Remove now unnecessary forward declarations.
5327 Remove XEmacs-specific setup.
5328 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5329 (ruby-font-lock-syntactic-keywords)
5330 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5331 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5332 (ruby-here-doc-end-syntax): Remove.
5333 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5334 defined as function.
5335
a3996a2e
BB
53362013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5337
5338 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5339
6f9260e8
BB
53402013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5341
5342 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5343 table and abbrev table, `define-derived-mode' does that for us
5344 anyway.
5345
6014de84
GM
53462013-11-01 Glenn Morris <rgm@gnu.org>
5347
5348 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5349 files is atomic for some time, so no parallel compilation issues).
5350
3c334c14
JD
53512013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5352
5353 * faces.el (face-x-resources): Add :distant-foreground.
5354 (region): Use :distant-foreground for gtk and ns.
5355
9bc236c8
TH
53562013-11-01 Tassilo Horn <tsdh@gnu.org>
5357
5246583b 5358 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
5359 BibTeX.
5360 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5361 (reftex-locate-bibliography-files): Us it.
5362
d14c81ee
CB
53632013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5364
0e7690de
CB
5365 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5366 allow comments in pbm files.
5367
d14c81ee
CB
5368 * term/w32-win.el (dynamic-library-alist): Support newer versions
5369 of libjpeg starting with v7: look only for the DLL from the
5370 version against which Emacs was built.
ac1bf374 5371 Support versions of libpng beyond 1.4.x.
019c8218 5372 Support libtiff v4.x.
d14c81ee 5373
983d0df5
BB
53742013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5375
5376 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5377 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5378 Add property :safe.
5379 (ruby-deep-arglist): Add property :type.
5380
47f58d85
GM
53812013-10-31 Glenn Morris <rgm@gnu.org>
5382
5383 * Makefile.in (custom-deps, finder-data): No need to setq the target
5384 variables, we are in the right directory and the defaults work fine.
5385
4f85b479
GM
53862013-10-30 Glenn Morris <rgm@gnu.org>
5387
ca7dd4cd
GM
5388 * Makefile.in (autoloads): Do not use abs_lisp.
5389
4f85b479
GM
5390 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5391 `newline' does not respect `standard-output', so use `princ'.
5392
cf59e41c
AA
53932013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5394
5395 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5396 * buff-menu.el (Buffer-menu--unmark): New function.
5397 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5398
74cf04fb
GM
53992013-10-30 Glenn Morris <rgm@gnu.org>
5400
b040b60e
GM
5401 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5402
f53d3815
GM
5403 * emacs-lisp/package.el (lm-homepage): Declare.
5404
5413d873
GM
5405 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5406 Fix doc typos.
5407
cecedb36
GM
5408 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5409
74cf04fb
GM
5410 * Makefile.in (finder-data, autoloads, update-subdirs)
5411 (compile-main, compile-clean, compile-always, bootstrap-clean):
5412 Check return value of cd.
5413 (compile-calc): Remove.
5414
195ee2f0
SM
54152013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5416
ae4002ce
SM
5417 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5418
5419 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5420 (byte-compile-and-folded): New function.
5421 (=, <, >, <=, >=): Use it.
5422
5423 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5424 (path-separator, null-device, buffer-file-coding-system)
5425 (lpr-headers-switches): Check system-type before modifying them.
5426 (find-buffer-file-type-coding-system): Mark obsolete.
5427 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5428 find-file-not-found-set-buffer-file-coding-system.
35e951cd 5429 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
ae4002ce 5430 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
35e951cd 5431 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
ae4002ce
SM
5432 (w32-direct-print-region-helper, w32-direct-print-region-function)
5433 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5434 * startup.el (normal-top-level-add-subdirs-to-load-path):
5435 * ps-print.el (ps-print-region-function):
5436 * lpr.el (print-region-function): Use new name.
5437
53b39e89
SM
5438 * subr.el (custom-declare-variable-early): Remove function.
5439 (custom-declare-variable-list): Remove var.
5440 (error, user-error): Remove `while' loop.
5441 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5442 (user-emacs-directory-warning, locate-user-emacs-file):
5443 Move to files.el.
5444 * simple.el (read-quoted-char-radix, read-quoted-char):
5445 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5446 Move from subr.el.
5447 * custom.el (custom-declare-variable-list): Don't process
5448 custom-declare-variable-list.
5449
195ee2f0
SM
5450 * progmodes/python.el (python-shell-get-buffer): New function.
5451 (python-shell-get-process): Use it.
5452 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5453 Python which encoding was used. Don't split-string since we only care
5454 about the first line. Return the temp-file, if applicable.
5455 (python-shell-send-region): Tell compile.el how to turn locations in
5456 the temp-file into locations in the source buffer.
5457
7e3561ee
SM
54582013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5459
4c9797cb
SM
5460 * subr.el (undefined): Add missing behavior from the C code for
5461 unbound keys.
5462
3472b6c6
SM
5463 * rect.el: Use lexical-binding. Add new rectangular region support.
5464 (rectangle-mark): New command.
5465 (rectangle--region): New var.
5466 (deactivate-mark-hook): Reset rectangle--region.
5467 (rectangle--extract-region, rectangle--insert-for-yank)
5468 (rectangle--highlight-for-redisplay)
5469 (rectangle--unhighlight-for-redisplay): New functions.
5470 (region-extract-function, redisplay-unhighlight-region-function)
5471 (redisplay-highlight-region-function): Use them to handle
5472 rectangular region.
5473 * simple.el (region-extract-function): New var.
5474 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5475 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5476 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5477 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5478 (redisplay-unhighlight-region-function)
5479 (redisplay-highlight-region-function): New vars.
5480 (redisplay--update-region-highlight): New function.
5481 (pre-redisplay-function): Use it.
5482 (exchange-point-and-mark): Don't deactivate the mark before
5483 reactivate-it anyway.
5484 * comint.el (comint-kill-region): Remove yank-handler argument.
5485 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5486 (delete-char): Remove property, since it's now part of their
5487 default behavior.
5488 (self-insert-iso): Remove property since this command doesn't exist.
5489
7e3561ee
SM
5490 * emacs-lisp/package.el (package--download-one-archive)
5491 (describe-package-1): Don't query the user about final newline.
5492
b9bef71f
DC
54932013-10-29 Daniel Colascione <dancol@dancol.org>
5494
5495 * net/tramp.el (tramp-methods): Document new functionality.
5496 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5497 tramp-hostname-checker if method provides one instead of scanning
5498 argument list for "%h" to decide hostname acceptability.
5499
4efc33f0
MA
55002013-10-28 Michael Albinus <michael.albinus@gmx.de>
5501
5502 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5503 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5504 Handle COPY-CONTENTS. (Bug#15737)
5505
ed42a877
DU
55062013-10-28 Daiki Ueno <ueno@gnu.org>
5507
5508 * epa-file.el
7e3561ee
SM
5509 (epa-file-cache-passphrase-for-symmetric-encryption):
5510 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 5511
18c9f8a2
XF
55122013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5513
35e951cd 5514 * image.el (defimage, image-load-path): Doc fixes.
18c9f8a2 5515
b1e8e010
AM
55162013-10-27 Alan Mackenzie <acm@muc.de>
5517
5518 Indent statements in macros following "##" correctly.
7e3561ee
SM
5519 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5520 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 5521
73d40d1e 55222013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
5523
5524 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5525
c8c605ac
DG
55262013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5527
5528 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5529 after `=' is probably a new expression.
5530
ca7e59d4
RS
55312013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5532
5533 * man.el (man-imenu-title): New option.
5534 (Man-mode-map): Add menu. (Bug#15722)
5535 (Man-mode): Add imenu to menu.
5536
bae91342
DG
55372013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5538
5539 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5540 specific in what the first arg can be: a non-keyword word,
5541 string/regexp/percent literal opener, opening paren, or unary
5542 operator followed directly by word.
5543
eb89dc14
SM
55442013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5547 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5548 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5549 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5550 Remove vars, they do not apply any more.
5551 (prolog-mode-abbrev-table): Remove redundant declaration.
5552 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5553 (prolog-use-smie): Remove.
5554 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5555 supported by prolog-electric-if-then-else-flag.
5556 (prolog-mode-variables, prolog-menu): Use setq-local.
5557 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5558 Remove binding to `Backspace' since this key doesn't exist anyway.
5559 Remove bindings for electric self-inserting keys.
5560 (prog-mode): Assume it's defined.
5561 (prolog-post-self-insert): New function.
5562 (prolog-mode): Use it.
5563 (prolog-indent-line, prolog-indent-level)
5564 (prolog-find-indent-of-matching-paren)
5565 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5566 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5567 (prolog-goto-next-paren, prolog-in-string-or-comment)
5568 (prolog-tokenize, prolog-inside-mline-comment)
5569 (prolog-find-start-of-mline-comment): Remove functions.
5570 (prolog-find-unmatched-paren, prolog-clause-end)
5571 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5572 (prolog-electric--if-then-else): Rename from
5573 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5574 (prolog-tokenize-searchkey): Remove const.
5575 (prolog-clause-info): Use forward-sexp.
5576 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5577 (prolog-electric-if-then-else): Remove commands.
5578 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5579 for use in post-self-insert-hook.
5580 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5581 for use in post-self-insert-hook.
5582 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5583 for use in post-self-insert-hook.
5584 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5585 adapt it for use in post-self-insert-hook.
5586
3dab0a83
MA
55872013-10-25 Michael Albinus <michael.albinus@gmx.de>
5588
5589 * emacs-lisp/ert.el (ert-run-tests-interactively):
5590 Use `completing-read'. (Bug#9756)
5591
fbfd0e1d
EZ
55922013-10-25 Eli Zaretskii <eliz@gnu.org>
5593
5594 * simple.el (line-move): Call line-move-1 instead of
5595 line-move-visual when the current window hscroll is zero, but
5596 temporary-goal-column indicates we will need to hscroll as result
5597 of the movement. (Bug#15712)
5598
963ce636
DG
55992013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5600
5601 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
5602 capitalization. Use :visible instead of :active.
5603 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
5604 commands that are used with SMIE.
5605 (ruby-do-end-to-brace): Insert space after `{'.
5606
a0be396a
JA
56072013-10-25 John Anthony <john@jo.hnanthony.com>
5608
f73754c9
JA
5609 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5610
5611 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 5612
f5bf77df
GM
56132013-10-25 Glenn Morris <rgm@gnu.org>
5614
5615 * vc/vc.el (vc-print-log): Don't use a working revision unless
5616 one was explicitly specified. (Bug#15322)
5617
37241f62
SM
56182013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * subr.el (add-to-list): Preserve return value in compiler-macro
5621 (bug#15692).
5622
6408a65d
RS
56232013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5624
5625 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5626 result. Ask user to retry using '-all' flag. (Bug#15701)
5627
71e3276b
SM
56282013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * emacs-lisp/smie.el: New smie-config system.
5631 (smie-config): New defcustom.
5632 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5633 (smie-config-guess, smie-config-save): New commands.
5634 (smie-config--mode-local, smie-config--buffer-local)
5635 (smie-config--trace, smie-config--modefuns): New vars.
5636 (smie-config--advice, smie-config--mode-hook)
5637 (smie-config--setter, smie-config-local, smie-config--get-trace)
5638 (smie-config--guess-value, smie-config--guess): New functions.
5639 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5640 text properties. Treat "string fence" syntax like string syntax.
5641
5642 * progmodes/sh-script.el (sh-use-smie): Change default.
5643 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5644 (sh-var-value): Simplify by CSE.
5645 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5646 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5647 is used.
5648 (sh-guess-basic-offset): Use cl-incf.
5649 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5650
60db713e
HE
56512013-10-24 Helmut Eller <eller.helmut@gmail.com>
5652
5653 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5654 (bug#15699).
5655
8b251df6
GM
56562013-10-24 Glenn Morris <rgm@gnu.org>
5657
5658 * Makefile.in (abs_top_srcdir): Remove.
5659 (update-subdirs): Use relative path to update-subdirs.
5660
6be0e22b
EZ
56612013-10-24 Eli Zaretskii <eliz@gnu.org>
5662
5663 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5664 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
5665 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5666 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 5667
50b5b857
MA
56682013-10-24 Michael Albinus <michael.albinus@gmx.de>
5669
5670 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5671 (ert-test-skipped): New error.
5672 (ert-skip, ert-stats-skipped): New defuns.
5673 (ert--skip-unless): New macro.
5674 (ert-test-skipped): New struct.
5675 (ert--run-test-debugger, ert-test-result-type-p)
5676 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5677 (ert--stats-set-test-and-result, ert-char-for-test-result)
5678 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 5679 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 5680 Handle skipped tests. (Bug#9803)
50b5b857 5681
6f317c2f
GM
56822013-10-24 Glenn Morris <rgm@gnu.org>
5683
e43817c1
GM
5684 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5685
6f317c2f
GM
5686 * Makefile.in (abs_top_srcdir): New, set by configure.
5687 (update-subdirs): Correct build-aux location.
5688
369bbf71
DG
56892013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5690
8297b2cf
DG
5691 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5692 value, whether we could auto-deduce `backend', or not.
5693
369bbf71
DG
5694 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5695 with parameters" example. Simplify the "is it block or is it
5696 hash" check, but also make it more thorough.
5697
d5f1282f
MF
56982013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5699
5700 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5701
bc4aaa31
SM
57022013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5703
03d44565
SM
5704 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5705 { if it is hanging.
5706
bc4aaa31
SM
5707 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5708 :before ";".
5709
f493ff19
JB
57102013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5711
5712 * progmodes/compile.el (compilation-directory-matcher)
5713 (compilation-page-delimiter):
5714 Support GNU Make-4.0 directory quoting. (Bug#15678)
5715
c744a3b9
LL
57162013-10-23 Leo Liu <sdl.web@gmail.com>
5717
5718 * ido.el (ido-tidy): Handle read-only text.
5719
b8e3b0a9
GM
57202013-10-23 Glenn Morris <rgm@gnu.org>
5721
5722 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5723 (emacs, compile, compile-always):
5724 Quote entities that might contain whitespace.
5725 (custom-deps, finder-data, autoloads): Use abs_lisp.
5726 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5727 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5728 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5729
ee4282cd
DG
57302013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5731
bc4aaa31
SM
5732 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5733 Use `following-char'.
7790a270 5734
ee4282cd 57352013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
5736
5737 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5738 * progmodes/ruby-mode.el (ruby-smie-rules):
5739 Remove corresponding workaround. Fix indentation rule of ";" so it
5740 also applies when ";" is the parent.
5741
d40a46d7
XF
57422013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5743
5744 * frame.el (display-screens, display-pixel-height)
5745 (display-pixel-width, display-mm-width, display-backing-store)
5746 (display-save-under, display-planes, display-color-cells)
7790a270
SM
5747 (display-visual-class, display-monitor-attributes-list):
5748 Mention the optional ‘display’ argument in doc strings.
d40a46d7 5749
a0f143c9
MG
57502013-10-22 Michael Gauland <mikelygee@amuri.net>
5751
5752 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5753 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5754
18cacc39
DG
57552013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5756
5757 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5758 TODO. Add "." after " @ ".
5759 (ruby-smie--at-dot-call): New function. Checks if point at method
5760 call with explicit target.
5761 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5762 to the method name tokens when it precedes them.
5763 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5764 (ruby-smie-rules): Add rule for indentation before and after "."
5765 token.
5766
df74c4be
SM
57672013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5768
c6dab55f
SM
5769 * textmodes/remember.el (remember-diary-extract-entries):
5770 Avoid add-to-list.
5771
df74c4be
SM
5772 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5773 an instruction.
5774
8c1ae481
DG
57752013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5776
e9dc713d
JB
5777 * progmodes/ruby-mode.el (ruby-smie-grammar):
5778 Add (almost) all infix operators.
cfef16c0
DG
5779 (ruby-smie--implicit-semi-p): Add new operator chars.
5780
8c1ae481
DG
5781 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5782 `smie-down-list'.
5783 (ruby-smie--args-separator-p): Check that there's no newline
5784 between method call and its arguments.
5785
87756ca9
AM
57862013-10-20 Alan Mackenzie <acm@muc.de>
5787
5788 Allow comma separated lists after Java "implements".
5789
df74c4be
SM
5790 * progmodes/cc-engine.el (c-backward-over-enum-header):
5791 Parse commas.
87756ca9
AM
5792 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5793 from a "disallowed" list in enum fontification.
5794
c25f8957
JB
57952013-10-20 Johan Bockgård <bojohan@gnu.org>
5796
df74c4be 5797 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 5798
c25f8957
JB
5799 * progmodes/verilog-mode.el (verilog-mode): Don't set
5800 comment-indent-function globally.
5801
aca5fcdc
JD
58022013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5803
5f161884
JD
5804 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5805 Move Info menu item creation to ns-win.el.
5806
5807 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5808 in menu bar.
5809
a6c4680a 5810 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
5811
5812 * term/ns-win.el (ns-initialize-window-system): ... to here.
5813
914b7f98
SM
58142013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 * simple.el (newline): Only run post-self-insert-hook when
5817 called interactively.
5818
846ffe77
JB
58192013-10-19 Johan Bockgård <bojohan@gnu.org>
5820
5821 * icomplete.el (icomplete-with-completion-tables): Add :version.
5822
033f22dd
AM
58232013-10-19 Alan Mackenzie <acm@muc.de>
5824
5825 Fix fontification bugs with constructors and const.
5826
5827 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5828 CASE 2) Remove the check for the absence of a suffix construct
5829 after a function declaration with only types (no identifiers) in
5830 the parentheses. Also, accept a function declaration with just a
5831 type inside the parentheses, if this type can be positively
5832 recognised as such, or if a prefix keyword like "explicit" nails
5833 down the construct as a declaration.
5834
58ce0cfc
EZ
58352013-10-19 Eli Zaretskii <eliz@gnu.org>
5836
5837 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5838 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5839 the problem whereby selecting a menu item that leads to a
5840 minibuffer prompt moves the cursor out of the minibuffer window,
5841 making it hard to type at the prompt. Suggested by Stefan Monnier
5842 <monnier@iro.umontreal.ca>.
5843
50e28e7d
JD
58442013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5845
5846 * menu-bar.el: Don't make Services menu.
5847
7deed4bf
RS
58482013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5849
5850 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5851 (ffap-alist): Use ffap-c++-mode for c++-mode.
5852 (ffap-c++-path): New variable.
5853 (ffap-c++-mode): New function.
5854
7bcb455b
JVJ
58552013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5856
5857 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5858
f0ff1cd5
MA
58592013-10-18 Michael Albinus <michael.albinus@gmx.de>
5860
5861 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5862 introduced on 2013-09-08, which results in an infinite loop
5863 requesting a password.
5864
d64da4b7
GM
58652013-10-18 Glenn Morris <rgm@gnu.org>
5866
5867 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5868
ea89ff08
WS
58692013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5870
5871 Sync with upstream verilog-mode revision 1a6ecec7.
5872 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5873 (verilog-mode-release-date): Remove.
5874 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5875 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5876 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5877 (verilog-auto-tieoff-ignore-regexp)
5878 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5879 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5880 (verilog-signals-with, verilog-dir-cache-preserving)
5881 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5882 Doc fixes.
5883 (verilog-case-fold): New option, to control case folding in
5884 regexp searches, bug597.
5885 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5886 (verilog-string-match-fold, verilog-in-paren-count)
5887 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5888 (verilog-at-close-struct-p): New functions.
5889 (verilog-beg-block-re-ordered, verilog-extended-case-re)
35e951cd 5890 (verilog-forward-sexp, verilog-set-auto-endcomments)
ea89ff08
WS
5891 (verilog-leap-to-case-head): Handle "unique0" case.
5892 (verilog-in-constraint-re): New constant.
5893 (verilog-keywords, verilog-type-font-keywords):
5894 Add some SystemVerilog 1800-2012 keywords.
5895 (verilog-label-be): Remove unimplemented argument, bug669.
5896 (verilog-batch-execute-func): When batch expanding clear
5897 create-lockfiles to prevent spurious user locks when a file ends
5898 up not changing.
5899 (verilog-calculate-indent, verilog-calc-1)
5900 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5901 (verilog-do-indent): Fix indentation of nested constraints
5902 and structures.
5903 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5904 (verilog-auto-inst-param): Use verilog-string-match-fold.
5905 (verilog-read-inst-module-matcher):
5906 Fix AUTOINST on gate primitives with #1.
5907 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5908 Reads all user-defined typed variables.
5909 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5910 (verilog-signals-matching-regexp)
5911 (verilog-signals-not-matching-regexp, verilog-auto):
5912 Respect verilog-case-fold.
5913 (verilog-diff-report): Fix line count.
5914 (verilog-auto-assign-modport): Remove unused local `modi'.
5915 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5916 better handle multidimensional arrays.
5917 Fix packed array ports misadding bit index in AUTOINST, bug637.
5918 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5919 to not double-declare existing outputs and inputs, respectively.
5920 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5921 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5922 (verilog-sk-uvm-component): New skeleton.
5923 (verilog-submit-bug-report): Add verilog-case-fold,
5924 remove verilog-mode-release-date.
5925
ef566920
BR
59262013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5927
a12bf61e 5928 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
5929 as before.
5930
29df8a0b
RT
59312013-10-18 Reuben Thomas <rrt@sc3d.org>
5932
e0eb0550 5933 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
5934 remember buffers (bug#13566).
5935
04a19a79
DC
59362013-10-18 Daniel Colascione <dancol@dancol.org>
5937
5938 When evaluating forms in ielm, direct standard output to ielm
5939 buffer. Add new ielm-return-for-effect command. Remove trailing
5940 whitespace throughout.
5941
5942 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5943 (ielm-return-for-effect): New command.
5944 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
5945 (ielm-eval-input): Accept optional `for-effect' parameter.
5946 Bind `standard-output' to stream we create using
04a19a79
DC
5947 `ielm-standard-output-impl'. Suppress printing result when
5948 `for-effect'.
5949 (ielm-standard-output-impl): New function.
5950 (inferior-emacs-lisp-mode): Explain new features in documentation.
5951
4c1f03ef
MA
59522013-10-17 Michael Albinus <michael.albinus@gmx.de>
5953
5954 Code cleanup.
5955
5956 * net/tramp.el (tramp-debug-message): Do not check for connection
5957 buffer.
5958 (tramp-message): Use "vector" connection property.
5959
5960 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5961 (tramp-equal-remote, tramp-eshell-directory-change)
5962 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5963 (tramp-adb-handle-rename-file)
5964 * net/tramp-cmds.el (tramp-list-remote-buffers)
5965 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5966 * net/tramp-compat.el (tramp-compat-process-running-p)
5967 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5968 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5969 (tramp-gvfs-handle-rename-file)
5970 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5971 (tramp-set-file-uid-gid)
5972 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5973 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5974 of `file-remote-p'.
5975
5976 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5977 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5978 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5979 (tramp-gw-open-network-stream): Suppress unrelated traces.
5980
5981 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5982 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5983 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5984 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5985 connection property.
5986
5987 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 5988 persistency file.
4c1f03ef
MA
5989
5990 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5991 Refactor common code. Improve debug message.
5992 (tramp-maybe-open-connection)
5993 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5994 connection buffer too early.
5995
5996 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5997 from `tramp-smb-actions-with-acl'.
5998 (tramp-smb-actions-set-acl): New defconst.
5999 (tramp-smb-handle-copy-directory)
6000 (tramp-smb-action-get-acl): New defun, renamed from
6001 `tramp-smb-action-with-acl'.
6002 (tramp-smb-action-set-acl): New defun.
6003 (tramp-smb-handle-set-file-acl): Rewrite.
6004
642eb8b6
GM
60052013-10-17 Glenn Morris <rgm@gnu.org>
6006
6007 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6008
85527ff3
SM
60092013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6010
921c1d62
SM
6011 * skeleton.el (skeleton-newline): Remove.
6012 (skeleton-internal-1): Use (insert "\n") instead.
6013
e333fb10
SM
6014 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6015 let-bindings.
6016
85527ff3
SM
6017 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6018 forward-sexp-function while we redo its job (bug#15613).
6019
c8722a97
JB
60202013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6021
6022 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6023 represented by lists.
6024
7a550bbb
GM
60252013-10-16 Glenn Morris <rgm@gnu.org>
6026
6027 * tmm.el (tmm--history): New dynamic variable.
6028 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6029
f19da8ad
MA
60302013-10-16 Michael Albinus <michael.albinus@gmx.de>
6031
6032 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6033 (tramp-smb-errors): Add error messages.
6034 (tramp-smb-actions-with-acl): New defconst.
afe1e4c8 6035 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
f19da8ad
MA
6036 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6037 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6038 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6039 (tramp-smb-get-stat-capability): Fix tests.
6040
a24b9961
DK
60412013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6042
6043 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6044 (bug#15580).
6045
62ad85e6
GM
60462013-10-16 Glenn Morris <rgm@gnu.org>
6047
0283d6b0
GM
6048 * ansi-color.el (ansi-color-drop-regexp):
6049 Add 1J, 1K, 2K. (Bug#15617)
6050
012e2f9f
GM
6051 * files.el (hack-local-variables--warned-lexical): New.
6052 (hack-local-variables):
6053 Warn about misplaced lexical-binding. (Bug#15616)
6054
62ad85e6
GM
6055 * net/eww.el (eww-render): Always set eww-current-url,
6056 and update header line. (Bug#15622)
6057 (eww-display-html): ... Rather than just doing it here.
6058
6456c0ea
EZ
60592013-10-15 Eli Zaretskii <eliz@gnu.org>
6060
6061 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6062 menu navigations commands.
6063
c2de5588
DK
60642013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6065
6066 * progmodes/subword.el (subword-capitalize): Be careful when
6067 the search for [[:alpha:]] fails (bug#15580).
6068
ccd4a783
EZ
60692013-10-14 Eli Zaretskii <eliz@gnu.org>
6070
6071 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6072 to commands that scroll the menu.
6073
1eda1d8d
DG
60742013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6075
c2de5588
DK
6076 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6077 Handle methods ending with `?' and `!'.
1eda1d8d 6078
e70181b8
AM
60792013-10-14 Akinori MUSHA <knu@iDaemons.org>
6080
6081 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6082 `japanese-cp932' to `cp932' to fix the problem where saving a
6083 source file written in Shift_JIS twice would end up having
6084 `coding: japanese-cp932' which Ruby could not recognize.
6085 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6086 in `ruby-encoding-map'.
6087 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6088 doesn't need to be explicitly declared in magic comment.
6089 (ruby-encoding-map): Add type declaration for better customize UI.
6090
9148ee92
GM
60912013-10-13 Glenn Morris <rgm@gnu.org>
6092
a5d38e34
GM
6093 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6094 Occur buffers are read-only. http://bugs.debian.org/720775
6095
9148ee92
GM
6096 * emacs-lisp/authors.el (authors-fixed-entries):
6097 Comment out old alpha stuff.
6098
a9ba094b
DG
60992013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6100
6101 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6102 to `after-save-hook' instead of `before-save-hook'.
6103 (ruby-mode-set-encoding): Use the value of coding system used to
6104 write the file. Call `basic-save-buffer-1' after modifying the
6105 buffer.
6106
7a068717
AM
61072013-10-13 Alan Mackenzie <acm@muc.de>
6108
6109 Fix indentation/fontification of Java enum with
6110 "implements"/generic.
6111
c2de5588
DK
6112 * progmodes/cc-engine.el (c-backward-over-enum-header):
6113 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
6114 (c-inside-bracelist-p): Uses new function above.
6115 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6116 function above.
6117 (c-font-lock-enum-tail): Uses new function above.
6118
85b64f02
KH
61192013-10-13 Kenichi Handa <handa@gnu.org>
6120
6121 * international/mule-cmds.el (select-safe-coding-system): Remove a
6122 superfluous condition in chekcing whether a coding system is safe
6123 or not.
6124
fc7f501b
OK
61252013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6126
6127 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6128
fdcb2049
AP
61292013-10-13 Andreas Politz <politza@hochschule-trier.de>
6130
6131 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6132
8c106d17
GM
61332013-10-13 Glenn Morris <rgm@gnu.org>
6134
feab892d
GM
6135 * menu-bar.el (menu-bar-update-buffers):
6136 Unify Buffers menu prompt string. (Bug#15576)
6137
b22d0686
GM
6138 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6139
8c106d17
GM
6140 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6141 Add some entries.
6142 (authors-fixed-entries): Use accented form of name.
6143
1b12c797
SM
61442013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6145
650fa7bf 6146 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 6147 method calls (bug#15594).
650fa7bf
SM
6148 (ruby-smie--args-separator-p): New function.
6149 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6150 recognize paren-free method calls.
6151
1b12c797
SM
6152 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6153 internals of universal-argument.
6154
029619c8
EZ
61552013-10-11 Eli Zaretskii <eliz@gnu.org>
6156
6157 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
6158 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6159 dropped menu on second mouse click on the menu bar.
029619c8 6160
dd070019
SM
61612013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6164 (explicit-shell-file-name): Declare.
6165 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6166 (sh-completion-at-point-function): New function.
6167 (sh-mode): Use it.
6168 (sh-smie--keyword-p): Remove unused argument.
6169 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6170 vars.
6171 (sh-set-shell): Always setup SMIE, even if we use the
6172 old indentation code.
6173
0922b826
DG
61742013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6175
b68e2926
DG
6176 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6177 cases of ? and =.
6178 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6179 predicate would return nil are almost non-existent.
6180 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6181
0922b826
DG
6182 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6183 cache also after commands that modify the buffer but don't move
6184 point.
6185
ee041f2d
SM
61862013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * env.el (substitute-env-in-file-name): New function.
6189 (substitute-env-vars): Extend the meaning of the optional arg.
6190
a5dab159
EZ
61912013-10-10 Eli Zaretskii <eliz@gnu.org>
6192
6193 * term/w32-win.el (dynamic-library-alist): Define separate lists
6194 of GIF DLLs for versions before and after 5.0.0 of giflib.
6195 (Bug#15531)
6196
0449d6cd 61972013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
6198
6199 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6200 not locked, use last revision and current source as
6201 defaults. (Bug#15569)
6202
2f6e161e
MY
62032013-10-10 Masatake YAMATO <yamato@redhat.com>
6204
6205 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6206 menu-bar is hidden.
6207
6c8413fc
MR
62082013-10-10 Martin Rudalics <rudalics@gmx.at>
6209
6210 * window.el (pop-to-buffer-same-window): Fix doc-string.
6211 (Bug#15492)
6212
20832de0
SM
62132013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6216
c6e8ae77
AC
62172013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6218
6219 * calendar/icalendar.el (icalendar-import-file):
6220 Fix interactive spec. (Bug#15482)
6221
9db13baf
GM
62222013-10-10 Glenn Morris <rgm@gnu.org>
6223
9271e90e
GM
6224 * desktop.el (desktop-save): Default to saving in .emacs.d,
6225 since PWD is no longer in desktop-path by default. (Bug#15319)
6226
9db13baf
GM
6227 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6228 now that text mode has a menu with the same entry.
6229 (menu-bar-text-mode-auto-fill): Remove now unused func.
6230 * textmodes/text-mode.el (text-mode-map):
6231 Use auto-fill help text from menu-bar.el.
6232
a0be396a 62332013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
6234
6235 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6236
2edcd3c7
JL
62372013-10-09 Juri Linkov <juri@jurta.org>
6238
6239 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6240 instead of this-command-keys. Add universal-argument-more and
6241 universal-argument-minus to the list of prefix commands. (Bug#15568)
6242
574411d0
GM
62432013-10-09 Glenn Morris <rgm@gnu.org>
6244
14afa541
GM
6245 * vc/vc-svn.el (vc-svn-create-repo):
6246 Expand paths in file://... url. (Bug#15446)
6247
574411d0
GM
6248 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6249 Add some entries.
6250 (authors): Remove unused local variables.
6251
79804536
SM
62522013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * profiler.el: Create a more coherent calltree from partial backtraces.
6255 (profiler-format): Hide the tail with `invisible' so that C-s can still
6256 find the hidden elements.
6257 (profiler-calltree-depth): Don't recurse so enthusiastically.
6258 (profiler-function-equal): New hash-table-test.
6259 (profiler-calltree-build-unified): New function.
6260 (profiler-calltree-build): Use it.
6261 (profiler-report-make-name-part): Indent the calltree less.
6262 (profiler-report-mode): Add visibility specs for profiler-format.
6263 (profiler-report-expand-entry, profiler-report-toggle-entry):
6264 Expand the whole subtree when provided with a prefix arg.
6265
238150c8
DG
62662013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6267
6268 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6269 iuwu-mod token.
6270 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6271 hanging iuwu-mod token.
6272 (ruby-smie--forward-token): Do not include a dot after a token in
6273 that token.
6274 (ruby-smie--backward-token): Likewise.
6275
b0949cc4
JL
62762013-10-08 Juri Linkov <juri@jurta.org>
6277
6278 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6279 to isearch-other-control-char.
6280 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6281 and isearch-post-command-hook to post-command-hook.
6282 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6283 and isearch-post-command-hook from post-command-hook.
6284 (isearch-unread-key-sequence)
6285 (isearch-reread-key-sequence-naturally)
6286 (isearch-lookup-scroll-key, isearch-other-control-char)
6287 (isearch-other-meta-char): Remove functions.
6288 (isearch-pre-command-hook, isearch-post-command-hook):
6289 New functions based on isearch-other-meta-char rewritten
6290 relying on the new behavior of overriding-terminal-local-map
6291 that does not replace the local keymaps any more. (Bug#15200)
6292
4ed77415
EZ
62932013-10-08 Eli Zaretskii <eliz@gnu.org>
6294
6295 Support menus on text-mode terminals.
6296 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6297 functionality.
6298
6299 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6300
c2de5588
DK
6301 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6302 Move here from mouse.el.
4ed77415
EZ
6303 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6304 and arrow keys.
6305 (tty-menu-navigation-map): New map for TTY menu navigation.
6306
6307 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6308
6309 * frame.el (display-mouse-p): Report text-mode mouse as available
6310 on w32.
6311 (display-popup-menus-p): Report availability if mouse is
6312 available; don't condition on window-system.
6313
6314 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6315 (tty-menu-selected-face): New faces.
6316
b7d5bd82
TL
63172013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6318
06286513
SM
6319 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6320 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6321 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6322 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6323 New constants.
6324 (lisp-mode-variables): New `elisp' argument.
6325 (emacs-lisp-mode): Use it.
6326 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6327 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6328
b7d5bd82
TL
6329 * indent.el: Use lexical-binding.
6330 (indent-region): Add progress reporter.
6331 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6332 last step.
6333 (indent--next-tab-stop): New function to implement this behavior.
6334 (tab-to-tab-stop, move-to-tab-stop): Use it.
6335
63362013-10-08 Teemu Likonen <tlikonen@iki.fi>
6337
6338 * indent.el (indent-rigidly--current-indentation): New function.
6339 (indent-rigidly-map): New var.
6340 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6341
5ea75d23
BG
63422013-10-08 Bastien Guerry <bzg@gnu.org>
6343
f2726fa2 6344 * register.el (insert-register): Fix 2013-10-07 change.
5ea75d23 6345
cc5da1ec
SM
63462013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6347
8ffa1a0b
SM
6348 * progmodes/perl-mode.el: Use lexical-binding.
6349 Remove redundant :group args.
6350 (perl-nochange): Change default to be closer to other major modes's
6351 standard behavior.
6352 (perl-indent-line): Don't consider text on current line as a
6353 valid beginning of function from which to indent.
6354
f2223371
SM
6355 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6356 with more than one argument (bug#15538).
6357
44256060
SM
6358 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6359
cc5da1ec
SM
6360 * vc/pcvs.el: Use lexical-binding.
6361 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6362 environment of `eval'.
6363 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6364 than a list of expressions. Adjust callers.
6365 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6366
0ea1599d
DG
63672013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6368
6369 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 6370 case of the dot in a chained method call being on the following line.
0ea1599d 6371
da3e5ebb
SM
63722013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6373
2abb4e65
SM
6374 * electric.el (electric-indent-inhibit): New var.
6375 (electric-indent-post-self-insert-function): Use it.
6376 * progmodes/python.el (python-mode): Set it.
6377
d2e0e795
SM
6378 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6379 open braces.
6380
6381 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6382
bdc6b4c8
SM
6383 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6384 (css-mode): Use electric-indent-chars.
6385
da3e5ebb
SM
6386 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6387 (font-lock-beg, font-lock-end): Move before first use.
6388 (nxml-mode): Use syntax-propertize-function.
6389 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6390 (nxml-extend-after-change-region): Remove.
6391 * nxml/xmltok.el: Use lexical-binding.
6392 (xmltok-save): Use `declare'.
6393 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6394 * nxml/nxml-util.el: Use lexical-binding.
6395 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6396 Use `declare'.
6397 * nxml/nxml-ns.el: Use lexical-binding.
6398 (nxml-ns-save): Use `declare'.
6399 (nxml-ns-prefixes-for): Avoid add-to-list.
6400 * nxml/rng-match.el: Use lexical-binding.
6401 (rng--ipattern): Use cl-defstruct.
6402 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6403 (rng-cons-group-after, rng-subst-group-after)
6404 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6405 Use closures instead of `(lambda...).
6406
f8f91d5d
MA
64072013-10-07 Michael Albinus <michael.albinus@gmx.de>
6408
6409 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6410 of BEG and END.
6411
da3e5ebb
SM
6412 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6413 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
6414 (tramp-gvfs-handle-insert-file-contents): Remove function.
6415
da3e5ebb
SM
6416 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6417 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
6418
6419 * net/trampver.el: Update release number.
6420
7ccae3b1
SM
64212013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6422
55ca2c0d
SM
6423 * progmodes/compile.el (compilation-parse-errors):
6424 Use compilation--put-prop.
6425 (compilation--ensure-parse): Check compilation-multiline.
6426
731fc3ae
SM
6427 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6428
da3e5ebb
SM
6429 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6430 lexical-binding.
a5833280 6431
2e7ba2c2
SM
6432 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6433
7ccae3b1
SM
6434 * progmodes/ruby-mode.el: Fix recently added tests.
6435 (ruby-smie-grammar): Add - and +.
6436 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6437 (ruby-smie--backward-id): New functions.
6438 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6439 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6440 any more.
6441
85698d63
LL
64422013-10-07 Leo Liu <sdl.web@gmail.com>
6443
6444 * register.el (register-preview-delay)
6445 (register-preview-functions): New variables.
6446 (register-read-with-preview, register-preview)
6447 (register-describe-oneline): New functions.
6448 (point-to-register, window-configuration-to-register)
6449 (frame-configuration-to-register, jump-to-register)
6450 (number-to-register, view-register, insert-register)
6451 (copy-to-register, append-to-register, prepend-to-register)
6452 (copy-rectangle-to-register): Use register-read-with-preview to
6453 read register. (Bug#15525)
6454
3986af6c
DS
64552013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6456
6457 * net/network-stream.el (network-stream-open-starttls): Don't add
6458 --insecure if it's already present, because that gnutls-cli
6459 rejects getting that parameter twice.
6460
5cd9cda9
DG
64612013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6462
6463 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6464 keyword, too.
6465
da9ea6d9
DG
64662013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6467
6468 * newcomment.el (comment-use-global-state): Change default value
6469 to t, mark obsolete (Bug#15251).
6470 (comment-beginning): In addition to `comment-to-syntax', check the
6471 value of `comment-use-global-state'.
6472
34d1a133
SM
64732013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6474
6475 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6476 (ruby-comment-column): Follow the global default, by default.
6477 (ruby-smie-grammar): Add assignment syntax.
6478 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6479 open-paren, a comma, or a \.
6480 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6481 and line continuations.
6482 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6483 followed by implicit semi-colons. Add rule for string concatenation
6484 and for indentation at BOB.
27821a89 6485 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
34d1a133
SM
6486
6487 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6488 calling next-sexp, since next-token may have skipped chars which
6489 next-sexp doesn't know should be skipped!
6490
6f6ab820
LL
64912013-10-05 Leo Liu <sdl.web@gmail.com>
6492
34d1a133
SM
6493 * progmodes/octave.el (octave-send-region):
6494 Call compilation-forget-errors.
6f6ab820 6495
34ca0f4c
XF
64962013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6497
6498 * vc/vc-svn.el (vc-svn-find-admin-dir):
6499 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6500 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6501 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6502 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6503
a27c1b72
SM
65042013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6505
6506 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6507
258ab3bc
SM
65082013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * subr.el (read-passwd): Hide chars even when called within a context
6511 where after-change-functions is disabled (bug#15501).
6512 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6513 until we removed ourself from overriding-terminal-local-map.
6514
939fb29c
LL
65152013-10-04 Leo Liu <sdl.web@gmail.com>
6516
258ab3bc
SM
6517 * progmodes/octave.el (inferior-octave-mode):
6518 Call compilation-forget-errors.
939fb29c 6519
63bd7f35
XF
65202013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6521
6522 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6523
9e6229fa
MA
65242013-10-04 Michael Albinus <michael.albinus@gmx.de>
6525
6526 * net/secrets.el (secrets-create-collection): Add optional
6527 argument ALIAS. Use proper Label keyword. Append ALIAS as
6528 dbus-call-method argument. (Bug#15516)
6529
1dab32a3
LL
65302013-10-04 Leo Liu <sdl.web@gmail.com>
6531
6532 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6533 (inferior-octave-compilation-font-lock-keywords): New variables.
6534 (compilation-error-regexp-alist)
6535 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6536 (inferior-octave-mode): Use compilation-shell-minor-mode.
6537
6cad7ba3
JS
65382013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6539
6540 * minibuffer.el (completion--replace): Be careful that `end' might be
6541 a marker.
6542
acbadd00
DU
65432013-10-03 Daiki Ueno <ueno@gnu.org>
6544
6545 Add support for package signature checking.
6546 * emacs-lisp/package.el (url-http-file-exists-p)
6547 (epg-make-context, epg-context-set-home-directory)
6548 (epg-verify-string, epg-context-result-for)
6549 (epg-signature-status, epg-signature-to-string)
6550 (epg-check-configuration, epg-configuration)
6551 (epg-import-keys-from-file): Declare.
6552 (package-check-signature): New user option.
6553 (package-unsigned-archives): New user option.
6554 (package-desc): Add `signed' field.
6555 (package-load-descriptor): Set `signed' field if .signed file exists.
6556 (package--archive-file-exists-p): New function.
6557 (package--check-signature): New function.
6558 (package-install-from-archive): Check package signature.
6559 (package--download-one-archive): Check archive signature.
6560 (package-delete): Remove .signed file.
6561 (package-import-keyring): New command.
6562 (package-refresh-contents): Import default keyring.
6563 (package-desc-status): Add "unsigned" status.
6564 (describe-package-1, package-menu--print-info)
6565 (package-menu-mark-delete, package-menu--find-upgrades)
6566 (package-menu--status-predicate): Support "unsigned" status.
6567
adf2aa61
SM
65682013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6569
6570 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6571 the new compilation scheme using the new byte-codes.
6572
6573 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6574 (byte-pophandler): New byte codes.
6575 (byte-goto-ops): Adjust accordingly.
6576 (byte-compile--use-old-handlers): New var.
6577 (byte-compile-catch): Use new byte codes depending on
6578 byte-compile--use-old-handlers.
6579 (byte-compile-condition-case--old): Rename from
6580 byte-compile-condition-case.
6581 (byte-compile-condition-case--new): New function.
6582 (byte-compile-condition-case): New function that dispatches depending
6583 on byte-compile--use-old-handlers.
6584 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6585 when we can.
6586
6587 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6588 Optimize under `condition-case' and `catch' if
6589 byte-compile--use-old-handlers is nil.
6590 (disassemble-offset): Handle new bytecodes.
6591
328a8179
SM
65922013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * subr.el (error): Use `declare'.
6595 (decode-char, encode-char): Use advertised-calling-convention instead
6596 of the docstring to discourage use of the `restriction' arg.
6597
15a1e936
DU
65982013-10-03 Daiki Ueno <ueno@gnu.org>
6599
6600 * epg.el (epg-verify-file): Add a comment saying that it does not
6601 notify verification error as a return value nor a signal.
6602 (epg-verify-string): Ditto.
6603
376f862a
KR
66042013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6605
6606 * progmodes/compile.el (compilation-start): Try globbing the arg to
6607 `cd' (bug#15417).
6608
a2f93a5f
MA
66092013-10-02 Michael Albinus <michael.albinus@gmx.de>
6610
6611 Sync with Tramp 2.2.8.
6612
6613 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6614 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6615 * net/trampver.el: Update release number.
6616
0daa0804
JD
66172013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6618
6619 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6620 and default-process-coding-system for darwin only.
6621
abd1ae34
SM
66222013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6625
be4e325d
MH
66262013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6627
6628 * vc/vc-git.el (vc-git-grep): Disable pager.
6629
e9155c4a
DG
66302013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6631
494e898b
DG
6632 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6633 Use :url instead of :homepage, as per
6634 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6635
e9155c4a
DG
6636 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6637 non-nil, use `syntax-ppss' (Bug#15251).
6638
481a8e0f
RS
66392013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6640
be4e325d
MH
6641 * progmodes/octave.el (inferior-octave-startup-file):
6642 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 6643
056453c6
DG
66442013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6645
be4e325d
MH
6646 * emacs-lisp/package.el (package-desc-from-define):
6647 Accept additional arguments as plist, convert them to an alist and store
6648 them in the `extras' slot.
056453c6
DG
6649 (package-generate-description-file): Convert extras alist back to
6650 plist and append to the `define-package' form arguments.
6651 (package--alist-to-plist): New function.
6652 (package--ac-desc): Add `extras' slot.
6653 (package--add-to-archive-contents): Check if the archive-contents
6654 vector is long enough, and if it is, pass its `extras' slot value
6655 to `package-desc-create'.
6656 (package-buffer-info): Call `lm-homepage', pass the returned value
6657 to `package-desc-from-define'.
6658 (describe-package-1): Render the homepage button (Bug#13291).
6659
be4e325d
MH
6660 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6661 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 6662
832966e5
JD
66632013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6664
6665 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6666 and default-process-coding-system to utf-8-unix (Bug#15402).
6667
6cfe977d
XF
66682013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6669
6670 * subr.el (looking-back): Do not recommend using looking-back.
6671
38de11bd
AM
66722013-09-28 Alan Mackenzie <acm@muc.de>
6673
6674 Fix indentation/fontification of Java enum with "implements".
6675
6676 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6677 regexp which matches "implements", etc., in Java.
6678 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6679 specifier clauses coming after "enum".
6680 * progmodes/cc-fonts.el (c-font-lock-declarations)
6681 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6682 after "enum".
6683
1610938f
JD
66842013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6685
6686 * faces.el (region): Change ns_selection_color to
6687 ns_selection_fg_color, add ns_selection_bg_color.
6688
e090f499
LL
66892013-09-28 Leo Liu <sdl.web@gmail.com>
6690
4d2e94d1
LL
6691 * progmodes/octave.el (inferior-octave-completion-table)
6692 (inferior-octave-completion-at-point): Minor tweaks.
6693
e090f499
LL
6694 * textmodes/ispell.el (ispell-lookup-words): Rename from
6695 lookup-words. (Bug#15460)
6696 (lookup-words): Obsolete.
6697 (ispell-complete-word, ispell-command-loop): All uses changed.
6698
7e138a62
RS
66992013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6700
a12bf61e 6701 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
6702 (octave-mode-menu): Add octave-send-buffer.
6703 (octave-send-buffer): New function.
6704
5af5ed08
RS
67052013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6706
a12bf61e 6707 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
6708 octave-lookfor.
6709 (octave-mode-menu): Add octave-lookfor.
6710 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6711 octave-lookfor.
6712 (octave-lookfor): New function.
6713
3b7b2692
SM
67142013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6715
35e951cd 6716 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
3b7b2692
SM
6717 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6718 its convention.
6719 (cl--loop-set-iterator-function): New function.
6720 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6721 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6722 Bind `it' with `let' instead of substituting it with `cl-subst'.
6723 (cl--unused-var-p): New function.
6724 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6725 Eliminate some unused variable warnings (bug#15326).
6726
529fb53f
TH
67272013-09-27 Tassilo Horn <tsdh@gnu.org>
6728
6729 * doc-view.el (doc-view-scale-reset): Rename from
6730 `doc-view-reset-zoom-level'.
6731 (doc-view-scale-adjust): New command.
6732 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6733 `doc-view-scale-adjust'.
6734
0550c95a
TH
67352013-09-26 Tassilo Horn <tsdh@gnu.org>
6736
6737 * doc-view.el (doc-view-reset-zoom-level): New command.
6738 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6739 zoom commands (bug#15466).
6740
6950f152
KH
67412013-09-26 Kenichi Handa <handa@gnu.org>
6742
6743 * international/quail.el (quail-help): Make it not a command.
6744
39587580
LL
67452013-09-26 Leo Liu <sdl.web@gmail.com>
6746
6747 * minibuffer.el (completion-all-sorted-completions): Make args
6748 optional as they are.
6749
00578659
DC
67502013-09-25 Daniel Colascione <dancol@dancol.org>
6751
6752 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6753 specs are and that they're not evaluated.
6754
0c173878
SS
67552013-09-24 Sam Steingold <sds@gnu.org>
6756
6757 * midnight.el (clean-buffer-list-kill-regexps)
6758 (clean-buffer-list-kill-buffer-names): Update for the new Man
6759 buffer naming which includes the object name.
6760
84998447
SM
67612013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6764 (eshell-parse-command, eshell-parse-pipeline): Use it since
6765 eshell-separate-commands requires a dynamic scoped var.
6766 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6767
33215353
LL
67682013-09-23 Leo Liu <sdl.web@gmail.com>
6769
6770 * autoinsert.el (auto-insert-alist): Make the value of
6771 lexical-binding match its file setting.
6772
57b16162
JB
67732013-09-23 Juanma Barranquero <lekktu@gmail.com>
6774
c8af4e67
JB
6775 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6776
57b16162
JB
6777 * autoarg.el (autoarg-kp-digit-argument):
6778 * electric.el (Electric-command-loop):
6779 * kmacro.el (kmacro-step-edit-insert):
6780 Do not set universal-argument-num-events.
6781
7186ba60
LL
67822013-09-22 Leo Liu <sdl.web@gmail.com>
6783
6784 * files.el (interpreter-mode-alist): Add octave.
6785
ece15004
AM
67862013-09-21 Alan Mackenzie <acm@muc.de>
6787
6788 C++: fontify identifier in declaration following "public:" correctly.
6789 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6790 to match "public", etc.
6791 (c-decl-prefix-re): Add ":" into the C++ value.
6792 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6793 bit. Add a check for a ":" preceded by "public", etc.
6794
75d83e22
EZ
67952013-09-21 Eli Zaretskii <eliz@gnu.org>
6796
6797 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6798 recognized by GDB 7.5 and later.
6799
d052d3bd
XF
68002013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6801
6802 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6803
31dca772
R
68042013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * subr.el (internal--call-interactively): New const.
6807 (called-interactively-p): Use it (bug#3984).
6808
98ccf24e
XF
68092013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6810
6811 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
6812 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6813 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 6814
c39cc7d1
SM
68152013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6818 (eshell-ls-orig-insert-directory): Remove.
6819 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6820 (eshell-ls-use-in-dired): Use advice-add/remove.
6821 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6822 Add `orig-fun' arg for use in :around advice.
6823 Make it check (redundantly) eshell-ls-use-in-dired.
6824
9a0289a2
GM
68252013-09-19 Glenn Morris <rgm@gnu.org>
6826
a2c501b8
GM
6827 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6828
c440407a
GM
6829 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6830
9a0289a2
GM
6831 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6832
85e05915
MA
68332013-09-19 Michael Albinus <michael.albinus@gmx.de>
6834
6835 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6836 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6837 (tramp-get-remote-python): New defuns.
6838 (tramp-get-remote-uid-with-perl)
6839 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6840 contributed by yary <not.com@gmail.com> (tiny change).
6841 (tramp-get-remote-uid-with-python)
6842 (tramp-get-remote-gid-with-python): New defuns. Python code
6843 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6844 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6845
ce503312
GM
68462013-09-19 Glenn Morris <rgm@gnu.org>
6847
f7544773
GM
6848 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6849
72fd2877
GM
6850 * eshell/em-unix.el (eshell-remove-entries):
6851 Rename argument to avoid name-clash with global `top-level'.
6852
336b5a56
GM
6853 * eshell/esh-proc.el (eshell-kill-process-function):
6854 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6855 (eshell-reset-after-proc): Remove unused arg `proc'.
6856
57a3a53d
GM
6857 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6858 (directory-files-and-attributes): Mark unused arg.
6859
3261d4af
GM
6860 * eshell/em-unix.el (eshell-remove-entries):
6861 Remove unused arg `path'. Update callers.
6862
8e51b5d0
GM
6863 * eshell/em-hist.el (eshell-hist-parse-arguments):
6864 Remove unused arg `silent'. Update callers.
6865
ce503312
GM
6866 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6867 Fix (f)boundp mix-up.
6868
6869 * eshell/em-smart.el (eshell-smart-scroll-window)
6870 (eshell-disable-after-change):
336b5a56 6871 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 6872
ee3ce8a7
AM
68732013-09-18 Alan Mackenzie <acm@muc.de>
6874
6875 Fix fontification of type when followed by "const".
6876 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6877 "known" types from fontification.
6878
ec9177ba
GM
68792013-09-18 Glenn Morris <rgm@gnu.org>
6880
7bb3e768
GM
6881 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6882 (chart-face-list): Drop Emacsen without display-color-p.
6883
5148da15
GM
6884 * net/eww.el (libxml-parse-html-region): Declare.
6885 (eww-display-html): Explicit error if no libxml2 support.
6886
2f68e157
GM
6887 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6888
9019d095
GM
6889 * image.el (image-type-from-buffer, image-multi-frame-p):
6890 Remove --without-x warning/error.
67645389 6891
5f30349b 6892 * mouse.el (mouse-yank-primary):
45069b2e 6893 * term.el (term-mouse-paste):
5f30349b
GM
6894 Reorder to silence --without-x compilation.
6895
cd8edbbe
GM
6896 * mpc.el (doc-view-mode): Silence --without-x compilation.
6897
8a78544e
GM
6898 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6899 Silence --without-x compilation.
6900
12679bfd
GM
6901 * progmodes/gud.el (gud-find-file, gud-mode):
6902 Silence --without-x compilation.
6903 (tooltip-mode): Declare.
30810a05 6904
f0047cb9
GM
6905 * wdired.el (dired-backup-overwrite): Remove declaration.
6906 (wdired-mode-map): Add doc string.
6907
e740f9d2
GM
6908 * custom.el (x-get-resource): Declare.
6909
92d77c89
GM
6910 * eshell/em-glob.el (ange-cache):
6911 * eshell/em-unix.el (ange-cache): Declare.
6912
76e69577
GM
6913 * faces.el (x-display-list, x-open-connection, x-get-resource):
6914 Declare.
7e58af4b
GM
6915
6916 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6917 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6918 Declare.
76e69577 6919
4bd4c0af 6920 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 6921
ffb82dbd
GM
6922 * net/gnutls.el (gnutls-log-level): Declare.
6923
986ed135
GM
6924 * net/shr.el (image-size, image-animate): Declare.
6925
e740f9d2
GM
6926 * simple.el (font-info): Declare.
6927
d2f3e9f8
GM
6928 * subr.el (x-popup-dialog): Declare.
6929
047a1a4c
GM
6930 * term/common-win.el (x-select-enable-primary)
6931 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6932 Declare.
6933
f4a1d572
GM
6934 * term/ns-win.el (x-handle-args): Declare.
6935
e843de77
GM
6936 * term/x-win.el (x-select-enable-clipboard): Declare.
6937
5fa89513
GM
6938 * term/w32-win.el (create-default-fontset): Declare.
6939
38702b5b
GM
6940 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6941 Declare.
6942
e740f9d2
GM
6943 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6944 (fit-frame-to-buffer): Explicit error if --without-x.
6945 (mouse-autoselect-window-select): Silence compiler.
6946
49a053fc
GM
6947 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6948
6949 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6950 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6951 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 6952 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
6953 Remove unused local variables.
6954
6955 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6956
ec9177ba
GM
6957 * textmodes/two-column.el: Make 2C-split work for --without-x.
6958 (scroll-bar-columns): Autoload.
6959 (top-level): Require fringe when compiling.
6960
9f25cb77
LL
69612013-09-18 Leo Liu <sdl.web@gmail.com>
6962
6963 * subr.el (add-hook): Robustify to handle closure as well.
6964
2b42da98
GM
69652013-09-17 Glenn Morris <rgm@gnu.org>
6966
6967 * simple.el (messages-buffer-mode-map): Unbind "g".
6968
e8b66a6a
SM
69692013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6970
9c0ad4f7
SM
6971 * help-mode.el (help-mode-finish): Use derived-mode-p.
6972 Remove obsolete highlighting.
6973
7a806dfb
SM
6974 * play/life.el (life-mode): Use define-derived-mode. Derive from
6975 special-mode.
6976 (life): Let-bind inhibit-read-only.
6977 (life-setup): Avoid `setq'. Use `life-mode'.
6978
96dbf5a8
SM
6979 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6980 which should not be needed any more.
6981 (package-menu-refresh, package-menu-describe-package): Use user-error.
6982
e8b66a6a
SM
6983 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6984 (eshell-post-rewrite-command-hook): Make obsolete.
6985 (eshell-parse-command): Simplify.
6986 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6987 (eshell--cmd): Declare.
6988 (eshell-parse-pipeline): Remove unused var `final-p'.
6989 Pass a dynvar to eshell-post-rewrite-command-hook.
6990 Implement the new eshell-post-rewrite-command-function.
6991 (eshell-invoke-directly): Remove unused arg `input'.
6992 * eshell/esh-io.el (eshell-io-initialize):
6993 Use eshell-post-rewrite-command-function (bug#15399).
6994 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6995 adjust to new calling convention.
6996 (eshell-create-handles): Rename args to avoid clashing with dynvar
6997 `standard-output'.
6998
90582f05
GM
69992013-09-17 Glenn Morris <rgm@gnu.org>
7000
7001 * simple.el (messages-buffer-mode): New major mode.
7002 (messages-buffer): New function.
7003 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7004 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 7005 (ert-run-test): Use `messages-buffer' function.
90582f05 7006 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
7007 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7008 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 7009
39eb0cb5 70102013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
7011
7012 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7013
1d42e5b6 7014 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 7015
70568a90
SM
70162013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7017
504a0381
SM
7018 * icomplete.el (icomplete-in-buffer): New var.
7019 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7020 vars and replace them with functions.
7021 (icomplete-minibuffer-setup): Adjust accordingly.
7022 (icomplete--completion-table, icomplete--completion-predicate)
7023 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7024 New functions.
7025 (icomplete-forward-completions, icomplete-backward-completions)
7026 (icomplete-simple-completing-p, icomplete-exhibit)
7027 (icomplete-completions): Use them.
7028 (icomplete--in-region-buffer): New var.
7029 (icomplete--in-region-setup): New function.
7030 (icomplete-mode): Use it.
7031
70568a90
SM
7032 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7033 (bug#15379).
7034 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7035 return args and options.
7036 (eshell-eval-using-options): Use the new return value of
7037 eshell--do-opts to set the options's vars in their scope.
7038 (eshell--set-option): Rename from eshell-set-option.
7039 Add arg `opt-vals'.
7040 (eshell--process-option): Rename from eshell-process-option.
7041 Add arg `opt-vals'.
7042 (eshell--process-args): Use an `opt-vals' alist to store the options's
7043 values during their processing and return them additionally to the
7044 remaining args.
7045
578c21bc
DG
70462013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7047
7048 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7049 continuation character an operator, as far as indentation is
7050 concerned (Bug#15369).
7051
c089653d
MR
70522013-09-15 Martin Rudalics <rudalics@gmx.at>
7053
7054 * window.el (window--state-put-2): Don't process buffer state
7055 when buffer doesn't exist any more (Bug#15382).
7056
1e53bb4b
GM
70572013-09-15 Glenn Morris <rgm@gnu.org>
7058
30753242
GM
7059 * eshell/em-unix.el (eshell/rm):
7060 Make -f ignore missing files. (Bug#15373)
7061
1e53bb4b
GM
7062 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7063 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7064 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7065
0d8863b3
GM
70662013-09-14 Glenn Morris <rgm@gnu.org>
7067
7068 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7069
d3fc6549
GM
70702013-09-13 Glenn Morris <rgm@gnu.org>
7071
7072 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7073 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7074
fcd42c11
DA
70752013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7076
7077 * frame.el (x-focus-frame): Mark as declared in frame.c.
7078
7830899f
SM
70792013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * ls-lisp.el: Use advice-add.
7082 (original-insert-directory): Remove.
7083 (ls-lisp--insert-directory): Rename from insert-directory; add
7084 `orig-fun' argument.
7085 (insert-directory): Advise.
7086
84387cd2
EZ
70872013-09-13 Eli Zaretskii <eliz@gnu.org>
7088
7089 * term.el (term-emulate-terminal): Decode the command string
7090 before passing it to term-command-hook. (Bug#15337)
7091
35ffc6ba
GM
70922013-09-13 Glenn Morris <rgm@gnu.org>
7093
5c3f9bcc
GM
7094 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7095
2ada368a
GM
7096 * eshell/esh-ext.el (eshell-search-path): Declare.
7097
fcef2e13
GM
7098 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7099 Otherwise an error occurs if eshell-dirs module not loaded.
7100
35ffc6ba
GM
7101 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7102
35c3d36e
MA
71032013-09-13 Michael Albinus <michael.albinus@gmx.de>
7104
7105 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7106 `tramp-check-proper-host'. Check for a valid method name.
7107
7108 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7109 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7110 * net/tramp-sh.el (tramp-maybe-open-connection):
7111 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7112
7113 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7114 also for hash values.
7115
ae5e4c48
SM
71162013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7117
379add74
SM
7118 * term/ns-win.el (parameters): Don't declare as dynamic.
7119 (before-make-frame-hook): Don't add ineffective function.
7120
ae5e4c48
SM
7121 * eshell/*.el: Use lexical-binding (bug#15231).
7122
b5623270
KH
71232013-09-12 Kenichi Handa <handa@gnu.org>
7124
ae5e4c48 7125 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 7126
30213927
GM
71272013-09-12 Glenn Morris <rgm@gnu.org>
7128
be94d713 7129 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 7130 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 7131
44915370
GM
7132 * subr.el (do-after-load-evaluation): Also give compiler warnings
7133 when obsolete files are used (except by obsolete files).
7134
a6ae021f
GM
7135 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7136 in the status output, assume `filename' is the first. (Bug#15322)
7137
40e64f0c
GM
7138 * vc/vc.el (vc-deduce-fileset): Doc fix.
7139
16d9f896
GM
7140 * calc/calc-help.el (Info-goto-node):
7141 * progmodes/cperl-mode.el (Info-find-node):
7142 * vc/ediff.el (Info-goto-node): Update declarations.
7143
dea01c6e
GM
7144 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7145
759880bf 7146 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
7147 (vc-bzr-pull): Require vc-dispatcher.
7148 * vc/vc-git.el (vc-compilation-mode): Declare.
7149 (vc-git-pull): Require vc-dispatcher.
7150
08d66420
GM
7151 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7152
30b626e9
GM
7153 * progmodes/octave.el (help-button-action): Declare.
7154
8c05cb10
GM
7155 * shell.el (shell-directory-tracker): Output error as a message
7156 rather than just returning it as a string.
7157 (shell-process-pushd): Remove useless use of message.
7158
30213927
GM
7159 * dframe.el (dframe-timer-fn):
7160 * files.el (dir-locals-read-from-file):
7161 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7162 (mpc-format):
7163 * reveal.el (reveal-post-command):
7164 * saveplace.el (load-save-place-alist-from-file):
7165 * shell.el (shell-resync-dirs):
7166 * w32-common-fns.el (x-get-selection-value):
7167 * emacs-lisp/copyright.el (copyright-find-copyright):
7168 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7169 * emulation/tpu-edt.el (tpu-copy-keyfile):
7170 * play/bubbles.el (bubbles--mark-neighbourhood):
7171 * progmodes/executable.el
7172 (executable-make-buffer-file-executable-if-script-p):
7173 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7174
d3b049e6
SM
71752013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7176
170266d0
SM
7177 Cleanup Eshell to rely less on dynamic scoping.
7178 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7179 last-value, and ext-command here. Bind `args' closer to `body'.
7180 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7181 (eshell--args): Declare new dynamic var.
7182 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7183 last-value, and ext-command. Pass `args' to `body'.
7184 (eshell-process-args): Bind eshell--args.
7185 (eshell-set-option): Use eshell--args.
7186 * eshell/eshell.el (eshell): Use derived-mode-p.
7187 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7188 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7189 (eshell-glob-function): Declare.
7190 * eshell/esh-util.el: Require cl-lib.
7191 (eshell-read-hosts-file): Avoid add-to-list.
7192 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7193 `err'.
7194 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7195 Declare.
7196 (eshell/diff): Remove unused var `err'.
7197 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7198 `killflag'.
7199 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7200 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7201 first use.
7202 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7203 Move declaration before first use.
7204 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
7205 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7206 rely on cl-return.
7207
56834f3b
GM
72082013-09-12 Glenn Morris <rgm@gnu.org>
7209
7210 * term/ns-win.el (global-map): Remove binding for ispell-next,
7211 deleted 1999-05-29. (Bug#15357)
7212
5c91a2b8
GM
72132013-09-11 Glenn Morris <rgm@gnu.org>
7214
da712f22
GM
7215 * echistory.el (electric-command-history): Remove call to deleted func.
7216
512e4cdc
GM
7217 * play/landmark.el (landmark-mode): Fix typos.
7218
d3506ca5
GM
7219 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7220 Check cvs-sort-ignore-file is bound.
7221
5c91a2b8
GM
7222 * savehist.el: No need for cl when compiling on Emacs.
7223
feeff482
SM
72242013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7225
656bd483
SM
7226 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7227 (bug#15338).
d3b049e6
SM
7228 (eshell-self-insert-command, eshell-send-invisible):
7229 Remove unused argument.
656bd483
SM
7230 (eshell-handle-control-codes): Remove unused var `orig'.
7231 Avoid delete-backward-char.
7232
feeff482
SM
7233 * files.el (set-auto-mode): Simplify a bit further.
7234
2a08047a
GM
72352013-09-11 Glenn Morris <rgm@gnu.org>
7236
7237 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7238 (set-auto-mode): Don't regexp-quote elements.
7239 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7240 * progmodes/cc-mode.el (interpreter-mode-alist):
7241 * progmodes/ruby-mode.el (interpreter-mode-alist):
7242 Revert previous change.
7243
34675540
SM
72442013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7245
1b3b87df
SM
7246 * play/snake.el (snake-mode):
7247 * play/mpuz.el (mpuz-mode):
7248 * play/landmark.el (lm-mode):
7249 * play/blackbox.el (blackbox-mode):
7250 * play/5x5.el (5x5-mode):
7251 * obsolete/options.el (Edit-options-mode):
7252 * net/quickurl.el (quickurl-list-mode):
7253 * net/newst-treeview.el (newsticker-treeview-mode):
7254 * mail/rmailsum.el (rmail-summary-mode):
7255 * mail/mspools.el (mspools-mode):
7256 * locate.el (locate-mode):
7257 * ibuffer.el (ibuffer-mode):
7258 * emulation/ws-mode.el (wordstar-mode):
7259 * emacs-lisp/debug.el (debugger-mode):
7260 * array.el (array-mode):
7261 * net/eudc.el (eudc-mode): Use define-derived-mode.
7262 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7263 Move initialization into declaration.
7264 (mairix-searches-mode): Use define-derived-mode.
7265 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7266 (eudc-edit-hotlist): Use dolist.
7267 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7268 (Man-mode): Use define-derived-mode.
7269 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7270 (Info-edit-mode): Use define-derived-mode.
7271 (Info-cease-edit): Use Info-mode.
7272 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7273 into declaration.
7274 (eshell-mode): Use define-derived-mode.
7275 * chistory.el (command-history-mode-map): Rename from
7276 command-history-map.
7277 (command-history-mode): Use define-derived-mode.
da712f22 7278 (Command-history-setup): Remove function.
1b3b87df
SM
7279 * calc/calc.el (calc-trail-mode-map): New var.
7280 (calc-trail-mode): Use define-derived-mode.
7281 (calc-trail-buffer): Set calc-main-buffer manually.
7282 * bookmark.el (bookmark-insert-annotation): New function.
7283 (bookmark-edit-annotation): Use it.
7284 (bookmark-edit-annotation-mode): Make it a proper major mode.
7285 (bookmark-send-edited-annotation): Use derived-mode-p.
7286 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7287 closer to its ideal place. Use \' to match EOS.
7288
34675540
SM
7289 * profiler.el (profiler-calltree-find): Use function-equal.
7290
6a5c15d9
GM
72912013-09-10 Glenn Morris <rgm@gnu.org>
7292
1af4c220
GM
7293 * files.el (interpreter-mode-alist): Convert to regexps.
7294 (set-auto-mode): Adapt for this. (Bug#15306)
7295 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7296 Comment out unused variable.
7297 * progmodes/cc-mode.el (interpreter-mode-alist):
7298 * progmodes/python.el (interpreter-mode-alist):
7299 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7300 * progmodes/sh-script.el (sh-set-shell):
7301 No longer use interpreter-mode-alist to get list of shells.
7302
6a5c15d9
GM
7303 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7304
8c27f5ff
SM
73052013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7306
02ef6c1a 7307 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 7308 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
7309 Bind switch-frame explicitly. Replace universal-argument-minus with
7310 a conditional binding.
7311 (universal-argument-num-events, saved-overriding-map): Remove.
7312 (restore-overriding-map): Remove.
7313 (universal-argument--mode): Rename from save&set-overriding-map,
7314 and rewrite.
7315 (universal-argument, universal-argument-more, negative-argument)
7316 (digit-argument): Adjust accordingly.
7317 (universal-argument-minus): Remove.
7318 (universal-argument-other-key): Remove.
7319
8c27f5ff
SM
7320 * subr.el (with-demoted-errors): Add `format' argument.
7321
6480194c
MA
73222013-09-10 Michael Albinus <michael.albinus@gmx.de>
7323
7324 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7325 `tramp-cleanup-connection'.
7326
7327 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7328 parameters KEEP-DEBUG and KEEP-PASSWORD.
7329
7330 * net/tramp.el (tramp-file-name-handler):
7331 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7332 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7333 (tramp-maybe-open-connection):
8c27f5ff
SM
7334 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7335 Use `tramp-cleanup-connection'.
6480194c 7336
8c27f5ff
SM
7337 * net/tramp-sh.el (tramp-maybe-open-connection):
7338 Catch 'uname-changed inside the progress reporter.
6480194c 7339
e5e916d8
GM
73402013-09-10 Glenn Morris <rgm@gnu.org>
7341
9a2c9b47
GM
7342 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7343
e5e916d8
GM
7344 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7345 returns "alternate access method" in mode (eg "-rw-r--r--.").
7346
144e38fe
GM
73472013-09-08 Glenn Morris <rgm@gnu.org>
7348
7349 * saveplace.el (load-save-place-alist-from-file):
7350 Demote errors. (Bug#15305)
7351
af9ff9e8
MA
73522013-09-08 Michael Albinus <michael.albinus@gmx.de>
7353
7354 Improve compatibility with older Emacsen, and XEmacs.
7355
7356 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7357 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
7358 (with-tramp-progress-reporter): Do not let-bind `result'.
7359 This yields to scoping errors in XEmacs.
af9ff9e8
MA
7360 (tramp-handle-make-auto-save-file-name): New function, moved from
7361 tramp-sh.el.
7362
7363 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7364 for `make-auto-save-file-name'.
8c27f5ff
SM
7365 (tramp-adb--gnu-switches-to-ash):
7366 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7367
7368 * net/tramp-cache.el (tramp-cache-print): Call
7369 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7370
7371 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7372 bound. It isn't for XEmacs.
7373
8c27f5ff
SM
7374 * net/tramp-compat.el (tramp-compat-copy-file):
7375 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
7376 (tramp-compat-replace-regexp-in-string): New defun.
7377
7378 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7379 for `make-auto-save-file-name'.
7380 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7381 `copy-file'.
7382 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7383 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7384 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7385
8c27f5ff
SM
7386 * net/tramp-gw.el (tramp-gw-open-network-stream):
7387 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 7388
8c27f5ff
SM
7389 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7390 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
7391 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7392 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
7393 (tramp-sh-file-inotifywait-process-filter):
7394 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7395 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7396
7397 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7398 for `make-auto-save-file-name'.
8c27f5ff
SM
7399 (tramp-smb-handle-copy-directory):
7400 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
7401 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7402 (tramp-smb-handle-copy-file): Improve error message.
7403 (tramp-smb-handle-rename-file): Rename directly only in case
7404 `newname' does not exist yet. This is a restriction of smbclient.
7405 (tramp-smb-maybe-open-connection): Rerun the function only when
7406 `auth-sources' is non-nil.
7407
0ca754d0
KH
74082013-09-08 Kenichi Handa <handa@gnu.org>
7409
e0eb0550 7410 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
7411 more characters.
7412
e8dd0787
AM
74132013-09-07 Alan Mackenzie <acm@muc.de>
7414
7415 Correctly fontify Java class constructors.
7416 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7417 in Java Mode.
7418 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
7419 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7420 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
7421 "typeless" declaration there.
7422
f2f248e7
RW
74232013-09-07 Roland Winkler <winkler@gnu.org>
7424
7425 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7426 field subtitle for entry type book.
7427
67982e2b
SM
74282013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * minibuffer.el: Make minibuffer-complete call completion-in-region
7431 rather than other way around.
7432 (completion--some, completion-pcm--find-all-completions):
7433 Don't delay signals when debugging.
7434 (minibuffer-completion-contents): Beware fields within the
7435 minibuffer contents.
7436 (completion-all-sorted-completions): Use defvar-local.
7437 (completion--do-completion, completion--cache-all-sorted-completions)
7438 (completion-all-sorted-completions, minibuffer-force-complete):
7439 Add args `beg' and `end'.
7440 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7441 (minibuffer-complete): Use completion-in-region.
7442 (completion-complete-and-exit): New fun, extracted from
7443 minibuffer-complete-and-exit.
7444 (minibuffer-complete-and-exit): Use it.
7445 (completion--complete-and-exit): Rename from
7446 minibuffer--complete-and-exit.
7447 (completion-in-region--single-word): New function, extracted from
7448 minibuffer-complete-word.
7449 (minibuffer-complete-word): Use it.
7450 (display-completion-list): Make `common-substring' argument obsolete.
7451 (completion--in-region): Call completion--in-region-1 instead of
7452 minibuffer-complete.
7453 (completion-help-at-point): Pass boundaries to
7454 minibuffer-completion-help as args rather than via an overlay.
7455 (completion-pcm--string->pattern): Use `any-delim'.
7456 (completion-pcm--optimize-pattern): New function.
7457 (completion-pcm--pattern->regex): Handle `any-delim'.
7458 * icomplete.el (icomplete-forward-completions)
7459 (icomplete-backward-completions, icomplete-completions):
7460 Adjust calls to completion-all-sorted-completions and
7461 completion--cache-all-sorted-completions.
7462 (icomplete-with-completion-tables): Default to t.
7463 * emacs-lisp/crm.el (crm--current-element): Rename from
7464 crm--select-current-element. Don't put an overlay but return the
7465 boundaries instead.
7466 (crm--completion-command): Take two new args to bind to the boundaries.
7467 (crm-completion-help): Adjust accordingly.
7468 (crm-complete): Use completion-in-region.
7469 (crm-complete-word): Use completion-in-region--single-word.
7470 (crm-complete-and-exit): Use completion-complete-and-exit.
7471
e17d94a5
SM
74722013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7473
7474 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7475 than dynamically.
7476
96727100
JL
74772013-09-06 Juri Linkov <juri@jurta.org>
7478
7479 * info.el (Info-display-images-node): When image file doesn't exist
7480 display text version of the image if it's provided in the Info file.
7481 Otherwise, display the location of missing image from SRC attribute.
7482 Add help-echo text property from ALT attribute. (Bug#15279)
7483
86cf7329
SM
74842013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7487 (edit-abbrevs-mode): Use define-derived-mode.
7488
7489 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7490 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7491 that it's defined.
7492 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7493 Use define-derived-mode.
7494
7495 * epg.el (epg-start-encrypt): Minor CSE simplification.
7496
816244a2
WX
74972013-09-06 William Xu <william.xwl@gmail.com>
7498
7499 * arc-mode.el: Add support for 7za (bug#15264).
7500 (archive-7z-program): New var.
7501 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7502 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7503 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7504
1486fa31
MA
75052013-09-06 Michael Albinus <michael.albinus@gmx.de>
7506
7507 Remove URL syntax.
7508
7509 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7510 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7511 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7512 (tramp-postfix-host-format, tramp-file-name-regexp)
7513 (tramp-completion-file-name-regexp)
7514 (tramp-completion-dissect-file-name)
7515 (tramp-handle-substitute-in-file-name): Remove 'url case.
7516 (tramp-file-name-regexp-url)
7517 (tramp-completion-file-name-regexp-url): Remove constants.
7518
39785324
GM
75192013-09-06 Glenn Morris <rgm@gnu.org>
7520
7521 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7522
1f896cb7
DG
75232013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7524
7525 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7526 keywords" below "here-doc beginnings" (Bug#15270).
7527
c0458e0b
SM
75282013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7529
7530 * subr.el (pop): Use `car-safe'.
7531 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7532 to detect unused `pop' return value.
7533
7534 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7535 var `block-regexp'.
7536 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7537 (python-fill-string): Remove unused var `marker'.
7538 (python-skeleton-add-menu-items): Remove unused var `items'.
7539
7540 * international/mule-cmds.el: Require CL.
7541 (find-coding-systems-for-charsets): Avoid add-to-list.
7542 (sanitize-coding-system-list): New function, extracted from
7543 select-safe-coding-system-interactively.
7544 (select-safe-coding-system-interactively): Use it.
7545 (read-input-method-name): Accept symbols for `default'.
7546
7547 * emacs-lisp/advice.el (defadvice): Add indent rule.
7548
6c42fc3e
DH
75492013-09-05 Daniel Hackney <dan@haxney.org>
7550
7551 * dired-x.el:
7552 * net/ange-ftp.el:
7553 * net/browse-url.el:
7554 * net/dbus.el:
7555 * net/eudc.el:
7556 * net/eudcb-ldap.el:
7557 * net/eww.el:
7558 * net/imap.el:
7559 * printing.el:
7560 * vc/ediff-diff.el:
7561 * vc/ediff-init.el:
7562 * vc/ediff-merg.el:
7563 * vc/ediff-mult.el:
7564 * vc/ediff-util.el:
7565 * vc/ediff-wind.el:
7566 * vc/ediff.el:
7567 * vc/emerge.el:
7568 * vc/pcvs.el:
7569 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7570 byte compiler. Remove some unused let-bound variables.
7571
4c528aab
SM
75722013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7575 a "ref-cell", since it gets better optimized (bug#14883).
7576
bd15c390
GM
75772013-09-05 Glenn Morris <rgm@gnu.org>
7578
7579 * progmodes/cc-awk.el (c-forward-sws): Declare.
7580
1c3ac2e5
GM
75812013-09-04 Glenn Morris <rgm@gnu.org>
7582
7583 * generic-x.el [rul-generic-mode]: Require cc-mode.
7584 (c++-mode-syntax-table): Declare.
7585 (rul-generic-mode-syntax-table): Init in the defvar.
7586
52b1cc79
SM
75872013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7588
c828af56
SM
7589 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7590 (vc-do-command, vc-set-async-update):
7591 * vc/vc-mtn.el (vc-mtn-dir-status):
7592 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7593 (vc-hg-pull, vc-hg-merge-branch):
7594 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7595 (vc-git-merge-branch):
7596 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7597 (vc-cvs-dir-status-files):
7598 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7599 (vc-bzr-dir-status-files):
7600 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7601 * vc/vc-annotate.el: Use lexical-binding.
7602 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7603 (vc-sentinel-movepoint): Declare.
7604 (vc-annotate): Don't use `goto-line'.
7605 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7606 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7607 (vc-sentinel-movepoint): Declare.
7608 * vc/vc-svn.el: Use lexical-binding.
7609 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7610 * vc/vc-sccs.el:
7611 * vc/vc-rcs.el: Use lexical-binding.
7612
abae272c
SM
7613 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7614 `deleted'. Don't drop errors silently.
7615
52b1cc79
SM
7616 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7617
63191d9f
XF
76182013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7619
7620 * vc/vc.el (vc-ignore): Rewrite.
7621 (vc-default-ignore): New function.
7622 (vc-default-ignore-completion-table): Use find-ignore-file.
7623
7624 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7625 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7626 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7627 Remove. Most code moved to vc.el.
7628
9d3f707c
SM
76292013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7630
abae272c 7631 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
7632 * net/tramp-smb.el (tramp-smb-get-file-entries):
7633 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7634 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7635
fde38d49
SM
7636 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7637 Update call to it.
7638 (eww-change-select): Remove unused var `properties'.
7639 (eww-make-unique-file-name): Remove unused var `base'.
7640
7641 * finder.el (finder-compile-keywords): Don't mess with windows.
7642
84032db7
SM
7643 * calculator.el (calculator-funcall): Fix typo in last change.
7644
724f5e41
SM
7645 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7646
14b511d4
SM
7647 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7648 <pkg>-autoloads.el file stop us.
7649
9d3f707c 7650 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 7651 warnings, and factor out common code.
9d3f707c 7652
88527bc0
DG
76532013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7654
7655 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7656 two-character operators and whether the character preceding them
7657 changes their meaning (Bug#15208).
7658
96edb677
FEG
76592013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7660
7661 Format code sent to Python shell for robustness.
9d3f707c
SM
7662 * progmodes/python.el (python-shell-buffer-substring):
7663 New function.
96edb677
FEG
7664 (python-shell-send-region, python-shell-send-buffer): Use it.
7665
95beaef3
MA
76662013-09-02 Michael Albinus <michael.albinus@gmx.de>
7667
7668 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7669 * net/tramp.el (tramp-user-error): ... here.
7670 (tramp-find-method, tramp-check-proper-host)
7671 (tramp-dissect-file-name, tramp-debug-message)
7672 (tramp-handle-shell-command):
7673 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7674 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7675
7676 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7677
f167c27b
MR
76782013-09-02 Martin Rudalics <rudalics@gmx.at>
7679
7680 * avoid.el (mouse-avoidance-point-position)
7681 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7682 returns nil.
7683
cd16c5f1
FEG
76842013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7685
7686 * progmodes/python.el (python-shell-completion-get-completions):
7687 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 7688 (python-nav-if-name-main): New command.
cd16c5f1 7689
e73c3a0d
GM
76902013-09-01 Glenn Morris <rgm@gnu.org>
7691
f8ccce03
GM
7692 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7693 Avoid leading space in $wins. Otherwise the sed command used by
7694 eg compile-main ends up containing "/*.el". (Bug#15170)
7695
e73c3a0d
GM
7696 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7697
415f808e
GM
76982013-08-30 Glenn Morris <rgm@gnu.org>
7699
7700 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7701 Fix is-this-a-directory logic. (Bug#15220)
7702
f069bba8
SM
77032013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7704
112798c1
SM
7705 * textmodes/css-mode.el: Use SMIE.
7706 (css-smie-grammar): New var.
7707 (css-smie--forward-token, css-smie--backward-token)
7708 (css-smie-rules): New functions.
7709 (css-mode): Use them.
7710 (css-navigation-syntax-table): Remove var.
7711 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7712 (css-indent-calculate, css-indent-line): Remove functions.
7713
7714 Misc changes to reduce use of `(lambda...); and other cleanups.
7715 * cus-edit.el: Use lexical-binding.
7716 (customize-push-and-save, customize-apropos)
7717 (custom-buffer-create-internal): Use closures.
7718 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7719 * progmodes/ada-xref.el: Use setq.
7720 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7721 * dframe.el: Use lexical-binding.
7722 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7723 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7724 * descr-text.el: Use lexical-binding.
7725 (describe-text-widget, describe-text-sexp, describe-property-list):
7726 Use closures.
7727 * comint.el (comint-history-isearch-push-state): Use a closure.
7728 * calculator.el: Use lexical-binding.
7729 (calculator-number-to-string): Make it work with lexical-binding.
7730 (calculator-funcall): Same and use cl-letf.
7731
2da4c3ab
SM
7732 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7733 (lisp--company-doc-string, lisp--company-location): New functions.
7734 (lisp-completion-at-point): Use them to improve Company support.
7735
f069bba8
SM
7736 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7737 params of lambda expressions.
7738 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7739 (ruby-smie--opening-pipe-p): New function.
7740 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7741 symbols and matched |...| for formal params.
7742 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7743 from being treated as hanging. Handle "rescue".
7744
6758b6a8
GM
77452013-08-29 Glenn Morris <rgm@gnu.org>
7746
7747 * progmodes/cc-engine.el (c-pull-open-brace):
7748 Move definition before use.
7749
e8dfd197
SM
77502013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7753 are immutable. Don't use `unsafe' any more.
7754 (cl--defsubst-expand): Don't substitute at the same time as keeping
7755 a residual unused let-binding. Don't use `unsafe' any more.
7756
cc585c96
GM
77572013-08-29 Glenn Morris <rgm@gnu.org>
7758
ba579ea6
GM
7759 * calendar/cal-china.el (calendar-chinese-year-cache):
7760 Recenter on 2015.
7761
8201a87e
GM
7762 * nxml/nxml-util.el (nxml-debug-clear-inside):
7763 Use cl-loop rather than loop.
7764
6ee877c7
GM
7765 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7766
cc585c96
GM
7767 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7768
27be8d39
GM
77692013-08-28 Glenn Morris <rgm@gnu.org>
7770
397440a1
GM
7771 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7772
2bb762d4
GM
7773 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7774
27be8d39
GM
7775 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7776
2d69b99e
SM
77772013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7778
f663baa7
SM
7779 * simple.el (repeat-complex-command--called-interactively-skip):
7780 New function.
7781 (repeat-complex-command): Use it (bug#14136).
7782
dd4f8b74
SM
7783 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7784 (c-define-abbrev-table): Add `doc' argument.
7785 (c-mode-abbrev-table, c++-mode-abbrev-table)
7786 (objc-mode-abbrev-table, java-mode-abbrev-table)
7787 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7788 (awk-mode-abbrev-table): Use it.
7789 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7790 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7791 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7792 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7793 Move initialization into the declaration; and remove any
7794 autoload cookie.
7795
b58969f7
SM
7796 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7797 and dynamic let binding.
7798
4021d6a6
SM
7799 * vc/smerge-mode.el: Remove redundant :group args.
7800
2d69b99e
SM
7801 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7802 to load-path.
7803
274919fd
JL
78042013-08-28 Juri Linkov <juri@jurta.org>
7805
7806 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7807 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7808 (isearch-other-meta-char): Handle an undefined shifted printing
7809 character by downshifting it. (Bug#15200)
7810
121f8c95
JL
78112013-08-28 Juri Linkov <juri@jurta.org>
7812
7813 * isearch.el (isearch-search): Change regexp error message for
7814 non-regexp searches. (Bug#15166)
7815
50b13cde
PE
78162013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7817
7818 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7819 for portability to hosts where /bin/sh has problems.
7820
95888bca
SM
78212013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7822
7823 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7824
bbe558f1
JL
78252013-08-27 Juri Linkov <juri@jurta.org>
7826
7827 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7828 in the keyboard macro. (Bug#15126)
7829
26f98a7d
JL
78302013-08-27 Juri Linkov <juri@jurta.org>
7831
7832 * isearch.el (isearch-quote-char): Comment out converting unibyte
7833 to multibyte, thus syncing with its `quoted-insert' counterpart.
7834 (Bug#15166)
7835
7c97d35e
MR
78362013-08-27 Martin Rudalics <rudalics@gmx.at>
7837
7838 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
7839 argument in call of get-largest-window (Bug#15185).
7840 Reported by Stephen Leake.
7c97d35e 7841
a0b5606e 78422013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
7843
7844 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7845
9e89d835
SM
78462013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7849 from a matcher-function unless there's no more matches (bug#15161).
7850
78fc2530
MA
78512013-08-26 Michael Albinus <michael.albinus@gmx.de>
7852
7853 * minibuffer.el: Revert change from 2013-08-20.
7854
7855 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7856 with text property `tramp-default', if appropriate.
7857 (tramp-check-proper-host): New defun.
7858 (tramp-dissect-file-name): Do not check hostname. Revert change
7859 of 2013-03-18.
7860 (tramp-backtrace): Make VEC-OR-PROC optional.
7861
7862 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7863 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7864 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
7865 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7866 Apply `tramp-check-proper-host'.
78fc2530 7867
edca97cd
TH
78682013-08-26 Tassilo Horn <tsdh@gnu.org>
7869
7870 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7871 lambda expression in order to have `describe-variable' display it.
7872
df54bcbd
MA
78732013-08-26 Michael Albinus <michael.albinus@gmx.de>
7874
7875 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7876 BUF can be optional. (Bug#15186)
7877
eed99101
XF
78782013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7879
7880 * progmodes/flymake.el (flymake-get-real-file-name-function):
7881 Fix broken customization. (Bug#15184)
7882
b5eb9035
AM
78832013-08-25 Alan Mackenzie <acm@muc.de>
7884
8a51e842
AM
7885 Improve indentation of bracelists defined by macros (without "=").
7886
7887 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7888 expansion begins with "{", regard it as bracelist when it doesn't
7889 contain a ";".
7890
869455d4
AM
7891 Parse C++ inher-intro when there's a template split over 2 lines.
7892
7893 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7894 rigorously the search for "class" etc. followed by ":".
7895
7896 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7897 random languages a regexp which never matches rather than nil.
7898
b5eb9035
AM
7899 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7900
7901 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7902 (c-awk-regexp-one-line-possibly-open-char-list-re)
7903 (c-awk-one-line-possibly-open-regexp-re)
7904 (c-awk-one-line-non-syn-ws*-re): Remove.
7905 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7906 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7907 (c-awk-space*-unclosed-regexp-/-re): New constants.
7908 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7909 aren't regexp delimiters.
7910
7911 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7912 handling for a rare situation in AWK Mode involving unterminated
7913 strings/regexps.
7914
61611d54
GM
79152013-08-23 Glenn Morris <rgm@gnu.org>
7916
2d85dc34
GM
7917 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7918
cb8d2612
GM
7919 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7920
bb35f42f
GM
7921 * files.el (create-file-buffer): If the result would begin with
7922 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 7923
b9808e77
SM
79242013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7925
e3a66363
SM
7926 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7927 text-properties (bug#15155).
7928
b9808e77
SM
7929 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7930 exist any more.
7931 (calc-keypad-redraw): Remove unused var `pad'.
7932 (calc-keypad-press): Remove unused var `menu'.
7933
7fd5f65e
MR
79342013-08-23 Martin Rudalics <rudalics@gmx.at>
7935
b9808e77
SM
7936 * window.el (display-buffer-pop-up-frame):
7937 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
7938 use it as the new frame's buffer (Bug#15133).
7939
8352b530
SM
79402013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * calendar/timeclock.el: Minor cleanups.
7943 (timeclock-ask-before-exiting, timeclock-use-display-time):
7944 Use `symbol'.
7945 (timeclock-modeline-display): Define as alias before the
7946 actual definition.
7947 (timeclock-mode-line-display): Use define-minor-mode.
7948 (timeclock-day-list-template): Make it a function, add an argument.
7949 (timeclock-day-list-required, timeclock-day-list-length)
7950 (timeclock-day-list-debt, timeclock-day-list-span)
7951 (timeclock-day-list-break): Adjust calls accordingly.
7952
9f7b1925
SM
79532013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7956 Use read--expression so that completion works again.
7957
6e50e983
SS
79582013-08-21 Sam Steingold <sds@gnu.org>
7959
7960 Add rudimentary inferior shell interaction
7961 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7962 (sh-set-shell): Reset it.
9f7b1925
SM
7963 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7964 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 7965
dbb0d350
SM
79662013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * align.el: Use lexical-binding.
7969 (align-region): Simplify accordingly.
7970
c88586a9
MA
79712013-08-20 Michael Albinus <michael.albinus@gmx.de>
7972
7973 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7974
7975 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7976 `non-essential' up.
7977
f95527c8
MA
79782013-08-17 Michael Albinus <michael.albinus@gmx.de>
7979
7980 * net/tramp.el:
7981 * net/tramp-adb.el:
7982 * net/tramp-cmds.el:
7983 * net/tramp-ftp.el:
7984 * net/tramp-gvfs.el:
7985 * net/tramp-gw.el:
7986 * net/tramp-sh.el: Don't wrap external variable declarations by
7987 `eval-when-compile'.
7988
4b5fe4ee
LMI
79892013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7990
7991 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7992 now that Emacs supports ImageMagick animations.
7993
13c366c9
MA
79942013-08-16 Michael Albinus <michael.albinus@gmx.de>
7995
7996 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7997 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7998
3dfc5cd6
MR
79992013-08-16 Martin Rudalics <rudalics@gmx.at>
8000
8001 * window.el (mouse-autoselect-window-select): Do autoselect when
8002 mouse pointer is on margin.
8003
4bbb4381
WP
80042013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8005
8006 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8007
3a2ddc2d
GM
80082013-08-16 Glenn Morris <rgm@gnu.org>
8009
e8bedf5a
GM
8010 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8011 Handle "Remote Directory" response of some clients. (Bug#15058)
8012
58c4682f
GM
8013 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8014 Tweak warning. (Bug#14926)
8015
57953f49
GM
8016 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8017 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8018
3a2ddc2d
GM
8019 * image-mode.el (image-mode-map): Add menu items to reverse,
8020 increase, decrease, reset animation speed.
8021 (image--set-speed, image-increase-speed, image-decrease-speed)
8022 (image-reverse-speed, image-reset-speed): New functions.
8023 (image-mode-map): Add bindings for speed commands.
8024
8025 * image.el (image-animate-get-speed, image-animate-set-speed):
8026 New functions.
8027 (image-animate-timeout): Respect image :speed property.
8028
10fa0ed3
SM
80292013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8032 previous line (bug#15101).
8033 (debugger-eval-expression, debugger-record-expression):
8034 Use read--expression (bug#15102).
8035
5d89d9d2
MA
80362013-08-15 Michael Albinus <michael.albinus@gmx.de>
8037
8038 Remove byte compiler warnings, visible when compiling with
8039 `byte-compile-force-lexical-warnings' set to t.
8040
8041 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8042 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8043 (tramp-handle-unhandled-file-name-directory)
8044 (tramp-handle-file-notify-add-watch, tramp-action-login)
8045 (tramp-action-succeed, tramp-action-permission-denied)
8046 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8047 arguments with "_".
8048
8049 * net/tramp-adb.el (tramp-adb-parse-device-names)
8050 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8051 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8052 (tramp-adb-handle-file-truename): Remove unused arguments.
8053
8054 * net/tramp-cache.el (tramp-flush-directory-property)
8055 (tramp-flush-connection-property, tramp-list-connections)
8056 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8057
10fa0ed3
SM
8058 * net/tramp-compat.el (tramp-compat-make-temp-file):
8059 Rename FILENAME to F.
5d89d9d2
MA
8060
8061 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8062 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8063 (tramp-zeroconf-parse-workstation-device-names)
8064 (tramp-zeroconf-parse-webdav-device-names)
8065 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8066
8067 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8068 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8069
8070 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8071 arguments.
8072 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8073 (tramp-sh-handle-insert-file-contents-literally)
8074 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8075 with "_".
8076 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8077 Remove unused variables.
8078
8079 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8080 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8081 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8082
8083 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8084 Make them a defconst.
8085 (tramp-uuencode-region): Remove unused variable.
8086
62f33bae
JB
80872013-08-14 Juanma Barranquero <lekktu@gmail.com>
8088
8089 * frameset.el (frameset--prop-setter): New function.
8090 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
8091 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8092 parameter was already set in FILTERED. Doc fix.
8093 (frameset--record-minibuffer-relationships): Allow saving a
8094 minibufferless frame without its corresponding minibuffer frame.
8095 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8096 frame, if the frame id matches.
8097 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8098 frames before orphaned ones.
8099 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 8100
c660a885
MR
81012013-08-14 Martin Rudalics <rudalics@gmx.at>
8102
8103 * window.el (window-make-atom): Don't overwrite parameter
8104 already present.
8105 (display-buffer-in-atom-window): Handle special case where we
8106 split an already atomic window.
8107 (window--major-non-side-window, display-buffer-in-side-window)
8108 (window--side-check): Ignore minibuffer window when walking
8109 window tree.
8110 (window-deletable-p): Return 'frame only if no other frame uses
8111 our minibuffer window.
8112 (record-window-buffer): Run buffer-list-update-hook.
8113 (split-window): Make sure window--check-frame won't destroy an
8114 existing atomic window in case the new window gets nested
8115 inside.
8116 (display-buffer-at-bottom): Ignore minibuffer window when
8117 walking window tree. Don't split a side window.
8118 (pop-to-buffer): Don't set-buffer here, the select-window call
8119 should do that.
8120 (mouse-autoselect-window-select): Autoselect only if we are in the
8121 text portion of the window.
8122
8259030d
LMI
81232013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8124
21c58ae2
LMI
8125 * net/shr.el (shr-parse-image-data): New function to grab both the
8126 data itself and the Content-Type.
8127 (shr-put-image): Use it.
8128
8129 * net/eww.el (eww-display-image): Ditto.
8130
8259030d
LMI
8131 * image.el (image-content-type-suffixes): New variable.
8132
ad756449
FEG
81332013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8134
8135 * progmodes/python.el (python-imenu--build-tree)
8136 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8137
f73f4ce6
XF
81382013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8139
8140 * simple.el (backward-word): Mention the optional argument.
8141
1f585e65
SM
81422013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * frameset.el (frameset--make): Rename constructor from make-frameset.
8145 (frameset-p, frameset-valid-p): Don't autoload.
8146 (frameset-valid-p): Use normal accessors.
8147
af1c6c84
GM
81482013-08-13 Glenn Morris <rgm@gnu.org>
8149
55e47f95
GM
8150 * progmodes/compile.el (compile-command): Tweak example in doc.
8151 * obsolete/scribe.el (scribe-mode):
8152 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8153
f0024d8c
GM
8154 * mail/feedmail.el (feedmail-confirm-outgoing)
8155 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8156
8157 * cus-start.el (truncate-partial-width-windows): Fix type.
8158
8159 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8160
af1c6c84
GM
8161 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8162
5514cc4c
SM
81632013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * emacs-lisp/timer.el (timer--time-setter): New function.
8166 (timer--time): Use it as gv-setter.
8167
8168 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8169 setter is not a symbol.
8170
7997a2f1
GJ
81712013-08-12 Grégoire Jadi <daimrod@gmail.com>
8172
8173 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8174 if sending fails. This makes debugging easier.
8175
01f1a9ab
JB
81762013-08-12 Juanma Barranquero <lekktu@gmail.com>
8177
8178 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8179 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8180 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8181
594a4307
EZ
81822013-08-12 Eli Zaretskii <eliz@gnu.org>
8183
8184 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8185
7a22490f 81862013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
8187
8188 * format.el (format-annotate-function):
8189 Handle read-only text properties in the source. (Bug#14887)
8190
3e41a054
LMI
81912013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8192
5514cc4c
SM
8193 * net/eww.el (eww-display-html): Ignore coding system errors.
8194 One web site uses "utf-8lias" as the coding system.
3e41a054 8195
7ec326db
JB
81962013-08-11 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8199
5660113b
JB
82002013-08-10 Juanma Barranquero <lekktu@gmail.com>
8201
9a4ebc74
JB
8202 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8203 (tutorial--detailed-help): Remove unused local variables.
8204 (tutorial--save-tutorial-to): Use ignore-errors.
8205 (help-with-tutorial): Use looking-at-p.
8206
8207 * view.el (view-buffer-other-window, view-buffer-other-frame):
8208 Mark unused arguments.
8209
8210 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8211 (woman-select-symbol-fonts, woman, woman-find-file)
8212 (woman-insert-file-contents, woman-non-underline-faces):
8213 Use string-match-p.
8214 (woman1-unquote): Move declaration.
8215
8216 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8217 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8218 argument. Remove unused local variable.
8219 (xml-parse-elem-type): Use string-match-p.
8220 (xml-substitute-numeric-entities): Use ignore-errors.
8221
45fdb482
JB
8222 * calculator.el (calculator): Mark unused argument.
8223 (calculator-paste, calculator-quit, calculator-integer-p):
8224 Use ignore-errors.
8225 (calculator-string-to-number, calculator-decimal, calculator-exp)
8226 (calculator-op-or-exp): Use string-match-p.
8227
8228 * dired.el (dired-buffer-more-recently-used-p): Declare.
8229 (dired-insert-set-properties, dired-insert-old-subdirs):
8230 Use ignore-errors.
8231
8232 * dired-aux.el (dired-compress): Use ignore-errors.
8233 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8234 (dired-do-async-shell-command, dired-do-shell-command)
8235 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8236 (dired-insert-subdir-validate): Use string-match-p.
8237 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8238 (dired-add-entry): Use string-match-p, looking-at-p.
8239 (dired-insert-subdir-newpos): Remove unused local variable.
8240
8241 * filenotify.el (file-notify-callback): Remove unused local variable.
8242
8243 * filesets.el (filesets-error): Mark unused argument.
8244 (filesets-which-command-p, filesets-filter-dir-names)
8245 (filesets-directory-files, filesets-get-external-viewer)
8246 (filesets-ingroup-get-data): Use string-match-p.
8247
8248 * find-file.el (ff-other-file-name, ff-other-file-name)
8249 (ff-find-the-other-file, ff-cc-hh-converter):
8250 Remove unused local variables.
8251 (ff-get-file-name): Use string-match-p.
8252 (ff-all-dirs-under): Use ignore-errors.
8253
8254 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8255 (follow-select-if-visible): Remove unused local variable.
8256
8257 * forms.el (read-file-filter): Move declaration.
8258 (forms--make-format, forms--make-parser, forms-insert-record):
8259 Quote function with #'.
8260 (forms--update): Use string-match-p. Quote function with #'.
8261
8262 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8263 (help-make-xrefs): Use looking-at-p.
8264 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8265
8266 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8267 (ibuffer-confirm-operation-on): Use string-match-p.
8268
8269 * msb.el (msb-item-handler, msb-dired-item-handler):
8270 Mark unused arguments.
8271
8272 * ses.el (ses-decode-cell-symbol)
8273 (ses-kill-override): Remove unused local variable.
8274 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8275 (ses-load): Use ignore-errors, looking-at-p.
8276 (ses-jump-safe): Use ignore-errors.
8277 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8278
8279 * tabify.el (untabify, tabify): Mark unused arguments.
8280
8281 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8282 Mark unused argument.
8283 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8284 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8285
c880af52
JB
8286 * emacs-lisp/timer.el (timer--time): Define setter with
8287 gv-define-setter to avoid deprecation warning.
8288
5660113b 8289 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 8290 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
8291 (cmpl-statistics-block): Remove (body was commented out).
8292 All callers changed.
8293 (add-completions-from-buffer, load-completions-from-file):
8294 Remove unused variables.
8295
156aab80
JB
82962013-08-09 Juanma Barranquero <lekktu@gmail.com>
8297
5c5dee78
JB
8298 * filecache.el (file-cache-delete-file-list):
8299 Print message only when told so.
8300 (file-cache-files-matching): Use #' in mapconcat argument.
8301
156aab80
JB
8302 * ffap.el (ffap-url-at-point): Fix reference to variable
8303 thing-at-point-default-mail-uri-scheme.
8304
ad9dcd70
SM
83052013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8306
54bd972f
SM
8307 * subr.el (define-error): New function.
8308 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8309 error-file-not-found and define with define-error.
8310 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8311 and define with define-error.
8312 * userlock.el (file-locked, file-supersession):
8313 * simple.el (mark-inactive):
8314 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8315 * progmodes/ada-mode.el (ada-mode-errors):
8316 * play/life.el (life-extinct):
8317 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8318 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8319 * nxml/rng-util.el (rng-error):
8320 * nxml/rng-uri.el (rng-uri-error):
8321 * nxml/rng-match.el (rng-compile-error):
8322 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8323 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8324 * nxml/nxml-rap.el (nxml-scan-error):
8325 * nxml/nxml-outln.el (nxml-outline-error):
8326 * net/soap-client.el (soap-error):
8327 * net/gnutls.el (gnutls-error):
8328 * net/ange-ftp.el (ftp-error):
8329 * mpc.el (mpc-proc-error):
8330 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8331 (json-number-format, json-string-escape, json-string-format)
8332 (json-key-format, json-object-format):
8333 * jka-compr.el (compression-error):
8334 * international/quail.el (quail-error):
8335 * international/kkc.el (kkc-error):
8336 * emacs-lisp/ert.el (ert-test-failed):
8337 * calc/calc.el (calc-error, inexact-result, math-overflow)
8338 (math-underflow):
8339 * bookmark.el (bookmark-error-no-filename):
8340 * epg.el (epg-error): Define with define-error.
8341
0ea9e53a
SM
8342 * time.el (display-time-event-handler)
8343 (display-time-next-load-average): Don't call sit-for since it seems
8344 unnecessary (bug#15045).
8345
b0429158
SM
8346 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8347 Use #' instead of ' to quote functions.
8348 (checkdoc-output-mode): Use setq-local.
8349 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8350 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8351 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8352 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8353 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8354 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8355 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8356 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8357
ad9dcd70
SM
8358 * ido.el (ido-completion-help): Fix up compiler warning.
8359
77187e6f
JB
83602013-08-09 Juanma Barranquero <lekktu@gmail.com>
8361
8362 * frameset.el (frameset-p): Add autoload cookie.
8363 (frameset--jump-to-register): New function, based on code moved from
8364 register.el.
8365 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8366
8367 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8368 (frameset-restore, frameset-save, frameset-session-filter-alist):
8369 Remove declarations.
8370 (register-alist): Doc fix.
8371 (frameset-to-register): Move to frameset.el.
8372 (jump-to-register, describe-register-1): Remove frameset-specific code.
8373
9d3aa82c
JB
83742013-08-08 Juanma Barranquero <lekktu@gmail.com>
8375
8376 * allout-widgets.el (allout-widgets-pre-command-business)
8377 (allout-widgets-post-command-business)
8378 (allout-widgets-after-change-handler)
8379 (allout-decorate-item-and-context, allout-set-boundary-marker)
8380 (allout-body-modification-handler)
8381 (allout-graphics-modification-handler): Mark ignored arguments.
8382 (allout-widgets-post-command-business)
8383 (allout-widgets-exposure-change-processor)
8384 (allout-widgets-exposure-undo-processor)
8385 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8386 (allout-parse-item-at-point, allout-decorate-item-guides)
8387 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8388 * allout.el (epa-passphrase-callback-function): Declare.
8389 (allout-overlay-insert-in-front-handler)
8390 (allout-overlay-interior-modification-handler)
8391 (allout-isearch-end-handler, allout-chart-siblings)
8392 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8393 (allout-yank-processing, allout-process-exposed)
8394 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 8395 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
8396 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8397 (lisp-indent-defform): Mark ignored arguments.
8398 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8399 (calculate-lisp-indent): Remove unused variables.
8400 * international/characters.el (indian-2-column, arabic-2-column)
8401 (tibetan): Mark ignored arguments.
8402 (use-cjk-char-width-table): Mark ignored arguments.
8403 Remove unused variables.
8404 * international/fontset.el (build-default-fontset-data)
8405 (x-compose-font-name, create-fontset-from-fontset-spec):
8406 Mark ignored arguments.
8407 (fontset-plain-name): Remove unused variables.
8408 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8409 (keyboard-coding-system): Mark ignored arguments.
8410 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8411 * help.el (resize-temp-buffer-window):
8412 * window.el (display-buffer-in-major-side-window)
8413 (display-buffer-in-side-window, display-buffer-in-previous-window):
8414 Remove unused variables.
8415 * isearch.el (isearch-forward-symbol):
8416 * version.el (emacs-bzr-version-bzr):
8417 * international/mule-cmds.el (current-language-environment):
8418 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8419 (x-handle-display):
8420 * term/pc-win.el (x-list-fonts, x-display-planes)
8421 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8422 (x-server-version, x-display-screens, x-display-mm-height)
8423 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8424 (x-selection-owner-p, x-own-selection-internal)
8425 (x-disown-selection-internal, x-get-selection-internal)
8426 (msdos-initialize-window-system):
8427 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8428 * term/x-win.el (x-handle-no-bitmap-icon):
8429 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8430 (vc-default-find-file-hook, vc-default-extra-menu):
8431 Mark ignored arguments.
8432
0ca3f70e
SM
84332013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8436 break-condition in the context of the debugged code (bug#12685).
8437
74c5d24c
CS
84382013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8439
8440 * comint.el:
8441 Do not use an overlay to highlight the last prompt. (Bug#14744)
8442 (comint-mode): Make comint-last-prompt buffer local.
8443 (comint-last-prompt): New variable.
8444 (comint-last-prompt-overlay): Remove. Superseded by
8445 comint-last-prompt.
0ca3f70e
SM
8446 (comint-snapshot-last-prompt, comint-output-filter):
8447 Use comint-last-prompt.
74c5d24c 8448
c03c02ee
JB
84492013-08-08 Juanma Barranquero <lekktu@gmail.com>
8450
a3738d20 8451 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
8452 (frameset-save): Check validity of the resulting frameset.
8453
04263d23
XF
84542013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8455
8456 * ido.el (ido-record-command): Add doc string.
8457
76c5e5ab
JB
84582013-08-08 Juanma Barranquero <lekktu@gmail.com>
8459
8460 * frameset.el (frameset): Do not disable creation of the default
8461 frameset-p predicate. Doc fix.
8462 (frameset-valid-p): New function, copied from the old predicate-p.
8463 Add additional checks.
8464 (frameset-restore): Check with frameset-valid-p.
8465 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8466 (frameset-name, frameset-description, frameset-properties)
8467 (frameset-states): Add docstring.
f9dbf1cb
JB
8468 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8469 (frameset-filter-alist): Doc fixes.
76c5e5ab 8470
bd0c3c0b
JB
84712013-08-08 Juanma Barranquero <lekktu@gmail.com>
8472
8473 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8474
c735544c
SM
84752013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8478 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8479 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8480 (byte-compile-normal-call): Remove obsolescence check.
8481
2805a651
JB
84822013-08-08 Juanma Barranquero <lekktu@gmail.com>
8483
3677ffeb
JB
8484 * frameset.el (frameset-restore): Doc fix.
8485
2805a651
JB
8486 * register.el (frameset-frame-id, frameset-frame-with-id)
8487 (frameset-p, frameset-restore, frameset-save): Declare.
8488 (register-alist): Document framesets.
8489 (frameset-session-filter-alist): Declare.
8490 (frameset-to-register): New function.
8491 (jump-to-register): Implement jumping to framesets. Doc fix.
8492 (describe-register-1): Describe framesets.
8493
8494 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8495
a912c016
JB
84962013-08-07 Juanma Barranquero <lekktu@gmail.com>
8497
8498 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8499 Use lexical-binding.
8500
8501 * frameset.el (frameset): Use type vector, not list (incompatible
8502 change). Do not declare a new constructor, use the default one.
8503 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8504 `name' and `description', respectively, and add read-only slot
8505 `timestamp'. Doc fixes.
8506 (frameset-copy, frameset-persistent-filter-alist)
8507 (frameset-filter-alist, frameset-switch-to-gui-p)
8508 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8509 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8510 (frameset-filter-iconified, frameset-keep-original-display-p):
8511 Doc fixes.
8512 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8513 Rename from frameset-filter-(save|restore)-param. All callers changed.
8514 Doc fix.
8515 (frameset-p): Adapt to change to vector and be more thorough.
8516 Change arg name to OBJECT. Doc fix.
8517 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8518 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8519 All callers changed.
8520 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8521 All callers changed.
8522 (frameset--record-minibuffer-relationships): Rename from
8523 frameset--process-minibuffer-frames. All callers changed.
8524 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8525 Use new default constructor (again). Doc fix.
c295fc18 8526 (frameset--find-frame-if): Rename from `frameset--find-frame'.
a912c016
JB
8527 All callers changed.
8528 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8529 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8530 Doc fix.
8531 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8532 PARAMETERS and WINDOW-STATE, respectively.
8533 (frameset-restore): Add new keyword argument PREDICATE.
8534 Reset frameset--target-display to nil. Doc fix.
8535
bb41480a
SM
85362013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8537
f001e98e
SM
8538 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8539 (bat-mode): Use it.
8540 (bat-mode-syntax-table): Mark \n as end-of-comment.
8541 (bat-font-lock-keywords): Remove comment rule.
8542
7679edb1
SM
8543 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8544 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8545
bb41480a
SM
8546 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8547 (byte-compile-callargs-warn): Use `push'.
8548 (byte-compile-arglist-warn): Ignore higher-order "calls".
8549 (byte-compile-file-form-autoload): Use `pcase'.
8550 (byte-compile-function-form): If quoting a symbol, check that it exists.
8551
cdc1ebb9
EZ
85522013-08-07 Eli Zaretskii <eliz@gnu.org>
8553
8554 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8555 and add a few popular commands found in batch files.
8556 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8557 (dos-mode): Doc fixes.
8558
312b1740
SM
85592013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8562 (dos-mode): Use setq-local. Add space after "rem".
8563 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8564 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8565
400a3178
AM
85662013-08-07 Arni Magnusson <arnima@hafro.is>
8567
8568 * progmodes/dos.el: New file.
8569 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8570 dos-mode.
8571
3b5c03d3
GM
85722013-08-06 Glenn Morris <rgm@gnu.org>
8573
8574 * calendar/calendar.el: Add new faces, and day-header-array.
8575 (calendar-weekday-header, calendar-weekend-header)
8576 (calendar-month-header): New faces.
8577 (calendar-day-header-construct): New function.
8578 (calendar-day-header-width): Also :set calendar-day-header-array.
8579 (calendar-american-month-header, calendar-european-month-header)
8580 (calendar-iso-month-header): Use calendar- faces.
8581 (calendar-generate-month):
8582 Use calendar-day-header-array for day headers; apply faces to them.
8583 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8584 (calendar-abbrev-construct): Add optional maxlen argument.
8585 (calendar-day-name-array): Doc fix.
8586 (calendar-day-name-array, calendar-abbrev-length)
8587 (calendar-day-abbrev-array):
8588 Also :set calendar-day-header-array, and maybe redraw.
8589 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 8590 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
8591 (calendar-day-name): Add option to use header array.
8592
ec6a2d7a
LMI
85932013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594
8595 * net/shr.el (shr-render-td): Remove debugging.
8596 (shr-render-td): Make width computation consistent by defaulting
8597 all zero-width columns to 10 characters. This may not be optimal,
8598 but it's at least consistent.
2122cb6d
LMI
8599 (shr-make-table-1): Redo last change to fix the real problem in
8600 colspan handling.
ec6a2d7a 8601
ed4fd9c5
DA
86022013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8603
0ca3f70e
SM
8604 * files.el (cache-long-line-scans):
8605 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 8606
64e22afe
JB
86072013-08-06 Juanma Barranquero <lekktu@gmail.com>
8608
024b38fc
JB
8609 * frameset.el (frameset, frameset-filter-alist)
8610 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8611 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8612 (frameset-compute-pos): Rename from frameset--compute-pos,
8613 and add docstring.
8614 (frameset-move-onscreen): Use frameset-compute-pos.
8615 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8616
64e22afe
JB
8617 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8618 Fix typos in docstrings.
8619
c8c2aca8
DA
86202013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8621
8622 * frame.el (get-other-frame): Tiny cleanup.
8623
1d237bba
JB
86242013-08-06 Juanma Barranquero <lekktu@gmail.com>
8625
8951efef
JB
8626 * vc/vc.el (vc-default-ignore-completion-table):
8627 Silence byte-compiler warning.
8628
307764cc 8629 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3fcfc4ee 8630 slot, which can indeed be nil.
307764cc
JB
8631 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8632 Move entry for `left' from persistent to live filter alist.
8633 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8634 Doc fixes.
8635 (frameset-filter-params): When restoring a frame, copy items added to
8636 `filtered', to avoid unwittingly modifying the original parameters.
8637 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8638 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8639
1d237bba
JB
8640 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8641 to use looking-at-p instead of looking-at. (Bug#15028)
8642
dc6c0eda
SM
86432013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 Revert introduction of isearch-filter-predicates (bug#14714).
8646 Rely on add-function instead.
8647 * isearch.el (isearch-filter-predicates): Rename it back to
8648 isearch-filter-predicate.
8649 (isearch-message-prefix): Use advice-function-mapc and advice
8650 properties to get the isearch-message-prefix.
8651 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8652 instead of run-hook-with-args-until-failure.
8653 (isearch-filter-visible): Not obsolete any more.
8654 * loadup.el: Preload nadvice.
8655 * replace.el (perform-replace): Revert to funcall
8656 instead of run-hook-with-args-until-failure.
8657 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8658 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8659 dired-isearch-filenames-toggle; make it into a proper minor mode.
8660 Use add/remove-function.
8661 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8662 Call the minor-mode rather than add/remove-hook.
8663 (dired-isearch-filter-filenames):
8664 Remove isearch-message-prefix property.
8665 * info.el (Info--search-loop): New function, extracted from Info-search.
8666 Funcall isearch-filter-predicate instead of
8667 run-hook-with-args-until-failure isearch-filter-predicates.
8668 (Info-search): Use it.
8669 (Info-mode): Use isearch-filter-predicate instead of
8670 isearch-filter-predicates.
8671
290d5b58
DA
86722013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8673
8674 Do not call to `selected-window' where it is assumed by default.
8675 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8676 `window-hscroll', `window-width', `window-height', `window-buffer',
8677 `window-frame', `window-start', `window-point', `next-window'
8678 and `window-display-table'.
8679 * abbrev.el (abbrev--default-expand):
8680 * bs.el (bs--show-with-configuration):
8681 * buff-menu.el (Buffer-menu-mouse-select):
8682 * calc/calc.el (calc):
8683 * calendar/calendar.el (calendar-generate-window):
8684 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8685 (diary-make-entry):
8686 * comint.el (send-invisible, comint-dynamic-complete-filename)
8687 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8688 * completion.el (complete):
8689 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8690 * disp-table.el (describe-current-display-table):
8691 * doc-view.el (doc-view-insert-image):
8692 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8693 * ehelp.el (with-electric-help):
8694 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8695 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8696 * emacs-lisp/helper.el (Helper-help-scroller):
8697 * emulation/cua-base.el (cua--post-command-handler-1):
8698 * eshell/esh-mode.el (eshell-output-filter):
8699 * ffap.el (ffap-gnus-wrapper):
8700 * help-macro.el (make-help-screen):
8701 * hilit-chg.el (highlight-compare-buffers):
8702 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8703 * hl-line.el (global-hl-line-highlight):
8704 * icomplete.el (icomplete-simple-completing-p):
8705 * isearch.el (isearch-done):
8706 * jit-lock.el (jit-lock-stealth-fontify):
8707 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 8708 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
8709 * mpc.el (mpc-tagbrowser, mpc):
8710 * net/rcirc.el (rcirc-any-buffer):
8711 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8712 * play/landmark.el (landmark-max-width, landmark-max-height):
8713 * play/zone.el (zone):
8714 * progmodes/compile.el (compilation-goto-locus):
8715 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8716 * progmodes/etags.el (find-tag-other-window):
8717 * progmodes/fortran.el (fortran-column-ruler):
8718 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8719 * progmodes/verilog-mode.el (verilog-point-text):
8720 * reposition.el (reposition-window):
8721 * rot13.el (toggle-rot13-mode):
8722 * server.el (server-switch-buffer):
8723 * shell.el (shell-dynamic-complete-command)
8724 (shell-dynamic-complete-environment-variable):
8725 * simple.el (insert-buffer, set-selective-display)
8726 (delete-completion-window):
8727 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8728 (speedbar-recenter):
8729 * startup.el (fancy-splash-head):
8730 * textmodes/ispell.el (ispell-command-loop):
8731 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8732 * tutorial.el (help-with-tutorial):
8733 * vc/add-log.el (add-change-log-entry):
8734 * vc/compare-w.el (compare-windows):
8735 * vc/ediff-help.el (ediff-indent-help-message):
8736 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8737 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8738 (ediff-setup-control-frame):
8739 * vc/emerge.el (emerge-position-region):
8740 * vc/pcvs-util.el (cvs-bury-buffer):
8741 * window.el (walk-windows, mouse-autoselect-window-select):
8742 * winner.el (winner-set-conf, winner-undo): Related users changed.
8743
38276e01
JB
87442013-08-05 Juanma Barranquero <lekktu@gmail.com>
8745
8746 * frameset.el (frameset--set-id): Doc fix.
8747 (frameset-frame-id, frameset-frame-id-equal-p)
8748 (frameset-locate-frame-id): New functions.
8749 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8750 (frameset-restore): Use them.
8751
12b4c0ea
DA
87522013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8753
8754 Do not call to `selected-frame' where it is assumed by default.
8755 Affected functions are `raise-frame', `redraw-frame',
8756 `frame-first-window', `frame-terminal' and `delete-frame'.
8757 * calendar/appt.el (appt-disp-window):
8758 * epg.el (epg-wait-for-completion):
8759 * follow.el (follow-delete-other-windows-and-split)
8760 (follow-avoid-tail-recenter):
8761 * international/mule.el (set-terminal-coding-system):
8762 * mail/rmail.el (rmail-mail-return):
8763 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8764 * progmodes/f90.el (f90-add-imenu-menu):
8765 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8766 * server.el (server-switch-buffer):
8767 * simple.el (delete-completion-window):
8768 * talk.el (talk):
8769 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8770 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8771 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8772 * vc/ediff.el (ediff-documentation): Related users changed.
8773 * frame.el (selected-terminal): Remove the leftover.
8774
17f25e76
GM
87752013-08-05 Glenn Morris <rgm@gnu.org>
8776
8777 * calendar/calendar.el (calendar-generate-month):
8778 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
8779 (calendar-generate-month, calendar-font-lock-keywords):
8780 Fix for calendar-day-header-width > length of any day name.
17f25e76 8781
063233c3
JB
87822013-08-05 Juanma Barranquero <lekktu@gmail.com>
8783
8784 * desktop.el (desktop-clear): Use new name of sort predicate.
8785
8786 * frameset.el (frameset): Add docstring. Move :version property to its
8787 own `version' slot.
8788 (frameset-copy): Rename from copy-frameset.
8789 (frameset-p): Check more thoroughly.
8790 (frameset-prop): Do not check for :version, which is no longer a prop.
8791 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8792 Use new :never value instead of t.
8793 (frameset-filter-alist): Expand and clarify docstring.
8794 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8795 (frameset-filter-minibuffer, frameset-filter-save-param)
8796 (frameset-filter-restore-param, frameset-filter-iconified):
8797 Add pointer to docstring of frameset-filter-alist.
8798 (frameset-filter-params): Rename filter values to be more meaningful:
8799 :never instead of t, and reverse the meanings of :save and :restore.
8800 (frameset--process-minibuffer-frames): Clarify error message.
8801 (frameset-save): Avoid unnecessary and confusing call to framep.
8802 Use new BOA constructor for framesets.
8803 (frameset--reuse-list): Doc fix.
8804 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8805 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8806 (frameset-minibufferless-first-p): Doc fix.
8807 Rename from frameset-sort-frames-for-deletion.
8808 (frameset-restore): Doc fixes. Use new function names.
8809 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8810
d5671a82
JB
88112013-08-04 Juanma Barranquero <lekktu@gmail.com>
8812
8813 * desktop.el (desktop-restore-forces-onscreen)
8814 (desktop-restore-reuses-frames): Document :keyword constant values.
8815 (desktop-filter-parameters-alist): Remove, now identical to
8816 frameset-filter-alist.
8817 (desktop--filter-tty*): Remove, moved to frameset.el.
8818 (desktop-save-frameset, desktop-restore-frameset):
8819 Do not pass :filters argument.
8820
8821 * frameset.el (frameset-live-filter-alist)
8822 (frameset-persistent-filter-alist): New variables.
8823 (frameset-filter-alist): Use them. Add autoload cookie.
8824 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8825 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8826 `frameset--id' (it's supposed to be internal to frameset.el).
8827 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8828 (frameset--initial-params): New function.
8829 (frameset--get-frame): Use it. Doc fix.
8830 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8831 Accept :all, not 'all.
8832 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8833 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8834 with fbound symbols. Fix frame id matching, and remove matching ids if
8835 the frame being restored is deleted. Obey :delete.
8836
671d5c16
SM
88372013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * subr.el (macrop): New function.
8840 (text-clone--maintaining): New var.
8841 (text-clone--maintain): Rename from text-clone-maintain. Use it
8842 instead of inhibit-modification-hooks.
8843
8844 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8845 a proxy, so as handle autoloads and redefinitions of the target.
8846 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8847
8848 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8849 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8850 (pcase--mutually-exclusive-p): New function.
8851 (pcase--split-consp): Use it.
8852 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8853 mutually exclusive with the current predicate.
8854
8855 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8856 (edebug-macrop): Remove. Use `macrop' instead.
8857 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8858 (ad-macro-p):
8859 * eshell/esh-cmd.el (eshell-macrop):
8860 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8861
1d44e9dc
SM
88622013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8865 (advice-mapc): New function, using it.
8866 (advice-function-member-p): New function.
8867 (advice--normalize): Store the cdr in advice--saved-rewrite since
8868 that's the part that will be changed.
8869 (advice--symbol-function): New function.
8870 (advice-remove): Handle removal before the function is defined.
8871 Adjust to new advice--saved-rewrite.
8872 (advice-member-p): Use advice-function-member-p and
8873 advice--symbol-function.
8874
5414a283
JB
88752013-08-04 Juanma Barranquero <lekktu@gmail.com>
8876
51d30f2c
JB
8877 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8878 (frameset-filter-minibuffer): Doc fix.
8879 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
8880 (frameset--set-id, frameset--process-minibuffer-frames)
8881 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8882 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 8883
5414a283
JB
8884 * desktop.el (desktop-clear): Only delete frames when called
8885 interactively and desktop-restore-frames is non-nil. Doc fix.
8886 (desktop-read): Set desktop-saved-frameset to nil.
8887
ab419665
XF
88882013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8889
8890 * vc/vc.el (vc-ignore): Rewrite.
35e951cd 8891 (vc-default-ignore-completion-table, vc--read-lines)
ab419665
XF
8892 (vc--add-line, vc--remove-regexp): New functions.
8893
8894 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8895 (vc-svn-ignore-completion-table): New function.
8896
8897 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
35e951cd 8898 (vc-hg-ignore-completion-table)
ab419665
XF
8899 (vc-hg-find-ignore-file): New functions.
8900
8901 * vc/vc-git.el (vc-git-ignore): Rewrite.
35e951cd 8902 (vc-git-ignore-completion-table)
ab419665
XF
8903 (vc-git-find-ignore-file): New functions.
8904
8905 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8906
8907 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
35e951cd 8908 (vc-bzr-ignore-completion-table)
ab419665
XF
8909 (vc-bzr-find-ignore-file): New functions.
8910
2613dea2
JB
89112013-08-03 Juanma Barranquero <lekktu@gmail.com>
8912
8913 * frameset.el (frameset-prop): New function and setter.
8914 (frameset-save): Do not modify frame list passed by the caller.
8915
9c959872
SM
89162013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8919
a104f656
SM
89202013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8921
70122acf
SM
8922 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8923 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8924
a104f656
SM
8925 * custom.el (custom-initialize-default, custom-initialize-set)
8926 (custom-initialize-reset, custom-initialize-changed): Affect the
8927 toplevel-default-value (bug#6275, bug#14586).
8928 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8929 for bug#6275.
8930
f078d570
JB
89312013-08-02 Juanma Barranquero <lekktu@gmail.com>
8932
185e3b5a
JB
8933 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8934 Add cl-def* expressions.
8935
f078d570
JB
8936 * frameset.el (frameset-filter-params): Fix order of arguments.
8937
9421876d
JB
89382013-08-02 Juanma Barranquero <lekktu@gmail.com>
8939
8940 Move code related to saving frames to frameset.el.
8941 * desktop.el: Require frameset.
8942 (desktop-restore-frames): Doc fix.
8943 (desktop-restore-reuses-frames): Rename from
8944 desktop-restoring-reuses-frames.
8945 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8946 (desktop-clear): Clear frames too.
8947 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8948 (desktop--filter-tty*, desktop-save, desktop-read):
8949 Use frameset functions.
8950 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8951 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8952 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8953 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8954 (desktop--process-minibuffer-frames, desktop-save-frames)
8955 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8956 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8957 (desktop--sort-states, desktop-restoring-frames-p)
8958 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8959 (desktop-restoring-frameset-p, desktop-restore-frameset)
8960 (desktop--check-dont-save, desktop-save-frameset): New functions.
8961 (desktop--app-id): New constant.
8962 (desktop-first-buffer, desktop-buffer-ok-count)
8963 (desktop-buffer-fail-count): Move before first use.
8964 * frameset.el: New file.
8965
76dc5996
SM
89662013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * files.el: Use lexical-binding.
8969 (dir-locals-read-from-file): Remove unused `err' variable.
8970 (hack-dir-local-variables--warned-coding): New var.
8971 (hack-dir-local-variables): Use it to avoid repeated warnings.
8972 (make-backup-file-name--default-function): New function.
8973 (make-backup-file-name-function): Use it as default.
8974 (buffer-stale--default-function): New function.
8975 (buffer-stale-function): Use it as default.
8976 (revert-buffer-insert-file-contents--default-function): New function.
8977 (revert-buffer-insert-file-contents-function): Use it as default.
8978 (insert-directory): Avoid add-to-list.
8979
8980 * autorevert.el (auto-revert-handler): Simplify.
8981 Use buffer-stale--default-function.
8982
06d36e2b
TH
89832013-08-01 Tassilo Horn <tsdh@gnu.org>
8984
5f648ab4
TH
8985 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8986
06d36e2b
TH
8987 * whitespace.el (whitespace-ensure-local-variables): New function.
8988 (whitespace-cleanup-region): Call it.
8989 (whitespace-turn-on): Call it.
8990
a43dc424
MA
89912013-08-01 Michael Albinus <michael.albinus@gmx.de>
8992
8993 Complete file name handlers.
8994
8995 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8996 (tramp-handle-verify-visited-file-modtime)
8997 (tramp-handle-file-notify-rm-watch): New functions.
8998 (tramp-call-process): Do not bind `default-directory'.
8999
44e18199
JB
9000 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9001 Order alphabetically.
afe1e4c8
GM
9002 <access-file, add-name-to-file, dired-call-process>:
9003 <dired-compress-file, file-acl, file-notify-rm-watch>:
9004 <file-ownership-preserved-p, file-selinux-context>:
9005 <make-directory-internal, make-symbolic-link, set-file-acl>:
9006 <set-file-selinux-context, set-visited-file-modtime>:
9007 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9008 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9009
9010 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
afe1e4c8
GM
9011 <file-notify-add-watch, file-notify-rm-watch>:
9012 <set-file-times, set-visited-file-modtime>:
9013 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9014 (with-tramp-gvfs-error-message)
9015 (tramp-gvfs-handle-set-visited-file-modtime)
9016 (tramp-gvfs-fuse-file-name): Remove.
9017 (tramp-gvfs-handle-file-notify-add-watch)
9018 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9019 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9020
44e18199
JB
9021 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9022 Order alphabetically.
afe1e4c8
GM
9023 <file-notify-rm-watch>: Use default Tramp handler.
9024 <executable-find>: Remove private handler.
a43dc424
MA
9025 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9026 `default-directory'.
9027 (tramp-sh-handle-executable-find)
9028 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9029 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9030 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9031 Do not use `format' in `tramp-message'.
9032
9033 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
afe1e4c8
GM
9034 <file-notify-rm-watch, set-visited-file-modtime>:
9035 <verify-visited-file-modtime>: Add handler.
a43dc424
MA
9036 (tramp-smb-call-winexe): Do not bind `default-directory'.
9037
7188b515
XF
90382013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9039
9040 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9041
2412ee1a
DG
90422013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9043
9044 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9045 use it.
9046 (log-view-diff-changeset): Same.
9047 (log-view-diff-common): Call backend command `previous-revision'
9048 to find out the previous revision, in both cases. Swap the
9049 variables `to' and `fr', so that `fr' usually refers to the
9050 earlier revision (Bug#14989).
9051
5002a754
KRC
90522013-07-31 Kan-Ru Chen <kanru@kanru.info>
9053
9054 * ibuf-ext.el (ibuffer-filter-by-filename):
9055 Make it work with dired buffers too.
9056
44e18199 90572013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
9058
9059 * emacs-lisp/re-builder.el (reb-color-display-p):
9060 * files.el (save-buffers-kill-terminal):
9061 * net/browse-url.el (browse-url):
9062 * server.el (server-save-buffers-kill-terminal):
9063 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9064 Prefer nil to selected-frame for the first arg of frame-parameter.
9065
aeca3fbb
XF
90662013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9067
9068 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9069
158bc55c
SB
90702013-07-30 Stephen Berman <stephen.berman@gmx.net>
9071
9072 * minibuffer.el (completion--twq-all): Try and preserve each
9073 completion's case choice (bug#14907).
9074
d50fceab
LMI
90752013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9076
ac38e731
LMI
9077 * net/network-stream.el (open-network-stream): Mention the new
9078 :nogreeting parameter.
9079 (network-stream-open-starttls): Use the :nogreeting parameter
9080 (bug#14938).
9081
1211de50
LMI
9082 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9083
997798bf
LMI
9084 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9085 more natural than popping.
9086
d50fceab 9087 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 9088 (shr-urlify): Highlight under mouse.
d50fceab 9089
5c09de04
XF
90902013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9091
207d1d04
XF
9092 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9093
9094 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9095
5c09de04
XF
9096 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9097 buffer for output.
9098
3cd51eaa
XF
9099 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9100 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 9101
44e18199 9102 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 9103 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
9104
9105 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9106
9107 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9108 buffer for output.
9109
35a89bdd
EZ
91102013-07-29 Eli Zaretskii <eliz@gnu.org>
9111
9112 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9113 initial frame is minibuffer-less. (Bug#14841)
9114
78822e94
MA
91152013-07-29 Michael Albinus <michael.albinus@gmx.de>
9116
9117 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9118 option.
9119
9120 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9121 (tramp-maybe-open-connection): Use it.
9122
9503c190
JB
91232013-07-28 Juanma Barranquero <lekktu@gmail.com>
9124
9125 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9126 minimal set of parameters passed when creating a frame, because
9127 the minibuffer status of a frame cannot be changed later.
9128
d5a845b4
SB
91292013-07-28 Stephen Berman <stephen.berman@gmx.net>
9130
9131 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9132 replace-regexp-in-string and inadvertent omissions in previous change.
9133 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 9134 name of filtered items buffer.
d5a845b4 9135
ddeffb17
JB
91362013-07-28 Juanma Barranquero <lekktu@gmail.com>
9137
9138 * desktop.el: Optionally force offscreen frames back onscreen.
9139 (desktop-restoring-reuses-frames): New option.
9140 (desktop--compute-pos, desktop--move-onscreen): New functions.
9141 (desktop--make-frame): Use desktop--move-onscreen.
9142
f5950f7a
AM
91432013-07-27 Alan Mackenzie <acm@muc.de>
9144
9145 Fontify a Java generic method as a function.
9146 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9147 value to t.
9148
ae43b66a
SB
91492013-07-27 Stephen Berman <stephen.berman@gmx.net>
9150
9151 * calendar/todo-mode.el: Add command to rename todo files.
9152 (todo-rename-file): New command.
9153 (todo-key-bindings-t): Add key binding for it. Change the
9154 bindings of todo-filter-regexp-items(-multifile) to use `x'
9155 instead of `r', since the latter is better suited to the new
9156 renaming command.
9157
5ab78d3d
AM
91582013-07-27 Alan Mackenzie <acm@muc.de>
9159
9160 Make Java try-with-resources statement parse properly.
9161 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9162 (c-block-stmt-1-2-key): New language constants/variables.
9163 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9164 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9165 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 9166 with c-block-stmt-1-2-key.
5ab78d3d 9167
d85c4d50
JB
91682013-07-27 Juanma Barranquero <lekktu@gmail.com>
9169
9170 * desktop.el (desktop--make-frame): Apply most frame parameters after
9171 creating the frame to force (partially or totally) offscreen frames to
9172 be restored as such.
9173
e4c467f9
XF
91742013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9175
9176 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 9177 (Bug#14948)
e4c467f9 9178
7ced0d04
SM
91792013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9180
9181 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9182 `base' arg of backtrace-frame.
9183
fec92060
EZ
91842013-07-26 Eli Zaretskii <eliz@gnu.org>
9185
9186 * simple.el (list-processes): Doc fix.
9187
d58d31fb
JB
91882013-07-26 Juanma Barranquero <lekktu@gmail.com>
9189
9190 * desktop.el (desktop--select-frame):
d85c4d50 9191 Try harder to reuse existing frames.
d58d31fb 9192
53ff3e77
SM
91932013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9194
9195 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9196 (edebug-eval): Use backtrace-eval.
9197 (edebug--display, edebug--recursive-edit): Don't let-bind the
9198 edebug-outer-* vars that keep track of variables we locally let-bind.
9199 (edebug-outside-excursion): Don't restore outside values of locally
9200 let-bound vars.
9201 (edebug--display): Use user-error.
9202 (cl-lexical-debug, cl-debug-env): Remove.
9203
045f7a53
JB
92042013-07-26 Juanma Barranquero <lekktu@gmail.com>
9205
9206 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9207 are restored to be sure that they are visible before deleting any
9208 remaining ones.
9209
59070b32
MM
92102013-07-26 Matthias Meulien <orontee@gmail.com>
9211
742a3501
XF
9212 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9213 vc-print-root-log. (Bug#14948)
59070b32 9214
b1fb3596
RS
92152013-07-26 Richard Stallman <rms@gnu.org>
9216
9217 Add aliases for encrypting mail.
9218 * epa.el (epa-mail-aliases): New option.
9219 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9220 Bind inhibit-read-only so read-only text doesn't ruin everything.
9221 (epa-mail-default-recipients): New subroutine broken out.
9222 Handle epa-mail-aliases.
9223
56ea7291
SM
92242013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 Add support for lexical variables to the debugger's `e' command.
9227 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9228 vars, except for debugger-outer-match-data.
9229 (debugger-frame-number): Move check for "on a function call" from
9230 callers into it. Add `skip-base' argument.
9231 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9232 (debugger-env-macro): Only reset the state stored in non-variables,
9233 i.e. current-buffer and match-data.
9234 (debugger-eval-expression): Rewrite using backtrace-eval.
9235 * subr.el (internal--called-interactively-p--get-frame): Remove.
9236 (called-interactively-p):
9237 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9238 `base' arg of backtrace-frame instead.
9239
15ac32d5
GM
92402013-07-26 Glenn Morris <rgm@gnu.org>
9241
8358a09d
GM
9242 * align.el (align-regexp): Doc fix. (Bug#14857)
9243 (align-region): Explicit error if subexpression missing/does not match.
9244
15ac32d5
GM
9245 * simple.el (global-visual-line-mode):
9246 Do not duplicate the mode lighter. (Bug#14858)
9247
f47ad11b
MR
92482013-07-25 Martin Rudalics <rudalics@gmx.at>
9249
9250 * window.el (display-buffer): In display-buffer bind
9251 split-window-keep-point to t, bug#14829.
9252
02530987
JB
92532013-07-25 Juanma Barranquero <lekktu@gmail.com>
9254
9255 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9256 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9257 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9258 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9259 Change accordingly.
f63ebeb5
JB
9260 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9261 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 9262
6ccb9cab 92632013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 9264
6ccb9cab 9265 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 9266
cb3a56d2
JB
92672013-07-25 Juanma Barranquero <lekktu@gmail.com>
9268
9269 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9270 parameter to modify-frame-parameters if the value has not changed;
9271 this is a workaround for bug#14949.
9272 (desktop--make-frame): On cl-delete-if call, check parameter name,
9273 not full parameter.
9274
7aa7fff0
XF
92752013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9276
9277 * vc/vc.el (vc-ignore): New function.
9278
9279 * vc/vc-svn.el (vc-svn-ignore): New function.
9280
9281 * vc/vc-hg.el (vc-hg-ignore): New function.
9282
9283 * vc/vc-git.el (vc-git-ignore): New function.
9284
9285 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9286 (vc-dir-ignore): New function.
9287
9288 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 9289 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
9290
9291 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9292
9293 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9294
889acc5c
JB
92952013-07-24 Juanma Barranquero <lekktu@gmail.com>
9296
9297 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9298 (desktop-restore-frames): Warn when deleting an existing frame failed.
9299
86c40970
GM
93002013-07-24 Glenn Morris <rgm@gnu.org>
9301
9302 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9303
d5d3c58a
MA
93042013-07-24 Michael Albinus <michael.albinus@gmx.de>
9305
9306 * filenotify.el (file-notify-supported-p):
9307 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9308 Remove functions.
9309
35e951cd 9310 * autorevert.el (auto-revert-use-notify)
d5d3c58a
MA
9311 (auto-revert-notify-add-watch):
9312 * net/tramp.el (tramp-file-name-for-operation):
9313 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9314 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9315 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9316 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9317 Remove `file-notify-supported-p' entry.
9318
d100084b
GM
93192013-07-24 Glenn Morris <rgm@gnu.org>
9320
9321 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 9322 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 9323
ac93e56b
SM
93242013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9325
249eea30
SM
9326 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9327 checked with memq (bug#14935).
9328
ac93e56b
SM
9329 * files.el (revert-buffer-function): Use a non-nil default.
9330 (revert-buffer-preserve-modes): Declare var to
9331 provide access to the `preserve-modes' argument.
9332 (revert-buffer): Let-bind it.
9333 (revert-buffer--default): New function, extracted from revert-buffer.
9334
2cdeb903
SM
93352013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * lpr.el: Signal print errors more prominently.
9338 (print-region-function): Don't default to nil.
9339 (lpr-print-region): New function, extracted from print-region-1.
9340 Check lpr's return value and signal an error in case of problem.
9341 (print-region-1): Use it.
9342 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9343 versions instead.
9344 (ps-printer-name): Default to nil.
9345 (ps-printer-name-option): Default to lpr-printer-switch.
9346 (ps-print-region-function): Don't default to nil.
9347 (ps-postscript-code-directory): Simplify default.
9348 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9349 (ps-string-list, ps-eval-switch, ps-flatten-list)
9350 (ps-flatten-list-1): Remove.
9351 (ps-multibyte-buffer): Avoid setq.
9352 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9353 (print-region-function, ps-print-region-function): Don't set them here.
9354
73600831
XF
93552013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9356
35e951cd
JB
9357 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9358 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9359 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
0e55c076
XF
9360 (ido-decorations): Doc fix.
9361
73600831
XF
9362 * ansi-color.el: Fix old URL.
9363
3d012865
MM
93642013-07-23 Michael R. Mauger <michael@mauger.com>
9365
e903c210 9366 * progmodes/sql.el: Version 3.3
3d012865
MM
9367 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9368 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9369 (sql-interactive-remove-continuation-prompt): Rewrite, use
9370 functions above. Fix continuation prompt and complete output line
9371 handling.
9372 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9373 redirected output buffer.
9374 (sql-mode): Restore deleted code (Bug#13591).
9375
da77a2e2
JB
93762013-07-23 Juanma Barranquero <lekktu@gmail.com>
9377
9378 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9379
80ff0c71
MA
93802013-07-23 Michael Albinus <michael.albinus@gmx.de>
9381
9382 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9383
9384 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9385 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9386 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9387
b61d71e4
JB
93882013-07-23 Juanma Barranquero <lekktu@gmail.com>
9389
9390 * desktop.el (desktop-clear): Simplify; remove useless checks
9391 against invalid buffer names.
9392 (desktop-list*): Use cl-list*.
9393 (desktop-buffer-info, desktop-create-buffer): Simplify.
9394
c3512092
LL
93952013-07-23 Leo Liu <sdl.web@gmail.com>
9396
9397 * bookmark.el (bookmark-make-record): Restore NAME as a default
9398 value. (Bug#14933)
9399
0ac26976
SM
94002013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9401
7d22ce18
SM
9402 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9403 extracted from autoload--insert-text.
9404 (autoload--insert-text): Remove.
9405 (autoload--print-cookie-text): New function, extracted from
9406 autoload--insert-cookie-text.
9407 (autoload--insert-cookie-text): Remove.
9408 (autoload-generate-file-autoloads): Adjust calls accordingly.
9409
9b2607e8
SM
9410 * winner.el (winner-hook-installed-p): Remove.
9411 (winner-mode): Simplify accordingly.
9412
c43a8618
SM
9413 * subr.el (add-to-list): Fix compiler-macro when `append' is
9414 not constant. Don't use `cl-member' for the base case.
9415
0ac26976
SM
9416 * progmodes/subword.el: Fix boundary case (bug#13758).
9417 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9418 own group.
9419 (subword-backward-regexp): Make it a constant.
9420 (subword-forward-internal): Don't treat a trailing capital as the
9421 beginning of a word.
9422
6874724a
AR
94232013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9424
9425 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9426 global value of tabulated-list-revert-hook (bug#14930).
9427
70f1b5e8
JB
94282013-07-22 Juanma Barranquero <lekktu@gmail.com>
9429
a1c80d9d
JB
9430 * desktop.el: Require 'cl-lib.
9431 (desktop-before-saving-frames-functions): New hook.
9432 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9433 for frames being saved. Rename from desktop--save-minibuffer-frames.
9434 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
9435 Do not save frames with non-nil `desktop-dont-save' parameter.
9436 Filter out deleted frames.
a1c80d9d
JB
9437 (desktop--find-frame): Use cl-find-if.
9438 (desktop--select-frame): Use cl-(first|second|third) to access values
9439 of desktop-mini.
9440 (desktop--make-frame): Use cl-delete-if.
9441 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9442 (desktop-restore-frames): Use cl-(first|second|third) to access values
9443 of desktop-mini. Look for visible frame at the end, not while
9444 restoring frames.
9445
70f1b5e8
JB
9446 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9447 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9448 Use string-match-p, looking-at-p (bug#14927).
9449
728dc3cc
JB
94502013-07-21 Juanma Barranquero <lekktu@gmail.com>
9451
56bc453c
JB
9452 * desktop.el (desktop-saved-frame-states):
9453 Rename from desktop--saved-states; all users changed.
9454 (desktop-save-frames): Rename from desktop--save-frames.
9455 Do not save state to desktop file.
9456 (desktop-save): Save desktop-saved-frame-states to desktop file
9457 and reset to nil.
9458 (desktop-restoring-frames-p): New function.
9459 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9460 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9461 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9462
728dc3cc
JB
9463 * desktop.el: Correctly restore iconified frames.
9464 (desktop--filter-iconified-position): New function.
9465 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9466
862f1c9c
GM
94672013-07-20 Glenn Morris <rgm@gnu.org>
9468
c4074c9f
GM
9469 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9470 Let `message' do the formatting.
9471 (def-gdb-preempt-display-buffer): Add explicit format.
9472
d828e5f9
GM
9473 * image-dired.el (image-dired-track-original-file):
9474 Use with-current-buffer.
9475 (image-dired-track-thumbnail): Use with-current-buffer.
9476 Avoid changing point of wrong window.
9477
862f1c9c
GM
9478 * image-dired.el (image-dired-track-original-file):
9479 Avoid changing point of wrong window. (Bug#14909)
9480
f0398ec1 94812013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
9482
9483 * progmodes/gdb-mi.el (gdb-done-or-error):
9484 Guard against "%" in gdb output. (Bug#14127)
9485
1451928f
AS
94862013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9487
763a086d
JB
9488 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9489 (Bug#14826)
f7a03897 9490
1451928f
AS
9491 * international/mule.el (coding-system-iso-2022-flags): Fix last
9492 change.
9493
99107004
KH
94942013-07-20 Kenichi Handa <handa@gnu.org>
9495
763a086d
JB
9496 * international/mule.el (coding-system-iso-2022-flags):
9497 Add `8-bit-level-4'. (Bug#8522)
99107004 9498
48494e06
LMI
94992013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500
8ba8eec5
LMI
9501 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9502 (bug#14815).
9503
dfbc66e3
LMI
9504 * net/eww.el (eww-process-text-input): Allow inputting when the
9505 point is at the start of the line, as the properties aren't
9506 front-sticky.
9507
48494e06
LMI
9508 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9509 degenerate widths.
9510
77c92cb9
RS
95112013-07-19 Richard Stallman <rms@gnu.org>
9512
aec7da77
RS
9513 * epa.el (epa-popup-info-window): Doc fix.
9514
77c92cb9
RS
9515 * subr.el (split-string): New arg TRIM.
9516
945c5bb1
JB
95172013-07-18 Juanma Barranquero <lekktu@gmail.com>
9518
9519 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9520 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9521
e06ec67f
MA
95222013-07-18 Michael Albinus <michael.albinus@gmx.de>
9523
c7064f05 9524 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
9525 `file-notify-support'. Do not autoload. Adapt all uses.
9526 (file-notify-supported-p): New defun.
9527
c7064f05
JB
9528 * autorevert.el (auto-revert-use-notify):
9529 Use `file-notify-supported-p' instead of `file-notify-support'.
9530 Adapt docstring.
e06ec67f
MA
9531 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9532
9533 * net/tramp.el (tramp-file-name-for-operation):
9534 Add `file-notify-supported-p'.
9535
9536 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9537 New defun.
9538 (tramp-sh-file-name-handler-alist): Add it as handler for
9539 `file-notify-supported-p '.
9540
9541 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9542 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9543 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9544 Add `ignore' as handler for `file-notify-*' functions.
9545
5dc8a629
EZ
95462013-07-17 Eli Zaretskii <eliz@gnu.org>
9547
9548 * simple.el (line-move-partial, line-move): Don't start vscroll or
9549 scroll-up if the current line is not taller than the window.
9550 (Bug#14881)
9551
77aea2fb
DG
95522013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9553
9554 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9555 highlight question marks in the method names as strings.
ac72c08d
DG
9556 (ruby-block-beg-keywords): Inline.
9557 (ruby-font-lock-keyword-beg-re): Extract from
9558 `ruby-font-lock-keywords'.
77aea2fb 9559
18c26d81
JD
95602013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9561
9562 * frame.el (blink-cursor-blinks): New defcustom.
9563 (blink-cursor-blinks-done): New defvar.
9564 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9565 (blink-cursor-timer-function): Check if number of blinks has been
9566 done on X and NS.
9567 (blink-cursor-suspend, blink-cursor-check): New defuns.
9568
da48522e
GM
95692013-07-15 Glenn Morris <rgm@gnu.org>
9570
9571 * edmacro.el (edmacro-format-keys): Fix previous change.
9572
0463c1ef
PE
95732013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9574
9575 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9576 The hack didn't work outside English locales anyway.
9577
b43f6451
JB
95782013-07-15 Juanma Barranquero <lekktu@gmail.com>
9579
9580 * simple.el (define-alternatives): Rename from alternatives-define,
9581 per RMS' suggestion.
9582
b958c0ad
JB
95832013-07-14 Juanma Barranquero <lekktu@gmail.com>
9584
9585 * desktop.el (desktop-restore-frames): Change default to t.
9586 (desktop-restore-in-current-display): Now offer more options.
9587 (desktop-restoring-reuses-frames): New customization option.
9588 (desktop--saved-states): Doc fix.
9589 (desktop-filter-parameters-alist): New variable, renamed and expanded
9590 from desktop--excluded-frame-parameters.
9591 (desktop--target-display): New variable.
9592 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9593 (desktop--filter-tty*, desktop--filter-*-color)
9594 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9595 (desktop--filter-save-desktop-parm)
9596 (desktop-restore-in-original-display-p): New functions.
9597 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9598 (desktop--save-minibuffer-frames): New function, inspired by a similar
9599 function from Martin Rudalics.
9600 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9601 (desktop--restore-in-this-display-p): Remove.
9602 (desktop--find-frame): Rename from desktop--find-frame-in-display
9603 and add predicate argument.
9604 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9605 (desktop--reuse-list): New variable.
9606 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9607 New functions.
9608 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9609
f6dd8b36
MA
96102013-07-14 Michael Albinus <michael.albinus@gmx.de>
9611
9612 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9613
2ce3c565
DG
96142013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9615
763a086d
JB
9616 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9617 Highlight conversion methods on Kernel.
2ce3c565 9618
2cdb7698
AM
96192013-07-13 Alan Mackenzie <acm@muc.de>
9620
9621 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9622 and comment it out. This out-commenting enables certain C++
9623 declarations to be parsed correctly.
9624
1a67b811
EZ
96252013-07-13 Eli Zaretskii <eliz@gnu.org>
9626
1b796d6b
EZ
9627 * international/mule.el (define-coding-system): Doc fix.
9628
1a67b811
EZ
9629 * simple.el (default-font-height): Don't call font-info if the
9630 frame's default font didn't change since the frame was created.
9631 (Bug#14838)
9632
58fbe886
LL
96332013-07-13 Leo Liu <sdl.web@gmail.com>
9634
9635 * ido.el (ido-read-file-name): Guard against non-symbol value.
9636
1f0480d4
FEG
96372013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9638
9639 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9640 in nested defuns.
9641
97ead0e5
LL
96422013-07-13 Leo Liu <sdl.web@gmail.com>
9643
9644 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9645 ido-set-matches call. (Bug#6852)
9646
0880a952
DG
96472013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9648
35e951cd 9649 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
0880a952
DG
9650 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9651 Ruby 2.0.
9652 (ruby-font-lock-keywords): Distinguish calls to functions with
9653 module-like names from module references. Highlight character
9654 literals.
9655
a7d8babb
SDJ
96562013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9657
9658 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 9659 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 9660
acfcc8c5
JB
96612013-07-12 Juanma Barranquero <lekktu@gmail.com>
9662
9663 * desktop.el (desktop--v2s): Remove unused local variable.
9664 (desktop-save-buffer): Make defvar-local; adjust docstring.
9665 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9666 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9667
051f2775
AS
96682013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9669
9670 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9671
f24e7572
GM
96722013-07-12 Eli Zaretskii <eliz@gnu.org>
9673
9674 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9675 (Bug#14842)
9676
539a920c
GM
96772013-07-12 Glenn Morris <rgm@gnu.org>
9678
9679 * doc-view.el: Require cl-lib at runtime too.
9680 (doc-view-remove-if): Remove.
9681 (doc-view-search-next-match, doc-view-search-previous-match):
9682 Use cl-remove-if.
9683
9684 * edmacro.el: Require cl-lib at runtime too.
9685 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9686 (edmacro-mismatch, edmacro-subseq): Remove.
9687
9688 * shadowfile.el: Require cl-lib.
9689 (shadow-remove-if): Remove.
9690 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9691 Use cl-remove-if.
9692
9693 * wid-edit.el: Require cl-lib.
9694 (widget-choose): Use cl-remove-if.
9695 (widget-remove-if): Remove.
9696
9697 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9698 (ebrowse-delete-if-not): Remove.
9699 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9700 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9701 Use cl-delete-if-not.
9702
1048af7c
JB
97032013-07-12 Juanma Barranquero <lekktu@gmail.com>
9704
9705 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9706 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9707
6c0674ee
LL
97082013-07-12 Leo Liu <sdl.web@gmail.com>
9709
9710 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9711
a19b3c2d
GM
97122013-07-11 Glenn Morris <rgm@gnu.org>
9713
4582a01c
GM
9714 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9715 (edebug-gensym-index, edebug-gensym):
9716 Remove reimplementation of cl-gensym.
9717 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9718
9719 * thumbs.el: Require cl-lib at run-time too.
9720 (thumbs-gensym-counter, thumbs-gensym):
9721 Remove reimplementation of cl-gensym.
9722 (thumbs-temp-file): Use cl-gensym.
9723
a19b3c2d
GM
9724 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9725 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9726 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9727 (ert--union, ert--gensym-counter, ert--gensym-counter)
9728 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9729 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9730 (ert-make-test-unbound, ert--expand-should-1)
9731 (ert--expand-should, ert--should-error-handle-error)
9732 (should-error, ert--explain-equal-rec)
9733 (ert--plist-difference-explanation, ert-select-tests)
9734 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9735 Use cl-lib functions rather than reimplementations.
9736
88f6a933
MA
97372013-07-11 Michael Albinus <michael.albinus@gmx.de>
9738
9739 * net/tramp.el (tramp-methods): Extend docstring.
9740 (tramp-connection-timeout): New defcustom.
9741 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9742 (with-tramp-progress-reporter): Simplify.
9743 (tramp-process-actions): Improve messages.
9744
9745 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9746 * net/tramp-sh.el (tramp-maybe-open-connection):
9747 Use `tramp-connection-timeout'.
afe1e4c8 9748 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
88f6a933
MA
9749 (Bug#14808)
9750
a43d577e
LL
97512013-07-11 Leo Liu <sdl.web@gmail.com>
9752
9753 * ido.el (ido-read-file-name): Conform to the requirements of
9754 read-file-name. (Bug#11861)
9755 (ido-read-directory-name): Conform to the requirements of
9756 read-directory-name.
9757
d77974bf
JB
97582013-07-11 Juanma Barranquero <lekktu@gmail.com>
9759
9760 * subr.el (delay-warning): New function.
9761
35cb8a3e
EZ
97622013-07-10 Eli Zaretskii <eliz@gnu.org>
9763
9764 * simple.el (default-line-height): New function.
9765 (line-move-partial, line-move): Use it instead of computing the
9766 line height inline.
9767 (line-move-partial): Always compute ROWH. If the last line is
9768 partially-visible, but its text is completely visible, allow
9769 cursor to enter such a partially-visible line.
9770
525c5c77
MA
97712013-07-10 Michael Albinus <michael.albinus@gmx.de>
9772
9773 Improve error messages. (Bug#14808)
9774
9775 * net/tramp.el (tramp-current-connection): New defvar, moved from
9776 tramp-sh.el.
0ac26976 9777 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 9778 needed anymore.
0ac26976
SM
9779 (tramp-error-with-buffer): Show message in minibuffer.
9780 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
9781 (with-tramp-progress-reporter): Improve messages.
9782 (tramp-process-actions): Use progress reporter. Delete process in
9783 case of error. Improve messages.
9784
763a086d
JB
9785 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9786 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 9787 (tramp-current-connection): Remove.
525c5c77
MA
9788 (tramp-maybe-open-connection): The car of
9789 `tramp-current-connection' are the first 3 slots of the vector.
9790
c7a4d368
TZ
97912013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9792
9793 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9794 inside continued strings.
9795
954b166e
PE
97962013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9797
9798 Timestamp fixes for undo (Bug#14824).
9799 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9800
56973319
LL
98012013-07-10 Leo Liu <sdl.web@gmail.com>
9802
9803 * files.el (require-final-newline): Allow safe local value.
9804 (Bug#14834)
9805
5550a72c
LL
98062013-07-09 Leo Liu <sdl.web@gmail.com>
9807
9808 * ido.el (ido-read-directory-name): Handle fallback.
9809 (ido-read-file-name): Update DIR to ido-current-directory.
9810 (Bug#1516)
c28b9050 9811 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 9812
70c46b28
DG
98132013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9814
9815 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9816 "autoload". Remove "warn lower camel case" section, previously
9817 commented out. Highlight negation char. Do not highlight the
9818 target in singleton method definitions.
9819
0b64b838
SM
98202013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9821
7fd72e2c
SM
9822 * faces.el (tty-setup-hook): Declare the hook.
9823
0b64b838
SM
9824 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9825 and detect when a guard/pred depends on local vars (bug#14773).
9826 (pcase--u1): Adjust caller.
9827
ab49d60b
EZ
98282013-07-08 Eli Zaretskii <eliz@gnu.org>
9829
9830 * simple.el (line-move-partial, line-move): Account for
9831 line-spacing.
701d79aa
EZ
9832 (line-move-partial): Avoid setting vscroll when the last
9833 partially-visible line in window is of default height.
ab49d60b 9834
2d756ae0
LMI
98352013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9836
9837 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9838 been used a while.
9839
ed095bd7
JB
98402013-07-07 Juanma Barranquero <lekktu@gmail.com>
9841
9842 * subr.el (read-quoted-char): Remove unused local variable `char'.
9843
f1e6674b
MK
98442013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9845
584ee3fc
GM
9846 * ediff.el (ediff-version): Version update.
9847 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9848 (ediff-merge-with-ancestor-command, ediff-directories-command)
9849 (ediff-directories3-command, ediff-merge-directories-command)
9850 (ediff-merge-directories-with-ancestor-command): New functions.
9851 All are command-line interfaces to ediff: to facilitate calling
9852 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
9853
9854 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9855 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 9856
584ee3fc
GM
9857 * viper.el (viper-version): Version update.
9858 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 9859
584ee3fc
GM
98602013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9863 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9864 (viper-intercept-ESC-key): Simplify.
9865 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9866 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9867 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9868 (viper-setup-ESC-to-escape): New functions.
9869 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9870 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 9871
9aff9b38
EZ
98722013-07-07 Eli Zaretskii <eliz@gnu.org>
9873
5165d44a
JB
9874 * simple.el (default-font-height, window-screen-lines):
9875 New functions.
9aff9b38
EZ
9876 (line-move, line-move-partial): Use them instead of
9877 frame-char-height and window-text-height. This makes scrolling
9878 text smoother when the buffer's default face uses a font that is
9879 different from the frame's default font.
9880
1afb1d07
JD
98812013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9882
9883 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 9884 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 9885
23de972a
EZ
98862013-07-06 Eli Zaretskii <eliz@gnu.org>
9887
9888 * simple.el (line-move-partial): Adjust the row returned by
9889 posn-at-point for the current window-vscroll. (Bug#14567)
9890
54a42486
MA
98912013-07-06 Michael Albinus <michael.albinus@gmx.de>
9892
35e951cd 9893 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
54a42486
MA
9894 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9895 spaces.
9896
34ada5f4
MR
98972013-07-06 Martin Rudalics <rudalics@gmx.at>
9898
9899 * window.el (window-state-put-stale-windows): New variable.
9900 (window--state-put-2): Save list of windows without matching buffer.
9901 (window-state-put): Remove "bufferless" windows if possible.
9902
11e03d89
JB
99032013-07-06 Juanma Barranquero <lekktu@gmail.com>
9904
9905 * simple.el (alternatives-define): Remove leftover :group keyword.
9906 Tweak docstring.
9907
3504a4be
LL
99082013-07-06 Leo Liu <sdl.web@gmail.com>
9909
9910 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9911 (ido-enable-virtual-buffers): New variable.
9912 (ido-buffer-internal, ido-toggle-virtual-buffers)
9913 (ido-make-buffer-list): Use it.
9914 (ido-exhibit): Support turning on and off virtual buffers
9915 automatically.
9916
61e56e2c
JB
99172013-07-06 Juanma Barranquero <lekktu@gmail.com>
9918
9919 * simple.el (alternatives-define): New macro.
9920
321e1a9c
SM
99212013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * subr.el (read-quoted-char): Use read-key.
9924 (sit-for): Let read-event decode tty input (bug#14782).
9925
d610f6dd
SB
99262013-07-05 Stephen Berman <stephen.berman@gmx.net>
9927
9928 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
9929 mode command and externally. Fix various related bugs.
9930 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
9931 (todo-delete-file): New command.
9932 (todo-check-file): New function.
9933 (todo-show): Handle external deletion of the file we're trying to
9934 show (bug#14688). Replace called-interactively-p by an optional
9935 prefix argument to avoid problematic interaction with catch form
9936 when byte compiled (bug#14702).
9937 (todo-quit): Handle external deletion of the archive's todo file.
9938 Make sure the buffer that was visiting the archive file is still
9939 live before trying to bury it.
9940 (todo-category-completions): Handle external deletion of any
9941 category completion files.
9942 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9943 of todo files, in case of external deletion.
9944 (todo-add-file): Replace unnecessary setq by let-binding.
9945 (todo-find-archive): Check whether there are any archives.
9946 Replace unnecessary setq by let-binding.
9947 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
9948 archive buffer whether or not the archive already exists.
9949 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
9950 check if the archive is new; if it is, update list of archives.
9951 (todo-default-todo-file): Allow nil to be a valid value for when
9952 there are no todo files.
9953 (todo-reevaluate-default-file-defcustom): Use corrected definition
9954 of todo-default-todo-file.
9955 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9956 (todo-delete-category, todo-show-categories-table)
9957 (todo-category-number): Clarify comment.
9958 (todo-filter-items): Clarify documentation string.
9959 (todo-show-current-file, todo-display-as-todo-file)
9960 (todo-reset-and-enable-done-separator): Tweak documentation string.
9961 (todo-done-separator): Make separator length window-width, since
9962 bug#2749 is now fixed.
9963
ddbdfd6f
MA
99642013-07-05 Michael Albinus <michael.albinus@gmx.de>
9965
321e1a9c
SM
9966 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9967 Support both "gvfs-monitor-dir" and "inotifywait".
9968 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
9969 `tramp-sh-file-notify-process-filter'.
9970 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9971 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9972
96eb829a
LL
99732013-07-05 Leo Liu <sdl.web@gmail.com>
9974
9975 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9976
cf13177e
YM
99772013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9978
9979 * frame.el (display-pixel-height, display-pixel-width)
9980 (display-mm-height, display-mm-width): Mention behavior on
9981 multi-monitor setups in docstrings.
9982 (w32-display-monitor-attributes-list): Declare function.
9983 (display-monitor-attributes-list): Use it.
9984
864c58ca
MA
99852013-07-04 Michael Albinus <michael.albinus@gmx.de>
9986
9987 * filenotify.el: New package.
9988
9989 * autorevert.el (top): Require filenotify.el.
9990 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9991 instead.
9992 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9993 (auto-revert-notify-handler): Use `file-notify-*' functions.
9994
9995 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9996
321e1a9c
SM
9997 * net/tramp.el (tramp-file-name-for-operation):
9998 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
9999
10000 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10001 for `file-notify-add-watch' and `file-notify-rm-watch'.
10002 (tramp-process-sentinel): Improve trace.
10003 (tramp-sh-handle-file-notify-add-watch)
10004 (tramp-sh-file-notify-process-filter)
10005 (tramp-sh-handle-file-notify-rm-watch)
10006 (tramp-get-remote-inotifywait): New defuns.
10007
96673afe
JL
100082013-07-03 Juri Linkov <juri@jurta.org>
10009
10010 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10011 call of `occur-read-primary-args' to interactive spec.
10012
10013 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10014 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10015
924494f4
MM
100162013-07-03 Matthias Meulien <orontee@gmail.com>
10017
10018 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10019 `Buffer-menu-multi-occur'. Add it to the menu.
10020 (Buffer-menu-mode): Document it in docstring.
10021 (Buffer-menu-multi-occur): New command. (Bug#14673)
10022
56f75efc
DG
100232013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10024
10025 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10026 keywords and built-ins.
10027
9b057d61
GM
100282013-07-03 Glenn Morris <rgm@gnu.org>
10029
208dee4d
GM
10030 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10031
9b057d61
GM
10032 Make info-xref checks case-sensitive by default
10033 * info.el (Info-find-node, Info-find-in-tag-table)
10034 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10035 Add option for exact case matching of nodes.
10036 * info-xref.el (info-xref): New custom group.
10037 (info-xref-case-fold): New option.
10038 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10039
e01aa29c
LL
100402013-07-03 Leo Liu <sdl.web@gmail.com>
10041
10042 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10043
3086ca2e
DG
100442013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10045
10046 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10047 middle of block statement initially, lower the depth. Remove
10048 FIXME comment, not longer valid. Remove middle of block statement
10049 detection, no need to do that anymore since we've been using
10050 `ruby-parse-region' here.
10051
a3b49114
JD
100522013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10053
10054 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10055
08e5c823 100562013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
10057
10058 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10059
2addf922
JB
100602013-07-01 Juanma Barranquero <lekktu@gmail.com>
10061
10062 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10063 (desktop-restore-in-current-display): New customization option.
10064 (desktop--excluded-frame-parameters): Add `font'.
10065 (desktop--save-frames): Rename from desktop--save-windows.
10066 (desktop--restore-in-this-display-p): New function.
10067 (desktop--make-full-frame): Remove unwanted width/height from
10068 full(width|height) frames.
10069 (desktop--restore-frames): Rename from desktop--restore-windows.
10070 Obey desktop-restore-current-display. Do not delete old frames or
10071 select a new frame unless we were able to restore at least one frame.
10072
ef099a94
MN
100732013-06-30 Michal Nazarewicz <mina86@mina86.com>
10074
10075 * files.el (find-file-noselect): Simplify conditional expression.
10076
a12bf61e 10077 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
10078 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10079
10080 Add `remember-notes' function to store random notes across Emacs
10081 restarts.
3fcfc4ee
JB
10082 * textmodes/remember.el (remember-data-file): Add :set callback to
10083 affect notes buffer (if any).
ef099a94
MN
10084 (remember-notes): New command.
10085 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10086 New defcustoms for the `remember-notes' function.
10087 (remember-notes-save-and-bury-buffer): New command.
10088 (remember-notes-mode-map): New variable.
10089 (remember-mode): New minor mode.
10090 (remember-notes--kill-buffer-query): New function.
10091 * startup.el (initial-buffer-choice): Add notes to custom type.
10092
0865d506
EZ
100932013-06-30 Eli Zaretskii <eliz@gnu.org>
10094
0ba54312
EZ
10095 * bindings.el (right-char, left-char): Don't call sit-for, this is
10096 no longer needed. Use arithmetic comparison only for numerical
10097 arguments.
10098
ef099a94
MN
10099 * international/mule-cmds.el (select-safe-coding-system):
10100 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 10101
2fae38e5
LMI
101022013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10103
10104 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10105 progression on degenerate tables.
ef099a94 10106 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 10107
a47cbd64
JB
101082013-06-30 Juanma Barranquero <lekktu@gmail.com>
10109
10110 Some fixes and improvements for desktop frame restoration.
10111 It is still experimental and disabled by default.
10112 * desktop.el (desktop--save-windows): Put the selected frame at
10113 the head of the list.
10114 (desktop--make-full-frame): New function.
10115 (desktop--restore-windows): Try to re-select the frame that was
10116 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
10117 just show an error message and continue. Set up maximized frames
10118 so they have default non-maximized dimensions.
a47cbd64 10119
6dbafa30
DG
101202013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10121
ef099a94
MN
10122 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10123 Don't start heredoc inside a string or comment.
6dbafa30 10124
4c672a0f
EZ
101252013-06-29 Eli Zaretskii <eliz@gnu.org>
10126
10127 * bindings.el (visual-order-cursor-movement): New defcustom.
10128 (right-char, left-char): Provide visual-order cursor motion by
10129 calling move-point-visually. Update the doc strings.
10130
50960f36
KH
101312013-06-28 Kenichi Handa <handa@gnu.org>
10132
10133 * international/mule.el (define-coding-system): New coding system
10134 properties :inhibit-null-byte-detection,
10135 :inhibit-iso-escape-detection, and :prefer-utf-8.
10136 (set-buffer-file-coding-system): If :charset-list property of
10137 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10138 appropriate for setting.
10139
c1ea3abf
JB
10140 * international/mule-cmds.el (select-safe-coding-system):
10141 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10142 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
10143
10144 * international/mule-conf.el (prefer-utf-8): New coding system.
10145 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10146 files.
10147
75dbaf9d
IK
101482013-06-28 Ivan Kanis <ivan@kanis.fr>
10149
eadb6068
IK
10150 * net/shr.el (shr-render-region): New function.
10151
75dbaf9d
IK
10152 * net/eww.el: Autoload `eww-browse-url'.
10153
9ea5cf9f
DG
101542013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10155
c1ea3abf
JB
10156 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10157 Adapt to `package-desc-version' being a list.
10158 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
10159 archive element.
10160
39c0e36f
JB
101612013-06-27 Juanma Barranquero <lekktu@gmail.com>
10162
10163 New experimental feature to save&restore window and frame setup.
10164 * desktop.el (desktop-save-windows): New defcustom.
10165 (desktop--saved-states): New var.
10166 (desktop--excluded-frame-parameters): New defconst.
10167 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10168 (desktop--restore-windows, desktop--save-windows): New functions.
10169 (desktop-save): Call `desktop--save-windows'.
10170 (desktop-read): Call `desktop--restore-windows'.
10171
7f13406b
LMI
101722013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10173
ef099a94 10174 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 10175
1e072639
SB
101762013-06-27 Stephen Berman <stephen.berman@gmx.net>
10177
10178 * info.el (Info-try-follow-nearest-node): Move search for footnote
10179 above search for node name to prevent missing a footnote (bug#14717).
10180
f3e2cbde
SB
101812013-06-27 Stephen Berman <stephen.berman@gmx.net>
10182
10183 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10184
99906aa0
LL
101852013-06-27 Leo Liu <sdl.web@gmail.com>
10186
10187 * net/eww.el (eww-read-bookmarks): Check file size.
10188
539f75f4
SM
101892013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10192 advice--pending if newdef is nil or an autoload (bug#13820).
10193 (advice-mapc): New function.
10194
843571cb
LMI
101952013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10196
10197 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10198 probably.
23a75d7f 10199 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
10200 (eww-add-bookmark): New command.
10201 (eww-bookmark-mode): New mode and commands.
a285ce99 10202 (eww-add-bookmark): Remove newlines from the title.
47fd571b 10203 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 10204
f2136e1e
GM
102052013-06-26 Glenn Morris <rgm@gnu.org>
10206
eab35f39
GM
10207 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10208 (hfy-size): Handle ttys. (Bug#14668)
10209
f2136e1e
GM
10210 * info-xref.el: Update for Texinfo 5 change in *note format.
10211 (info-xref-node-re, info-xref-note-re): New constants.
10212 (info-xref-check-buffer): Use info-xref-note-re.
10213
a49ff80c
SM
102142013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10215
a343d218
SM
10216 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10217
a49ff80c
SM
10218 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10219 nil terminate the loop (bug#14718).
10220
8308f184
LMI
102212013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10222
10223 * net/eww.el: Rework history traversal. When going forward/back,
10224 put these actions into the history, too, so that they can be
10225 replayed.
26bf2b82 10226 (eww-render): Move the history reset to the correct buffer.
8308f184 10227
ec64c273
JL
102282013-06-25 Juri Linkov <juri@jurta.org>
10229
10230 * files-x.el (modify-dir-local-variable): Change the header comment
10231 in the file with directory local variables. (Bug#14692)
10232
e080a9d7
JL
10233 * files-x.el (read-file-local-variable-value): Add `default'.
10234 (Bug#14710)
10235
bfbc93a1
IK
102362013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10237
10238 * net/eww.el (eww-make-unique-file-name): Create a unique file
10239 name before saving to entering `y' accidentally asynchronously.
10240
102412013-06-25 Ivan Kanis <ivan@kanis.fr>
10242
10243 * net/eww.el (eww-download): New command and keystroke.
10244
16f74f10
LMI
102452013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10246
a49ff80c 10247 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
10248
10249 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10250 be more consistent with Info and dired.
10251
10252 * net/eww.el (eww-mode-map): Ditto.
10253
12059709
SM
102542013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10255
10256 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10257 packages from archives.
10258 (package-archive-contents): Change format; include obsolete packages.
10259 (package-desc): Use `dir' to mark builtin packages.
10260 (package--from-builtin): Set the `dir' field to `builtin'.
10261 (generated-autoload-file, version-control): Declare.
10262 (package-compute-transaction): Change first arg and return value to be
10263 lists of package-descs. Adjust to new package-archive-contents format.
10264 (package--add-to-archive-contents): Adjust to new
10265 package-archive-contents format.
10266 (package-download-transaction): Arg is now a list of package-descs.
10267 (package-install): If `pkg' is a package name, pass it as
10268 a requirement, so it is subject to the usual (e.g. disabled) checks.
10269 (describe-package): Accept package-desc as well.
10270 (describe-package-1): Describe a specific package-desc. Add links to
10271 other package-descs for the same package name.
10272 (package-menu-describe-package): Pass the actual package-desc.
10273 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10274 works correctly.
10275 (package-desc-status): New function.
10276 (package-menu--refresh): New function, extracted
10277 from package-menu--generate.
10278 (package-menu--generate): Use it.
10279 (package-delete): Update package-alist.
10280 (package-menu-execute): Don't call package-initialize.
10281
10282 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10283 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10284 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10285 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10286 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10287 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10288
8bbdea0f
MR
102892013-06-25 Martin Rudalics <rudalics@gmx.at>
10290
10291 * window.el (window--state-get-1): Workaround for bug#14527.
10292 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10293
e82b0991
LMI
102942013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10295
10296 * net/eww.el (eww-back-url): Implement the history by stashing all
10297 the data into a list.
d3f0f918 10298 (eww-forward-url): Allow going forward in the history, too.
e82b0991 10299
c763842b
SM
103002013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10303 for values and use read--expression for expressions (bug#14710).
10304 (read-file-local-variable): Avoid setq.
10305 (read-file-local-variable-mode): Use minor-mode-list.
10306
bceff189
RW
103072013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10308
864c58ca 10309 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
10310 for DOI URLs.
10311
45f431c6
RW
103122013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10313
864c58ca 10314 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
10315 Update imenu-support when dialect changes.
10316
f42d8237
LL
103172013-06-25 Leo Liu <sdl.web@gmail.com>
10318
10319 * ido.el (ido-read-internal): Allow forward slash on windows.
10320
be549ce6
LMI
103212013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10322
10323 * net/eww.el (eww): Start of strings is \\`, not ^.
10324
71d4c19d
IK
103252013-06-24 Ivan Kanis <ivan@kanis.fr>
10326
5196f88a
IK
10327 * net/shr.el (shr-browse-url): Fix interactive spec.
10328
71d4c19d
IK
10329 * net/eww.el (eww): Add a trailing slash to domain names.
10330
ae36ca55
JB
103312013-06-24 Juanma Barranquero <lekktu@gmail.com>
10332
10333 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10334
0ebd92a3
LMI
103352013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10336
bdaa086b
LMI
10337 * net/shr.el (shr-browse-url): Use an external browser if given a
10338 prefix.
10339
c763842b 10340 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 10341
b89fc156
IK
103422013-06-24 Ivan Kanis <ivan@kanis.fr>
10343
10344 * net/eww.el (eww): Work more correctly for file: URLs.
10345 (eww-detect-charset): Allow quoted charsets.
10346 (eww-yank-page-url): New command and keystroke.
10347
18eb4bca
DU
103482013-06-24 Daiki Ueno <ueno@gnu.org>
10349
10350 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10351 file name of gpg executable.
10352 (epg-context-program): New function.
10353 (epg-context-home-directory): New function.
10354 (epg-context-set-program): New function.
10355 (epg-context-set-home-directory): New function.
10356 (epg--start): Use `epg-context-program' instead of
10357 'epg-gpg-program'.
10358 (epg--list-keys-1): Likewise.
10359
6c6268c8
LL
103602013-06-24 Leo Liu <sdl.web@gmail.com>
10361
10362 * ido.el (ido-read-internal): Fix bug#14620.
10363
5e400cb3
JB
103642013-06-23 Juanma Barranquero <lekktu@gmail.com>
10365
10366 * faces.el (face-documentation): Simplify.
10367 (read-face-attribute, tty-find-type, x-resolve-font-name):
10368 Use `string-match-p'.
10369 (list-faces-display): Use `string-match-p'. Simplify.
10370 (face-spec-recalc): Check face to avoid face alias loops.
10371 (read-color): Use `string-match-p' and non-capturing parenthesis.
10372
f3f9606c
LMI
103732013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10374
10375 * net/shr.el (shr-rescale-image): Use the new
10376 :max-width/:max-height functionality.
10377
a3ca09b9
IK
103782013-06-23 Ivan Kanis <ivan@kanis.fr>
10379
10380 * net/eww.el (eww-search-prefix): New variable.
10381 (eww): Use it.
f865b474
IK
10382 (eww-external-browser): New variable.
10383 (eww-mode-map): New keystroke.
10384 (eww-browse-with-external-browser): New command.
a3ca09b9 10385
e854cfc7
IK
10386 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10387
18bb9e21
JB
103882013-06-23 Juanma Barranquero <lekktu@gmail.com>
10389
10390 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10391 Don't skip aligning the next header field when padding is 0;
10392 otherwise, field width is not respected unless the title is as
10393 wide as the field.
10394
5b165ade
SM
103952013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * emacs-lisp/package.el (package-el-version): Remove.
10398 (package-process-define-package): Fix inf-loop.
10399 (package-install): Allow symbols as arguments again.
10400
12adebe9
DG
104012013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10402
10403 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10404 add some more keyword-like methods.
10405 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10406
388573ee
JB
104072013-06-22 Juanma Barranquero <lekktu@gmail.com>
10408
10409 * bs.el (bs-buffer-show-mark): Make defvar-local.
10410 (bs-mode): Use setq-local.
10411
10412 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10413 (emacs-lock--try-unlocking): Make defvar-local.
10414
4582a01c 104152013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 10416
2663dd23
GM
10417 * play/cookie1.el (cookie-apropos): Minor simplification.
10418
3d94f3ad
GM
10419 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10420
f72e2fdb
DG
104212013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10422
10423 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10424 `regexp-opt', it breaks the build during dumping.
10425
73eab938
DG
104262013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10427
c763842b
SM
10428 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10429 Highlight keyword-like methods on Kernel and Module with
73eab938 10430 font-lock-builtin-face.
5cf8176d
DG
10431 (auto-mode-alist): Consolidate different entries into one regexp
10432 and add more *file-s.
73eab938 10433
d26255f6
SB
104342013-06-21 Stephen Berman <stephen.berman@gmx.net>
10435
10436 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10437
10438 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10439 (diary-entry): Use it in the action of this button type instead of
10440 diary-goto-entry.
10441
10442 * calendar/todo-mode.el: New version.
10443 (todo-add-category): Append new category to end of file and give
10444 it the highest number, instead of putting it at the beginning and
10445 giving it 0. Incorporate noninteractive functionality.
10446 (todo-forward-category): Adapt to 1-based category numbering.
10447 Allow skipping over archived categories.
10448 (todo-backward-category): Derive from todo-forward-category.
10449 (todo-backward-item, todo-forward-item): Make noninteractive and
10450 delegate interactive part to new commands. Make sensitive to done items.
10451 (todo-categories): Make value an alist of category names and
10452 vectors of item counts.
10453 (todo-category-beg): Make a defconst.
10454 (todo-category-number): Use 1 instead of 0 as initial value.
10455 (todo-category-select): Make sensitive to overlays, optional item
10456 highlighting and done items.
10457 (todo-delete-item): Make sensitive to overlays and marked and done items.
10458 (todo-edit-item): Make sensitive to overlays and editing of
10459 date/time header optional. Add format checks.
10460 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10461 no-op if point is not on an item. Advertise using todo-edit-quit.
10462 (todo-edit-mode): Make sensitive to new format, font-locking, and
10463 multiple todo files.
10464 (todo-insert-item, todo-insert-item-here): Derive from
10465 todo-basic-insert-item and extend functionality.
10466 (todo-item-end, todo-item-start): Make sensitive to done items.
10467 (todo-item-string): Don't return text properties. Restore point.
10468 (todo-jump-to-category): Make sensitive to multiple todo files and
10469 todo archives. Use extended category completion.
10470 (todo-lower-item, todo-raise-item): Rename to *-priority and
10471 derive from todo-set-item-priority.
10472 (todo-mode): Derive from special-mode. Make sensitive to new
10473 format, font-locking and multiple todo files. Make read-only.
10474 (todo-mode-map): Don't suppress digit keys, so they can supply
10475 prefix arguments. Add many new key bindings.
10476 (todo-prefix): Insert as an overlay instead of file text.
10477 Change semantics from diary date expression to purely visual mark.
10478 (todo-print): Rename to todo-print-buffer. Make buffer display
10479 features printable. Remove option to restrict number of items
10480 printed. Add option to print to file.
10481 (todo-print-function): Rename to todo-print-buffer-function.
10482 (todo-quit): Extend to handle exiting new todo modes.
10483 (todo-remove-item): Make sensitive to overlays.
10484 (todo-save): Extend to buffers of filtered items.
10485 (todo-show): Make sensitive to done items, multiple todo files and
10486 new todo modes. Offer to convert legacy todo file before creating
10487 first new todo file.
10488 (todo-show-priorities): Rename to todo-top-priorities.
10489 Change semantics of value 0.
10490 (todo-top-priorities): Rename to todo-filter-top-priorities,
10491 derive from todo-filter-items and extend functionality.
10492 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10493 and extend functionality to other types of filtered items.
10494 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10495 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10496 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10497 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10498 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10499 (todo-edit-mode-hook, todo-entry-prefix-function)
10500 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10501 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10502 (todo-initials, todo-insert-threshold, todo-item-string-start)
10503 (todo-line-string, todo-menu, todo-mode-hook)
10504 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10505 (todo-print-priorities, todo-remove-separator)
10506 (todo-save-top-priorities-too, todo-string-count-lines)
10507 (todo-string-multiline-p, todo-time-string-format)
10508 (todo-tmp-buffer-name): Remove.
10509 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10510 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10511 (todo-edit-category-diary-inclusion)
10512 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10513 (todo-edit-file, todo-edit-item-date-day)
10514 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10515 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10516 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10517 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10518 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10519 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10520 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10521 (todo-filter-top-priorities-multifile, todo-find-archive)
10522 (todo-find-filtered-items-file, todo-go-to-source-item)
10523 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10524 (todo-jump-to-archive-category, todo-lower-category)
10525 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10526 (todo-move-category, todo-move-item, todo-next-button)
10527 (todo-next-item, todo-padded-string, todo-powerset)
10528 (todo-previous-button, todo-previous-item)
10529 (todo-print-buffer-to-file, todo-raise-category)
10530 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10531 (todo-set-category-number, todo-set-item-priority)
10532 (todo-set-top-priorities-in-category)
10533 (todo-set-top-priorities-in-file, todo-show-categories-table)
10534 (todo-sort-categories-alphabetically-or-numerically)
10535 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10536 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10537 (todo-toggle-item-header, todo-toggle-item-highlighting)
10538 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10539 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10540 (todo-unarchive-items, todo-unmark-category): New commands.
10541 (todo-absolute-file-name, todo-add-to-buffer-list)
10542 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10543 (todo-basic-insert-item, todo-category-completions)
10544 (todo-category-number, todo-category-string-matcher-1)
10545 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10546 (todo-check-format, todo-clear-matches)
10547 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10548 (todo-current-category, todo-date-string-matcher)
10549 (todo-define-insertion-command, todo-diary-expired-matcher)
10550 (todo-diary-goto-entry, todo-diary-item-p)
10551 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10552 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10553 (todo-done-item-section-p, todo-done-separator)
10554 (todo-done-string-matcher, todo-files, todo-filter-items)
10555 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10556 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10557 (todo-insert-category-line, todo-insert-item-from-calendar)
10558 (todo-insert-sort-button, todo-insert-with-overlays)
10559 (todo-insertion-command-name, todo-insertion-key-bindings)
10560 (todo-label-to-key, todo-longest-category-name-length)
10561 (todo-make-categories-list, todo-mode-external-set)
10562 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10563 (todo-modes-set-3, todo-multiple-filter-files)
10564 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10565 (todo-read-category, todo-read-date, todo-read-dayname)
10566 (todo-read-file-name, todo-read-time)
10567 (todo-reevaluate-category-completions-files-defcustom)
10568 (todo-reevaluate-default-file-defcustom)
10569 (todo-reevaluate-filelist-defcustoms)
10570 (todo-reevaluate-filter-files-defcustom)
10571 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10572 (todo-reset-done-separator, todo-reset-done-separator-string)
10573 (todo-reset-done-string, todo-reset-global-current-todo-file)
10574 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10575 (todo-reset-prefix, todo-set-categories)
10576 (todo-set-date-from-calendar, todo-set-show-current-file)
10577 (todo-set-top-priorities, todo-short-file-name)
10578 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10579 (todo-total-item-counts, todo-update-buffer-list)
10580 (todo-update-categories-display, todo-update-categories-sexp)
10581 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10582 New functions.
10583 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10584 New major modes.
10585 (todo-categories, todo-display, todo-edit, todo-faces)
10586 (todo-filtered): New defgroups.
10587 (todo-archived-only, todo-button, todo-category-string, todo-date)
10588 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10589 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10590 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10591 (todo-add-item-if-new-category, todo-always-add-time-string)
10592 (todo-categories-align, todo-categories-archived-label)
10593 (todo-categories-category-label, todo-categories-diary-label)
10594 (todo-categories-done-label, todo-categories-number-separator)
10595 (todo-categories-todo-label, todo-categories-totals-label)
10596 (todo-category-completions-files, todo-completion-ignore-case)
10597 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10598 (todo-done-separator-string, todo-done-string)
10599 (todo-files-function, todo-filter-done-items, todo-filter-files)
10600 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10601 (todo-initial-category, todo-initial-file, todo-item-mark)
10602 (todo-legacy-date-time-regexp, todo-mode-line-function)
10603 (todo-nondiary-marker, todo-number-prefix)
10604 (todo-print-buffer-function, todo-show-current-file)
10605 (todo-show-done-only, todo-show-first, todo-show-with-done)
10606 (todo-skip-archived-categories, todo-top-priorities-overrides)
10607 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10608 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10609 New defcustoms.
10610 (todo-category-done, todo-date-pattern, todo-date-string-start)
10611 (todo-diary-items-buffer, todo-done-string-start)
10612 (todo-filtered-items-buffer, todo-item-start)
10613 (todo-month-abbrev-array, todo-month-name-array)
10614 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10615 (todo-top-priorities-buffer): New defconsts.
10616 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10617 (todo-categories-with-marks, todo-category-string-face)
10618 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10619 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10620 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10621 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10622 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10623 (todo-font-lock-keywords, todo-global-current-todo-file)
10624 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10625 (todo-insertion-commands-args)
10626 (todo-insertion-commands-args-genlist)
10627 (todo-insertion-commands-names, todo-insertion-map)
10628 (todo-key-bindings-t, todo-key-bindings-t+a)
10629 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10630 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10631 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10632 (todo-visited): New variables.
10633
cad5d1cb
GM
106342013-06-21 Glenn Morris <rgm@gnu.org>
10635
10636 * play/cookie1.el (cookie-apropos): Add optional display argument.
10637 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10638 (psychoanalyze-pinhead): Use cookie-doctor.
10639
9e277302
JB
106402013-06-21 Juanma Barranquero <lekktu@gmail.com>
10641
10642 * emacs-lisp/package.el (tar-get-file-descriptor)
10643 (tar--extract): Declare.
10644
c5b0993e
EW
106452013-06-21 Eduard Wiebe <usenet@pusto.de>
10646
10647 Extend flymake's warning predicate to be a function (bug#14217).
10648 * progmodes/flymake.el (flymake-warning-predicate): New.
10649 (flymake-parse-line): Use it.
10650 (flymake-warning-re): Make obsolete alias to
10651 `flymake-warning-predicate'.
10652
a7d2d465
SM
106532013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10654
10655 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10656 (package-obsolete-list): Remove.
10657 (package-activate): Remove min-version argument. Add `force' argument.
10658 Adjust to new package-alist format.
10659 (package-mark-obsolete): Remove.
10660 (package-unpack): Force reload of the package's autoloads.
10661 (package-installed-p): Check builtins if the installed package is not
10662 recent enough.
10663 (package-initialize): Don't reset package-obsolete-list.
10664 Don't specify which package version to activate.
10665 (package-process-define-package, describe-package-1)
10666 (package-menu--generate): Adjust to new package-alist format.
10667
cedf5c9d
JB
106682013-06-21 Juanma Barranquero <lekktu@gmail.com>
10669
10670 * allout-widgets.el (allout-widgets-mode-off)
10671 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10672 (allout-widgets-post-command-business)
10673 (allout-widgets-after-copy-or-kill-function)
10674 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10675 (allout-decorate-item-and-context)
10676 (allout-graphics-modification-handler): Fix typos in docstrings.
10677 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10678
10679 * cmuscheme.el (scheme-start-file): Doc fix.
10680 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10681 (scheme-input-filter): Use `string-match-p'.
10682
10683 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10684
10685 * dired-x.el: Use Dired consistently in docstrings.
10686
10687 * dired.el: Use Dired consistently in docstrings.
10688 (dired-readin, dired-mode): Use `setq-local'.
10689 (dired-switches-alist): Make defvar-local.
10690 (dired-buffers-for-dir): Use `zerop'.
10691 (dired-safe-switches-p, dired-switches-escape-p)
10692 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10693 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
35e951cd 10694 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
cedf5c9d
JB
10695 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10696 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10697 (dired-toggle-marks, dired-mark-files-containing-regexp)
10698 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10699 (dired-flag-auto-save-files, dired-flag-backup-files):
10700 Use `looking-at-p'.
10701 (dired-mark-files-regexp, dired-build-subdir-alist):
10702 Use `string-match-p', `looking-at-p'.
10703
10704 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10705 (direct-print-region-helper): Use `string-match-p'.
10706
aed838b5
LL
107072013-06-21 Leo Liu <sdl.web@gmail.com>
10708
cedf5c9d
JB
10709 * comint.el (comint-redirect-results-list-from-process):
10710 Fix infinite loop.
aed838b5 10711
d80a808f
LMI
107122013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10713
10714 * net/eww.el (eww-update-header-line-format): Quote % characters.
10715
e7a526e3
GM
107162013-06-21 Glenn Morris <rgm@gnu.org>
10717
10718 * play/cookie1.el (cookie): New custom group.
10719 (cookie-file): New option.
10720 (cookie-check-file): New function.
10721 (cookie): Make it interactive. Make start and end messages optional.
10722 Interactively, display the result. Default to cookie-file.
10723 (cookie-insert): Default to cookie-file.
10724 (cookie-snarf): Make start and end messages optional.
10725 Default to cookie-file. Use with-temp-buffer.
10726 (cookie-read): Rename from read-cookie.
10727 Make start and end messages optional. Default to cookie-file.
10728 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 10729 Do not autoload it.
e7a526e3
GM
10730 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10731 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10732
62efb35e
LL
107332013-06-21 Leo Liu <sdl.web@gmail.com>
10734
10735 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10736
21e3f963
GM
107372013-06-21 Glenn Morris <rgm@gnu.org>
10738
10739 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10740
fd846ab4
SM
107412013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10742 Daniel Hackney <dan@haxney.org>
10743
10744 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10745 Consolidate the single-file vs tarball code.
10746 (package-desc-suffix): New function.
10747 (package-desc-full-name): Don't bother inlining it.
10748 (package-load-descriptor): Return the new package-desc.
10749 (package-mark-obsolete): Remove unused arg `package'.
10750 (package-unpack): Make it work for single files as well.
10751 Make it update package-alist.
10752 (package--make-autoloads-and-stuff): Rename from
10753 package--make-autoloads-and-compile. Don't compile any more.
10754 (package--compile): New function.
10755 (package-generate-description-file): New function, extracted from
10756 package-unpack-single.
10757 (package-unpack-single): Remove.
10758 (package--with-work-buffer): Add indentation and debugging info.
10759 (package-download-single): Remove.
10760 (package-install-from-archive): Rename from package-download-tar, make
10761 it take a pkg-desc, and make it work for single files as well.
10762 (package-download-transaction): Simplify.
10763 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10764 external tar program.
10765 (package-install-from-buffer): Remove `pkg-desc' argument.
10766 Use package-tar-file-info for tar-mode buffers.
10767 (package-install-file): Simplify accordingly.
10768 (package-archive-base): Change to take a pkg-desc.
10769 * tar-mode.el (tar--check-descriptor): New function, extracted from
10770 tar-get-descriptor.
10771 (tar-get-descriptor): Use it.
10772 (tar-get-file-descriptor): New function.
10773 (tar--extract): New function, extracted from tar-extract.
10774 (tar--extract): Use it.
10775 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10776 case the summary uses non-ascii. Adjust to new calling convention of
10777 package-tar-file-info.
10778
b7deae5e
LL
107792013-06-21 Leo Liu <sdl.web@gmail.com>
10780
fd846ab4
SM
10781 * comint.el (comint-redirect-results-list-from-process):
10782 Fix random delay. (Bug#14681)
b7deae5e 10783
7a65a0b2
JB
107842013-06-21 Juanma Barranquero <lekktu@gmail.com>
10785
10786 * profiler.el (profiler-format-number): Use log, not log10.
10787
1493c2af
JB
107882013-06-20 Juanma Barranquero <lekktu@gmail.com>
10789
10790 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10791
aff6371e
SM
107922013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10793
10794 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10795 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10796 yet available.
10797 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10798 (AUTOGENEL): ... here.
10799 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10800 (cl--defsubst-expand): Use it.
10801
89561f72
PE
108022013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10803
10804 * subr.el (log10): Move here from C code, and declare as obsolete.
10805 All uses of (log10 X) replaced with (log X 10).
10806
47199123
JB
108072013-06-20 Juanma Barranquero <lekktu@gmail.com>
10808
10809 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10810 Declare with `defvar-local'.
10811 (tabulated-list-use-header-line, tabulated-list-entries)
10812 (tabulated-list-padding, tabulated-list-printer)
10813 (tabulated-list-sort-key): Declare with `defvar-local'.
10814 (tabulated-list-init-header, tabulated-list-print-fake-header):
10815 Use `setq-local'.
10816
4a172eab
MA
108172013-06-20 Michael Albinus <michael.albinus@gmx.de>
10818
47199123
JB
10819 * arc-mode.el (archive-mode): Add `archive-write-file' to
10820 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 10821
5fc0acc0
JB
108222013-06-20 Juanma Barranquero <lekktu@gmail.com>
10823
d5b27848
JB
10824 * cus-edit.el (custom-commands): Fix typos.
10825 (custom-display): Fix tooltip text.
10826 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10827 Fix typos in docstrings.
10828 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10829 (custom-unlispify-menu-entry, custom-magic-value-create)
10830 (custom-add-see-also, custom-group-value-create): Use ?\s.
10831 (custom-guess-type, customize-apropos, editable-field)
10832 (custom-face-value-create): Use `string-match-p'.
10833 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10834
10835 * custom.el (custom-load-symbol): Use `string-match-p'.
10836
a5c581d8
JB
10837 * ansi-color.el: Convert to lexical binding.
10838 (ansi-colors): Fix URL.
10839 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10840 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10841 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10842
970ad972
G
108432013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10844
10845 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10846
10847 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10848
108492013-06-19 Tom Tromey <tromey@redhat.com>
10850
10851 * net/eww.el (eww-top-url): Remove.
10852 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10853 (eww-render): Set new variables. Don't set eww-top-url.
10854 (eww-handle-link): Handle "prev", "home", and "contents".
10855 Downcase the rel text.
10856 (eww-top-url): Choose best top URL.
10857
108582013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10859
10860 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10861 relying in widget.el. Using widget.el leads to too many
10862 user interface inconsistencies.
10863 (eww-self-insert): Implement entering commands in text fields.
10864 (eww-process-text-input): New function to make text input field editing
10865 work.
10866 (eww-submit): Rewrite to use the new-style form methods.
10867 (eww-select-display): Display the correct selected item.
10868 (eww-change-select): Implement changing the select value.
10869 (eww-toggle-checkbox): Implement radio/checkboxes.
10870 (eww-update-field): Fix compilation error.
10871 (eww-tag-textarea): Implement <textarea>.
10872
10873 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10874 we don't shadow mode-specific bindings.
10875
10876 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10877 nothing to push.
10878
10879 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10880
4582a01c 108812013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
10882
10883 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10884
15b263dc
MA
108852013-06-19 Michael Albinus <michael.albinus@gmx.de>
10886
10887 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10888 not needed.
10889
10890 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10891
8f5297f7
LMI
108922013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10893
10894 * net/browse-url.el (browse-url-browser-function):
10895 `eww-browse-url' has the right calling signature, `eww' does not.
10896
011c4552
GM
108972013-06-19 Glenn Morris <rgm@gnu.org>
10898
2285bd27
GM
10899 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10900 Only eval autoloaded macros.
10901 (byte-compile-autoload): Only give the macro warning for macros.
10902
1d653303
GM
10903 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10904 (ps-underlined-faces): Declare.
10905
bdd779ec
GM
10906 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10907 (speedbar-add-supported-extension): Declare.
10908
011c4552
GM
10909 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10910 Don't include a date stamp in the header of the generated file;
10911 it leads to needless differences between output files.
10912
e59dfb0e
MA
109132013-06-19 Michael Albinus <michael.albinus@gmx.de>
10914
c763842b
SM
10915 * net/secrets.el (secrets-struct-secret-content-type):
10916 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 10917 Some servers do not offer introspection.
e59dfb0e 10918
102626e2
SM
109192013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10920
10921 * electric.el (electric-pair-mode): Improve interaction with
10922 electric-layout-mode.
10923 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10924 (electric-pair-syntax): Use text-mode-syntax-table in comments
10925 and strings.
10926 (electric-pair--insert): New function.
10927 (electric-pair-post-self-insert-function): Use it and
10928 electric--after-char-pos.
10929
ad528125
LL
109302013-06-19 Leo Liu <sdl.web@gmail.com>
10931
10932 * progmodes/octave.el (octave-help): Fix regexp.
10933
924d6997
G
109342013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10935
10936 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10937 (shr-table-horizontal-line): Allow nil as a value, and change the
10938 default.
10939 (shr-insert-table-ruler): Respect the nil value.
10940
109412013-06-18 Tom Tromey <tromey@barimba>
10942
10943 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10944 New defvars.
10945 (eww-open-file): New defun.
10946 (eww-render): Initialize new variables.
10947 (eww-display-html): Handle "link" and "a".
10948 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10949 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10950 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
10951 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10952 New defuns.
924d6997 10953
d1bbba4f
DG
109542013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10955
10956 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10957 Distinguish ternary operator tokens from slash symbol and slash
10958 char literal.
10959
14dd22d2
JB
109602013-06-18 Juanma Barranquero <lekktu@gmail.com>
10961
10962 Convert symbol prettification into minor mode and global minor mode.
10963
10964 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10965 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10966 (prettify-symbols--keywords): Rename from
10967 `prog-prettify-symbols-alist' and make a local defvar.
10968 (prettify-symbols--compose-symbol): Rename from
10969 `prog--prettify-font-lock-compose-symbol'.
10970 (prettify-symbols--make-keywords): Rename from
10971 `prog-prettify-font-lock-symbols-keywords' and simplify.
10972 (prog-prettify-install): Remove.
10973 (prettify-symbols-mode): New minor mode, based on
10974 `prog-prettify-install'.
10975 (turn-on-prettify-symbols-mode): New function.
10976 (global-prettify-symbols-mode): New globalized minor mode.
10977
10978 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10979 * progmodes/cfengine.el (cfengine3-mode):
10980 * progmodes/perl-mode.el (perl-mode): Don't call
10981 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10982
292c880c
JL
109832013-06-18 Juri Linkov <juri@jurta.org>
10984
10985 * files-x.el (modify-file-local-variable-message): New function.
10986 (modify-file-local-variable)
10987 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10988 and call `modify-file-local-variable-message' when it's non-nil.
10989 (add-file-local-variable, delete-file-local-variable)
10990 (add-file-local-variable-prop-line)
10991 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10992 and use it. (Bug#9820)
10993
0950aa27
JL
109942013-06-18 Juri Linkov <juri@jurta.org>
10995
10996 * emulation/vi.el (vi-shell-op):
10997 * emulation/vip.el (vip-execute-com, ex-command):
10998 * emulation/viper-cmd.el (viper-exec-bang):
10999 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11000 the call of `shell-command-on-region'. (Bug#14637)
11001
11002 * simple.el (shell-command-on-region): Doc fix.
11003
8fbcca16
SM
110042013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11007 (bug#14633).
11008
dd7426ea
GM
110092013-06-18 Glenn Morris <rgm@gnu.org>
11010
4ba54f7d
GM
11011 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11012
dd7426ea
GM
11013 * newcomment.el (comment-search-forward, comment-search-backward):
11014 Doc fix. (Bug#14376)
11015
58aa805b
JB
110162013-06-18 Juanma Barranquero <lekktu@gmail.com>
11017
11018 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11019 (buffer-face-mode-invoke): Doc fix.
11020
9a08a617
MM
110212013-06-18 Matthias Meulien <orontee@gmail.com>
11022
11023 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 11024 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 11025
f2f426ca
GM
110262013-06-18 Glenn Morris <rgm@gnu.org>
11027
9445f99b
GM
11028 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11029 Replace obsolete function generic-make-keywords with its expansion.
11030
e0df2d14
GM
11031 * progmodes/python.el (ffap-alist): Declare.
11032
f2f426ca
GM
11033 * textmodes/reftex.el (bibtex-mode-map): Declare.
11034
f7f9a720
SM
110352013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11038 (package-unpack, package-unpack-single): Return the pkg-dir.
11039 (package-download-transaction): Use it to update package-alist.
11040
57ff04e0
LMI
110412013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11042
11043 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11044 possible choice.
11045
c048c022
JL
110462013-06-17 Juri Linkov <juri@jurta.org>
11047
11048 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11049
b5bcaee5
DG
110502013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11051
a020afb9
JB
11052 * emacs-lisp/package.el (package-load-descriptor):
11053 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
11054 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11055
551e07e5
JB
110562013-06-17 Juanma Barranquero <lekktu@gmail.com>
11057
11058 * startup.el (command-line): Expand package name returned by
11059 `package--description-file' (bug#14639).
11060
d363bffb
DG
110612013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11062
11063 * emacs-lisp/package.el (package-load-descriptor): Do not call
11064 `emacs-lisp-mode', just use its syntax table.
11065
f612933b
JB
110662013-06-17 Juanma Barranquero <lekktu@gmail.com>
11067
11068 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11069 `font-lock-extra-managed-props' if any prettifying keyword is added.
11070 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11071 (prog-mode): Use `setq-local'.
11072
db3b7db5
SM
110732013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11074
11075 * international/characters.el (standard-case-table): Set syntax of ?»
11076 and ?« to punctuation.
11077
f3d674df
JB
110782013-06-16 Juanma Barranquero <lekktu@gmail.com>
11079
11080 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11081 Save relevant match data before calling `syntax-ppss' (bug#14595).
11082
31489a32
JL
110832013-06-15 Juri Linkov <juri@jurta.org>
11084
11085 * files-x.el (modify-file-local-variable-prop-line): Add local
11086 variables to the end of the existing comment on the first line.
11087 Use `file-auto-mode-skip' to skip interpreter magic line,
11088 and also skip XML declaration.
11089
66bd25ab
SM
110902013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11091
11092 * startup.el (package--builtin-versions): New var.
11093 (package-subdirectory-regexp): Remove.
11094 (package--description-file): Hard code its value instead.
11095
11096 * emacs-lisp/package.el: Don't activate packages older than builtin.
11097 (package-obsolete-list): Rename from package-obsolete-alist, and make
11098 it into a simple list of package-desc.
11099 (package-strip-version): Remove.
11100 (package-built-in-p): Use package--builtin-versions.
11101 (package-mark-obsolete): Simplify.
11102 (package-process-define-package): Mark it obsolete if older than the
11103 builtin version.
11104 (package-handle-response): Use line-end-position.
11105 (package-read-archive-contents, package--download-one-archive):
11106 Simplify.
11107 (package--add-to-archive-contents): Skip if older than the builtin or
11108 installed version.
11109 (package-menu-describe-package): Fix last change.
11110 (package-list-unversioned): New var.
11111 (package-menu--generate): Use it.
11112
11113 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11114 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11115 (autoload-builtin-package-versions): New variable.
11116 (autoload-generate-file-autoloads): Use them.
11117 Remove the list of autoloaded functions/macros from the
11118 (autoload...) comments.
11119
11120 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11121
9583ec36
EZ
111222013-06-15 Eli Zaretskii <eliz@gnu.org>
11123
11124 * simple.el (line-move-partial): Don't jump to the next screen
11125 line as soon as it becomes visible. Instead, continue enlarging
11126 the vscroll until the portion of a tall screen line that's left on
11127 display is about the height of the frame's default font.
11128 (Bug#14567)
11129
f0100d8a
GM
111302013-06-15 Glenn Morris <rgm@gnu.org>
11131
b86a85ca
GM
11132 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11133 compilation-error-regexp-alist void, or local while let-bound.
11134
f0100d8a
GM
11135 * progmodes/make-mode.el (makefile-mode-syntax-table):
11136 Treat "=" as punctuation. (Bug#14614)
11137
05e7ce90
JB
111382013-06-15 Juanma Barranquero <lekktu@gmail.com>
11139
11140 * help-fns.el (describe-variable):
11141 Add extra line for permanent-local variables.
11142
12e5e86e
SH
111432013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11144
11145 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11146 Add export, import, library. (Bug#9164)
11147 (library): Set indent function.
11148
230dcbaf
GM
111492013-06-14 Glenn Morris <rgm@gnu.org>
11150
11151 * term/xterm.el (xterm--query):
11152 Stop after first matching handler. (Bug#14615)
11153
e36b2d20 111542013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
11155
11156 Add support for dired in saveplace.
11157 * dired.el (dired-initial-position-hook): New variable.
11158 (dired-initial-position): Call hook to place cursor position.
11159 * saveplace.el (save-place-to-alist): Add dired position.
11160 (save-place-dired-hook): New function.
11161
0b31660d
SM
111622013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11163
bf1e6ae8
SM
11164 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11165 through a symbol rather than letrec.
11166
1b8dff23
SM
11167 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11168 (package-desc): Add `dir' field.
11169 (package-desc-full-name): New function.
11170 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11171 (package-maybe-load-descriptor): Remove.
11172 (package-load-all-descriptors): Just call package-load-descriptor.
11173 (package--disabled-p): New function.
11174 (package-desc-vers, package-desc-doc): Remove aliases.
11175 (package--dir): Remove function.
11176 (package-activate): Check if a package is disabled.
11177 (package-process-define-package): New function, extracted from
11178 define-package.
11179 (define-package): Turn into a place holder.
11180 (package-unpack-single, package-tar-file-info):
11181 Use package--description-file.
11182 (package-compute-transaction): Use package--disabled-p.
11183 (package-download-transaction): Don't call
11184 package-maybe-load-descriptor since they're all loaded anyway.
11185 (package-install): Change argument to be a pkg-desc.
11186 (package-delete): Use a single pkg-desc argument.
11187 (describe-package-1): Use package-desc-dir instead of package--dir.
11188 Use package-desc property instead of package-symbol.
11189 (package-install-button-action): Adjust accordingly.
11190 (package--push): Rewrite.
11191 (package-menu--print-info): Adjust accordingly. Change the ID format
11192 to be a pkg-desc.
11193 (package-menu-describe-package, package-menu-get-status)
11194 (package-menu--find-upgrades, package-menu-mark-upgrades)
11195 (package-menu-execute, package-menu--name-predicate):
11196 Adjust accordingly.
11197 * startup.el (package--description-file): New function.
11198 (command-line): Use it.
11199 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11200 Use package-desc-version.
11201
0b31660d
SM
11202 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11203 (byte-compile-preprocess): Use it.
11204 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11205 can't quite recognize.
11206 (byte-compile-add-to-list): Remove.
11207 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11208 (cconv-closure-convert): Add assertion.
11209
11210 * emacs-lisp/map-ynp.el: Use lexical-binding.
11211 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11212 Factor out some repeated code.
11213
de0503df
SM
112142013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11215
11216 * subr.el (with-eval-after-load): New macro.
11217 (eval-after-load): Allow form to be a function.
11218 take advantage of lexical-binding.
11219 (do-after-load-evaluation): Use dolist and adjust to new format.
11220 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11221
bc5c8c5a
JL
112222013-06-13 Juri Linkov <juri@jurta.org>
11223
11224 * replace.el (perform-replace): Display "symbol " and other search
11225 modes from `isearch-message-prefix' in the *Help* buffer.
11226
11227 * isearch.el (isearch-query-replace): Add " symbol" and other
11228 possible search modes from `isearch-message-prefix' to the prompt.
11229 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11230 when reading a regexp to collect.
11231
a22289f7
JL
112322013-06-13 Juri Linkov <juri@jurta.org>
11233
11234 * isearch.el (word-search-regexp): Match whitespace if the search
11235 string begins or ends in whitespace. The LAX arg is applied to
11236 both ends of the search string. Use `regexp-quote' and explicit
11237 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11238 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11239 boundaries are replaced with symbol boundaries, and characters
11240 between symbols match non-word non-symbol syntax. (Bug#14602)
11241
cb89acab
JL
112422013-06-13 Juri Linkov <juri@jurta.org>
11243
11244 * isearch.el (isearch-del-char): Don't exceed the length of
11245 `isearch-string' by the prefix arg. (Bug#14563)
11246
6e8cfc81
JL
112472013-06-13 Juri Linkov <juri@jurta.org>
11248
11249 * isearch.el (isearch-yank-word, isearch-yank-line)
11250 (isearch-char-by-name, isearch-quote-char)
11251 (isearch-printing-char, isearch-process-search-char):
11252 Add optional count prefix arg. (Bug#14563)
11253
11254 * international/isearch-x.el
11255 (isearch-process-search-multibyte-characters):
11256 Add optional count prefix arg.
11257
c23d55f4
VS
112582013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11259
11260 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11261 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11262 lexical-binding.
11263
112642013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11265
11266 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11267
ba947bc4
GM
112682013-06-13 Glenn Morris <rgm@gnu.org>
11269
8baeb37a
GM
11270 * startup.el (tty-handle-args):
11271 Don't just discard "--" and anything after. (Bug#14608)
11272
ba947bc4
GM
11273 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11274
9abefce4
MA
112752013-06-13 Michael Albinus <michael.albinus@gmx.de>
11276
11277 Implement changes in Secret Service API. Make it backward compatible.
11278 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11279 (secrets-create-item): Use it. Prefix properties with interface.
11280
5755011f
MH
112812013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11282
11283 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11284 (term-emulate-terminal): Respect term-suppress-hard-newline.
11285
1261d2da
S
112862013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11287
11288 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11289 Only remove a `thumb-file' overlay. (Bug#14548)
11290
868490bb
GJ
112912013-06-12 Grégoire Jadi <daimrod@gmail.com>
11292
11293 * mail/reporter.el (reporter-submit-bug-report):
11294 Handle missing package-name. (Bug#14600)
11295
79d7167f
TH
112962013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11297
11298 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11299 (reftex-citation-prompt, reftex-default-bibliography)
11300 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11301 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11302 (reftex-bib-sort-author, reftex-bib-sort-year)
11303 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11304 (reftex-extract-bib-entries-from-thebibliography)
11305 (reftex-get-bibkey-default, reftex-get-bib-names)
11306 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11307 (reftex-format-bib-entry, reftex-parse-bibitem)
11308 (reftex-format-bibitem, reftex-do-citation)
11309 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11310 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11311 (reftex-insert-bib-matches, reftex-format-citation)
11312 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11313 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11314 existing comments into docstrings.
11315
5f9dbd7a
XF
113162013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11317
11318 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11319
94df41ab
AS
113202013-06-12 Andreas Schwab <schwab@suse.de>
11321
11322 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11323 for auto-save files.
11324
a7f3fecc
GM
113252013-06-12 Glenn Morris <rgm@gnu.org>
11326
001809f6
GM
11327 * ido.el (ido-delete-ignored-files): Remove.
11328 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11329 Go back to calling ido-ignore-item-p directly.
a7f3fecc 11330
834b5ded
EL
113312013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11332
08c73ed2
EL
11333 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11334
834b5ded
EL
11335 * ido.el (ido-delete-ignored-files): New function,
11336 split from ido-make-file-list-1.
11337 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11338 (ido-make-file-list-1): Use ido-delete-ignored-files.
11339
daabf15a
LL
113402013-06-12 Leo Liu <sdl.web@gmail.com>
11341
11342 * progmodes/octave.el (inferior-octave-startup)
11343 (inferior-octave-completion-table)
11344 (inferior-octave-track-window-width-change)
11345 (octave-eldoc-function-signatures, octave-help)
11346 (octave-find-definition): Use single quoted strings.
11347 (inferior-octave-startup-args): Change default value.
11348 (inferior-octave-startup): Do not hard code "-i" and
11349 "--no-line-editing".
11350 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11351 (inferior-octave-directory-tracker): Use it.
11352 (octave-goto-function-definition): Robustify.
11353 (octave-help): Support highlighting operators in 'See also'.
11354 (octave-find-definition): Find subfunctions only in Octave mode.
11355
cf4e5178
SM
113562013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * help-fns.el (help-fns--compiler-macro): If the handler function is
11359 named, then put a link to it.
11360 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11361 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11362 (cl-typep): Use it.
11363 (cl-eval-when): Simplify debug spec.
11364 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11365 compiler-macro function instead of setting `compiler-macro-file'.
11366
99c81280 113672013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
11368
11369 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11370 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11371
f56be016
SM
113722013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11373 Daniel Hackney <dan@haxney.org>
11374
11375 First part of Daniel Hackney's patch to package.el.
11376 * emacs-lisp/package.el: Use defstruct.
11377 (package-desc): New, main struct.
11378 (package--bi-desc, package--ac-desc): New structs, used to describe the
11379 format in external files.
11380 (package-desc-vers): Replace with package-desc-version accessor.
11381 (package-desc-doc): Replace with package-desc-summary accessor.
11382 (package-activate-1): Remove `package' arg since the pkg-vec now
11383 includes the name.
11384 (define-package): Use package-desc-from-define.
11385 (package-unpack-single): Change file-name arg to be a symbol.
11386 (package--add-to-archive-contents): Use package-desc-create and new
11387 accessor functions to package--ac-desc.
11388 (package-buffer-info, package-tar-file-info): Return a package-desc.
11389 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11390 arg to be a package-desc.
11391 (package-install-file): Adjust accordingly. Use \' to match EOS.
11392 (package--from-builtin): New function.
11393 (describe-package-1, package-menu--generate): Use it.
11394 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11395 (package-generate-autoloads): Idem and return the name of the file.
11396 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11397 Change pkg-info arg to be a package-desc.
11398 Use package-make-ac-desc.
11399 (package-upload-file): Use \' to match EOS.
11400 * finder.el (finder-compile-keywords): Use package-make-builtin.
11401
31119d63
SM
114022013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11403
931a2762
SM
11404 * vc/vc.el (vc-deduce-fileset): Change error message.
11405 (vc-read-backend): New function.
11406 (vc-next-action): Use it.
11407
5a3eb0c6
SM
11408 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11409
e3eb1bb7
SM
11410 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11411 (prolog-font-lock-keywords): Use regexp-opt instead.
11412 Don't manually highlight strings.
11413 (prolog-mode-variables): Simplify comment-start-skip.
11414 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11415
31119d63
SM
11416 * emacs-lisp/generic.el (generic--normalise-comments)
11417 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11418 (generic-mode-set-comments): Use them.
11419 (generic-bracket-support): Use setq-local.
11420 (generic-make-keywords-list): Declare obsolete.
11421
7de135d0
GM
114222013-06-11 Glenn Morris <rgm@gnu.org>
11423
11424 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11425 Prettify after setting font-lock-defaults. (Bug#14574)
11426
fa6bc6fd
JB
114272013-06-11 Juanma Barranquero <lekktu@gmail.com>
11428
11429 * replace.el (query-replace, occur-read-regexp-defaults-function)
11430 (replace-search):
11431 * subr.el (declare-function, number-sequence, local-set-key)
11432 (substitute-key-definition, locate-user-emacs-file)
11433 (with-silent-modifications, split-string, eval-after-load):
11434 Fix typos, remove unneeded backslashes and reflow some docstrings.
11435
cf1f9b9a
SM
114362013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11437
11438 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11439 default for Elisp files.
11440
56602a4b
GM
114412013-06-11 Glenn Morris <rgm@gnu.org>
11442
11443 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11444 although define-derived-mode was doing this anyway. (Bug#14583)
11445
30ae0b2c
JB
114462013-06-10 Juanma Barranquero <lekktu@gmail.com>
11447
11448 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11449 Fix make-variable-buffer-local call to refer to the correct variable.
11450
fa472906
AG
114512013-06-10 Aidan Gauland <aidalgol@amuri.net>
11452
11453 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
11454 (eshell-visual-subcommands, eshell-visual-options):
11455 Add summary line to docstrings. Add cross-references.
fa472906 11456
ff4871b9
GM
114572013-06-10 Glenn Morris <rgm@gnu.org>
11458
11459 * epa.el (epa-read-file-name): New function. (Bug#14510)
11460 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11461
04fcf1b0
AG
114622013-06-09 Aidan Gauland <aidalgol@amuri.net>
11463
11464 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11465 output redirection to be ignored with visual commands.
11466
88b00caa
AG
114672013-06-09 Aidan Gauland <aidalgol@amuri.net>
11468
11469 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
11470 (eshell-term-initialize): Move long lambda to separate function
11471 eshell-visual-command-p.
27821a89 11472 * eshell/em-dirs.el (eshell-dirs-initialize):
e7b41c4c
JB
11473 * eshell/em-script.el (eshell-script-initialize):
11474 Add missing #' to lambda.
88b00caa 11475
fda74125
LL
114762013-06-08 Leo Liu <sdl.web@gmail.com>
11477
11478 * progmodes/octave.el (octave-add-log-current-defun): New function.
11479 (octave-mode): Set add-log-current-defun-function.
11480 (octave-goto-function-definition): Do not move point if not found.
11481 (octave-find-definition): Enhance to try subfunctions first.
11482
467f3b33
GM
114832013-06-08 Glenn Morris <rgm@gnu.org>
11484
11485 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11486 (byte-compile-backward-char, byte-compile-backward-word):
11487 Improve previous change, to handle non-explicit nil.
11488
544badc3
SM
114892013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11492 (smie--opener/closer-at-point): New function.
11493 (smie--matching-block-data): Use it. Don't match from right after an
11494 opener or right before a closer. Obey smie-blink-matching-inners.
11495 Don't signal a mismatch for repeated inners like "switch..case..case".
11496
a175bf33
LL
114972013-06-07 Leo Liu <sdl.web@gmail.com>
11498
11499 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11500 to t. (Bug#14303)
ce8209d4
LL
11501 (octave-function-header-regexp): Fix. (Bug#14570)
11502 (octave-help-mode-finish-hook, octave-help-mode-finish):
11503 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
11504
11505 * newcomment.el (comment-search-backward): Revert last change.
11506 (Bug#14434)
11507
11508 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11509
a822acff
EZ
115102013-06-07 Eli Zaretskii <eliz@gnu.org>
11511
11512 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11513 through xargs, to avoid failure due to MS-Windows limitations on
11514 command-line length.
11515
961166f5
GM
115162013-06-06 Glenn Morris <rgm@gnu.org>
11517
d0341459
GM
11518 * font-lock.el (lisp-font-lock-keywords-2):
11519 Treat user-error like error.
11520
961166f5
GM
11521 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11522 (byte-compile-backward-char, byte-compile-backward-word):
11523 Handle explicit nil arguments. (Bug#14565)
11524
80fa505f
AM
115252013-06-05 Alan Mackenzie <acm@muc.de>
11526
11527 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 11528 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 11529 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 11530 (Bug#9706)
80fa505f 11531
fccdc796
SM
115322013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11533
11534 * autorevert.el (auto-revert-notify-handler): Use memq.
11535 Hide assertion failure.
11536
11537 * skeleton.el: Use cl-lib.
11538 (skeleton-further-elements): Use defvar-local.
11539 (skeleton-insert): Use cl-progv.
11540
9bfff84b
TZ
115412013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11542
11543 * progmodes/prog-mode.el (prog-prettify-symbols)
11544 (prog-prettify-install): Update docstrings.
11545
55577e7c
SM
115462013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11547
11548 * simple.el: Move all the prog-mode code to prog-mode.el.
11549 * progmodes/prog-mode.el: New file.
11550 * loadup.el: Add prog-mode.el.
11551
8fc57765
TZ
115522013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11553
11554 * simple.el (prog-prettify-symbols): Add version.
11555 (prog-prettify-install): Add convenience function to prettify symbols.
11556
11557 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11558 (perl--augmented-font-lock-keywords-1)
11559 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11560 variables and use it.
11561
11562 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11563 (cfengine3-mode): Remove unneeded variable and use it.
11564
11565 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11566 (lisp--augmented-font-lock-keywords-1)
11567 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11568 Remove unneeded variables and use it.
11569
650645d5 115702013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
11571
11572 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 11573 to point when opening the connection. (Bug#14380)
28f5da6d 11574
781b4af6
SM
115752013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11576
11577 * subr.el (load-history-regexp, load-history-filename-element)
11578 (eval-after-load, after-load-functions, do-after-load-evaluation)
11579 (eval-next-after-load, display-delayed-warnings)
11580 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11581 definition of save-match-data.
11582 (overriding-local-map): Remove accidental obsolescence declaration.
11583
11584 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11585
3ca0d0b4
TZ
115862013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11587
11588 Generalize symbol prettify support to prog-mode and implement it
11589 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11590 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11591 (prog--prettify-font-lock-compose-symbol)
11592 (prog-prettify-font-lock-symbols-keywords): New variables and
11593 functions to support symbol prettification.
11594 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11595 (lisp--augmented-font-lock-keywords-1)
11596 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11597 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11598 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
11599 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11600 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
11601 * progmodes/perl-mode.el (perl-prettify-symbols)
11602 (perl--font-lock-compose-symbol)
11603 (perl--font-lock-symbols-keywords): Move to prog-mode.
11604 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11605 (perl-font-lock-keywords-1)
11606 (perl-font-lock-keywords-2): Remove explicit prettify support.
11607 (perl--augmented-font-lock-keywords)
11608 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
11609 (perl--augmented-font-lock-keywords-2, perl-mode):
11610 Implement prettify support.
3ca0d0b4 11611
976cb066
LL
116122013-06-05 Leo Liu <sdl.web@gmail.com>
11613
27821a89 11614 Re-implement SMIE matching block highlight using
976cb066
LL
11615 show-paren-data-function. (Bug#14395)
11616 * emacs-lisp/smie.el (smie-matching-block-highlight)
11617 (smie--highlight-matching-block-overlay)
11618 (smie--highlight-matching-block-lastpos)
11619 (smie-highlight-matching-block)
11620 (smie-highlight-matching-block-mode): Remove.
11621 (smie--matching-block-data-cache): New variable.
11622 (smie--matching-block-data): New function.
11623 (smie-setup): Use smie--matching-block-data for
11624 show-paren-data-function.
11625
11626 * progmodes/octave.el (octave-mode-menu): Fix.
11627 (octave-find-definition): Skip garbage lines.
11628
208d0342
SM
116292013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 Fix compilation error with simultaneous dynamic+lexical scoping.
11632 Add warning when a defvar appears after the first let-binding.
11633 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11634 (byte-compile-close-variables): Initialize it.
11635 (byte-compile--declare-var): New function.
11636 (byte-compile-file-form-defvar)
11637 (byte-compile-file-form-define-abbrev-table)
11638 (byte-compile-file-form-custom-declare-variable): Use it.
11639 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11640 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11641 (byte-compile-bind): Handle dynamic bindings that shadow
11642 lexical bindings.
11643 (byte-compile-unbind): Make arg non-optional.
11644 (byte-compile-let): Simplify.
11645 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11646 (cconv--analyse-function, cconv-analyse-form): Populate it.
11647 Protect byte-compile-bound-variables to limit the scope of defvars.
11648 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11649 Remove unneeded rule for `declare'.
11650
11651 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11652 so as to avoid depending on cl-adjoin at run-time.
11653 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11654
11655 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11656 (macroexp--warn-and-return): Use it.
11657
1ac2891e
GM
116582013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11659
a12bf61e 11660 * subr.el: Convert to lexical binding.
1ac2891e
GM
11661 (overriding-local-map): Make obsolete.
11662 (add-to-list): Doc fix. Add compiler macro.
11663 (read-key): Swap values of local maps.
11664
2587b005
LL
116652013-06-05 Leo Liu <sdl.web@gmail.com>
11666
11667 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11668
f1da3c88
LL
116692013-06-04 Leo Liu <sdl.web@gmail.com>
11670
11671 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11672 (compilation-auto-jump): Suppress the "Mark set" message to give
11673 way to exit message.
11674
3caa391f
AM
116752013-06-04 Alan Mackenzie <acm@muc.de>
11676
11677 Remove faulty optimisation from indentation calculation.
11678 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11679 search limit based on 2000 characters back from indent-point.
11680
068922a2
TH
116812013-06-03 Tassilo Horn <tsdh@gnu.org>
11682
11683 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11684
1f8fdd53
SM
116852013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11686
bbcc4d97
SM
11687 * emacs-lisp/lisp.el: Use lexical-binding.
11688 (lisp--local-variables-1, lisp--local-variables): New functions.
11689 (lisp--local-variables-completion-table): New var.
208d0342 11690 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 11691
1f8fdd53
SM
11692 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11693 eagerly (bug#14422).
11694
c9628c79
MA
116952013-06-03 Michael Albinus <michael.albinus@gmx.de>
11696
11697 * autorevert.el (auto-revert-notify-enabled)
11698 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11699 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11700 (auto-revert-notify-handler): Handle also gfilenotify.
11701
e7b41c4c 11702 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 11703 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 11704 Remove.
c9628c79 11705
e5e4a942
JL
117062013-06-03 Juri Linkov <juri@jurta.org>
11707
11708 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11709 `M-s h .'. (Bug#14427)
11710
11711 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11712 command `hi-lock-face-symbol-at-point'.
11713 (hi-lock-face-symbol-at-point): New command.
11714 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11715 (hi-lock-menu): Add `highlight-symbol-at-point'.
11716 (hi-lock-mode): Doc fix.
11717
11718 * isearch.el (isearch-forward-symbol-at-point): New command.
11719 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11720 (isearch-highlight-regexp): Add a regexp which matches
11721 words/symbols for word/symbol mode.
11722
11723 * subr.el (find-tag-default-bounds): New function with the body
11724 mostly moved from `find-tag-default'.
11725 (find-tag-default): Move most code to `find-tag-default-bounds',
11726 call it and apply `buffer-substring-no-properties' afterwards.
11727
26b3353a
TH
117282013-06-03 Tassilo Horn <tsdh@gnu.org>
11729
781b4af6
SM
11730 * eshell/em-term.el (eshell-term-initialize):
11731 Use `cl-intersection' rather than `intersection'.
26b3353a 11732
51b60f53
XF
117332013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11734
fe054b63 11735 * vc/log-view.el: Doc fix.
d3ffe17c 11736 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 11737
a0eb10b3 117382013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
11739
11740 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11741 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11742 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11743 (eieio-unbound, eieio-default-superclass)
11744 (eieio--define-field-accessors, method-static, method-before)
11745 (method-primary, method-after, method-num-lists)
11746 (method-generic-before, method-generic-primary)
11747 (method-generic-after, method-num-slots)
11748 (eieio-specialized-key-to-generic-key)
11749 (eieio--check-type, class-v, class-p)
11750 (eieio-class-name, define-obsolete-function-alias)
11751 (eieio-class-parents-fast, eieio-class-children-fast)
11752 (same-class-fast-p, class-constructor, generic-p)
11753 (generic-primary-only-p, generic-primary-only-one-p)
11754 (class-option-assoc, class-option, eieio-object-p)
11755 (class-abstract-p, class-method-invocation-order)
11756 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11757 (eieio-class-un-autoload, eieio-defclass)
11758 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11759 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11760 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11761 (eieio-defgeneric-reset-generic-form)
11762 (eieio-defgeneric-form-primary-only)
11763 (eieio-defgeneric-reset-generic-form-primary-only)
11764 (eieio-defgeneric-form-primary-only-one)
11765 (eieio-defgeneric-reset-generic-form-primary-only-one)
11766 (eieio-unbind-method-implementations)
11767 (eieio--defmethod, eieio--typep)
11768 (eieio-perform-slot-validation, eieio-validate-slot-value)
11769 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11770 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11771 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11772 (eieio-slot-name-index, eieio-class-slot-name-index)
11773 (eieio-set-defaults, eieio-initarg-to-attribute)
11774 (eieio-attribute-to-initarg, eieio-c3-candidate)
11775 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11776 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11777 (eieio-class-precedence-list, eieio-generic-call-methodname)
11778 (eieio-generic-call-arglst, eieio-generic-call-key)
11779 (eieio-generic-call-next-method-list)
11780 (eieio-pre-method-execution-functions, eieio-generic-call)
11781 (eieio-generic-call-primary-only, eieiomt-method-list)
11782 (eieiomt-optimizing-obarray, eieiomt-install)
11783 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11784 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 11785 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
11786 (defclass): Remove `eval-and-compile' from macro.
11787 (call-next-method, shared-initialize): Instead of using
11788 `scoped-class' variable, use new eieio--scoped-class, and
11789 eieio--with-scoped-class.
11790 (initialize-instance): Rename local variable 'scoped-class' to
11791 'this-class' to remove ambiguitity from old global.
11792
11793 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11794 eieio.el.
4f405069
JB
11795 (eieio--scoped-class-stack): New variable.
11796 (eieio--scoped-class): New fcn.
890f7890
DE
11797 (eieio--with-scoped-class): New scoping macro.
11798 (eieio-defclass): Use pushnew instead of add-to-list.
11799 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11800 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11801 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11802 `scoped-class' variable, use new eieio--scoped-class, and
11803 eieio--with-scoped-class.
11804
11805 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11806
d105b0e2
TH
118072013-06-02 Tassilo Horn <tsdh@gnu.org>
11808
11809 * eshell/esh-ext.el (eshell-external-command): Pass args to
11810 `eshell-find-interpreter'.
11811 (eshell-find-interpreter): Add new second parameter ARGS.
11812
11813 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 11814 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11815
11816 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 11817 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
11818
11819 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11820 (eshell-visual-options): New defcustom.
11821 (eshell-escape-control-x): Adapt docstring.
11822 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11823 `eshell-visual-options' in addition to `eshell-visual-commands'.
11824 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11825
f46305c8 118262013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
11827
11828 * progmodes/python.el (python-indent-block-enders): Add break,
11829 continue and raise keywords.
11830
d870df21
GM
118312013-06-01 Glenn Morris <rgm@gnu.org>
11832
9133b82e
GM
11833 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11834
02c992ec 11835 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
11836 * progmodes/cc-cmds.el (delete-forward-p):
11837 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11838 * progmodes/cc-engine.el (buffer-syntactic-context):
11839 * progmodes/cc-fonts.el (face-property-instance):
11840 * progmodes/cc-mode.el (set-keymap-parents):
11841 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11842 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11843 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
11844 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11845 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 11846
31e7b090
GM
11847 * progmodes/cc-vars.el (other): Emacs has this widget since
11848 at least 21.1, so don't (re)define it.
11849
d870df21
GM
11850 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11851 Replace the obsolete alias pcomplete-arg-quote-list.
11852
c75c93c7
LL
118532013-06-01 Leo Liu <sdl.web@gmail.com>
11854
11855 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11856 punctuation syntax.
11857 (inferior-octave-minimal-columns)
11858 (inferior-octave-last-column-width): New variables.
11859 (inferior-octave-track-window-width-change): New function.
11860 (inferior-octave-mode): Adjust column width so that Octave output,
11861 for example from 'ls', can fit into the window nicely.
11862
973d1e12
DG
118632013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11864
11865 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11866 Highlight expansions inside regexp literals.
11867
0888c286
GM
118682013-05-31 Glenn Morris <rgm@gnu.org>
11869
e26aac1f
GM
11870 * obsolete/sym-comp.el (symbol-complete):
11871 Replace obsolete completion-annotate-function.
11872
0888c286
GM
11873 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11874
19bb8e62
DG
118752013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11876
781b4af6
SM
11877 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11878 New function, checks if point is inside a literal that allows
19bb8e62
DG
11879 expression expansion.
11880 (ruby-syntax-propertize-expansion): Use it.
11881 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11882 around the body.
11883
01dea85f
JL
118842013-05-30 Juri Linkov <juri@jurta.org>
11885
11886 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11887 to "\M-si".
11888 (isearch-invisible): New variable.
11889 (isearch-forward): Doc fix.
11890 (isearch-mode): Set `isearch-invisible'
11891 to the value of `search-invisible'.
11892 (isearch-toggle-case-fold): Doc fix.
11893 (isearch-toggle-invisible): New command.
11894 (isearch-query-replace): Let-bind `search-invisible'
11895 to the value of `isearch-invisible'.
11896 (isearch-search): Use `isearch-invisible' instead of
11897 `search-invisible'. Let-bind `search-invisible'
11898 to the value of `isearch-invisible'. (Bug#11378)
11899
ab1bdce5
JL
119002013-05-30 Juri Linkov <juri@jurta.org>
11901
11902 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11903 call when `query-flag' is nil and `search-invisible' is non-nil.
11904 (Bug#11746)
11905
d6d236e2
GM
119062013-05-30 Glenn Morris <rgm@gnu.org>
11907
8accd027
GM
11908 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11909
2a8bed1c
GM
11910 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11911 (cc-require): Suppress spurious "noruntime" warnings.
11912 (cc-require-when-compile): Use fboundp, for sake of compiler.
11913
d6d236e2
GM
11914 * progmodes/cc-mode.el: Move load of cc-vars before that of
11915 cc-langs (which in turn loads cc-vars), to quieten compiler.
11916
9190b35b
SM
119172013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * paren.el: Simplify the code.
11920 (show-paren-mode): Always start the timer.
11921 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11922 (show-paren--overlay, show-paren--overlay-1): Rename from
11923 show-paren-overlay and show-paren-overlay-1, and initialize to an
11924 overlay rather than to nil.
11925 (show-paren-function): Misc cleanup and simplifications.
11926
4f8d1cf6
SM
119272013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * paren.el (show-paren-data-function): New hook.
11930 (show-paren--default): New function, extracted from show-paren-function.
11931 (show-paren-function): Use show-paren-data-function.
11932
02d844b5
GM
119332013-05-30 Glenn Morris <rgm@gnu.org>
11934
d209d4a9
GM
11935 * ielm.el (ielm-map, ielm-complete-symbol):
11936 Use completion-at-point rather than obsolete functions.
11937 (inferior-emacs-lisp-mode): Doc fix.
11938 Set completion-at-point-functions, rather than
11939 comint-dynamic-complete-functions.
11940
2082faa6
GM
11941 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11942 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11943 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11944
dd8620de
GM
11945 * image.el (image-animated-p): Tweak definition.
11946
ceca95b1
GM
11947 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11948 (rlogin-process-connection-type): Tweak default. Add set-after.
11949 (rlogin-host): Doc fix.
11950 (rlogin): Tweak prompt.
11951 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11952
ee9f1acc
GM
11953 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11954 * progmodes/tcl.el (inferior-tcl-mode-map):
11955 Use completion-at-point rather than obsolete alias.
11956
45ce222e
GM
11957 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11958
02d844b5
GM
11959 * minibuffer.el (read-file-name-completion-ignore-case):
11960 Move before completion--in-region, for eager macro expansion.
11961
ac44d6c1
JL
119622013-05-29 Juri Linkov <juri@jurta.org>
11963
11964 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11965 for total count of matching lines. Add `global-matches' for total
11966 count of matches. Rename `matches' to `lines' for count of
11967 matching lines. Add `matches' for count of matches.
11968 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11969 to `prev-line' for line number of prev match endpt.
11970 Increment `matches' for every match. Print the number of
11971 matching lines in the header.
11972 (occur-context-lines): Rename `lines' to `curr-line'.
11973 Rename `prev-lines' to `prev-line'. (Bug#14017)
11974
3c9c9d38
JL
119752013-05-29 Juri Linkov <juri@jurta.org>
11976
11977 * replace.el (perform-replace): Add `skip-read-only-count',
11978 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11979 Increment them for corresponding conditions and report the number
11980 of skipped occurrences in the final message. (Bug#11746)
11981 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11982 (replace-string, replace-regexp): Doc fix.
11983
33e249a2
SM
119842013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11985
8e399682
SM
11986 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11987
33e249a2 11988 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 11989 prog-mode-map (bug#14504).
33e249a2 11990
f236dd84
LL
119912013-05-29 Leo Liu <sdl.web@gmail.com>
11992
11993 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11994 (octave-help): Small simplification.
11995
11996 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11997 off the highlight first.
11998
3694d13f
GM
119992013-05-29 Glenn Morris <rgm@gnu.org>
12000
03983bdc
GM
12001 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12002 Handle idlwave-last-system-routine-info-cons-cell being nil.
12003
bc74a74a
GM
12004 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12005 (idlwave-write-paths): Simplify via with-temp-buffer.
12006
8b394200
GM
12007 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12008 * emulation/cua-rect.el: Also load cua-base at run time.
12009
3694d13f
GM
12010 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12011 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12012 (cperl-imenu-on-info): Require imenu.
12013
336d7284
AM
120142013-05-28 Alan Mackenzie <acm@muc.de>
12015
12016 Handle "capitalised keywords" correctly.
33e249a2 12017 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 12018
cb29c582
AG
120192013-05-28 Aidan Gauland <aidalgol@amuri.net>
12020
781b4af6 12021 * eshell/em-unix.el: Add -r option to cp.
cb29c582 12022
690e44b2
GM
120232013-05-28 Glenn Morris <rgm@gnu.org>
12024
e658d75c
GM
12025 * vc/vc-arch.el (vc-exec-after): Declare.
12026 (vc-switches): Autoload.
12027 * vc/vc-bzr.el: No need to require vc when compiling.
12028 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12029 (vc-resynch-buffer, vc-dir-refresh): Declare.
12030 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
12031 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12032 (vc-resynch-buffer): Declare.
12033 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 12034 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
12035 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12036 (grep-read-regexp, grep-read-files, grep-expand-template)
12037 (vc-dir-refresh): Declare.
12038 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12039 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12040 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
12041 * vc/vc-mtn.el (vc-exec-after): Declare.
12042 (vc-switches): Autoload.
12043 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12044 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12045 (vc-file-tree-walk): Declare.
712b9732
GM
12046 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12047 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12048 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
12049 * vc/vc-svn.el (vc-exec-after): Declare.
12050 (vc-switches, vc-setup-buffer): Autoload.
12051 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12052 Autoload.
12053 (vc-resynch-buffer): Declare.
12054
98e87fb3
GM
12055 * obsolete/fast-lock.el (byte-compile-warnings):
12056 Don't warn about obsolete features in this obsolete file.
12057
f5379553
GM
12058 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12059 Move definition before use.
12060
7a20ef83
GM
12061 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12062 (dun-unix-verbs): Remove dun-zippy.
12063 (dun-zippy): Remove function.
12064
690e44b2
GM
12065 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12066
3a52ccf7
JL
120672013-05-27 Juri Linkov <juri@jurta.org>
12068
12069 * replace.el (replace-search): New function with code moved out
12070 from `perform-replace'.
12071 (replace-highlight, replace-dehighlight): Move function definitions
12072 up closer to `replace-search'. (Bug#11746)
12073
d289938a
JL
120742013-05-27 Juri Linkov <juri@jurta.org>
12075
12076 * replace.el (perform-replace): Ignore invisible matches.
12077 In addition to checking `query-replace-skip-read-only', also
12078 filter out matches by calling `run-hook-with-args-until-failure'
12079 on `isearch-filter-predicates', and also check `search-invisible'
12080 for t or call `isearch-range-invisible'.
12081 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12082
66fc57e3
JL
120832013-05-27 Juri Linkov <juri@jurta.org>
12084
12085 * isearch.el (isearch-filter-predicates): Rename from
12086 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12087 (isearch-message-prefix): Display text from the property
12088 `isearch-message-prefix' of the currently active filters.
12089 (isearch-search): Don't compare `isearch-filter-predicate' with
12090 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12091 on `isearch-filter-predicates'. Also check `search-invisible' for t
12092 or call `isearch-range-invisible'.
12093 (isearch-filter-visible): Make obsolete.
12094 (isearch-lazy-highlight-search):
12095 Call `run-hook-with-args-until-failure' on
12096 `isearch-filter-predicates' and use `isearch-range-invisible'.
12097
12098 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12099 `isearch-filter-predicates' instead of `funcall'ing
12100 `isearch-filter-predicate'.
12101 (Info-mode): Set `Info-isearch-filter' to
12102 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12103
12104 * dired-aux.el (dired-isearch-filter-predicate-orig):
12105 Remove variable.
12106 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12107 (dired-isearch-filenames-end): Add and remove
12108 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12109 instead of changing the value of `isearch-filter-predicate'.
12110 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12111 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12112 Put property `isearch-message-prefix' to "filename " on
12113 `dired-isearch-filter-filenames'.
12114
12115 * wdired.el (wdired-change-to-wdired-mode):
12116 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12117 locally instead of changing `isearch-filter-predicate'.
12118 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12119
f1a60a0f
DG
121202013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12121
12122 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12123 return the commit hash (Bug#14459). Also set the
12124 `vc-git-detached' property.
12125 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12126 (vc-git-mode-line-string): Use the same help-echo format whether
12127 in detached mode or not, because we know the actual revision now.
12128 When in detached mode, shorten the revision to 7 chars.
12129
7f17cc40
SM
121302013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * emacs-lisp/easy-mmode.el (define-minor-mode):
12133 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12134 mode hook and provide a docstring.
12135
25c8401c
AM
121362013-05-27 Alan Mackenzie <acm@muc.de>
12137
12138 Remove spurious syntax-table text properties inserted by C-y.
12139 * progmodes/cc-mode.el (c-after-change): Also clear hard
12140 syntax-table property with value nil.
12141
dde84790
MA
121422013-05-27 Michael Albinus <michael.albinus@gmx.de>
12143
12144 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12145 when reading the events; the buffer layout shall not be changed.
12146
837fd9af
LL
121472013-05-27 Leo Liu <sdl.web@gmail.com>
12148
12149 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12150 New variable.
12151 (inferior-octave-directory-tracker): Automatically re-sync
12152 default-directory.
12153 (octave-help): Improve handling of 'See also'.
12154
4fd996b3
SM
121552013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12156
416f1802
SM
12157 * doc-view.el: Minor naming convention tweaks.
12158 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12159
4fd996b3
SM
12160 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12161 even if there's no `display' property yet (bug#14435).
12162
a052ef3b
EZ
121632013-05-25 Eli Zaretskii <eliz@gnu.org>
12164
4fd996b3 12165 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
12166
12167 * Makefile.in (custom-deps, finder-data, autoloads)
12168 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12169 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12170 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12171
c9023370
SM
121722013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12175 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 12176 Don't burp at EOB.
c9023370 12177
24d699fa
LL
121782013-05-25 Leo Liu <sdl.web@gmail.com>
12179
12180 * comint.el (comint-previous-matching-input): Do not flood the
12181 *Messages* buffer with trivial messages.
12182
17e5c0cc
SM
121832013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12184
12185 * progmodes/flymake.el (flymake-nop): Don't return a string.
12186 (flymake-set-at): Fix typo.
12187
12188 * simple.el (read--expression): New function, extracted from
12189 eval-expression. Set completion-at-point-functions (bug#14465).
12190 (eval-expression, eval-minibuffer): Use it.
12191
5d028165
XF
121922013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12193
12194 * progmodes/flymake.el (flymake-save-buffer-in-file)
12195 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12196 (flymake-selected-frame, flymake-log, flymake-ins-after)
12197 (flymake-set-at, flymake-get-buildfile-from-cache)
12198 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12199 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12200 Refine the doc string.
12201 (flymake-get-file-name-mode-and-masks): Reformat.
12202 (flymake-get-real-file-name-function): Fix a minor bug.
12203
7a1d7ba7
JL
122042013-05-24 Juri Linkov <juri@jurta.org>
12205
12206 * progmodes/grep.el (grep-mode-font-lock-keywords):
12207 Support =linenumber= format used by git-grep for lines with
12208 function names. (Bug#13549)
12209
650cff3d
SM
122102013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12213 0 after a semi-colon; it works better for smie-auto-fill.
12214 (octave--indent-new-comment-line): New function.
12215 (octave-indent-new-comment-line): Use it (indirectly).
12216 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12217 modify comment-line-break-function.
12218
12219 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12220 (smie-setup): Use add-function to set it.
12221
9631677d
SS
122222013-05-24 Sam Steingold <sds@gnu.org>
12223
12224 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12225 argument (before the `interactive' argument).
12226
50105835
SM
122272013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * image-mode.el (image-mode-winprops): Add winprops to
12230 image-mode-winprops-alist before running
12231 image-mode-new-window-functions.
12232 * doc-view.el (doc-view-new-window-function): Don't delay
12233 doc-view-goto-page via timers (bug#14435).
12234
57b9823e
TH
122352013-05-24 Tassilo Horn <tsdh@gnu.org>
12236
12237 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12238 (doc-view-desktop-save-buffer): New function.
12239 (doc-view-restore-desktop-buffer): New function.
50105835
SM
12240 (desktop-buffer-mode-handlers):
12241 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
12242 handler.
12243 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12244 `desktop-save-buffer' function.
12245
91aafa16
MA
122462013-05-24 Michael Albinus <michael.albinus@gmx.de>
12247
12248 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12249 (tramp-gvfs-file-name-handler): Raise a user error when
12250 `tramp-gvfs-enabled' is nil.
12251 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12252 Do not raise a user error when loading package. (Bug#14447)
12253
ec076379
MA
12254 * net/xesam.el: Move to obsolete/.
12255
db785726
GM
122562013-05-24 Glenn Morris <rgm@gnu.org>
12257
af5c7606
GM
12258 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12259
e5d1916a
GM
12260 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12261
ded62b08
GM
12262 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12263 (Info-find-node, Man-getpage-in-background): Declare.
12264
9e614a3f
GM
12265 * mail/unrmail.el (unrmail):
12266 Replace obsolete detect-coding-with-priority.
12267
892f8ca3
GM
12268 * net/socks.el (socks-split-string): Use this rather than split-string.
12269 (socks-nslookup-host): Update for above change.
12270 (dynamic-choice, s5-dynamic-choice-match)
12271 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12272 Comment out unused code.
12273
3c291973
GM
12274 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12275 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12276 (gud-tooltip-echo-area): Make obsolete.
12277 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12278
43cc956b
GM
12279 * progmodes/js.el (js--optimize-arglist): Declare.
12280
dab49a3b
GM
12281 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12282
36b9d085
GM
12283 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12284 (ediff-window-C): Declare.
12285
e354ae76
GM
12286 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12287 Tweak requires to silence compiler.
12288
b8e57bf4
GM
12289 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12290 (he-search-string, he-tried-table, he-expand-list)
12291 (he-init-string, he-string-member, he-substitute-string)
12292 (he-reset-string): Declare.
12293
db785726
GM
12294 * obsolete/options.el (list-options): Use custom-variable-p,
12295 rather than obsolete alias.
12296
b3531901
SS
122972013-05-23 Sam Steingold <sds@gnu.org>
12298
12299 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 12300 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
12301 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12302
bdda4c66
SM
123032013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * emacs-lisp/smie.el (smie-indent-forward-token)
12306 (smie-indent-backward-token): Handle string tokens (bug#14381).
12307
c43d45f9
TH
123082013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12309
fe1eb856
RS
12310 * ielm.el (ielm-menu): New menu.
12311 (inferior-emacs-lisp-mode): Set comment-start.
96172128 12312
fe1eb856
RS
123132013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12314
a12bf61e 12315 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
12316 Fix deactivate action.
12317
a12bf61e 12318 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 12319 Add cleveref macros.
074dd971 12320
a12bf61e 12321 * textmodes/reftex-parse.el
c43d45f9
TH
12322 (reftex-locate-bibliography-files): Accept options for
12323 bibliography commands.
a12bf61e 12324 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
12325 Add addbibresource. Basic Biblatex support.
12326
7764286e
MA
123272013-05-23 Michael Albinus <michael.albinus@gmx.de>
12328
12329 * net/tramp-gvfs.el (top):
12330 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12331 when loading package. (Bug#14447)
12332
d361bc10
GM
123332013-05-23 Glenn Morris <rgm@gnu.org>
12334
8fa23984
GM
12335 * progmodes/js.el: No need to load comint when compiling.
12336 (ring-insert, comint-send-string, comint-send-input)
12337 (comint-last-input-end, ido-chop): Declare.
12338
a5c7df1a
GM
12339 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12340 * vc/ediff-mult.el: Adjust requires.
12341 (ediff-directories-internal, ediff-directory-revisions-internal)
12342 (ediff-patch-file-internal): Declare.
12343 * vc/ediff-ptch.el: Adjust requires.
12344 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12345 (ediff-find-file): Autoload.
12346 * vc/ediff-util.el: No need to load ediff when compiling.
12347 (ediff-regions-internal): Declare.
12348 * vc/ediff-wind.el: Adjust requires.
12349 (ediff-compute-toolbar-width): Define when compiling.
12350 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12351 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12352 (dired-get-filename, dired-get-marked-files)
12353 (ediff-last-dir-patch, ediff-patch-default-directory)
12354 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12355 (ediff-patch-buffer-internal): Declare.
12356
e2aec513
GM
12357 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12358 (ispell-process, ispell-buffer-local-words, lm-summary)
12359 (lm-section-start, lm-section-end): Declare.
12360 (checkdoc-ispell-init): Simplify.
12361
e68bbd7c
GM
12362 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12363 (he-string-member, he-reset-string, he-substitute-string): Declare.
12364
7efe0991
GM
12365 * eshell/em-ls.el: Adjust requires.
12366 (eshell-glob-regexp): Declare.
f87b1284
GM
12367 * eshell/em-tramp.el: Adjust requires.
12368 (eshell-parse-command): Autoload.
12369 * eshell/em-xtra.el: Adjust requires.
12370 (eshell-parse-command): Autoload.
12371 * eshell/esh-ext.el: Adjust requires.
12372 (eshell-parse-command, eshell-close-handles): Autoload.
12373 * eshell/esh-io.el: Adjust requires.
12374 (eshell-output-filter): Autoload.
12375 * eshell/esh-util.el: No need to load tramp when compiling.
12376 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12377 Declare.
12378 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12379 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12380 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12381 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12382 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12383 * eshell/esh-opt.el, eshell/esh-proc.el:
12384 * eshell/esh-var.el: Adjust requires.
12385 * eshell/eshell.el: Do not require esh-util twice.
12386 (eshell-add-input-to-history): Declare.
12387 (eshell-command): Check history module is active before using it.
12388
d361bc10
GM
12389 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12390
85d090a9
LL
123912013-05-22 Leo Liu <sdl.web@gmail.com>
12392
12393 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12394
5d0acd9d
MA
123952013-05-22 Michael Albinus <michael.albinus@gmx.de>
12396
12397 * autorevert.el (auto-revert-notify-add-watch)
12398 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12399 it indicates changes in file modification time.
12400
0cdffd7d
GM
124012013-05-22 Glenn Morris <rgm@gnu.org>
12402
ca5995ec
GM
12403 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12404 Always delete the autoloaded function from the noruntime and
12405 unresolved functions lists.
12406
6450907e
GM
12407 * allout.el: No need to load epa, epg, overlay when compiling.
12408 (epg-context-set-passphrase-callback, epg-list-keys)
12409 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12410 (epg-key-user-id-list): Declare.
12411
9c6906f6
GM
12412 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12413 (viper-set-parsing-style-toggling-macro)
12414 (viper-set-emacs-state-searchstyle-macros):
12415 Use called-interactively-p on Emacs.
12416 (viper-looking-back): Make it an obsolete alias. Update callers.
12417 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12418 Use looking-back rather than viper-looking-back.
12419 (viper-tmp-insert-at-eob, viper-enlarge-region)
12420 (viper-read-string-with-history, viper-register-to-point)
12421 (viper-append-to-register, viper-change-state-to-vi)
12422 (viper-backward-char-carefully, viper-forward-char-carefully)
12423 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12424 (viper-change-state-to-emacs): Declare.
12425 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12426 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12427 * emulation/viper-mous.el: Do not load viper-cmd.
12428 (viper-backward-char-carefully, viper-forward-char-carefully)
12429 (viper-forward-word, viper-adjust-window): Declare.
12430
5f70c169
GM
12431 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12432
b1b7f300
GM
12433 * progmodes/idlw-help.el (idlwave-help-fontify):
12434 Use called-interactively-p.
12435
f6ebbb46
GM
12436 * term/w32console.el (w32-get-console-codepage)
12437 (w32-get-console-output-codepage): Declare.
12438
0cdffd7d
GM
12439 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12440 Remove unnecessary declarations.
12441 (dframe-message): Doc fix.
12442
12443 * info.el (dframe-select-attached-frame, dframe-current-frame):
12444 Declare.
12445
12446 * speedbar.el (speedbar-message): Make it an obsolete alias.
12447 Update all callers.
12448 (speedbar-with-attached-buffer)
12449 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12450 (speedbar-with-writable): Use backquote.
12451 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12452 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12453 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12454 rather than speedbar- aliases.
12455 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12456 (speedbar-make-specialized-keymap, speedbar-insert-button)
12457 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12458 (speedbar-do-function-pointer): Declare.
12459 (rmail-speedbar-button, rmail-speedbar-find-file)
12460 (rmail-speedbar-move-message):
12461 Use dframe-with-attached-buffer rather than speedbar- alias.
12462 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12463 (dframe-message, speedbar-make-specialized-keymap)
12464 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12465 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12466 (speedbar-insert-button, dframe-select-attached-frame)
12467 (dframe-maybee-jump-to-attached-frame)
12468 (speedbar-change-initial-expansion-list)
12469 (speedbar-previously-used-expansion-list-name): Declare.
12470 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12471 Use dframe-message, dframe-with-attached-buffer rather than
12472 speedbar- aliases.
12473 (gud-sentinel): Silence compiler.
12474 * progmodes/vhdl-mode.el (speedbar-refresh)
12475 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12476 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12477 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12478 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12479 (speedbar-file-lists, speedbar-make-tag-line)
12480 (speedbar-line-directory, speedbar-goto-this-file)
12481 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12482 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12483 (speedbar-make-button, speedbar-reset-scanners)
12484 (speedbar-files-item-info, speedbar-line-text)
12485 (speedbar-find-file-in-frame, speedbar-set-timer)
12486 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12487 (speedbar-with-writable): Do not (re)define it.
12488 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12489 rather than speedbar- alias.
12490
ee44b62a
LL
124912013-05-21 Leo Liu <sdl.web@gmail.com>
12492
12493 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12494 menu items.
12495 (octave-mode): Tweak fill-nobreak-predicate.
12496 (inferior-octave-startup): Check process to avoid infinite loop.
12497 (inferior-octave): Pop to buffer first to show abornmal process
12498 exit information.
12499
640f050f
GM
125002013-05-21 Glenn Morris <rgm@gnu.org>
12501
79458038
GM
12502 * printing.el (pr-menu-bar): Define when compiling.
12503
9cc3e83f
LL
125042013-05-21 Leo Liu <sdl.web@gmail.com>
12505
12506 * progmodes/octave.el (octave-auto-fill): Remove.
12507 (octave-indent-new-comment-line): Improve.
12508 (octave-mode): Use auto fill mode through
4f405069 12509 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 12510 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 12511 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
12512 (octave-help): Show parent directory.
12513
f440830d
GM
125142013-05-21 Glenn Morris <rgm@gnu.org>
12515
12516 * files.el (dired-unmark):
12517 * progmodes/gud.el (gdb-input): Update declarations.
12518
12519 * calculator.el (electric, ehelp): No need to load when compiling.
12520 (Electric-command-loop, electric-describe-mode): Declare.
12521
12522 * doc-view.el (doc-view-current-converter-processes): Move before use.
12523
12524 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12525 Move MODE-set-explicitly definition before use.
12526
12527 * international/mule-diag.el (mule-diag):
12528 Don't use obsolete window-system-version.
12529
12530 * mail/feedmail.el (smtpmail): No need to load when compiling.
12531 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12532
12533 * mail/mail-utils.el (rfc822): No need to load when compiling.
12534 (rfc822-addresses): Autoload it.
12535 (mail-strip-quoted-names): Trivial simplification.
12536
12537 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12538 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12539
12540 * net/snmp-mode.el (tempo): Don't duplicate requires.
12541
12542 * progmodes/prolog.el (info): No need to load when compiling.
12543 (comint): Require before shell requires it.
12544 (Info-goto-node): Autoload it.
12545 (Info-follow-nearest-node): Declare.
12546 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12547
12548 * textmodes/artist.el (picture-mode-exit): Declare.
12549
12550 * textmodes/reftex-parse.el (reftex-parse-from-file):
12551 Trivial rewrite so the compiler can parse it better.
12552
b4da2cbb
LL
125532013-05-20 Leo Liu <sdl.web@gmail.com>
12554
12555 * progmodes/octave.el (octave-help-mode-map)
12556 (octave-help-mode-finish-hook): New variables.
12557 (octave-help-mode, octave-help-mode-finish): New functions.
12558 (octave-help): Use octave-help-mode.
12559
33c0f65b
GM
125602013-05-20 Glenn Morris <rgm@gnu.org>
12561
12562 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12563
1a0a0a8a
DG
125642013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12565
12566 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12567 start at point, so that expansion starting right after opening
12568 slash in a regexp is recognized.
12569 (ruby-syntax-before-regexp-re): New defvar, extracted from
12570 ruby-syntax-propertize-function. Since the value of this regexp
12571 is looked up at runtime now, we should be able to turn
12572 `ruby-syntax-methods-before-regexp' into a defcustom later.
12573 (ruby-syntax-propertize-function): Split regexp matching into two
12574 parts, for opening and closing slashes. That allows us to skip
12575 over string interpolations and support multiline regexps.
12576 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12577 for them, which calls `ruby-syntax-propertize-expansion'.
12578 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12579 call to `ruby-syntax-propertize-function'.
12580 (ruby-syntax-propertize-expansion): Extracted from
12581 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
12582 (ruby-syntax-propertize-percent-literal): Leave point right after
12583 the percent symbol, so that the expression expansion rule can
12584 propertize the contents.
462388b6
DG
12585 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12586 heredoc openers.
12587 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 12588
c1a6c0a4
JL
125892013-05-18 Juri Linkov <juri@jurta.org>
12590
12591 * man.el (Man-default-man-entry): Remove `-' from the end
12592 of the default value. (Bug#14400)
12593
8051fccd
GM
125942013-05-18 Glenn Morris <rgm@gnu.org>
12595
12596 * comint.el (comint-password-prompt-regexp):
12597 Allow "password for XXX" where XXX contains colons (eg https://...).
12598
5e80b74f
LL
125992013-05-18 Leo Liu <sdl.web@gmail.com>
12600
12601 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 12602 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
12603 (octave-source-directories): Don't check process.
12604 (octave-source-directories, octave-find-definition): Doc fix.
12605
521a54c5
GM
126062013-05-18 Glenn Morris <rgm@gnu.org>
12607
86a94b05
GM
12608 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12609 Remove backspace/delete bindings. (Bug#14392)
12610
521a54c5
GM
12611 * cus-dep.el (custom-make-dependencies): Sort the output.
12612 (custom-versions-load-alist): Convert comment to doc.
12613
42caeb89
LL
126142013-05-17 Leo Liu <sdl.web@gmail.com>
12615
12616 * newcomment.el (comment-search-backward): Stricter in finding
12617 comment start. (Bug#14303)
12618
12619 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12620 (octave-comment-start-skip): Properly anchored.
12621
e219dd97
LL
126222013-05-17 Leo Liu <sdl.web@gmail.com>
12623
fe1eb856
RS
12624 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12625 Clean up when turned off. (Bug#14395)
e219dd97
LL
12626 (smie--highlight-matching-block-overlay): No longer buffer-local.
12627 (smie-highlight-matching-block): Adjust.
12628
dc5dcb4b
PE
126292013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12630
12631 Doc string fix for "nanoseconds" (Bug#14406).
12632 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12633 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12634
1db165f0
JB
126352013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12636
12637 * calc/calc-units.el (math-extract-units): Preserve powers
12638 of units.
12639
c7a8fcac
LL
126402013-05-17 Leo Liu <sdl.web@gmail.com>
12641
12642 * subr.el (delete-consecutive-dups): New function.
12643 * ido.el (ido-set-matches-1): Use it.
12644 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12645 * ido.el (ido-remove-consecutive-dups): Remove.
12646
f678b18a
SM
126472013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12648
12649 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12650 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12651 regexp-opt's `words'.
12652
ebfe68e8
LL
126532013-05-16 Leo Liu <sdl.web@gmail.com>
12654
12655 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12656 (smie--highlight-matching-block-overlay)
12657 (smie--highlight-matching-block-lastpos)
12658 (smie--highlight-matching-block-timer): New variables.
12659 (smie-highlight-matching-block): New function.
12660 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12661 (smie-setup): Conditionally enable smie-blink-matching-open.
12662
bc8bc17d
WS
126632013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12664
12665 Sync with upstream verilog-mode r840.
12666 * progmodes/verilog-mode.el (verilog-mode-version)
12667 (verilog-mode-release-date): Update.
12668 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12669 (verilog-sig-tieoff): Fix string error on
12670 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12671 (verilog-read-decls): Fix parameters confusing
12672 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12673
df065a0b
EZ
126742013-05-16 Eli Zaretskii <eliz@gnu.org>
12675
12676 * subr.el (reveal-filename): New function.
12677
12678 * loadup.el: Compute Emacs executable versions on MS-Windows,
12679 where executables have the .exe extension. Add a hard link
12680 emacs-XX.YY.ZZ.exe on MS-Windows.
12681
12682 * Makefile.in (XARGS_LIMIT): New variable.
12683 (custom-deps, finder-data, autoloads)
12684 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12685 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12686 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12687 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12688
2d4bf34b
LL
126892013-05-16 Leo Liu <sdl.web@gmail.com>
12690
12691 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12692 (octave-mode-menu, octave-mode-map): Remove its uses.
12693
6b9c2d85
RZ
126942013-05-16 Reto Zimmermann <reto@gnu.org>
12695
12696 Sync with upstream vhdl mode v3.34.2.
12697 * progmodes/vhdl-mode.el: Use `push' throughout.
12698 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12699 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12700 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12701 (vhdl-actual-generic-name): New option to derive actual generic name.
12702 (vhdl-port-paste-signals): Replace formal by actual generics.
12703 (vhdl-beautify): New name for old group vhdl-align. Update users.
12704 (vhdl-beautify-options): New option.
12705 (vhdl-last-input-event): New compat alias. Use throughout.
12706 (vhdl-goto-line): Replace user level function `goto-line'.
12707 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12708 vhdl-fix-statement-buffer.
12709 (vhdl-create-mode-menu): Add some entries.
12710 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12711 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12712 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12713 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12714 to force statements on one line.
12715 (vhdl-remove-trailing-spaces-region):
12716 New, split from vhdl-remove-trailing-spaces.
12717 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12718 Respect vhdl-beautify-options.
12719 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12720 (vhdl-update-sensitivity-list): Not add with index if exists without.
12721 Not include array index with signal. Ignore keywords in comments.
12722 (vhdl-get-visible-signals): Regexp tweaks.
12723 (vhdl-template-component-inst): Handle empty library.
12724 (vhdl-template-type): Add template for 'enum' type.
12725 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12726 Use vhdl-replace-string.
12727 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12728 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12729 (vhdl-speedbar-initialize): Update for above name change.
12730 (vhdl-compose-wire-components): Fix in handling of constants.
12731 (vhdl-error-regexp-emacs-alist): New variable.
12732 (vhdl-error-regexp-add-emacs): New function;
12733 adds support for new compile.el (Emacs 22+)
12734 (vhdl-generate-makefile-1): Change target order for single lib. units.
12735 Allow use of absolute file names.
12736
9df4ec5e
LL
127372013-05-16 Leo Liu <sdl.web@gmail.com>
12738
12739 * simple.el (prog-indent-sexp): Indent enclosing defun.
12740
f5ba00a6
GM
127412013-05-15 Glenn Morris <rgm@gnu.org>
12742
ed8be7ff
GM
12743 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12744 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12745 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12746 (whitespace-highlight): Move to whitespace group.
12747
12748 * comint.el (comint-source):
12749 * pcmpl-linux.el (pcmpl-linux):
12750 * shell.el (shell-faces):
12751 * eshell/esh-opt.el (eshell-opt):
12752 * international/ccl.el (ccl): Remove empty custom groups.
12753
12754 * completion.el (dynamic-completion-mode):
12755 * jit-lock.el (jit-lock-debug-mode):
12756 * minibuffer.el (completion-in-region-mode):
12757 * type-break.el (type-break-mode-line-message-mode)
12758 (type-break-query-mode):
12759 * emulation/tpu-edt.el (tpu-edt-mode):
12760 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12761 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12762 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12763
12764 * term/xterm.el (xterm): Change parent group to terminals.
12765
12766 * master.el (master): Remove empty custom group.
12767 (master-mode): Remove unused :group argument.
12768 * textmodes/refill.el (refill): Remove empty custom group.
12769 (refill-mode): Remove unused :group argument.
12770
12771 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12772
82a7c41b
GM
12773 * cus-dep.el: Provide a feature.
12774 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
12775 Don't mistakenly ignore files whose basenames match a basename
12776 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 12777 Add a fallback method for getting :group.
f5ba00a6 12778
6d65486d
JL
127792013-05-15 Juri Linkov <juri@jurta.org>
12780
da547b32
JL
12781 * isearch.el (isearch-char-by-name): Rename from
12782 `isearch-insert-char-by-name'. Doc fix.
12783 (isearch-forward): Mention `isearch-char-by-name' in
12784 the docstring. (Bug#13348)
12785
6d65486d
JL
12786 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12787 `exit-minibuffer' instead of
12788 `isearch-nonincremental-exit-minibuffer'.
12789 (isearch-edit-string): Remove mention of
12790 `isearch-nonincremental-exit-minibuffer' from docstring.
12791 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12792 (isearch-forward-exit-minibuffer)
12793 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12794
c9990474
SM
127952013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12796
6e911150
SM
12797 * loadup.el: Just use unversioned DOC.
12798
c9990474
SM
12799 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12800 literals as extending to EOB.
12801 (nxml-last-fontify-end): Remove unused variable.
12802 (nxml-after-change1): Use with-silent-modifications.
12803 (nxml-extend-after-change-region): Simplify.
12804 (nxml-extend-after-change-region1): Remove function.
12805 (nxml-after-change1): Don't adjust for dependent regions.
12806 (nxml-fontify-matcher): Simplify.
12807 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12808 (xmltok-add-dependent): Remove function.
12809 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12810 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12811 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12812 unclosed <[[, <?, comment, and other literals as extending to EOB.
12813 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12814 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12815 Remove functions.
12816 (rng-do-some-validation-1): Don't mark dependent regions.
12817 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12818 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12819 (nxml-clear-dependent-regions): Remove functions.
12820 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12821 (nxml-ensure-scan-up-to-date):
12822 Don't clear&mark dependent regions.
12823
e3772e98
LL
128242013-05-15 Leo Liu <sdl.web@gmail.com>
12825
c9990474
SM
12826 * progmodes/octave.el (octave-goto-function-definition):
12827 Improve and fix callers.
e3772e98 12828
5ac2eb34
SM
128292013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12830
c46c57b0
SM
12831 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12832 the setter (bug#14387).
12833
5ac2eb34
SM
12834 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12835 surrounding group (bug#14402).
12836
180ed218
JL
128372013-05-14 Juri Linkov <juri@jurta.org>
12838
12839 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12840 (Bug#14390)
12841
0ac0fecb
GM
128422013-05-14 Glenn Morris <rgm@gnu.org>
12843
12844 * progmodes/f90.el (f90-imenu-generic-expression):
12845 Fix typo in 2013-05-08 change. (Bug#14402)
12846
2e78e6a7
JPG
128472013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12848
5ac2eb34
SM
12849 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12850 Remove signals for which replies are never received.
2e78e6a7 12851
53267cca
JPG
128522013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12853
12854 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12855 (gdb-handler-alist, gdb-handler-number): Remove variables.
12856 (gdb-handler-list): New variable.
12857 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12858 (gdb-pending-handler-p, gdb-handle-reply)
12859 (gdb-remove-all-pending-triggers): New functions.
12860 (gdb-discard-unordered-replies): New defcustom.
12861 (gdb-handler): New defstruct.
12862 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12863 instead of gdb-pending-triggers. Update docstring.
12864 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12865 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12866 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12867 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12868 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12869 (gdb-frame-handler): Pending triggers are now automatically managed.
12870 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12871 Remove argument.
12872 (gdb-input): Automatically handles pending triggers. Update docstring.
12873 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12874 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12875 Update comments.
12876 (gdb-done-or-error): Now use gdb-handle-reply.
12877
d04ce803
JPG
128782013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12879
12880 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12881 gdb-debug-log.
12882
0114073a
GM
128832013-05-14 Glenn Morris <rgm@gnu.org>
12884
12885 * subr.el (user-emacs-directory-warning): New option.
12886 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12887
4d25fd7e
LL
128882013-05-14 Leo Liu <sdl.web@gmail.com>
12889
12890 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12891 during redisplay.
12892 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
12893 (octave-font-lock-texinfo-comment): Fix invalid search bound
12894 error: wrong side of point.
4d25fd7e 12895
27c8b6eb
GM
128962013-05-14 Glenn Morris <rgm@gnu.org>
12897
61aaeb01
GM
12898 * progmodes/flymake.el (flymake-xml-program): New option.
12899 (flymake-xml-init): Use it.
12900
5bf90bc5
GM
12901 * term/xterm.el: Provide a feature.
12902
12903 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 12904
f4c7dfd2
GM
129052013-05-13 Glenn Morris <rgm@gnu.org>
12906
12907 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12908 Add compat aliases as a hack workaround. (Bug#14384)
12909
2aeb3a1d
LL
129102013-05-13 Leo Liu <sdl.web@gmail.com>
12911
b0e069c2
LL
12912 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12913 ###, and %!.
f5a9432f
LL
12914 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12915 C-M-q.
b0e069c2
LL
12916 (octave-comment-start-skip): Include %!.
12917 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 12918
30ea8374
LL
129192013-05-12 Leo Liu <sdl.web@gmail.com>
12920
12921 * progmodes/octave.el (inferior-octave-startup): Store the value
12922 of __octave_srcdir__ for octave-source-directories.
12923 (inferior-octave-check-process): New function refactored out of
12924 inferior-octave-send-list-and-digest.
12925 (octave-source-directories)
12926 (octave-find-definition-filename-function): New variables.
12927 (octave-source-directories)
12928 (octave-find-definition-default-filename): New functions.
12929 (octave-find-definition): Improve to find functions implemented in C++.
12930
472a3834
GM
129312013-05-12 Glenn Morris <rgm@gnu.org>
12932
12933 * calendar/diary-lib.el (diary-outlook-format-1):
12934 Don't include dayname in the output. (Bug#14349)
12935
3191b52f
GM
129362013-05-11 Glenn Morris <rgm@gnu.org>
12937
0060ac73
GM
12938 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12939
3191b52f
GM
12940 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12941 Treat cc-provide like provide.
12942
e065ba74
KR
129432013-05-11 Kevin Ryde <user42@zip.com.au>
12944
12945 * cus-dep.el (custom-make-dependencies):
12946 Use generated-autoload-load-name for the sake of files such
12947 such cedet/semantic/bovine/c.el, where the base file name
12948 is not in load-path. (Bug#5277)
12949
36f84c37
GM
129502013-05-11 Glenn Morris <rgm@gnu.org>
12951
12952 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12953 Provide features.
12954
c8730c3a
LL
129552013-05-11 Leo Liu <sdl.web@gmail.com>
12956
12957 * progmodes/octave.el (octave-indent-comment): Improve.
12958 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
12959 (octave-eldoc-function-signatures, octave-eldoc-function):
12960 New functions.
c8730c3a
LL
12961 (octave-mode, inferior-octave-mode): Add eldoc support.
12962
212e29f2
RS
129632013-05-11 Richard Stallman <rms@gnu.org>
12964
12965 * epa.el (epa-decrypt-file): Take output file name as argument
12966 and read it using `interactive'.
12967
083fe0d7
LL
129682013-05-11 Leo Liu <sdl.web@gmail.com>
12969
12970 * progmodes/octave.el (octave-beginning-of-line)
12971 (octave-end-of-line): Check before using up-list because it jumps
12972 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
12973 (octave-indent-comment): New function.
12974 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
12975 (octave-begin-keywords, octave-end-keywords)
12976 (octave-reserved-words, octave-smie-bnf-table)
12977 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 12978
8582e4c4
GM
129792013-05-11 Glenn Morris <rgm@gnu.org>
12980
f20def1f
GM
12981 * faces.el (internal-face-x-get-resource):
12982 * frame.el (ns-display-monitor-attributes-list):
d78abe37 12983 * calc/calc-aent.el (math-to-radians-2):
f20def1f 12984 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 12985 Fix declarations.
f20def1f 12986
445f95e2
GM
12987 * calc/calc-menu.el: Make it loadable in isolation.
12988
12989 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12990 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12991 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12992 (eudc-bbdb-query-internal): Require 'bbdb.
12993
99fb2756
GM
12994 * lpr.el (lpr-headers-switches):
12995 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12996
12997 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12998
0da7ad96
GM
12999 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13000
8582e4c4
GM
13001 * term.el (term-set-escape-char): Make it idempotent.
13002
f71c50d0
LL
130032013-05-10 Leo Liu <sdl.web@gmail.com>
13004
5ac2eb34
SM
13005 * progmodes/octave.el (inferior-octave-completion-table):
13006 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
13007 completion due to bug#11906.
13008 (octave-beginning-of-defun): Re-write to be more general.
13009
d5837773
GM
130102013-05-10 Glenn Morris <rgm@gnu.org>
13011
13012 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13013
027c0f75
SM
130142013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * comint.el (comint-redirect-send-command-to-process): Use :around
13017 rather than :override for comint-redirect-filter.
13018 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13019 Call it instead of comint-redirect-original-filter-function (which
13020 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13021
4465bfb4
JD
130222013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13023
13024 * frame.el (display-monitor-attributes-list): Add NS case.
13025 (ns-display-monitor-attributes-list): Declare.
13026
2d809ffa 130272013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
13028
13029 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13030
e54eeb9b
GM
130312013-05-09 Glenn Morris <rgm@gnu.org>
13032
56cd351d
GM
13033 * international/fontset.el (vertical-centering-font-regexp):
13034 Set standard-value.
13035
d84b6108
GM
13036 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13037
a931698a
GM
13038 * bookmark.el (bookmark-search-delay):
13039 * cus-start.el (vertical-centering-font-regexp):
13040 * ps-mule.el (ps-mule-font-info-database-default):
13041 * ps-print.el (ps-default-fg, ps-default-bg):
13042 * type-break.el (type-break-good-break-interval):
13043 * whitespace.el (whitespace-indentation-regexp)
13044 (whitespace-space-after-tab-regexp):
13045 * emacs-lisp/testcover.el (testcover-1value-functions)
13046 (testcover-noreturn-functions, testcover-progn-functions)
13047 (testcover-prog1-functions):
13048 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13049 * eshell/em-glob.el (eshell-glob-translate-alist):
13050 * play/tetris.el (tetris-tty-colors):
13051 * progmodes/cpp.el (cpp-face-default-list):
13052 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13053 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13054 (idlwave-help-browser-generic-args):
13055 * progmodes/make-mode.el (makefile-special-targets-list):
13056 * progmodes/python.el (python-shell-virtualenv-path):
13057 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13058 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13059 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13060 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13061 * textmodes/reftex-vars.el (reftex-format-label-function):
13062 * textmodes/remember.el (remember-diary-file): Fix custom types.
13063
e54eeb9b
GM
13064 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13065 Add :version.
13066
455851dd
LL
130672013-05-09 Leo Liu <sdl.web@gmail.com>
13068
13069 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 13070 Restore file completion. (Bug#14300)
455851dd
LL
13071 (inferior-octave-startup): Fix incorrect highlighting for the
13072 first prompt.
13073
a9e4425b
SM
130742013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * progmodes/ruby-mode.el: First cut at SMIE support.
13077 (ruby-use-smie): New var.
13078 (ruby-smie-grammar): New constant.
13079 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13080 (ruby-smie--forward-token, ruby-smie--backward-token)
13081 (ruby-smie-rules): New functions.
13082 (ruby-mode-variables): Setup SMIE if applicable.
13083
060ca408
EZ
130842013-05-08 Eli Zaretskii <eliz@gnu.org>
13085
13086 * simple.el (line-move-visual): Signal beginning/end of buffer
13087 only if vertical-motion moved less than it was requested. Avoids
13088 silly incorrect error messages when there are display strings with
13089 multiple newlines at EOL.
13090
1d5963cc
SM
130912013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13092
13093 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13094 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13095 (prolog-char-quote-workaround):
13096 * progmodes/cperl-mode.el (cperl-under-as-char):
13097 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
13098 Mark as obsolete.
13099 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
13100 their declaration.
13101 (vhdl-mode-syntax-table-init): Remove.
13102
c9990474
SM
13103 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13104 last change.
1d5963cc
SM
13105
13106 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13107 syntax for "_".
13108 (ld-script-font-lock-keywords):
13109 Change regexps to use things like \_< and \_>.
13110
13111 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13112 Change all regexps to use things like \_< and \_>.
13113
13114 * progmodes/autoconf.el (autoconf-definition-regexp)
13115 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13116 Handle a _ with symbol syntax.
13117 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13118
c9990474
SM
13119 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13120 Consolidate declaration.
1d5963cc
SM
13121 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13122 the declaration.
13123 (ada-create-syntax-table): Remove.
13124 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13125 already has the right syntax nowadays.
13126 (ada-goto-next-word): Don't change the syntax of "_".
13127
13128 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13129 with-wrapper-hook.
13130
72d3cfca
SS
131312013-05-08 Sam Steingold <sds@gnu.org>
13132
13133 * thingatpt.el (thing-at-point): Accept optional second argument
13134 NO-PROPERTIES to strip the text properties from the return value.
13135 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13136 to `thing-at-point' instead of stripping the properties ourselves.
13137 Also, when `thing-at-point' fails to find a url, prepend "http://"
13138 to the filename at point on the assumption that the user is
13139 pointing at something like gnu.org/gnu.
13140
5cb15713
JB
131412013-05-08 Juanma Barranquero <lekktu@gmail.com>
13142
13143 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13144 * faces.el (crm-separator):
13145 Silence byte-compiler.
13146
13147 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13148 (tool-bar-map): Remove unneeded defvars.
13149
ea78b95b
LL
131502013-05-08 Leo Liu <sdl.web@gmail.com>
13151
13152 Re-work a fix for bug#10994 based on Le Wang's patch.
13153 * ido.el (ido-remove-consecutive-dups): New helper.
13154 (ido-completing-read): Use it.
13155 (ido-chop): Revert fix for bug#10994.
13156
dc7466df
AS
131572013-05-08 Adam Spiers <emacs@adamspiers.org>
13158
13159 * cus-edit.el (custom-save-variables):
13160 Pretty-print long values. (Bug#14187)
13161
9ecf672a
GM
131622013-05-08 Glenn Morris <rgm@gnu.org>
13163
13164 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13165 (m4-mode-syntax-table): Init in the defvar.
13166 (m4-mode-abbrev-table): Let define-derived-mode define it.
13167
3f555be8
TT
131682013-05-08 Tom Tromey <tromey@redhat.com>
13169
13170 * progmodes/m4-mode.el (m4-mode-syntax-table):
13171 Do not treat "_" as word constituent. (Bug#14167)
13172
7cc8ae06
GM
131732013-05-07 Glenn Morris <rgm@gnu.org>
13174
4f58bc06
GM
13175 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13176 Remove explicit eshell-isearch-cancel-map.
13177
7cc8ae06
GM
13178 * progmodes/f90.el (f90-smart-end-names): New option.
13179 (f90-smart-end): Doc fix.
13180 (f90-end-block-optional-name): New constant.
13181 (f90-block-match): Respect f90-smart-end-names.
13182
ceb57e59
SM
131832013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13184
13185 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13186 about implicit semi-colons (bug#14218).
13187
4e3f9230
YM
131882013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13189
13190 * frame.el (display-monitor-attributes-list)
13191 (frame-monitor-attributes): New functions.
13192
203a5572
LL
131932013-05-06 Leo Liu <sdl.web@gmail.com>
13194
13195 * progmodes/octave.el (octave-syntax-propertize-function): Change
13196 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13197 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 13198 (octave-completion-at-point): Rename from
203a5572
LL
13199 octave-completion-at-point-function.
13200 (inferior-octave-directory-tracker): Robustify.
13201 (octave-text-functions): Remove and fix its uses. No such things
13202 any more.
13203
ee6cff99
SM
132042013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * emacs-lisp/trace.el (trace--display-buffer): New function.
13207 (trace-make-advice): Use it.
13208
32985194
JL
132092013-05-06 Juri Linkov <juri@jurta.org>
13210
13211 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13212 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13213 Doc fix.
13214 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13215 in the help string. (Bug#12985)
13216
a1c700de
KD
132172013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13218
13219 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13220
c67c0839
SM
132212013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13222
323885fd
SM
13223 * progmodes/perl-mode.el: Add support for here documents.
13224 (perl-syntax-propertize-function): Match here-doc markers.
13225 (perl-syntax-propertize-special-constructs): Find their end.
13226 (perl-imenu-generic-expression): Use [:alnum:].
13227
c67c0839
SM
13228 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13229 (advice--add-function): Refresh the advice if already present
13230 (bug#14317).
13231
d491e7a8
IA
132322013-05-06 Ivan Andrus <darthandrus@gmail.com>
13233
13234 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13235
ddf9925e
GM
132362013-05-06 Glenn Morris <rgm@gnu.org>
13237
7cc3af27
GM
13238 * w32-fns.el (w32-charset-info-alist): Declare.
13239
16e343d6
GM
13240 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13241 of its defcustom properties.
13242 (eshell-cmpl-initialize): No need to load pcomplete.
13243
7d889a47
GM
13244 * generic-x.el: No need to require comint when compiling.
13245
ddf9925e
GM
13246 * net/eudc-export.el: Make it loadable without bbdb.
13247 (top-level): Use require rather than load-library.
13248 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13249 (eudc-batch-export-records-to-bbdb)
13250 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13251 Require bbdb.
13252
1e2c18df
SM
132532013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13254
13255 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13256 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13257 some tweaks, instead.
13258
02502a5f
LL
132592013-05-05 Leo Liu <sdl.web@gmail.com>
13260
13261 * progmodes/octave.el (octave-font-lock-keywords)
13262 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13263 (inferior-octave-send-list-and-digest): Improve error message.
13264 (octave-mode, inferior-octave-mode): Use setq-local.
13265 (octave-help): Set info-lookup-mode.
13266
0dc04f42
RS
132672013-05-05 Richard Stallman <rms@gnu.org>
13268
6c54491c
RS
13269 * vc/compare-w.el (compare-windows-whitespace):
13270 Treat no-break space as whitespace.
13271
0dc04f42
RS
13272 * mail/rmailsum.el (rmail-summary-rmail-update):
13273 Detect empty summary and don't change selected message.
13274 (rmail-summary-goto-msg): Likewise.
13275
df8f35df
RS
13276 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13277 Doc fixes, rename args.
13278
5356e1a3
AM
132792013-05-05 Alan Mackenzie <acm@muc.de>
13280
13281 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13282
d44014cb
JL
132832013-05-05 Juri Linkov <juri@jurta.org>
13284
13285 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13286 to not add the length of the summary segment to the return value.
13287 (Bug#14125)
13288
c129b51f
LL
132892013-05-05 Leo Liu <sdl.web@gmail.com>
13290
13291 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13292 (inferior-octave-output-filter): Remove.
13293 (octave-send-region, inferior-octave-startup): Fix callers.
13294 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13295 (octave-binary-file-extensions): New user variable.
13296 (octave-find-definition): Confirm if opening binary files.
13297 (octave-help-file): Use octave-find-definition to get the binary
13298 confirmation.
13299 (octave-help): Adjust for octave-help-file change.
13300
aa7dab97
SM
133012013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13302
13303 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13304 Merge the two entries that handle function definitions.
13305 (pascal--syntax-propertize): New const.
13306 (pascal-mode): Use it. Use setq-local.
13307
fd3a9a6b
GM
133082013-05-04 Glenn Morris <rgm@gnu.org>
13309
13310 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13311 (diary-from-outlook): Respect diary-from-outlook-function.
13312
30c7e542
SM
133132013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13316 Move the declaration from C.
13317 (read-minibuffer, eval-minibuffer): Move from C.
13318 (completion-setup-function): Avoid minibuffer-completion-contents.
13319
b54f978b
LL
133202013-05-03 Leo Liu <sdl.web@gmail.com>
13321
13322 * progmodes/octave.el (octave-font-lock-keywords): Do not
13323 dehighlight 'end' in comments or strings.
30c7e542
SM
13324 (octave-completing-read, octave-goto-function-definition):
13325 New helpers.
d4d0f9b3
LL
13326 (octave-help-buffer): New user variable.
13327 (octave-help-file, octave-help-function): New button types.
13328 (octave-help): New command and bind it to C-h ;.
13329 (octave-find-definition): New command and bind it to M-.
d74a1581 13330 (user-error): Alias to error if not defined.
b54f978b 13331
27135018
LL
133322013-05-02 Leo Liu <sdl.web@gmail.com>
13333
13334 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13335 for \. (bug#14332)
13336 (octave-font-lock-keywords): Include [ and {.
13337
0d634d3a
LL
133382013-05-02 Leo Liu <sdl.web@gmail.com>
13339
13340 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13341 (inferior-octave): Remove calling comint-mode and return the buffer.
13342 (inferior-octave-startup): Cosmetic changes.
13343
b4c8295e
LL
133442013-05-02 Leo Liu <sdl.web@gmail.com>
13345
30c7e542
SM
13346 * progmodes/octave.el (octave-syntax-propertize-function):
13347 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 13348
f12ad6ec
GM
133492013-05-02 Glenn Morris <rgm@gnu.org>
13350
13351 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13352 * desktop.el (vc-dir-mode): Just autoload it here.
13353
30cac1e0
AM
133542013-05-02 Alan Mackenzie <acm@muc.de>
13355
13356 Eliminate variable c-standard-font-lock-fontify-region-function.
13357 * progmodes/cc-mode.el
13358 (c-standard-font-lock-fontify-region-function): Remove.
13359 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13360
d8ef28b1
LL
133612013-05-01 Leo Liu <sdl.web@gmail.com>
13362
2640d52e 13363 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 13364 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 13365 variables were removed from Octave in 2007.
d8ef28b1
LL
13366 (inferior-octave-startup): Fix uses.
13367 (comint-line-beginning-position): Remove compatibility code for
13368 emacs 21.
13369
ac63ec89
JL
133702013-05-01 Juri Linkov <juri@jurta.org>
13371
13372 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13373
9e9be37c
JL
133742013-05-01 Juri Linkov <juri@jurta.org>
13375
13376 * comint.el (comint-previous-matching-input): Don't print message
13377 "History item: %d" when `isearch-mode' is active.
13378 (comint-history-isearch-message): Print message "History item: %d"
13379 when `comint-input-ring-index' is not empty and this function is
13380 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13381
9b92c13b
LL
133822013-05-01 Leo Liu <sdl.web@gmail.com>
13383
13384 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13385 definitions. Use completion-at-point to insert keywords.
13386 (octave-abbrev-start): Remove.
13387 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13388
b12d33d7
LL
133892013-04-30 Leo Liu <sdl.web@gmail.com>
13390
13391 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13392 change.
13393
3d1c39fa
AM
133942013-04-30 Alan Mackenzie <acm@muc.de>
13395
13396 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
13397 * progmodes/cc-engine.el (c-back-over-member-initializers):
13398 new function.
3d1c39fa
AM
13399 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13400 (most) member init lists.
13401
5147fc17
RS
134022013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13403
13404 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13405 variable.
13406
5b78d7fc
LL
134072013-04-30 Leo Liu <sdl.web@gmail.com>
13408
13409 * progmodes/octave.el (octave-variables): Remove. No builtin
13410 variables any more. All converted to functions.
13411 (octave-font-lock-keywords, octave-completion-at-point-function):
13412 Fix uses.
13413 (octave-font-lock-texinfo-comment): New user variable.
13414 (octave-texinfo-font-lock-keywords): New variable for texinfo
13415 comment block.
13416 (octave-function-comment-block): New face.
13417 (octave-font-lock-texinfo-comment): New function.
13418 (octave-mode): Font lock texinfo comment block.
13419
38d8527b
LL
134202013-04-29 Leo Liu <sdl.web@gmail.com>
13421
13422 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13423 indexing expression.
13424 (octave-continuation-string): Do not use \.
13425 (inferior-octave-complete-impossible): Remove.
13426 (inferior-octave-completion-table)
13427 (inferior-octave-completion-at-point): Remove its uses.
13428 (inferior-octave-startup): completion_matches was introduced to
13429 Octave in 1996 so safe to assume it.
13430 (octave-function-file-comment): Improve to follow how Octave does it.
13431 (octave-update-function-file-comment): Tweak.
13432
2ec12cb0
LL
134332013-04-29 Leo Liu <sdl.web@gmail.com>
13434
13435 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13436 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13437 (octave-function-file-comment): Fix typo.
13438 (octave-sync-function-file-names): Use read-char-choice.
13439
6eaed048
JB
134402013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13441
13442 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13443 to t for the less important warnings.
13444
3ffa2d4f
DH
134452013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13446
13447 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13448
685c9501
GM
134492013-04-27 Glenn Morris <rgm@gnu.org>
13450
13451 * vc/log-view.el (log-view-current-entry):
13452 Treat "---" separator lines as part of the following rev. (Bug#14169)
13453
0208ede7
JL
134542013-04-27 Juri Linkov <juri@jurta.org>
13455
13456 * subr.el (read-number): Doc fix about using it by interactive
13457 code letter `n'. (Bug#14254)
13458
5db9dace
JL
134592013-04-27 Juri Linkov <juri@jurta.org>
13460
13461 * desktop.el (desktop-auto-save-timeout): New option.
13462 (desktop-file-checksum): New variable.
13463 (desktop-save): Add optional arg `auto-save' and don't auto-save
13464 if nothing changed.
13465 (desktop-auto-save-timer): New variable.
13466 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13467 (after-init-hook): Call `desktop-auto-save-set-timer'.
13468 Suggested by Reuben Thomas <rrt@sc3d.org> in
13469 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13470
b7260dd4
LL
134712013-04-27 Leo Liu <sdl.web@gmail.com>
13472
13473 * progmodes/octave.el (octave-function-file-p)
13474 (octave-skip-comment-forward, octave-function-file-comment)
13475 (octave-update-function-file-comment): New functions.
13476 (octave-mode-map): Bind C-c ; to
13477 octave-update-function-file-comment.
13478 (octave-mode-menu): Add octave-update-function-file-comment.
13479 (octave-mode, inferior-octave-mode): Fix doc-string.
13480 (octave-insert-defun): Conform to Octave's coding convention.
13481 (Bug#14285)
13482
13483 * files.el (basic-save-buffer): Don't let errors in
13484 before-save-hook prevent saving buffer.
13485
c46da669
RW
134862013-04-20 Roland Winkler <winkler@gnu.org>
13487
13488 * faces.el (read-face-name): Use completing-read if arg multiple
13489 is nil.
13490
a81ee1eb
IL
134912013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13492
13493 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
13494 displayed, move point to after the totals line.
13495 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
13496 for the details.
13497
4fac34ce
SM
134982013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13499
13500 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13501 Add current dir to the load-path.
13502 (package-generate-autoloads): Don't rely on
13503 autoload-ensure-default-file.
13504
f6bfc063
RT
135052013-04-26 Reuben Thomas <rrt@sc3d.org>
13506
d40ab5cf
BG
13507 * textmodes/remember.el (remember-store-in-files): Document that
13508 the file name format is passed to `format-time-string'.
f6bfc063 13509
e55d3b04
LL
135102013-04-26 Leo Liu <sdl.web@gmail.com>
13511
13512 * progmodes/octave.el (octave-sync-function-file-names): New function.
13513 (octave-mode): Use it in before-save-hook.
13514
e53052d3
SM
135152013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13516
140ef50c
SM
13517 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13518 (bug#14274).
13519
e53052d3
SM
13520 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13521 \n and comment, even if it's not an implicit ; (bug#14218).
13522
af80458d 135232013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
13524
13525 * subr.el (read-number): Once more use `read' rather than
13526 `string-to-number', to trap non-numeric input. (Bug#14254)
13527
af80458d 135282013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
13529
13530 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13531 Use `syntax-multiline' text property consistently instead of
8a621d53 13532 `font-lock-multiline'. (Bug#14237)
70203c2e 13533
e6ea1f6c
GM
135342013-04-26 Glenn Morris <rgm@gnu.org>
13535
13536 * emacs-lisp/shadow.el (list-load-path-shadows):
13537 No longer necessary to check for duplicate simple.el, since
13538 2012-07-07 change to init_lread to not include installation lisp
13539 directories in load-path when running uninstalled. (Bug#14270)
13540
070ccca4
LL
135412013-04-26 Leo Liu <sdl.web@gmail.com>
13542
13543 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13544 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 13545 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
13546 octave-in-string-or-comment-p.
13547 (octave-in-comment-p, octave-in-string-p)
13548 (octave-in-string-or-comment-p): Replace defsubst with defun.
13549
9d1c5fb6
PE
135502013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13551
13552 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13553
c034abda
BG
135542013-04-25 Bastien Guerry <bzg@gnu.org>
13555
13556 * textmodes/remember.el (remember-data-directory)
13557 (remember-directory-file-name-format): Fix custom types.
13558
584ea277
LL
135592013-04-25 Leo Liu <sdl.web@gmail.com>
13560
e53052d3
SM
13561 * progmodes/octave.el (octave-completion-at-point-function):
13562 Make use of inferior octave process.
584ea277
LL
13563 (octave-initialize-completions): Remove.
13564 (inferior-octave-completion-table): New function.
13565 (inferior-octave-completion-at-point): Use it.
13566 (octave-completion-alist): Remove.
13567
1693b06a
SM
135682013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13569
13570 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13571 (opascal-mode-syntax-table): New var.
13572 (opascal-literal-kind, opascal-is-literal-end)
13573 (opascal-literal-token-at): Rewrite.
13574 (opascal--literal-start-re, opascal-font-lock-keywords)
13575 (opascal--syntax-propertize): New constants.
13576 (opascal-font-lock-defaults): Adjust.
13577 (opascal-mode): Use them. Set comment-<foo> variables as well.
13578 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13579 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13580 (delphi-other-face, opascal-other-face): Remove face variables.
13581 (opascal-save-state): Remove macro.
13582 (opascal-fontifying-progress-step): Remove constant.
13583 (opascal--ignore-changes): Remove var.
13584 (opascal-set-token-property, opascal-parse-next-literal)
13585 (opascal-is-stable-literal, opascal-complete-literal)
13586 (opascal-is-literal-start, opascal-face-of)
13587 (opascal-parse-region, opascal-parse-region-until-stable)
13588 (opascal-fontify-region, opascal-after-change)
13589 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13590 (opascal-debug-parse-region, opascal-debug-parse-window)
13591 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13592 (opascal-debug-fontify-buffer): Remove.
13593 (opascal-debug-mode-map): Adjust accordingly.
13594
be64c05d
LL
135952013-04-25 Leo Liu <sdl.web@gmail.com>
13596
13597 Merge octave-mod.el and octave-inf.el into octave.el with some
13598 cleanups.
13599 * progmodes/octave.el: New file renamed from octave-mod.el.
13600 * progmodes/octave-inf.el: Merged into octave.el.
13601 * progmodes/octave-mod.el: Renamed to octave.el.
13602
d79d37bd
TH
136032013-04-25 Tassilo Horn <tsdh@gnu.org>
13604
13605 * textmodes/reftex-vars.el
13606 (reftex-label-ignored-macros-and-environments): New defcustom.
13607
13608 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13609
ced3fc5d
SM
136102013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13613 (smie-indent-keyword): Improve the check to ensure that the next
13614 comment is really on the same line.
13615 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13616
13617 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13618 semi-colons if the line is not otherwise empty (bug#14218).
13619
1c141dad
GM
136202013-04-25 Glenn Morris <rgm@gnu.org>
13621
13622 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13623
5058062a
SM
136242013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13625
13626 * progmodes/opascal.el (opascal-set-token-property): Rename from
13627 opascal-set-text-properties and only set `token' (bug#14134).
13628 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13629 (opascal-literal-text-properties): Remove.
13630 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13631 Adjust callers.
13632
5db9dace 136332013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
13634
13635 * textmodes/remember.el (remember-handler-functions): Add an
13636 option for a new handler `remember-store-in-files'.
13637 (remember-data-directory, remember-directory-file-name-format):
13638 New options.
13639 (remember-store-in-files): New function to store remember notes
13640 as separate files within a directory.
13641
4391916c
MH
136422013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13643
13644 * progmodes/compile.el (compilation-next-error-function):
13645 Pass "formats" to compilation-find-file (bug#11777).
13646
bb7cdf58
GM
136472013-04-24 Glenn Morris <rgm@gnu.org>
13648
3b8fe752 13649 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
13650 * vc/vc-hg.el (vc-hg-print-log):
13651 * vc/vc-svn.el (vc-svn-print-log):
13652 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13653
bb7cdf58
GM
13654 * vc/vc-bzr.el (vc-bzr-print-log):
13655 * vc/vc-cvs.el (vc-cvs-print-log):
13656 * vc/vc-git.el (vc-git-print-log):
13657 * vc/vc-hg.el (vc-hg-print-log):
13658 * vc/vc-mtn.el (vc-mtn-print-log):
13659 * vc/vc-rcs.el (vc-rcs-print-log):
13660 * vc/vc-sccs.el (vc-sccs-print-log):
13661 * vc/vc-svn.el (vc-svn-print-log):
13662 * vc/vc.el (vc-print-log-internal): Doc fixes.
13663
b46a056e
GM
136642013-04-23 Glenn Morris <rgm@gnu.org>
13665
13666 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13667 Remove venerable code attempting to avoid substitute-command-keys.
13668
0aecf718
TH
136692013-04-23 Tassilo Horn <tsdh@gnu.org>
13670
4391916c
MH
13671 * textmodes/reftex-vars.el (reftex-label-regexps):
13672 Call `reftex-compile-variables' after changes to this variable.
0aecf718 13673
117f94cf
SM
136742013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13675
4391916c 13676 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
13677 Use lexical-binding.
13678 (jit-lock-force-redisplay): Use markers, check buffer's continued
13679 existence and beware narrowed buffers.
13680 (jit-lock-fontify-now): Adjust call accordingly.
13681
1d829c64
SM
136822013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13685 to avoid misleading the user.
13686
72d548a9
LL
136872013-04-22 Leo Liu <sdl.web@gmail.com>
13688
13689 * info-look.el: Prefer latex2e.info. (Bug#14240)
13690
d0853629
MA
136912013-04-22 Michael Albinus <michael.albinus@gmx.de>
13692
13693 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13694
13695 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 13696 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
13697 (tramp-set-completion-function, tramp-parse-putty):
13698 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13699 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13700 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13701 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13702 (tramp-call-local-coding-command): Use `tramp-call-process'
13703 instead of `tramp-compat-call-process'.
13704
13705 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13706 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
35e951cd 13707 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
7764286e 13708 (tramp-find-inline-compress): Improve traces.
d0853629
MA
13709 (tramp-maybe-send-script): Check for Perl binary.
13710 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13711
38cc0210
DU
137122013-04-22 Daiki Ueno <ueno@gnu.org>
13713
13714 * epg.el (epg-context-pinentry-mode): New function.
13715 (epg-context-set-pinentry-mode): New function.
13716 (epg--start): Pass --pinentry-mode option to gpg command.
13717
cc641ee1
XF
137182013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13719
02d844b5 13720 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 13721 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 13722 `completion-at-point'. (Bug#13774)
5d4e5c31 13723
cc641ee1
XF
13724 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13725 default key binding for `describe-distribution' has been moved to
13726 `C-h C-o'. (Bug#13970)
13727
1b42ee43
GM
137282013-04-21 Glenn Morris <rgm@gnu.org>
13729
13730 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13731 Add doc strings.
13732 (vc-print-log): Clarify interactive prompt.
13733
a6d63d97
GM
137342013-04-20 Glenn Morris <rgm@gnu.org>
13735
13736 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13737 No longer include timestamp etc information.
13738
d7f5c16f
RW
137392013-04-20 Roland Winkler <winkler@gnu.org>
13740
13741 * faces.el (read-face-name): Bug fix, return just one face if arg
13742 multiple is nil. (Bug#14209)
13743
bcd7a0a4
SM
137442013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13745
13746 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13747 (remove-function): Autoload.
13748
13749 * comint.el (comint-redirect-original-filter-function): Remove.
13750 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
13751 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13752 (vc-cvs-annotate-command):
bcd7a0a4
SM
13753 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13754 * progmodes/prolog.el (prolog-consult-compile):
13755 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13756 Use add/remove-function instead.
13757 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13758 (gud-tooltip-process-output, gud-tooltip-tips):
13759 Use add/remove-function instead.
13760 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13761 (scheme-interaction-mode, exit-scheme-interaction-mode):
13762 Use add/remove-function instead.
13763
13764 * vc/vc-dispatcher.el: Use lexical-binding.
13765 (vc--process-sentinel): Rename from vc-process-sentinel.
13766 Change last arg to be the code to run. Don't use vc-previous-sentinel
13767 and vc-sentinel-commands any more.
13768 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13769 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13770
e36b2d20 137712013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 13772
bcd7a0a4 13773 * progmodes/sh-script.el (sh-imenu-generic-expression):
27821a89 13774 Handle function names with a single character. (Bug#14111)
4d3268ba 13775
27821a89 137762013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
13777
13778 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13779 for subroutines defined in an eval (bug#14182).
13780
7d688336
TV
137812013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13782
13783 * bookmark.el (bookmark-completing-read): Improve handling of empty
13784 string (bug#14176).
13785
31dcede0
SM
137862013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13787
13788 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13789
adc31213
FEG
137902013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13791
13792 New faster Imenu implementation (bug#14058).
13793 * progmodes/python.el:
13794 (python-imenu-prev-index-position):
13795 (python-imenu-format-item-label-function)
13796 (python-imenu-format-parent-item-label-function)
13797 (python-imenu-format-parent-item-jump-label-function):
13798 New vars.
13799 (python-imenu-format-item-label)
13800 (python-imenu-format-parent-item-label)
13801 (python-imenu-format-parent-item-jump-label)
13802 (python-imenu--put-parent, python-imenu--build-tree)
13803 (python-imenu-create-index, python-imenu-create-flat-index)
13804 (python-util-popn): New functions.
13805 (python-mode): Set imenu-create-index-function to
13806 python-imenu-create-index.
13807
cdca8255
SM
138082013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13809
13810 * winner.el (winner-active-region): Use region-active-p, activate-mark
13811 and deactivate-mark (bug#14225).
13812
13813 * simple.el (deactivate-mark): Don't inline it.
13814
beb42340
MA
138152013-04-18 Michael Albinus <michael.albinus@gmx.de>
13816
13817 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13818
fc7f4d7e
TH
138192013-04-18 Tassilo Horn <tsdh@gnu.org>
13820
13821 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13822 file extensions from the archive-mode entry in order to prefer
13823 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13824
29f47822
LL
138252013-04-18 Leo Liu <sdl.web@gmail.com>
13826
13827 * bindings.el (help-event-list): Add ?\?.
13828
d36ed1c8
SM
138292013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13830
13831 * subr.el (with-wrapper-hook): Declare obsolete.
13832 * simple.el (filter-buffer-substring-function): New hook.
13833 (filter-buffer-substring): Use it.
13834 (filter-buffer-substring-functions): Mark obsolete.
13835 * minibuffer.el (completion-in-region-function): New hook.
13836 (completion-in-region): Use it.
13837 (completion-in-region-functions): Mark obsolete.
13838 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13839 * abbrev.el (abbrev-expand-function): New hook.
13840 (expand-abbrev): Use it.
13841 (abbrev-expand-functions): Mark obsolete.
13842 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13843 and :filter-return.
13844
04754d36
FEG
138452013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13846
13847 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13848 and do not care about match data.
13849
dd8791e9
SM
138502013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13853 completion tables when completing error conditions and
13854 `declare' arguments.
13855 (lisp-complete-symbol, field-complete): Mark as obsolete.
13856 (check-parens): Unmatched parens are user errors.
13857 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13858
ffe54a13
AM
138592013-04-17 Michal Nazarewicz <mina86@mina86.com>
13860
dd8791e9
SM
13861 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13862 command changed buffer (ie. `flyspell-pre-buffer' is not current
13863 buffer), which prevents making decisions based on invalid value of
13864 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13865 cause an error when `flyspell-pre-point' was nil after switching
13866 buffers.
13867 (flyspell-post-command-hook): No longer needs to change buffers when
13868 checking pre-word. While at it remove unnecessary progn.
ffe54a13 13869
ec7e39f2
AM
138702013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13871
13872 * textmodes/ispell.el (ispell-add-per-file-word-list):
13873 Fix `flyspell-correct-word-before-point' error when accepting
13874 words and `coment-padding' is an integer by using
13875 `comment-normalize-vars' (Bug #14214).
13876
083850a6
FEG
138772013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13878
13879 New defun movement commands.
13880 * progmodes/python.el (python-nav--syntactically)
13881 (python-nav--forward-defun, python-nav-backward-defun)
13882 (python-nav-forward-defun): New functions.
13883
619ed6e1
FEG
138842013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13885
13886 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13887 (python-syntax-context): Use named compiler-macro for backwards
13888 compatibility with Emacs 24.x.
13889
7a1beb6c
LL
138902013-04-17 Leo Liu <sdl.web@gmail.com>
13891
13892 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13893 octave-hide-process-buffer.
13894
2d3fa3e5
SM
138952013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13896
13897 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13898 (bug#14216).
13899
7ce5be54
JPG
139002013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13901
13902 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13903 Fix adjustment of offset when receiving incomplete responses from GDB
13904 (bug#14129).
13905
351edece
SM
139062013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13909 python-mode-abbrev-table.
13910 (python-skeleton-define): Adjust accordingly.
13911 (python-mode-abbrev-table): New table that inherits from it so that
13912 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13913
13914 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13915 (abbrev-symbol): Use it.
13916 (abbrev--before-point): Use it since we already handle inheritance.
13917
613f9481
LL
139182013-04-16 Leo Liu <sdl.web@gmail.com>
13919
13920 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13921 binding to info-lookup-symbol.
13922
51646b62
JB
139232013-04-16 Juanma Barranquero <lekktu@gmail.com>
13924
13925 * minibuffer.el (completion--twq-all):
13926 * term/ns-win.el (ns-initialize-window-system):
13927 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13928
efb3f01d
SM
139292013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13930
36c0a301
SM
13931 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13932 global bindings.
13933
efb3f01d
SM
13934 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13935
fb549d64
DG
139362013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13937
13938 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13939 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13940 to nil.
13941 (ruby-end-of-defun): Remove the unused arg, change the docstring
13942 to reflect that this function is only used as the value of
13943 `end-of-defun-function'.
13944 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13945 to reflect an earlier change that beginning/end-of-defun functions
13946 jump between methods in a class definition, as well as top-level
13947 functions.
13948
21e8fe2f
SM
139492013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13950
13951 * minibuffer.el (minibuffer-complete): Don't just scroll
13952 a *Completions* that's been iconified.
13953 (minibuffer-force-complete): Make sure repetitions do cycle when going
13954 through completion-in-region -> minibuffer-complete.
13955
20e527d0
AM
139562013-04-15 Alan Mackenzie <acm@muc.de>
13957
13958 Correct the placement of c-cpp-delimiters when there're #s not at
13959 col 0.
13960
13961 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13962 place a submatch around the #.
21e8fe2f
SM
13963 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13964 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
13965 on the #, not BOL.
13966
dabefae5
SM
139672013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13970 (advice--member-p): New arg `name'.
13971 (advice--add-function, advice-member-p): Use it (bug#14202).
13972
85c9ab64
AM
139732013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13974
13975 Reformulate java imenu-generic-expression.
13976 The old expression contained ill formed regexps.
13977
13978 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13979 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13980 (cc-imenu-java-method-arg-regexp): New defconsts.
13981 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 13982 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
13983 handling of spaces in the regexp.
13984
0f821d99
AM
139852013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13986
13987 * textmodes/ispell.el (ispell-command-loop): Remove
13988 flyspell highlight of a word when ispell accepts it (bug #14178).
13989
eb922adf
MA
139902013-04-15 Michael Albinus <michael.albinus@gmx.de>
13991
13992 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13993 uses code from the previous `ange-ftp-run-real-handler'.
13994 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13995 only in case that function exist. This is needed for proper
13996 unloading of Tramp.
13997
4d9a0979
TH
139982013-04-15 Tassilo Horn <tsdh@gnu.org>
13999
14000 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14001
14002 * textmodes/reftex.el (reftex-compile-variables): Use it.
14003
a829b0dc
SM
140042013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14005
91e8293c
SM
14006 * files.el (normal-mode): Only use default major-mode if no other mode
14007 was specified.
14008
830aed4d
SM
14009 * emacs-lisp/trace.el (trace-values): New function.
14010
a829b0dc
SM
14011 * files.el: Allow : in local variables (bug#14089).
14012 (hack-local-variable-regexp): New var.
14013 (hack-local-variables-prop-line, hack-local-variables): Use it.
14014
7ae9f0fb
RW
140152013-04-13 Roland Winkler <winkler@gnu.org>
14016
14017 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14018 data before it gets modified by bibtex-beginning-of-entry.
14019
6646e848
RW
140202013-04-13 Roland Winkler <winkler@gnu.org>
14021
14022 * textmodes/bibtex.el (bibtex-url): Doc fix.
14023
140242013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
14025
14026 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14027 does not visit a BibTeX file, exclude it from the list of buffers
14028 returned by bibtex-initialize.
14029
0aa3616e
SB
140302013-04-13 Stephen Berman <stephen.berman@gmx.net>
14031
14032 * window.el (split-window): Remove interactive form, since as a
14033 command this function is a special case of split-window-below.
14034 Correct doc string.
14035
011cddd6
RW
140362013-04-12 Roland Winkler <winkler@gnu.org>
14037
14038 * faces.el (read-face-name): Do not override value of arg default.
14039 Allow single faces and strings as default values. Remove those
14040 elements from return value that are not faces.
14041 (describe-face): Simplify.
14042 (face-at-point): New optional args thing and multiple so that this
14043 function can provide the same functionality previously provided by
14044 read-face-name.
14045 (make-face-bold, make-face-unbold, make-face-italic)
14046 (make-face-unitalic, make-face-bold-italic, invert-face)
14047 (modify-face, read-face-and-attribute): Use face-at-point.
14048
14049 * cus-edit.el (customize-face, customize-face-other-window)
14050 * cus-theme.el (custom-theme-add-face)
14051 * face-remap.el (buffer-face-set)
14052 * facemenu.el (facemenu-set-face): Use face-at-point.
14053
f24e0036
MA
140542013-04-12 Michael Albinus <michael.albinus@gmx.de>
14055
14056 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14057
da3cda2d
TH
140582013-04-10 Tassilo Horn <tsdh@gnu.org>
14059
14060 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14061 off leading { and trailing } from field values.
14062
15e54145
SM
140632013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14064
78ce603d
SM
14065 * emacs-lisp/timer.el (timer--check): New function.
14066 (timer--time, timer-set-function, timer-event-handler): Use it.
14067 (timer-set-idle-time): Simplify.
14068 (timer--activate): CSE.
14069 (timer-event-handler): Give more info in error message.
14070 (internal-timer-start-idle): New function, moved from C.
14071
15e54145
SM
14072 * mpc.el (mpc-proc): Add `restart' argument.
14073 (mpc-proc-cmd): Use it.
14074 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14075 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14076 less often.
14077
7144c627
MY
140782013-04-10 Masatake YAMATO <yamato@redhat.com>
14079
14080 * progmodes/sh-script.el: Implement `sh-mode' own
14081 `add-log-current-defun-function' (bug#14112).
14082 (sh-current-defun-name): New function.
14083 (sh-mode): Use the function.
14084
b39792eb
BG
140852013-04-09 Bastien Guerry <bzg@gnu.org>
14086
14087 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14088
8acdeb71
SM
140892013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14090
6fcdab68
SM
14091 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14092
8acdeb71
SM
14093 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14094 timer (bug#14156).
14095
e3e7b504
NF
140962013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14097
14098 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14099 declaration.
14100
201bb296
LL
141012013-04-07 Leo Liu <sdl.web@gmail.com>
14102
14103 * pcmpl-x.el: New file.
14104
ebb19708
DA
141052013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14106
14107 Do not set x-display-name until X connection is established.
14108 This is needed to prevent from weird situation described at
14109 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14110 * frame.el (make-frame): Set x-display-name after call to
14111 window system initialization function, not before.
14112 * term/x-win.el (x-initialize-window-system): Add optional
14113 display argument and use it.
14114 * term/w32-win.el (w32-initialize-window-system):
14115 * term/ns-win.el (ns-initialize-window-system):
14116 * term/pc-win.el (msdos-initialize-window-system):
14117 Add compatible optional display argument.
14118
33bb237a
EZ
141192013-04-06 Eli Zaretskii <eliz@gnu.org>
14120
14121 * files.el (normal-backup-enable-predicate): On MS-Windows and
14122 MS-DOS compare truenames of temporary-file-directory and of the
14123 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14124 don't fail comparison by compare-strings. Also, compare file
14125 names case-insensitively on MS-Windows and MS-DOS.
14126
134abf1f
SM
141272013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14128
14129 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14130 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14131
d695cb94
DG
141322013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14133
e3e7b504
NF
14134 * whitespace.el (whitespace-color-on, whitespace-color-off):
14135 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 14136
f4ad7ea1 141372013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
14138
14139 * ispell.el (ispell-set-spellchecker-params):
14140 Really set `ispell-args' for all equivs.
14141
632556e4
SM
141422013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14143
14144 * ido.el (ido-completions): Use extra elements of ido-decorations
14145 (bug#14143).
14146 (ido-decorations): Update docstring.
14147
2a417372
MA
141482013-04-05 Michael Albinus <michael.albinus@gmx.de>
14149
14150 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14151 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14152 nil during initialization, in order not to miss changes since the
14153 file was opened. (Bug#14140)
14154
fc164b0c
LL
141552013-04-05 Leo Liu <sdl.web@gmail.com>
14156
14157 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14158
0ccecc08
JB
141592013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14160
14161 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14162
51af1aa2
GM
141632013-04-04 Glenn Morris <rgm@gnu.org>
14164
14165 * electric.el (electric-pair-inhibit-predicate): Add :version.
14166
b208ebc6
SM
141672013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14170 when a package is required several times (bug#14082).
14171
f3d3eaf0
RW
141722013-04-04 Roland Winkler <winkler@gnu.org>
14173
14174 * faces.el (read-face-name): Behave as promised by the docstring.
14175 Assume that arg default is a list of faces.
14176 (describe-face): Call read-face-name with list of default faces.
14177
2575da50
TV
141782013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14179
14180 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14181 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14182 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14183 the header.
14184 (bookmark-exit-hook-internal): Save even if list is empty.
14185
397703b4
YH
141862013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14187
14188 * emacs-lisp/package.el (package-pinned-packages): New var.
14189 (package--add-to-archive-contents): Obey it (bug#14118).
14190
691e26ae
AM
141912013-04-03 Alan Mackenzie <acm@muc.de>
14192
8a621d53
JB
14193 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14194 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
14195
14196 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14197 parameter `not-in-delimiter'. Handle being inside comment opener.
14198 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14199 character in case we're typing a '*' after a '/'.
14200 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14201 instead by passing the parameter to c-state-pp-to-literal.
14202
14203 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14204 for elt. 7 of a parse state.
14205
4b725a70
PE
142062013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14207
14208 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14209 * international/latin1-disp.el, international/mule-util.el:
14210 * language/cyril-util.el, language/european.el, language/ind-util.el:
14211 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14212 * language/tibetan.el, language/viet-util.el:
14213 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14214
15c579f0
SM
142152013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14216
14217 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14218 (electric-pair-post-self-insert-function): Use it.
14219 (electric-pair-default-inhibit): New function, extracted from
14220 electric-pair-post-self-insert-function.
14221
a77e2924
RW
142222013-03-31 Roland Winkler <winkler@gnu.org>
14223
14224 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14225
2bd8a4a8
SM
142262013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14229
8d3655be 142302013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
14231
14232 Un-indent after "pass" and "return" statements (Bug#13888)
14233 * progmodes/python.el (python-indent-block-enders): New var.
14234 (python-indent-calculate-indentation): Use it.
14235
8d3655be 142362013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
14237
14238 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14239 defun. Defining it as defalias could introduce too eager
14240 byte-compiler optimization. (Bug#14030)
14241
8d3655be 142422013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
14243
14244 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14245
0b1619da
LL
142462013-03-30 Leo Liu <sdl.web@gmail.com>
14247
14248 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14249 (kmacro-execute-from-register): Pass the keyboard macro to
14250 kmacro-call-macro or repeating won't work correctly.
14251
0b938190
TZ
142522013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14253
14254 * progmodes/subword.el: Back to using `forward-symbol'.
14255
14256 * subr.el (forward-whitespace, forward-symbol)
14257 (forward-same-syntax): Move from thingatpt.el.
14258
35710234
LL
142592013-03-29 Leo Liu <sdl.web@gmail.com>
14260
14261 * kmacro.el (kmacro-to-register): New command.
14262 (kmacro-execute-from-register): New function.
14263 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14264
efc0bb73
SM
142652013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14266
14267 * mpc.el: Use defvar-local and setq-local.
14268 (mpc--proc-connect): Connection failures are not bugs.
14269 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14270 (mpc-volume-map): Bind to the up-events.
14271
75a2f981
TZ
142722013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14273
14274 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14275 instead of `forward-symbol'.
14276
17c781d1
SM
142772013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14278
14279 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14280 (edebug--recursive-edit): Use it.
14281 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14282 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14283
f67bfbcf
LL
142842013-03-28 Leo Liu <sdl.web@gmail.com>
14285
14286 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14287
b59f639d
EZ
142882013-03-27 Eli Zaretskii <eliz@gnu.org>
14289
14290 * facemenu.el (list-colors-callback): New defvar.
14291 (list-colors-redisplay): New function.
14292 (list-colors-display): Install list-colors-redisplay as the
14293 revert-buffer-function. (Bug#14063)
14294
f557c1b1
SM
142952013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14296
b1da2957
SM
14297 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14298 and suffixes don't overlap (bug#14061).
14299
f557c1b1
SM
14300 * case-table.el: Use lexical-binding.
14301 (case-table-get-table): New function.
14302 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14303
002668e1
TZ
143042013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14305
14306 * progmodes/subword.el: Add `superword-mode' to do word motion
14307 over symbol_words (parallels and leverages `subword-mode' which
14308 does word motion inside MixedCaseWords).
14309
73572c72
AG
143102013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14311
78b8f320 14312 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 14313 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 14314
69b2c07e
SM
143152013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14316
14317 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14318 Change return value to be a sexp. Delay `get-buffer' to after
14319 restoring the desktop (bug#13951).
14320
08bb5ee2
LL
143212013-03-26 Leo Liu <sdl.web@gmail.com>
14322
14323 * register.el: Move semantic tag handling back to
14324 cedet/semantic/senator.el. (Bug#14052)
14325
8d4c974e
SM
143262013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14327
14328 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14329 into the prompt either (bug#13963).
14330
b234d92c
SM
143312013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14332
14333 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14334 part of "(error-foo)".
14335
ddfa3cb4
JL
143362013-03-24 Juri Linkov <juri@jurta.org>
14337
14338 * replace.el (list-matching-lines-prefix-face): New defcustom.
14339 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14340 `occur-engine' if `face-differs-from-default-p' returns t.
14341 (occur-engine): Add `,' inside backquote construct to evaluate
14342 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14343 Pass `prefix-face' to the functions `occur-context-lines' and
14344 `occur-engine-add-prefix'.
14345 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14346 `prefix-face' and propertize the prefix with `prefix-face'.
14347 (Bug#14017)
14348
7b0e2f85
LL
143492013-03-24 Leo Liu <sdl.web@gmail.com>
14350
14351 * nxml/rng-valid.el (rng-validate-while-idle)
14352 (rng-validate-quick-while-idle): Guard against deleted buffer.
14353 (Bug#13999)
14354
14355 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14356 is the last entry in kill-buffer-hook.
14357
14358 * files.el (kill-buffer-hook): Doc fix.
14359
b3082f49
DG
143602013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14361
b234d92c
SM
14362 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14363 Make it safe-local.
bde73d27 14364
b3082f49
DG
14365 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14366
a320a2db
LL
143672013-03-23 Leo Liu <sdl.web@gmail.com>
14368
7e74b0fb
LL
14369 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14370 Remove.
14371
14372 * nxml/rng-valid.el (rng-validate-mode)
14373 (rng-after-change-function, rng-do-some-validation):
14374 * nxml/rng-maint.el (rng-validate-buffer):
14375 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14376 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14377 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14378 (nxml-extend-after-change-region): Use with-silent-modifications.
14379
a320a2db
LL
14380 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14381 timer-idle-list.
14382
14383 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14384 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14385 timer-idle-list. (Bug#13999)
14386
e38e6780
JL
143872013-03-23 Juri Linkov <juri@jurta.org>
14388
14389 * info.el (info-index-match): New face.
14390 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14391 main pattern and add text properties with the new face to matches
14392 in index entries relative to the beginning of the index entry.
14393 (Bug#14015)
14394
e8cc7880
DE
143952013-03-21 Eric Ludlam <zappo@gnu.org>
14396
39c87140 14397 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
14398 Inhibit read only while inserting objects.
14399
9bb0d822
TZ
144002013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14401
14402 * progmodes/cfengine.el: Update docs to mention
14403 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14404 symbol motion. Remove "_" from the word syntax.
14405
aa703640
TZ
144062013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14407
14408 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14409 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14410
afff09d0
JL
144112013-03-20 Juri Linkov <juri@jurta.org>
14412
14413 * info.el (Info-next-reference-or-link)
14414 (Info-prev-reference-or-link): New functions.
14415 (Info-next-reference, Info-prev-reference): Use them.
14416 (Info-try-follow-nearest-node): Handle footnote navigation.
14417 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14418
9a1ff164
SM
144192013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14420
14421 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14422 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14423
2667d15d
PE
144242013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14425
14426 Suppress unnecessary non-ASCII chatter during build process.
14427 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14428 (batch-skkdic-convert): Suppress most of the chatter.
14429 It's not needed so much now that machines are faster,
14430 and its non-ASCII component was confusing; see Dmitry Gutov in
14431 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14432
438b0579
LL
144332013-03-20 Leo Liu <sdl.web@gmail.com>
14434
14435 * ido.el (ido-chop): Fix bug#10994.
14436
c128ab07
DG
144372013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14438
14439 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14440 Remove vars.
9a1ff164
SM
14441 (whitespace-color-on, whitespace-color-off):
14442 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 14443
0e6008c5
SM
144442013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14445
14446 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14447 remapping in mode-line.
14448 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14449
627b52b0
DG
144502013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14451
14452 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14453 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
14454 (whitespace-font-lock-keywords): Change description.
14455 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14456 the constructed keywords instead.
14457 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 14458
50c3a20b
LL
144592013-03-19 Leo Liu <sdl.web@gmail.com>
14460
14461 * progmodes/compile.el (compilation-display-error): New command.
14462 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14463 C-o. (Bug#13992)
14464
2aa2157b
PE
144652013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14466
14467 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14468
e477dbfa
JD
144692013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14470
14471 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14472
64ab82d1
MA
144732013-03-18 Michael Albinus <michael.albinus@gmx.de>
14474
14475 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14476
14477 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14478 * net/tramp-gvfs.el (top):
14479 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14480 (tramp-handle-shell-command): Use it.
14481 (tramp-dissect-file-name): Raise an error when hostname is a
14482 method name, and neither method nor user is specified.
14483
14484 * net/trampver.el: Update release number.
14485
33cef733
LL
144862013-03-18 Leo Liu <sdl.web@gmail.com>
14487
14488 Make sure eldoc can be turned off properly.
14489 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14490 eldoc-mode.
14491 (eldoc-display-message-p): Revert last change.
14492 (eldoc-display-message-no-interference-p)
14493 (eldoc-print-current-symbol-info): Tweak.
14494
2167b7b2
TH
144952013-03-18 Tassilo Horn <tsdh@gnu.org>
14496
14497 * doc-view.el (doc-view-new-window-function): Check the new window
14498 overlay's display property instead the char property of the
14499 buffer's first char. Use `with-selected-window' instead of
14500 `save-window-excursion' with `select-window'.
14501 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 14502 display property instead the char property of the buffer's first char.
2167b7b2 14503
982efbcd
PE
145042013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14505
14506 Automate the build of ja-dic.el (Bug#13984).
14507 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14508 from the input, rather than assume that it's been done for us by the
14509 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14510 the current date into a ja-dic.el comment, as that complicates
14511 regression testing.
14512
2fcc7665
SM
145132013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14514
14515 * whitespace.el: Fix double evaluation.
14516 (whitespace-space, whitespace-hspace, whitespace-tab)
14517 (whitespace-newline, whitespace-trailing, whitespace-line)
14518 (whitespace-space-before-tab, whitespace-indentation)
14519 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14520 obsolete defvars.
14521 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14522 (whitespace-color-on): Use a single font-lock-add-keywords call.
14523 Fix double-evaluation of face variables.
14524
67c0a6e6
MA
145252013-03-17 Michael Albinus <michael.albinus@gmx.de>
14526
2fcc7665
SM
14527 * net/tramp-adb.el (tramp-adb-parse-device-names):
14528 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 14529 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 14530
69489f1d
LL
145312013-03-17 Leo Liu <sdl.web@gmail.com>
14532
14533 Extend eldoc to display info in the mode-line. (Bug#13978)
14534 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14535 (eldoc-mode-line-string): New variable.
14536 (eldoc-minibuffer-message): New function.
14537 (eldoc-message-function): New variable.
14538 (eldoc-message): Use it.
14539 (eldoc-display-message-p)
2fcc7665
SM
14540 (eldoc-display-message-no-interference-p):
14541 Support eldoc-post-insert-mode.
69489f1d
LL
14542
14543 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14544 (eval-expression): Run it.
14545
9c44569e
RW
145462013-03-17 Roland Winkler <winkler@gnu.org>
14547
14548 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14549 strings in the list of return values.
14550
327f1f6f
JB
145512013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14552
14553 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14554 radix before checking for HMS forms.
14555
67ed8fcd
LL
145562013-03-16 Leo Liu <sdl.web@gmail.com>
14557
14558 * progmodes/scheme.el: Add indentation and font-locking for λ.
14559 (Bug#13975)
14560
78be8b64 145612013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
14562
14563 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14564 token before point (bug#13942).
14565
78be8b64 145662013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 14567
95b43468 14568 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 14569
98e775e6
EZ
145702013-03-16 Eli Zaretskii <eliz@gnu.org>
14571
14572 * startup.el (command-line-normalize-file-name): Fix handling of
14573 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14574 <xfq.free@gmail.com> in
14575 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14576
2edd6029
MA
145772013-03-15 Michael Albinus <michael.albinus@gmx.de>
14578
14579 Sync with Tramp 2.2.7.
14580
14581 * net/trampver.el: Update release number.
14582
d35f5864
TH
145832013-03-14 Tassilo Horn <tsdh@gnu.org>
14584
e903c210 14585 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
14586 (doc-view-insert-image): Don't modify overlay associated to
14587 non-live windows, and implement horizontal centering of image in
14588 case it's smaller than the window.
14589 (doc-view-new-window-function): Force redisplay of new windows on
14590 doc-view buffers.
d35f5864 14591
1c4a85ed
KF
145922013-03-13 Karl Fogel <kfogel@red-bean.com>
14593
14594 * saveplace.el (save-place-alist-to-file): Don't sort
14595 `save-place-alist', just pretty-print it (bug#13882).
14596
85b66a21
MA
145972013-03-13 Michael Albinus <michael.albinus@gmx.de>
14598
a020afb9
JB
14599 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14600 Check whether `default-file-name-coding-system' is bound.
14601 It isn't in XEmacs.
85b66a21 14602
175600da
SM
146032013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14604
e7f7cb1a
SM
14605 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14606 backquotes for `obsolete' (bug#13929).
14607
175600da
SM
14608 * international/mule.el (find-auto-coding): Include file name in
14609 obsolescence warning (bug#13922).
14610
ca68a22e
TZ
146112013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14612
14613 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14614 for CFEngine 3-specific indentation.
14615 (cfengine3-indent-line): Use it. Fix up category regex.
14616 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14617
940e5099
SM
146182013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14619
14620 * type-break.el (type-break-file-name):
14621 * textmodes/remember.el (remember-data-file):
14622 * strokes.el (strokes-file):
14623 * shadowfile.el (shadow-initialize):
14624 * saveplace.el (save-place-file):
14625 * ps-bdf.el (bdf-cache-file):
14626 * progmodes/idlwave.el (idlwave-config-directory):
14627 * net/quickurl.el (quickurl-url-file):
14628 * international/kkc.el (kkc-init-file-name):
14629 * ido.el (ido-save-directory-list-file):
14630 * emulation/viper.el (viper-custom-file-name):
14631 * emulation/vip.el (vip-startup-file):
14632 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14633 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14634
cc725808
PE
146352013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14636
14637 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14638 * language/thai-word.el: Switch to UTF-8.
14639
a020afb9 14640See ChangeLog.16 for earlier changes.
e3d51b27
MR
14641
14642;; Local Variables:
14643;; coding: utf-8
e3d51b27
MR
14644;; End:
14645
ba318903 14646 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
14647
14648 This file is part of GNU Emacs.
14649
14650 GNU Emacs is free software: you can redistribute it and/or modify
14651 it under the terms of the GNU General Public License as published by
14652 the Free Software Foundation, either version 3 of the License, or
14653 (at your option) any later version.
14654
14655 GNU Emacs is distributed in the hope that it will be useful,
14656 but WITHOUT ANY WARRANTY; without even the implied warranty of
14657 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14658 GNU General Public License for more details.
14659
14660 You should have received a copy of the GNU General Public License
14661 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.