* configure.ac: It seems _installing_ in non-ASCII is ok, not building.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
37241f62
SM
12013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (add-to-list): Preserve return value in compiler-macro
4 (bug#15692).
5
6408a65d
RS
62013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7
8 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
9 result. Ask user to retry using '-all' flag. (Bug#15701)
10
71e3276b
SM
112013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * emacs-lisp/smie.el: New smie-config system.
14 (smie-config): New defcustom.
15 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16 (smie-config-guess, smie-config-save): New commands.
17 (smie-config--mode-local, smie-config--buffer-local)
18 (smie-config--trace, smie-config--modefuns): New vars.
19 (smie-config--advice, smie-config--mode-hook)
20 (smie-config--setter, smie-config-local, smie-config--get-trace)
21 (smie-config--guess-value, smie-config--guess): New functions.
22 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
23 text properties. Treat "string fence" syntax like string syntax.
24
25 * progmodes/sh-script.el (sh-use-smie): Change default.
26 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
27 (sh-var-value): Simplify by CSE.
28 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
29 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
30 is used.
31 (sh-guess-basic-offset): Use cl-incf.
32 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
33
60db713e
HE
342013-10-24 Helmut Eller <eller.helmut@gmail.com>
35
36 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
37 (bug#15699).
38
8b251df6
GM
392013-10-24 Glenn Morris <rgm@gnu.org>
40
41 * Makefile.in (abs_top_srcdir): Remove.
42 (update-subdirs): Use relative path to update-subdirs.
43
6be0e22b
EZ
442013-10-24 Eli Zaretskii <eliz@gnu.org>
45
46 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
47 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
48 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
49 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 50
50b5b857
MA
512013-10-24 Michael Albinus <michael.albinus@gmx.de>
52
53 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
54 (ert-test-skipped): New error.
55 (ert-skip, ert-stats-skipped): New defuns.
56 (ert--skip-unless): New macro.
57 (ert-test-skipped): New struct.
58 (ert--run-test-debugger, ert-test-result-type-p)
59 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
60 (ert--stats-set-test-and-result, ert-char-for-test-result)
61 (ert-string-for-test-result, ert-run-tests-batch)
60db713e
HE
62 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
63 Handle skipped tests.
50b5b857 64
6f317c2f
GM
652013-10-24 Glenn Morris <rgm@gnu.org>
66
e43817c1
GM
67 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
68
6f317c2f
GM
69 * Makefile.in (abs_top_srcdir): New, set by configure.
70 (update-subdirs): Correct build-aux location.
71
369bbf71
DG
722013-10-24 Dmitry Gutov <dgutov@yandex.ru>
73
8297b2cf
DG
74 * vc/vc.el (vc-print-root-log): Always set `default-directory'
75 value, whether we could auto-deduce `backend', or not.
76
369bbf71
DG
77 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
78 with parameters" example. Simplify the "is it block or is it
79 hash" check, but also make it more thorough.
80
d5f1282f
MF
812013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
82
83 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
84
bc4aaa31
SM
852013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
86
03d44565
SM
87 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
88 { if it is hanging.
89
bc4aaa31
SM
90 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
91 :before ";".
92
f493ff19
JB
932013-10-23 Jed Brown <jed@59A2.org> (tiny change)
94
95 * progmodes/compile.el (compilation-directory-matcher)
96 (compilation-page-delimiter):
97 Support GNU Make-4.0 directory quoting. (Bug#15678)
98
c744a3b9
LL
992013-10-23 Leo Liu <sdl.web@gmail.com>
100
101 * ido.el (ido-tidy): Handle read-only text.
102
b8e3b0a9
GM
1032013-10-23 Glenn Morris <rgm@gnu.org>
104
105 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
106 (emacs, compile, compile-always):
107 Quote entities that might contain whitespace.
108 (custom-deps, finder-data, autoloads): Use abs_lisp.
109 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
110 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
111 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
112
ee4282cd
DG
1132013-10-23 Dmitry Gutov <dgutov@yandex.ru>
114
bc4aaa31
SM
115 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
116 Use `following-char'.
7790a270 117
ee4282cd 1182013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
119
120 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
121 * progmodes/ruby-mode.el (ruby-smie-rules):
122 Remove corresponding workaround. Fix indentation rule of ";" so it
123 also applies when ";" is the parent.
124
d40a46d7
XF
1252013-10-22 Xue Fuqiao <xfq.free@gmail.com>
126
127 * frame.el (display-screens, display-pixel-height)
128 (display-pixel-width, display-mm-width, display-backing-store)
129 (display-save-under, display-planes, display-color-cells)
7790a270
SM
130 (display-visual-class, display-monitor-attributes-list):
131 Mention the optional ‘display’ argument in doc strings.
d40a46d7 132
a0f143c9
MG
1332013-10-22 Michael Gauland <mikelygee@amuri.net>
134
135 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
136 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
137
18cacc39
DG
1382013-10-21 Dmitry Gutov <dgutov@yandex.ru>
139
140 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
141 TODO. Add "." after " @ ".
142 (ruby-smie--at-dot-call): New function. Checks if point at method
143 call with explicit target.
144 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
145 to the method name tokens when it precedes them.
146 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
147 (ruby-smie-rules): Add rule for indentation before and after "."
148 token.
149
df74c4be
SM
1502013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
151
c6dab55f
SM
152 * textmodes/remember.el (remember-diary-extract-entries):
153 Avoid add-to-list.
154
df74c4be
SM
155 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
156 an instruction.
157
8c1ae481
DG
1582013-10-21 Dmitry Gutov <dgutov@yandex.ru>
159
cfef16c0
DG
160 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
161 (ruby-smie--implicit-semi-p): Add new operator chars.
162
8c1ae481
DG
163 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
164 `smie-down-list'.
165 (ruby-smie--args-separator-p): Check that there's no newline
166 between method call and its arguments.
167
87756ca9
AM
1682013-10-20 Alan Mackenzie <acm@muc.de>
169
170 Allow comma separated lists after Java "implements".
171
df74c4be
SM
172 * progmodes/cc-engine.el (c-backward-over-enum-header):
173 Parse commas.
87756ca9
AM
174 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
175 from a "disallowed" list in enum fontification.
176
c25f8957
JB
1772013-10-20 Johan Bockgård <bojohan@gnu.org>
178
df74c4be 179 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 180
c25f8957
JB
181 * progmodes/verilog-mode.el (verilog-mode): Don't set
182 comment-indent-function globally.
183
aca5fcdc
JD
1842013-10-20 Jan Djärv <jan.h.d@swipnet.se>
185
5f161884
JD
186 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
187 Move Info menu item creation to ns-win.el.
188
189 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
190 in menu bar.
191
aca5fcdc
JD
192 * menu-bar.el: Move GNUStep specific menus...
193
194 * term/ns-win.el (ns-initialize-window-system): ... to here.
195
914b7f98
SM
1962013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * simple.el (newline): Only run post-self-insert-hook when
199 called interactively.
200
846ffe77
JB
2012013-10-19 Johan Bockgård <bojohan@gnu.org>
202
203 * icomplete.el (icomplete-with-completion-tables): Add :version.
204
033f22dd
AM
2052013-10-19 Alan Mackenzie <acm@muc.de>
206
207 Fix fontification bugs with constructors and const.
208
209 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
210 CASE 2) Remove the check for the absence of a suffix construct
211 after a function declaration with only types (no identifiers) in
212 the parentheses. Also, accept a function declaration with just a
213 type inside the parentheses, if this type can be positively
214 recognised as such, or if a prefix keyword like "explicit" nails
215 down the construct as a declaration.
216
58ce0cfc
EZ
2172013-10-19 Eli Zaretskii <eliz@gnu.org>
218
219 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
220 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
221 the problem whereby selecting a menu item that leads to a
222 minibuffer prompt moves the cursor out of the minibuffer window,
223 making it hard to type at the prompt. Suggested by Stefan Monnier
224 <monnier@iro.umontreal.ca>.
225
50e28e7d
JD
2262013-10-19 Jan Djärv <jan.h.d@swipnet.se>
227
228 * menu-bar.el: Don't make Services menu.
229
7deed4bf
RS
2302013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
231
232 * ffap.el: Handle "/usr/include/c++/<version>" directories.
233 (ffap-alist): Use ffap-c++-mode for c++-mode.
234 (ffap-c++-path): New variable.
235 (ffap-c++-mode): New function.
236
7bcb455b
JVJ
2372013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
238
239 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
240
f0ff1cd5
MA
2412013-10-18 Michael Albinus <michael.albinus@gmx.de>
242
243 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
244 introduced on 2013-09-08, which results in an infinite loop
245 requesting a password.
246
d64da4b7
GM
2472013-10-18 Glenn Morris <rgm@gnu.org>
248
249 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
250
ea89ff08
WS
2512013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
252
253 Sync with upstream verilog-mode revision 1a6ecec7.
254 * progmodes/verilog-mode.el (verilog-mode-version): Update.
255 (verilog-mode-release-date): Remove.
256 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
257 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
258 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
259 (verilog-auto-tieoff-ignore-regexp)
260 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
261 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
262 (verilog-signals-with, verilog-dir-cache-preserving)
263 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
264 Doc fixes.
265 (verilog-case-fold): New option, to control case folding in
266 regexp searches, bug597.
267 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
268 (verilog-string-match-fold, verilog-in-paren-count)
269 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
270 (verilog-at-close-struct-p): New functions.
271 (verilog-beg-block-re-ordered, verilog-extended-case-re)
272 (verilog-forward-sexp, verilog-set-auto-endcomments):
273 (verilog-leap-to-case-head): Handle "unique0" case.
274 (verilog-in-constraint-re): New constant.
275 (verilog-keywords, verilog-type-font-keywords):
276 Add some SystemVerilog 1800-2012 keywords.
277 (verilog-label-be): Remove unimplemented argument, bug669.
278 (verilog-batch-execute-func): When batch expanding clear
279 create-lockfiles to prevent spurious user locks when a file ends
280 up not changing.
281 (verilog-calculate-indent, verilog-calc-1)
282 (verilog-at-close-constraint-p, verilog-at-constraint-p)
283 (verilog-do-indent): Fix indentation of nested constraints
284 and structures.
285 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
286 (verilog-auto-inst-param): Use verilog-string-match-fold.
287 (verilog-read-inst-module-matcher):
288 Fix AUTOINST on gate primitives with #1.
289 (verilog-read-decls): Fix double-declaring user-defined typed signals.
290 Reads all user-defined typed variables.
291 (verilog-read-defines): Fix reading definitions inside comments, bug647.
292 (verilog-signals-matching-regexp)
293 (verilog-signals-not-matching-regexp, verilog-auto):
294 Respect verilog-case-fold.
295 (verilog-diff-report): Fix line count.
296 (verilog-auto-assign-modport): Remove unused local `modi'.
297 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
298 better handle multidimensional arrays.
299 Fix packed array ports misadding bit index in AUTOINST, bug637.
300 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
301 to not double-declare existing outputs and inputs, respectively.
302 (verilog-template-map): Bind U to verilog-sk-uvm-component.
303 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
304 (verilog-sk-uvm-component): New skeleton.
305 (verilog-submit-bug-report): Add verilog-case-fold,
306 remove verilog-mode-release-date.
307
ef566920
BR
3082013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
309
310 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
311 as before.
312
29df8a0b
RT
3132013-10-18 Reuben Thomas <rrt@sc3d.org>
314
315 * textmodes/remember.el (remember): set buffer-offer-save in
316 remember buffers (bug#13566).
317
04a19a79
DC
3182013-10-18 Daniel Colascione <dancol@dancol.org>
319
320 When evaluating forms in ielm, direct standard output to ielm
321 buffer. Add new ielm-return-for-effect command. Remove trailing
322 whitespace throughout.
323
324 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
325 (ielm-return-for-effect): New command.
326 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
327 (ielm-eval-input): Accept optional `for-effect' parameter.
328 Bind `standard-output' to stream we create using
04a19a79
DC
329 `ielm-standard-output-impl'. Suppress printing result when
330 `for-effect'.
331 (ielm-standard-output-impl): New function.
332 (inferior-emacs-lisp-mode): Explain new features in documentation.
333
4c1f03ef
MA
3342013-10-17 Michael Albinus <michael.albinus@gmx.de>
335
336 Code cleanup.
337
338 * net/tramp.el (tramp-debug-message): Do not check for connection
339 buffer.
340 (tramp-message): Use "vector" connection property.
341
342 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
343 (tramp-equal-remote, tramp-eshell-directory-change)
344 * net/tramp-adb.el (tramp-adb-handle-copy-file)
345 (tramp-adb-handle-rename-file)
346 * net/tramp-cmds.el (tramp-list-remote-buffers)
347 (tramp-cleanup-connection, tramp-cleanup-this-connection)
348 * net/tramp-compat.el (tramp-compat-process-running-p)
349 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
350 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
351 (tramp-gvfs-handle-rename-file)
352 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
353 (tramp-set-file-uid-gid)
354 * net/tramp-smb.el (tramp-smb-handle-copy-file)
355 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
356 of `file-remote-p'.
357
358 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
359 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
360 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
361 (tramp-gw-open-network-stream): Suppress unrelated traces.
362
363 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
364 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
365 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
366 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
367 connection property.
368
369 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 370 persistency file.
4c1f03ef
MA
371
372 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
373 Refactor common code. Improve debug message.
374 (tramp-maybe-open-connection)
375 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
376 connection buffer too early.
377
378 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
379 from `tramp-smb-actions-with-acl'.
380 (tramp-smb-actions-set-acl): New defconst.
381 (tramp-smb-handle-copy-directory)
382 (tramp-smb-action-get-acl): New defun, renamed from
383 `tramp-smb-action-with-acl'.
384 (tramp-smb-action-set-acl): New defun.
385 (tramp-smb-handle-set-file-acl): Rewrite.
386
642eb8b6
GM
3872013-10-17 Glenn Morris <rgm@gnu.org>
388
389 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
390
85527ff3
SM
3912013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
392
921c1d62
SM
393 * skeleton.el (skeleton-newline): Remove.
394 (skeleton-internal-1): Use (insert "\n") instead.
395
e333fb10
SM
396 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
397 let-bindings.
398
85527ff3
SM
399 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
400 forward-sexp-function while we redo its job (bug#15613).
401
c8722a97
JB
4022013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
403
404 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
405 represented by lists.
406
7a550bbb
GM
4072013-10-16 Glenn Morris <rgm@gnu.org>
408
409 * tmm.el (tmm--history): New dynamic variable.
410 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
411
f19da8ad
MA
4122013-10-16 Michael Albinus <michael.albinus@gmx.de>
413
414 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
415 (tramp-smb-errors): Add error messages.
416 (tramp-smb-actions-with-acl): New defconst.
417 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
418 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
419 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
420 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
421 (tramp-smb-get-stat-capability): Fix tests.
422
a24b9961
DK
4232013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
424
425 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
426 (bug#15580).
427
62ad85e6
GM
4282013-10-16 Glenn Morris <rgm@gnu.org>
429
0283d6b0
GM
430 * ansi-color.el (ansi-color-drop-regexp):
431 Add 1J, 1K, 2K. (Bug#15617)
432
012e2f9f
GM
433 * files.el (hack-local-variables--warned-lexical): New.
434 (hack-local-variables):
435 Warn about misplaced lexical-binding. (Bug#15616)
436
62ad85e6
GM
437 * net/eww.el (eww-render): Always set eww-current-url,
438 and update header line. (Bug#15622)
439 (eww-display-html): ... Rather than just doing it here.
440
6456c0ea
EZ
4412013-10-15 Eli Zaretskii <eliz@gnu.org>
442
443 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
444 menu navigations commands.
445
c2de5588
DK
4462013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
447
448 * progmodes/subword.el (subword-capitalize): Be careful when
449 the search for [[:alpha:]] fails (bug#15580).
450
ccd4a783
EZ
4512013-10-14 Eli Zaretskii <eliz@gnu.org>
452
453 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
454 to commands that scroll the menu.
455
1eda1d8d
DG
4562013-10-14 Dmitry Gutov <dgutov@yandex.ru>
457
c2de5588
DK
458 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
459 Handle methods ending with `?' and `!'.
1eda1d8d 460
e70181b8
AM
4612013-10-14 Akinori MUSHA <knu@iDaemons.org>
462
463 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
464 `japanese-cp932' to `cp932' to fix the problem where saving a
465 source file written in Shift_JIS twice would end up having
466 `coding: japanese-cp932' which Ruby could not recognize.
467 (ruby-mode-set-encoding): Add support for encodings mapped to nil
468 in `ruby-encoding-map'.
469 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
470 doesn't need to be explicitly declared in magic comment.
471 (ruby-encoding-map): Add type declaration for better customize UI.
472
9148ee92
GM
4732013-10-13 Glenn Morris <rgm@gnu.org>
474
a5d38e34
GM
475 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
476 Occur buffers are read-only. http://bugs.debian.org/720775
477
9148ee92
GM
478 * emacs-lisp/authors.el (authors-fixed-entries):
479 Comment out old alpha stuff.
480
a9ba094b
DG
4812013-10-13 Dmitry Gutov <dgutov@yandex.ru>
482
483 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
484 to `after-save-hook' instead of `before-save-hook'.
485 (ruby-mode-set-encoding): Use the value of coding system used to
486 write the file. Call `basic-save-buffer-1' after modifying the
487 buffer.
488
7a068717
AM
4892013-10-13 Alan Mackenzie <acm@muc.de>
490
491 Fix indentation/fontification of Java enum with
492 "implements"/generic.
493
c2de5588
DK
494 * progmodes/cc-engine.el (c-backward-over-enum-header):
495 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
496 (c-inside-bracelist-p): Uses new function above.
497 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
498 function above.
499 (c-font-lock-enum-tail): Uses new function above.
500
85b64f02
KH
5012013-10-13 Kenichi Handa <handa@gnu.org>
502
503 * international/mule-cmds.el (select-safe-coding-system): Remove a
504 superfluous condition in chekcing whether a coding system is safe
505 or not.
506
fc7f501b
OK
5072013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
508
509 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
510
fdcb2049
AP
5112013-10-13 Andreas Politz <politza@hochschule-trier.de>
512
513 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
514
8c106d17
GM
5152013-10-13 Glenn Morris <rgm@gnu.org>
516
feab892d
GM
517 * menu-bar.el (menu-bar-update-buffers):
518 Unify Buffers menu prompt string. (Bug#15576)
519
b22d0686
GM
520 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
521
8c106d17
GM
522 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
523 Add some entries.
524 (authors-fixed-entries): Use accented form of name.
525
1b12c797
SM
5262013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
527
650fa7bf 528 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 529 method calls (bug#15594).
650fa7bf
SM
530 (ruby-smie--args-separator-p): New function.
531 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
532 recognize paren-free method calls.
533
1b12c797
SM
534 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
535 internals of universal-argument.
536
029619c8
EZ
5372013-10-11 Eli Zaretskii <eliz@gnu.org>
538
539 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
540 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
541 dropped menu on second mouse click on the menu bar.
029619c8 542
dd070019
SM
5432013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
544
545 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
546 (explicit-shell-file-name): Declare.
547 (sh--vars-before-point, sh--cmd-completion-table): New functions.
548 (sh-completion-at-point-function): New function.
549 (sh-mode): Use it.
550 (sh-smie--keyword-p): Remove unused argument.
551 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
552 vars.
553 (sh-set-shell): Always setup SMIE, even if we use the
554 old indentation code.
555
0922b826
DG
5562013-10-11 Dmitry Gutov <dgutov@yandex.ru>
557
b68e2926
DG
558 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
559 cases of ? and =.
560 (ruby-smie-rules): Simplify the "do" rule. The cases when the
561 predicate would return nil are almost non-existent.
562 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
563
0922b826
DG
564 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
565 cache also after commands that modify the buffer but don't move
566 point.
567
ee041f2d
SM
5682013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * env.el (substitute-env-in-file-name): New function.
571 (substitute-env-vars): Extend the meaning of the optional arg.
572
a5dab159
EZ
5732013-10-10 Eli Zaretskii <eliz@gnu.org>
574
575 * term/w32-win.el (dynamic-library-alist): Define separate lists
576 of GIF DLLs for versions before and after 5.0.0 of giflib.
577 (Bug#15531)
578
db138698
JT
5792013-10-10 João Távora <joaotavora@gmail.com>
580
581 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
582 not locked, use last revision and current source as
583 defaults. (Bug#15569)
584
2f6e161e
MY
5852013-10-10 Masatake YAMATO <yamato@redhat.com>
586
587 * menu-bar.el (menu-bar-open): Don't use popup-menu if
588 menu-bar is hidden.
589
6c8413fc
MR
5902013-10-10 Martin Rudalics <rudalics@gmx.at>
591
592 * window.el (pop-to-buffer-same-window): Fix doc-string.
593 (Bug#15492)
594
20832de0
SM
5952013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
596
597 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
598
c6e8ae77
AC
5992013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
600
601 * calendar/icalendar.el (icalendar-import-file):
602 Fix interactive spec. (Bug#15482)
603
9db13baf
GM
6042013-10-10 Glenn Morris <rgm@gnu.org>
605
9271e90e
GM
606 * desktop.el (desktop-save): Default to saving in .emacs.d,
607 since PWD is no longer in desktop-path by default. (Bug#15319)
608
9db13baf
GM
609 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
610 now that text mode has a menu with the same entry.
611 (menu-bar-text-mode-auto-fill): Remove now unused func.
612 * textmodes/text-mode.el (text-mode-map):
613 Use auto-fill help text from menu-bar.el.
614
a066720c
JA
6152013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
616
617 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
618
2edcd3c7
JL
6192013-10-09 Juri Linkov <juri@jurta.org>
620
621 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
622 instead of this-command-keys. Add universal-argument-more and
623 universal-argument-minus to the list of prefix commands. (Bug#15568)
624
574411d0
GM
6252013-10-09 Glenn Morris <rgm@gnu.org>
626
14afa541
GM
627 * vc/vc-svn.el (vc-svn-create-repo):
628 Expand paths in file://... url. (Bug#15446)
629
574411d0
GM
630 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
631 Add some entries.
632 (authors): Remove unused local variables.
633
79804536
SM
6342013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * profiler.el: Create a more coherent calltree from partial backtraces.
637 (profiler-format): Hide the tail with `invisible' so that C-s can still
638 find the hidden elements.
639 (profiler-calltree-depth): Don't recurse so enthusiastically.
640 (profiler-function-equal): New hash-table-test.
641 (profiler-calltree-build-unified): New function.
642 (profiler-calltree-build): Use it.
643 (profiler-report-make-name-part): Indent the calltree less.
644 (profiler-report-mode): Add visibility specs for profiler-format.
645 (profiler-report-expand-entry, profiler-report-toggle-entry):
646 Expand the whole subtree when provided with a prefix arg.
647
238150c8
DG
6482013-10-09 Dmitry Gutov <dgutov@yandex.ru>
649
650 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
651 iuwu-mod token.
652 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
653 hanging iuwu-mod token.
654 (ruby-smie--forward-token): Do not include a dot after a token in
655 that token.
656 (ruby-smie--backward-token): Likewise.
657
b0949cc4
JL
6582013-10-08 Juri Linkov <juri@jurta.org>
659
660 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
661 to isearch-other-control-char.
662 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
663 and isearch-post-command-hook to post-command-hook.
664 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
665 and isearch-post-command-hook from post-command-hook.
666 (isearch-unread-key-sequence)
667 (isearch-reread-key-sequence-naturally)
668 (isearch-lookup-scroll-key, isearch-other-control-char)
669 (isearch-other-meta-char): Remove functions.
670 (isearch-pre-command-hook, isearch-post-command-hook):
671 New functions based on isearch-other-meta-char rewritten
672 relying on the new behavior of overriding-terminal-local-map
673 that does not replace the local keymaps any more. (Bug#15200)
674
4ed77415
EZ
6752013-10-08 Eli Zaretskii <eliz@gnu.org>
676
677 Support menus on text-mode terminals.
678 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
679 functionality.
680
681 * tooltip.el (tooltip-mode): Don't error out on TTYs.
682
c2de5588
DK
683 * menu-bar.el (popup-menu, popup-menu-normalize-position):
684 Move here from mouse.el.
4ed77415
EZ
685 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
686 and arrow keys.
687 (tty-menu-navigation-map): New map for TTY menu navigation.
688
689 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
690
691 * frame.el (display-mouse-p): Report text-mode mouse as available
692 on w32.
693 (display-popup-menus-p): Report availability if mouse is
694 available; don't condition on window-system.
695
696 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
697 (tty-menu-selected-face): New faces.
698
b7d5bd82
TL
6992013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
700
06286513
SM
701 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
702 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
703 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
704 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
705 New constants.
706 (lisp-mode-variables): New `elisp' argument.
707 (emacs-lisp-mode): Use it.
708 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
709 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
710
b7d5bd82
TL
711 * indent.el: Use lexical-binding.
712 (indent-region): Add progress reporter.
713 (tab-stop-list): Make it implicitly extend to infinity by repeating the
714 last step.
715 (indent--next-tab-stop): New function to implement this behavior.
716 (tab-to-tab-stop, move-to-tab-stop): Use it.
717
7182013-10-08 Teemu Likonen <tlikonen@iki.fi>
719
720 * indent.el (indent-rigidly--current-indentation): New function.
721 (indent-rigidly-map): New var.
722 (indent-rigidly): Use it to provide interactive mode (bug#8196).
723
5ea75d23
BG
7242013-10-08 Bastien Guerry <bzg@gnu.org>
725
726 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
727
cc5da1ec
SM
7282013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
729
8ffa1a0b
SM
730 * progmodes/perl-mode.el: Use lexical-binding.
731 Remove redundant :group args.
732 (perl-nochange): Change default to be closer to other major modes's
733 standard behavior.
734 (perl-indent-line): Don't consider text on current line as a
735 valid beginning of function from which to indent.
736
f2223371
SM
737 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
738 with more than one argument (bug#15538).
739
44256060
SM
740 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
741
cc5da1ec
SM
742 * vc/pcvs.el: Use lexical-binding.
743 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
744 environment of `eval'.
745 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
746 than a list of expressions. Adjust callers.
747 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
748
0ea1599d
DG
7492013-10-07 Dmitry Gutov <dgutov@yandex.ru>
750
751 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 752 case of the dot in a chained method call being on the following line.
0ea1599d 753
da3e5ebb
SM
7542013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
755
2abb4e65
SM
756 * electric.el (electric-indent-inhibit): New var.
757 (electric-indent-post-self-insert-function): Use it.
758 * progmodes/python.el (python-mode): Set it.
759
d2e0e795
SM
760 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
761 open braces.
762
763 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
764
bdc6b4c8
SM
765 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
766 (css-mode): Use electric-indent-chars.
767
da3e5ebb
SM
768 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
769 (font-lock-beg, font-lock-end): Move before first use.
770 (nxml-mode): Use syntax-propertize-function.
771 (nxml-after-change, nxml-after-change1): Adjust accordingly.
772 (nxml-extend-after-change-region): Remove.
773 * nxml/xmltok.el: Use lexical-binding.
774 (xmltok-save): Use `declare'.
775 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
776 * nxml/nxml-util.el: Use lexical-binding.
777 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
778 Use `declare'.
779 * nxml/nxml-ns.el: Use lexical-binding.
780 (nxml-ns-save): Use `declare'.
781 (nxml-ns-prefixes-for): Avoid add-to-list.
782 * nxml/rng-match.el: Use lexical-binding.
783 (rng--ipattern): Use cl-defstruct.
784 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
785 (rng-cons-group-after, rng-subst-group-after)
786 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
787 Use closures instead of `(lambda...).
788
f8f91d5d
MA
7892013-10-07 Michael Albinus <michael.albinus@gmx.de>
790
791 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
792 of BEG and END.
793
da3e5ebb
SM
794 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
795 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
796 (tramp-gvfs-handle-insert-file-contents): Remove function.
797
da3e5ebb
SM
798 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
799 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
800
801 * net/trampver.el: Update release number.
802
7ccae3b1
SM
8032013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
804
55ca2c0d
SM
805 * progmodes/compile.el (compilation-parse-errors):
806 Use compilation--put-prop.
807 (compilation--ensure-parse): Check compilation-multiline.
808
731fc3ae
SM
809 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
810
da3e5ebb
SM
811 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
812 lexical-binding.
a5833280 813
2e7ba2c2
SM
814 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
815
7ccae3b1
SM
816 * progmodes/ruby-mode.el: Fix recently added tests.
817 (ruby-smie-grammar): Add - and +.
818 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
819 (ruby-smie--backward-id): New functions.
820 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
821 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
822 any more.
823
85698d63
LL
8242013-10-07 Leo Liu <sdl.web@gmail.com>
825
826 * register.el (register-preview-delay)
827 (register-preview-functions): New variables.
828 (register-read-with-preview, register-preview)
829 (register-describe-oneline): New functions.
830 (point-to-register, window-configuration-to-register)
831 (frame-configuration-to-register, jump-to-register)
832 (number-to-register, view-register, insert-register)
833 (copy-to-register, append-to-register, prepend-to-register)
834 (copy-rectangle-to-register): Use register-read-with-preview to
835 read register. (Bug#15525)
836
3986af6c
DS
8372013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
838
839 * net/network-stream.el (network-stream-open-starttls): Don't add
840 --insecure if it's already present, because that gnutls-cli
841 rejects getting that parameter twice.
842
5cd9cda9
DG
8432013-10-06 Dmitry Gutov <dgutov@yandex.ru>
844
845 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
846 keyword, too.
847
da9ea6d9
DG
8482013-10-05 Dmitry Gutov <dgutov@yandex.ru>
849
850 * newcomment.el (comment-use-global-state): Change default value
851 to t, mark obsolete (Bug#15251).
852 (comment-beginning): In addition to `comment-to-syntax', check the
853 value of `comment-use-global-state'.
854
34d1a133
SM
8552013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
858 (ruby-comment-column): Follow the global default, by default.
859 (ruby-smie-grammar): Add assignment syntax.
860 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
861 open-paren, a comma, or a \.
862 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
863 and line continuations.
864 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
865 followed by implicit semi-colons. Add rule for string concatenation
866 and for indentation at BOB.
867 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
868
869 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
870 calling next-sexp, since next-token may have skipped chars which
871 next-sexp doesn't know should be skipped!
872
6f6ab820
LL
8732013-10-05 Leo Liu <sdl.web@gmail.com>
874
34d1a133
SM
875 * progmodes/octave.el (octave-send-region):
876 Call compilation-forget-errors.
6f6ab820 877
34ca0f4c
XF
8782013-10-04 Xue Fuqiao <xfq.free@gmail.com>
879
880 * vc/vc-svn.el (vc-svn-find-admin-dir):
881 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
882 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
883 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
884 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
885
a27c1b72
SM
8862013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
889
258ab3bc
SM
8902013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
891
892 * subr.el (read-passwd): Hide chars even when called within a context
893 where after-change-functions is disabled (bug#15501).
894 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
895 until we removed ourself from overriding-terminal-local-map.
896
939fb29c
LL
8972013-10-04 Leo Liu <sdl.web@gmail.com>
898
258ab3bc
SM
899 * progmodes/octave.el (inferior-octave-mode):
900 Call compilation-forget-errors.
939fb29c 901
63bd7f35
XF
9022013-10-04 Xue Fuqiao <xfq.free@gmail.com>
903
904 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
905
9e6229fa
MA
9062013-10-04 Michael Albinus <michael.albinus@gmx.de>
907
908 * net/secrets.el (secrets-create-collection): Add optional
909 argument ALIAS. Use proper Label keyword. Append ALIAS as
910 dbus-call-method argument. (Bug#15516)
911
1dab32a3
LL
9122013-10-04 Leo Liu <sdl.web@gmail.com>
913
914 * progmodes/octave.el (inferior-octave-error-regexp-alist)
915 (inferior-octave-compilation-font-lock-keywords): New variables.
916 (compilation-error-regexp-alist)
917 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
918 (inferior-octave-mode): Use compilation-shell-minor-mode.
919
6cad7ba3
JS
9202013-10-04 Jorgen Schaefer <forcer@forcix.cx>
921
922 * minibuffer.el (completion--replace): Be careful that `end' might be
923 a marker.
924
acbadd00
DU
9252013-10-03 Daiki Ueno <ueno@gnu.org>
926
927 Add support for package signature checking.
928 * emacs-lisp/package.el (url-http-file-exists-p)
929 (epg-make-context, epg-context-set-home-directory)
930 (epg-verify-string, epg-context-result-for)
931 (epg-signature-status, epg-signature-to-string)
932 (epg-check-configuration, epg-configuration)
933 (epg-import-keys-from-file): Declare.
934 (package-check-signature): New user option.
935 (package-unsigned-archives): New user option.
936 (package-desc): Add `signed' field.
937 (package-load-descriptor): Set `signed' field if .signed file exists.
938 (package--archive-file-exists-p): New function.
939 (package--check-signature): New function.
940 (package-install-from-archive): Check package signature.
941 (package--download-one-archive): Check archive signature.
942 (package-delete): Remove .signed file.
943 (package-import-keyring): New command.
944 (package-refresh-contents): Import default keyring.
945 (package-desc-status): Add "unsigned" status.
946 (describe-package-1, package-menu--print-info)
947 (package-menu-mark-delete, package-menu--find-upgrades)
948 (package-menu--status-predicate): Support "unsigned" status.
949
adf2aa61
SM
9502013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
953 the new compilation scheme using the new byte-codes.
954
955 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
956 (byte-pophandler): New byte codes.
957 (byte-goto-ops): Adjust accordingly.
958 (byte-compile--use-old-handlers): New var.
959 (byte-compile-catch): Use new byte codes depending on
960 byte-compile--use-old-handlers.
961 (byte-compile-condition-case--old): Rename from
962 byte-compile-condition-case.
963 (byte-compile-condition-case--new): New function.
964 (byte-compile-condition-case): New function that dispatches depending
965 on byte-compile--use-old-handlers.
966 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
967 when we can.
968
969 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
970 Optimize under `condition-case' and `catch' if
971 byte-compile--use-old-handlers is nil.
972 (disassemble-offset): Handle new bytecodes.
973
328a8179
SM
9742013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * subr.el (error): Use `declare'.
977 (decode-char, encode-char): Use advertised-calling-convention instead
978 of the docstring to discourage use of the `restriction' arg.
979
15a1e936
DU
9802013-10-03 Daiki Ueno <ueno@gnu.org>
981
982 * epg.el (epg-verify-file): Add a comment saying that it does not
983 notify verification error as a return value nor a signal.
984 (epg-verify-string): Ditto.
985
376f862a
KR
9862013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
987
988 * progmodes/compile.el (compilation-start): Try globbing the arg to
989 `cd' (bug#15417).
990
a2f93a5f
MA
9912013-10-02 Michael Albinus <michael.albinus@gmx.de>
992
993 Sync with Tramp 2.2.8.
994
995 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
996 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
997 * net/trampver.el: Update release number.
998
0daa0804
JD
9992013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1000
1001 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1002 and default-process-coding-system for darwin only.
1003
abd1ae34
SM
10042013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1007
be4e325d
MH
10082013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1009
1010 * vc/vc-git.el (vc-git-grep): Disable pager.
1011
e9155c4a
DG
10122013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1013
494e898b
DG
1014 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1015 Use :url instead of :homepage, as per
1016 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1017
e9155c4a
DG
1018 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1019 non-nil, use `syntax-ppss' (Bug#15251).
1020
481a8e0f
RS
10212013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1022
be4e325d
MH
1023 * progmodes/octave.el (inferior-octave-startup-file):
1024 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 1025
056453c6
DG
10262013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1027
be4e325d
MH
1028 * emacs-lisp/package.el (package-desc-from-define):
1029 Accept additional arguments as plist, convert them to an alist and store
1030 them in the `extras' slot.
056453c6
DG
1031 (package-generate-description-file): Convert extras alist back to
1032 plist and append to the `define-package' form arguments.
1033 (package--alist-to-plist): New function.
1034 (package--ac-desc): Add `extras' slot.
1035 (package--add-to-archive-contents): Check if the archive-contents
1036 vector is long enough, and if it is, pass its `extras' slot value
1037 to `package-desc-create'.
1038 (package-buffer-info): Call `lm-homepage', pass the returned value
1039 to `package-desc-from-define'.
1040 (describe-package-1): Render the homepage button (Bug#13291).
1041
be4e325d
MH
1042 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1043 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 1044
832966e5
JD
10452013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1046
1047 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1048 and default-process-coding-system to utf-8-unix (Bug#15402).
1049
6cfe977d
XF
10502013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1051
1052 * subr.el (looking-back): Do not recommend using looking-back.
1053
38de11bd
AM
10542013-09-28 Alan Mackenzie <acm@muc.de>
1055
1056 Fix indentation/fontification of Java enum with "implements".
1057
1058 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1059 regexp which matches "implements", etc., in Java.
1060 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1061 specifier clauses coming after "enum".
1062 * progmodes/cc-fonts.el (c-font-lock-declarations)
1063 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1064 after "enum".
1065
1610938f
JD
10662013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1067
1068 * faces.el (region): Change ns_selection_color to
1069 ns_selection_fg_color, add ns_selection_bg_color.
1070
e090f499
LL
10712013-09-28 Leo Liu <sdl.web@gmail.com>
1072
4d2e94d1
LL
1073 * progmodes/octave.el (inferior-octave-completion-table)
1074 (inferior-octave-completion-at-point): Minor tweaks.
1075
e090f499
LL
1076 * textmodes/ispell.el (ispell-lookup-words): Rename from
1077 lookup-words. (Bug#15460)
1078 (lookup-words): Obsolete.
1079 (ispell-complete-word, ispell-command-loop): All uses changed.
1080
7e138a62
RS
10812013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1082
1083 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1084 (octave-mode-menu): Add octave-send-buffer.
1085 (octave-send-buffer): New function.
1086
5af5ed08
RS
10872013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1088
1089 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1090 octave-lookfor.
1091 (octave-mode-menu): Add octave-lookfor.
1092 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1093 octave-lookfor.
1094 (octave-lookfor): New function.
1095
3b7b2692
SM
10962013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * emacs-lisp/cl-macs.el:
1099 (cl--loop-destr-temps): Remove.
1100 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1101 its convention.
1102 (cl--loop-set-iterator-function): New function.
1103 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1104 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1105 Bind `it' with `let' instead of substituting it with `cl-subst'.
1106 (cl--unused-var-p): New function.
1107 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1108 Eliminate some unused variable warnings (bug#15326).
1109
529fb53f
TH
11102013-09-27 Tassilo Horn <tsdh@gnu.org>
1111
1112 * doc-view.el (doc-view-scale-reset): Rename from
1113 `doc-view-reset-zoom-level'.
1114 (doc-view-scale-adjust): New command.
1115 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1116 `doc-view-scale-adjust'.
1117
0550c95a
TH
11182013-09-26 Tassilo Horn <tsdh@gnu.org>
1119
1120 * doc-view.el (doc-view-reset-zoom-level): New command.
1121 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1122 zoom commands (bug#15466).
1123
6950f152
KH
11242013-09-26 Kenichi Handa <handa@gnu.org>
1125
1126 * international/quail.el (quail-help): Make it not a command.
1127
39587580
LL
11282013-09-26 Leo Liu <sdl.web@gmail.com>
1129
1130 * minibuffer.el (completion-all-sorted-completions): Make args
1131 optional as they are.
1132
00578659
DC
11332013-09-25 Daniel Colascione <dancol@dancol.org>
1134
1135 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1136 specs are and that they're not evaluated.
1137
0c173878
SS
11382013-09-24 Sam Steingold <sds@gnu.org>
1139
1140 * midnight.el (clean-buffer-list-kill-regexps)
1141 (clean-buffer-list-kill-buffer-names): Update for the new Man
1142 buffer naming which includes the object name.
1143
84998447
SM
11442013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1147 (eshell-parse-command, eshell-parse-pipeline): Use it since
1148 eshell-separate-commands requires a dynamic scoped var.
1149 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1150
33215353
LL
11512013-09-23 Leo Liu <sdl.web@gmail.com>
1152
1153 * autoinsert.el (auto-insert-alist): Make the value of
1154 lexical-binding match its file setting.
1155
57b16162
JB
11562013-09-23 Juanma Barranquero <lekktu@gmail.com>
1157
c8af4e67
JB
1158 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1159
57b16162
JB
1160 * autoarg.el (autoarg-kp-digit-argument):
1161 * electric.el (Electric-command-loop):
1162 * kmacro.el (kmacro-step-edit-insert):
1163 Do not set universal-argument-num-events.
1164
7186ba60
LL
11652013-09-22 Leo Liu <sdl.web@gmail.com>
1166
1167 * files.el (interpreter-mode-alist): Add octave.
1168
ece15004
AM
11692013-09-21 Alan Mackenzie <acm@muc.de>
1170
1171 C++: fontify identifier in declaration following "public:" correctly.
1172 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1173 to match "public", etc.
1174 (c-decl-prefix-re): Add ":" into the C++ value.
1175 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1176 bit. Add a check for a ":" preceded by "public", etc.
1177
75d83e22
EZ
11782013-09-21 Eli Zaretskii <eliz@gnu.org>
1179
1180 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1181 recognized by GDB 7.5 and later.
1182
d052d3bd
XF
11832013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1184
1185 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1186
31dca772
R
11872013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * subr.el (internal--call-interactively): New const.
1190 (called-interactively-p): Use it (bug#3984).
1191
98ccf24e
XF
11922013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1193
1194 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
1195 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1196 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 1197
c39cc7d1
SM
11982013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1201 (eshell-ls-orig-insert-directory): Remove.
1202 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1203 (eshell-ls-use-in-dired): Use advice-add/remove.
1204 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1205 Add `orig-fun' arg for use in :around advice.
1206 Make it check (redundantly) eshell-ls-use-in-dired.
1207
9a0289a2
GM
12082013-09-19 Glenn Morris <rgm@gnu.org>
1209
a2c501b8
GM
1210 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1211
c440407a
GM
1212 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1213
9a0289a2
GM
1214 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1215
85e05915
MA
12162013-09-19 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1219 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1220 (tramp-get-remote-python): New defuns.
1221 (tramp-get-remote-uid-with-perl)
1222 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1223 contributed by yary <not.com@gmail.com> (tiny change).
1224 (tramp-get-remote-uid-with-python)
1225 (tramp-get-remote-gid-with-python): New defuns. Python code
1226 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1227 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1228
ce503312
GM
12292013-09-19 Glenn Morris <rgm@gnu.org>
1230
f7544773
GM
1231 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1232
72fd2877
GM
1233 * eshell/em-unix.el (eshell-remove-entries):
1234 Rename argument to avoid name-clash with global `top-level'.
1235
336b5a56
GM
1236 * eshell/esh-proc.el (eshell-kill-process-function):
1237 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1238 (eshell-reset-after-proc): Remove unused arg `proc'.
1239
57a3a53d
GM
1240 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1241 (directory-files-and-attributes): Mark unused arg.
1242
3261d4af
GM
1243 * eshell/em-unix.el (eshell-remove-entries):
1244 Remove unused arg `path'. Update callers.
1245
8e51b5d0
GM
1246 * eshell/em-hist.el (eshell-hist-parse-arguments):
1247 Remove unused arg `silent'. Update callers.
1248
ce503312
GM
1249 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1250 Fix (f)boundp mix-up.
1251
1252 * eshell/em-smart.el (eshell-smart-scroll-window)
1253 (eshell-disable-after-change):
336b5a56 1254 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 1255
ee3ce8a7
AM
12562013-09-18 Alan Mackenzie <acm@muc.de>
1257
1258 Fix fontification of type when followed by "const".
1259 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1260 "known" types from fontification.
1261
ec9177ba
GM
12622013-09-18 Glenn Morris <rgm@gnu.org>
1263
7bb3e768
GM
1264 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1265 (chart-face-list): Drop Emacsen without display-color-p.
1266
5148da15
GM
1267 * net/eww.el (libxml-parse-html-region): Declare.
1268 (eww-display-html): Explicit error if no libxml2 support.
1269
2f68e157
GM
1270 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1271
9019d095
GM
1272 * image.el (image-type-from-buffer, image-multi-frame-p):
1273 Remove --without-x warning/error.
67645389 1274
5f30349b 1275 * mouse.el (mouse-yank-primary):
45069b2e 1276 * term.el (term-mouse-paste):
5f30349b
GM
1277 Reorder to silence --without-x compilation.
1278
cd8edbbe
GM
1279 * mpc.el (doc-view-mode): Silence --without-x compilation.
1280
8a78544e
GM
1281 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1282 Silence --without-x compilation.
1283
12679bfd
GM
1284 * progmodes/gud.el (gud-find-file, gud-mode):
1285 Silence --without-x compilation.
1286 (tooltip-mode): Declare.
30810a05 1287
f0047cb9
GM
1288 * wdired.el (dired-backup-overwrite): Remove declaration.
1289 (wdired-mode-map): Add doc string.
1290
e740f9d2
GM
1291 * custom.el (x-get-resource): Declare.
1292
92d77c89
GM
1293 * eshell/em-glob.el (ange-cache):
1294 * eshell/em-unix.el (ange-cache): Declare.
1295
76e69577
GM
1296 * faces.el (x-display-list, x-open-connection, x-get-resource):
1297 Declare.
7e58af4b
GM
1298
1299 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1300 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1301 Declare.
76e69577 1302
4bd4c0af 1303 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 1304
ffb82dbd
GM
1305 * net/gnutls.el (gnutls-log-level): Declare.
1306
986ed135
GM
1307 * net/shr.el (image-size, image-animate): Declare.
1308
e740f9d2
GM
1309 * simple.el (font-info): Declare.
1310
d2f3e9f8
GM
1311 * subr.el (x-popup-dialog): Declare.
1312
047a1a4c
GM
1313 * term/common-win.el (x-select-enable-primary)
1314 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1315 Declare.
1316
f4a1d572
GM
1317 * term/ns-win.el (x-handle-args): Declare.
1318
e843de77
GM
1319 * term/x-win.el (x-select-enable-clipboard): Declare.
1320
5fa89513
GM
1321 * term/w32-win.el (create-default-fontset): Declare.
1322
38702b5b
GM
1323 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1324 Declare.
1325
e740f9d2
GM
1326 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1327 (fit-frame-to-buffer): Explicit error if --without-x.
1328 (mouse-autoselect-window-select): Silence compiler.
1329
49a053fc
GM
1330 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1331
1332 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1333 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1334 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 1335 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
1336 Remove unused local variables.
1337
1338 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1339
ec9177ba
GM
1340 * textmodes/two-column.el: Make 2C-split work for --without-x.
1341 (scroll-bar-columns): Autoload.
1342 (top-level): Require fringe when compiling.
1343
9f25cb77
LL
13442013-09-18 Leo Liu <sdl.web@gmail.com>
1345
1346 * subr.el (add-hook): Robustify to handle closure as well.
1347
2b42da98
GM
13482013-09-17 Glenn Morris <rgm@gnu.org>
1349
1350 * simple.el (messages-buffer-mode-map): Unbind "g".
1351
e8b66a6a
SM
13522013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1353
9c0ad4f7
SM
1354 * help-mode.el (help-mode-finish): Use derived-mode-p.
1355 Remove obsolete highlighting.
1356
7a806dfb
SM
1357 * play/life.el (life-mode): Use define-derived-mode. Derive from
1358 special-mode.
1359 (life): Let-bind inhibit-read-only.
1360 (life-setup): Avoid `setq'. Use `life-mode'.
1361
96dbf5a8
SM
1362 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1363 which should not be needed any more.
1364 (package-menu-refresh, package-menu-describe-package): Use user-error.
1365
e8b66a6a
SM
1366 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1367 (eshell-post-rewrite-command-hook): Make obsolete.
1368 (eshell-parse-command): Simplify.
1369 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1370 (eshell--cmd): Declare.
1371 (eshell-parse-pipeline): Remove unused var `final-p'.
1372 Pass a dynvar to eshell-post-rewrite-command-hook.
1373 Implement the new eshell-post-rewrite-command-function.
1374 (eshell-invoke-directly): Remove unused arg `input'.
1375 * eshell/esh-io.el (eshell-io-initialize):
1376 Use eshell-post-rewrite-command-function (bug#15399).
1377 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1378 adjust to new calling convention.
1379 (eshell-create-handles): Rename args to avoid clashing with dynvar
1380 `standard-output'.
1381
90582f05
GM
13822013-09-17 Glenn Morris <rgm@gnu.org>
1383
1384 * simple.el (messages-buffer-mode): New major mode.
1385 (messages-buffer): New function.
1386 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1387 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 1388 (ert-run-test): Use `messages-buffer' function.
90582f05 1389 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
1390 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1391 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 1392
39eb0cb5 13932013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
1394
1395 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1396
1f1e06e2
SM
1397 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1398
70568a90
SM
13992013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1400
504a0381
SM
1401 * icomplete.el (icomplete-in-buffer): New var.
1402 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1403 vars and replace them with functions.
1404 (icomplete-minibuffer-setup): Adjust accordingly.
1405 (icomplete--completion-table, icomplete--completion-predicate)
1406 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1407 New functions.
1408 (icomplete-forward-completions, icomplete-backward-completions)
1409 (icomplete-simple-completing-p, icomplete-exhibit)
1410 (icomplete-completions): Use them.
1411 (icomplete--in-region-buffer): New var.
1412 (icomplete--in-region-setup): New function.
1413 (icomplete-mode): Use it.
1414
70568a90
SM
1415 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1416 (bug#15379).
1417 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1418 return args and options.
1419 (eshell-eval-using-options): Use the new return value of
1420 eshell--do-opts to set the options's vars in their scope.
1421 (eshell--set-option): Rename from eshell-set-option.
1422 Add arg `opt-vals'.
1423 (eshell--process-option): Rename from eshell-process-option.
1424 Add arg `opt-vals'.
1425 (eshell--process-args): Use an `opt-vals' alist to store the options's
1426 values during their processing and return them additionally to the
1427 remaining args.
1428
578c21bc
DG
14292013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1430
1431 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1432 continuation character an operator, as far as indentation is
1433 concerned (Bug#15369).
1434
c089653d
MR
14352013-09-15 Martin Rudalics <rudalics@gmx.at>
1436
1437 * window.el (window--state-put-2): Don't process buffer state
1438 when buffer doesn't exist any more (Bug#15382).
1439
1e53bb4b
GM
14402013-09-15 Glenn Morris <rgm@gnu.org>
1441
30753242
GM
1442 * eshell/em-unix.el (eshell/rm):
1443 Make -f ignore missing files. (Bug#15373)
1444
1e53bb4b
GM
1445 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1446 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1447 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1448
0d8863b3
GM
14492013-09-14 Glenn Morris <rgm@gnu.org>
1450
1451 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1452
d3fc6549
GM
14532013-09-13 Glenn Morris <rgm@gnu.org>
1454
1455 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1456 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1457
fcd42c11
DA
14582013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1459
1460 * frame.el (x-focus-frame): Mark as declared in frame.c.
1461
7830899f
SM
14622013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * ls-lisp.el: Use advice-add.
1465 (original-insert-directory): Remove.
1466 (ls-lisp--insert-directory): Rename from insert-directory; add
1467 `orig-fun' argument.
1468 (insert-directory): Advise.
1469
84387cd2
EZ
14702013-09-13 Eli Zaretskii <eliz@gnu.org>
1471
1472 * term.el (term-emulate-terminal): Decode the command string
1473 before passing it to term-command-hook. (Bug#15337)
1474
35ffc6ba
GM
14752013-09-13 Glenn Morris <rgm@gnu.org>
1476
5c3f9bcc
GM
1477 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1478
2ada368a
GM
1479 * eshell/esh-ext.el (eshell-search-path): Declare.
1480
fcef2e13
GM
1481 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1482 Otherwise an error occurs if eshell-dirs module not loaded.
1483
35ffc6ba
GM
1484 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1485
35c3d36e
MA
14862013-09-13 Michael Albinus <michael.albinus@gmx.de>
1487
1488 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1489 `tramp-check-proper-host'. Check for a valid method name.
1490
1491 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1492 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1493 * net/tramp-sh.el (tramp-maybe-open-connection):
1494 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1495
1496 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1497 also for hash values.
1498
ae5e4c48
SM
14992013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1500
379add74
SM
1501 * term/ns-win.el (parameters): Don't declare as dynamic.
1502 (before-make-frame-hook): Don't add ineffective function.
1503
ae5e4c48
SM
1504 * eshell/*.el: Use lexical-binding (bug#15231).
1505
b5623270
KH
15062013-09-12 Kenichi Handa <handa@gnu.org>
1507
ae5e4c48 1508 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 1509
30213927
GM
15102013-09-12 Glenn Morris <rgm@gnu.org>
1511
be94d713 1512 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 1513 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 1514
44915370
GM
1515 * subr.el (do-after-load-evaluation): Also give compiler warnings
1516 when obsolete files are used (except by obsolete files).
1517
a6ae021f
GM
1518 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1519 in the status output, assume `filename' is the first. (Bug#15322)
1520
40e64f0c
GM
1521 * vc/vc.el (vc-deduce-fileset): Doc fix.
1522
16d9f896
GM
1523 * calc/calc-help.el (Info-goto-node):
1524 * progmodes/cperl-mode.el (Info-find-node):
1525 * vc/ediff.el (Info-goto-node): Update declarations.
1526
dea01c6e
GM
1527 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1528
759880bf 1529 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
1530 (vc-bzr-pull): Require vc-dispatcher.
1531 * vc/vc-git.el (vc-compilation-mode): Declare.
1532 (vc-git-pull): Require vc-dispatcher.
1533
08d66420
GM
1534 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1535
30b626e9
GM
1536 * progmodes/octave.el (help-button-action): Declare.
1537
8c05cb10
GM
1538 * shell.el (shell-directory-tracker): Output error as a message
1539 rather than just returning it as a string.
1540 (shell-process-pushd): Remove useless use of message.
1541
30213927
GM
1542 * dframe.el (dframe-timer-fn):
1543 * files.el (dir-locals-read-from-file):
1544 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1545 (mpc-format):
1546 * reveal.el (reveal-post-command):
1547 * saveplace.el (load-save-place-alist-from-file):
1548 * shell.el (shell-resync-dirs):
1549 * w32-common-fns.el (x-get-selection-value):
1550 * emacs-lisp/copyright.el (copyright-find-copyright):
1551 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1552 * emulation/tpu-edt.el (tpu-copy-keyfile):
1553 * play/bubbles.el (bubbles--mark-neighbourhood):
1554 * progmodes/executable.el
1555 (executable-make-buffer-file-executable-if-script-p):
1556 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1557
d3b049e6
SM
15582013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1559
170266d0
SM
1560 Cleanup Eshell to rely less on dynamic scoping.
1561 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1562 last-value, and ext-command here. Bind `args' closer to `body'.
1563 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1564 (eshell--args): Declare new dynamic var.
1565 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1566 last-value, and ext-command. Pass `args' to `body'.
1567 (eshell-process-args): Bind eshell--args.
1568 (eshell-set-option): Use eshell--args.
1569 * eshell/eshell.el (eshell): Use derived-mode-p.
1570 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1571 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1572 (eshell-glob-function): Declare.
1573 * eshell/esh-util.el: Require cl-lib.
1574 (eshell-read-hosts-file): Avoid add-to-list.
1575 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1576 `err'.
1577 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1578 Declare.
1579 (eshell/diff): Remove unused var `err'.
1580 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1581 `killflag'.
1582 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1583 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1584 first use.
1585 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1586 Move declaration before first use.
1587 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
1588 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1589 rely on cl-return.
1590
56834f3b
GM
15912013-09-12 Glenn Morris <rgm@gnu.org>
1592
1593 * term/ns-win.el (global-map): Remove binding for ispell-next,
1594 deleted 1999-05-29. (Bug#15357)
1595
5c91a2b8
GM
15962013-09-11 Glenn Morris <rgm@gnu.org>
1597
da712f22
GM
1598 * echistory.el (electric-command-history): Remove call to deleted func.
1599
512e4cdc
GM
1600 * play/landmark.el (landmark-mode): Fix typos.
1601
d3506ca5
GM
1602 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1603 Check cvs-sort-ignore-file is bound.
1604
5c91a2b8
GM
1605 * savehist.el: No need for cl when compiling on Emacs.
1606
feeff482
SM
16072013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1608
656bd483
SM
1609 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1610 (bug#15338).
d3b049e6
SM
1611 (eshell-self-insert-command, eshell-send-invisible):
1612 Remove unused argument.
656bd483
SM
1613 (eshell-handle-control-codes): Remove unused var `orig'.
1614 Avoid delete-backward-char.
1615
feeff482
SM
1616 * files.el (set-auto-mode): Simplify a bit further.
1617
2a08047a
GM
16182013-09-11 Glenn Morris <rgm@gnu.org>
1619
1620 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1621 (set-auto-mode): Don't regexp-quote elements.
1622 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1623 * progmodes/cc-mode.el (interpreter-mode-alist):
1624 * progmodes/ruby-mode.el (interpreter-mode-alist):
1625 Revert previous change.
1626
34675540
SM
16272013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1b3b87df
SM
1629 * play/snake.el (snake-mode):
1630 * play/mpuz.el (mpuz-mode):
1631 * play/landmark.el (lm-mode):
1632 * play/blackbox.el (blackbox-mode):
1633 * play/5x5.el (5x5-mode):
1634 * obsolete/options.el (Edit-options-mode):
1635 * net/quickurl.el (quickurl-list-mode):
1636 * net/newst-treeview.el (newsticker-treeview-mode):
1637 * mail/rmailsum.el (rmail-summary-mode):
1638 * mail/mspools.el (mspools-mode):
1639 * locate.el (locate-mode):
1640 * ibuffer.el (ibuffer-mode):
1641 * emulation/ws-mode.el (wordstar-mode):
1642 * emacs-lisp/debug.el (debugger-mode):
1643 * array.el (array-mode):
1644 * net/eudc.el (eudc-mode): Use define-derived-mode.
1645 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1646 Move initialization into declaration.
1647 (mairix-searches-mode): Use define-derived-mode.
1648 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1649 (eudc-edit-hotlist): Use dolist.
1650 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1651 (Man-mode): Use define-derived-mode.
1652 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1653 (Info-edit-mode): Use define-derived-mode.
1654 (Info-cease-edit): Use Info-mode.
1655 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1656 into declaration.
1657 (eshell-mode): Use define-derived-mode.
1658 * chistory.el (command-history-mode-map): Rename from
1659 command-history-map.
1660 (command-history-mode): Use define-derived-mode.
da712f22 1661 (Command-history-setup): Remove function.
1b3b87df
SM
1662 * calc/calc.el (calc-trail-mode-map): New var.
1663 (calc-trail-mode): Use define-derived-mode.
1664 (calc-trail-buffer): Set calc-main-buffer manually.
1665 * bookmark.el (bookmark-insert-annotation): New function.
1666 (bookmark-edit-annotation): Use it.
1667 (bookmark-edit-annotation-mode): Make it a proper major mode.
1668 (bookmark-send-edited-annotation): Use derived-mode-p.
1669 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1670 closer to its ideal place. Use \' to match EOS.
1671
34675540
SM
1672 * profiler.el (profiler-calltree-find): Use function-equal.
1673
6a5c15d9
GM
16742013-09-10 Glenn Morris <rgm@gnu.org>
1675
1af4c220
GM
1676 * files.el (interpreter-mode-alist): Convert to regexps.
1677 (set-auto-mode): Adapt for this. (Bug#15306)
1678 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1679 Comment out unused variable.
1680 * progmodes/cc-mode.el (interpreter-mode-alist):
1681 * progmodes/python.el (interpreter-mode-alist):
1682 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1683 * progmodes/sh-script.el (sh-set-shell):
1684 No longer use interpreter-mode-alist to get list of shells.
1685
6a5c15d9
GM
1686 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1687
8c27f5ff
SM
16882013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1689
02ef6c1a 1690 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 1691 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
1692 Bind switch-frame explicitly. Replace universal-argument-minus with
1693 a conditional binding.
1694 (universal-argument-num-events, saved-overriding-map): Remove.
1695 (restore-overriding-map): Remove.
1696 (universal-argument--mode): Rename from save&set-overriding-map,
1697 and rewrite.
1698 (universal-argument, universal-argument-more, negative-argument)
1699 (digit-argument): Adjust accordingly.
1700 (universal-argument-minus): Remove.
1701 (universal-argument-other-key): Remove.
1702
8c27f5ff
SM
1703 * subr.el (with-demoted-errors): Add `format' argument.
1704
6480194c
MA
17052013-09-10 Michael Albinus <michael.albinus@gmx.de>
1706
1707 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1708 `tramp-cleanup-connection'.
1709
1710 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1711 parameters KEEP-DEBUG and KEEP-PASSWORD.
1712
1713 * net/tramp.el (tramp-file-name-handler):
1714 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1715 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1716 (tramp-maybe-open-connection):
8c27f5ff
SM
1717 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1718 Use `tramp-cleanup-connection'.
6480194c 1719
8c27f5ff
SM
1720 * net/tramp-sh.el (tramp-maybe-open-connection):
1721 Catch 'uname-changed inside the progress reporter.
6480194c 1722
e5e916d8
GM
17232013-09-10 Glenn Morris <rgm@gnu.org>
1724
9a2c9b47
GM
1725 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1726
e5e916d8
GM
1727 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1728 returns "alternate access method" in mode (eg "-rw-r--r--.").
1729
144e38fe
GM
17302013-09-08 Glenn Morris <rgm@gnu.org>
1731
1732 * saveplace.el (load-save-place-alist-from-file):
1733 Demote errors. (Bug#15305)
1734
af9ff9e8
MA
17352013-09-08 Michael Albinus <michael.albinus@gmx.de>
1736
1737 Improve compatibility with older Emacsen, and XEmacs.
1738
1739 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1740 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
1741 (with-tramp-progress-reporter): Do not let-bind `result'.
1742 This yields to scoping errors in XEmacs.
af9ff9e8
MA
1743 (tramp-handle-make-auto-save-file-name): New function, moved from
1744 tramp-sh.el.
1745
1746 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1747 for `make-auto-save-file-name'.
8c27f5ff
SM
1748 (tramp-adb--gnu-switches-to-ash):
1749 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1750
1751 * net/tramp-cache.el (tramp-cache-print): Call
1752 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1753
1754 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1755 bound. It isn't for XEmacs.
1756
8c27f5ff
SM
1757 * net/tramp-compat.el (tramp-compat-copy-file):
1758 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
1759 (tramp-compat-replace-regexp-in-string): New defun.
1760
1761 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1762 for `make-auto-save-file-name'.
1763 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1764 `copy-file'.
1765 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1766 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1767 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1768
8c27f5ff
SM
1769 * net/tramp-gw.el (tramp-gw-open-network-stream):
1770 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 1771
8c27f5ff
SM
1772 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1773 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
1774 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1775 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
1776 (tramp-sh-file-inotifywait-process-filter):
1777 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1778 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1779
1780 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1781 for `make-auto-save-file-name'.
8c27f5ff
SM
1782 (tramp-smb-handle-copy-directory):
1783 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
1784 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1785 (tramp-smb-handle-copy-file): Improve error message.
1786 (tramp-smb-handle-rename-file): Rename directly only in case
1787 `newname' does not exist yet. This is a restriction of smbclient.
1788 (tramp-smb-maybe-open-connection): Rerun the function only when
1789 `auth-sources' is non-nil.
1790
0ca754d0
KH
17912013-09-08 Kenichi Handa <handa@gnu.org>
1792
1793 * international/characters.el: Set category "^" (Combining) for
1794 more characters.
1795
e8dd0787
AM
17962013-09-07 Alan Mackenzie <acm@muc.de>
1797
1798 Correctly fontify Java class constructors.
1799 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1800 in Java Mode.
1801 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
1802 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1803 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
1804 "typeless" declaration there.
1805
f2f248e7
RW
18062013-09-07 Roland Winkler <winkler@gnu.org>
1807
1808 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1809 field subtitle for entry type book.
1810
67982e2b
SM
18112013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * minibuffer.el: Make minibuffer-complete call completion-in-region
1814 rather than other way around.
1815 (completion--some, completion-pcm--find-all-completions):
1816 Don't delay signals when debugging.
1817 (minibuffer-completion-contents): Beware fields within the
1818 minibuffer contents.
1819 (completion-all-sorted-completions): Use defvar-local.
1820 (completion--do-completion, completion--cache-all-sorted-completions)
1821 (completion-all-sorted-completions, minibuffer-force-complete):
1822 Add args `beg' and `end'.
1823 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1824 (minibuffer-complete): Use completion-in-region.
1825 (completion-complete-and-exit): New fun, extracted from
1826 minibuffer-complete-and-exit.
1827 (minibuffer-complete-and-exit): Use it.
1828 (completion--complete-and-exit): Rename from
1829 minibuffer--complete-and-exit.
1830 (completion-in-region--single-word): New function, extracted from
1831 minibuffer-complete-word.
1832 (minibuffer-complete-word): Use it.
1833 (display-completion-list): Make `common-substring' argument obsolete.
1834 (completion--in-region): Call completion--in-region-1 instead of
1835 minibuffer-complete.
1836 (completion-help-at-point): Pass boundaries to
1837 minibuffer-completion-help as args rather than via an overlay.
1838 (completion-pcm--string->pattern): Use `any-delim'.
1839 (completion-pcm--optimize-pattern): New function.
1840 (completion-pcm--pattern->regex): Handle `any-delim'.
1841 * icomplete.el (icomplete-forward-completions)
1842 (icomplete-backward-completions, icomplete-completions):
1843 Adjust calls to completion-all-sorted-completions and
1844 completion--cache-all-sorted-completions.
1845 (icomplete-with-completion-tables): Default to t.
1846 * emacs-lisp/crm.el (crm--current-element): Rename from
1847 crm--select-current-element. Don't put an overlay but return the
1848 boundaries instead.
1849 (crm--completion-command): Take two new args to bind to the boundaries.
1850 (crm-completion-help): Adjust accordingly.
1851 (crm-complete): Use completion-in-region.
1852 (crm-complete-word): Use completion-in-region--single-word.
1853 (crm-complete-and-exit): Use completion-complete-and-exit.
1854
e17d94a5
SM
18552013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1858 than dynamically.
1859
96727100
JL
18602013-09-06 Juri Linkov <juri@jurta.org>
1861
1862 * info.el (Info-display-images-node): When image file doesn't exist
1863 display text version of the image if it's provided in the Info file.
1864 Otherwise, display the location of missing image from SRC attribute.
1865 Add help-echo text property from ALT attribute. (Bug#15279)
1866
86cf7329
SM
18672013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1868
1869 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1870 (edit-abbrevs-mode): Use define-derived-mode.
1871
1872 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1873 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1874 that it's defined.
1875 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1876 Use define-derived-mode.
1877
1878 * epg.el (epg-start-encrypt): Minor CSE simplification.
1879
816244a2
WX
18802013-09-06 William Xu <william.xwl@gmail.com>
1881
1882 * arc-mode.el: Add support for 7za (bug#15264).
1883 (archive-7z-program): New var.
1884 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1885 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1886 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1887
1486fa31
MA
18882013-09-06 Michael Albinus <michael.albinus@gmx.de>
1889
1890 Remove URL syntax.
1891
1892 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1893 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1894 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1895 (tramp-postfix-host-format, tramp-file-name-regexp)
1896 (tramp-completion-file-name-regexp)
1897 (tramp-completion-dissect-file-name)
1898 (tramp-handle-substitute-in-file-name): Remove 'url case.
1899 (tramp-file-name-regexp-url)
1900 (tramp-completion-file-name-regexp-url): Remove constants.
1901
39785324
GM
19022013-09-06 Glenn Morris <rgm@gnu.org>
1903
1904 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1905
1f896cb7
DG
19062013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1907
1908 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1909 keywords" below "here-doc beginnings" (Bug#15270).
1910
c0458e0b
SM
19112013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * subr.el (pop): Use `car-safe'.
1914 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1915 to detect unused `pop' return value.
1916
1917 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1918 var `block-regexp'.
1919 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1920 (python-fill-string): Remove unused var `marker'.
1921 (python-skeleton-add-menu-items): Remove unused var `items'.
1922
1923 * international/mule-cmds.el: Require CL.
1924 (find-coding-systems-for-charsets): Avoid add-to-list.
1925 (sanitize-coding-system-list): New function, extracted from
1926 select-safe-coding-system-interactively.
1927 (select-safe-coding-system-interactively): Use it.
1928 (read-input-method-name): Accept symbols for `default'.
1929
1930 * emacs-lisp/advice.el (defadvice): Add indent rule.
1931
6c42fc3e
DH
19322013-09-05 Daniel Hackney <dan@haxney.org>
1933
1934 * dired-x.el:
1935 * net/ange-ftp.el:
1936 * net/browse-url.el:
1937 * net/dbus.el:
1938 * net/eudc.el:
1939 * net/eudcb-ldap.el:
1940 * net/eww.el:
1941 * net/imap.el:
1942 * printing.el:
1943 * vc/ediff-diff.el:
1944 * vc/ediff-init.el:
1945 * vc/ediff-merg.el:
1946 * vc/ediff-mult.el:
1947 * vc/ediff-util.el:
1948 * vc/ediff-wind.el:
1949 * vc/ediff.el:
1950 * vc/emerge.el:
1951 * vc/pcvs.el:
1952 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1953 byte compiler. Remove some unused let-bound variables.
1954
4c528aab
SM
19552013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1958 a "ref-cell", since it gets better optimized (bug#14883).
1959
bd15c390
GM
19602013-09-05 Glenn Morris <rgm@gnu.org>
1961
1962 * progmodes/cc-awk.el (c-forward-sws): Declare.
1963
1c3ac2e5
GM
19642013-09-04 Glenn Morris <rgm@gnu.org>
1965
1966 * generic-x.el [rul-generic-mode]: Require cc-mode.
1967 (c++-mode-syntax-table): Declare.
1968 (rul-generic-mode-syntax-table): Init in the defvar.
1969
52b1cc79
SM
19702013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1971
c828af56
SM
1972 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1973 (vc-do-command, vc-set-async-update):
1974 * vc/vc-mtn.el (vc-mtn-dir-status):
1975 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1976 (vc-hg-pull, vc-hg-merge-branch):
1977 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1978 (vc-git-merge-branch):
1979 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1980 (vc-cvs-dir-status-files):
1981 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1982 (vc-bzr-dir-status-files):
1983 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1984 * vc/vc-annotate.el: Use lexical-binding.
1985 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1986 (vc-sentinel-movepoint): Declare.
1987 (vc-annotate): Don't use `goto-line'.
1988 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1989 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1990 (vc-sentinel-movepoint): Declare.
1991 * vc/vc-svn.el: Use lexical-binding.
1992 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1993 * vc/vc-sccs.el:
1994 * vc/vc-rcs.el: Use lexical-binding.
1995
abae272c
SM
1996 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1997 `deleted'. Don't drop errors silently.
1998
52b1cc79
SM
1999 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2000
63191d9f
XF
20012013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2002
2003 * vc/vc.el (vc-ignore): Rewrite.
2004 (vc-default-ignore): New function.
2005 (vc-default-ignore-completion-table): Use find-ignore-file.
2006
2007 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2008 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2009 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2010 Remove. Most code moved to vc.el.
2011
9d3f707c
SM
20122013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2013
abae272c 2014 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
2015 * net/tramp-smb.el (tramp-smb-get-file-entries):
2016 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2017 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2018
fde38d49
SM
2019 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2020 Update call to it.
2021 (eww-change-select): Remove unused var `properties'.
2022 (eww-make-unique-file-name): Remove unused var `base'.
2023
2024 * finder.el (finder-compile-keywords): Don't mess with windows.
2025
84032db7
SM
2026 * calculator.el (calculator-funcall): Fix typo in last change.
2027
724f5e41
SM
2028 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2029
14b511d4
SM
2030 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2031 <pkg>-autoloads.el file stop us.
2032
9d3f707c 2033 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 2034 warnings, and factor out common code.
9d3f707c 2035
88527bc0
DG
20362013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2037
2038 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2039 two-character operators and whether the character preceding them
2040 changes their meaning (Bug#15208).
2041
96edb677
FEG
20422013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2043
2044 Format code sent to Python shell for robustness.
9d3f707c
SM
2045 * progmodes/python.el (python-shell-buffer-substring):
2046 New function.
96edb677
FEG
2047 (python-shell-send-region, python-shell-send-buffer): Use it.
2048
95beaef3
MA
20492013-09-02 Michael Albinus <michael.albinus@gmx.de>
2050
2051 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2052 * net/tramp.el (tramp-user-error): ... here.
2053 (tramp-find-method, tramp-check-proper-host)
2054 (tramp-dissect-file-name, tramp-debug-message)
2055 (tramp-handle-shell-command):
2056 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2057 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2058
2059 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2060
f167c27b
MR
20612013-09-02 Martin Rudalics <rudalics@gmx.at>
2062
2063 * avoid.el (mouse-avoidance-point-position)
2064 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2065 returns nil.
2066
cd16c5f1
FEG
20672013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2068
2069 * progmodes/python.el (python-shell-completion-get-completions):
2070 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 2071 (python-nav-if-name-main): New command.
cd16c5f1 2072
e73c3a0d
GM
20732013-09-01 Glenn Morris <rgm@gnu.org>
2074
f8ccce03
GM
2075 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2076 Avoid leading space in $wins. Otherwise the sed command used by
2077 eg compile-main ends up containing "/*.el". (Bug#15170)
2078
e73c3a0d
GM
2079 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2080
415f808e
GM
20812013-08-30 Glenn Morris <rgm@gnu.org>
2082
2083 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2084 Fix is-this-a-directory logic. (Bug#15220)
2085
f069bba8
SM
20862013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2087
112798c1
SM
2088 * textmodes/css-mode.el: Use SMIE.
2089 (css-smie-grammar): New var.
2090 (css-smie--forward-token, css-smie--backward-token)
2091 (css-smie-rules): New functions.
2092 (css-mode): Use them.
2093 (css-navigation-syntax-table): Remove var.
2094 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2095 (css-indent-calculate, css-indent-line): Remove functions.
2096
2097 Misc changes to reduce use of `(lambda...); and other cleanups.
2098 * cus-edit.el: Use lexical-binding.
2099 (customize-push-and-save, customize-apropos)
2100 (custom-buffer-create-internal): Use closures.
2101 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2102 * progmodes/ada-xref.el: Use setq.
2103 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2104 * dframe.el: Use lexical-binding.
2105 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2106 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2107 * descr-text.el: Use lexical-binding.
2108 (describe-text-widget, describe-text-sexp, describe-property-list):
2109 Use closures.
2110 * comint.el (comint-history-isearch-push-state): Use a closure.
2111 * calculator.el: Use lexical-binding.
2112 (calculator-number-to-string): Make it work with lexical-binding.
2113 (calculator-funcall): Same and use cl-letf.
2114
2da4c3ab
SM
2115 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2116 (lisp--company-doc-string, lisp--company-location): New functions.
2117 (lisp-completion-at-point): Use them to improve Company support.
2118
f069bba8
SM
2119 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2120 params of lambda expressions.
2121 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2122 (ruby-smie--opening-pipe-p): New function.
2123 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2124 symbols and matched |...| for formal params.
2125 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2126 from being treated as hanging. Handle "rescue".
2127
6758b6a8
GM
21282013-08-29 Glenn Morris <rgm@gnu.org>
2129
2130 * progmodes/cc-engine.el (c-pull-open-brace):
2131 Move definition before use.
2132
e8dfd197
SM
21332013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2136 are immutable. Don't use `unsafe' any more.
2137 (cl--defsubst-expand): Don't substitute at the same time as keeping
2138 a residual unused let-binding. Don't use `unsafe' any more.
2139
cc585c96
GM
21402013-08-29 Glenn Morris <rgm@gnu.org>
2141
ba579ea6
GM
2142 * calendar/cal-china.el (calendar-chinese-year-cache):
2143 Recenter on 2015.
2144
8201a87e
GM
2145 * nxml/nxml-util.el (nxml-debug-clear-inside):
2146 Use cl-loop rather than loop.
2147
6ee877c7
GM
2148 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2149
cc585c96
GM
2150 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2151
27be8d39
GM
21522013-08-28 Glenn Morris <rgm@gnu.org>
2153
397440a1
GM
2154 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2155
2bb762d4
GM
2156 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2157
27be8d39
GM
2158 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2159
2d69b99e
SM
21602013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2161
f663baa7
SM
2162 * simple.el (repeat-complex-command--called-interactively-skip):
2163 New function.
2164 (repeat-complex-command): Use it (bug#14136).
2165
dd4f8b74
SM
2166 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2167 (c-define-abbrev-table): Add `doc' argument.
2168 (c-mode-abbrev-table, c++-mode-abbrev-table)
2169 (objc-mode-abbrev-table, java-mode-abbrev-table)
2170 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2171 (awk-mode-abbrev-table): Use it.
2172 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2173 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2174 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2175 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2176 Move initialization into the declaration; and remove any
2177 autoload cookie.
2178
b58969f7
SM
2179 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2180 and dynamic let binding.
2181
4021d6a6
SM
2182 * vc/smerge-mode.el: Remove redundant :group args.
2183
2d69b99e
SM
2184 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2185 to load-path.
2186
274919fd
JL
21872013-08-28 Juri Linkov <juri@jurta.org>
2188
2189 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2190 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2191 (isearch-other-meta-char): Handle an undefined shifted printing
2192 character by downshifting it. (Bug#15200)
2193
121f8c95
JL
21942013-08-28 Juri Linkov <juri@jurta.org>
2195
2196 * isearch.el (isearch-search): Change regexp error message for
2197 non-regexp searches. (Bug#15166)
2198
50b13cde
PE
21992013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2200
2201 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2202 for portability to hosts where /bin/sh has problems.
2203
95888bca
SM
22042013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2207
bbe558f1
JL
22082013-08-27 Juri Linkov <juri@jurta.org>
2209
2210 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2211 in the keyboard macro. (Bug#15126)
2212
26f98a7d
JL
22132013-08-27 Juri Linkov <juri@jurta.org>
2214
2215 * isearch.el (isearch-quote-char): Comment out converting unibyte
2216 to multibyte, thus syncing with its `quoted-insert' counterpart.
2217 (Bug#15166)
2218
7c97d35e
MR
22192013-08-27 Martin Rudalics <rudalics@gmx.at>
2220
2221 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
2222 argument in call of get-largest-window (Bug#15185).
2223 Reported by Stephen Leake.
7c97d35e 2224
a0b5606e 22252013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
2226
2227 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2228
9e89d835
SM
22292013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2232 from a matcher-function unless there's no more matches (bug#15161).
2233
78fc2530
MA
22342013-08-26 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * minibuffer.el: Revert change from 2013-08-20.
2237
2238 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2239 with text property `tramp-default', if appropriate.
2240 (tramp-check-proper-host): New defun.
2241 (tramp-dissect-file-name): Do not check hostname. Revert change
2242 of 2013-03-18.
2243 (tramp-backtrace): Make VEC-OR-PROC optional.
2244
2245 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2246 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2247 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
2248 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2249 Apply `tramp-check-proper-host'.
78fc2530 2250
edca97cd
TH
22512013-08-26 Tassilo Horn <tsdh@gnu.org>
2252
2253 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2254 lambda expression in order to have `describe-variable' display it.
2255
df54bcbd
MA
22562013-08-26 Michael Albinus <michael.albinus@gmx.de>
2257
2258 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2259 BUF can be optional. (Bug#15186)
2260
eed99101
XF
22612013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2262
2263 * progmodes/flymake.el (flymake-get-real-file-name-function):
2264 Fix broken customization. (Bug#15184)
2265
b5eb9035
AM
22662013-08-25 Alan Mackenzie <acm@muc.de>
2267
8a51e842
AM
2268 Improve indentation of bracelists defined by macros (without "=").
2269
2270 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2271 expansion begins with "{", regard it as bracelist when it doesn't
2272 contain a ";".
2273
869455d4
AM
2274 Parse C++ inher-intro when there's a template split over 2 lines.
2275
2276 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2277 rigorously the search for "class" etc. followed by ":".
2278
2279 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2280 random languages a regexp which never matches rather than nil.
2281
b5eb9035
AM
2282 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2283
2284 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2285 (c-awk-regexp-one-line-possibly-open-char-list-re)
2286 (c-awk-one-line-possibly-open-regexp-re)
2287 (c-awk-one-line-non-syn-ws*-re): Remove.
2288 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2289 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2290 (c-awk-space*-unclosed-regexp-/-re): New constants.
2291 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2292 aren't regexp delimiters.
2293
2294 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2295 handling for a rare situation in AWK Mode involving unterminated
2296 strings/regexps.
2297
61611d54
GM
22982013-08-23 Glenn Morris <rgm@gnu.org>
2299
2d85dc34
GM
2300 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2301
cb8d2612
GM
2302 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2303
bb35f42f
GM
2304 * files.el (create-file-buffer): If the result would begin with
2305 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 2306
b9808e77
SM
23072013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2308
e3a66363
SM
2309 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2310 text-properties (bug#15155).
2311
b9808e77
SM
2312 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2313 exist any more.
2314 (calc-keypad-redraw): Remove unused var `pad'.
2315 (calc-keypad-press): Remove unused var `menu'.
2316
7fd5f65e
MR
23172013-08-23 Martin Rudalics <rudalics@gmx.at>
2318
b9808e77
SM
2319 * window.el (display-buffer-pop-up-frame):
2320 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
2321 use it as the new frame's buffer (Bug#15133).
2322
8352b530
SM
23232013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * calendar/timeclock.el: Minor cleanups.
2326 (timeclock-ask-before-exiting, timeclock-use-display-time):
2327 Use `symbol'.
2328 (timeclock-modeline-display): Define as alias before the
2329 actual definition.
2330 (timeclock-mode-line-display): Use define-minor-mode.
2331 (timeclock-day-list-template): Make it a function, add an argument.
2332 (timeclock-day-list-required, timeclock-day-list-length)
2333 (timeclock-day-list-debt, timeclock-day-list-span)
2334 (timeclock-day-list-break): Adjust calls accordingly.
2335
9f7b1925
SM
23362013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2337
2338 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2339 Use read--expression so that completion works again.
2340
6e50e983
SS
23412013-08-21 Sam Steingold <sds@gnu.org>
2342
2343 Add rudimentary inferior shell interaction
2344 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2345 (sh-set-shell): Reset it.
9f7b1925
SM
2346 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2347 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 2348
dbb0d350
SM
23492013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * align.el: Use lexical-binding.
2352 (align-region): Simplify accordingly.
2353
c88586a9
MA
23542013-08-20 Michael Albinus <michael.albinus@gmx.de>
2355
2356 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2357
2358 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2359 `non-essential' up.
2360
f95527c8
MA
23612013-08-17 Michael Albinus <michael.albinus@gmx.de>
2362
2363 * net/tramp.el:
2364 * net/tramp-adb.el:
2365 * net/tramp-cmds.el:
2366 * net/tramp-ftp.el:
2367 * net/tramp-gvfs.el:
2368 * net/tramp-gw.el:
2369 * net/tramp-sh.el: Don't wrap external variable declarations by
2370 `eval-when-compile'.
2371
4b5fe4ee
LMI
23722013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2373
2374 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2375 now that Emacs supports ImageMagick animations.
2376
13c366c9
MA
23772013-08-16 Michael Albinus <michael.albinus@gmx.de>
2378
2379 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2380 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2381
3dfc5cd6
MR
23822013-08-16 Martin Rudalics <rudalics@gmx.at>
2383
2384 * window.el (mouse-autoselect-window-select): Do autoselect when
2385 mouse pointer is on margin.
2386
4bbb4381
WP
23872013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2388
2389 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2390
3a2ddc2d
GM
23912013-08-16 Glenn Morris <rgm@gnu.org>
2392
e8bedf5a
GM
2393 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2394 Handle "Remote Directory" response of some clients. (Bug#15058)
2395
58c4682f
GM
2396 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2397 Tweak warning. (Bug#14926)
2398
57953f49
GM
2399 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2400 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2401
3a2ddc2d
GM
2402 * image-mode.el (image-mode-map): Add menu items to reverse,
2403 increase, decrease, reset animation speed.
2404 (image--set-speed, image-increase-speed, image-decrease-speed)
2405 (image-reverse-speed, image-reset-speed): New functions.
2406 (image-mode-map): Add bindings for speed commands.
2407
2408 * image.el (image-animate-get-speed, image-animate-set-speed):
2409 New functions.
2410 (image-animate-timeout): Respect image :speed property.
2411
10fa0ed3
SM
24122013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2415 previous line (bug#15101).
2416 (debugger-eval-expression, debugger-record-expression):
2417 Use read--expression (bug#15102).
2418
5d89d9d2
MA
24192013-08-15 Michael Albinus <michael.albinus@gmx.de>
2420
2421 Remove byte compiler warnings, visible when compiling with
2422 `byte-compile-force-lexical-warnings' set to t.
2423
2424 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2425 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2426 (tramp-handle-unhandled-file-name-directory)
2427 (tramp-handle-file-notify-add-watch, tramp-action-login)
2428 (tramp-action-succeed, tramp-action-permission-denied)
2429 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2430 arguments with "_".
2431
2432 * net/tramp-adb.el (tramp-adb-parse-device-names)
2433 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2434 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2435 (tramp-adb-handle-file-truename): Remove unused arguments.
2436
2437 * net/tramp-cache.el (tramp-flush-directory-property)
2438 (tramp-flush-connection-property, tramp-list-connections)
2439 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2440
10fa0ed3
SM
2441 * net/tramp-compat.el (tramp-compat-make-temp-file):
2442 Rename FILENAME to F.
5d89d9d2
MA
2443
2444 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2445 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2446 (tramp-zeroconf-parse-workstation-device-names)
2447 (tramp-zeroconf-parse-webdav-device-names)
2448 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2449
2450 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2451 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2452
2453 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2454 arguments.
2455 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2456 (tramp-sh-handle-insert-file-contents-literally)
2457 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2458 with "_".
2459 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2460 Remove unused variables.
2461
2462 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2463 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2464 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2465
2466 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2467 Make them a defconst.
2468 (tramp-uuencode-region): Remove unused variable.
2469
62f33bae
JB
24702013-08-14 Juanma Barranquero <lekktu@gmail.com>
2471
2472 * frameset.el (frameset--prop-setter): New function.
2473 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
2474 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2475 parameter was already set in FILTERED. Doc fix.
2476 (frameset--record-minibuffer-relationships): Allow saving a
2477 minibufferless frame without its corresponding minibuffer frame.
2478 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2479 frame, if the frame id matches.
2480 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2481 frames before orphaned ones.
2482 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 2483
c660a885
MR
24842013-08-14 Martin Rudalics <rudalics@gmx.at>
2485
2486 * window.el (window-make-atom): Don't overwrite parameter
2487 already present.
2488 (display-buffer-in-atom-window): Handle special case where we
2489 split an already atomic window.
2490 (window--major-non-side-window, display-buffer-in-side-window)
2491 (window--side-check): Ignore minibuffer window when walking
2492 window tree.
2493 (window-deletable-p): Return 'frame only if no other frame uses
2494 our minibuffer window.
2495 (record-window-buffer): Run buffer-list-update-hook.
2496 (split-window): Make sure window--check-frame won't destroy an
2497 existing atomic window in case the new window gets nested
2498 inside.
2499 (display-buffer-at-bottom): Ignore minibuffer window when
2500 walking window tree. Don't split a side window.
2501 (pop-to-buffer): Don't set-buffer here, the select-window call
2502 should do that.
2503 (mouse-autoselect-window-select): Autoselect only if we are in the
2504 text portion of the window.
2505
8259030d
LMI
25062013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2507
21c58ae2
LMI
2508 * net/shr.el (shr-parse-image-data): New function to grab both the
2509 data itself and the Content-Type.
2510 (shr-put-image): Use it.
2511
2512 * net/eww.el (eww-display-image): Ditto.
2513
8259030d
LMI
2514 * image.el (image-content-type-suffixes): New variable.
2515
ad756449
FEG
25162013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2517
2518 * progmodes/python.el (python-imenu--build-tree)
2519 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2520
f73f4ce6
XF
25212013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2522
2523 * simple.el (backward-word): Mention the optional argument.
2524
1f585e65
SM
25252013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * frameset.el (frameset--make): Rename constructor from make-frameset.
2528 (frameset-p, frameset-valid-p): Don't autoload.
2529 (frameset-valid-p): Use normal accessors.
2530
af1c6c84
GM
25312013-08-13 Glenn Morris <rgm@gnu.org>
2532
55e47f95
GM
2533 * progmodes/compile.el (compile-command): Tweak example in doc.
2534 * obsolete/scribe.el (scribe-mode):
2535 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2536
f0024d8c
GM
2537 * mail/feedmail.el (feedmail-confirm-outgoing)
2538 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2539
2540 * cus-start.el (truncate-partial-width-windows): Fix type.
2541
2542 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2543
af1c6c84
GM
2544 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2545
5514cc4c
SM
25462013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 * emacs-lisp/timer.el (timer--time-setter): New function.
2549 (timer--time): Use it as gv-setter.
2550
2551 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2552 setter is not a symbol.
2553
7997a2f1
GJ
25542013-08-12 Grégoire Jadi <daimrod@gmail.com>
2555
2556 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2557 if sending fails. This makes debugging easier.
2558
01f1a9ab
JB
25592013-08-12 Juanma Barranquero <lekktu@gmail.com>
2560
2561 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2562 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2563 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2564
594a4307
EZ
25652013-08-12 Eli Zaretskii <eliz@gnu.org>
2566
2567 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2568
7a22490f 25692013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
2570
2571 * format.el (format-annotate-function):
2572 Handle read-only text properties in the source. (Bug#14887)
2573
3e41a054
LMI
25742013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2575
5514cc4c
SM
2576 * net/eww.el (eww-display-html): Ignore coding system errors.
2577 One web site uses "utf-8lias" as the coding system.
3e41a054 2578
7ec326db
JB
25792013-08-11 Juanma Barranquero <lekktu@gmail.com>
2580
2581 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2582
5660113b
JB
25832013-08-10 Juanma Barranquero <lekktu@gmail.com>
2584
9a4ebc74
JB
2585 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2586 (tutorial--detailed-help): Remove unused local variables.
2587 (tutorial--save-tutorial-to): Use ignore-errors.
2588 (help-with-tutorial): Use looking-at-p.
2589
2590 * view.el (view-buffer-other-window, view-buffer-other-frame):
2591 Mark unused arguments.
2592
2593 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2594 (woman-select-symbol-fonts, woman, woman-find-file)
2595 (woman-insert-file-contents, woman-non-underline-faces):
2596 Use string-match-p.
2597 (woman1-unquote): Move declaration.
2598
2599 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2600 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2601 argument. Remove unused local variable.
2602 (xml-parse-elem-type): Use string-match-p.
2603 (xml-substitute-numeric-entities): Use ignore-errors.
2604
45fdb482
JB
2605 * calculator.el (calculator): Mark unused argument.
2606 (calculator-paste, calculator-quit, calculator-integer-p):
2607 Use ignore-errors.
2608 (calculator-string-to-number, calculator-decimal, calculator-exp)
2609 (calculator-op-or-exp): Use string-match-p.
2610
2611 * dired.el (dired-buffer-more-recently-used-p): Declare.
2612 (dired-insert-set-properties, dired-insert-old-subdirs):
2613 Use ignore-errors.
2614
2615 * dired-aux.el (dired-compress): Use ignore-errors.
2616 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2617 (dired-do-async-shell-command, dired-do-shell-command)
2618 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2619 (dired-insert-subdir-validate): Use string-match-p.
2620 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2621 (dired-add-entry): Use string-match-p, looking-at-p.
2622 (dired-insert-subdir-newpos): Remove unused local variable.
2623
2624 * filenotify.el (file-notify-callback): Remove unused local variable.
2625
2626 * filesets.el (filesets-error): Mark unused argument.
2627 (filesets-which-command-p, filesets-filter-dir-names)
2628 (filesets-directory-files, filesets-get-external-viewer)
2629 (filesets-ingroup-get-data): Use string-match-p.
2630
2631 * find-file.el (ff-other-file-name, ff-other-file-name)
2632 (ff-find-the-other-file, ff-cc-hh-converter):
2633 Remove unused local variables.
2634 (ff-get-file-name): Use string-match-p.
2635 (ff-all-dirs-under): Use ignore-errors.
2636
2637 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2638 (follow-select-if-visible): Remove unused local variable.
2639
2640 * forms.el (read-file-filter): Move declaration.
2641 (forms--make-format, forms--make-parser, forms-insert-record):
2642 Quote function with #'.
2643 (forms--update): Use string-match-p. Quote function with #'.
2644
2645 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2646 (help-make-xrefs): Use looking-at-p.
2647 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2648
2649 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2650 (ibuffer-confirm-operation-on): Use string-match-p.
2651
2652 * msb.el (msb-item-handler, msb-dired-item-handler):
2653 Mark unused arguments.
2654
2655 * ses.el (ses-decode-cell-symbol)
2656 (ses-kill-override): Remove unused local variable.
2657 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2658 (ses-load): Use ignore-errors, looking-at-p.
2659 (ses-jump-safe): Use ignore-errors.
2660 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2661
2662 * tabify.el (untabify, tabify): Mark unused arguments.
2663
2664 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2665 Mark unused argument.
2666 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2667 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2668
c880af52
JB
2669 * emacs-lisp/timer.el (timer--time): Define setter with
2670 gv-define-setter to avoid deprecation warning.
2671
5660113b 2672 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 2673 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
2674 (cmpl-statistics-block): Remove (body was commented out).
2675 All callers changed.
2676 (add-completions-from-buffer, load-completions-from-file):
2677 Remove unused variables.
2678
156aab80
JB
26792013-08-09 Juanma Barranquero <lekktu@gmail.com>
2680
5c5dee78
JB
2681 * filecache.el (file-cache-delete-file-list):
2682 Print message only when told so.
2683 (file-cache-files-matching): Use #' in mapconcat argument.
2684
156aab80
JB
2685 * ffap.el (ffap-url-at-point): Fix reference to variable
2686 thing-at-point-default-mail-uri-scheme.
2687
ad9dcd70
SM
26882013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2689
54bd972f
SM
2690 * subr.el (define-error): New function.
2691 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2692 error-file-not-found and define with define-error.
2693 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2694 and define with define-error.
2695 * userlock.el (file-locked, file-supersession):
2696 * simple.el (mark-inactive):
2697 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2698 * progmodes/ada-mode.el (ada-mode-errors):
2699 * play/life.el (life-extinct):
2700 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2701 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2702 * nxml/rng-util.el (rng-error):
2703 * nxml/rng-uri.el (rng-uri-error):
2704 * nxml/rng-match.el (rng-compile-error):
2705 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2706 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2707 * nxml/nxml-rap.el (nxml-scan-error):
2708 * nxml/nxml-outln.el (nxml-outline-error):
2709 * net/soap-client.el (soap-error):
2710 * net/gnutls.el (gnutls-error):
2711 * net/ange-ftp.el (ftp-error):
2712 * mpc.el (mpc-proc-error):
2713 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2714 (json-number-format, json-string-escape, json-string-format)
2715 (json-key-format, json-object-format):
2716 * jka-compr.el (compression-error):
2717 * international/quail.el (quail-error):
2718 * international/kkc.el (kkc-error):
2719 * emacs-lisp/ert.el (ert-test-failed):
2720 * calc/calc.el (calc-error, inexact-result, math-overflow)
2721 (math-underflow):
2722 * bookmark.el (bookmark-error-no-filename):
2723 * epg.el (epg-error): Define with define-error.
2724
0ea9e53a
SM
2725 * time.el (display-time-event-handler)
2726 (display-time-next-load-average): Don't call sit-for since it seems
2727 unnecessary (bug#15045).
2728
b0429158
SM
2729 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2730 Use #' instead of ' to quote functions.
2731 (checkdoc-output-mode): Use setq-local.
2732 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2733 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2734 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2735 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2736 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2737 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2738 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2739 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2740
ad9dcd70
SM
2741 * ido.el (ido-completion-help): Fix up compiler warning.
2742
77187e6f
JB
27432013-08-09 Juanma Barranquero <lekktu@gmail.com>
2744
2745 * frameset.el (frameset-p): Add autoload cookie.
2746 (frameset--jump-to-register): New function, based on code moved from
2747 register.el.
2748 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2749
2750 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2751 (frameset-restore, frameset-save, frameset-session-filter-alist):
2752 Remove declarations.
2753 (register-alist): Doc fix.
2754 (frameset-to-register): Move to frameset.el.
2755 (jump-to-register, describe-register-1): Remove frameset-specific code.
2756
9d3aa82c
JB
27572013-08-08 Juanma Barranquero <lekktu@gmail.com>
2758
2759 * allout-widgets.el (allout-widgets-pre-command-business)
2760 (allout-widgets-post-command-business)
2761 (allout-widgets-after-change-handler)
2762 (allout-decorate-item-and-context, allout-set-boundary-marker)
2763 (allout-body-modification-handler)
2764 (allout-graphics-modification-handler): Mark ignored arguments.
2765 (allout-widgets-post-command-business)
2766 (allout-widgets-exposure-change-processor)
2767 (allout-widgets-exposure-undo-processor)
2768 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2769 (allout-parse-item-at-point, allout-decorate-item-guides)
2770 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2771 * allout.el (epa-passphrase-callback-function): Declare.
2772 (allout-overlay-insert-in-front-handler)
2773 (allout-overlay-interior-modification-handler)
2774 (allout-isearch-end-handler, allout-chart-siblings)
2775 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2776 (allout-yank-processing, allout-process-exposed)
2777 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 2778 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
2779 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2780 (lisp-indent-defform): Mark ignored arguments.
2781 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2782 (calculate-lisp-indent): Remove unused variables.
2783 * international/characters.el (indian-2-column, arabic-2-column)
2784 (tibetan): Mark ignored arguments.
2785 (use-cjk-char-width-table): Mark ignored arguments.
2786 Remove unused variables.
2787 * international/fontset.el (build-default-fontset-data)
2788 (x-compose-font-name, create-fontset-from-fontset-spec):
2789 Mark ignored arguments.
2790 (fontset-plain-name): Remove unused variables.
2791 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2792 (keyboard-coding-system): Mark ignored arguments.
2793 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2794 * help.el (resize-temp-buffer-window):
2795 * window.el (display-buffer-in-major-side-window)
2796 (display-buffer-in-side-window, display-buffer-in-previous-window):
2797 Remove unused variables.
2798 * isearch.el (isearch-forward-symbol):
2799 * version.el (emacs-bzr-version-bzr):
2800 * international/mule-cmds.el (current-language-environment):
2801 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2802 (x-handle-display):
2803 * term/pc-win.el (x-list-fonts, x-display-planes)
2804 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2805 (x-server-version, x-display-screens, x-display-mm-height)
2806 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2807 (x-selection-owner-p, x-own-selection-internal)
2808 (x-disown-selection-internal, x-get-selection-internal)
2809 (msdos-initialize-window-system):
2810 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2811 * term/x-win.el (x-handle-no-bitmap-icon):
2812 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2813 (vc-default-find-file-hook, vc-default-extra-menu):
2814 Mark ignored arguments.
2815
0ca3f70e
SM
28162013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2817
2818 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2819 break-condition in the context of the debugged code (bug#12685).
2820
74c5d24c
CS
28212013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2822
2823 * comint.el:
2824 Do not use an overlay to highlight the last prompt. (Bug#14744)
2825 (comint-mode): Make comint-last-prompt buffer local.
2826 (comint-last-prompt): New variable.
2827 (comint-last-prompt-overlay): Remove. Superseded by
2828 comint-last-prompt.
0ca3f70e
SM
2829 (comint-snapshot-last-prompt, comint-output-filter):
2830 Use comint-last-prompt.
74c5d24c 2831
c03c02ee
JB
28322013-08-08 Juanma Barranquero <lekktu@gmail.com>
2833
a3738d20 2834 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
2835 (frameset-save): Check validity of the resulting frameset.
2836
04263d23
XF
28372013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2838
2839 * ido.el (ido-record-command): Add doc string.
2840
76c5e5ab
JB
28412013-08-08 Juanma Barranquero <lekktu@gmail.com>
2842
2843 * frameset.el (frameset): Do not disable creation of the default
2844 frameset-p predicate. Doc fix.
2845 (frameset-valid-p): New function, copied from the old predicate-p.
2846 Add additional checks.
2847 (frameset-restore): Check with frameset-valid-p.
2848 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2849 (frameset-name, frameset-description, frameset-properties)
2850 (frameset-states): Add docstring.
f9dbf1cb
JB
2851 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2852 (frameset-filter-alist): Doc fixes.
76c5e5ab 2853
bd0c3c0b
JB
28542013-08-08 Juanma Barranquero <lekktu@gmail.com>
2855
2856 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2857
c735544c
SM
28582013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2861 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2862 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2863 (byte-compile-normal-call): Remove obsolescence check.
2864
2805a651
JB
28652013-08-08 Juanma Barranquero <lekktu@gmail.com>
2866
3677ffeb
JB
2867 * frameset.el (frameset-restore): Doc fix.
2868
2805a651
JB
2869 * register.el (frameset-frame-id, frameset-frame-with-id)
2870 (frameset-p, frameset-restore, frameset-save): Declare.
2871 (register-alist): Document framesets.
2872 (frameset-session-filter-alist): Declare.
2873 (frameset-to-register): New function.
2874 (jump-to-register): Implement jumping to framesets. Doc fix.
2875 (describe-register-1): Describe framesets.
2876
2877 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2878
a912c016
JB
28792013-08-07 Juanma Barranquero <lekktu@gmail.com>
2880
2881 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2882 Use lexical-binding.
2883
2884 * frameset.el (frameset): Use type vector, not list (incompatible
2885 change). Do not declare a new constructor, use the default one.
2886 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2887 `name' and `description', respectively, and add read-only slot
2888 `timestamp'. Doc fixes.
2889 (frameset-copy, frameset-persistent-filter-alist)
2890 (frameset-filter-alist, frameset-switch-to-gui-p)
2891 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2892 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2893 (frameset-filter-iconified, frameset-keep-original-display-p):
2894 Doc fixes.
2895 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2896 Rename from frameset-filter-(save|restore)-param. All callers changed.
2897 Doc fix.
2898 (frameset-p): Adapt to change to vector and be more thorough.
2899 Change arg name to OBJECT. Doc fix.
2900 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2901 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2902 All callers changed.
2903 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2904 All callers changed.
2905 (frameset--record-minibuffer-relationships): Rename from
2906 frameset--process-minibuffer-frames. All callers changed.
2907 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2908 Use new default constructor (again). Doc fix.
2909 (frameset--find-frame-if): Rename from `frameset--find-frame.
2910 All callers changed.
2911 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2912 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2913 Doc fix.
2914 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2915 PARAMETERS and WINDOW-STATE, respectively.
2916 (frameset-restore): Add new keyword argument PREDICATE.
2917 Reset frameset--target-display to nil. Doc fix.
2918
bb41480a
SM
29192013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2920
f001e98e
SM
2921 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2922 (bat-mode): Use it.
2923 (bat-mode-syntax-table): Mark \n as end-of-comment.
2924 (bat-font-lock-keywords): Remove comment rule.
2925
7679edb1
SM
2926 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2927 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2928
bb41480a
SM
2929 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2930 (byte-compile-callargs-warn): Use `push'.
2931 (byte-compile-arglist-warn): Ignore higher-order "calls".
2932 (byte-compile-file-form-autoload): Use `pcase'.
2933 (byte-compile-function-form): If quoting a symbol, check that it exists.
2934
cdc1ebb9
EZ
29352013-08-07 Eli Zaretskii <eliz@gnu.org>
2936
2937 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2938 and add a few popular commands found in batch files.
2939 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2940 (dos-mode): Doc fixes.
2941
312b1740
SM
29422013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2943
2944 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2945 (dos-mode): Use setq-local. Add space after "rem".
2946 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2947 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2948
400a3178
AM
29492013-08-07 Arni Magnusson <arnima@hafro.is>
2950
2951 * progmodes/dos.el: New file.
2952 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2953 dos-mode.
2954
3b5c03d3
GM
29552013-08-06 Glenn Morris <rgm@gnu.org>
2956
2957 * calendar/calendar.el: Add new faces, and day-header-array.
2958 (calendar-weekday-header, calendar-weekend-header)
2959 (calendar-month-header): New faces.
2960 (calendar-day-header-construct): New function.
2961 (calendar-day-header-width): Also :set calendar-day-header-array.
2962 (calendar-american-month-header, calendar-european-month-header)
2963 (calendar-iso-month-header): Use calendar- faces.
2964 (calendar-generate-month):
2965 Use calendar-day-header-array for day headers; apply faces to them.
2966 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2967 (calendar-abbrev-construct): Add optional maxlen argument.
2968 (calendar-day-name-array): Doc fix.
2969 (calendar-day-name-array, calendar-abbrev-length)
2970 (calendar-day-abbrev-array):
2971 Also :set calendar-day-header-array, and maybe redraw.
2972 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 2973 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
2974 (calendar-day-name): Add option to use header array.
2975
ec6a2d7a
LMI
29762013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2977
2978 * net/shr.el (shr-render-td): Remove debugging.
2979 (shr-render-td): Make width computation consistent by defaulting
2980 all zero-width columns to 10 characters. This may not be optimal,
2981 but it's at least consistent.
2122cb6d
LMI
2982 (shr-make-table-1): Redo last change to fix the real problem in
2983 colspan handling.
ec6a2d7a 2984
ed4fd9c5
DA
29852013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2986
0ca3f70e
SM
2987 * files.el (cache-long-line-scans):
2988 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 2989
64e22afe
JB
29902013-08-06 Juanma Barranquero <lekktu@gmail.com>
2991
024b38fc
JB
2992 * frameset.el (frameset, frameset-filter-alist)
2993 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2994 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2995 (frameset-compute-pos): Rename from frameset--compute-pos,
2996 and add docstring.
2997 (frameset-move-onscreen): Use frameset-compute-pos.
2998 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2999
64e22afe
JB
3000 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3001 Fix typos in docstrings.
3002
c8c2aca8
DA
30032013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3004
3005 * frame.el (get-other-frame): Tiny cleanup.
3006
1d237bba
JB
30072013-08-06 Juanma Barranquero <lekktu@gmail.com>
3008
8951efef
JB
3009 * vc/vc.el (vc-default-ignore-completion-table):
3010 Silence byte-compiler warning.
3011
307764cc
JB
3012 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3013 slot , which can indeed be nil.
3014 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3015 Move entry for `left' from persistent to live filter alist.
3016 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3017 Doc fixes.
3018 (frameset-filter-params): When restoring a frame, copy items added to
3019 `filtered', to avoid unwittingly modifying the original parameters.
3020 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3021 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3022
1d237bba
JB
3023 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3024 to use looking-at-p instead of looking-at. (Bug#15028)
3025
dc6c0eda
SM
30262013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 Revert introduction of isearch-filter-predicates (bug#14714).
3029 Rely on add-function instead.
3030 * isearch.el (isearch-filter-predicates): Rename it back to
3031 isearch-filter-predicate.
3032 (isearch-message-prefix): Use advice-function-mapc and advice
3033 properties to get the isearch-message-prefix.
3034 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3035 instead of run-hook-with-args-until-failure.
3036 (isearch-filter-visible): Not obsolete any more.
3037 * loadup.el: Preload nadvice.
3038 * replace.el (perform-replace): Revert to funcall
3039 instead of run-hook-with-args-until-failure.
3040 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3041 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3042 dired-isearch-filenames-toggle; make it into a proper minor mode.
3043 Use add/remove-function.
3044 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3045 Call the minor-mode rather than add/remove-hook.
3046 (dired-isearch-filter-filenames):
3047 Remove isearch-message-prefix property.
3048 * info.el (Info--search-loop): New function, extracted from Info-search.
3049 Funcall isearch-filter-predicate instead of
3050 run-hook-with-args-until-failure isearch-filter-predicates.
3051 (Info-search): Use it.
3052 (Info-mode): Use isearch-filter-predicate instead of
3053 isearch-filter-predicates.
3054
290d5b58
DA
30552013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3056
3057 Do not call to `selected-window' where it is assumed by default.
3058 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3059 `window-hscroll', `window-width', `window-height', `window-buffer',
3060 `window-frame', `window-start', `window-point', `next-window'
3061 and `window-display-table'.
3062 * abbrev.el (abbrev--default-expand):
3063 * bs.el (bs--show-with-configuration):
3064 * buff-menu.el (Buffer-menu-mouse-select):
3065 * calc/calc.el (calc):
3066 * calendar/calendar.el (calendar-generate-window):
3067 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3068 (diary-make-entry):
3069 * comint.el (send-invisible, comint-dynamic-complete-filename)
3070 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3071 * completion.el (complete):
3072 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3073 * disp-table.el (describe-current-display-table):
3074 * doc-view.el (doc-view-insert-image):
3075 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3076 * ehelp.el (with-electric-help):
3077 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3078 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3079 * emacs-lisp/helper.el (Helper-help-scroller):
3080 * emulation/cua-base.el (cua--post-command-handler-1):
3081 * eshell/esh-mode.el (eshell-output-filter):
3082 * ffap.el (ffap-gnus-wrapper):
3083 * help-macro.el (make-help-screen):
3084 * hilit-chg.el (highlight-compare-buffers):
3085 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3086 * hl-line.el (global-hl-line-highlight):
3087 * icomplete.el (icomplete-simple-completing-p):
3088 * isearch.el (isearch-done):
3089 * jit-lock.el (jit-lock-stealth-fontify):
3090 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3091 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3092 * mpc.el (mpc-tagbrowser, mpc):
3093 * net/rcirc.el (rcirc-any-buffer):
3094 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3095 * play/landmark.el (landmark-max-width, landmark-max-height):
3096 * play/zone.el (zone):
3097 * progmodes/compile.el (compilation-goto-locus):
3098 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3099 * progmodes/etags.el (find-tag-other-window):
3100 * progmodes/fortran.el (fortran-column-ruler):
3101 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3102 * progmodes/verilog-mode.el (verilog-point-text):
3103 * reposition.el (reposition-window):
3104 * rot13.el (toggle-rot13-mode):
3105 * server.el (server-switch-buffer):
3106 * shell.el (shell-dynamic-complete-command)
3107 (shell-dynamic-complete-environment-variable):
3108 * simple.el (insert-buffer, set-selective-display)
3109 (delete-completion-window):
3110 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3111 (speedbar-recenter):
3112 * startup.el (fancy-splash-head):
3113 * textmodes/ispell.el (ispell-command-loop):
3114 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3115 * tutorial.el (help-with-tutorial):
3116 * vc/add-log.el (add-change-log-entry):
3117 * vc/compare-w.el (compare-windows):
3118 * vc/ediff-help.el (ediff-indent-help-message):
3119 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3120 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3121 (ediff-setup-control-frame):
3122 * vc/emerge.el (emerge-position-region):
3123 * vc/pcvs-util.el (cvs-bury-buffer):
3124 * window.el (walk-windows, mouse-autoselect-window-select):
3125 * winner.el (winner-set-conf, winner-undo): Related users changed.
3126
38276e01
JB
31272013-08-05 Juanma Barranquero <lekktu@gmail.com>
3128
3129 * frameset.el (frameset--set-id): Doc fix.
3130 (frameset-frame-id, frameset-frame-id-equal-p)
3131 (frameset-locate-frame-id): New functions.
3132 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3133 (frameset-restore): Use them.
3134
12b4c0ea
DA
31352013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3136
3137 Do not call to `selected-frame' where it is assumed by default.
3138 Affected functions are `raise-frame', `redraw-frame',
3139 `frame-first-window', `frame-terminal' and `delete-frame'.
3140 * calendar/appt.el (appt-disp-window):
3141 * epg.el (epg-wait-for-completion):
3142 * follow.el (follow-delete-other-windows-and-split)
3143 (follow-avoid-tail-recenter):
3144 * international/mule.el (set-terminal-coding-system):
3145 * mail/rmail.el (rmail-mail-return):
3146 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3147 * progmodes/f90.el (f90-add-imenu-menu):
3148 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3149 * server.el (server-switch-buffer):
3150 * simple.el (delete-completion-window):
3151 * talk.el (talk):
3152 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3153 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3154 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3155 * vc/ediff.el (ediff-documentation): Related users changed.
3156 * frame.el (selected-terminal): Remove the leftover.
3157
17f25e76
GM
31582013-08-05 Glenn Morris <rgm@gnu.org>
3159
3160 * calendar/calendar.el (calendar-generate-month):
3161 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
3162 (calendar-generate-month, calendar-font-lock-keywords):
3163 Fix for calendar-day-header-width > length of any day name.
17f25e76 3164
063233c3
JB
31652013-08-05 Juanma Barranquero <lekktu@gmail.com>
3166
3167 * desktop.el (desktop-clear): Use new name of sort predicate.
3168
3169 * frameset.el (frameset): Add docstring. Move :version property to its
3170 own `version' slot.
3171 (frameset-copy): Rename from copy-frameset.
3172 (frameset-p): Check more thoroughly.
3173 (frameset-prop): Do not check for :version, which is no longer a prop.
3174 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3175 Use new :never value instead of t.
3176 (frameset-filter-alist): Expand and clarify docstring.
3177 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3178 (frameset-filter-minibuffer, frameset-filter-save-param)
3179 (frameset-filter-restore-param, frameset-filter-iconified):
3180 Add pointer to docstring of frameset-filter-alist.
3181 (frameset-filter-params): Rename filter values to be more meaningful:
3182 :never instead of t, and reverse the meanings of :save and :restore.
3183 (frameset--process-minibuffer-frames): Clarify error message.
3184 (frameset-save): Avoid unnecessary and confusing call to framep.
3185 Use new BOA constructor for framesets.
3186 (frameset--reuse-list): Doc fix.
3187 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3188 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3189 (frameset-minibufferless-first-p): Doc fix.
3190 Rename from frameset-sort-frames-for-deletion.
3191 (frameset-restore): Doc fixes. Use new function names.
3192 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3193
d5671a82
JB
31942013-08-04 Juanma Barranquero <lekktu@gmail.com>
3195
3196 * desktop.el (desktop-restore-forces-onscreen)
3197 (desktop-restore-reuses-frames): Document :keyword constant values.
3198 (desktop-filter-parameters-alist): Remove, now identical to
3199 frameset-filter-alist.
3200 (desktop--filter-tty*): Remove, moved to frameset.el.
3201 (desktop-save-frameset, desktop-restore-frameset):
3202 Do not pass :filters argument.
3203
3204 * frameset.el (frameset-live-filter-alist)
3205 (frameset-persistent-filter-alist): New variables.
3206 (frameset-filter-alist): Use them. Add autoload cookie.
3207 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3208 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3209 `frameset--id' (it's supposed to be internal to frameset.el).
3210 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3211 (frameset--initial-params): New function.
3212 (frameset--get-frame): Use it. Doc fix.
3213 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3214 Accept :all, not 'all.
3215 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3216 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3217 with fbound symbols. Fix frame id matching, and remove matching ids if
3218 the frame being restored is deleted. Obey :delete.
3219
671d5c16
SM
32202013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * subr.el (macrop): New function.
3223 (text-clone--maintaining): New var.
3224 (text-clone--maintain): Rename from text-clone-maintain. Use it
3225 instead of inhibit-modification-hooks.
3226
3227 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3228 a proxy, so as handle autoloads and redefinitions of the target.
3229 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3230
3231 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3232 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3233 (pcase--mutually-exclusive-p): New function.
3234 (pcase--split-consp): Use it.
3235 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3236 mutually exclusive with the current predicate.
3237
3238 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3239 (edebug-macrop): Remove. Use `macrop' instead.
3240 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3241 (ad-macro-p):
3242 * eshell/esh-cmd.el (eshell-macrop):
3243 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3244
1d44e9dc
SM
32452013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3246
3247 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3248 (advice-mapc): New function, using it.
3249 (advice-function-member-p): New function.
3250 (advice--normalize): Store the cdr in advice--saved-rewrite since
3251 that's the part that will be changed.
3252 (advice--symbol-function): New function.
3253 (advice-remove): Handle removal before the function is defined.
3254 Adjust to new advice--saved-rewrite.
3255 (advice-member-p): Use advice-function-member-p and
3256 advice--symbol-function.
3257
5414a283
JB
32582013-08-04 Juanma Barranquero <lekktu@gmail.com>
3259
51d30f2c
JB
3260 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3261 (frameset-filter-minibuffer): Doc fix.
3262 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
3263 (frameset--set-id, frameset--process-minibuffer-frames)
3264 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3265 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 3266
5414a283
JB
3267 * desktop.el (desktop-clear): Only delete frames when called
3268 interactively and desktop-restore-frames is non-nil. Doc fix.
3269 (desktop-read): Set desktop-saved-frameset to nil.
3270
ab419665
XF
32712013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3272
3273 * vc/vc.el (vc-ignore): Rewrite.
3274 (vc-default-ignore-completion-table):
3275 (vc--read-lines):
3276 (vc--add-line, vc--remove-regexp): New functions.
3277
3278 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3279 (vc-svn-ignore-completion-table): New function.
3280
3281 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3282 (vc-hg-ignore-completion-table):
3283 (vc-hg-find-ignore-file): New functions.
3284
3285 * vc/vc-git.el (vc-git-ignore): Rewrite.
3286 (vc-git-ignore-completion-table):
3287 (vc-git-find-ignore-file): New functions.
3288
3289 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3290
3291 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3292 (vc-bzr-ignore-completion-table):
3293 (vc-bzr-find-ignore-file): New functions.
3294
2613dea2
JB
32952013-08-03 Juanma Barranquero <lekktu@gmail.com>
3296
3297 * frameset.el (frameset-prop): New function and setter.
3298 (frameset-save): Do not modify frame list passed by the caller.
3299
9c959872
SM
33002013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3303
a104f656
SM
33042013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3305
70122acf
SM
3306 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3307 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3308
a104f656
SM
3309 * custom.el (custom-initialize-default, custom-initialize-set)
3310 (custom-initialize-reset, custom-initialize-changed): Affect the
3311 toplevel-default-value (bug#6275, bug#14586).
3312 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3313 for bug#6275.
3314
f078d570
JB
33152013-08-02 Juanma Barranquero <lekktu@gmail.com>
3316
185e3b5a
JB
3317 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3318 Add cl-def* expressions.
3319
f078d570
JB
3320 * frameset.el (frameset-filter-params): Fix order of arguments.
3321
9421876d
JB
33222013-08-02 Juanma Barranquero <lekktu@gmail.com>
3323
3324 Move code related to saving frames to frameset.el.
3325 * desktop.el: Require frameset.
3326 (desktop-restore-frames): Doc fix.
3327 (desktop-restore-reuses-frames): Rename from
3328 desktop-restoring-reuses-frames.
3329 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3330 (desktop-clear): Clear frames too.
3331 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3332 (desktop--filter-tty*, desktop-save, desktop-read):
3333 Use frameset functions.
3334 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3335 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3336 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3337 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3338 (desktop--process-minibuffer-frames, desktop-save-frames)
3339 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3340 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3341 (desktop--sort-states, desktop-restoring-frames-p)
3342 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3343 (desktop-restoring-frameset-p, desktop-restore-frameset)
3344 (desktop--check-dont-save, desktop-save-frameset): New functions.
3345 (desktop--app-id): New constant.
3346 (desktop-first-buffer, desktop-buffer-ok-count)
3347 (desktop-buffer-fail-count): Move before first use.
3348 * frameset.el: New file.
3349
76dc5996
SM
33502013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * files.el: Use lexical-binding.
3353 (dir-locals-read-from-file): Remove unused `err' variable.
3354 (hack-dir-local-variables--warned-coding): New var.
3355 (hack-dir-local-variables): Use it to avoid repeated warnings.
3356 (make-backup-file-name--default-function): New function.
3357 (make-backup-file-name-function): Use it as default.
3358 (buffer-stale--default-function): New function.
3359 (buffer-stale-function): Use it as default.
3360 (revert-buffer-insert-file-contents--default-function): New function.
3361 (revert-buffer-insert-file-contents-function): Use it as default.
3362 (insert-directory): Avoid add-to-list.
3363
3364 * autorevert.el (auto-revert-handler): Simplify.
3365 Use buffer-stale--default-function.
3366
06d36e2b
TH
33672013-08-01 Tassilo Horn <tsdh@gnu.org>
3368
5f648ab4
TH
3369 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3370
06d36e2b
TH
3371 * whitespace.el (whitespace-ensure-local-variables): New function.
3372 (whitespace-cleanup-region): Call it.
3373 (whitespace-turn-on): Call it.
3374
a43dc424
MA
33752013-08-01 Michael Albinus <michael.albinus@gmx.de>
3376
3377 Complete file name handlers.
3378
3379 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3380 (tramp-handle-verify-visited-file-modtime)
3381 (tramp-handle-file-notify-rm-watch): New functions.
3382 (tramp-call-process): Do not bind `default-directory'.
3383
44e18199
JB
3384 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3385 Order alphabetically.
a43dc424
MA
3386 [access-file, add-name-to-file, dired-call-process]:
3387 [dired-compress-file, file-acl, file-notify-rm-watch]:
3388 [file-ownership-preserved-p, file-selinux-context]:
3389 [make-directory-internal, make-symbolic-link, set-file-acl]:
3390 [set-file-selinux-context, set-visited-file-modtime]:
3391 [verify-visited-file-modtime]: Add handler.
3392 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3393
3394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3395 [file-notify-add-watch, file-notify-rm-watch]:
3396 [set-file-times, set-visited-file-modtime]:
3397 [verify-visited-file-modtime]: Add handler.
3398 (with-tramp-gvfs-error-message)
3399 (tramp-gvfs-handle-set-visited-file-modtime)
3400 (tramp-gvfs-fuse-file-name): Remove.
3401 (tramp-gvfs-handle-file-notify-add-watch)
3402 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3403 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3404
44e18199
JB
3405 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3406 Order alphabetically.
a43dc424
MA
3407 [file-notify-rm-watch ]: Use default Tramp handler.
3408 [executable-find]: Remove private handler.
3409 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3410 `default-directory'.
3411 (tramp-sh-handle-executable-find)
3412 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3413 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3414 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3415 Do not use `format' in `tramp-message'.
3416
3417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3418 [file-notify-rm-watch, set-visited-file-modtime]:
3419 [verify-visited-file-modtime]: Add handler.
3420 (tramp-smb-call-winexe): Do not bind `default-directory'.
3421
7188b515
XF
34222013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3423
3424 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3425
2412ee1a
DG
34262013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3427
3428 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3429 use it.
3430 (log-view-diff-changeset): Same.
3431 (log-view-diff-common): Call backend command `previous-revision'
3432 to find out the previous revision, in both cases. Swap the
3433 variables `to' and `fr', so that `fr' usually refers to the
3434 earlier revision (Bug#14989).
3435
5002a754
KRC
34362013-07-31 Kan-Ru Chen <kanru@kanru.info>
3437
3438 * ibuf-ext.el (ibuffer-filter-by-filename):
3439 Make it work with dired buffers too.
3440
44e18199 34412013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
3442
3443 * emacs-lisp/re-builder.el (reb-color-display-p):
3444 * files.el (save-buffers-kill-terminal):
3445 * net/browse-url.el (browse-url):
3446 * server.el (server-save-buffers-kill-terminal):
3447 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3448 Prefer nil to selected-frame for the first arg of frame-parameter.
3449
aeca3fbb
XF
34502013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3451
3452 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3453
158bc55c
SB
34542013-07-30 Stephen Berman <stephen.berman@gmx.net>
3455
3456 * minibuffer.el (completion--twq-all): Try and preserve each
3457 completion's case choice (bug#14907).
3458
d50fceab
LMI
34592013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3460
ac38e731
LMI
3461 * net/network-stream.el (open-network-stream): Mention the new
3462 :nogreeting parameter.
3463 (network-stream-open-starttls): Use the :nogreeting parameter
3464 (bug#14938).
3465
1211de50
LMI
3466 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3467
997798bf
LMI
3468 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3469 more natural than popping.
3470
d50fceab 3471 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 3472 (shr-urlify): Highlight under mouse.
d50fceab 3473
5c09de04
XF
34742013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3475
207d1d04
XF
3476 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3477
3478 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3479
5c09de04
XF
3480 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3481 buffer for output.
3482
3cd51eaa
XF
3483 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3484 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 3485
44e18199 3486 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 3487 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
3488
3489 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3490
3491 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3492 buffer for output.
3493
35a89bdd
EZ
34942013-07-29 Eli Zaretskii <eliz@gnu.org>
3495
3496 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3497 initial frame is minibuffer-less. (Bug#14841)
3498
78822e94
MA
34992013-07-29 Michael Albinus <michael.albinus@gmx.de>
3500
3501 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3502 option.
3503
3504 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3505 (tramp-maybe-open-connection): Use it.
3506
9503c190
JB
35072013-07-28 Juanma Barranquero <lekktu@gmail.com>
3508
3509 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3510 minimal set of parameters passed when creating a frame, because
3511 the minibuffer status of a frame cannot be changed later.
3512
d5a845b4
SB
35132013-07-28 Stephen Berman <stephen.berman@gmx.net>
3514
3515 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3516 replace-regexp-in-string and inadvertent omissions in previous change.
3517 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 3518 name of filtered items buffer.
d5a845b4 3519
ddeffb17
JB
35202013-07-28 Juanma Barranquero <lekktu@gmail.com>
3521
3522 * desktop.el: Optionally force offscreen frames back onscreen.
3523 (desktop-restoring-reuses-frames): New option.
3524 (desktop--compute-pos, desktop--move-onscreen): New functions.
3525 (desktop--make-frame): Use desktop--move-onscreen.
3526
f5950f7a
AM
35272013-07-27 Alan Mackenzie <acm@muc.de>
3528
3529 Fontify a Java generic method as a function.
3530 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3531 value to t.
3532
ae43b66a
SB
35332013-07-27 Stephen Berman <stephen.berman@gmx.net>
3534
3535 * calendar/todo-mode.el: Add command to rename todo files.
3536 (todo-rename-file): New command.
3537 (todo-key-bindings-t): Add key binding for it. Change the
3538 bindings of todo-filter-regexp-items(-multifile) to use `x'
3539 instead of `r', since the latter is better suited to the new
3540 renaming command.
3541
5ab78d3d
AM
35422013-07-27 Alan Mackenzie <acm@muc.de>
3543
3544 Make Java try-with-resources statement parse properly.
3545 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3546 (c-block-stmt-1-2-key): New language constants/variables.
3547 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3548 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3549 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 3550 with c-block-stmt-1-2-key.
5ab78d3d 3551
d85c4d50
JB
35522013-07-27 Juanma Barranquero <lekktu@gmail.com>
3553
3554 * desktop.el (desktop--make-frame): Apply most frame parameters after
3555 creating the frame to force (partially or totally) offscreen frames to
3556 be restored as such.
3557
e4c467f9
XF
35582013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3559
3560 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 3561 (Bug#14948)
e4c467f9 3562
7ced0d04
SM
35632013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3566 `base' arg of backtrace-frame.
3567
fec92060
EZ
35682013-07-26 Eli Zaretskii <eliz@gnu.org>
3569
3570 * simple.el (list-processes): Doc fix.
3571
d58d31fb
JB
35722013-07-26 Juanma Barranquero <lekktu@gmail.com>
3573
3574 * desktop.el (desktop--select-frame):
d85c4d50 3575 Try harder to reuse existing frames.
d58d31fb 3576
53ff3e77
SM
35772013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3578
3579 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3580 (edebug-eval): Use backtrace-eval.
3581 (edebug--display, edebug--recursive-edit): Don't let-bind the
3582 edebug-outer-* vars that keep track of variables we locally let-bind.
3583 (edebug-outside-excursion): Don't restore outside values of locally
3584 let-bound vars.
3585 (edebug--display): Use user-error.
3586 (cl-lexical-debug, cl-debug-env): Remove.
3587
045f7a53
JB
35882013-07-26 Juanma Barranquero <lekktu@gmail.com>
3589
3590 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3591 are restored to be sure that they are visible before deleting any
3592 remaining ones.
3593
59070b32
MM
35942013-07-26 Matthias Meulien <orontee@gmail.com>
3595
742a3501
XF
3596 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3597 vc-print-root-log. (Bug#14948)
59070b32 3598
b1fb3596
RS
35992013-07-26 Richard Stallman <rms@gnu.org>
3600
3601 Add aliases for encrypting mail.
3602 * epa.el (epa-mail-aliases): New option.
3603 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3604 Bind inhibit-read-only so read-only text doesn't ruin everything.
3605 (epa-mail-default-recipients): New subroutine broken out.
3606 Handle epa-mail-aliases.
3607
56ea7291
SM
36082013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 Add support for lexical variables to the debugger's `e' command.
3611 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3612 vars, except for debugger-outer-match-data.
3613 (debugger-frame-number): Move check for "on a function call" from
3614 callers into it. Add `skip-base' argument.
3615 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3616 (debugger-env-macro): Only reset the state stored in non-variables,
3617 i.e. current-buffer and match-data.
3618 (debugger-eval-expression): Rewrite using backtrace-eval.
3619 * subr.el (internal--called-interactively-p--get-frame): Remove.
3620 (called-interactively-p):
3621 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3622 `base' arg of backtrace-frame instead.
3623
15ac32d5
GM
36242013-07-26 Glenn Morris <rgm@gnu.org>
3625
8358a09d
GM
3626 * align.el (align-regexp): Doc fix. (Bug#14857)
3627 (align-region): Explicit error if subexpression missing/does not match.
3628
15ac32d5
GM
3629 * simple.el (global-visual-line-mode):
3630 Do not duplicate the mode lighter. (Bug#14858)
3631
f47ad11b
MR
36322013-07-25 Martin Rudalics <rudalics@gmx.at>
3633
3634 * window.el (display-buffer): In display-buffer bind
3635 split-window-keep-point to t, bug#14829.
3636
02530987
JB
36372013-07-25 Juanma Barranquero <lekktu@gmail.com>
3638
3639 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3640 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3641 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3642 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3643 Change accordingly.
f63ebeb5
JB
3644 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3645 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 3646
6ccb9cab 36472013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 3648
6ccb9cab 3649 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 3650
cb3a56d2
JB
36512013-07-25 Juanma Barranquero <lekktu@gmail.com>
3652
3653 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3654 parameter to modify-frame-parameters if the value has not changed;
3655 this is a workaround for bug#14949.
3656 (desktop--make-frame): On cl-delete-if call, check parameter name,
3657 not full parameter.
3658
7aa7fff0
XF
36592013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3660
3661 * vc/vc.el (vc-ignore): New function.
3662
3663 * vc/vc-svn.el (vc-svn-ignore): New function.
3664
3665 * vc/vc-hg.el (vc-hg-ignore): New function.
3666
3667 * vc/vc-git.el (vc-git-ignore): New function.
3668
3669 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3670 (vc-dir-ignore): New function.
3671
3672 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 3673 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
3674
3675 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3676
3677 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3678
889acc5c
JB
36792013-07-24 Juanma Barranquero <lekktu@gmail.com>
3680
3681 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3682 (desktop-restore-frames): Warn when deleting an existing frame failed.
3683
86c40970
GM
36842013-07-24 Glenn Morris <rgm@gnu.org>
3685
3686 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3687
d5d3c58a
MA
36882013-07-24 Michael Albinus <michael.albinus@gmx.de>
3689
3690 * filenotify.el (file-notify-supported-p):
3691 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3692 Remove functions.
3693
3694 * autorevert.el (auto-revert-use-notify):
3695 (auto-revert-notify-add-watch):
3696 * net/tramp.el (tramp-file-name-for-operation):
3697 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3698 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3699 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3700 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3701 Remove `file-notify-supported-p' entry.
3702
d100084b
GM
37032013-07-24 Glenn Morris <rgm@gnu.org>
3704
3705 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 3706 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 3707
ac93e56b
SM
37082013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3709
249eea30
SM
3710 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3711 checked with memq (bug#14935).
3712
ac93e56b
SM
3713 * files.el (revert-buffer-function): Use a non-nil default.
3714 (revert-buffer-preserve-modes): Declare var to
3715 provide access to the `preserve-modes' argument.
3716 (revert-buffer): Let-bind it.
3717 (revert-buffer--default): New function, extracted from revert-buffer.
3718
2cdeb903
SM
37192013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * lpr.el: Signal print errors more prominently.
3722 (print-region-function): Don't default to nil.
3723 (lpr-print-region): New function, extracted from print-region-1.
3724 Check lpr's return value and signal an error in case of problem.
3725 (print-region-1): Use it.
3726 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3727 versions instead.
3728 (ps-printer-name): Default to nil.
3729 (ps-printer-name-option): Default to lpr-printer-switch.
3730 (ps-print-region-function): Don't default to nil.
3731 (ps-postscript-code-directory): Simplify default.
3732 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3733 (ps-string-list, ps-eval-switch, ps-flatten-list)
3734 (ps-flatten-list-1): Remove.
3735 (ps-multibyte-buffer): Avoid setq.
3736 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3737 (print-region-function, ps-print-region-function): Don't set them here.
3738
73600831
XF
37392013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3740
0e55c076
XF
3741 * ido.el (ido-fractionp):
3742 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3743 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3744 (ido-max-directory-size, ido-max-dir-file-cache)
3745 (ido-decorations): Doc fix.
3746
73600831
XF
3747 * ansi-color.el: Fix old URL.
3748
3d012865
MM
37492013-07-23 Michael R. Mauger <michael@mauger.com>
3750
e903c210 3751 * progmodes/sql.el: Version 3.3
3d012865
MM
3752 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3753 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3754 (sql-interactive-remove-continuation-prompt): Rewrite, use
3755 functions above. Fix continuation prompt and complete output line
3756 handling.
3757 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3758 redirected output buffer.
3759 (sql-mode): Restore deleted code (Bug#13591).
3760
da77a2e2
JB
37612013-07-23 Juanma Barranquero <lekktu@gmail.com>
3762
3763 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3764
80ff0c71
MA
37652013-07-23 Michael Albinus <michael.albinus@gmx.de>
3766
3767 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3768
3769 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3770 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3771 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3772
b61d71e4
JB
37732013-07-23 Juanma Barranquero <lekktu@gmail.com>
3774
3775 * desktop.el (desktop-clear): Simplify; remove useless checks
3776 against invalid buffer names.
3777 (desktop-list*): Use cl-list*.
3778 (desktop-buffer-info, desktop-create-buffer): Simplify.
3779
c3512092
LL
37802013-07-23 Leo Liu <sdl.web@gmail.com>
3781
3782 * bookmark.el (bookmark-make-record): Restore NAME as a default
3783 value. (Bug#14933)
3784
0ac26976
SM
37852013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3786
7d22ce18
SM
3787 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3788 extracted from autoload--insert-text.
3789 (autoload--insert-text): Remove.
3790 (autoload--print-cookie-text): New function, extracted from
3791 autoload--insert-cookie-text.
3792 (autoload--insert-cookie-text): Remove.
3793 (autoload-generate-file-autoloads): Adjust calls accordingly.
3794
9b2607e8
SM
3795 * winner.el (winner-hook-installed-p): Remove.
3796 (winner-mode): Simplify accordingly.
3797
c43a8618
SM
3798 * subr.el (add-to-list): Fix compiler-macro when `append' is
3799 not constant. Don't use `cl-member' for the base case.
3800
0ac26976
SM
3801 * progmodes/subword.el: Fix boundary case (bug#13758).
3802 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3803 own group.
3804 (subword-backward-regexp): Make it a constant.
3805 (subword-forward-internal): Don't treat a trailing capital as the
3806 beginning of a word.
3807
6874724a
AR
38082013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3809
3810 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3811 global value of tabulated-list-revert-hook (bug#14930).
3812
70f1b5e8
JB
38132013-07-22 Juanma Barranquero <lekktu@gmail.com>
3814
a1c80d9d
JB
3815 * desktop.el: Require 'cl-lib.
3816 (desktop-before-saving-frames-functions): New hook.
3817 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3818 for frames being saved. Rename from desktop--save-minibuffer-frames.
3819 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
3820 Do not save frames with non-nil `desktop-dont-save' parameter.
3821 Filter out deleted frames.
a1c80d9d
JB
3822 (desktop--find-frame): Use cl-find-if.
3823 (desktop--select-frame): Use cl-(first|second|third) to access values
3824 of desktop-mini.
3825 (desktop--make-frame): Use cl-delete-if.
3826 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3827 (desktop-restore-frames): Use cl-(first|second|third) to access values
3828 of desktop-mini. Look for visible frame at the end, not while
3829 restoring frames.
3830
70f1b5e8
JB
3831 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3832 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3833 Use string-match-p, looking-at-p (bug#14927).
3834
728dc3cc
JB
38352013-07-21 Juanma Barranquero <lekktu@gmail.com>
3836
56bc453c
JB
3837 * desktop.el (desktop-saved-frame-states):
3838 Rename from desktop--saved-states; all users changed.
3839 (desktop-save-frames): Rename from desktop--save-frames.
3840 Do not save state to desktop file.
3841 (desktop-save): Save desktop-saved-frame-states to desktop file
3842 and reset to nil.
3843 (desktop-restoring-frames-p): New function.
3844 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3845 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3846 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3847
728dc3cc
JB
3848 * desktop.el: Correctly restore iconified frames.
3849 (desktop--filter-iconified-position): New function.
3850 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3851
862f1c9c
GM
38522013-07-20 Glenn Morris <rgm@gnu.org>
3853
c4074c9f
GM
3854 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3855 Let `message' do the formatting.
3856 (def-gdb-preempt-display-buffer): Add explicit format.
3857
d828e5f9
GM
3858 * image-dired.el (image-dired-track-original-file):
3859 Use with-current-buffer.
3860 (image-dired-track-thumbnail): Use with-current-buffer.
3861 Avoid changing point of wrong window.
3862
862f1c9c
GM
3863 * image-dired.el (image-dired-track-original-file):
3864 Avoid changing point of wrong window. (Bug#14909)
3865
f0398ec1 38662013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
3867
3868 * progmodes/gdb-mi.el (gdb-done-or-error):
3869 Guard against "%" in gdb output. (Bug#14127)
3870
1451928f
AS
38712013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3872
763a086d
JB
3873 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3874 (Bug#14826)
f7a03897 3875
1451928f
AS
3876 * international/mule.el (coding-system-iso-2022-flags): Fix last
3877 change.
3878
99107004
KH
38792013-07-20 Kenichi Handa <handa@gnu.org>
3880
763a086d
JB
3881 * international/mule.el (coding-system-iso-2022-flags):
3882 Add `8-bit-level-4'. (Bug#8522)
99107004 3883
48494e06
LMI
38842013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3885
8ba8eec5
LMI
3886 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3887 (bug#14815).
3888
dfbc66e3
LMI
3889 * net/eww.el (eww-process-text-input): Allow inputting when the
3890 point is at the start of the line, as the properties aren't
3891 front-sticky.
3892
48494e06
LMI
3893 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3894 degenerate widths.
3895
77c92cb9
RS
38962013-07-19 Richard Stallman <rms@gnu.org>
3897
aec7da77
RS
3898 * epa.el (epa-popup-info-window): Doc fix.
3899
77c92cb9
RS
3900 * subr.el (split-string): New arg TRIM.
3901
945c5bb1
JB
39022013-07-18 Juanma Barranquero <lekktu@gmail.com>
3903
3904 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3905 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3906
e06ec67f
MA
39072013-07-18 Michael Albinus <michael.albinus@gmx.de>
3908
c7064f05 3909 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
3910 `file-notify-support'. Do not autoload. Adapt all uses.
3911 (file-notify-supported-p): New defun.
3912
c7064f05
JB
3913 * autorevert.el (auto-revert-use-notify):
3914 Use `file-notify-supported-p' instead of `file-notify-support'.
3915 Adapt docstring.
e06ec67f
MA
3916 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3917
3918 * net/tramp.el (tramp-file-name-for-operation):
3919 Add `file-notify-supported-p'.
3920
3921 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3922 New defun.
3923 (tramp-sh-file-name-handler-alist): Add it as handler for
3924 `file-notify-supported-p '.
3925
3926 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3927 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3928 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3929 Add `ignore' as handler for `file-notify-*' functions.
3930
5dc8a629
EZ
39312013-07-17 Eli Zaretskii <eliz@gnu.org>
3932
3933 * simple.el (line-move-partial, line-move): Don't start vscroll or
3934 scroll-up if the current line is not taller than the window.
3935 (Bug#14881)
3936
77aea2fb
DG
39372013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3938
3939 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3940 highlight question marks in the method names as strings.
ac72c08d
DG
3941 (ruby-block-beg-keywords): Inline.
3942 (ruby-font-lock-keyword-beg-re): Extract from
3943 `ruby-font-lock-keywords'.
77aea2fb 3944
18c26d81
JD
39452013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3946
3947 * frame.el (blink-cursor-blinks): New defcustom.
3948 (blink-cursor-blinks-done): New defvar.
3949 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3950 (blink-cursor-timer-function): Check if number of blinks has been
3951 done on X and NS.
3952 (blink-cursor-suspend, blink-cursor-check): New defuns.
3953
da48522e
GM
39542013-07-15 Glenn Morris <rgm@gnu.org>
3955
3956 * edmacro.el (edmacro-format-keys): Fix previous change.
3957
0463c1ef
PE
39582013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3959
3960 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3961 The hack didn't work outside English locales anyway.
3962
b43f6451
JB
39632013-07-15 Juanma Barranquero <lekktu@gmail.com>
3964
3965 * simple.el (define-alternatives): Rename from alternatives-define,
3966 per RMS' suggestion.
3967
b958c0ad
JB
39682013-07-14 Juanma Barranquero <lekktu@gmail.com>
3969
3970 * desktop.el (desktop-restore-frames): Change default to t.
3971 (desktop-restore-in-current-display): Now offer more options.
3972 (desktop-restoring-reuses-frames): New customization option.
3973 (desktop--saved-states): Doc fix.
3974 (desktop-filter-parameters-alist): New variable, renamed and expanded
3975 from desktop--excluded-frame-parameters.
3976 (desktop--target-display): New variable.
3977 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3978 (desktop--filter-tty*, desktop--filter-*-color)
3979 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3980 (desktop--filter-save-desktop-parm)
3981 (desktop-restore-in-original-display-p): New functions.
3982 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3983 (desktop--save-minibuffer-frames): New function, inspired by a similar
3984 function from Martin Rudalics.
3985 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3986 (desktop--restore-in-this-display-p): Remove.
3987 (desktop--find-frame): Rename from desktop--find-frame-in-display
3988 and add predicate argument.
3989 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3990 (desktop--reuse-list): New variable.
3991 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3992 New functions.
3993 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3994
f6dd8b36
MA
39952013-07-14 Michael Albinus <michael.albinus@gmx.de>
3996
3997 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3998
2ce3c565
DG
39992013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4000
763a086d
JB
4001 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4002 Highlight conversion methods on Kernel.
2ce3c565 4003
2cdb7698
AM
40042013-07-13 Alan Mackenzie <acm@muc.de>
4005
4006 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4007 and comment it out. This out-commenting enables certain C++
4008 declarations to be parsed correctly.
4009
1a67b811
EZ
40102013-07-13 Eli Zaretskii <eliz@gnu.org>
4011
1b796d6b
EZ
4012 * international/mule.el (define-coding-system): Doc fix.
4013
1a67b811
EZ
4014 * simple.el (default-font-height): Don't call font-info if the
4015 frame's default font didn't change since the frame was created.
4016 (Bug#14838)
4017
58fbe886
LL
40182013-07-13 Leo Liu <sdl.web@gmail.com>
4019
4020 * ido.el (ido-read-file-name): Guard against non-symbol value.
4021
1f0480d4
FEG
40222013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4023
4024 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4025 in nested defuns.
4026
97ead0e5
LL
40272013-07-13 Leo Liu <sdl.web@gmail.com>
4028
4029 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4030 ido-set-matches call. (Bug#6852)
4031
0880a952
DG
40322013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4033
4034 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4035 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4036 Ruby 2.0.
4037 (ruby-font-lock-keywords): Distinguish calls to functions with
4038 module-like names from module references. Highlight character
4039 literals.
4040
a7d8babb
SDJ
40412013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4042
4043 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 4044 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 4045
acfcc8c5
JB
40462013-07-12 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * desktop.el (desktop--v2s): Remove unused local variable.
4049 (desktop-save-buffer): Make defvar-local; adjust docstring.
4050 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4051 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4052
051f2775
AS
40532013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4054
4055 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4056
f24e7572
GM
40572013-07-12 Eli Zaretskii <eliz@gnu.org>
4058
4059 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4060 (Bug#14842)
4061
539a920c
GM
40622013-07-12 Glenn Morris <rgm@gnu.org>
4063
4064 * doc-view.el: Require cl-lib at runtime too.
4065 (doc-view-remove-if): Remove.
4066 (doc-view-search-next-match, doc-view-search-previous-match):
4067 Use cl-remove-if.
4068
4069 * edmacro.el: Require cl-lib at runtime too.
4070 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4071 (edmacro-mismatch, edmacro-subseq): Remove.
4072
4073 * shadowfile.el: Require cl-lib.
4074 (shadow-remove-if): Remove.
4075 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4076 Use cl-remove-if.
4077
4078 * wid-edit.el: Require cl-lib.
4079 (widget-choose): Use cl-remove-if.
4080 (widget-remove-if): Remove.
4081
4082 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4083 (ebrowse-delete-if-not): Remove.
4084 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4085 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4086 Use cl-delete-if-not.
4087
1048af7c
JB
40882013-07-12 Juanma Barranquero <lekktu@gmail.com>
4089
4090 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4091 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4092
6c0674ee
LL
40932013-07-12 Leo Liu <sdl.web@gmail.com>
4094
4095 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4096
a19b3c2d
GM
40972013-07-11 Glenn Morris <rgm@gnu.org>
4098
4582a01c
GM
4099 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4100 (edebug-gensym-index, edebug-gensym):
4101 Remove reimplementation of cl-gensym.
4102 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4103
4104 * thumbs.el: Require cl-lib at run-time too.
4105 (thumbs-gensym-counter, thumbs-gensym):
4106 Remove reimplementation of cl-gensym.
4107 (thumbs-temp-file): Use cl-gensym.
4108
a19b3c2d
GM
4109 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4110 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4111 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4112 (ert--union, ert--gensym-counter, ert--gensym-counter)
4113 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4114 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4115 (ert-make-test-unbound, ert--expand-should-1)
4116 (ert--expand-should, ert--should-error-handle-error)
4117 (should-error, ert--explain-equal-rec)
4118 (ert--plist-difference-explanation, ert-select-tests)
4119 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4120 Use cl-lib functions rather than reimplementations.
4121
88f6a933
MA
41222013-07-11 Michael Albinus <michael.albinus@gmx.de>
4123
4124 * net/tramp.el (tramp-methods): Extend docstring.
4125 (tramp-connection-timeout): New defcustom.
4126 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4127 (with-tramp-progress-reporter): Simplify.
4128 (tramp-process-actions): Improve messages.
4129
4130 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4131 * net/tramp-sh.el (tramp-maybe-open-connection):
4132 Use `tramp-connection-timeout'.
4133 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4134 (Bug#14808)
4135
a43d577e
LL
41362013-07-11 Leo Liu <sdl.web@gmail.com>
4137
4138 * ido.el (ido-read-file-name): Conform to the requirements of
4139 read-file-name. (Bug#11861)
4140 (ido-read-directory-name): Conform to the requirements of
4141 read-directory-name.
4142
d77974bf
JB
41432013-07-11 Juanma Barranquero <lekktu@gmail.com>
4144
4145 * subr.el (delay-warning): New function.
4146
35cb8a3e
EZ
41472013-07-10 Eli Zaretskii <eliz@gnu.org>
4148
4149 * simple.el (default-line-height): New function.
4150 (line-move-partial, line-move): Use it instead of computing the
4151 line height inline.
4152 (line-move-partial): Always compute ROWH. If the last line is
4153 partially-visible, but its text is completely visible, allow
4154 cursor to enter such a partially-visible line.
4155
525c5c77
MA
41562013-07-10 Michael Albinus <michael.albinus@gmx.de>
4157
4158 Improve error messages. (Bug#14808)
4159
4160 * net/tramp.el (tramp-current-connection): New defvar, moved from
4161 tramp-sh.el.
0ac26976 4162 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 4163 needed anymore.
0ac26976
SM
4164 (tramp-error-with-buffer): Show message in minibuffer.
4165 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
4166 (with-tramp-progress-reporter): Improve messages.
4167 (tramp-process-actions): Use progress reporter. Delete process in
4168 case of error. Improve messages.
4169
763a086d
JB
4170 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4171 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 4172 (tramp-current-connection): Remove.
525c5c77
MA
4173 (tramp-maybe-open-connection): The car of
4174 `tramp-current-connection' are the first 3 slots of the vector.
4175
c7a4d368
TZ
41762013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4177
4178 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4179 inside continued strings.
4180
954b166e
PE
41812013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4182
4183 Timestamp fixes for undo (Bug#14824).
4184 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4185
56973319
LL
41862013-07-10 Leo Liu <sdl.web@gmail.com>
4187
4188 * files.el (require-final-newline): Allow safe local value.
4189 (Bug#14834)
4190
5550a72c
LL
41912013-07-09 Leo Liu <sdl.web@gmail.com>
4192
4193 * ido.el (ido-read-directory-name): Handle fallback.
4194 (ido-read-file-name): Update DIR to ido-current-directory.
4195 (Bug#1516)
c28b9050 4196 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 4197
70c46b28
DG
41982013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4199
4200 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4201 "autoload". Remove "warn lower camel case" section, previously
4202 commented out. Highlight negation char. Do not highlight the
4203 target in singleton method definitions.
4204
0b64b838
SM
42052013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4206
7fd72e2c
SM
4207 * faces.el (tty-setup-hook): Declare the hook.
4208
0b64b838
SM
4209 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4210 and detect when a guard/pred depends on local vars (bug#14773).
4211 (pcase--u1): Adjust caller.
4212
ab49d60b
EZ
42132013-07-08 Eli Zaretskii <eliz@gnu.org>
4214
4215 * simple.el (line-move-partial, line-move): Account for
4216 line-spacing.
701d79aa
EZ
4217 (line-move-partial): Avoid setting vscroll when the last
4218 partially-visible line in window is of default height.
ab49d60b 4219
2d756ae0
LMI
42202013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4221
4222 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4223 been used a while.
4224
ed095bd7
JB
42252013-07-07 Juanma Barranquero <lekktu@gmail.com>
4226
4227 * subr.el (read-quoted-char): Remove unused local variable `char'.
4228
f1e6674b
MK
42292013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4230
584ee3fc
GM
4231 * ediff.el (ediff-version): Version update.
4232 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4233 (ediff-merge-with-ancestor-command, ediff-directories-command)
4234 (ediff-directories3-command, ediff-merge-directories-command)
4235 (ediff-merge-directories-with-ancestor-command): New functions.
4236 All are command-line interfaces to ediff: to facilitate calling
4237 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
4238
4239 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4240 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 4241
584ee3fc
GM
4242 * viper.el (viper-version): Version update.
4243 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 4244
584ee3fc
GM
42452013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4246
4247 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4248 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4249 (viper-intercept-ESC-key): Simplify.
4250 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4251 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4252 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4253 (viper-setup-ESC-to-escape): New functions.
4254 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4255 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 4256
9aff9b38
EZ
42572013-07-07 Eli Zaretskii <eliz@gnu.org>
4258
5165d44a
JB
4259 * simple.el (default-font-height, window-screen-lines):
4260 New functions.
9aff9b38
EZ
4261 (line-move, line-move-partial): Use them instead of
4262 frame-char-height and window-text-height. This makes scrolling
4263 text smoother when the buffer's default face uses a font that is
4264 different from the frame's default font.
4265
1afb1d07
JD
42662013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4267
4268 * files.el (write-file): Do not display confirm dialog for NS,
4269 it does its own dialog, which can't be cancelled (Bug#14578).
4270
23de972a
EZ
42712013-07-06 Eli Zaretskii <eliz@gnu.org>
4272
4273 * simple.el (line-move-partial): Adjust the row returned by
4274 posn-at-point for the current window-vscroll. (Bug#14567)
4275
54a42486
MA
42762013-07-06 Michael Albinus <michael.albinus@gmx.de>
4277
4278 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4279 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4280 spaces.
4281
34ada5f4
MR
42822013-07-06 Martin Rudalics <rudalics@gmx.at>
4283
4284 * window.el (window-state-put-stale-windows): New variable.
4285 (window--state-put-2): Save list of windows without matching buffer.
4286 (window-state-put): Remove "bufferless" windows if possible.
4287
11e03d89
JB
42882013-07-06 Juanma Barranquero <lekktu@gmail.com>
4289
4290 * simple.el (alternatives-define): Remove leftover :group keyword.
4291 Tweak docstring.
4292
3504a4be
LL
42932013-07-06 Leo Liu <sdl.web@gmail.com>
4294
4295 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4296 (ido-enable-virtual-buffers): New variable.
4297 (ido-buffer-internal, ido-toggle-virtual-buffers)
4298 (ido-make-buffer-list): Use it.
4299 (ido-exhibit): Support turning on and off virtual buffers
4300 automatically.
4301
61e56e2c
JB
43022013-07-06 Juanma Barranquero <lekktu@gmail.com>
4303
4304 * simple.el (alternatives-define): New macro.
4305
321e1a9c
SM
43062013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4307
4308 * subr.el (read-quoted-char): Use read-key.
4309 (sit-for): Let read-event decode tty input (bug#14782).
4310
d610f6dd
SB
43112013-07-05 Stephen Berman <stephen.berman@gmx.net>
4312
4313 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
4314 mode command and externally. Fix various related bugs.
4315 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
4316 (todo-delete-file): New command.
4317 (todo-check-file): New function.
4318 (todo-show): Handle external deletion of the file we're trying to
4319 show (bug#14688). Replace called-interactively-p by an optional
4320 prefix argument to avoid problematic interaction with catch form
4321 when byte compiled (bug#14702).
4322 (todo-quit): Handle external deletion of the archive's todo file.
4323 Make sure the buffer that was visiting the archive file is still
4324 live before trying to bury it.
4325 (todo-category-completions): Handle external deletion of any
4326 category completion files.
4327 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4328 of todo files, in case of external deletion.
4329 (todo-add-file): Replace unnecessary setq by let-binding.
4330 (todo-find-archive): Check whether there are any archives.
4331 Replace unnecessary setq by let-binding.
4332 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
4333 archive buffer whether or not the archive already exists.
4334 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
4335 check if the archive is new; if it is, update list of archives.
4336 (todo-default-todo-file): Allow nil to be a valid value for when
4337 there are no todo files.
4338 (todo-reevaluate-default-file-defcustom): Use corrected definition
4339 of todo-default-todo-file.
4340 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4341 (todo-delete-category, todo-show-categories-table)
4342 (todo-category-number): Clarify comment.
4343 (todo-filter-items): Clarify documentation string.
4344 (todo-show-current-file, todo-display-as-todo-file)
4345 (todo-reset-and-enable-done-separator): Tweak documentation string.
4346 (todo-done-separator): Make separator length window-width, since
4347 bug#2749 is now fixed.
4348
ddbdfd6f
MA
43492013-07-05 Michael Albinus <michael.albinus@gmx.de>
4350
321e1a9c
SM
4351 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4352 Support both "gvfs-monitor-dir" and "inotifywait".
4353 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
4354 `tramp-sh-file-notify-process-filter'.
4355 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4356 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4357
96eb829a
LL
43582013-07-05 Leo Liu <sdl.web@gmail.com>
4359
4360 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4361
cf13177e
YM
43622013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4363
4364 * frame.el (display-pixel-height, display-pixel-width)
4365 (display-mm-height, display-mm-width): Mention behavior on
4366 multi-monitor setups in docstrings.
4367 (w32-display-monitor-attributes-list): Declare function.
4368 (display-monitor-attributes-list): Use it.
4369
864c58ca
MA
43702013-07-04 Michael Albinus <michael.albinus@gmx.de>
4371
4372 * filenotify.el: New package.
4373
4374 * autorevert.el (top): Require filenotify.el.
4375 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4376 instead.
4377 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4378 (auto-revert-notify-handler): Use `file-notify-*' functions.
4379
4380 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4381
321e1a9c
SM
4382 * net/tramp.el (tramp-file-name-for-operation):
4383 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
4384
4385 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4386 for `file-notify-add-watch' and `file-notify-rm-watch'.
4387 (tramp-process-sentinel): Improve trace.
4388 (tramp-sh-handle-file-notify-add-watch)
4389 (tramp-sh-file-notify-process-filter)
4390 (tramp-sh-handle-file-notify-rm-watch)
4391 (tramp-get-remote-inotifywait): New defuns.
4392
96673afe
JL
43932013-07-03 Juri Linkov <juri@jurta.org>
4394
4395 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4396 call of `occur-read-primary-args' to interactive spec.
4397
4398 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4399 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4400
924494f4
MM
44012013-07-03 Matthias Meulien <orontee@gmail.com>
4402
4403 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4404 `Buffer-menu-multi-occur'. Add it to the menu.
4405 (Buffer-menu-mode): Document it in docstring.
4406 (Buffer-menu-multi-occur): New command. (Bug#14673)
4407
56f75efc
DG
44082013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4409
4410 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4411 keywords and built-ins.
4412
9b057d61
GM
44132013-07-03 Glenn Morris <rgm@gnu.org>
4414
208dee4d
GM
4415 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4416
9b057d61
GM
4417 Make info-xref checks case-sensitive by default
4418 * info.el (Info-find-node, Info-find-in-tag-table)
4419 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4420 Add option for exact case matching of nodes.
4421 * info-xref.el (info-xref): New custom group.
4422 (info-xref-case-fold): New option.
4423 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4424
e01aa29c
LL
44252013-07-03 Leo Liu <sdl.web@gmail.com>
4426
4427 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4428
3086ca2e
DG
44292013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4430
4431 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4432 middle of block statement initially, lower the depth. Remove
4433 FIXME comment, not longer valid. Remove middle of block statement
4434 detection, no need to do that anymore since we've been using
4435 `ruby-parse-region' here.
4436
a3b49114
JD
44372013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4438
4439 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4440
08e5c823 44412013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
4442
4443 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4444
2addf922
JB
44452013-07-01 Juanma Barranquero <lekktu@gmail.com>
4446
4447 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4448 (desktop-restore-in-current-display): New customization option.
4449 (desktop--excluded-frame-parameters): Add `font'.
4450 (desktop--save-frames): Rename from desktop--save-windows.
4451 (desktop--restore-in-this-display-p): New function.
4452 (desktop--make-full-frame): Remove unwanted width/height from
4453 full(width|height) frames.
4454 (desktop--restore-frames): Rename from desktop--restore-windows.
4455 Obey desktop-restore-current-display. Do not delete old frames or
4456 select a new frame unless we were able to restore at least one frame.
4457
ef099a94
MN
44582013-06-30 Michal Nazarewicz <mina86@mina86.com>
4459
4460 * files.el (find-file-noselect): Simplify conditional expression.
4461
4462 * remember.el (remember-append-to-file):
4463 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4464
4465 Add `remember-notes' function to store random notes across Emacs
4466 restarts.
4467 * remember.el (remember-data-file): Add :set callback to affect
4468 notes buffer (if any).
4469 (remember-notes): New command.
4470 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4471 New defcustoms for the `remember-notes' function.
4472 (remember-notes-save-and-bury-buffer): New command.
4473 (remember-notes-mode-map): New variable.
4474 (remember-mode): New minor mode.
4475 (remember-notes--kill-buffer-query): New function.
4476 * startup.el (initial-buffer-choice): Add notes to custom type.
4477
0865d506
EZ
44782013-06-30 Eli Zaretskii <eliz@gnu.org>
4479
0ba54312
EZ
4480 * bindings.el (right-char, left-char): Don't call sit-for, this is
4481 no longer needed. Use arithmetic comparison only for numerical
4482 arguments.
4483
ef099a94
MN
4484 * international/mule-cmds.el (select-safe-coding-system):
4485 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 4486
2fae38e5
LMI
44872013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4488
4489 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4490 progression on degenerate tables.
ef099a94 4491 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 4492
a47cbd64
JB
44932013-06-30 Juanma Barranquero <lekktu@gmail.com>
4494
4495 Some fixes and improvements for desktop frame restoration.
4496 It is still experimental and disabled by default.
4497 * desktop.el (desktop--save-windows): Put the selected frame at
4498 the head of the list.
4499 (desktop--make-full-frame): New function.
4500 (desktop--restore-windows): Try to re-select the frame that was
4501 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
4502 just show an error message and continue. Set up maximized frames
4503 so they have default non-maximized dimensions.
a47cbd64 4504
6dbafa30
DG
45052013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4506
ef099a94
MN
4507 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4508 Don't start heredoc inside a string or comment.
6dbafa30 4509
4c672a0f
EZ
45102013-06-29 Eli Zaretskii <eliz@gnu.org>
4511
4512 * bindings.el (visual-order-cursor-movement): New defcustom.
4513 (right-char, left-char): Provide visual-order cursor motion by
4514 calling move-point-visually. Update the doc strings.
4515
50960f36
KH
45162013-06-28 Kenichi Handa <handa@gnu.org>
4517
4518 * international/mule.el (define-coding-system): New coding system
4519 properties :inhibit-null-byte-detection,
4520 :inhibit-iso-escape-detection, and :prefer-utf-8.
4521 (set-buffer-file-coding-system): If :charset-list property of
4522 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4523 appropriate for setting.
4524
c1ea3abf
JB
4525 * international/mule-cmds.el (select-safe-coding-system):
4526 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4527 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
4528
4529 * international/mule-conf.el (prefer-utf-8): New coding system.
4530 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4531 files.
4532
75dbaf9d
IK
45332013-06-28 Ivan Kanis <ivan@kanis.fr>
4534
eadb6068
IK
4535 * net/shr.el (shr-render-region): New function.
4536
75dbaf9d
IK
4537 * net/eww.el: Autoload `eww-browse-url'.
4538
9ea5cf9f
DG
45392013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4540
c1ea3abf
JB
4541 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4542 Adapt to `package-desc-version' being a list.
4543 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
4544 archive element.
4545
39c0e36f
JB
45462013-06-27 Juanma Barranquero <lekktu@gmail.com>
4547
4548 New experimental feature to save&restore window and frame setup.
4549 * desktop.el (desktop-save-windows): New defcustom.
4550 (desktop--saved-states): New var.
4551 (desktop--excluded-frame-parameters): New defconst.
4552 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4553 (desktop--restore-windows, desktop--save-windows): New functions.
4554 (desktop-save): Call `desktop--save-windows'.
4555 (desktop-read): Call `desktop--restore-windows'.
4556
7f13406b
LMI
45572013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4558
ef099a94 4559 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 4560
1e072639
SB
45612013-06-27 Stephen Berman <stephen.berman@gmx.net>
4562
4563 * info.el (Info-try-follow-nearest-node): Move search for footnote
4564 above search for node name to prevent missing a footnote (bug#14717).
4565
f3e2cbde
SB
45662013-06-27 Stephen Berman <stephen.berman@gmx.net>
4567
4568 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4569
99906aa0
LL
45702013-06-27 Leo Liu <sdl.web@gmail.com>
4571
4572 * net/eww.el (eww-read-bookmarks): Check file size.
4573
539f75f4
SM
45742013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4577 advice--pending if newdef is nil or an autoload (bug#13820).
4578 (advice-mapc): New function.
4579
843571cb
LMI
45802013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4581
4582 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4583 probably.
23a75d7f 4584 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
4585 (eww-add-bookmark): New command.
4586 (eww-bookmark-mode): New mode and commands.
a285ce99 4587 (eww-add-bookmark): Remove newlines from the title.
47fd571b 4588 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 4589
f2136e1e
GM
45902013-06-26 Glenn Morris <rgm@gnu.org>
4591
eab35f39
GM
4592 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4593 (hfy-size): Handle ttys. (Bug#14668)
4594
f2136e1e
GM
4595 * info-xref.el: Update for Texinfo 5 change in *note format.
4596 (info-xref-node-re, info-xref-note-re): New constants.
4597 (info-xref-check-buffer): Use info-xref-note-re.
4598
a49ff80c
SM
45992013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4600
a343d218
SM
4601 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4602
a49ff80c
SM
4603 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4604 nil terminate the loop (bug#14718).
4605
8308f184
LMI
46062013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4607
4608 * net/eww.el: Rework history traversal. When going forward/back,
4609 put these actions into the history, too, so that they can be
4610 replayed.
26bf2b82 4611 (eww-render): Move the history reset to the correct buffer.
8308f184 4612
ec64c273
JL
46132013-06-25 Juri Linkov <juri@jurta.org>
4614
4615 * files-x.el (modify-dir-local-variable): Change the header comment
4616 in the file with directory local variables. (Bug#14692)
4617
e080a9d7
JL
4618 * files-x.el (read-file-local-variable-value): Add `default'.
4619 (Bug#14710)
4620
bfbc93a1
IK
46212013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4622
4623 * net/eww.el (eww-make-unique-file-name): Create a unique file
4624 name before saving to entering `y' accidentally asynchronously.
4625
46262013-06-25 Ivan Kanis <ivan@kanis.fr>
4627
4628 * net/eww.el (eww-download): New command and keystroke.
4629
16f74f10
LMI
46302013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4631
a49ff80c 4632 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
4633
4634 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4635 be more consistent with Info and dired.
4636
4637 * net/eww.el (eww-mode-map): Ditto.
4638
12059709
SM
46392013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4642 packages from archives.
4643 (package-archive-contents): Change format; include obsolete packages.
4644 (package-desc): Use `dir' to mark builtin packages.
4645 (package--from-builtin): Set the `dir' field to `builtin'.
4646 (generated-autoload-file, version-control): Declare.
4647 (package-compute-transaction): Change first arg and return value to be
4648 lists of package-descs. Adjust to new package-archive-contents format.
4649 (package--add-to-archive-contents): Adjust to new
4650 package-archive-contents format.
4651 (package-download-transaction): Arg is now a list of package-descs.
4652 (package-install): If `pkg' is a package name, pass it as
4653 a requirement, so it is subject to the usual (e.g. disabled) checks.
4654 (describe-package): Accept package-desc as well.
4655 (describe-package-1): Describe a specific package-desc. Add links to
4656 other package-descs for the same package name.
4657 (package-menu-describe-package): Pass the actual package-desc.
4658 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4659 works correctly.
4660 (package-desc-status): New function.
4661 (package-menu--refresh): New function, extracted
4662 from package-menu--generate.
4663 (package-menu--generate): Use it.
4664 (package-delete): Update package-alist.
4665 (package-menu-execute): Don't call package-initialize.
4666
4667 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4668 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4669 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4670 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4671 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4672 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4673
8bbdea0f
MR
46742013-06-25 Martin Rudalics <rudalics@gmx.at>
4675
4676 * window.el (window--state-get-1): Workaround for bug#14527.
4677 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4678
e82b0991
LMI
46792013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4680
4681 * net/eww.el (eww-back-url): Implement the history by stashing all
4682 the data into a list.
d3f0f918 4683 (eww-forward-url): Allow going forward in the history, too.
e82b0991 4684
c763842b
SM
46852013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4688 for values and use read--expression for expressions (bug#14710).
4689 (read-file-local-variable): Avoid setq.
4690 (read-file-local-variable-mode): Use minor-mode-list.
4691
bceff189
RW
46922013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4693
864c58ca 4694 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
4695 for DOI URLs.
4696
45f431c6
RW
46972013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4698
864c58ca 4699 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
4700 Update imenu-support when dialect changes.
4701
f42d8237
LL
47022013-06-25 Leo Liu <sdl.web@gmail.com>
4703
4704 * ido.el (ido-read-internal): Allow forward slash on windows.
4705
be549ce6
LMI
47062013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4707
4708 * net/eww.el (eww): Start of strings is \\`, not ^.
4709
71d4c19d
IK
47102013-06-24 Ivan Kanis <ivan@kanis.fr>
4711
5196f88a
IK
4712 * net/shr.el (shr-browse-url): Fix interactive spec.
4713
71d4c19d
IK
4714 * net/eww.el (eww): Add a trailing slash to domain names.
4715
ae36ca55
JB
47162013-06-24 Juanma Barranquero <lekktu@gmail.com>
4717
4718 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4719
0ebd92a3
LMI
47202013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4721
bdaa086b
LMI
4722 * net/shr.el (shr-browse-url): Use an external browser if given a
4723 prefix.
4724
c763842b 4725 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 4726
b89fc156
IK
47272013-06-24 Ivan Kanis <ivan@kanis.fr>
4728
4729 * net/eww.el (eww): Work more correctly for file: URLs.
4730 (eww-detect-charset): Allow quoted charsets.
4731 (eww-yank-page-url): New command and keystroke.
4732
18eb4bca
DU
47332013-06-24 Daiki Ueno <ueno@gnu.org>
4734
4735 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4736 file name of gpg executable.
4737 (epg-context-program): New function.
4738 (epg-context-home-directory): New function.
4739 (epg-context-set-program): New function.
4740 (epg-context-set-home-directory): New function.
4741 (epg--start): Use `epg-context-program' instead of
4742 'epg-gpg-program'.
4743 (epg--list-keys-1): Likewise.
4744
6c6268c8
LL
47452013-06-24 Leo Liu <sdl.web@gmail.com>
4746
4747 * ido.el (ido-read-internal): Fix bug#14620.
4748
5e400cb3
JB
47492013-06-23 Juanma Barranquero <lekktu@gmail.com>
4750
4751 * faces.el (face-documentation): Simplify.
4752 (read-face-attribute, tty-find-type, x-resolve-font-name):
4753 Use `string-match-p'.
4754 (list-faces-display): Use `string-match-p'. Simplify.
4755 (face-spec-recalc): Check face to avoid face alias loops.
4756 (read-color): Use `string-match-p' and non-capturing parenthesis.
4757
f3f9606c
LMI
47582013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4759
4760 * net/shr.el (shr-rescale-image): Use the new
4761 :max-width/:max-height functionality.
4762
a3ca09b9
IK
47632013-06-23 Ivan Kanis <ivan@kanis.fr>
4764
4765 * net/eww.el (eww-search-prefix): New variable.
4766 (eww): Use it.
f865b474
IK
4767 (eww-external-browser): New variable.
4768 (eww-mode-map): New keystroke.
4769 (eww-browse-with-external-browser): New command.
a3ca09b9 4770
e854cfc7
IK
4771 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4772
18bb9e21
JB
47732013-06-23 Juanma Barranquero <lekktu@gmail.com>
4774
4775 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4776 Don't skip aligning the next header field when padding is 0;
4777 otherwise, field width is not respected unless the title is as
4778 wide as the field.
4779
5b165ade
SM
47802013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4781
4782 * emacs-lisp/package.el (package-el-version): Remove.
4783 (package-process-define-package): Fix inf-loop.
4784 (package-install): Allow symbols as arguments again.
4785
12adebe9
DG
47862013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4787
4788 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4789 add some more keyword-like methods.
4790 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4791
388573ee
JB
47922013-06-22 Juanma Barranquero <lekktu@gmail.com>
4793
4794 * bs.el (bs-buffer-show-mark): Make defvar-local.
4795 (bs-mode): Use setq-local.
4796
4797 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4798 (emacs-lock--try-unlocking): Make defvar-local.
4799
4582a01c 48002013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 4801
2663dd23
GM
4802 * play/cookie1.el (cookie-apropos): Minor simplification.
4803
3d94f3ad
GM
4804 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4805
f72e2fdb
DG
48062013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4807
4808 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4809 `regexp-opt', it breaks the build during dumping.
4810
73eab938
DG
48112013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4812
c763842b
SM
4813 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4814 Highlight keyword-like methods on Kernel and Module with
73eab938 4815 font-lock-builtin-face.
5cf8176d
DG
4816 (auto-mode-alist): Consolidate different entries into one regexp
4817 and add more *file-s.
73eab938 4818
d26255f6
SB
48192013-06-21 Stephen Berman <stephen.berman@gmx.net>
4820
4821 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4822
4823 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4824 (diary-entry): Use it in the action of this button type instead of
4825 diary-goto-entry.
4826
4827 * calendar/todo-mode.el: New version.
4828 (todo-add-category): Append new category to end of file and give
4829 it the highest number, instead of putting it at the beginning and
4830 giving it 0. Incorporate noninteractive functionality.
4831 (todo-forward-category): Adapt to 1-based category numbering.
4832 Allow skipping over archived categories.
4833 (todo-backward-category): Derive from todo-forward-category.
4834 (todo-backward-item, todo-forward-item): Make noninteractive and
4835 delegate interactive part to new commands. Make sensitive to done items.
4836 (todo-categories): Make value an alist of category names and
4837 vectors of item counts.
4838 (todo-category-beg): Make a defconst.
4839 (todo-category-number): Use 1 instead of 0 as initial value.
4840 (todo-category-select): Make sensitive to overlays, optional item
4841 highlighting and done items.
4842 (todo-delete-item): Make sensitive to overlays and marked and done items.
4843 (todo-edit-item): Make sensitive to overlays and editing of
4844 date/time header optional. Add format checks.
4845 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4846 no-op if point is not on an item. Advertise using todo-edit-quit.
4847 (todo-edit-mode): Make sensitive to new format, font-locking, and
4848 multiple todo files.
4849 (todo-insert-item, todo-insert-item-here): Derive from
4850 todo-basic-insert-item and extend functionality.
4851 (todo-item-end, todo-item-start): Make sensitive to done items.
4852 (todo-item-string): Don't return text properties. Restore point.
4853 (todo-jump-to-category): Make sensitive to multiple todo files and
4854 todo archives. Use extended category completion.
4855 (todo-lower-item, todo-raise-item): Rename to *-priority and
4856 derive from todo-set-item-priority.
4857 (todo-mode): Derive from special-mode. Make sensitive to new
4858 format, font-locking and multiple todo files. Make read-only.
4859 (todo-mode-map): Don't suppress digit keys, so they can supply
4860 prefix arguments. Add many new key bindings.
4861 (todo-prefix): Insert as an overlay instead of file text.
4862 Change semantics from diary date expression to purely visual mark.
4863 (todo-print): Rename to todo-print-buffer. Make buffer display
4864 features printable. Remove option to restrict number of items
4865 printed. Add option to print to file.
4866 (todo-print-function): Rename to todo-print-buffer-function.
4867 (todo-quit): Extend to handle exiting new todo modes.
4868 (todo-remove-item): Make sensitive to overlays.
4869 (todo-save): Extend to buffers of filtered items.
4870 (todo-show): Make sensitive to done items, multiple todo files and
4871 new todo modes. Offer to convert legacy todo file before creating
4872 first new todo file.
4873 (todo-show-priorities): Rename to todo-top-priorities.
4874 Change semantics of value 0.
4875 (todo-top-priorities): Rename to todo-filter-top-priorities,
4876 derive from todo-filter-items and extend functionality.
4877 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4878 and extend functionality to other types of filtered items.
4879 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4880 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4881 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4882 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4883 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4884 (todo-edit-mode-hook, todo-entry-prefix-function)
4885 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4886 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4887 (todo-initials, todo-insert-threshold, todo-item-string-start)
4888 (todo-line-string, todo-menu, todo-mode-hook)
4889 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4890 (todo-print-priorities, todo-remove-separator)
4891 (todo-save-top-priorities-too, todo-string-count-lines)
4892 (todo-string-multiline-p, todo-time-string-format)
4893 (todo-tmp-buffer-name): Remove.
4894 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4895 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4896 (todo-edit-category-diary-inclusion)
4897 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4898 (todo-edit-file, todo-edit-item-date-day)
4899 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4900 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4901 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4902 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4903 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4904 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4905 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4906 (todo-filter-top-priorities-multifile, todo-find-archive)
4907 (todo-find-filtered-items-file, todo-go-to-source-item)
4908 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4909 (todo-jump-to-archive-category, todo-lower-category)
4910 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4911 (todo-move-category, todo-move-item, todo-next-button)
4912 (todo-next-item, todo-padded-string, todo-powerset)
4913 (todo-previous-button, todo-previous-item)
4914 (todo-print-buffer-to-file, todo-raise-category)
4915 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4916 (todo-set-category-number, todo-set-item-priority)
4917 (todo-set-top-priorities-in-category)
4918 (todo-set-top-priorities-in-file, todo-show-categories-table)
4919 (todo-sort-categories-alphabetically-or-numerically)
4920 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4921 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4922 (todo-toggle-item-header, todo-toggle-item-highlighting)
4923 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4924 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4925 (todo-unarchive-items, todo-unmark-category): New commands.
4926 (todo-absolute-file-name, todo-add-to-buffer-list)
4927 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4928 (todo-basic-insert-item, todo-category-completions)
4929 (todo-category-number, todo-category-string-matcher-1)
4930 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4931 (todo-check-format, todo-clear-matches)
4932 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4933 (todo-current-category, todo-date-string-matcher)
4934 (todo-define-insertion-command, todo-diary-expired-matcher)
4935 (todo-diary-goto-entry, todo-diary-item-p)
4936 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4937 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4938 (todo-done-item-section-p, todo-done-separator)
4939 (todo-done-string-matcher, todo-files, todo-filter-items)
4940 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4941 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4942 (todo-insert-category-line, todo-insert-item-from-calendar)
4943 (todo-insert-sort-button, todo-insert-with-overlays)
4944 (todo-insertion-command-name, todo-insertion-key-bindings)
4945 (todo-label-to-key, todo-longest-category-name-length)
4946 (todo-make-categories-list, todo-mode-external-set)
4947 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4948 (todo-modes-set-3, todo-multiple-filter-files)
4949 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4950 (todo-read-category, todo-read-date, todo-read-dayname)
4951 (todo-read-file-name, todo-read-time)
4952 (todo-reevaluate-category-completions-files-defcustom)
4953 (todo-reevaluate-default-file-defcustom)
4954 (todo-reevaluate-filelist-defcustoms)
4955 (todo-reevaluate-filter-files-defcustom)
4956 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4957 (todo-reset-done-separator, todo-reset-done-separator-string)
4958 (todo-reset-done-string, todo-reset-global-current-todo-file)
4959 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4960 (todo-reset-prefix, todo-set-categories)
4961 (todo-set-date-from-calendar, todo-set-show-current-file)
4962 (todo-set-top-priorities, todo-short-file-name)
4963 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4964 (todo-total-item-counts, todo-update-buffer-list)
4965 (todo-update-categories-display, todo-update-categories-sexp)
4966 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4967 New functions.
4968 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4969 New major modes.
4970 (todo-categories, todo-display, todo-edit, todo-faces)
4971 (todo-filtered): New defgroups.
4972 (todo-archived-only, todo-button, todo-category-string, todo-date)
4973 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4974 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4975 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4976 (todo-add-item-if-new-category, todo-always-add-time-string)
4977 (todo-categories-align, todo-categories-archived-label)
4978 (todo-categories-category-label, todo-categories-diary-label)
4979 (todo-categories-done-label, todo-categories-number-separator)
4980 (todo-categories-todo-label, todo-categories-totals-label)
4981 (todo-category-completions-files, todo-completion-ignore-case)
4982 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4983 (todo-done-separator-string, todo-done-string)
4984 (todo-files-function, todo-filter-done-items, todo-filter-files)
4985 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4986 (todo-initial-category, todo-initial-file, todo-item-mark)
4987 (todo-legacy-date-time-regexp, todo-mode-line-function)
4988 (todo-nondiary-marker, todo-number-prefix)
4989 (todo-print-buffer-function, todo-show-current-file)
4990 (todo-show-done-only, todo-show-first, todo-show-with-done)
4991 (todo-skip-archived-categories, todo-top-priorities-overrides)
4992 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4993 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4994 New defcustoms.
4995 (todo-category-done, todo-date-pattern, todo-date-string-start)
4996 (todo-diary-items-buffer, todo-done-string-start)
4997 (todo-filtered-items-buffer, todo-item-start)
4998 (todo-month-abbrev-array, todo-month-name-array)
4999 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5000 (todo-top-priorities-buffer): New defconsts.
5001 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5002 (todo-categories-with-marks, todo-category-string-face)
5003 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5004 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5005 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5006 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5007 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5008 (todo-font-lock-keywords, todo-global-current-todo-file)
5009 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5010 (todo-insertion-commands-args)
5011 (todo-insertion-commands-args-genlist)
5012 (todo-insertion-commands-names, todo-insertion-map)
5013 (todo-key-bindings-t, todo-key-bindings-t+a)
5014 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5015 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5016 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5017 (todo-visited): New variables.
5018
cad5d1cb
GM
50192013-06-21 Glenn Morris <rgm@gnu.org>
5020
5021 * play/cookie1.el (cookie-apropos): Add optional display argument.
5022 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5023 (psychoanalyze-pinhead): Use cookie-doctor.
5024
9e277302
JB
50252013-06-21 Juanma Barranquero <lekktu@gmail.com>
5026
5027 * emacs-lisp/package.el (tar-get-file-descriptor)
5028 (tar--extract): Declare.
5029
c5b0993e
EW
50302013-06-21 Eduard Wiebe <usenet@pusto.de>
5031
5032 Extend flymake's warning predicate to be a function (bug#14217).
5033 * progmodes/flymake.el (flymake-warning-predicate): New.
5034 (flymake-parse-line): Use it.
5035 (flymake-warning-re): Make obsolete alias to
5036 `flymake-warning-predicate'.
5037
a7d2d465
SM
50382013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5039
5040 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5041 (package-obsolete-list): Remove.
5042 (package-activate): Remove min-version argument. Add `force' argument.
5043 Adjust to new package-alist format.
5044 (package-mark-obsolete): Remove.
5045 (package-unpack): Force reload of the package's autoloads.
5046 (package-installed-p): Check builtins if the installed package is not
5047 recent enough.
5048 (package-initialize): Don't reset package-obsolete-list.
5049 Don't specify which package version to activate.
5050 (package-process-define-package, describe-package-1)
5051 (package-menu--generate): Adjust to new package-alist format.
5052
cedf5c9d
JB
50532013-06-21 Juanma Barranquero <lekktu@gmail.com>
5054
5055 * allout-widgets.el (allout-widgets-mode-off)
5056 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5057 (allout-widgets-post-command-business)
5058 (allout-widgets-after-copy-or-kill-function)
5059 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5060 (allout-decorate-item-and-context)
5061 (allout-graphics-modification-handler): Fix typos in docstrings.
5062 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5063
5064 * cmuscheme.el (scheme-start-file): Doc fix.
5065 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5066 (scheme-input-filter): Use `string-match-p'.
5067
5068 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5069
5070 * dired-x.el: Use Dired consistently in docstrings.
5071
5072 * dired.el: Use Dired consistently in docstrings.
5073 (dired-readin, dired-mode): Use `setq-local'.
5074 (dired-switches-alist): Make defvar-local.
5075 (dired-buffers-for-dir): Use `zerop'.
5076 (dired-safe-switches-p, dired-switches-escape-p)
5077 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5078 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5079 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5080 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5081 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5082 (dired-toggle-marks, dired-mark-files-containing-regexp)
5083 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5084 (dired-flag-auto-save-files, dired-flag-backup-files):
5085 Use `looking-at-p'.
5086 (dired-mark-files-regexp, dired-build-subdir-alist):
5087 Use `string-match-p', `looking-at-p'.
5088
5089 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5090 (direct-print-region-helper): Use `string-match-p'.
5091
aed838b5
LL
50922013-06-21 Leo Liu <sdl.web@gmail.com>
5093
cedf5c9d
JB
5094 * comint.el (comint-redirect-results-list-from-process):
5095 Fix infinite loop.
aed838b5 5096
d80a808f
LMI
50972013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5098
5099 * net/eww.el (eww-update-header-line-format): Quote % characters.
5100
e7a526e3
GM
51012013-06-21 Glenn Morris <rgm@gnu.org>
5102
5103 * play/cookie1.el (cookie): New custom group.
5104 (cookie-file): New option.
5105 (cookie-check-file): New function.
5106 (cookie): Make it interactive. Make start and end messages optional.
5107 Interactively, display the result. Default to cookie-file.
5108 (cookie-insert): Default to cookie-file.
5109 (cookie-snarf): Make start and end messages optional.
5110 Default to cookie-file. Use with-temp-buffer.
5111 (cookie-read): Rename from read-cookie.
5112 Make start and end messages optional. Default to cookie-file.
5113 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 5114 Do not autoload it.
e7a526e3
GM
5115 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5116 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5117
62efb35e
LL
51182013-06-21 Leo Liu <sdl.web@gmail.com>
5119
5120 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5121
21e3f963
GM
51222013-06-21 Glenn Morris <rgm@gnu.org>
5123
5124 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5125
fd846ab4
SM
51262013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5127 Daniel Hackney <dan@haxney.org>
5128
5129 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5130 Consolidate the single-file vs tarball code.
5131 (package-desc-suffix): New function.
5132 (package-desc-full-name): Don't bother inlining it.
5133 (package-load-descriptor): Return the new package-desc.
5134 (package-mark-obsolete): Remove unused arg `package'.
5135 (package-unpack): Make it work for single files as well.
5136 Make it update package-alist.
5137 (package--make-autoloads-and-stuff): Rename from
5138 package--make-autoloads-and-compile. Don't compile any more.
5139 (package--compile): New function.
5140 (package-generate-description-file): New function, extracted from
5141 package-unpack-single.
5142 (package-unpack-single): Remove.
5143 (package--with-work-buffer): Add indentation and debugging info.
5144 (package-download-single): Remove.
5145 (package-install-from-archive): Rename from package-download-tar, make
5146 it take a pkg-desc, and make it work for single files as well.
5147 (package-download-transaction): Simplify.
5148 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5149 external tar program.
5150 (package-install-from-buffer): Remove `pkg-desc' argument.
5151 Use package-tar-file-info for tar-mode buffers.
5152 (package-install-file): Simplify accordingly.
5153 (package-archive-base): Change to take a pkg-desc.
5154 * tar-mode.el (tar--check-descriptor): New function, extracted from
5155 tar-get-descriptor.
5156 (tar-get-descriptor): Use it.
5157 (tar-get-file-descriptor): New function.
5158 (tar--extract): New function, extracted from tar-extract.
5159 (tar--extract): Use it.
5160 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5161 case the summary uses non-ascii. Adjust to new calling convention of
5162 package-tar-file-info.
5163
b7deae5e
LL
51642013-06-21 Leo Liu <sdl.web@gmail.com>
5165
fd846ab4
SM
5166 * comint.el (comint-redirect-results-list-from-process):
5167 Fix random delay. (Bug#14681)
b7deae5e 5168
7a65a0b2
JB
51692013-06-21 Juanma Barranquero <lekktu@gmail.com>
5170
5171 * profiler.el (profiler-format-number): Use log, not log10.
5172
1493c2af
JB
51732013-06-20 Juanma Barranquero <lekktu@gmail.com>
5174
5175 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5176
aff6371e
SM
51772013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5180 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5181 yet available.
5182 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5183 (AUTOGENEL): ... here.
5184 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5185 (cl--defsubst-expand): Use it.
5186
89561f72
PE
51872013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5188
5189 * subr.el (log10): Move here from C code, and declare as obsolete.
5190 All uses of (log10 X) replaced with (log X 10).
5191
47199123
JB
51922013-06-20 Juanma Barranquero <lekktu@gmail.com>
5193
5194 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5195 Declare with `defvar-local'.
5196 (tabulated-list-use-header-line, tabulated-list-entries)
5197 (tabulated-list-padding, tabulated-list-printer)
5198 (tabulated-list-sort-key): Declare with `defvar-local'.
5199 (tabulated-list-init-header, tabulated-list-print-fake-header):
5200 Use `setq-local'.
5201
4a172eab
MA
52022013-06-20 Michael Albinus <michael.albinus@gmx.de>
5203
47199123
JB
5204 * arc-mode.el (archive-mode): Add `archive-write-file' to
5205 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 5206
5fc0acc0
JB
52072013-06-20 Juanma Barranquero <lekktu@gmail.com>
5208
d5b27848
JB
5209 * cus-edit.el (custom-commands): Fix typos.
5210 (custom-display): Fix tooltip text.
5211 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5212 Fix typos in docstrings.
5213 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5214 (custom-unlispify-menu-entry, custom-magic-value-create)
5215 (custom-add-see-also, custom-group-value-create): Use ?\s.
5216 (custom-guess-type, customize-apropos, editable-field)
5217 (custom-face-value-create): Use `string-match-p'.
5218 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5219
5220 * custom.el (custom-load-symbol): Use `string-match-p'.
5221
a5c581d8
JB
5222 * ansi-color.el: Convert to lexical binding.
5223 (ansi-colors): Fix URL.
5224 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5225 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5226 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5227
970ad972
G
52282013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5229
5230 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5231
5232 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5233
52342013-06-19 Tom Tromey <tromey@redhat.com>
5235
5236 * net/eww.el (eww-top-url): Remove.
5237 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5238 (eww-render): Set new variables. Don't set eww-top-url.
5239 (eww-handle-link): Handle "prev", "home", and "contents".
5240 Downcase the rel text.
5241 (eww-top-url): Choose best top URL.
5242
52432013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5244
5245 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5246 relying in widget.el. Using widget.el leads to too many
5247 user interface inconsistencies.
5248 (eww-self-insert): Implement entering commands in text fields.
5249 (eww-process-text-input): New function to make text input field editing
5250 work.
5251 (eww-submit): Rewrite to use the new-style form methods.
5252 (eww-select-display): Display the correct selected item.
5253 (eww-change-select): Implement changing the select value.
5254 (eww-toggle-checkbox): Implement radio/checkboxes.
5255 (eww-update-field): Fix compilation error.
5256 (eww-tag-textarea): Implement <textarea>.
5257
5258 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5259 we don't shadow mode-specific bindings.
5260
5261 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5262 nothing to push.
5263
5264 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5265
4582a01c 52662013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
5267
5268 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5269
15b263dc
MA
52702013-06-19 Michael Albinus <michael.albinus@gmx.de>
5271
5272 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5273 not needed.
5274
5275 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5276
8f5297f7
LMI
52772013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5278
5279 * net/browse-url.el (browse-url-browser-function):
5280 `eww-browse-url' has the right calling signature, `eww' does not.
5281
011c4552
GM
52822013-06-19 Glenn Morris <rgm@gnu.org>
5283
2285bd27
GM
5284 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5285 Only eval autoloaded macros.
5286 (byte-compile-autoload): Only give the macro warning for macros.
5287
1d653303
GM
5288 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5289 (ps-underlined-faces): Declare.
5290
bdd779ec
GM
5291 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5292 (speedbar-add-supported-extension): Declare.
5293
011c4552
GM
5294 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5295 Don't include a date stamp in the header of the generated file;
5296 it leads to needless differences between output files.
5297
e59dfb0e
MA
52982013-06-19 Michael Albinus <michael.albinus@gmx.de>
5299
c763842b
SM
5300 * net/secrets.el (secrets-struct-secret-content-type):
5301 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 5302 Some servers do not offer introspection.
e59dfb0e 5303
102626e2
SM
53042013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * electric.el (electric-pair-mode): Improve interaction with
5307 electric-layout-mode.
5308 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5309 (electric-pair-syntax): Use text-mode-syntax-table in comments
5310 and strings.
5311 (electric-pair--insert): New function.
5312 (electric-pair-post-self-insert-function): Use it and
5313 electric--after-char-pos.
5314
ad528125
LL
53152013-06-19 Leo Liu <sdl.web@gmail.com>
5316
5317 * progmodes/octave.el (octave-help): Fix regexp.
5318
924d6997
G
53192013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5320
5321 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5322 (shr-table-horizontal-line): Allow nil as a value, and change the
5323 default.
5324 (shr-insert-table-ruler): Respect the nil value.
5325
53262013-06-18 Tom Tromey <tromey@barimba>
5327
5328 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5329 New defvars.
5330 (eww-open-file): New defun.
5331 (eww-render): Initialize new variables.
5332 (eww-display-html): Handle "link" and "a".
5333 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5334 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5335 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
5336 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5337 New defuns.
924d6997 5338
d1bbba4f
DG
53392013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5340
5341 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5342 Distinguish ternary operator tokens from slash symbol and slash
5343 char literal.
5344
14dd22d2
JB
53452013-06-18 Juanma Barranquero <lekktu@gmail.com>
5346
5347 Convert symbol prettification into minor mode and global minor mode.
5348
5349 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5350 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5351 (prettify-symbols--keywords): Rename from
5352 `prog-prettify-symbols-alist' and make a local defvar.
5353 (prettify-symbols--compose-symbol): Rename from
5354 `prog--prettify-font-lock-compose-symbol'.
5355 (prettify-symbols--make-keywords): Rename from
5356 `prog-prettify-font-lock-symbols-keywords' and simplify.
5357 (prog-prettify-install): Remove.
5358 (prettify-symbols-mode): New minor mode, based on
5359 `prog-prettify-install'.
5360 (turn-on-prettify-symbols-mode): New function.
5361 (global-prettify-symbols-mode): New globalized minor mode.
5362
5363 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5364 * progmodes/cfengine.el (cfengine3-mode):
5365 * progmodes/perl-mode.el (perl-mode): Don't call
5366 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5367
292c880c
JL
53682013-06-18 Juri Linkov <juri@jurta.org>
5369
5370 * files-x.el (modify-file-local-variable-message): New function.
5371 (modify-file-local-variable)
5372 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5373 and call `modify-file-local-variable-message' when it's non-nil.
5374 (add-file-local-variable, delete-file-local-variable)
5375 (add-file-local-variable-prop-line)
5376 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5377 and use it. (Bug#9820)
5378
0950aa27
JL
53792013-06-18 Juri Linkov <juri@jurta.org>
5380
5381 * emulation/vi.el (vi-shell-op):
5382 * emulation/vip.el (vip-execute-com, ex-command):
5383 * emulation/viper-cmd.el (viper-exec-bang):
5384 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5385 the call of `shell-command-on-region'. (Bug#14637)
5386
5387 * simple.el (shell-command-on-region): Doc fix.
5388
8fbcca16
SM
53892013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5390
5391 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5392 (bug#14633).
5393
dd7426ea
GM
53942013-06-18 Glenn Morris <rgm@gnu.org>
5395
4ba54f7d
GM
5396 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5397
dd7426ea
GM
5398 * newcomment.el (comment-search-forward, comment-search-backward):
5399 Doc fix. (Bug#14376)
5400
58aa805b
JB
54012013-06-18 Juanma Barranquero <lekktu@gmail.com>
5402
5403 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5404 (buffer-face-mode-invoke): Doc fix.
5405
9a08a617
MM
54062013-06-18 Matthias Meulien <orontee@gmail.com>
5407
5408 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 5409 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 5410
f2f426ca
GM
54112013-06-18 Glenn Morris <rgm@gnu.org>
5412
9445f99b
GM
5413 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5414 Replace obsolete function generic-make-keywords with its expansion.
5415
e0df2d14
GM
5416 * progmodes/python.el (ffap-alist): Declare.
5417
f2f426ca
GM
5418 * textmodes/reftex.el (bibtex-mode-map): Declare.
5419
f7f9a720
SM
54202013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5423 (package-unpack, package-unpack-single): Return the pkg-dir.
5424 (package-download-transaction): Use it to update package-alist.
5425
57ff04e0
LMI
54262013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5427
5428 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5429 possible choice.
5430
c048c022
JL
54312013-06-17 Juri Linkov <juri@jurta.org>
5432
5433 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5434
b5bcaee5
DG
54352013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5436
a020afb9
JB
5437 * emacs-lisp/package.el (package-load-descriptor):
5438 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
5439 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5440
551e07e5
JB
54412013-06-17 Juanma Barranquero <lekktu@gmail.com>
5442
5443 * startup.el (command-line): Expand package name returned by
5444 `package--description-file' (bug#14639).
5445
d363bffb
DG
54462013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5447
5448 * emacs-lisp/package.el (package-load-descriptor): Do not call
5449 `emacs-lisp-mode', just use its syntax table.
5450
f612933b
JB
54512013-06-17 Juanma Barranquero <lekktu@gmail.com>
5452
5453 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5454 `font-lock-extra-managed-props' if any prettifying keyword is added.
5455 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5456 (prog-mode): Use `setq-local'.
5457
db3b7db5
SM
54582013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5459
5460 * international/characters.el (standard-case-table): Set syntax of ?»
5461 and ?« to punctuation.
5462
f3d674df
JB
54632013-06-16 Juanma Barranquero <lekktu@gmail.com>
5464
5465 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5466 Save relevant match data before calling `syntax-ppss' (bug#14595).
5467
31489a32
JL
54682013-06-15 Juri Linkov <juri@jurta.org>
5469
5470 * files-x.el (modify-file-local-variable-prop-line): Add local
5471 variables to the end of the existing comment on the first line.
5472 Use `file-auto-mode-skip' to skip interpreter magic line,
5473 and also skip XML declaration.
5474
66bd25ab
SM
54752013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * startup.el (package--builtin-versions): New var.
5478 (package-subdirectory-regexp): Remove.
5479 (package--description-file): Hard code its value instead.
5480
5481 * emacs-lisp/package.el: Don't activate packages older than builtin.
5482 (package-obsolete-list): Rename from package-obsolete-alist, and make
5483 it into a simple list of package-desc.
5484 (package-strip-version): Remove.
5485 (package-built-in-p): Use package--builtin-versions.
5486 (package-mark-obsolete): Simplify.
5487 (package-process-define-package): Mark it obsolete if older than the
5488 builtin version.
5489 (package-handle-response): Use line-end-position.
5490 (package-read-archive-contents, package--download-one-archive):
5491 Simplify.
5492 (package--add-to-archive-contents): Skip if older than the builtin or
5493 installed version.
5494 (package-menu-describe-package): Fix last change.
5495 (package-list-unversioned): New var.
5496 (package-menu--generate): Use it.
5497
5498 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5499 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5500 (autoload-builtin-package-versions): New variable.
5501 (autoload-generate-file-autoloads): Use them.
5502 Remove the list of autoloaded functions/macros from the
5503 (autoload...) comments.
5504
5505 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5506
9583ec36
EZ
55072013-06-15 Eli Zaretskii <eliz@gnu.org>
5508
5509 * simple.el (line-move-partial): Don't jump to the next screen
5510 line as soon as it becomes visible. Instead, continue enlarging
5511 the vscroll until the portion of a tall screen line that's left on
5512 display is about the height of the frame's default font.
5513 (Bug#14567)
5514
f0100d8a
GM
55152013-06-15 Glenn Morris <rgm@gnu.org>
5516
b86a85ca
GM
5517 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5518 compilation-error-regexp-alist void, or local while let-bound.
5519
f0100d8a
GM
5520 * progmodes/make-mode.el (makefile-mode-syntax-table):
5521 Treat "=" as punctuation. (Bug#14614)
5522
05e7ce90
JB
55232013-06-15 Juanma Barranquero <lekktu@gmail.com>
5524
5525 * help-fns.el (describe-variable):
5526 Add extra line for permanent-local variables.
5527
12e5e86e
SH
55282013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5529
5530 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5531 Add export, import, library. (Bug#9164)
5532 (library): Set indent function.
5533
230dcbaf
GM
55342013-06-14 Glenn Morris <rgm@gnu.org>
5535
5536 * term/xterm.el (xterm--query):
5537 Stop after first matching handler. (Bug#14615)
5538
e36b2d20 55392013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
5540
5541 Add support for dired in saveplace.
5542 * dired.el (dired-initial-position-hook): New variable.
5543 (dired-initial-position): Call hook to place cursor position.
5544 * saveplace.el (save-place-to-alist): Add dired position.
5545 (save-place-dired-hook): New function.
5546
0b31660d
SM
55472013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5548
bf1e6ae8
SM
5549 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5550 through a symbol rather than letrec.
5551
1b8dff23
SM
5552 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5553 (package-desc): Add `dir' field.
5554 (package-desc-full-name): New function.
5555 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5556 (package-maybe-load-descriptor): Remove.
5557 (package-load-all-descriptors): Just call package-load-descriptor.
5558 (package--disabled-p): New function.
5559 (package-desc-vers, package-desc-doc): Remove aliases.
5560 (package--dir): Remove function.
5561 (package-activate): Check if a package is disabled.
5562 (package-process-define-package): New function, extracted from
5563 define-package.
5564 (define-package): Turn into a place holder.
5565 (package-unpack-single, package-tar-file-info):
5566 Use package--description-file.
5567 (package-compute-transaction): Use package--disabled-p.
5568 (package-download-transaction): Don't call
5569 package-maybe-load-descriptor since they're all loaded anyway.
5570 (package-install): Change argument to be a pkg-desc.
5571 (package-delete): Use a single pkg-desc argument.
5572 (describe-package-1): Use package-desc-dir instead of package--dir.
5573 Use package-desc property instead of package-symbol.
5574 (package-install-button-action): Adjust accordingly.
5575 (package--push): Rewrite.
5576 (package-menu--print-info): Adjust accordingly. Change the ID format
5577 to be a pkg-desc.
5578 (package-menu-describe-package, package-menu-get-status)
5579 (package-menu--find-upgrades, package-menu-mark-upgrades)
5580 (package-menu-execute, package-menu--name-predicate):
5581 Adjust accordingly.
5582 * startup.el (package--description-file): New function.
5583 (command-line): Use it.
5584 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5585 Use package-desc-version.
5586
0b31660d
SM
5587 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5588 (byte-compile-preprocess): Use it.
5589 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5590 can't quite recognize.
5591 (byte-compile-add-to-list): Remove.
5592 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5593 (cconv-closure-convert): Add assertion.
5594
5595 * emacs-lisp/map-ynp.el: Use lexical-binding.
5596 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5597 Factor out some repeated code.
5598
de0503df
SM
55992013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * subr.el (with-eval-after-load): New macro.
5602 (eval-after-load): Allow form to be a function.
5603 take advantage of lexical-binding.
5604 (do-after-load-evaluation): Use dolist and adjust to new format.
5605 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5606
bc5c8c5a
JL
56072013-06-13 Juri Linkov <juri@jurta.org>
5608
5609 * replace.el (perform-replace): Display "symbol " and other search
5610 modes from `isearch-message-prefix' in the *Help* buffer.
5611
5612 * isearch.el (isearch-query-replace): Add " symbol" and other
5613 possible search modes from `isearch-message-prefix' to the prompt.
5614 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5615 when reading a regexp to collect.
5616
a22289f7
JL
56172013-06-13 Juri Linkov <juri@jurta.org>
5618
5619 * isearch.el (word-search-regexp): Match whitespace if the search
5620 string begins or ends in whitespace. The LAX arg is applied to
5621 both ends of the search string. Use `regexp-quote' and explicit
5622 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5623 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5624 boundaries are replaced with symbol boundaries, and characters
5625 between symbols match non-word non-symbol syntax. (Bug#14602)
5626
cb89acab
JL
56272013-06-13 Juri Linkov <juri@jurta.org>
5628
5629 * isearch.el (isearch-del-char): Don't exceed the length of
5630 `isearch-string' by the prefix arg. (Bug#14563)
5631
6e8cfc81
JL
56322013-06-13 Juri Linkov <juri@jurta.org>
5633
5634 * isearch.el (isearch-yank-word, isearch-yank-line)
5635 (isearch-char-by-name, isearch-quote-char)
5636 (isearch-printing-char, isearch-process-search-char):
5637 Add optional count prefix arg. (Bug#14563)
5638
5639 * international/isearch-x.el
5640 (isearch-process-search-multibyte-characters):
5641 Add optional count prefix arg.
5642
c23d55f4
VS
56432013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5646 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5647 lexical-binding.
5648
56492013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5650
5651 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5652
ba947bc4
GM
56532013-06-13 Glenn Morris <rgm@gnu.org>
5654
8baeb37a
GM
5655 * startup.el (tty-handle-args):
5656 Don't just discard "--" and anything after. (Bug#14608)
5657
ba947bc4
GM
5658 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5659
9abefce4
MA
56602013-06-13 Michael Albinus <michael.albinus@gmx.de>
5661
5662 Implement changes in Secret Service API. Make it backward compatible.
5663 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5664 (secrets-create-item): Use it. Prefix properties with interface.
5665
5755011f
MH
56662013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5667
5668 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5669 (term-emulate-terminal): Respect term-suppress-hard-newline.
5670
1261d2da
S
56712013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5672
5673 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5674 Only remove a `thumb-file' overlay. (Bug#14548)
5675
868490bb
GJ
56762013-06-12 Grégoire Jadi <daimrod@gmail.com>
5677
5678 * mail/reporter.el (reporter-submit-bug-report):
5679 Handle missing package-name. (Bug#14600)
5680
79d7167f
TH
56812013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5682
5683 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5684 (reftex-citation-prompt, reftex-default-bibliography)
5685 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5686 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5687 (reftex-bib-sort-author, reftex-bib-sort-year)
5688 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5689 (reftex-extract-bib-entries-from-thebibliography)
5690 (reftex-get-bibkey-default, reftex-get-bib-names)
5691 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5692 (reftex-format-bib-entry, reftex-parse-bibitem)
5693 (reftex-format-bibitem, reftex-do-citation)
5694 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5695 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5696 (reftex-insert-bib-matches, reftex-format-citation)
5697 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5698 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5699 existing comments into docstrings.
5700
5f9dbd7a
XF
57012013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5702
5703 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5704
94df41ab
AS
57052013-06-12 Andreas Schwab <schwab@suse.de>
5706
5707 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5708 for auto-save files.
5709
a7f3fecc
GM
57102013-06-12 Glenn Morris <rgm@gnu.org>
5711
001809f6
GM
5712 * ido.el (ido-delete-ignored-files): Remove.
5713 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5714 Go back to calling ido-ignore-item-p directly.
a7f3fecc 5715
834b5ded
EL
57162013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5717
08c73ed2
EL
5718 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5719
834b5ded
EL
5720 * ido.el (ido-delete-ignored-files): New function,
5721 split from ido-make-file-list-1.
5722 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5723 (ido-make-file-list-1): Use ido-delete-ignored-files.
5724
daabf15a
LL
57252013-06-12 Leo Liu <sdl.web@gmail.com>
5726
5727 * progmodes/octave.el (inferior-octave-startup)
5728 (inferior-octave-completion-table)
5729 (inferior-octave-track-window-width-change)
5730 (octave-eldoc-function-signatures, octave-help)
5731 (octave-find-definition): Use single quoted strings.
5732 (inferior-octave-startup-args): Change default value.
5733 (inferior-octave-startup): Do not hard code "-i" and
5734 "--no-line-editing".
5735 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5736 (inferior-octave-directory-tracker): Use it.
5737 (octave-goto-function-definition): Robustify.
5738 (octave-help): Support highlighting operators in 'See also'.
5739 (octave-find-definition): Find subfunctions only in Octave mode.
5740
cf4e5178
SM
57412013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * help-fns.el (help-fns--compiler-macro): If the handler function is
5744 named, then put a link to it.
5745 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5746 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5747 (cl-typep): Use it.
5748 (cl-eval-when): Simplify debug spec.
5749 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5750 compiler-macro function instead of setting `compiler-macro-file'.
5751
99c81280 57522013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
5753
5754 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5755 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5756
f56be016
SM
57572013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5758 Daniel Hackney <dan@haxney.org>
5759
5760 First part of Daniel Hackney's patch to package.el.
5761 * emacs-lisp/package.el: Use defstruct.
5762 (package-desc): New, main struct.
5763 (package--bi-desc, package--ac-desc): New structs, used to describe the
5764 format in external files.
5765 (package-desc-vers): Replace with package-desc-version accessor.
5766 (package-desc-doc): Replace with package-desc-summary accessor.
5767 (package-activate-1): Remove `package' arg since the pkg-vec now
5768 includes the name.
5769 (define-package): Use package-desc-from-define.
5770 (package-unpack-single): Change file-name arg to be a symbol.
5771 (package--add-to-archive-contents): Use package-desc-create and new
5772 accessor functions to package--ac-desc.
5773 (package-buffer-info, package-tar-file-info): Return a package-desc.
5774 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5775 arg to be a package-desc.
5776 (package-install-file): Adjust accordingly. Use \' to match EOS.
5777 (package--from-builtin): New function.
5778 (describe-package-1, package-menu--generate): Use it.
5779 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5780 (package-generate-autoloads): Idem and return the name of the file.
5781 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5782 Change pkg-info arg to be a package-desc.
5783 Use package-make-ac-desc.
5784 (package-upload-file): Use \' to match EOS.
5785 * finder.el (finder-compile-keywords): Use package-make-builtin.
5786
31119d63
SM
57872013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5788
931a2762
SM
5789 * vc/vc.el (vc-deduce-fileset): Change error message.
5790 (vc-read-backend): New function.
5791 (vc-next-action): Use it.
5792
5a3eb0c6
SM
5793 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5794
e3eb1bb7
SM
5795 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5796 (prolog-font-lock-keywords): Use regexp-opt instead.
5797 Don't manually highlight strings.
5798 (prolog-mode-variables): Simplify comment-start-skip.
5799 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5800
31119d63
SM
5801 * emacs-lisp/generic.el (generic--normalise-comments)
5802 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5803 (generic-mode-set-comments): Use them.
5804 (generic-bracket-support): Use setq-local.
5805 (generic-make-keywords-list): Declare obsolete.
5806
7de135d0
GM
58072013-06-11 Glenn Morris <rgm@gnu.org>
5808
5809 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5810 Prettify after setting font-lock-defaults. (Bug#14574)
5811
fa6bc6fd
JB
58122013-06-11 Juanma Barranquero <lekktu@gmail.com>
5813
5814 * replace.el (query-replace, occur-read-regexp-defaults-function)
5815 (replace-search):
5816 * subr.el (declare-function, number-sequence, local-set-key)
5817 (substitute-key-definition, locate-user-emacs-file)
5818 (with-silent-modifications, split-string, eval-after-load):
5819 Fix typos, remove unneeded backslashes and reflow some docstrings.
5820
cf1f9b9a
SM
58212013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5824 default for Elisp files.
5825
56602a4b
GM
58262013-06-11 Glenn Morris <rgm@gnu.org>
5827
5828 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5829 although define-derived-mode was doing this anyway. (Bug#14583)
5830
30ae0b2c
JB
58312013-06-10 Juanma Barranquero <lekktu@gmail.com>
5832
5833 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5834 Fix make-variable-buffer-local call to refer to the correct variable.
5835
fa472906
AG
58362013-06-10 Aidan Gauland <aidalgol@amuri.net>
5837
5838 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
5839 (eshell-visual-subcommands, eshell-visual-options):
5840 Add summary line to docstrings. Add cross-references.
fa472906 5841
ff4871b9
GM
58422013-06-10 Glenn Morris <rgm@gnu.org>
5843
5844 * epa.el (epa-read-file-name): New function. (Bug#14510)
5845 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5846
04fcf1b0
AG
58472013-06-09 Aidan Gauland <aidalgol@amuri.net>
5848
5849 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5850 output redirection to be ignored with visual commands.
5851
88b00caa
AG
58522013-06-09 Aidan Gauland <aidalgol@amuri.net>
5853
5854 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
5855 (eshell-term-initialize): Move long lambda to separate function
5856 eshell-visual-command-p.
e7b41c4c
JB
5857 * eshell/em-dirs.el (eshell-dirs-initialise):
5858 * eshell/em-script.el (eshell-script-initialize):
5859 Add missing #' to lambda.
88b00caa 5860
fda74125
LL
58612013-06-08 Leo Liu <sdl.web@gmail.com>
5862
5863 * progmodes/octave.el (octave-add-log-current-defun): New function.
5864 (octave-mode): Set add-log-current-defun-function.
5865 (octave-goto-function-definition): Do not move point if not found.
5866 (octave-find-definition): Enhance to try subfunctions first.
5867
467f3b33
GM
58682013-06-08 Glenn Morris <rgm@gnu.org>
5869
5870 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5871 (byte-compile-backward-char, byte-compile-backward-word):
5872 Improve previous change, to handle non-explicit nil.
5873
544badc3
SM
58742013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5875
5876 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5877 (smie--opener/closer-at-point): New function.
5878 (smie--matching-block-data): Use it. Don't match from right after an
5879 opener or right before a closer. Obey smie-blink-matching-inners.
5880 Don't signal a mismatch for repeated inners like "switch..case..case".
5881
a175bf33
LL
58822013-06-07 Leo Liu <sdl.web@gmail.com>
5883
5884 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5885 to t. (Bug#14303)
ce8209d4
LL
5886 (octave-function-header-regexp): Fix. (Bug#14570)
5887 (octave-help-mode-finish-hook, octave-help-mode-finish):
5888 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
5889
5890 * newcomment.el (comment-search-backward): Revert last change.
5891 (Bug#14434)
5892
5893 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5894
a822acff
EZ
58952013-06-07 Eli Zaretskii <eliz@gnu.org>
5896
5897 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5898 through xargs, to avoid failure due to MS-Windows limitations on
5899 command-line length.
5900
961166f5
GM
59012013-06-06 Glenn Morris <rgm@gnu.org>
5902
d0341459
GM
5903 * font-lock.el (lisp-font-lock-keywords-2):
5904 Treat user-error like error.
5905
961166f5
GM
5906 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5907 (byte-compile-backward-char, byte-compile-backward-word):
5908 Handle explicit nil arguments. (Bug#14565)
5909
80fa505f
AM
59102013-06-05 Alan Mackenzie <acm@muc.de>
5911
5912 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 5913 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 5914 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 5915 (Bug#9706)
80fa505f 5916
fccdc796
SM
59172013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 * autorevert.el (auto-revert-notify-handler): Use memq.
5920 Hide assertion failure.
5921
5922 * skeleton.el: Use cl-lib.
5923 (skeleton-further-elements): Use defvar-local.
5924 (skeleton-insert): Use cl-progv.
5925
9bfff84b
TZ
59262013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5927
5928 * progmodes/prog-mode.el (prog-prettify-symbols)
5929 (prog-prettify-install): Update docstrings.
5930
55577e7c
SM
59312013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * simple.el: Move all the prog-mode code to prog-mode.el.
5934 * progmodes/prog-mode.el: New file.
5935 * loadup.el: Add prog-mode.el.
5936
8fc57765
TZ
59372013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5938
5939 * simple.el (prog-prettify-symbols): Add version.
5940 (prog-prettify-install): Add convenience function to prettify symbols.
5941
5942 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5943 (perl--augmented-font-lock-keywords-1)
5944 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5945 variables and use it.
5946
5947 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5948 (cfengine3-mode): Remove unneeded variable and use it.
5949
5950 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5951 (lisp--augmented-font-lock-keywords-1)
5952 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5953 Remove unneeded variables and use it.
5954
650645d5 59552013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
5956
5957 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 5958 to point when opening the connection. (Bug#14380)
28f5da6d 5959
781b4af6
SM
59602013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * subr.el (load-history-regexp, load-history-filename-element)
5963 (eval-after-load, after-load-functions, do-after-load-evaluation)
5964 (eval-next-after-load, display-delayed-warnings)
5965 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5966 definition of save-match-data.
5967 (overriding-local-map): Remove accidental obsolescence declaration.
5968
5969 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5970
3ca0d0b4
TZ
59712013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5972
5973 Generalize symbol prettify support to prog-mode and implement it
5974 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5975 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5976 (prog--prettify-font-lock-compose-symbol)
5977 (prog-prettify-font-lock-symbols-keywords): New variables and
5978 functions to support symbol prettification.
5979 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5980 (lisp--augmented-font-lock-keywords-1)
5981 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5982 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5983 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
5984 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5985 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
5986 * progmodes/perl-mode.el (perl-prettify-symbols)
5987 (perl--font-lock-compose-symbol)
5988 (perl--font-lock-symbols-keywords): Move to prog-mode.
5989 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5990 (perl-font-lock-keywords-1)
5991 (perl-font-lock-keywords-2): Remove explicit prettify support.
5992 (perl--augmented-font-lock-keywords)
5993 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
5994 (perl--augmented-font-lock-keywords-2, perl-mode):
5995 Implement prettify support.
3ca0d0b4 5996
976cb066
LL
59972013-06-05 Leo Liu <sdl.web@gmail.com>
5998
5999 Re-implement smie matching block highlight using
6000 show-paren-data-function. (Bug#14395)
6001 * emacs-lisp/smie.el (smie-matching-block-highlight)
6002 (smie--highlight-matching-block-overlay)
6003 (smie--highlight-matching-block-lastpos)
6004 (smie-highlight-matching-block)
6005 (smie-highlight-matching-block-mode): Remove.
6006 (smie--matching-block-data-cache): New variable.
6007 (smie--matching-block-data): New function.
6008 (smie-setup): Use smie--matching-block-data for
6009 show-paren-data-function.
6010
6011 * progmodes/octave.el (octave-mode-menu): Fix.
6012 (octave-find-definition): Skip garbage lines.
6013
208d0342
SM
60142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6015
6016 Fix compilation error with simultaneous dynamic+lexical scoping.
6017 Add warning when a defvar appears after the first let-binding.
6018 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6019 (byte-compile-close-variables): Initialize it.
6020 (byte-compile--declare-var): New function.
6021 (byte-compile-file-form-defvar)
6022 (byte-compile-file-form-define-abbrev-table)
6023 (byte-compile-file-form-custom-declare-variable): Use it.
6024 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6025 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6026 (byte-compile-bind): Handle dynamic bindings that shadow
6027 lexical bindings.
6028 (byte-compile-unbind): Make arg non-optional.
6029 (byte-compile-let): Simplify.
6030 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6031 (cconv--analyse-function, cconv-analyse-form): Populate it.
6032 Protect byte-compile-bound-variables to limit the scope of defvars.
6033 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6034 Remove unneeded rule for `declare'.
6035
6036 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6037 so as to avoid depending on cl-adjoin at run-time.
6038 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6039
6040 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6041 (macroexp--warn-and-return): Use it.
6042
2587b005
LL
60432013-06-05 Leo Liu <sdl.web@gmail.com>
6044
6045 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6046
f1da3c88
LL
60472013-06-04 Leo Liu <sdl.web@gmail.com>
6048
6049 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6050 (compilation-auto-jump): Suppress the "Mark set" message to give
6051 way to exit message.
6052
3caa391f
AM
60532013-06-04 Alan Mackenzie <acm@muc.de>
6054
6055 Remove faulty optimisation from indentation calculation.
6056 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6057 search limit based on 2000 characters back from indent-point.
6058
068922a2
TH
60592013-06-03 Tassilo Horn <tsdh@gnu.org>
6060
6061 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6062
1f8fdd53
SM
60632013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6064
bbcc4d97
SM
6065 * emacs-lisp/lisp.el: Use lexical-binding.
6066 (lisp--local-variables-1, lisp--local-variables): New functions.
6067 (lisp--local-variables-completion-table): New var.
208d0342 6068 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 6069
1f8fdd53
SM
6070 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6071 eagerly (bug#14422).
6072
c9628c79
MA
60732013-06-03 Michael Albinus <michael.albinus@gmx.de>
6074
6075 * autorevert.el (auto-revert-notify-enabled)
6076 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6077 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6078 (auto-revert-notify-handler): Handle also gfilenotify.
6079
e7b41c4c 6080 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 6081 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 6082 Remove.
c9628c79 6083
e5e4a942
JL
60842013-06-03 Juri Linkov <juri@jurta.org>
6085
6086 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6087 `M-s h .'. (Bug#14427)
6088
6089 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6090 command `hi-lock-face-symbol-at-point'.
6091 (hi-lock-face-symbol-at-point): New command.
6092 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6093 (hi-lock-menu): Add `highlight-symbol-at-point'.
6094 (hi-lock-mode): Doc fix.
6095
6096 * isearch.el (isearch-forward-symbol-at-point): New command.
6097 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6098 (isearch-highlight-regexp): Add a regexp which matches
6099 words/symbols for word/symbol mode.
6100
6101 * subr.el (find-tag-default-bounds): New function with the body
6102 mostly moved from `find-tag-default'.
6103 (find-tag-default): Move most code to `find-tag-default-bounds',
6104 call it and apply `buffer-substring-no-properties' afterwards.
6105
26b3353a
TH
61062013-06-03 Tassilo Horn <tsdh@gnu.org>
6107
781b4af6
SM
6108 * eshell/em-term.el (eshell-term-initialize):
6109 Use `cl-intersection' rather than `intersection'.
26b3353a 6110
51b60f53
XF
61112013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6112
fe054b63 6113 * vc/log-view.el: Doc fix.
d3ffe17c 6114 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 6115
a0eb10b3 61162013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
6117
6118 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6119 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6120 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6121 (eieio-unbound, eieio-default-superclass)
6122 (eieio--define-field-accessors, method-static, method-before)
6123 (method-primary, method-after, method-num-lists)
6124 (method-generic-before, method-generic-primary)
6125 (method-generic-after, method-num-slots)
6126 (eieio-specialized-key-to-generic-key)
6127 (eieio--check-type, class-v, class-p)
6128 (eieio-class-name, define-obsolete-function-alias)
6129 (eieio-class-parents-fast, eieio-class-children-fast)
6130 (same-class-fast-p, class-constructor, generic-p)
6131 (generic-primary-only-p, generic-primary-only-one-p)
6132 (class-option-assoc, class-option, eieio-object-p)
6133 (class-abstract-p, class-method-invocation-order)
6134 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6135 (eieio-class-un-autoload, eieio-defclass)
6136 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6137 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6138 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6139 (eieio-defgeneric-reset-generic-form)
6140 (eieio-defgeneric-form-primary-only)
6141 (eieio-defgeneric-reset-generic-form-primary-only)
6142 (eieio-defgeneric-form-primary-only-one)
6143 (eieio-defgeneric-reset-generic-form-primary-only-one)
6144 (eieio-unbind-method-implementations)
6145 (eieio--defmethod, eieio--typep)
6146 (eieio-perform-slot-validation, eieio-validate-slot-value)
6147 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6148 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6149 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6150 (eieio-slot-name-index, eieio-class-slot-name-index)
6151 (eieio-set-defaults, eieio-initarg-to-attribute)
6152 (eieio-attribute-to-initarg, eieio-c3-candidate)
6153 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6154 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6155 (eieio-class-precedence-list, eieio-generic-call-methodname)
6156 (eieio-generic-call-arglst, eieio-generic-call-key)
6157 (eieio-generic-call-next-method-list)
6158 (eieio-pre-method-execution-functions, eieio-generic-call)
6159 (eieio-generic-call-primary-only, eieiomt-method-list)
6160 (eieiomt-optimizing-obarray, eieiomt-install)
6161 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6162 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 6163 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
6164 (defclass): Remove `eval-and-compile' from macro.
6165 (call-next-method, shared-initialize): Instead of using
6166 `scoped-class' variable, use new eieio--scoped-class, and
6167 eieio--with-scoped-class.
6168 (initialize-instance): Rename local variable 'scoped-class' to
6169 'this-class' to remove ambiguitity from old global.
6170
6171 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6172 eieio.el.
4f405069
JB
6173 (eieio--scoped-class-stack): New variable.
6174 (eieio--scoped-class): New fcn.
890f7890
DE
6175 (eieio--with-scoped-class): New scoping macro.
6176 (eieio-defclass): Use pushnew instead of add-to-list.
6177 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6178 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6179 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6180 `scoped-class' variable, use new eieio--scoped-class, and
6181 eieio--with-scoped-class.
6182
6183 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6184
d105b0e2
TH
61852013-06-02 Tassilo Horn <tsdh@gnu.org>
6186
6187 * eshell/esh-ext.el (eshell-external-command): Pass args to
6188 `eshell-find-interpreter'.
6189 (eshell-find-interpreter): Add new second parameter ARGS.
6190
6191 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 6192 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6193
6194 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 6195 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
6196
6197 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6198 (eshell-visual-options): New defcustom.
6199 (eshell-escape-control-x): Adapt docstring.
6200 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6201 `eshell-visual-options' in addition to `eshell-visual-commands'.
6202 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6203
f46305c8 62042013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
6205
6206 * progmodes/python.el (python-indent-block-enders): Add break,
6207 continue and raise keywords.
6208
d870df21
GM
62092013-06-01 Glenn Morris <rgm@gnu.org>
6210
9133b82e
GM
6211 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6212
02c992ec 6213 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
6214 * progmodes/cc-cmds.el (delete-forward-p):
6215 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6216 * progmodes/cc-engine.el (buffer-syntactic-context):
6217 * progmodes/cc-fonts.el (face-property-instance):
6218 * progmodes/cc-mode.el (set-keymap-parents):
6219 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6220 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6221 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
6222 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6223 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 6224
31e7b090
GM
6225 * progmodes/cc-vars.el (other): Emacs has this widget since
6226 at least 21.1, so don't (re)define it.
6227
d870df21
GM
6228 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6229 Replace the obsolete alias pcomplete-arg-quote-list.
6230
c75c93c7
LL
62312013-06-01 Leo Liu <sdl.web@gmail.com>
6232
6233 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6234 punctuation syntax.
6235 (inferior-octave-minimal-columns)
6236 (inferior-octave-last-column-width): New variables.
6237 (inferior-octave-track-window-width-change): New function.
6238 (inferior-octave-mode): Adjust column width so that Octave output,
6239 for example from 'ls', can fit into the window nicely.
6240
973d1e12
DG
62412013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6242
6243 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6244 Highlight expansions inside regexp literals.
6245
0888c286
GM
62462013-05-31 Glenn Morris <rgm@gnu.org>
6247
e26aac1f
GM
6248 * obsolete/sym-comp.el (symbol-complete):
6249 Replace obsolete completion-annotate-function.
6250
0888c286
GM
6251 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6252
19bb8e62
DG
62532013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6254
781b4af6
SM
6255 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6256 New function, checks if point is inside a literal that allows
19bb8e62
DG
6257 expression expansion.
6258 (ruby-syntax-propertize-expansion): Use it.
6259 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6260 around the body.
6261
01dea85f
JL
62622013-05-30 Juri Linkov <juri@jurta.org>
6263
6264 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6265 to "\M-si".
6266 (isearch-invisible): New variable.
6267 (isearch-forward): Doc fix.
6268 (isearch-mode): Set `isearch-invisible'
6269 to the value of `search-invisible'.
6270 (isearch-toggle-case-fold): Doc fix.
6271 (isearch-toggle-invisible): New command.
6272 (isearch-query-replace): Let-bind `search-invisible'
6273 to the value of `isearch-invisible'.
6274 (isearch-search): Use `isearch-invisible' instead of
6275 `search-invisible'. Let-bind `search-invisible'
6276 to the value of `isearch-invisible'. (Bug#11378)
6277
ab1bdce5
JL
62782013-05-30 Juri Linkov <juri@jurta.org>
6279
6280 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6281 call when `query-flag' is nil and `search-invisible' is non-nil.
6282 (Bug#11746)
6283
d6d236e2
GM
62842013-05-30 Glenn Morris <rgm@gnu.org>
6285
8accd027
GM
6286 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6287
2a8bed1c
GM
6288 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6289 (cc-require): Suppress spurious "noruntime" warnings.
6290 (cc-require-when-compile): Use fboundp, for sake of compiler.
6291
d6d236e2
GM
6292 * progmodes/cc-mode.el: Move load of cc-vars before that of
6293 cc-langs (which in turn loads cc-vars), to quieten compiler.
6294
9190b35b
SM
62952013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * paren.el: Simplify the code.
6298 (show-paren-mode): Always start the timer.
6299 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6300 (show-paren--overlay, show-paren--overlay-1): Rename from
6301 show-paren-overlay and show-paren-overlay-1, and initialize to an
6302 overlay rather than to nil.
6303 (show-paren-function): Misc cleanup and simplifications.
6304
4f8d1cf6
SM
63052013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * paren.el (show-paren-data-function): New hook.
6308 (show-paren--default): New function, extracted from show-paren-function.
6309 (show-paren-function): Use show-paren-data-function.
6310
02d844b5
GM
63112013-05-30 Glenn Morris <rgm@gnu.org>
6312
d209d4a9
GM
6313 * ielm.el (ielm-map, ielm-complete-symbol):
6314 Use completion-at-point rather than obsolete functions.
6315 (inferior-emacs-lisp-mode): Doc fix.
6316 Set completion-at-point-functions, rather than
6317 comint-dynamic-complete-functions.
6318
2082faa6
GM
6319 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6320 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6321 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6322
dd8620de
GM
6323 * image.el (image-animated-p): Tweak definition.
6324
ceca95b1
GM
6325 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6326 (rlogin-process-connection-type): Tweak default. Add set-after.
6327 (rlogin-host): Doc fix.
6328 (rlogin): Tweak prompt.
6329 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6330
ee9f1acc
GM
6331 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6332 * progmodes/tcl.el (inferior-tcl-mode-map):
6333 Use completion-at-point rather than obsolete alias.
6334
45ce222e
GM
6335 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6336
02d844b5
GM
6337 * minibuffer.el (read-file-name-completion-ignore-case):
6338 Move before completion--in-region, for eager macro expansion.
6339
ac44d6c1
JL
63402013-05-29 Juri Linkov <juri@jurta.org>
6341
6342 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6343 for total count of matching lines. Add `global-matches' for total
6344 count of matches. Rename `matches' to `lines' for count of
6345 matching lines. Add `matches' for count of matches.
6346 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6347 to `prev-line' for line number of prev match endpt.
6348 Increment `matches' for every match. Print the number of
6349 matching lines in the header.
6350 (occur-context-lines): Rename `lines' to `curr-line'.
6351 Rename `prev-lines' to `prev-line'. (Bug#14017)
6352
3c9c9d38
JL
63532013-05-29 Juri Linkov <juri@jurta.org>
6354
6355 * replace.el (perform-replace): Add `skip-read-only-count',
6356 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6357 Increment them for corresponding conditions and report the number
6358 of skipped occurrences in the final message. (Bug#11746)
6359 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6360 (replace-string, replace-regexp): Doc fix.
6361
33e249a2
SM
63622013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6363
8e399682
SM
6364 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6365
33e249a2 6366 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 6367 prog-mode-map (bug#14504).
33e249a2 6368
f236dd84
LL
63692013-05-29 Leo Liu <sdl.web@gmail.com>
6370
6371 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6372 (octave-help): Small simplification.
6373
6374 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6375 off the highlight first.
6376
3694d13f
GM
63772013-05-29 Glenn Morris <rgm@gnu.org>
6378
03983bdc
GM
6379 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6380 Handle idlwave-last-system-routine-info-cons-cell being nil.
6381
bc74a74a
GM
6382 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6383 (idlwave-write-paths): Simplify via with-temp-buffer.
6384
8b394200
GM
6385 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6386 * emulation/cua-rect.el: Also load cua-base at run time.
6387
3694d13f
GM
6388 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6389 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6390 (cperl-imenu-on-info): Require imenu.
6391
336d7284
AM
63922013-05-28 Alan Mackenzie <acm@muc.de>
6393
6394 Handle "capitalised keywords" correctly.
33e249a2 6395 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 6396
cb29c582
AG
63972013-05-28 Aidan Gauland <aidalgol@amuri.net>
6398
781b4af6 6399 * eshell/em-unix.el: Add -r option to cp.
cb29c582 6400
690e44b2
GM
64012013-05-28 Glenn Morris <rgm@gnu.org>
6402
e658d75c
GM
6403 * vc/vc-arch.el (vc-exec-after): Declare.
6404 (vc-switches): Autoload.
6405 * vc/vc-bzr.el: No need to require vc when compiling.
6406 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6407 (vc-resynch-buffer, vc-dir-refresh): Declare.
6408 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
6409 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6410 (vc-resynch-buffer): Declare.
6411 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 6412 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
6413 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6414 (grep-read-regexp, grep-read-files, grep-expand-template)
6415 (vc-dir-refresh): Declare.
6416 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6417 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6418 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
6419 * vc/vc-mtn.el (vc-exec-after): Declare.
6420 (vc-switches): Autoload.
6421 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6422 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6423 (vc-file-tree-walk): Declare.
712b9732
GM
6424 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6425 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6426 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
6427 * vc/vc-svn.el (vc-exec-after): Declare.
6428 (vc-switches, vc-setup-buffer): Autoload.
6429 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6430 Autoload.
6431 (vc-resynch-buffer): Declare.
6432
98e87fb3
GM
6433 * obsolete/fast-lock.el (byte-compile-warnings):
6434 Don't warn about obsolete features in this obsolete file.
6435
f5379553
GM
6436 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6437 Move definition before use.
6438
7a20ef83
GM
6439 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6440 (dun-unix-verbs): Remove dun-zippy.
6441 (dun-zippy): Remove function.
6442
690e44b2
GM
6443 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6444
3a52ccf7
JL
64452013-05-27 Juri Linkov <juri@jurta.org>
6446
6447 * replace.el (replace-search): New function with code moved out
6448 from `perform-replace'.
6449 (replace-highlight, replace-dehighlight): Move function definitions
6450 up closer to `replace-search'. (Bug#11746)
6451
d289938a
JL
64522013-05-27 Juri Linkov <juri@jurta.org>
6453
6454 * replace.el (perform-replace): Ignore invisible matches.
6455 In addition to checking `query-replace-skip-read-only', also
6456 filter out matches by calling `run-hook-with-args-until-failure'
6457 on `isearch-filter-predicates', and also check `search-invisible'
6458 for t or call `isearch-range-invisible'.
6459 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6460
66fc57e3
JL
64612013-05-27 Juri Linkov <juri@jurta.org>
6462
6463 * isearch.el (isearch-filter-predicates): Rename from
6464 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6465 (isearch-message-prefix): Display text from the property
6466 `isearch-message-prefix' of the currently active filters.
6467 (isearch-search): Don't compare `isearch-filter-predicate' with
6468 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6469 on `isearch-filter-predicates'. Also check `search-invisible' for t
6470 or call `isearch-range-invisible'.
6471 (isearch-filter-visible): Make obsolete.
6472 (isearch-lazy-highlight-search):
6473 Call `run-hook-with-args-until-failure' on
6474 `isearch-filter-predicates' and use `isearch-range-invisible'.
6475
6476 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6477 `isearch-filter-predicates' instead of `funcall'ing
6478 `isearch-filter-predicate'.
6479 (Info-mode): Set `Info-isearch-filter' to
6480 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6481
6482 * dired-aux.el (dired-isearch-filter-predicate-orig):
6483 Remove variable.
6484 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6485 (dired-isearch-filenames-end): Add and remove
6486 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6487 instead of changing the value of `isearch-filter-predicate'.
6488 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6489 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6490 Put property `isearch-message-prefix' to "filename " on
6491 `dired-isearch-filter-filenames'.
6492
6493 * wdired.el (wdired-change-to-wdired-mode):
6494 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6495 locally instead of changing `isearch-filter-predicate'.
6496 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6497
f1a60a0f
DG
64982013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6499
6500 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6501 return the commit hash (Bug#14459). Also set the
6502 `vc-git-detached' property.
6503 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6504 (vc-git-mode-line-string): Use the same help-echo format whether
6505 in detached mode or not, because we know the actual revision now.
6506 When in detached mode, shorten the revision to 7 chars.
6507
7f17cc40
SM
65082013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * emacs-lisp/easy-mmode.el (define-minor-mode):
6511 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6512 mode hook and provide a docstring.
6513
25c8401c
AM
65142013-05-27 Alan Mackenzie <acm@muc.de>
6515
6516 Remove spurious syntax-table text properties inserted by C-y.
6517 * progmodes/cc-mode.el (c-after-change): Also clear hard
6518 syntax-table property with value nil.
6519
dde84790
MA
65202013-05-27 Michael Albinus <michael.albinus@gmx.de>
6521
6522 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6523 when reading the events; the buffer layout shall not be changed.
6524
837fd9af
LL
65252013-05-27 Leo Liu <sdl.web@gmail.com>
6526
6527 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6528 New variable.
6529 (inferior-octave-directory-tracker): Automatically re-sync
6530 default-directory.
6531 (octave-help): Improve handling of 'See also'.
6532
4fd996b3
SM
65332013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6534
416f1802
SM
6535 * doc-view.el: Minor naming convention tweaks.
6536 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6537
4fd996b3
SM
6538 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6539 even if there's no `display' property yet (bug#14435).
6540
a052ef3b
EZ
65412013-05-25 Eli Zaretskii <eliz@gnu.org>
6542
4fd996b3 6543 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
6544
6545 * Makefile.in (custom-deps, finder-data, autoloads)
6546 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6547 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6548 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6549
c9023370
SM
65502013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6553 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 6554 Don't burp at EOB.
c9023370 6555
24d699fa
LL
65562013-05-25 Leo Liu <sdl.web@gmail.com>
6557
6558 * comint.el (comint-previous-matching-input): Do not flood the
6559 *Messages* buffer with trivial messages.
6560
17e5c0cc
SM
65612013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * progmodes/flymake.el (flymake-nop): Don't return a string.
6564 (flymake-set-at): Fix typo.
6565
6566 * simple.el (read--expression): New function, extracted from
6567 eval-expression. Set completion-at-point-functions (bug#14465).
6568 (eval-expression, eval-minibuffer): Use it.
6569
5d028165
XF
65702013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6571
6572 * progmodes/flymake.el (flymake-save-buffer-in-file)
6573 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6574 (flymake-selected-frame, flymake-log, flymake-ins-after)
6575 (flymake-set-at, flymake-get-buildfile-from-cache)
6576 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6577 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6578 Refine the doc string.
6579 (flymake-get-file-name-mode-and-masks): Reformat.
6580 (flymake-get-real-file-name-function): Fix a minor bug.
6581
7a1d7ba7
JL
65822013-05-24 Juri Linkov <juri@jurta.org>
6583
6584 * progmodes/grep.el (grep-mode-font-lock-keywords):
6585 Support =linenumber= format used by git-grep for lines with
6586 function names. (Bug#13549)
6587
650cff3d
SM
65882013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6589
6590 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6591 0 after a semi-colon; it works better for smie-auto-fill.
6592 (octave--indent-new-comment-line): New function.
6593 (octave-indent-new-comment-line): Use it (indirectly).
6594 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6595 modify comment-line-break-function.
6596
6597 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6598 (smie-setup): Use add-function to set it.
6599
9631677d
SS
66002013-05-24 Sam Steingold <sds@gnu.org>
6601
6602 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6603 argument (before the `interactive' argument).
6604
50105835
SM
66052013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6606
6607 * image-mode.el (image-mode-winprops): Add winprops to
6608 image-mode-winprops-alist before running
6609 image-mode-new-window-functions.
6610 * doc-view.el (doc-view-new-window-function): Don't delay
6611 doc-view-goto-page via timers (bug#14435).
6612
57b9823e
TH
66132013-05-24 Tassilo Horn <tsdh@gnu.org>
6614
6615 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6616 (doc-view-desktop-save-buffer): New function.
6617 (doc-view-restore-desktop-buffer): New function.
50105835
SM
6618 (desktop-buffer-mode-handlers):
6619 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
6620 handler.
6621 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6622 `desktop-save-buffer' function.
6623
91aafa16
MA
66242013-05-24 Michael Albinus <michael.albinus@gmx.de>
6625
6626 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6627 (tramp-gvfs-file-name-handler): Raise a user error when
6628 `tramp-gvfs-enabled' is nil.
6629 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6630 Do not raise a user error when loading package. (Bug#14447)
6631
ec076379
MA
6632 * net/xesam.el: Move to obsolete/.
6633
db785726
GM
66342013-05-24 Glenn Morris <rgm@gnu.org>
6635
af5c7606
GM
6636 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6637
e5d1916a
GM
6638 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6639
ded62b08
GM
6640 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6641 (Info-find-node, Man-getpage-in-background): Declare.
6642
9e614a3f
GM
6643 * mail/unrmail.el (unrmail):
6644 Replace obsolete detect-coding-with-priority.
6645
892f8ca3
GM
6646 * net/socks.el (socks-split-string): Use this rather than split-string.
6647 (socks-nslookup-host): Update for above change.
6648 (dynamic-choice, s5-dynamic-choice-match)
6649 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6650 Comment out unused code.
6651
3c291973
GM
6652 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6653 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6654 (gud-tooltip-echo-area): Make obsolete.
6655 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6656
43cc956b
GM
6657 * progmodes/js.el (js--optimize-arglist): Declare.
6658
dab49a3b
GM
6659 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6660
36b9d085
GM
6661 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6662 (ediff-window-C): Declare.
6663
e354ae76
GM
6664 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6665 Tweak requires to silence compiler.
6666
b8e57bf4
GM
6667 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6668 (he-search-string, he-tried-table, he-expand-list)
6669 (he-init-string, he-string-member, he-substitute-string)
6670 (he-reset-string): Declare.
6671
db785726
GM
6672 * obsolete/options.el (list-options): Use custom-variable-p,
6673 rather than obsolete alias.
6674
b3531901
SS
66752013-05-23 Sam Steingold <sds@gnu.org>
6676
6677 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 6678 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
6679 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6680
bdda4c66
SM
66812013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6682
6683 * emacs-lisp/smie.el (smie-indent-forward-token)
6684 (smie-indent-backward-token): Handle string tokens (bug#14381).
6685
c43d45f9
TH
66862013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6687
fe1eb856
RS
6688 * ielm.el (ielm-menu): New menu.
6689 (inferior-emacs-lisp-mode): Set comment-start.
96172128 6690
fe1eb856
RS
66912013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6692
6693 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6694 Fix deactivate action.
6695
6696 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6697 Add cleveref macros.
074dd971 6698
c43d45f9
TH
6699 * lisp/textmodes/reftex-parse.el
6700 (reftex-locate-bibliography-files): Accept options for
6701 bibliography commands.
6702 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6703 Add addbibresource. Basic Biblatex support.
6704
7764286e
MA
67052013-05-23 Michael Albinus <michael.albinus@gmx.de>
6706
6707 * net/tramp-gvfs.el (top):
6708 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6709 when loading package. (Bug#14447)
6710
d361bc10
GM
67112013-05-23 Glenn Morris <rgm@gnu.org>
6712
8fa23984
GM
6713 * progmodes/js.el: No need to load comint when compiling.
6714 (ring-insert, comint-send-string, comint-send-input)
6715 (comint-last-input-end, ido-chop): Declare.
6716
a5c7df1a
GM
6717 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6718 * vc/ediff-mult.el: Adjust requires.
6719 (ediff-directories-internal, ediff-directory-revisions-internal)
6720 (ediff-patch-file-internal): Declare.
6721 * vc/ediff-ptch.el: Adjust requires.
6722 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6723 (ediff-find-file): Autoload.
6724 * vc/ediff-util.el: No need to load ediff when compiling.
6725 (ediff-regions-internal): Declare.
6726 * vc/ediff-wind.el: Adjust requires.
6727 (ediff-compute-toolbar-width): Define when compiling.
6728 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6729 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6730 (dired-get-filename, dired-get-marked-files)
6731 (ediff-last-dir-patch, ediff-patch-default-directory)
6732 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6733 (ediff-patch-buffer-internal): Declare.
6734
e2aec513
GM
6735 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6736 (ispell-process, ispell-buffer-local-words, lm-summary)
6737 (lm-section-start, lm-section-end): Declare.
6738 (checkdoc-ispell-init): Simplify.
6739
e68bbd7c
GM
6740 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6741 (he-string-member, he-reset-string, he-substitute-string): Declare.
6742
7efe0991
GM
6743 * eshell/em-ls.el: Adjust requires.
6744 (eshell-glob-regexp): Declare.
f87b1284
GM
6745 * eshell/em-tramp.el: Adjust requires.
6746 (eshell-parse-command): Autoload.
6747 * eshell/em-xtra.el: Adjust requires.
6748 (eshell-parse-command): Autoload.
6749 * eshell/esh-ext.el: Adjust requires.
6750 (eshell-parse-command, eshell-close-handles): Autoload.
6751 * eshell/esh-io.el: Adjust requires.
6752 (eshell-output-filter): Autoload.
6753 * eshell/esh-util.el: No need to load tramp when compiling.
6754 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6755 Declare.
6756 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6757 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6758 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6759 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6760 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6761 * eshell/esh-opt.el, eshell/esh-proc.el:
6762 * eshell/esh-var.el: Adjust requires.
6763 * eshell/eshell.el: Do not require esh-util twice.
6764 (eshell-add-input-to-history): Declare.
6765 (eshell-command): Check history module is active before using it.
6766
d361bc10
GM
6767 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6768
85d090a9
LL
67692013-05-22 Leo Liu <sdl.web@gmail.com>
6770
6771 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6772
5d0acd9d
MA
67732013-05-22 Michael Albinus <michael.albinus@gmx.de>
6774
6775 * autorevert.el (auto-revert-notify-add-watch)
6776 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6777 it indicates changes in file modification time.
6778
0cdffd7d
GM
67792013-05-22 Glenn Morris <rgm@gnu.org>
6780
ca5995ec
GM
6781 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6782 Always delete the autoloaded function from the noruntime and
6783 unresolved functions lists.
6784
6450907e
GM
6785 * allout.el: No need to load epa, epg, overlay when compiling.
6786 (epg-context-set-passphrase-callback, epg-list-keys)
6787 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6788 (epg-key-user-id-list): Declare.
6789
9c6906f6
GM
6790 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6791 (viper-set-parsing-style-toggling-macro)
6792 (viper-set-emacs-state-searchstyle-macros):
6793 Use called-interactively-p on Emacs.
6794 (viper-looking-back): Make it an obsolete alias. Update callers.
6795 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6796 Use looking-back rather than viper-looking-back.
6797 (viper-tmp-insert-at-eob, viper-enlarge-region)
6798 (viper-read-string-with-history, viper-register-to-point)
6799 (viper-append-to-register, viper-change-state-to-vi)
6800 (viper-backward-char-carefully, viper-forward-char-carefully)
6801 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6802 (viper-change-state-to-emacs): Declare.
6803 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6804 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6805 * emulation/viper-mous.el: Do not load viper-cmd.
6806 (viper-backward-char-carefully, viper-forward-char-carefully)
6807 (viper-forward-word, viper-adjust-window): Declare.
6808
5f70c169
GM
6809 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6810
b1b7f300
GM
6811 * progmodes/idlw-help.el (idlwave-help-fontify):
6812 Use called-interactively-p.
6813
f6ebbb46
GM
6814 * term/w32console.el (w32-get-console-codepage)
6815 (w32-get-console-output-codepage): Declare.
6816
0cdffd7d
GM
6817 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6818 Remove unnecessary declarations.
6819 (dframe-message): Doc fix.
6820
6821 * info.el (dframe-select-attached-frame, dframe-current-frame):
6822 Declare.
6823
6824 * speedbar.el (speedbar-message): Make it an obsolete alias.
6825 Update all callers.
6826 (speedbar-with-attached-buffer)
6827 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6828 (speedbar-with-writable): Use backquote.
6829 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6830 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6831 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6832 rather than speedbar- aliases.
6833 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6834 (speedbar-make-specialized-keymap, speedbar-insert-button)
6835 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6836 (speedbar-do-function-pointer): Declare.
6837 (rmail-speedbar-button, rmail-speedbar-find-file)
6838 (rmail-speedbar-move-message):
6839 Use dframe-with-attached-buffer rather than speedbar- alias.
6840 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6841 (dframe-message, speedbar-make-specialized-keymap)
6842 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6843 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6844 (speedbar-insert-button, dframe-select-attached-frame)
6845 (dframe-maybee-jump-to-attached-frame)
6846 (speedbar-change-initial-expansion-list)
6847 (speedbar-previously-used-expansion-list-name): Declare.
6848 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6849 Use dframe-message, dframe-with-attached-buffer rather than
6850 speedbar- aliases.
6851 (gud-sentinel): Silence compiler.
6852 * progmodes/vhdl-mode.el (speedbar-refresh)
6853 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6854 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6855 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6856 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6857 (speedbar-file-lists, speedbar-make-tag-line)
6858 (speedbar-line-directory, speedbar-goto-this-file)
6859 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6860 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6861 (speedbar-make-button, speedbar-reset-scanners)
6862 (speedbar-files-item-info, speedbar-line-text)
6863 (speedbar-find-file-in-frame, speedbar-set-timer)
6864 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6865 (speedbar-with-writable): Do not (re)define it.
6866 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6867 rather than speedbar- alias.
6868
ee44b62a
LL
68692013-05-21 Leo Liu <sdl.web@gmail.com>
6870
6871 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6872 menu items.
6873 (octave-mode): Tweak fill-nobreak-predicate.
6874 (inferior-octave-startup): Check process to avoid infinite loop.
6875 (inferior-octave): Pop to buffer first to show abornmal process
6876 exit information.
6877
640f050f
GM
68782013-05-21 Glenn Morris <rgm@gnu.org>
6879
79458038
GM
6880 * printing.el (pr-menu-bar): Define when compiling.
6881
9cc3e83f
LL
68822013-05-21 Leo Liu <sdl.web@gmail.com>
6883
6884 * progmodes/octave.el (octave-auto-fill): Remove.
6885 (octave-indent-new-comment-line): Improve.
6886 (octave-mode): Use auto fill mode through
4f405069 6887 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 6888 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 6889 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
6890 (octave-help): Show parent directory.
6891
f440830d
GM
68922013-05-21 Glenn Morris <rgm@gnu.org>
6893
6894 * files.el (dired-unmark):
6895 * progmodes/gud.el (gdb-input): Update declarations.
6896
6897 * calculator.el (electric, ehelp): No need to load when compiling.
6898 (Electric-command-loop, electric-describe-mode): Declare.
6899
6900 * doc-view.el (doc-view-current-converter-processes): Move before use.
6901
6902 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6903 Move MODE-set-explicitly definition before use.
6904
6905 * international/mule-diag.el (mule-diag):
6906 Don't use obsolete window-system-version.
6907
6908 * mail/feedmail.el (smtpmail): No need to load when compiling.
6909 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6910
6911 * mail/mail-utils.el (rfc822): No need to load when compiling.
6912 (rfc822-addresses): Autoload it.
6913 (mail-strip-quoted-names): Trivial simplification.
6914
6915 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6916 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6917
6918 * net/snmp-mode.el (tempo): Don't duplicate requires.
6919
6920 * progmodes/prolog.el (info): No need to load when compiling.
6921 (comint): Require before shell requires it.
6922 (Info-goto-node): Autoload it.
6923 (Info-follow-nearest-node): Declare.
6924 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6925
6926 * textmodes/artist.el (picture-mode-exit): Declare.
6927
6928 * textmodes/reftex-parse.el (reftex-parse-from-file):
6929 Trivial rewrite so the compiler can parse it better.
6930
b4da2cbb
LL
69312013-05-20 Leo Liu <sdl.web@gmail.com>
6932
6933 * progmodes/octave.el (octave-help-mode-map)
6934 (octave-help-mode-finish-hook): New variables.
6935 (octave-help-mode, octave-help-mode-finish): New functions.
6936 (octave-help): Use octave-help-mode.
6937
33c0f65b
GM
69382013-05-20 Glenn Morris <rgm@gnu.org>
6939
6940 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6941
1a0a0a8a
DG
69422013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6943
6944 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6945 start at point, so that expansion starting right after opening
6946 slash in a regexp is recognized.
6947 (ruby-syntax-before-regexp-re): New defvar, extracted from
6948 ruby-syntax-propertize-function. Since the value of this regexp
6949 is looked up at runtime now, we should be able to turn
6950 `ruby-syntax-methods-before-regexp' into a defcustom later.
6951 (ruby-syntax-propertize-function): Split regexp matching into two
6952 parts, for opening and closing slashes. That allows us to skip
6953 over string interpolations and support multiline regexps.
6954 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6955 for them, which calls `ruby-syntax-propertize-expansion'.
6956 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6957 call to `ruby-syntax-propertize-function'.
6958 (ruby-syntax-propertize-expansion): Extracted from
6959 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
6960 (ruby-syntax-propertize-percent-literal): Leave point right after
6961 the percent symbol, so that the expression expansion rule can
6962 propertize the contents.
462388b6
DG
6963 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6964 heredoc openers.
6965 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 6966
c1a6c0a4
JL
69672013-05-18 Juri Linkov <juri@jurta.org>
6968
6969 * man.el (Man-default-man-entry): Remove `-' from the end
6970 of the default value. (Bug#14400)
6971
8051fccd
GM
69722013-05-18 Glenn Morris <rgm@gnu.org>
6973
6974 * comint.el (comint-password-prompt-regexp):
6975 Allow "password for XXX" where XXX contains colons (eg https://...).
6976
5e80b74f
LL
69772013-05-18 Leo Liu <sdl.web@gmail.com>
6978
6979 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 6980 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
6981 (octave-source-directories): Don't check process.
6982 (octave-source-directories, octave-find-definition): Doc fix.
6983
521a54c5
GM
69842013-05-18 Glenn Morris <rgm@gnu.org>
6985
86a94b05
GM
6986 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6987 Remove backspace/delete bindings. (Bug#14392)
6988
521a54c5
GM
6989 * cus-dep.el (custom-make-dependencies): Sort the output.
6990 (custom-versions-load-alist): Convert comment to doc.
6991
42caeb89
LL
69922013-05-17 Leo Liu <sdl.web@gmail.com>
6993
6994 * newcomment.el (comment-search-backward): Stricter in finding
6995 comment start. (Bug#14303)
6996
6997 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6998 (octave-comment-start-skip): Properly anchored.
6999
e219dd97
LL
70002013-05-17 Leo Liu <sdl.web@gmail.com>
7001
fe1eb856
RS
7002 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7003 Clean up when turned off. (Bug#14395)
e219dd97
LL
7004 (smie--highlight-matching-block-overlay): No longer buffer-local.
7005 (smie-highlight-matching-block): Adjust.
7006
dc5dcb4b
PE
70072013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7008
7009 Doc string fix for "nanoseconds" (Bug#14406).
7010 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7011 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7012
1db165f0
JB
70132013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7014
7015 * calc/calc-units.el (math-extract-units): Preserve powers
7016 of units.
7017
c7a8fcac
LL
70182013-05-17 Leo Liu <sdl.web@gmail.com>
7019
7020 * subr.el (delete-consecutive-dups): New function.
7021 * ido.el (ido-set-matches-1): Use it.
7022 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7023 * ido.el (ido-remove-consecutive-dups): Remove.
7024
f678b18a
SM
70252013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7028 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7029 regexp-opt's `words'.
7030
ebfe68e8
LL
70312013-05-16 Leo Liu <sdl.web@gmail.com>
7032
7033 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7034 (smie--highlight-matching-block-overlay)
7035 (smie--highlight-matching-block-lastpos)
7036 (smie--highlight-matching-block-timer): New variables.
7037 (smie-highlight-matching-block): New function.
7038 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7039 (smie-setup): Conditionally enable smie-blink-matching-open.
7040
bc8bc17d
WS
70412013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7042
7043 Sync with upstream verilog-mode r840.
7044 * progmodes/verilog-mode.el (verilog-mode-version)
7045 (verilog-mode-release-date): Update.
7046 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7047 (verilog-sig-tieoff): Fix string error on
7048 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7049 (verilog-read-decls): Fix parameters confusing
7050 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7051
df065a0b
EZ
70522013-05-16 Eli Zaretskii <eliz@gnu.org>
7053
7054 * subr.el (reveal-filename): New function.
7055
7056 * loadup.el: Compute Emacs executable versions on MS-Windows,
7057 where executables have the .exe extension. Add a hard link
7058 emacs-XX.YY.ZZ.exe on MS-Windows.
7059
7060 * Makefile.in (XARGS_LIMIT): New variable.
7061 (custom-deps, finder-data, autoloads)
7062 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7063 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7064 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7065 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7066
2d4bf34b
LL
70672013-05-16 Leo Liu <sdl.web@gmail.com>
7068
7069 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7070 (octave-mode-menu, octave-mode-map): Remove its uses.
7071
6b9c2d85
RZ
70722013-05-16 Reto Zimmermann <reto@gnu.org>
7073
7074 Sync with upstream vhdl mode v3.34.2.
7075 * progmodes/vhdl-mode.el: Use `push' throughout.
7076 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7077 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7078 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7079 (vhdl-actual-generic-name): New option to derive actual generic name.
7080 (vhdl-port-paste-signals): Replace formal by actual generics.
7081 (vhdl-beautify): New name for old group vhdl-align. Update users.
7082 (vhdl-beautify-options): New option.
7083 (vhdl-last-input-event): New compat alias. Use throughout.
7084 (vhdl-goto-line): Replace user level function `goto-line'.
7085 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7086 vhdl-fix-statement-buffer.
7087 (vhdl-create-mode-menu): Add some entries.
7088 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7089 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7090 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7091 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7092 to force statements on one line.
7093 (vhdl-remove-trailing-spaces-region):
7094 New, split from vhdl-remove-trailing-spaces.
7095 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7096 Respect vhdl-beautify-options.
7097 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7098 (vhdl-update-sensitivity-list): Not add with index if exists without.
7099 Not include array index with signal. Ignore keywords in comments.
7100 (vhdl-get-visible-signals): Regexp tweaks.
7101 (vhdl-template-component-inst): Handle empty library.
7102 (vhdl-template-type): Add template for 'enum' type.
7103 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7104 Use vhdl-replace-string.
7105 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7106 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7107 (vhdl-speedbar-initialize): Update for above name change.
7108 (vhdl-compose-wire-components): Fix in handling of constants.
7109 (vhdl-error-regexp-emacs-alist): New variable.
7110 (vhdl-error-regexp-add-emacs): New function;
7111 adds support for new compile.el (Emacs 22+)
7112 (vhdl-generate-makefile-1): Change target order for single lib. units.
7113 Allow use of absolute file names.
7114
9df4ec5e
LL
71152013-05-16 Leo Liu <sdl.web@gmail.com>
7116
7117 * simple.el (prog-indent-sexp): Indent enclosing defun.
7118
f5ba00a6
GM
71192013-05-15 Glenn Morris <rgm@gnu.org>
7120
ed8be7ff
GM
7121 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7122 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7123 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7124 (whitespace-highlight): Move to whitespace group.
7125
7126 * comint.el (comint-source):
7127 * pcmpl-linux.el (pcmpl-linux):
7128 * shell.el (shell-faces):
7129 * eshell/esh-opt.el (eshell-opt):
7130 * international/ccl.el (ccl): Remove empty custom groups.
7131
7132 * completion.el (dynamic-completion-mode):
7133 * jit-lock.el (jit-lock-debug-mode):
7134 * minibuffer.el (completion-in-region-mode):
7135 * type-break.el (type-break-mode-line-message-mode)
7136 (type-break-query-mode):
7137 * emulation/tpu-edt.el (tpu-edt-mode):
7138 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7139 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7140 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7141
7142 * term/xterm.el (xterm): Change parent group to terminals.
7143
7144 * master.el (master): Remove empty custom group.
7145 (master-mode): Remove unused :group argument.
7146 * textmodes/refill.el (refill): Remove empty custom group.
7147 (refill-mode): Remove unused :group argument.
7148
7149 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7150
82a7c41b
GM
7151 * cus-dep.el: Provide a feature.
7152 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
7153 Don't mistakenly ignore files whose basenames match a basename
7154 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 7155 Add a fallback method for getting :group.
f5ba00a6 7156
6d65486d
JL
71572013-05-15 Juri Linkov <juri@jurta.org>
7158
da547b32
JL
7159 * isearch.el (isearch-char-by-name): Rename from
7160 `isearch-insert-char-by-name'. Doc fix.
7161 (isearch-forward): Mention `isearch-char-by-name' in
7162 the docstring. (Bug#13348)
7163
6d65486d
JL
7164 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7165 `exit-minibuffer' instead of
7166 `isearch-nonincremental-exit-minibuffer'.
7167 (isearch-edit-string): Remove mention of
7168 `isearch-nonincremental-exit-minibuffer' from docstring.
7169 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7170 (isearch-forward-exit-minibuffer)
7171 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7172
c9990474
SM
71732013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7174
6e911150
SM
7175 * loadup.el: Just use unversioned DOC.
7176
c9990474
SM
7177 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7178 literals as extending to EOB.
7179 (nxml-last-fontify-end): Remove unused variable.
7180 (nxml-after-change1): Use with-silent-modifications.
7181 (nxml-extend-after-change-region): Simplify.
7182 (nxml-extend-after-change-region1): Remove function.
7183 (nxml-after-change1): Don't adjust for dependent regions.
7184 (nxml-fontify-matcher): Simplify.
7185 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7186 (xmltok-add-dependent): Remove function.
7187 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7188 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7189 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7190 unclosed <[[, <?, comment, and other literals as extending to EOB.
7191 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7192 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7193 Remove functions.
7194 (rng-do-some-validation-1): Don't mark dependent regions.
7195 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7196 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7197 (nxml-clear-dependent-regions): Remove functions.
7198 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7199 (nxml-ensure-scan-up-to-date):
7200 Don't clear&mark dependent regions.
7201
e3772e98
LL
72022013-05-15 Leo Liu <sdl.web@gmail.com>
7203
c9990474
SM
7204 * progmodes/octave.el (octave-goto-function-definition):
7205 Improve and fix callers.
e3772e98 7206
5ac2eb34
SM
72072013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7208
c46c57b0
SM
7209 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7210 the setter (bug#14387).
7211
5ac2eb34
SM
7212 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7213 surrounding group (bug#14402).
7214
180ed218
JL
72152013-05-14 Juri Linkov <juri@jurta.org>
7216
7217 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7218 (Bug#14390)
7219
0ac0fecb
GM
72202013-05-14 Glenn Morris <rgm@gnu.org>
7221
7222 * progmodes/f90.el (f90-imenu-generic-expression):
7223 Fix typo in 2013-05-08 change. (Bug#14402)
7224
2e78e6a7
JPG
72252013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7226
5ac2eb34
SM
7227 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7228 Remove signals for which replies are never received.
2e78e6a7 7229
53267cca
JPG
72302013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7231
7232 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7233 (gdb-handler-alist, gdb-handler-number): Remove variables.
7234 (gdb-handler-list): New variable.
7235 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7236 (gdb-pending-handler-p, gdb-handle-reply)
7237 (gdb-remove-all-pending-triggers): New functions.
7238 (gdb-discard-unordered-replies): New defcustom.
7239 (gdb-handler): New defstruct.
7240 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7241 instead of gdb-pending-triggers. Update docstring.
7242 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7243 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7244 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7245 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7246 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7247 (gdb-frame-handler): Pending triggers are now automatically managed.
7248 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7249 Remove argument.
7250 (gdb-input): Automatically handles pending triggers. Update docstring.
7251 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7252 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7253 Update comments.
7254 (gdb-done-or-error): Now use gdb-handle-reply.
7255
d04ce803
JPG
72562013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7257
7258 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7259 gdb-debug-log.
7260
0114073a
GM
72612013-05-14 Glenn Morris <rgm@gnu.org>
7262
7263 * subr.el (user-emacs-directory-warning): New option.
7264 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7265
4d25fd7e
LL
72662013-05-14 Leo Liu <sdl.web@gmail.com>
7267
7268 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7269 during redisplay.
7270 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
7271 (octave-font-lock-texinfo-comment): Fix invalid search bound
7272 error: wrong side of point.
4d25fd7e 7273
27c8b6eb
GM
72742013-05-14 Glenn Morris <rgm@gnu.org>
7275
61aaeb01
GM
7276 * progmodes/flymake.el (flymake-xml-program): New option.
7277 (flymake-xml-init): Use it.
7278
5bf90bc5
GM
7279 * term/xterm.el: Provide a feature.
7280
7281 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 7282
f4c7dfd2
GM
72832013-05-13 Glenn Morris <rgm@gnu.org>
7284
7285 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7286 Add compat aliases as a hack workaround. (Bug#14384)
7287
2aeb3a1d
LL
72882013-05-13 Leo Liu <sdl.web@gmail.com>
7289
b0e069c2
LL
7290 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7291 ###, and %!.
f5a9432f
LL
7292 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7293 C-M-q.
b0e069c2
LL
7294 (octave-comment-start-skip): Include %!.
7295 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 7296
30ea8374
LL
72972013-05-12 Leo Liu <sdl.web@gmail.com>
7298
7299 * progmodes/octave.el (inferior-octave-startup): Store the value
7300 of __octave_srcdir__ for octave-source-directories.
7301 (inferior-octave-check-process): New function refactored out of
7302 inferior-octave-send-list-and-digest.
7303 (octave-source-directories)
7304 (octave-find-definition-filename-function): New variables.
7305 (octave-source-directories)
7306 (octave-find-definition-default-filename): New functions.
7307 (octave-find-definition): Improve to find functions implemented in C++.
7308
472a3834
GM
73092013-05-12 Glenn Morris <rgm@gnu.org>
7310
7311 * calendar/diary-lib.el (diary-outlook-format-1):
7312 Don't include dayname in the output. (Bug#14349)
7313
3191b52f
GM
73142013-05-11 Glenn Morris <rgm@gnu.org>
7315
0060ac73
GM
7316 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7317
3191b52f
GM
7318 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7319 Treat cc-provide like provide.
7320
e065ba74
KR
73212013-05-11 Kevin Ryde <user42@zip.com.au>
7322
7323 * cus-dep.el (custom-make-dependencies):
7324 Use generated-autoload-load-name for the sake of files such
7325 such cedet/semantic/bovine/c.el, where the base file name
7326 is not in load-path. (Bug#5277)
7327
36f84c37
GM
73282013-05-11 Glenn Morris <rgm@gnu.org>
7329
7330 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7331 Provide features.
7332
c8730c3a
LL
73332013-05-11 Leo Liu <sdl.web@gmail.com>
7334
7335 * progmodes/octave.el (octave-indent-comment): Improve.
7336 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
7337 (octave-eldoc-function-signatures, octave-eldoc-function):
7338 New functions.
c8730c3a
LL
7339 (octave-mode, inferior-octave-mode): Add eldoc support.
7340
212e29f2
RS
73412013-05-11 Richard Stallman <rms@gnu.org>
7342
7343 * epa.el (epa-decrypt-file): Take output file name as argument
7344 and read it using `interactive'.
7345
083fe0d7
LL
73462013-05-11 Leo Liu <sdl.web@gmail.com>
7347
7348 * progmodes/octave.el (octave-beginning-of-line)
7349 (octave-end-of-line): Check before using up-list because it jumps
7350 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
7351 (octave-indent-comment): New function.
7352 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
7353 (octave-begin-keywords, octave-end-keywords)
7354 (octave-reserved-words, octave-smie-bnf-table)
7355 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 7356
8582e4c4
GM
73572013-05-11 Glenn Morris <rgm@gnu.org>
7358
f20def1f
GM
7359 * faces.el (internal-face-x-get-resource):
7360 * frame.el (ns-display-monitor-attributes-list):
d78abe37 7361 * calc/calc-aent.el (math-to-radians-2):
f20def1f 7362 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 7363 Fix declarations.
f20def1f 7364
445f95e2
GM
7365 * calc/calc-menu.el: Make it loadable in isolation.
7366
7367 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7368 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7369 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7370 (eudc-bbdb-query-internal): Require 'bbdb.
7371
99fb2756
GM
7372 * lpr.el (lpr-headers-switches):
7373 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7374
7375 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7376
0da7ad96
GM
7377 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7378
8582e4c4
GM
7379 * term.el (term-set-escape-char): Make it idempotent.
7380
f71c50d0
LL
73812013-05-10 Leo Liu <sdl.web@gmail.com>
7382
5ac2eb34
SM
7383 * progmodes/octave.el (inferior-octave-completion-table):
7384 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
7385 completion due to bug#11906.
7386 (octave-beginning-of-defun): Re-write to be more general.
7387
d5837773
GM
73882013-05-10 Glenn Morris <rgm@gnu.org>
7389
7390 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7391
027c0f75
SM
73922013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * comint.el (comint-redirect-send-command-to-process): Use :around
7395 rather than :override for comint-redirect-filter.
7396 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7397 Call it instead of comint-redirect-original-filter-function (which
7398 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7399
4465bfb4
JD
74002013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7401
7402 * frame.el (display-monitor-attributes-list): Add NS case.
7403 (ns-display-monitor-attributes-list): Declare.
7404
2d809ffa 74052013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
7406
7407 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7408
e54eeb9b
GM
74092013-05-09 Glenn Morris <rgm@gnu.org>
7410
56cd351d
GM
7411 * international/fontset.el (vertical-centering-font-regexp):
7412 Set standard-value.
7413
d84b6108
GM
7414 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7415
a931698a
GM
7416 * bookmark.el (bookmark-search-delay):
7417 * cus-start.el (vertical-centering-font-regexp):
7418 * ps-mule.el (ps-mule-font-info-database-default):
7419 * ps-print.el (ps-default-fg, ps-default-bg):
7420 * type-break.el (type-break-good-break-interval):
7421 * whitespace.el (whitespace-indentation-regexp)
7422 (whitespace-space-after-tab-regexp):
7423 * emacs-lisp/testcover.el (testcover-1value-functions)
7424 (testcover-noreturn-functions, testcover-progn-functions)
7425 (testcover-prog1-functions):
7426 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7427 * eshell/em-glob.el (eshell-glob-translate-alist):
7428 * play/tetris.el (tetris-tty-colors):
7429 * progmodes/cpp.el (cpp-face-default-list):
7430 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7431 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7432 (idlwave-help-browser-generic-args):
7433 * progmodes/make-mode.el (makefile-special-targets-list):
7434 * progmodes/python.el (python-shell-virtualenv-path):
7435 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7436 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7437 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7438 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7439 * textmodes/reftex-vars.el (reftex-format-label-function):
7440 * textmodes/remember.el (remember-diary-file): Fix custom types.
7441
e54eeb9b
GM
7442 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7443 Add :version.
7444
455851dd
LL
74452013-05-09 Leo Liu <sdl.web@gmail.com>
7446
7447 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 7448 Restore file completion. (Bug#14300)
455851dd
LL
7449 (inferior-octave-startup): Fix incorrect highlighting for the
7450 first prompt.
7451
a9e4425b
SM
74522013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * progmodes/ruby-mode.el: First cut at SMIE support.
7455 (ruby-use-smie): New var.
7456 (ruby-smie-grammar): New constant.
7457 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7458 (ruby-smie--forward-token, ruby-smie--backward-token)
7459 (ruby-smie-rules): New functions.
7460 (ruby-mode-variables): Setup SMIE if applicable.
7461
060ca408
EZ
74622013-05-08 Eli Zaretskii <eliz@gnu.org>
7463
7464 * simple.el (line-move-visual): Signal beginning/end of buffer
7465 only if vertical-motion moved less than it was requested. Avoids
7466 silly incorrect error messages when there are display strings with
7467 multiple newlines at EOL.
7468
1d5963cc
SM
74692013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7471 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7472 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7473 (prolog-char-quote-workaround):
7474 * progmodes/cperl-mode.el (cperl-under-as-char):
7475 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
7476 Mark as obsolete.
7477 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
7478 their declaration.
7479 (vhdl-mode-syntax-table-init): Remove.
7480
c9990474
SM
7481 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7482 last change.
1d5963cc
SM
7483
7484 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7485 syntax for "_".
7486 (ld-script-font-lock-keywords):
7487 Change regexps to use things like \_< and \_>.
7488
7489 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7490 Change all regexps to use things like \_< and \_>.
7491
7492 * progmodes/autoconf.el (autoconf-definition-regexp)
7493 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7494 Handle a _ with symbol syntax.
7495 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7496
c9990474
SM
7497 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7498 Consolidate declaration.
1d5963cc
SM
7499 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7500 the declaration.
7501 (ada-create-syntax-table): Remove.
7502 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7503 already has the right syntax nowadays.
7504 (ada-goto-next-word): Don't change the syntax of "_".
7505
7506 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7507 with-wrapper-hook.
7508
72d3cfca
SS
75092013-05-08 Sam Steingold <sds@gnu.org>
7510
7511 * thingatpt.el (thing-at-point): Accept optional second argument
7512 NO-PROPERTIES to strip the text properties from the return value.
7513 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7514 to `thing-at-point' instead of stripping the properties ourselves.
7515 Also, when `thing-at-point' fails to find a url, prepend "http://"
7516 to the filename at point on the assumption that the user is
7517 pointing at something like gnu.org/gnu.
7518
5cb15713
JB
75192013-05-08 Juanma Barranquero <lekktu@gmail.com>
7520
7521 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7522 * faces.el (crm-separator):
7523 Silence byte-compiler.
7524
7525 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7526 (tool-bar-map): Remove unneeded defvars.
7527
ea78b95b
LL
75282013-05-08 Leo Liu <sdl.web@gmail.com>
7529
7530 Re-work a fix for bug#10994 based on Le Wang's patch.
7531 * ido.el (ido-remove-consecutive-dups): New helper.
7532 (ido-completing-read): Use it.
7533 (ido-chop): Revert fix for bug#10994.
7534
dc7466df
AS
75352013-05-08 Adam Spiers <emacs@adamspiers.org>
7536
7537 * cus-edit.el (custom-save-variables):
7538 Pretty-print long values. (Bug#14187)
7539
9ecf672a
GM
75402013-05-08 Glenn Morris <rgm@gnu.org>
7541
7542 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7543 (m4-mode-syntax-table): Init in the defvar.
7544 (m4-mode-abbrev-table): Let define-derived-mode define it.
7545
3f555be8
TT
75462013-05-08 Tom Tromey <tromey@redhat.com>
7547
7548 * progmodes/m4-mode.el (m4-mode-syntax-table):
7549 Do not treat "_" as word constituent. (Bug#14167)
7550
7cc8ae06
GM
75512013-05-07 Glenn Morris <rgm@gnu.org>
7552
4f58bc06
GM
7553 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7554 Remove explicit eshell-isearch-cancel-map.
7555
7cc8ae06
GM
7556 * progmodes/f90.el (f90-smart-end-names): New option.
7557 (f90-smart-end): Doc fix.
7558 (f90-end-block-optional-name): New constant.
7559 (f90-block-match): Respect f90-smart-end-names.
7560
ceb57e59
SM
75612013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7564 about implicit semi-colons (bug#14218).
7565
4e3f9230
YM
75662013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7567
7568 * frame.el (display-monitor-attributes-list)
7569 (frame-monitor-attributes): New functions.
7570
203a5572
LL
75712013-05-06 Leo Liu <sdl.web@gmail.com>
7572
7573 * progmodes/octave.el (octave-syntax-propertize-function): Change
7574 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7575 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 7576 (octave-completion-at-point): Rename from
203a5572
LL
7577 octave-completion-at-point-function.
7578 (inferior-octave-directory-tracker): Robustify.
7579 (octave-text-functions): Remove and fix its uses. No such things
7580 any more.
7581
ee6cff99
SM
75822013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * emacs-lisp/trace.el (trace--display-buffer): New function.
7585 (trace-make-advice): Use it.
7586
32985194
JL
75872013-05-06 Juri Linkov <juri@jurta.org>
7588
7589 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7590 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7591 Doc fix.
7592 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7593 in the help string. (Bug#12985)
7594
a1c700de
KD
75952013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7596
7597 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7598
c67c0839
SM
75992013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7600
323885fd
SM
7601 * progmodes/perl-mode.el: Add support for here documents.
7602 (perl-syntax-propertize-function): Match here-doc markers.
7603 (perl-syntax-propertize-special-constructs): Find their end.
7604 (perl-imenu-generic-expression): Use [:alnum:].
7605
c67c0839
SM
7606 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7607 (advice--add-function): Refresh the advice if already present
7608 (bug#14317).
7609
d491e7a8
IA
76102013-05-06 Ivan Andrus <darthandrus@gmail.com>
7611
7612 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7613
ddf9925e
GM
76142013-05-06 Glenn Morris <rgm@gnu.org>
7615
7cc3af27
GM
7616 * w32-fns.el (w32-charset-info-alist): Declare.
7617
16e343d6
GM
7618 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7619 of its defcustom properties.
7620 (eshell-cmpl-initialize): No need to load pcomplete.
7621
7d889a47
GM
7622 * generic-x.el: No need to require comint when compiling.
7623
ddf9925e
GM
7624 * net/eudc-export.el: Make it loadable without bbdb.
7625 (top-level): Use require rather than load-library.
7626 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7627 (eudc-batch-export-records-to-bbdb)
7628 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7629 Require bbdb.
7630
1e2c18df
SM
76312013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7634 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7635 some tweaks, instead.
7636
02502a5f
LL
76372013-05-05 Leo Liu <sdl.web@gmail.com>
7638
7639 * progmodes/octave.el (octave-font-lock-keywords)
7640 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7641 (inferior-octave-send-list-and-digest): Improve error message.
7642 (octave-mode, inferior-octave-mode): Use setq-local.
7643 (octave-help): Set info-lookup-mode.
7644
0dc04f42
RS
76452013-05-05 Richard Stallman <rms@gnu.org>
7646
6c54491c
RS
7647 * vc/compare-w.el (compare-windows-whitespace):
7648 Treat no-break space as whitespace.
7649
0dc04f42
RS
7650 * mail/rmailsum.el (rmail-summary-rmail-update):
7651 Detect empty summary and don't change selected message.
7652 (rmail-summary-goto-msg): Likewise.
7653
df8f35df
RS
7654 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7655 Doc fixes, rename args.
7656
5356e1a3
AM
76572013-05-05 Alan Mackenzie <acm@muc.de>
7658
7659 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7660
d44014cb
JL
76612013-05-05 Juri Linkov <juri@jurta.org>
7662
7663 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7664 to not add the length of the summary segment to the return value.
7665 (Bug#14125)
7666
c129b51f
LL
76672013-05-05 Leo Liu <sdl.web@gmail.com>
7668
7669 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7670 (inferior-octave-output-filter): Remove.
7671 (octave-send-region, inferior-octave-startup): Fix callers.
7672 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7673 (octave-binary-file-extensions): New user variable.
7674 (octave-find-definition): Confirm if opening binary files.
7675 (octave-help-file): Use octave-find-definition to get the binary
7676 confirmation.
7677 (octave-help): Adjust for octave-help-file change.
7678
aa7dab97
SM
76792013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7682 Merge the two entries that handle function definitions.
7683 (pascal--syntax-propertize): New const.
7684 (pascal-mode): Use it. Use setq-local.
7685
fd3a9a6b
GM
76862013-05-04 Glenn Morris <rgm@gnu.org>
7687
7688 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7689 (diary-from-outlook): Respect diary-from-outlook-function.
7690
30c7e542
SM
76912013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7692
7693 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7694 Move the declaration from C.
7695 (read-minibuffer, eval-minibuffer): Move from C.
7696 (completion-setup-function): Avoid minibuffer-completion-contents.
7697
b54f978b
LL
76982013-05-03 Leo Liu <sdl.web@gmail.com>
7699
7700 * progmodes/octave.el (octave-font-lock-keywords): Do not
7701 dehighlight 'end' in comments or strings.
30c7e542
SM
7702 (octave-completing-read, octave-goto-function-definition):
7703 New helpers.
d4d0f9b3
LL
7704 (octave-help-buffer): New user variable.
7705 (octave-help-file, octave-help-function): New button types.
7706 (octave-help): New command and bind it to C-h ;.
7707 (octave-find-definition): New command and bind it to M-.
d74a1581 7708 (user-error): Alias to error if not defined.
b54f978b 7709
27135018
LL
77102013-05-02 Leo Liu <sdl.web@gmail.com>
7711
7712 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7713 for \. (bug#14332)
7714 (octave-font-lock-keywords): Include [ and {.
7715
0d634d3a
LL
77162013-05-02 Leo Liu <sdl.web@gmail.com>
7717
7718 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7719 (inferior-octave): Remove calling comint-mode and return the buffer.
7720 (inferior-octave-startup): Cosmetic changes.
7721
b4c8295e
LL
77222013-05-02 Leo Liu <sdl.web@gmail.com>
7723
30c7e542
SM
7724 * progmodes/octave.el (octave-syntax-propertize-function):
7725 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 7726
f12ad6ec
GM
77272013-05-02 Glenn Morris <rgm@gnu.org>
7728
7729 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7730 * desktop.el (vc-dir-mode): Just autoload it here.
7731
30cac1e0
AM
77322013-05-02 Alan Mackenzie <acm@muc.de>
7733
7734 Eliminate variable c-standard-font-lock-fontify-region-function.
7735 * progmodes/cc-mode.el
7736 (c-standard-font-lock-fontify-region-function): Remove.
7737 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7738
d8ef28b1
LL
77392013-05-01 Leo Liu <sdl.web@gmail.com>
7740
2640d52e 7741 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 7742 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 7743 variables were removed from Octave in 2007.
d8ef28b1
LL
7744 (inferior-octave-startup): Fix uses.
7745 (comint-line-beginning-position): Remove compatibility code for
7746 emacs 21.
7747
ac63ec89
JL
77482013-05-01 Juri Linkov <juri@jurta.org>
7749
7750 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7751
9e9be37c
JL
77522013-05-01 Juri Linkov <juri@jurta.org>
7753
7754 * comint.el (comint-previous-matching-input): Don't print message
7755 "History item: %d" when `isearch-mode' is active.
7756 (comint-history-isearch-message): Print message "History item: %d"
7757 when `comint-input-ring-index' is not empty and this function is
7758 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7759
9b92c13b
LL
77602013-05-01 Leo Liu <sdl.web@gmail.com>
7761
7762 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7763 definitions. Use completion-at-point to insert keywords.
7764 (octave-abbrev-start): Remove.
7765 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7766
b12d33d7
LL
77672013-04-30 Leo Liu <sdl.web@gmail.com>
7768
7769 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7770 change.
7771
3d1c39fa
AM
77722013-04-30 Alan Mackenzie <acm@muc.de>
7773
7774 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
7775 * progmodes/cc-engine.el (c-back-over-member-initializers):
7776 new function.
3d1c39fa
AM
7777 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7778 (most) member init lists.
7779
5147fc17
RS
77802013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7781
7782 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7783 variable.
7784
5b78d7fc
LL
77852013-04-30 Leo Liu <sdl.web@gmail.com>
7786
7787 * progmodes/octave.el (octave-variables): Remove. No builtin
7788 variables any more. All converted to functions.
7789 (octave-font-lock-keywords, octave-completion-at-point-function):
7790 Fix uses.
7791 (octave-font-lock-texinfo-comment): New user variable.
7792 (octave-texinfo-font-lock-keywords): New variable for texinfo
7793 comment block.
7794 (octave-function-comment-block): New face.
7795 (octave-font-lock-texinfo-comment): New function.
7796 (octave-mode): Font lock texinfo comment block.
7797
38d8527b
LL
77982013-04-29 Leo Liu <sdl.web@gmail.com>
7799
7800 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7801 indexing expression.
7802 (octave-continuation-string): Do not use \.
7803 (inferior-octave-complete-impossible): Remove.
7804 (inferior-octave-completion-table)
7805 (inferior-octave-completion-at-point): Remove its uses.
7806 (inferior-octave-startup): completion_matches was introduced to
7807 Octave in 1996 so safe to assume it.
7808 (octave-function-file-comment): Improve to follow how Octave does it.
7809 (octave-update-function-file-comment): Tweak.
7810
2ec12cb0
LL
78112013-04-29 Leo Liu <sdl.web@gmail.com>
7812
7813 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7814 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7815 (octave-function-file-comment): Fix typo.
7816 (octave-sync-function-file-names): Use read-char-choice.
7817
6eaed048
JB
78182013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7819
7820 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7821 to t for the less important warnings.
7822
3ffa2d4f
DH
78232013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7824
7825 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7826
685c9501
GM
78272013-04-27 Glenn Morris <rgm@gnu.org>
7828
7829 * vc/log-view.el (log-view-current-entry):
7830 Treat "---" separator lines as part of the following rev. (Bug#14169)
7831
0208ede7
JL
78322013-04-27 Juri Linkov <juri@jurta.org>
7833
7834 * subr.el (read-number): Doc fix about using it by interactive
7835 code letter `n'. (Bug#14254)
7836
5db9dace
JL
78372013-04-27 Juri Linkov <juri@jurta.org>
7838
7839 * desktop.el (desktop-auto-save-timeout): New option.
7840 (desktop-file-checksum): New variable.
7841 (desktop-save): Add optional arg `auto-save' and don't auto-save
7842 if nothing changed.
7843 (desktop-auto-save-timer): New variable.
7844 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7845 (after-init-hook): Call `desktop-auto-save-set-timer'.
7846 Suggested by Reuben Thomas <rrt@sc3d.org> in
7847 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7848
b7260dd4
LL
78492013-04-27 Leo Liu <sdl.web@gmail.com>
7850
7851 * progmodes/octave.el (octave-function-file-p)
7852 (octave-skip-comment-forward, octave-function-file-comment)
7853 (octave-update-function-file-comment): New functions.
7854 (octave-mode-map): Bind C-c ; to
7855 octave-update-function-file-comment.
7856 (octave-mode-menu): Add octave-update-function-file-comment.
7857 (octave-mode, inferior-octave-mode): Fix doc-string.
7858 (octave-insert-defun): Conform to Octave's coding convention.
7859 (Bug#14285)
7860
7861 * files.el (basic-save-buffer): Don't let errors in
7862 before-save-hook prevent saving buffer.
7863
c46da669
RW
78642013-04-20 Roland Winkler <winkler@gnu.org>
7865
7866 * faces.el (read-face-name): Use completing-read if arg multiple
7867 is nil.
7868
a81ee1eb
IL
78692013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7870
7871 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
7872 displayed, move point to after the totals line.
7873 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
7874 for the details.
7875
4fac34ce
SM
78762013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7879 Add current dir to the load-path.
7880 (package-generate-autoloads): Don't rely on
7881 autoload-ensure-default-file.
7882
f6bfc063
RT
78832013-04-26 Reuben Thomas <rrt@sc3d.org>
7884
d40ab5cf
BG
7885 * textmodes/remember.el (remember-store-in-files): Document that
7886 the file name format is passed to `format-time-string'.
f6bfc063 7887
e55d3b04
LL
78882013-04-26 Leo Liu <sdl.web@gmail.com>
7889
7890 * progmodes/octave.el (octave-sync-function-file-names): New function.
7891 (octave-mode): Use it in before-save-hook.
7892
e53052d3
SM
78932013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7894
140ef50c
SM
7895 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7896 (bug#14274).
7897
e53052d3
SM
7898 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7899 \n and comment, even if it's not an implicit ; (bug#14218).
7900
af80458d 79012013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
7902
7903 * subr.el (read-number): Once more use `read' rather than
7904 `string-to-number', to trap non-numeric input. (Bug#14254)
7905
af80458d 79062013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
7907
7908 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7909 Use `syntax-multiline' text property consistently instead of
8a621d53 7910 `font-lock-multiline'. (Bug#14237)
70203c2e 7911
e6ea1f6c
GM
79122013-04-26 Glenn Morris <rgm@gnu.org>
7913
7914 * emacs-lisp/shadow.el (list-load-path-shadows):
7915 No longer necessary to check for duplicate simple.el, since
7916 2012-07-07 change to init_lread to not include installation lisp
7917 directories in load-path when running uninstalled. (Bug#14270)
7918
070ccca4
LL
79192013-04-26 Leo Liu <sdl.web@gmail.com>
7920
7921 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7922 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 7923 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
7924 octave-in-string-or-comment-p.
7925 (octave-in-comment-p, octave-in-string-p)
7926 (octave-in-string-or-comment-p): Replace defsubst with defun.
7927
9d1c5fb6
PE
79282013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7929
7930 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7931
c034abda
BG
79322013-04-25 Bastien Guerry <bzg@gnu.org>
7933
7934 * textmodes/remember.el (remember-data-directory)
7935 (remember-directory-file-name-format): Fix custom types.
7936
584ea277
LL
79372013-04-25 Leo Liu <sdl.web@gmail.com>
7938
e53052d3
SM
7939 * progmodes/octave.el (octave-completion-at-point-function):
7940 Make use of inferior octave process.
584ea277
LL
7941 (octave-initialize-completions): Remove.
7942 (inferior-octave-completion-table): New function.
7943 (inferior-octave-completion-at-point): Use it.
7944 (octave-completion-alist): Remove.
7945
1693b06a
SM
79462013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7949 (opascal-mode-syntax-table): New var.
7950 (opascal-literal-kind, opascal-is-literal-end)
7951 (opascal-literal-token-at): Rewrite.
7952 (opascal--literal-start-re, opascal-font-lock-keywords)
7953 (opascal--syntax-propertize): New constants.
7954 (opascal-font-lock-defaults): Adjust.
7955 (opascal-mode): Use them. Set comment-<foo> variables as well.
7956 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7957 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7958 (delphi-other-face, opascal-other-face): Remove face variables.
7959 (opascal-save-state): Remove macro.
7960 (opascal-fontifying-progress-step): Remove constant.
7961 (opascal--ignore-changes): Remove var.
7962 (opascal-set-token-property, opascal-parse-next-literal)
7963 (opascal-is-stable-literal, opascal-complete-literal)
7964 (opascal-is-literal-start, opascal-face-of)
7965 (opascal-parse-region, opascal-parse-region-until-stable)
7966 (opascal-fontify-region, opascal-after-change)
7967 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7968 (opascal-debug-parse-region, opascal-debug-parse-window)
7969 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7970 (opascal-debug-fontify-buffer): Remove.
7971 (opascal-debug-mode-map): Adjust accordingly.
7972
be64c05d
LL
79732013-04-25 Leo Liu <sdl.web@gmail.com>
7974
7975 Merge octave-mod.el and octave-inf.el into octave.el with some
7976 cleanups.
7977 * progmodes/octave.el: New file renamed from octave-mod.el.
7978 * progmodes/octave-inf.el: Merged into octave.el.
7979 * progmodes/octave-mod.el: Renamed to octave.el.
7980
d79d37bd
TH
79812013-04-25 Tassilo Horn <tsdh@gnu.org>
7982
7983 * textmodes/reftex-vars.el
7984 (reftex-label-ignored-macros-and-environments): New defcustom.
7985
7986 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7987
ced3fc5d
SM
79882013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7991 (smie-indent-keyword): Improve the check to ensure that the next
7992 comment is really on the same line.
7993 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7994
7995 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7996 semi-colons if the line is not otherwise empty (bug#14218).
7997
1c141dad
GM
79982013-04-25 Glenn Morris <rgm@gnu.org>
7999
8000 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8001
5058062a
SM
80022013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8003
8004 * progmodes/opascal.el (opascal-set-token-property): Rename from
8005 opascal-set-text-properties and only set `token' (bug#14134).
8006 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8007 (opascal-literal-text-properties): Remove.
8008 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8009 Adjust callers.
8010
5db9dace 80112013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
8012
8013 * textmodes/remember.el (remember-handler-functions): Add an
8014 option for a new handler `remember-store-in-files'.
8015 (remember-data-directory, remember-directory-file-name-format):
8016 New options.
8017 (remember-store-in-files): New function to store remember notes
8018 as separate files within a directory.
8019
4391916c
MH
80202013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8021
8022 * progmodes/compile.el (compilation-next-error-function):
8023 Pass "formats" to compilation-find-file (bug#11777).
8024
bb7cdf58
GM
80252013-04-24 Glenn Morris <rgm@gnu.org>
8026
3b8fe752 8027 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
8028 * vc/vc-hg.el (vc-hg-print-log):
8029 * vc/vc-svn.el (vc-svn-print-log):
8030 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8031
bb7cdf58
GM
8032 * vc/vc-bzr.el (vc-bzr-print-log):
8033 * vc/vc-cvs.el (vc-cvs-print-log):
8034 * vc/vc-git.el (vc-git-print-log):
8035 * vc/vc-hg.el (vc-hg-print-log):
8036 * vc/vc-mtn.el (vc-mtn-print-log):
8037 * vc/vc-rcs.el (vc-rcs-print-log):
8038 * vc/vc-sccs.el (vc-sccs-print-log):
8039 * vc/vc-svn.el (vc-svn-print-log):
8040 * vc/vc.el (vc-print-log-internal): Doc fixes.
8041
b46a056e
GM
80422013-04-23 Glenn Morris <rgm@gnu.org>
8043
8044 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8045 Remove venerable code attempting to avoid substitute-command-keys.
8046
0aecf718
TH
80472013-04-23 Tassilo Horn <tsdh@gnu.org>
8048
4391916c
MH
8049 * textmodes/reftex-vars.el (reftex-label-regexps):
8050 Call `reftex-compile-variables' after changes to this variable.
0aecf718 8051
117f94cf
SM
80522013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8053
4391916c 8054 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
8055 Use lexical-binding.
8056 (jit-lock-force-redisplay): Use markers, check buffer's continued
8057 existence and beware narrowed buffers.
8058 (jit-lock-fontify-now): Adjust call accordingly.
8059
1d829c64
SM
80602013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8063 to avoid misleading the user.
8064
72d548a9
LL
80652013-04-22 Leo Liu <sdl.web@gmail.com>
8066
8067 * info-look.el: Prefer latex2e.info. (Bug#14240)
8068
d0853629
MA
80692013-04-22 Michael Albinus <michael.albinus@gmx.de>
8070
8071 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8072
8073 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 8074 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
8075 (tramp-set-completion-function, tramp-parse-putty):
8076 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8077 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8078 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8079 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8080 (tramp-call-local-coding-command): Use `tramp-call-process'
8081 instead of `tramp-compat-call-process'.
8082
8083 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8084 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8085 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 8086 (tramp-find-inline-compress): Improve traces.
d0853629
MA
8087 (tramp-maybe-send-script): Check for Perl binary.
8088 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8089
38cc0210
DU
80902013-04-22 Daiki Ueno <ueno@gnu.org>
8091
8092 * epg.el (epg-context-pinentry-mode): New function.
8093 (epg-context-set-pinentry-mode): New function.
8094 (epg--start): Pass --pinentry-mode option to gpg command.
8095
cc641ee1
XF
80962013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8097
02d844b5 8098 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 8099 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 8100 `completion-at-point'. (Bug#13774)
5d4e5c31 8101
cc641ee1
XF
8102 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8103 default key binding for `describe-distribution' has been moved to
8104 `C-h C-o'. (Bug#13970)
8105
1b42ee43
GM
81062013-04-21 Glenn Morris <rgm@gnu.org>
8107
8108 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8109 Add doc strings.
8110 (vc-print-log): Clarify interactive prompt.
8111
a6d63d97
GM
81122013-04-20 Glenn Morris <rgm@gnu.org>
8113
8114 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8115 No longer include timestamp etc information.
8116
d7f5c16f
RW
81172013-04-20 Roland Winkler <winkler@gnu.org>
8118
8119 * faces.el (read-face-name): Bug fix, return just one face if arg
8120 multiple is nil. (Bug#14209)
8121
bcd7a0a4
SM
81222013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8125 (remove-function): Autoload.
8126
8127 * comint.el (comint-redirect-original-filter-function): Remove.
8128 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
8129 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8130 (vc-cvs-annotate-command):
bcd7a0a4
SM
8131 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8132 * progmodes/prolog.el (prolog-consult-compile):
8133 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8134 Use add/remove-function instead.
8135 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8136 (gud-tooltip-process-output, gud-tooltip-tips):
8137 Use add/remove-function instead.
8138 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8139 (scheme-interaction-mode, exit-scheme-interaction-mode):
8140 Use add/remove-function instead.
8141
8142 * vc/vc-dispatcher.el: Use lexical-binding.
8143 (vc--process-sentinel): Rename from vc-process-sentinel.
8144 Change last arg to be the code to run. Don't use vc-previous-sentinel
8145 and vc-sentinel-commands any more.
8146 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8147 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8148
e36b2d20 81492013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 8150
bcd7a0a4 8151 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 8152 Handle function names with a single character. (Bug#14111)
4d3268ba 8153
781b4af6 81542013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
8155
8156 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8157 for subroutines defined in an eval (bug#14182).
8158
7d688336
TV
81592013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8160
8161 * bookmark.el (bookmark-completing-read): Improve handling of empty
8162 string (bug#14176).
8163
31dcede0
SM
81642013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8167
adc31213
FEG
81682013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8169
8170 New faster Imenu implementation (bug#14058).
8171 * progmodes/python.el:
8172 (python-imenu-prev-index-position):
8173 (python-imenu-format-item-label-function)
8174 (python-imenu-format-parent-item-label-function)
8175 (python-imenu-format-parent-item-jump-label-function):
8176 New vars.
8177 (python-imenu-format-item-label)
8178 (python-imenu-format-parent-item-label)
8179 (python-imenu-format-parent-item-jump-label)
8180 (python-imenu--put-parent, python-imenu--build-tree)
8181 (python-imenu-create-index, python-imenu-create-flat-index)
8182 (python-util-popn): New functions.
8183 (python-mode): Set imenu-create-index-function to
8184 python-imenu-create-index.
8185
cdca8255
SM
81862013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * winner.el (winner-active-region): Use region-active-p, activate-mark
8189 and deactivate-mark (bug#14225).
8190
8191 * simple.el (deactivate-mark): Don't inline it.
8192
beb42340
MA
81932013-04-18 Michael Albinus <michael.albinus@gmx.de>
8194
8195 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8196
fc7f4d7e
TH
81972013-04-18 Tassilo Horn <tsdh@gnu.org>
8198
8199 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8200 file extensions from the archive-mode entry in order to prefer
8201 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8202
29f47822
LL
82032013-04-18 Leo Liu <sdl.web@gmail.com>
8204
8205 * bindings.el (help-event-list): Add ?\?.
8206
d36ed1c8
SM
82072013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * subr.el (with-wrapper-hook): Declare obsolete.
8210 * simple.el (filter-buffer-substring-function): New hook.
8211 (filter-buffer-substring): Use it.
8212 (filter-buffer-substring-functions): Mark obsolete.
8213 * minibuffer.el (completion-in-region-function): New hook.
8214 (completion-in-region): Use it.
8215 (completion-in-region-functions): Mark obsolete.
8216 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8217 * abbrev.el (abbrev-expand-function): New hook.
8218 (expand-abbrev): Use it.
8219 (abbrev-expand-functions): Mark obsolete.
8220 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8221 and :filter-return.
8222
04754d36
FEG
82232013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8224
8225 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8226 and do not care about match data.
8227
dd8791e9
SM
82282013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8229
8230 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8231 completion tables when completing error conditions and
8232 `declare' arguments.
8233 (lisp-complete-symbol, field-complete): Mark as obsolete.
8234 (check-parens): Unmatched parens are user errors.
8235 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8236
ffe54a13
AM
82372013-04-17 Michal Nazarewicz <mina86@mina86.com>
8238
dd8791e9
SM
8239 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8240 command changed buffer (ie. `flyspell-pre-buffer' is not current
8241 buffer), which prevents making decisions based on invalid value of
8242 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8243 cause an error when `flyspell-pre-point' was nil after switching
8244 buffers.
8245 (flyspell-post-command-hook): No longer needs to change buffers when
8246 checking pre-word. While at it remove unnecessary progn.
ffe54a13 8247
ec7e39f2
AM
82482013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8249
8250 * textmodes/ispell.el (ispell-add-per-file-word-list):
8251 Fix `flyspell-correct-word-before-point' error when accepting
8252 words and `coment-padding' is an integer by using
8253 `comment-normalize-vars' (Bug #14214).
8254
083850a6
FEG
82552013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8256
8257 New defun movement commands.
8258 * progmodes/python.el (python-nav--syntactically)
8259 (python-nav--forward-defun, python-nav-backward-defun)
8260 (python-nav-forward-defun): New functions.
8261
619ed6e1
FEG
82622013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8263
8264 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8265 (python-syntax-context): Use named compiler-macro for backwards
8266 compatibility with Emacs 24.x.
8267
7a1beb6c
LL
82682013-04-17 Leo Liu <sdl.web@gmail.com>
8269
8270 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8271 octave-hide-process-buffer.
8272
2d3fa3e5
SM
82732013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8276 (bug#14216).
8277
7ce5be54
JPG
82782013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8279
8280 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8281 Fix adjustment of offset when receiving incomplete responses from GDB
8282 (bug#14129).
8283
351edece
SM
82842013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8287 python-mode-abbrev-table.
8288 (python-skeleton-define): Adjust accordingly.
8289 (python-mode-abbrev-table): New table that inherits from it so that
8290 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8291
8292 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8293 (abbrev-symbol): Use it.
8294 (abbrev--before-point): Use it since we already handle inheritance.
8295
613f9481
LL
82962013-04-16 Leo Liu <sdl.web@gmail.com>
8297
8298 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8299 binding to info-lookup-symbol.
8300
51646b62
JB
83012013-04-16 Juanma Barranquero <lekktu@gmail.com>
8302
8303 * minibuffer.el (completion--twq-all):
8304 * term/ns-win.el (ns-initialize-window-system):
8305 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8306
efb3f01d
SM
83072013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8308
36c0a301
SM
8309 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8310 global bindings.
8311
efb3f01d
SM
8312 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8313
fb549d64
DG
83142013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8315
8316 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8317 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8318 to nil.
8319 (ruby-end-of-defun): Remove the unused arg, change the docstring
8320 to reflect that this function is only used as the value of
8321 `end-of-defun-function'.
8322 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8323 to reflect an earlier change that beginning/end-of-defun functions
8324 jump between methods in a class definition, as well as top-level
8325 functions.
8326
21e8fe2f
SM
83272013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8328
8329 * minibuffer.el (minibuffer-complete): Don't just scroll
8330 a *Completions* that's been iconified.
8331 (minibuffer-force-complete): Make sure repetitions do cycle when going
8332 through completion-in-region -> minibuffer-complete.
8333
20e527d0
AM
83342013-04-15 Alan Mackenzie <acm@muc.de>
8335
8336 Correct the placement of c-cpp-delimiters when there're #s not at
8337 col 0.
8338
8339 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8340 place a submatch around the #.
21e8fe2f
SM
8341 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8342 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
8343 on the #, not BOL.
8344
dabefae5
SM
83452013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8346
8347 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8348 (advice--member-p): New arg `name'.
8349 (advice--add-function, advice-member-p): Use it (bug#14202).
8350
85c9ab64
AM
83512013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8352
8353 Reformulate java imenu-generic-expression.
8354 The old expression contained ill formed regexps.
8355
8356 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8357 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8358 (cc-imenu-java-method-arg-regexp): New defconsts.
8359 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 8360 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
8361 handling of spaces in the regexp.
8362
0f821d99
AM
83632013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8364
8365 * textmodes/ispell.el (ispell-command-loop): Remove
8366 flyspell highlight of a word when ispell accepts it (bug #14178).
8367
eb922adf
MA
83682013-04-15 Michael Albinus <michael.albinus@gmx.de>
8369
8370 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8371 uses code from the previous `ange-ftp-run-real-handler'.
8372 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8373 only in case that function exist. This is needed for proper
8374 unloading of Tramp.
8375
4d9a0979
TH
83762013-04-15 Tassilo Horn <tsdh@gnu.org>
8377
8378 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8379
8380 * textmodes/reftex.el (reftex-compile-variables): Use it.
8381
a829b0dc
SM
83822013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8383
91e8293c
SM
8384 * files.el (normal-mode): Only use default major-mode if no other mode
8385 was specified.
8386
830aed4d
SM
8387 * emacs-lisp/trace.el (trace-values): New function.
8388
a829b0dc
SM
8389 * files.el: Allow : in local variables (bug#14089).
8390 (hack-local-variable-regexp): New var.
8391 (hack-local-variables-prop-line, hack-local-variables): Use it.
8392
7ae9f0fb
RW
83932013-04-13 Roland Winkler <winkler@gnu.org>
8394
8395 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8396 data before it gets modified by bibtex-beginning-of-entry.
8397
6646e848
RW
83982013-04-13 Roland Winkler <winkler@gnu.org>
8399
8400 * textmodes/bibtex.el (bibtex-url): Doc fix.
8401
84022013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
8403
8404 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8405 does not visit a BibTeX file, exclude it from the list of buffers
8406 returned by bibtex-initialize.
8407
0aa3616e
SB
84082013-04-13 Stephen Berman <stephen.berman@gmx.net>
8409
8410 * window.el (split-window): Remove interactive form, since as a
8411 command this function is a special case of split-window-below.
8412 Correct doc string.
8413
011cddd6
RW
84142013-04-12 Roland Winkler <winkler@gnu.org>
8415
8416 * faces.el (read-face-name): Do not override value of arg default.
8417 Allow single faces and strings as default values. Remove those
8418 elements from return value that are not faces.
8419 (describe-face): Simplify.
8420 (face-at-point): New optional args thing and multiple so that this
8421 function can provide the same functionality previously provided by
8422 read-face-name.
8423 (make-face-bold, make-face-unbold, make-face-italic)
8424 (make-face-unitalic, make-face-bold-italic, invert-face)
8425 (modify-face, read-face-and-attribute): Use face-at-point.
8426
8427 * cus-edit.el (customize-face, customize-face-other-window)
8428 * cus-theme.el (custom-theme-add-face)
8429 * face-remap.el (buffer-face-set)
8430 * facemenu.el (facemenu-set-face): Use face-at-point.
8431
f24e0036
MA
84322013-04-12 Michael Albinus <michael.albinus@gmx.de>
8433
8434 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8435
da3cda2d
TH
84362013-04-10 Tassilo Horn <tsdh@gnu.org>
8437
8438 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8439 off leading { and trailing } from field values.
8440
15e54145
SM
84412013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8442
78ce603d
SM
8443 * emacs-lisp/timer.el (timer--check): New function.
8444 (timer--time, timer-set-function, timer-event-handler): Use it.
8445 (timer-set-idle-time): Simplify.
8446 (timer--activate): CSE.
8447 (timer-event-handler): Give more info in error message.
8448 (internal-timer-start-idle): New function, moved from C.
8449
15e54145
SM
8450 * mpc.el (mpc-proc): Add `restart' argument.
8451 (mpc-proc-cmd): Use it.
8452 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8453 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8454 less often.
8455
7144c627
MY
84562013-04-10 Masatake YAMATO <yamato@redhat.com>
8457
8458 * progmodes/sh-script.el: Implement `sh-mode' own
8459 `add-log-current-defun-function' (bug#14112).
8460 (sh-current-defun-name): New function.
8461 (sh-mode): Use the function.
8462
b39792eb
BG
84632013-04-09 Bastien Guerry <bzg@gnu.org>
8464
8465 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8466
8acdeb71
SM
84672013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8468
6fcdab68
SM
8469 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8470
8acdeb71
SM
8471 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8472 timer (bug#14156).
8473
e3e7b504
NF
84742013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8475
8476 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8477 declaration.
8478
201bb296
LL
84792013-04-07 Leo Liu <sdl.web@gmail.com>
8480
8481 * pcmpl-x.el: New file.
8482
ebb19708
DA
84832013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8484
8485 Do not set x-display-name until X connection is established.
8486 This is needed to prevent from weird situation described at
8487 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8488 * frame.el (make-frame): Set x-display-name after call to
8489 window system initialization function, not before.
8490 * term/x-win.el (x-initialize-window-system): Add optional
8491 display argument and use it.
8492 * term/w32-win.el (w32-initialize-window-system):
8493 * term/ns-win.el (ns-initialize-window-system):
8494 * term/pc-win.el (msdos-initialize-window-system):
8495 Add compatible optional display argument.
8496
33bb237a
EZ
84972013-04-06 Eli Zaretskii <eliz@gnu.org>
8498
8499 * files.el (normal-backup-enable-predicate): On MS-Windows and
8500 MS-DOS compare truenames of temporary-file-directory and of the
8501 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8502 don't fail comparison by compare-strings. Also, compare file
8503 names case-insensitively on MS-Windows and MS-DOS.
8504
134abf1f
SM
85052013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8506
8507 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8508 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8509
d695cb94
DG
85102013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8511
e3e7b504
NF
8512 * whitespace.el (whitespace-color-on, whitespace-color-off):
8513 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 8514
f4ad7ea1 85152013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
8516
8517 * ispell.el (ispell-set-spellchecker-params):
8518 Really set `ispell-args' for all equivs.
8519
632556e4
SM
85202013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * ido.el (ido-completions): Use extra elements of ido-decorations
8523 (bug#14143).
8524 (ido-decorations): Update docstring.
8525
2a417372
MA
85262013-04-05 Michael Albinus <michael.albinus@gmx.de>
8527
8528 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8529 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8530 nil during initialization, in order not to miss changes since the
8531 file was opened. (Bug#14140)
8532
fc164b0c
LL
85332013-04-05 Leo Liu <sdl.web@gmail.com>
8534
8535 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8536
0ccecc08
JB
85372013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8538
8539 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8540
51af1aa2
GM
85412013-04-04 Glenn Morris <rgm@gnu.org>
8542
8543 * electric.el (electric-pair-inhibit-predicate): Add :version.
8544
b208ebc6
SM
85452013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8548 when a package is required several times (bug#14082).
8549
f3d3eaf0
RW
85502013-04-04 Roland Winkler <winkler@gnu.org>
8551
8552 * faces.el (read-face-name): Behave as promised by the docstring.
8553 Assume that arg default is a list of faces.
8554 (describe-face): Call read-face-name with list of default faces.
8555
2575da50
TV
85562013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8557
8558 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8559 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8560 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8561 the header.
8562 (bookmark-exit-hook-internal): Save even if list is empty.
8563
397703b4
YH
85642013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8565
8566 * emacs-lisp/package.el (package-pinned-packages): New var.
8567 (package--add-to-archive-contents): Obey it (bug#14118).
8568
691e26ae
AM
85692013-04-03 Alan Mackenzie <acm@muc.de>
8570
8a621d53
JB
8571 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8572 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
8573
8574 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8575 parameter `not-in-delimiter'. Handle being inside comment opener.
8576 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8577 character in case we're typing a '*' after a '/'.
8578 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8579 instead by passing the parameter to c-state-pp-to-literal.
8580
8581 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8582 for elt. 7 of a parse state.
8583
4b725a70
PE
85842013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8585
8586 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8587 * international/latin1-disp.el, international/mule-util.el:
8588 * language/cyril-util.el, language/european.el, language/ind-util.el:
8589 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8590 * language/tibetan.el, language/viet-util.el:
8591 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8592
15c579f0
SM
85932013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8594
8595 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8596 (electric-pair-post-self-insert-function): Use it.
8597 (electric-pair-default-inhibit): New function, extracted from
8598 electric-pair-post-self-insert-function.
8599
a77e2924
RW
86002013-03-31 Roland Winkler <winkler@gnu.org>
8601
8602 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8603
2bd8a4a8
SM
86042013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8605
8606 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8607
8d3655be 86082013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
8609
8610 Un-indent after "pass" and "return" statements (Bug#13888)
8611 * progmodes/python.el (python-indent-block-enders): New var.
8612 (python-indent-calculate-indentation): Use it.
8613
8d3655be 86142013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
8615
8616 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8617 defun. Defining it as defalias could introduce too eager
8618 byte-compiler optimization. (Bug#14030)
8619
8d3655be 86202013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
8621
8622 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8623
0b1619da
LL
86242013-03-30 Leo Liu <sdl.web@gmail.com>
8625
8626 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8627 (kmacro-execute-from-register): Pass the keyboard macro to
8628 kmacro-call-macro or repeating won't work correctly.
8629
0b938190
TZ
86302013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8631
8632 * progmodes/subword.el: Back to using `forward-symbol'.
8633
8634 * subr.el (forward-whitespace, forward-symbol)
8635 (forward-same-syntax): Move from thingatpt.el.
8636
35710234
LL
86372013-03-29 Leo Liu <sdl.web@gmail.com>
8638
8639 * kmacro.el (kmacro-to-register): New command.
8640 (kmacro-execute-from-register): New function.
8641 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8642
efc0bb73
SM
86432013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * mpc.el: Use defvar-local and setq-local.
8646 (mpc--proc-connect): Connection failures are not bugs.
8647 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8648 (mpc-volume-map): Bind to the up-events.
8649
75a2f981
TZ
86502013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8651
8652 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8653 instead of `forward-symbol'.
8654
17c781d1
SM
86552013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8658 (edebug--recursive-edit): Use it.
8659 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8660 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8661
f67bfbcf
LL
86622013-03-28 Leo Liu <sdl.web@gmail.com>
8663
8664 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8665
b59f639d
EZ
86662013-03-27 Eli Zaretskii <eliz@gnu.org>
8667
8668 * facemenu.el (list-colors-callback): New defvar.
8669 (list-colors-redisplay): New function.
8670 (list-colors-display): Install list-colors-redisplay as the
8671 revert-buffer-function. (Bug#14063)
8672
f557c1b1
SM
86732013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8674
b1da2957
SM
8675 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8676 and suffixes don't overlap (bug#14061).
8677
f557c1b1
SM
8678 * case-table.el: Use lexical-binding.
8679 (case-table-get-table): New function.
8680 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8681
002668e1
TZ
86822013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8683
8684 * progmodes/subword.el: Add `superword-mode' to do word motion
8685 over symbol_words (parallels and leverages `subword-mode' which
8686 does word motion inside MixedCaseWords).
8687
73572c72
AG
86882013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8689
78b8f320 8690 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 8691 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 8692
69b2c07e
SM
86932013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8694
8695 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8696 Change return value to be a sexp. Delay `get-buffer' to after
8697 restoring the desktop (bug#13951).
8698
08bb5ee2
LL
86992013-03-26 Leo Liu <sdl.web@gmail.com>
8700
8701 * register.el: Move semantic tag handling back to
8702 cedet/semantic/senator.el. (Bug#14052)
8703
8d4c974e
SM
87042013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8707 into the prompt either (bug#13963).
8708
b234d92c
SM
87092013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8712 part of "(error-foo)".
8713
ddfa3cb4
JL
87142013-03-24 Juri Linkov <juri@jurta.org>
8715
8716 * replace.el (list-matching-lines-prefix-face): New defcustom.
8717 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8718 `occur-engine' if `face-differs-from-default-p' returns t.
8719 (occur-engine): Add `,' inside backquote construct to evaluate
8720 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8721 Pass `prefix-face' to the functions `occur-context-lines' and
8722 `occur-engine-add-prefix'.
8723 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8724 `prefix-face' and propertize the prefix with `prefix-face'.
8725 (Bug#14017)
8726
7b0e2f85
LL
87272013-03-24 Leo Liu <sdl.web@gmail.com>
8728
8729 * nxml/rng-valid.el (rng-validate-while-idle)
8730 (rng-validate-quick-while-idle): Guard against deleted buffer.
8731 (Bug#13999)
8732
8733 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8734 is the last entry in kill-buffer-hook.
8735
8736 * files.el (kill-buffer-hook): Doc fix.
8737
b3082f49
DG
87382013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8739
b234d92c
SM
8740 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8741 Make it safe-local.
bde73d27 8742
b3082f49
DG
8743 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8744
a320a2db
LL
87452013-03-23 Leo Liu <sdl.web@gmail.com>
8746
7e74b0fb
LL
8747 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8748 Remove.
8749
8750 * nxml/rng-valid.el (rng-validate-mode)
8751 (rng-after-change-function, rng-do-some-validation):
8752 * nxml/rng-maint.el (rng-validate-buffer):
8753 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8754 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8755 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8756 (nxml-extend-after-change-region): Use with-silent-modifications.
8757
a320a2db
LL
8758 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8759 timer-idle-list.
8760
8761 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8762 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8763 timer-idle-list. (Bug#13999)
8764
e38e6780
JL
87652013-03-23 Juri Linkov <juri@jurta.org>
8766
8767 * info.el (info-index-match): New face.
8768 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8769 main pattern and add text properties with the new face to matches
8770 in index entries relative to the beginning of the index entry.
8771 (Bug#14015)
8772
e8cc7880
DE
87732013-03-21 Eric Ludlam <zappo@gnu.org>
8774
8775 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8776 Inhibit read only while inserting objects.
8777
9bb0d822
TZ
87782013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8779
8780 * progmodes/cfengine.el: Update docs to mention
8781 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8782 symbol motion. Remove "_" from the word syntax.
8783
aa703640
TZ
87842013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8785
8786 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8787 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8788
afff09d0
JL
87892013-03-20 Juri Linkov <juri@jurta.org>
8790
8791 * info.el (Info-next-reference-or-link)
8792 (Info-prev-reference-or-link): New functions.
8793 (Info-next-reference, Info-prev-reference): Use them.
8794 (Info-try-follow-nearest-node): Handle footnote navigation.
8795 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8796
9a1ff164
SM
87972013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8798
8799 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8800 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8801
2667d15d
PE
88022013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8803
8804 Suppress unnecessary non-ASCII chatter during build process.
8805 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8806 (batch-skkdic-convert): Suppress most of the chatter.
8807 It's not needed so much now that machines are faster,
8808 and its non-ASCII component was confusing; see Dmitry Gutov in
8809 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8810
438b0579
LL
88112013-03-20 Leo Liu <sdl.web@gmail.com>
8812
8813 * ido.el (ido-chop): Fix bug#10994.
8814
c128ab07
DG
88152013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8816
8817 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8818 Remove vars.
9a1ff164
SM
8819 (whitespace-color-on, whitespace-color-off):
8820 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 8821
0e6008c5
SM
88222013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8825 remapping in mode-line.
8826 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8827
627b52b0
DG
88282013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8829
8830 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8831 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
8832 (whitespace-font-lock-keywords): Change description.
8833 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8834 the constructed keywords instead.
8835 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 8836
50c3a20b
LL
88372013-03-19 Leo Liu <sdl.web@gmail.com>
8838
8839 * progmodes/compile.el (compilation-display-error): New command.
8840 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8841 C-o. (Bug#13992)
8842
2aa2157b
PE
88432013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8844
8845 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8846
e477dbfa
JD
88472013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8848
8849 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8850
64ab82d1
MA
88512013-03-18 Michael Albinus <michael.albinus@gmx.de>
8852
8853 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8854
8855 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8856 * net/tramp-gvfs.el (top):
8857 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8858 (tramp-handle-shell-command): Use it.
8859 (tramp-dissect-file-name): Raise an error when hostname is a
8860 method name, and neither method nor user is specified.
8861
8862 * net/trampver.el: Update release number.
8863
33cef733
LL
88642013-03-18 Leo Liu <sdl.web@gmail.com>
8865
8866 Make sure eldoc can be turned off properly.
8867 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8868 eldoc-mode.
8869 (eldoc-display-message-p): Revert last change.
8870 (eldoc-display-message-no-interference-p)
8871 (eldoc-print-current-symbol-info): Tweak.
8872
2167b7b2
TH
88732013-03-18 Tassilo Horn <tsdh@gnu.org>
8874
8875 * doc-view.el (doc-view-new-window-function): Check the new window
8876 overlay's display property instead the char property of the
8877 buffer's first char. Use `with-selected-window' instead of
8878 `save-window-excursion' with `select-window'.
8879 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 8880 display property instead the char property of the buffer's first char.
2167b7b2 8881
982efbcd
PE
88822013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8883
8884 Automate the build of ja-dic.el (Bug#13984).
8885 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8886 from the input, rather than assume that it's been done for us by the
8887 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8888 the current date into a ja-dic.el comment, as that complicates
8889 regression testing.
8890
2fcc7665
SM
88912013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * whitespace.el: Fix double evaluation.
8894 (whitespace-space, whitespace-hspace, whitespace-tab)
8895 (whitespace-newline, whitespace-trailing, whitespace-line)
8896 (whitespace-space-before-tab, whitespace-indentation)
8897 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8898 obsolete defvars.
8899 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8900 (whitespace-color-on): Use a single font-lock-add-keywords call.
8901 Fix double-evaluation of face variables.
8902
67c0a6e6
MA
89032013-03-17 Michael Albinus <michael.albinus@gmx.de>
8904
2fcc7665
SM
8905 * net/tramp-adb.el (tramp-adb-parse-device-names):
8906 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 8907 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 8908
69489f1d
LL
89092013-03-17 Leo Liu <sdl.web@gmail.com>
8910
8911 Extend eldoc to display info in the mode-line. (Bug#13978)
8912 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8913 (eldoc-mode-line-string): New variable.
8914 (eldoc-minibuffer-message): New function.
8915 (eldoc-message-function): New variable.
8916 (eldoc-message): Use it.
8917 (eldoc-display-message-p)
2fcc7665
SM
8918 (eldoc-display-message-no-interference-p):
8919 Support eldoc-post-insert-mode.
69489f1d
LL
8920
8921 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8922 (eval-expression): Run it.
8923
9c44569e
RW
89242013-03-17 Roland Winkler <winkler@gnu.org>
8925
8926 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8927 strings in the list of return values.
8928
327f1f6f
JB
89292013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8930
8931 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8932 radix before checking for HMS forms.
8933
67ed8fcd
LL
89342013-03-16 Leo Liu <sdl.web@gmail.com>
8935
8936 * progmodes/scheme.el: Add indentation and font-locking for λ.
8937 (Bug#13975)
8938
78be8b64 89392013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
8940
8941 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8942 token before point (bug#13942).
8943
78be8b64 89442013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 8945
95b43468 8946 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 8947
98e775e6
EZ
89482013-03-16 Eli Zaretskii <eliz@gnu.org>
8949
8950 * startup.el (command-line-normalize-file-name): Fix handling of
8951 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8952 <xfq.free@gmail.com> in
8953 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8954
2edd6029
MA
89552013-03-15 Michael Albinus <michael.albinus@gmx.de>
8956
8957 Sync with Tramp 2.2.7.
8958
8959 * net/trampver.el: Update release number.
8960
d35f5864
TH
89612013-03-14 Tassilo Horn <tsdh@gnu.org>
8962
e903c210 8963 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
8964 (doc-view-insert-image): Don't modify overlay associated to
8965 non-live windows, and implement horizontal centering of image in
8966 case it's smaller than the window.
8967 (doc-view-new-window-function): Force redisplay of new windows on
8968 doc-view buffers.
d35f5864 8969
1c4a85ed
KF
89702013-03-13 Karl Fogel <kfogel@red-bean.com>
8971
8972 * saveplace.el (save-place-alist-to-file): Don't sort
8973 `save-place-alist', just pretty-print it (bug#13882).
8974
85b66a21
MA
89752013-03-13 Michael Albinus <michael.albinus@gmx.de>
8976
a020afb9
JB
8977 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8978 Check whether `default-file-name-coding-system' is bound.
8979 It isn't in XEmacs.
85b66a21 8980
175600da
SM
89812013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8982
e7f7cb1a
SM
8983 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8984 backquotes for `obsolete' (bug#13929).
8985
175600da
SM
8986 * international/mule.el (find-auto-coding): Include file name in
8987 obsolescence warning (bug#13922).
8988
ca68a22e
TZ
89892013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8990
8991 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8992 for CFEngine 3-specific indentation.
8993 (cfengine3-indent-line): Use it. Fix up category regex.
8994 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8995
940e5099
SM
89962013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8997
8998 * type-break.el (type-break-file-name):
8999 * textmodes/remember.el (remember-data-file):
9000 * strokes.el (strokes-file):
9001 * shadowfile.el (shadow-initialize):
9002 * saveplace.el (save-place-file):
9003 * ps-bdf.el (bdf-cache-file):
9004 * progmodes/idlwave.el (idlwave-config-directory):
9005 * net/quickurl.el (quickurl-url-file):
9006 * international/kkc.el (kkc-init-file-name):
9007 * ido.el (ido-save-directory-list-file):
9008 * emulation/viper.el (viper-custom-file-name):
9009 * emulation/vip.el (vip-startup-file):
9010 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9011 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9012
cc725808
PE
90132013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9014
9015 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9016 * language/thai-word.el: Switch to UTF-8.
9017
a020afb9 9018See ChangeLog.16 for earlier changes.
e3d51b27
MR
9019
9020;; Local Variables:
9021;; coding: utf-8
e3d51b27
MR
9022;; End:
9023
ab422c4d 9024 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
9025
9026 This file is part of GNU Emacs.
9027
9028 GNU Emacs is free software: you can redistribute it and/or modify
9029 it under the terms of the GNU General Public License as published by
9030 the Free Software Foundation, either version 3 of the License, or
9031 (at your option) any later version.
9032
9033 GNU Emacs is distributed in the hope that it will be useful,
9034 but WITHOUT ANY WARRANTY; without even the implied warranty of
9035 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9036 GNU General Public License for more details.
9037
9038 You should have received a copy of the GNU General Public License
9039 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.