* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
[bpt/emacs.git] / lisp / ChangeLog
1 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4 :before ";".
5
6 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7
8 * progmodes/compile.el (compilation-directory-matcher)
9 (compilation-page-delimiter):
10 Support GNU Make-4.0 directory quoting. (Bug#15678)
11
12 2013-10-23 Leo Liu <sdl.web@gmail.com>
13
14 * ido.el (ido-tidy): Handle read-only text.
15
16 2013-10-23 Glenn Morris <rgm@gnu.org>
17
18 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
19 (emacs, compile, compile-always):
20 Quote entities that might contain whitespace.
21 (custom-deps, finder-data, autoloads): Use abs_lisp.
22 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
24 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
25
26 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
27
28 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
29 Use `following-char'.
30
31 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
34 * progmodes/ruby-mode.el (ruby-smie-rules):
35 Remove corresponding workaround. Fix indentation rule of ";" so it
36 also applies when ";" is the parent.
37
38 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
39
40 * frame.el (display-screens, display-pixel-height)
41 (display-pixel-width, display-mm-width, display-backing-store)
42 (display-save-under, display-planes, display-color-cells)
43 (display-visual-class, display-monitor-attributes-list):
44 Mention the optional ‘display’ argument in doc strings.
45
46 2013-10-22 Michael Gauland <mikelygee@amuri.net>
47
48 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
49 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
50
51 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
52
53 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
54 TODO. Add "." after " @ ".
55 (ruby-smie--at-dot-call): New function. Checks if point at method
56 call with explicit target.
57 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
58 to the method name tokens when it precedes them.
59 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
60 (ruby-smie-rules): Add rule for indentation before and after "."
61 token.
62
63 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * textmodes/remember.el (remember-diary-extract-entries):
66 Avoid add-to-list.
67
68 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
69 an instruction.
70
71 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
72
73 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
74 (ruby-smie--implicit-semi-p): Add new operator chars.
75
76 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
77 `smie-down-list'.
78 (ruby-smie--args-separator-p): Check that there's no newline
79 between method call and its arguments.
80
81 2013-10-20 Alan Mackenzie <acm@muc.de>
82
83 Allow comma separated lists after Java "implements".
84
85 * progmodes/cc-engine.el (c-backward-over-enum-header):
86 Parse commas.
87 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
88 from a "disallowed" list in enum fontification.
89
90 2013-10-20 Johan Bockgård <bojohan@gnu.org>
91
92 * startup.el (default-frame-background-mode): Remove unused defvar.
93
94 * progmodes/verilog-mode.el (verilog-mode): Don't set
95 comment-indent-function globally.
96
97 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
98
99 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
100 Move Info menu item creation to ns-win.el.
101
102 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
103 in menu bar.
104
105 * menu-bar.el: Move GNUStep specific menus...
106
107 * term/ns-win.el (ns-initialize-window-system): ... to here.
108
109 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * simple.el (newline): Only run post-self-insert-hook when
112 called interactively.
113
114 2013-10-19 Johan Bockgård <bojohan@gnu.org>
115
116 * icomplete.el (icomplete-with-completion-tables): Add :version.
117
118 2013-10-19 Alan Mackenzie <acm@muc.de>
119
120 Fix fontification bugs with constructors and const.
121
122 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
123 CASE 2) Remove the check for the absence of a suffix construct
124 after a function declaration with only types (no identifiers) in
125 the parentheses. Also, accept a function declaration with just a
126 type inside the parentheses, if this type can be positively
127 recognised as such, or if a prefix keyword like "explicit" nails
128 down the construct as a declaration.
129
130 2013-10-19 Eli Zaretskii <eliz@gnu.org>
131
132 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
133 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
134 the problem whereby selecting a menu item that leads to a
135 minibuffer prompt moves the cursor out of the minibuffer window,
136 making it hard to type at the prompt. Suggested by Stefan Monnier
137 <monnier@iro.umontreal.ca>.
138
139 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
140
141 * menu-bar.el: Don't make Services menu.
142
143 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
144
145 * ffap.el: Handle "/usr/include/c++/<version>" directories.
146 (ffap-alist): Use ffap-c++-mode for c++-mode.
147 (ffap-c++-path): New variable.
148 (ffap-c++-mode): New function.
149
150 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
151
152 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
153
154 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
155
156 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
157 introduced on 2013-09-08, which results in an infinite loop
158 requesting a password.
159
160 2013-10-18 Glenn Morris <rgm@gnu.org>
161
162 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
163
164 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
165
166 Sync with upstream verilog-mode revision 1a6ecec7.
167 * progmodes/verilog-mode.el (verilog-mode-version): Update.
168 (verilog-mode-release-date): Remove.
169 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
170 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
171 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
172 (verilog-auto-tieoff-ignore-regexp)
173 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
174 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
175 (verilog-signals-with, verilog-dir-cache-preserving)
176 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
177 Doc fixes.
178 (verilog-case-fold): New option, to control case folding in
179 regexp searches, bug597.
180 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
181 (verilog-string-match-fold, verilog-in-paren-count)
182 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
183 (verilog-at-close-struct-p): New functions.
184 (verilog-beg-block-re-ordered, verilog-extended-case-re)
185 (verilog-forward-sexp, verilog-set-auto-endcomments):
186 (verilog-leap-to-case-head): Handle "unique0" case.
187 (verilog-in-constraint-re): New constant.
188 (verilog-keywords, verilog-type-font-keywords):
189 Add some SystemVerilog 1800-2012 keywords.
190 (verilog-label-be): Remove unimplemented argument, bug669.
191 (verilog-batch-execute-func): When batch expanding clear
192 create-lockfiles to prevent spurious user locks when a file ends
193 up not changing.
194 (verilog-calculate-indent, verilog-calc-1)
195 (verilog-at-close-constraint-p, verilog-at-constraint-p)
196 (verilog-do-indent): Fix indentation of nested constraints
197 and structures.
198 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
199 (verilog-auto-inst-param): Use verilog-string-match-fold.
200 (verilog-read-inst-module-matcher):
201 Fix AUTOINST on gate primitives with #1.
202 (verilog-read-decls): Fix double-declaring user-defined typed signals.
203 Reads all user-defined typed variables.
204 (verilog-read-defines): Fix reading definitions inside comments, bug647.
205 (verilog-signals-matching-regexp)
206 (verilog-signals-not-matching-regexp, verilog-auto):
207 Respect verilog-case-fold.
208 (verilog-diff-report): Fix line count.
209 (verilog-auto-assign-modport): Remove unused local `modi'.
210 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
211 better handle multidimensional arrays.
212 Fix packed array ports misadding bit index in AUTOINST, bug637.
213 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
214 to not double-declare existing outputs and inputs, respectively.
215 (verilog-template-map): Bind U to verilog-sk-uvm-component.
216 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
217 (verilog-sk-uvm-component): New skeleton.
218 (verilog-submit-bug-report): Add verilog-case-fold,
219 remove verilog-mode-release-date.
220
221 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
222
223 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
224 as before.
225
226 2013-10-18 Reuben Thomas <rrt@sc3d.org>
227
228 * textmodes/remember.el (remember): set buffer-offer-save in
229 remember buffers (bug#13566).
230
231 2013-10-18 Daniel Colascione <dancol@dancol.org>
232
233 When evaluating forms in ielm, direct standard output to ielm
234 buffer. Add new ielm-return-for-effect command. Remove trailing
235 whitespace throughout.
236
237 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
238 (ielm-return-for-effect): New command.
239 (ielm-send-input): Accept optional `for-effect' parameter.
240 (ielm-eval-input): Accept optional `for-effect' parameter.
241 Bind `standard-output' to stream we create using
242 `ielm-standard-output-impl'. Suppress printing result when
243 `for-effect'.
244 (ielm-standard-output-impl): New function.
245 (inferior-emacs-lisp-mode): Explain new features in documentation.
246
247 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
248
249 Code cleanup.
250
251 * net/tramp.el (tramp-debug-message): Do not check for connection
252 buffer.
253 (tramp-message): Use "vector" connection property.
254
255 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
256 (tramp-equal-remote, tramp-eshell-directory-change)
257 * net/tramp-adb.el (tramp-adb-handle-copy-file)
258 (tramp-adb-handle-rename-file)
259 * net/tramp-cmds.el (tramp-list-remote-buffers)
260 (tramp-cleanup-connection, tramp-cleanup-this-connection)
261 * net/tramp-compat.el (tramp-compat-process-running-p)
262 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
263 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
264 (tramp-gvfs-handle-rename-file)
265 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
266 (tramp-set-file-uid-gid)
267 * net/tramp-smb.el (tramp-smb-handle-copy-file)
268 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
269 of `file-remote-p'.
270
271 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
272 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
273 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
274 (tramp-gw-open-network-stream): Suppress unrelated traces.
275
276 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
277 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
279 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
280 connection property.
281
282 * net/tramp-cache.el (top): Suppress traces when reading
283 persistency file.
284
285 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
286 Refactor common code. Improve debug message.
287 (tramp-maybe-open-connection)
288 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
289 connection buffer too early.
290
291 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
292 from `tramp-smb-actions-with-acl'.
293 (tramp-smb-actions-set-acl): New defconst.
294 (tramp-smb-handle-copy-directory)
295 (tramp-smb-action-get-acl): New defun, renamed from
296 `tramp-smb-action-with-acl'.
297 (tramp-smb-action-set-acl): New defun.
298 (tramp-smb-handle-set-file-acl): Rewrite.
299
300 2013-10-17 Glenn Morris <rgm@gnu.org>
301
302 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
303
304 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
305
306 * skeleton.el (skeleton-newline): Remove.
307 (skeleton-internal-1): Use (insert "\n") instead.
308
309 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
310 let-bindings.
311
312 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
313 forward-sexp-function while we redo its job (bug#15613).
314
315 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
316
317 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
318 represented by lists.
319
320 2013-10-16 Glenn Morris <rgm@gnu.org>
321
322 * tmm.el (tmm--history): New dynamic variable.
323 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
324
325 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
326
327 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
328 (tramp-smb-errors): Add error messages.
329 (tramp-smb-actions-with-acl): New defconst.
330 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
331 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
332 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
333 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
334 (tramp-smb-get-stat-capability): Fix tests.
335
336 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
337
338 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
339 (bug#15580).
340
341 2013-10-16 Glenn Morris <rgm@gnu.org>
342
343 * ansi-color.el (ansi-color-drop-regexp):
344 Add 1J, 1K, 2K. (Bug#15617)
345
346 * files.el (hack-local-variables--warned-lexical): New.
347 (hack-local-variables):
348 Warn about misplaced lexical-binding. (Bug#15616)
349
350 * net/eww.el (eww-render): Always set eww-current-url,
351 and update header line. (Bug#15622)
352 (eww-display-html): ... Rather than just doing it here.
353
354 2013-10-15 Eli Zaretskii <eliz@gnu.org>
355
356 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
357 menu navigations commands.
358
359 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
360
361 * progmodes/subword.el (subword-capitalize): Be careful when
362 the search for [[:alpha:]] fails (bug#15580).
363
364 2013-10-14 Eli Zaretskii <eliz@gnu.org>
365
366 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
367 to commands that scroll the menu.
368
369 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
370
371 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
372 Handle methods ending with `?' and `!'.
373
374 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
375
376 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
377 `japanese-cp932' to `cp932' to fix the problem where saving a
378 source file written in Shift_JIS twice would end up having
379 `coding: japanese-cp932' which Ruby could not recognize.
380 (ruby-mode-set-encoding): Add support for encodings mapped to nil
381 in `ruby-encoding-map'.
382 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
383 doesn't need to be explicitly declared in magic comment.
384 (ruby-encoding-map): Add type declaration for better customize UI.
385
386 2013-10-13 Glenn Morris <rgm@gnu.org>
387
388 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
389 Occur buffers are read-only. http://bugs.debian.org/720775
390
391 * emacs-lisp/authors.el (authors-fixed-entries):
392 Comment out old alpha stuff.
393
394 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
395
396 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
397 to `after-save-hook' instead of `before-save-hook'.
398 (ruby-mode-set-encoding): Use the value of coding system used to
399 write the file. Call `basic-save-buffer-1' after modifying the
400 buffer.
401
402 2013-10-13 Alan Mackenzie <acm@muc.de>
403
404 Fix indentation/fontification of Java enum with
405 "implements"/generic.
406
407 * progmodes/cc-engine.el (c-backward-over-enum-header):
408 Extracted from the three other places and enhanced to handle generics.
409 (c-inside-bracelist-p): Uses new function above.
410 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
411 function above.
412 (c-font-lock-enum-tail): Uses new function above.
413
414 2013-10-13 Kenichi Handa <handa@gnu.org>
415
416 * international/mule-cmds.el (select-safe-coding-system): Remove a
417 superfluous condition in chekcing whether a coding system is safe
418 or not.
419
420 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
421
422 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
423
424 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
425
426 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
427
428 2013-10-13 Glenn Morris <rgm@gnu.org>
429
430 * menu-bar.el (menu-bar-update-buffers):
431 Unify Buffers menu prompt string. (Bug#15576)
432
433 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
434
435 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
436 Add some entries.
437 (authors-fixed-entries): Use accented form of name.
438
439 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
442 method calls (bug#15594).
443 (ruby-smie--args-separator-p): New function.
444 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
445 recognize paren-free method calls.
446
447 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
448 internals of universal-argument.
449
450 2013-10-11 Eli Zaretskii <eliz@gnu.org>
451
452 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
453 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
454 dropped menu on second mouse click on the menu bar.
455
456 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
459 (explicit-shell-file-name): Declare.
460 (sh--vars-before-point, sh--cmd-completion-table): New functions.
461 (sh-completion-at-point-function): New function.
462 (sh-mode): Use it.
463 (sh-smie--keyword-p): Remove unused argument.
464 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
465 vars.
466 (sh-set-shell): Always setup SMIE, even if we use the
467 old indentation code.
468
469 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
470
471 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
472 cases of ? and =.
473 (ruby-smie-rules): Simplify the "do" rule. The cases when the
474 predicate would return nil are almost non-existent.
475 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
476
477 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
478 cache also after commands that modify the buffer but don't move
479 point.
480
481 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 * env.el (substitute-env-in-file-name): New function.
484 (substitute-env-vars): Extend the meaning of the optional arg.
485
486 2013-10-10 Eli Zaretskii <eliz@gnu.org>
487
488 * term/w32-win.el (dynamic-library-alist): Define separate lists
489 of GIF DLLs for versions before and after 5.0.0 of giflib.
490 (Bug#15531)
491
492 2013-10-10 João Távora <joaotavora@gmail.com>
493
494 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
495 not locked, use last revision and current source as
496 defaults. (Bug#15569)
497
498 2013-10-10 Masatake YAMATO <yamato@redhat.com>
499
500 * menu-bar.el (menu-bar-open): Don't use popup-menu if
501 menu-bar is hidden.
502
503 2013-10-10 Martin Rudalics <rudalics@gmx.at>
504
505 * window.el (pop-to-buffer-same-window): Fix doc-string.
506 (Bug#15492)
507
508 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
511
512 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
513
514 * calendar/icalendar.el (icalendar-import-file):
515 Fix interactive spec. (Bug#15482)
516
517 2013-10-10 Glenn Morris <rgm@gnu.org>
518
519 * desktop.el (desktop-save): Default to saving in .emacs.d,
520 since PWD is no longer in desktop-path by default. (Bug#15319)
521
522 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
523 now that text mode has a menu with the same entry.
524 (menu-bar-text-mode-auto-fill): Remove now unused func.
525 * textmodes/text-mode.el (text-mode-map):
526 Use auto-fill help text from menu-bar.el.
527
528 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
529
530 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
531
532 2013-10-09 Juri Linkov <juri@jurta.org>
533
534 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
535 instead of this-command-keys. Add universal-argument-more and
536 universal-argument-minus to the list of prefix commands. (Bug#15568)
537
538 2013-10-09 Glenn Morris <rgm@gnu.org>
539
540 * vc/vc-svn.el (vc-svn-create-repo):
541 Expand paths in file://... url. (Bug#15446)
542
543 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
544 Add some entries.
545 (authors): Remove unused local variables.
546
547 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * profiler.el: Create a more coherent calltree from partial backtraces.
550 (profiler-format): Hide the tail with `invisible' so that C-s can still
551 find the hidden elements.
552 (profiler-calltree-depth): Don't recurse so enthusiastically.
553 (profiler-function-equal): New hash-table-test.
554 (profiler-calltree-build-unified): New function.
555 (profiler-calltree-build): Use it.
556 (profiler-report-make-name-part): Indent the calltree less.
557 (profiler-report-mode): Add visibility specs for profiler-format.
558 (profiler-report-expand-entry, profiler-report-toggle-entry):
559 Expand the whole subtree when provided with a prefix arg.
560
561 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
562
563 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
564 iuwu-mod token.
565 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
566 hanging iuwu-mod token.
567 (ruby-smie--forward-token): Do not include a dot after a token in
568 that token.
569 (ruby-smie--backward-token): Likewise.
570
571 2013-10-08 Juri Linkov <juri@jurta.org>
572
573 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
574 to isearch-other-control-char.
575 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
576 and isearch-post-command-hook to post-command-hook.
577 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
578 and isearch-post-command-hook from post-command-hook.
579 (isearch-unread-key-sequence)
580 (isearch-reread-key-sequence-naturally)
581 (isearch-lookup-scroll-key, isearch-other-control-char)
582 (isearch-other-meta-char): Remove functions.
583 (isearch-pre-command-hook, isearch-post-command-hook):
584 New functions based on isearch-other-meta-char rewritten
585 relying on the new behavior of overriding-terminal-local-map
586 that does not replace the local keymaps any more. (Bug#15200)
587
588 2013-10-08 Eli Zaretskii <eliz@gnu.org>
589
590 Support menus on text-mode terminals.
591 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
592 functionality.
593
594 * tooltip.el (tooltip-mode): Don't error out on TTYs.
595
596 * menu-bar.el (popup-menu, popup-menu-normalize-position):
597 Move here from mouse.el.
598 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
599 and arrow keys.
600 (tty-menu-navigation-map): New map for TTY menu navigation.
601
602 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
603
604 * frame.el (display-mouse-p): Report text-mode mouse as available
605 on w32.
606 (display-popup-menus-p): Report availability if mouse is
607 available; don't condition on window-system.
608
609 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
610 (tty-menu-selected-face): New faces.
611
612 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
615 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
616 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
617 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
618 New constants.
619 (lisp-mode-variables): New `elisp' argument.
620 (emacs-lisp-mode): Use it.
621 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
622 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
623
624 * indent.el: Use lexical-binding.
625 (indent-region): Add progress reporter.
626 (tab-stop-list): Make it implicitly extend to infinity by repeating the
627 last step.
628 (indent--next-tab-stop): New function to implement this behavior.
629 (tab-to-tab-stop, move-to-tab-stop): Use it.
630
631 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
632
633 * indent.el (indent-rigidly--current-indentation): New function.
634 (indent-rigidly-map): New var.
635 (indent-rigidly): Use it to provide interactive mode (bug#8196).
636
637 2013-10-08 Bastien Guerry <bzg@gnu.org>
638
639 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
640
641 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * progmodes/perl-mode.el: Use lexical-binding.
644 Remove redundant :group args.
645 (perl-nochange): Change default to be closer to other major modes's
646 standard behavior.
647 (perl-indent-line): Don't consider text on current line as a
648 valid beginning of function from which to indent.
649
650 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
651 with more than one argument (bug#15538).
652
653 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
654
655 * vc/pcvs.el: Use lexical-binding.
656 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
657 environment of `eval'.
658 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
659 than a list of expressions. Adjust callers.
660 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
661
662 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
663
664 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
665 case of the dot in a chained method call being on the following line.
666
667 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * electric.el (electric-indent-inhibit): New var.
670 (electric-indent-post-self-insert-function): Use it.
671 * progmodes/python.el (python-mode): Set it.
672
673 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
674 open braces.
675
676 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
677
678 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
679 (css-mode): Use electric-indent-chars.
680
681 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
682 (font-lock-beg, font-lock-end): Move before first use.
683 (nxml-mode): Use syntax-propertize-function.
684 (nxml-after-change, nxml-after-change1): Adjust accordingly.
685 (nxml-extend-after-change-region): Remove.
686 * nxml/xmltok.el: Use lexical-binding.
687 (xmltok-save): Use `declare'.
688 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
689 * nxml/nxml-util.el: Use lexical-binding.
690 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
691 Use `declare'.
692 * nxml/nxml-ns.el: Use lexical-binding.
693 (nxml-ns-save): Use `declare'.
694 (nxml-ns-prefixes-for): Avoid add-to-list.
695 * nxml/rng-match.el: Use lexical-binding.
696 (rng--ipattern): Use cl-defstruct.
697 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
698 (rng-cons-group-after, rng-subst-group-after)
699 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
700 Use closures instead of `(lambda...).
701
702 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
703
704 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
705 of BEG and END.
706
707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
708 Use `tramp-handle-insert-file-contents'.
709 (tramp-gvfs-handle-insert-file-contents): Remove function.
710
711 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
712 Use `save-restriction' in order to keep markers.
713
714 * net/trampver.el: Update release number.
715
716 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * progmodes/compile.el (compilation-parse-errors):
719 Use compilation--put-prop.
720 (compilation--ensure-parse): Check compilation-multiline.
721
722 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
723
724 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
725 lexical-binding.
726
727 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
728
729 * progmodes/ruby-mode.el: Fix recently added tests.
730 (ruby-smie-grammar): Add - and +.
731 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
732 (ruby-smie--backward-id): New functions.
733 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
734 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
735 any more.
736
737 2013-10-07 Leo Liu <sdl.web@gmail.com>
738
739 * register.el (register-preview-delay)
740 (register-preview-functions): New variables.
741 (register-read-with-preview, register-preview)
742 (register-describe-oneline): New functions.
743 (point-to-register, window-configuration-to-register)
744 (frame-configuration-to-register, jump-to-register)
745 (number-to-register, view-register, insert-register)
746 (copy-to-register, append-to-register, prepend-to-register)
747 (copy-rectangle-to-register): Use register-read-with-preview to
748 read register. (Bug#15525)
749
750 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
751
752 * net/network-stream.el (network-stream-open-starttls): Don't add
753 --insecure if it's already present, because that gnutls-cli
754 rejects getting that parameter twice.
755
756 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
757
758 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
759 keyword, too.
760
761 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
762
763 * newcomment.el (comment-use-global-state): Change default value
764 to t, mark obsolete (Bug#15251).
765 (comment-beginning): In addition to `comment-to-syntax', check the
766 value of `comment-use-global-state'.
767
768 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
771 (ruby-comment-column): Follow the global default, by default.
772 (ruby-smie-grammar): Add assignment syntax.
773 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
774 open-paren, a comma, or a \.
775 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
776 and line continuations.
777 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
778 followed by implicit semi-colons. Add rule for string concatenation
779 and for indentation at BOB.
780 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
781
782 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
783 calling next-sexp, since next-token may have skipped chars which
784 next-sexp doesn't know should be skipped!
785
786 2013-10-05 Leo Liu <sdl.web@gmail.com>
787
788 * progmodes/octave.el (octave-send-region):
789 Call compilation-forget-errors.
790
791 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
792
793 * vc/vc-svn.el (vc-svn-find-admin-dir):
794 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
795 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
796 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
797 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
798
799 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
802
803 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * subr.el (read-passwd): Hide chars even when called within a context
806 where after-change-functions is disabled (bug#15501).
807 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
808 until we removed ourself from overriding-terminal-local-map.
809
810 2013-10-04 Leo Liu <sdl.web@gmail.com>
811
812 * progmodes/octave.el (inferior-octave-mode):
813 Call compilation-forget-errors.
814
815 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
816
817 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
818
819 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
820
821 * net/secrets.el (secrets-create-collection): Add optional
822 argument ALIAS. Use proper Label keyword. Append ALIAS as
823 dbus-call-method argument. (Bug#15516)
824
825 2013-10-04 Leo Liu <sdl.web@gmail.com>
826
827 * progmodes/octave.el (inferior-octave-error-regexp-alist)
828 (inferior-octave-compilation-font-lock-keywords): New variables.
829 (compilation-error-regexp-alist)
830 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
831 (inferior-octave-mode): Use compilation-shell-minor-mode.
832
833 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
834
835 * minibuffer.el (completion--replace): Be careful that `end' might be
836 a marker.
837
838 2013-10-03 Daiki Ueno <ueno@gnu.org>
839
840 Add support for package signature checking.
841 * emacs-lisp/package.el (url-http-file-exists-p)
842 (epg-make-context, epg-context-set-home-directory)
843 (epg-verify-string, epg-context-result-for)
844 (epg-signature-status, epg-signature-to-string)
845 (epg-check-configuration, epg-configuration)
846 (epg-import-keys-from-file): Declare.
847 (package-check-signature): New user option.
848 (package-unsigned-archives): New user option.
849 (package-desc): Add `signed' field.
850 (package-load-descriptor): Set `signed' field if .signed file exists.
851 (package--archive-file-exists-p): New function.
852 (package--check-signature): New function.
853 (package-install-from-archive): Check package signature.
854 (package--download-one-archive): Check archive signature.
855 (package-delete): Remove .signed file.
856 (package-import-keyring): New command.
857 (package-refresh-contents): Import default keyring.
858 (package-desc-status): Add "unsigned" status.
859 (describe-package-1, package-menu--print-info)
860 (package-menu-mark-delete, package-menu--find-upgrades)
861 (package-menu--status-predicate): Support "unsigned" status.
862
863 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
866 the new compilation scheme using the new byte-codes.
867
868 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
869 (byte-pophandler): New byte codes.
870 (byte-goto-ops): Adjust accordingly.
871 (byte-compile--use-old-handlers): New var.
872 (byte-compile-catch): Use new byte codes depending on
873 byte-compile--use-old-handlers.
874 (byte-compile-condition-case--old): Rename from
875 byte-compile-condition-case.
876 (byte-compile-condition-case--new): New function.
877 (byte-compile-condition-case): New function that dispatches depending
878 on byte-compile--use-old-handlers.
879 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
880 when we can.
881
882 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
883 Optimize under `condition-case' and `catch' if
884 byte-compile--use-old-handlers is nil.
885 (disassemble-offset): Handle new bytecodes.
886
887 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * subr.el (error): Use `declare'.
890 (decode-char, encode-char): Use advertised-calling-convention instead
891 of the docstring to discourage use of the `restriction' arg.
892
893 2013-10-03 Daiki Ueno <ueno@gnu.org>
894
895 * epg.el (epg-verify-file): Add a comment saying that it does not
896 notify verification error as a return value nor a signal.
897 (epg-verify-string): Ditto.
898
899 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
900
901 * progmodes/compile.el (compilation-start): Try globbing the arg to
902 `cd' (bug#15417).
903
904 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
905
906 Sync with Tramp 2.2.8.
907
908 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
909 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
910 * net/trampver.el: Update release number.
911
912 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
913
914 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
915 and default-process-coding-system for darwin only.
916
917 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
920
921 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
922
923 * vc/vc-git.el (vc-git-grep): Disable pager.
924
925 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
926
927 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
928 Use :url instead of :homepage, as per
929 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
930
931 * newcomment.el (comment-beginning): When `comment-use-syntax' is
932 non-nil, use `syntax-ppss' (Bug#15251).
933
934 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
935
936 * progmodes/octave.el (inferior-octave-startup-file):
937 Prefer ~/.emacs.d/init_octave.m.
938
939 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
940
941 * emacs-lisp/package.el (package-desc-from-define):
942 Accept additional arguments as plist, convert them to an alist and store
943 them in the `extras' slot.
944 (package-generate-description-file): Convert extras alist back to
945 plist and append to the `define-package' form arguments.
946 (package--alist-to-plist): New function.
947 (package--ac-desc): Add `extras' slot.
948 (package--add-to-archive-contents): Check if the archive-contents
949 vector is long enough, and if it is, pass its `extras' slot value
950 to `package-desc-create'.
951 (package-buffer-info): Call `lm-homepage', pass the returned value
952 to `package-desc-from-define'.
953 (describe-package-1): Render the homepage button (Bug#13291).
954
955 * emacs-lisp/package-x.el (package-upload-buffer-internal):
956 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
957
958 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
959
960 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
961 and default-process-coding-system to utf-8-unix (Bug#15402).
962
963 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
964
965 * subr.el (looking-back): Do not recommend using looking-back.
966
967 2013-09-28 Alan Mackenzie <acm@muc.de>
968
969 Fix indentation/fontification of Java enum with "implements".
970
971 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
972 regexp which matches "implements", etc., in Java.
973 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
974 specifier clauses coming after "enum".
975 * progmodes/cc-fonts.el (c-font-lock-declarations)
976 (c-font-lock-enum-tail): Check for extra specifier clauses coming
977 after "enum".
978
979 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
980
981 * faces.el (region): Change ns_selection_color to
982 ns_selection_fg_color, add ns_selection_bg_color.
983
984 2013-09-28 Leo Liu <sdl.web@gmail.com>
985
986 * progmodes/octave.el (inferior-octave-completion-table)
987 (inferior-octave-completion-at-point): Minor tweaks.
988
989 * textmodes/ispell.el (ispell-lookup-words): Rename from
990 lookup-words. (Bug#15460)
991 (lookup-words): Obsolete.
992 (ispell-complete-word, ispell-command-loop): All uses changed.
993
994 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
995
996 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
997 (octave-mode-menu): Add octave-send-buffer.
998 (octave-send-buffer): New function.
999
1000 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1001
1002 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1003 octave-lookfor.
1004 (octave-mode-menu): Add octave-lookfor.
1005 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1006 octave-lookfor.
1007 (octave-lookfor): New function.
1008
1009 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * emacs-lisp/cl-macs.el:
1012 (cl--loop-destr-temps): Remove.
1013 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1014 its convention.
1015 (cl--loop-set-iterator-function): New function.
1016 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1017 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1018 Bind `it' with `let' instead of substituting it with `cl-subst'.
1019 (cl--unused-var-p): New function.
1020 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1021 Eliminate some unused variable warnings (bug#15326).
1022
1023 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1024
1025 * doc-view.el (doc-view-scale-reset): Rename from
1026 `doc-view-reset-zoom-level'.
1027 (doc-view-scale-adjust): New command.
1028 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1029 `doc-view-scale-adjust'.
1030
1031 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1032
1033 * doc-view.el (doc-view-reset-zoom-level): New command.
1034 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1035 zoom commands (bug#15466).
1036
1037 2013-09-26 Kenichi Handa <handa@gnu.org>
1038
1039 * international/quail.el (quail-help): Make it not a command.
1040
1041 2013-09-26 Leo Liu <sdl.web@gmail.com>
1042
1043 * minibuffer.el (completion-all-sorted-completions): Make args
1044 optional as they are.
1045
1046 2013-09-25 Daniel Colascione <dancol@dancol.org>
1047
1048 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1049 specs are and that they're not evaluated.
1050
1051 2013-09-24 Sam Steingold <sds@gnu.org>
1052
1053 * midnight.el (clean-buffer-list-kill-regexps)
1054 (clean-buffer-list-kill-buffer-names): Update for the new Man
1055 buffer naming which includes the object name.
1056
1057 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1060 (eshell-parse-command, eshell-parse-pipeline): Use it since
1061 eshell-separate-commands requires a dynamic scoped var.
1062 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1063
1064 2013-09-23 Leo Liu <sdl.web@gmail.com>
1065
1066 * autoinsert.el (auto-insert-alist): Make the value of
1067 lexical-binding match its file setting.
1068
1069 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1070
1071 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1072
1073 * autoarg.el (autoarg-kp-digit-argument):
1074 * electric.el (Electric-command-loop):
1075 * kmacro.el (kmacro-step-edit-insert):
1076 Do not set universal-argument-num-events.
1077
1078 2013-09-22 Leo Liu <sdl.web@gmail.com>
1079
1080 * files.el (interpreter-mode-alist): Add octave.
1081
1082 2013-09-21 Alan Mackenzie <acm@muc.de>
1083
1084 C++: fontify identifier in declaration following "public:" correctly.
1085 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1086 to match "public", etc.
1087 (c-decl-prefix-re): Add ":" into the C++ value.
1088 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1089 bit. Add a check for a ":" preceded by "public", etc.
1090
1091 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1092
1093 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1094 recognized by GDB 7.5 and later.
1095
1096 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1097
1098 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1099
1100 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * subr.el (internal--call-interactively): New const.
1103 (called-interactively-p): Use it (bug#3984).
1104
1105 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1106
1107 * vc/pcvs.el (cvs-mode-ignore):
1108 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1109 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1110
1111 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1114 (eshell-ls-orig-insert-directory): Remove.
1115 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1116 (eshell-ls-use-in-dired): Use advice-add/remove.
1117 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1118 Add `orig-fun' arg for use in :around advice.
1119 Make it check (redundantly) eshell-ls-use-in-dired.
1120
1121 2013-09-19 Glenn Morris <rgm@gnu.org>
1122
1123 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1124
1125 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1126
1127 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1128
1129 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1130
1131 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1132 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1133 (tramp-get-remote-python): New defuns.
1134 (tramp-get-remote-uid-with-perl)
1135 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1136 contributed by yary <not.com@gmail.com> (tiny change).
1137 (tramp-get-remote-uid-with-python)
1138 (tramp-get-remote-gid-with-python): New defuns. Python code
1139 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1140 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1141
1142 2013-09-19 Glenn Morris <rgm@gnu.org>
1143
1144 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1145
1146 * eshell/em-unix.el (eshell-remove-entries):
1147 Rename argument to avoid name-clash with global `top-level'.
1148
1149 * eshell/esh-proc.el (eshell-kill-process-function):
1150 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1151 (eshell-reset-after-proc): Remove unused arg `proc'.
1152
1153 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1154 (directory-files-and-attributes): Mark unused arg.
1155
1156 * eshell/em-unix.el (eshell-remove-entries):
1157 Remove unused arg `path'. Update callers.
1158
1159 * eshell/em-hist.el (eshell-hist-parse-arguments):
1160 Remove unused arg `silent'. Update callers.
1161
1162 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1163 Fix (f)boundp mix-up.
1164
1165 * eshell/em-smart.el (eshell-smart-scroll-window)
1166 (eshell-disable-after-change):
1167 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1168
1169 2013-09-18 Alan Mackenzie <acm@muc.de>
1170
1171 Fix fontification of type when followed by "const".
1172 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1173 "known" types from fontification.
1174
1175 2013-09-18 Glenn Morris <rgm@gnu.org>
1176
1177 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1178 (chart-face-list): Drop Emacsen without display-color-p.
1179
1180 * net/eww.el (libxml-parse-html-region): Declare.
1181 (eww-display-html): Explicit error if no libxml2 support.
1182
1183 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1184
1185 * image.el (image-type-from-buffer, image-multi-frame-p):
1186 Remove --without-x warning/error.
1187
1188 * mouse.el (mouse-yank-primary):
1189 * term.el (term-mouse-paste):
1190 Reorder to silence --without-x compilation.
1191
1192 * mpc.el (doc-view-mode): Silence --without-x compilation.
1193
1194 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1195 Silence --without-x compilation.
1196
1197 * progmodes/gud.el (gud-find-file, gud-mode):
1198 Silence --without-x compilation.
1199 (tooltip-mode): Declare.
1200
1201 * wdired.el (dired-backup-overwrite): Remove declaration.
1202 (wdired-mode-map): Add doc string.
1203
1204 * custom.el (x-get-resource): Declare.
1205
1206 * eshell/em-glob.el (ange-cache):
1207 * eshell/em-unix.el (ange-cache): Declare.
1208
1209 * faces.el (x-display-list, x-open-connection, x-get-resource):
1210 Declare.
1211
1212 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1213 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1214 Declare.
1215
1216 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1217
1218 * net/gnutls.el (gnutls-log-level): Declare.
1219
1220 * net/shr.el (image-size, image-animate): Declare.
1221
1222 * simple.el (font-info): Declare.
1223
1224 * subr.el (x-popup-dialog): Declare.
1225
1226 * term/common-win.el (x-select-enable-primary)
1227 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1228 Declare.
1229
1230 * term/ns-win.el (x-handle-args): Declare.
1231
1232 * term/x-win.el (x-select-enable-clipboard): Declare.
1233
1234 * term/w32-win.el (create-default-fontset): Declare.
1235
1236 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1237 Declare.
1238
1239 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1240 (fit-frame-to-buffer): Explicit error if --without-x.
1241 (mouse-autoselect-window-select): Silence compiler.
1242
1243 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1244
1245 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1246 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1247 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1248 * eshell/esh-util.el (eshell-sublist):
1249 Remove unused local variables.
1250
1251 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1252
1253 * textmodes/two-column.el: Make 2C-split work for --without-x.
1254 (scroll-bar-columns): Autoload.
1255 (top-level): Require fringe when compiling.
1256
1257 2013-09-18 Leo Liu <sdl.web@gmail.com>
1258
1259 * subr.el (add-hook): Robustify to handle closure as well.
1260
1261 2013-09-17 Glenn Morris <rgm@gnu.org>
1262
1263 * simple.el (messages-buffer-mode-map): Unbind "g".
1264
1265 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * help-mode.el (help-mode-finish): Use derived-mode-p.
1268 Remove obsolete highlighting.
1269
1270 * play/life.el (life-mode): Use define-derived-mode. Derive from
1271 special-mode.
1272 (life): Let-bind inhibit-read-only.
1273 (life-setup): Avoid `setq'. Use `life-mode'.
1274
1275 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1276 which should not be needed any more.
1277 (package-menu-refresh, package-menu-describe-package): Use user-error.
1278
1279 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1280 (eshell-post-rewrite-command-hook): Make obsolete.
1281 (eshell-parse-command): Simplify.
1282 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1283 (eshell--cmd): Declare.
1284 (eshell-parse-pipeline): Remove unused var `final-p'.
1285 Pass a dynvar to eshell-post-rewrite-command-hook.
1286 Implement the new eshell-post-rewrite-command-function.
1287 (eshell-invoke-directly): Remove unused arg `input'.
1288 * eshell/esh-io.el (eshell-io-initialize):
1289 Use eshell-post-rewrite-command-function (bug#15399).
1290 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1291 adjust to new calling convention.
1292 (eshell-create-handles): Rename args to avoid clashing with dynvar
1293 `standard-output'.
1294
1295 2013-09-17 Glenn Morris <rgm@gnu.org>
1296
1297 * simple.el (messages-buffer-mode): New major mode.
1298 (messages-buffer): New function.
1299 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1300 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1301 (ert-run-test): Use `messages-buffer' function.
1302 (ert--force-message-log-buffer-truncation): Ignore read-only.
1303 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1304 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1305
1306 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1309
1310 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1311
1312 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * icomplete.el (icomplete-in-buffer): New var.
1315 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1316 vars and replace them with functions.
1317 (icomplete-minibuffer-setup): Adjust accordingly.
1318 (icomplete--completion-table, icomplete--completion-predicate)
1319 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1320 New functions.
1321 (icomplete-forward-completions, icomplete-backward-completions)
1322 (icomplete-simple-completing-p, icomplete-exhibit)
1323 (icomplete-completions): Use them.
1324 (icomplete--in-region-buffer): New var.
1325 (icomplete--in-region-setup): New function.
1326 (icomplete-mode): Use it.
1327
1328 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1329 (bug#15379).
1330 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1331 return args and options.
1332 (eshell-eval-using-options): Use the new return value of
1333 eshell--do-opts to set the options's vars in their scope.
1334 (eshell--set-option): Rename from eshell-set-option.
1335 Add arg `opt-vals'.
1336 (eshell--process-option): Rename from eshell-process-option.
1337 Add arg `opt-vals'.
1338 (eshell--process-args): Use an `opt-vals' alist to store the options's
1339 values during their processing and return them additionally to the
1340 remaining args.
1341
1342 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1343
1344 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1345 continuation character an operator, as far as indentation is
1346 concerned (Bug#15369).
1347
1348 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1349
1350 * window.el (window--state-put-2): Don't process buffer state
1351 when buffer doesn't exist any more (Bug#15382).
1352
1353 2013-09-15 Glenn Morris <rgm@gnu.org>
1354
1355 * eshell/em-unix.el (eshell/rm):
1356 Make -f ignore missing files. (Bug#15373)
1357
1358 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1359 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1360 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1361
1362 2013-09-14 Glenn Morris <rgm@gnu.org>
1363
1364 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1365
1366 2013-09-13 Glenn Morris <rgm@gnu.org>
1367
1368 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1369 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1370
1371 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1372
1373 * frame.el (x-focus-frame): Mark as declared in frame.c.
1374
1375 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1376
1377 * ls-lisp.el: Use advice-add.
1378 (original-insert-directory): Remove.
1379 (ls-lisp--insert-directory): Rename from insert-directory; add
1380 `orig-fun' argument.
1381 (insert-directory): Advise.
1382
1383 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1384
1385 * term.el (term-emulate-terminal): Decode the command string
1386 before passing it to term-command-hook. (Bug#15337)
1387
1388 2013-09-13 Glenn Morris <rgm@gnu.org>
1389
1390 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1391
1392 * eshell/esh-ext.el (eshell-search-path): Declare.
1393
1394 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1395 Otherwise an error occurs if eshell-dirs module not loaded.
1396
1397 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1398
1399 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1402 `tramp-check-proper-host'. Check for a valid method name.
1403
1404 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1405 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1406 * net/tramp-sh.el (tramp-maybe-open-connection):
1407 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1408
1409 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1410 also for hash values.
1411
1412 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 * term/ns-win.el (parameters): Don't declare as dynamic.
1415 (before-make-frame-hook): Don't add ineffective function.
1416
1417 * eshell/*.el: Use lexical-binding (bug#15231).
1418
1419 2013-09-12 Kenichi Handa <handa@gnu.org>
1420
1421 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1422
1423 2013-09-12 Glenn Morris <rgm@gnu.org>
1424
1425 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1426 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1427
1428 * subr.el (do-after-load-evaluation): Also give compiler warnings
1429 when obsolete files are used (except by obsolete files).
1430
1431 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1432 in the status output, assume `filename' is the first. (Bug#15322)
1433
1434 * vc/vc.el (vc-deduce-fileset): Doc fix.
1435
1436 * calc/calc-help.el (Info-goto-node):
1437 * progmodes/cperl-mode.el (Info-find-node):
1438 * vc/ediff.el (Info-goto-node): Update declarations.
1439
1440 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1441
1442 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1443 (vc-bzr-pull): Require vc-dispatcher.
1444 * vc/vc-git.el (vc-compilation-mode): Declare.
1445 (vc-git-pull): Require vc-dispatcher.
1446
1447 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1448
1449 * progmodes/octave.el (help-button-action): Declare.
1450
1451 * shell.el (shell-directory-tracker): Output error as a message
1452 rather than just returning it as a string.
1453 (shell-process-pushd): Remove useless use of message.
1454
1455 * dframe.el (dframe-timer-fn):
1456 * files.el (dir-locals-read-from-file):
1457 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1458 (mpc-format):
1459 * reveal.el (reveal-post-command):
1460 * saveplace.el (load-save-place-alist-from-file):
1461 * shell.el (shell-resync-dirs):
1462 * w32-common-fns.el (x-get-selection-value):
1463 * emacs-lisp/copyright.el (copyright-find-copyright):
1464 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1465 * emulation/tpu-edt.el (tpu-copy-keyfile):
1466 * play/bubbles.el (bubbles--mark-neighbourhood):
1467 * progmodes/executable.el
1468 (executable-make-buffer-file-executable-if-script-p):
1469 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1470
1471 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1472
1473 Cleanup Eshell to rely less on dynamic scoping.
1474 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1475 last-value, and ext-command here. Bind `args' closer to `body'.
1476 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1477 (eshell--args): Declare new dynamic var.
1478 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1479 last-value, and ext-command. Pass `args' to `body'.
1480 (eshell-process-args): Bind eshell--args.
1481 (eshell-set-option): Use eshell--args.
1482 * eshell/eshell.el (eshell): Use derived-mode-p.
1483 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1484 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1485 (eshell-glob-function): Declare.
1486 * eshell/esh-util.el: Require cl-lib.
1487 (eshell-read-hosts-file): Avoid add-to-list.
1488 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1489 `err'.
1490 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1491 Declare.
1492 (eshell/diff): Remove unused var `err'.
1493 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1494 `killflag'.
1495 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1496 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1497 first use.
1498 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1499 Move declaration before first use.
1500 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1501 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1502 rely on cl-return.
1503
1504 2013-09-12 Glenn Morris <rgm@gnu.org>
1505
1506 * term/ns-win.el (global-map): Remove binding for ispell-next,
1507 deleted 1999-05-29. (Bug#15357)
1508
1509 2013-09-11 Glenn Morris <rgm@gnu.org>
1510
1511 * echistory.el (electric-command-history): Remove call to deleted func.
1512
1513 * play/landmark.el (landmark-mode): Fix typos.
1514
1515 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1516 Check cvs-sort-ignore-file is bound.
1517
1518 * savehist.el: No need for cl when compiling on Emacs.
1519
1520 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1523 (bug#15338).
1524 (eshell-self-insert-command, eshell-send-invisible):
1525 Remove unused argument.
1526 (eshell-handle-control-codes): Remove unused var `orig'.
1527 Avoid delete-backward-char.
1528
1529 * files.el (set-auto-mode): Simplify a bit further.
1530
1531 2013-09-11 Glenn Morris <rgm@gnu.org>
1532
1533 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1534 (set-auto-mode): Don't regexp-quote elements.
1535 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1536 * progmodes/cc-mode.el (interpreter-mode-alist):
1537 * progmodes/ruby-mode.el (interpreter-mode-alist):
1538 Revert previous change.
1539
1540 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1541
1542 * play/snake.el (snake-mode):
1543 * play/mpuz.el (mpuz-mode):
1544 * play/landmark.el (lm-mode):
1545 * play/blackbox.el (blackbox-mode):
1546 * play/5x5.el (5x5-mode):
1547 * obsolete/options.el (Edit-options-mode):
1548 * net/quickurl.el (quickurl-list-mode):
1549 * net/newst-treeview.el (newsticker-treeview-mode):
1550 * mail/rmailsum.el (rmail-summary-mode):
1551 * mail/mspools.el (mspools-mode):
1552 * locate.el (locate-mode):
1553 * ibuffer.el (ibuffer-mode):
1554 * emulation/ws-mode.el (wordstar-mode):
1555 * emacs-lisp/debug.el (debugger-mode):
1556 * array.el (array-mode):
1557 * net/eudc.el (eudc-mode): Use define-derived-mode.
1558 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1559 Move initialization into declaration.
1560 (mairix-searches-mode): Use define-derived-mode.
1561 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1562 (eudc-edit-hotlist): Use dolist.
1563 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1564 (Man-mode): Use define-derived-mode.
1565 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1566 (Info-edit-mode): Use define-derived-mode.
1567 (Info-cease-edit): Use Info-mode.
1568 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1569 into declaration.
1570 (eshell-mode): Use define-derived-mode.
1571 * chistory.el (command-history-mode-map): Rename from
1572 command-history-map.
1573 (command-history-mode): Use define-derived-mode.
1574 (Command-history-setup): Remove function.
1575 * calc/calc.el (calc-trail-mode-map): New var.
1576 (calc-trail-mode): Use define-derived-mode.
1577 (calc-trail-buffer): Set calc-main-buffer manually.
1578 * bookmark.el (bookmark-insert-annotation): New function.
1579 (bookmark-edit-annotation): Use it.
1580 (bookmark-edit-annotation-mode): Make it a proper major mode.
1581 (bookmark-send-edited-annotation): Use derived-mode-p.
1582 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1583 closer to its ideal place. Use \' to match EOS.
1584
1585 * profiler.el (profiler-calltree-find): Use function-equal.
1586
1587 2013-09-10 Glenn Morris <rgm@gnu.org>
1588
1589 * files.el (interpreter-mode-alist): Convert to regexps.
1590 (set-auto-mode): Adapt for this. (Bug#15306)
1591 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1592 Comment out unused variable.
1593 * progmodes/cc-mode.el (interpreter-mode-alist):
1594 * progmodes/python.el (interpreter-mode-alist):
1595 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1596 * progmodes/sh-script.el (sh-set-shell):
1597 No longer use interpreter-mode-alist to get list of shells.
1598
1599 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1600
1601 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * simple.el: Use set-temporary-overlay-map for universal-argument.
1604 (universal-argument-map): Don't use default-bindings (bug#15317).
1605 Bind switch-frame explicitly. Replace universal-argument-minus with
1606 a conditional binding.
1607 (universal-argument-num-events, saved-overriding-map): Remove.
1608 (restore-overriding-map): Remove.
1609 (universal-argument--mode): Rename from save&set-overriding-map,
1610 and rewrite.
1611 (universal-argument, universal-argument-more, negative-argument)
1612 (digit-argument): Adjust accordingly.
1613 (universal-argument-minus): Remove.
1614 (universal-argument-other-key): Remove.
1615
1616 * subr.el (with-demoted-errors): Add `format' argument.
1617
1618 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1619
1620 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1621 `tramp-cleanup-connection'.
1622
1623 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1624 parameters KEEP-DEBUG and KEEP-PASSWORD.
1625
1626 * net/tramp.el (tramp-file-name-handler):
1627 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1628 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1629 (tramp-maybe-open-connection):
1630 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1631 Use `tramp-cleanup-connection'.
1632
1633 * net/tramp-sh.el (tramp-maybe-open-connection):
1634 Catch 'uname-changed inside the progress reporter.
1635
1636 2013-09-10 Glenn Morris <rgm@gnu.org>
1637
1638 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1639
1640 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1641 returns "alternate access method" in mode (eg "-rw-r--r--.").
1642
1643 2013-09-08 Glenn Morris <rgm@gnu.org>
1644
1645 * saveplace.el (load-save-place-alist-from-file):
1646 Demote errors. (Bug#15305)
1647
1648 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1649
1650 Improve compatibility with older Emacsen, and XEmacs.
1651
1652 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1653 only if it is bound. It isn't for XEmacs.
1654 (with-tramp-progress-reporter): Do not let-bind `result'.
1655 This yields to scoping errors in XEmacs.
1656 (tramp-handle-make-auto-save-file-name): New function, moved from
1657 tramp-sh.el.
1658
1659 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1660 for `make-auto-save-file-name'.
1661 (tramp-adb--gnu-switches-to-ash):
1662 Use `tramp-compat-replace-regexp-in-string'.
1663
1664 * net/tramp-cache.el (tramp-cache-print): Call
1665 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1666
1667 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1668 bound. It isn't for XEmacs.
1669
1670 * net/tramp-compat.el (tramp-compat-copy-file):
1671 Catch `wrong-number-of-arguments' error.
1672 (tramp-compat-replace-regexp-in-string): New defun.
1673
1674 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1675 for `make-auto-save-file-name'.
1676 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1677 `copy-file'.
1678 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1679 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1680 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1681
1682 * net/tramp-gw.el (tramp-gw-open-network-stream):
1683 Use `tramp-compat-replace-regexp-in-string'.
1684
1685 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1686 Call `tramp-handle-make-auto-save-file-name'.
1687 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1688 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1689 (tramp-sh-file-inotifywait-process-filter):
1690 Use `tramp-compat-replace-regexp-in-string'.
1691 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1692
1693 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1694 for `make-auto-save-file-name'.
1695 (tramp-smb-handle-copy-directory):
1696 Call `tramp-compat-replace-regexp-in-string'.
1697 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1698 (tramp-smb-handle-copy-file): Improve error message.
1699 (tramp-smb-handle-rename-file): Rename directly only in case
1700 `newname' does not exist yet. This is a restriction of smbclient.
1701 (tramp-smb-maybe-open-connection): Rerun the function only when
1702 `auth-sources' is non-nil.
1703
1704 2013-09-08 Kenichi Handa <handa@gnu.org>
1705
1706 * international/characters.el: Set category "^" (Combining) for
1707 more characters.
1708
1709 2013-09-07 Alan Mackenzie <acm@muc.de>
1710
1711 Correctly fontify Java class constructors.
1712 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1713 in Java Mode.
1714 (c-recognize-typeless-decls): Set the Java value to t.
1715 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1716 While handling a "(", add a check for, effectively, Java, and handle a
1717 "typeless" declaration there.
1718
1719 2013-09-07 Roland Winkler <winkler@gnu.org>
1720
1721 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1722 field subtitle for entry type book.
1723
1724 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * minibuffer.el: Make minibuffer-complete call completion-in-region
1727 rather than other way around.
1728 (completion--some, completion-pcm--find-all-completions):
1729 Don't delay signals when debugging.
1730 (minibuffer-completion-contents): Beware fields within the
1731 minibuffer contents.
1732 (completion-all-sorted-completions): Use defvar-local.
1733 (completion--do-completion, completion--cache-all-sorted-completions)
1734 (completion-all-sorted-completions, minibuffer-force-complete):
1735 Add args `beg' and `end'.
1736 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1737 (minibuffer-complete): Use completion-in-region.
1738 (completion-complete-and-exit): New fun, extracted from
1739 minibuffer-complete-and-exit.
1740 (minibuffer-complete-and-exit): Use it.
1741 (completion--complete-and-exit): Rename from
1742 minibuffer--complete-and-exit.
1743 (completion-in-region--single-word): New function, extracted from
1744 minibuffer-complete-word.
1745 (minibuffer-complete-word): Use it.
1746 (display-completion-list): Make `common-substring' argument obsolete.
1747 (completion--in-region): Call completion--in-region-1 instead of
1748 minibuffer-complete.
1749 (completion-help-at-point): Pass boundaries to
1750 minibuffer-completion-help as args rather than via an overlay.
1751 (completion-pcm--string->pattern): Use `any-delim'.
1752 (completion-pcm--optimize-pattern): New function.
1753 (completion-pcm--pattern->regex): Handle `any-delim'.
1754 * icomplete.el (icomplete-forward-completions)
1755 (icomplete-backward-completions, icomplete-completions):
1756 Adjust calls to completion-all-sorted-completions and
1757 completion--cache-all-sorted-completions.
1758 (icomplete-with-completion-tables): Default to t.
1759 * emacs-lisp/crm.el (crm--current-element): Rename from
1760 crm--select-current-element. Don't put an overlay but return the
1761 boundaries instead.
1762 (crm--completion-command): Take two new args to bind to the boundaries.
1763 (crm-completion-help): Adjust accordingly.
1764 (crm-complete): Use completion-in-region.
1765 (crm-complete-word): Use completion-in-region--single-word.
1766 (crm-complete-and-exit): Use completion-complete-and-exit.
1767
1768 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1769
1770 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1771 than dynamically.
1772
1773 2013-09-06 Juri Linkov <juri@jurta.org>
1774
1775 * info.el (Info-display-images-node): When image file doesn't exist
1776 display text version of the image if it's provided in the Info file.
1777 Otherwise, display the location of missing image from SRC attribute.
1778 Add help-echo text property from ALT attribute. (Bug#15279)
1779
1780 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1781
1782 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1783 (edit-abbrevs-mode): Use define-derived-mode.
1784
1785 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1786 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1787 that it's defined.
1788 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1789 Use define-derived-mode.
1790
1791 * epg.el (epg-start-encrypt): Minor CSE simplification.
1792
1793 2013-09-06 William Xu <william.xwl@gmail.com>
1794
1795 * arc-mode.el: Add support for 7za (bug#15264).
1796 (archive-7z-program): New var.
1797 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1798 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1799 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1800
1801 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1802
1803 Remove URL syntax.
1804
1805 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1806 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1807 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1808 (tramp-postfix-host-format, tramp-file-name-regexp)
1809 (tramp-completion-file-name-regexp)
1810 (tramp-completion-dissect-file-name)
1811 (tramp-handle-substitute-in-file-name): Remove 'url case.
1812 (tramp-file-name-regexp-url)
1813 (tramp-completion-file-name-regexp-url): Remove constants.
1814
1815 2013-09-06 Glenn Morris <rgm@gnu.org>
1816
1817 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1818
1819 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1820
1821 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1822 keywords" below "here-doc beginnings" (Bug#15270).
1823
1824 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * subr.el (pop): Use `car-safe'.
1827 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1828 to detect unused `pop' return value.
1829
1830 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1831 var `block-regexp'.
1832 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1833 (python-fill-string): Remove unused var `marker'.
1834 (python-skeleton-add-menu-items): Remove unused var `items'.
1835
1836 * international/mule-cmds.el: Require CL.
1837 (find-coding-systems-for-charsets): Avoid add-to-list.
1838 (sanitize-coding-system-list): New function, extracted from
1839 select-safe-coding-system-interactively.
1840 (select-safe-coding-system-interactively): Use it.
1841 (read-input-method-name): Accept symbols for `default'.
1842
1843 * emacs-lisp/advice.el (defadvice): Add indent rule.
1844
1845 2013-09-05 Daniel Hackney <dan@haxney.org>
1846
1847 * dired-x.el:
1848 * net/ange-ftp.el:
1849 * net/browse-url.el:
1850 * net/dbus.el:
1851 * net/eudc.el:
1852 * net/eudcb-ldap.el:
1853 * net/eww.el:
1854 * net/imap.el:
1855 * printing.el:
1856 * vc/ediff-diff.el:
1857 * vc/ediff-init.el:
1858 * vc/ediff-merg.el:
1859 * vc/ediff-mult.el:
1860 * vc/ediff-util.el:
1861 * vc/ediff-wind.el:
1862 * vc/ediff.el:
1863 * vc/emerge.el:
1864 * vc/pcvs.el:
1865 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1866 byte compiler. Remove some unused let-bound variables.
1867
1868 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1871 a "ref-cell", since it gets better optimized (bug#14883).
1872
1873 2013-09-05 Glenn Morris <rgm@gnu.org>
1874
1875 * progmodes/cc-awk.el (c-forward-sws): Declare.
1876
1877 2013-09-04 Glenn Morris <rgm@gnu.org>
1878
1879 * generic-x.el [rul-generic-mode]: Require cc-mode.
1880 (c++-mode-syntax-table): Declare.
1881 (rul-generic-mode-syntax-table): Init in the defvar.
1882
1883 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1884
1885 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1886 (vc-do-command, vc-set-async-update):
1887 * vc/vc-mtn.el (vc-mtn-dir-status):
1888 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1889 (vc-hg-pull, vc-hg-merge-branch):
1890 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1891 (vc-git-merge-branch):
1892 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1893 (vc-cvs-dir-status-files):
1894 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1895 (vc-bzr-dir-status-files):
1896 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1897 * vc/vc-annotate.el: Use lexical-binding.
1898 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1899 (vc-sentinel-movepoint): Declare.
1900 (vc-annotate): Don't use `goto-line'.
1901 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1902 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1903 (vc-sentinel-movepoint): Declare.
1904 * vc/vc-svn.el: Use lexical-binding.
1905 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1906 * vc/vc-sccs.el:
1907 * vc/vc-rcs.el: Use lexical-binding.
1908
1909 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1910 `deleted'. Don't drop errors silently.
1911
1912 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1913
1914 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1915
1916 * vc/vc.el (vc-ignore): Rewrite.
1917 (vc-default-ignore): New function.
1918 (vc-default-ignore-completion-table): Use find-ignore-file.
1919
1920 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1921 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1922 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1923 Remove. Most code moved to vc.el.
1924
1925 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1928 * net/tramp-smb.el (tramp-smb-get-file-entries):
1929 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1930 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1931
1932 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1933 Update call to it.
1934 (eww-change-select): Remove unused var `properties'.
1935 (eww-make-unique-file-name): Remove unused var `base'.
1936
1937 * finder.el (finder-compile-keywords): Don't mess with windows.
1938
1939 * calculator.el (calculator-funcall): Fix typo in last change.
1940
1941 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1942
1943 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1944 <pkg>-autoloads.el file stop us.
1945
1946 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1947 warnings, and factor out common code.
1948
1949 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1950
1951 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1952 two-character operators and whether the character preceding them
1953 changes their meaning (Bug#15208).
1954
1955 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1956
1957 Format code sent to Python shell for robustness.
1958 * progmodes/python.el (python-shell-buffer-substring):
1959 New function.
1960 (python-shell-send-region, python-shell-send-buffer): Use it.
1961
1962 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1963
1964 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1965 * net/tramp.el (tramp-user-error): ... here.
1966 (tramp-find-method, tramp-check-proper-host)
1967 (tramp-dissect-file-name, tramp-debug-message)
1968 (tramp-handle-shell-command):
1969 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1970 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1971
1972 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1973
1974 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1975
1976 * avoid.el (mouse-avoidance-point-position)
1977 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1978 returns nil.
1979
1980 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1981
1982 * progmodes/python.el (python-shell-completion-get-completions):
1983 Drop use of deleted `comint-last-prompt-overlay'.
1984 (python-nav-if-name-main): New command.
1985
1986 2013-09-01 Glenn Morris <rgm@gnu.org>
1987
1988 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1989 Avoid leading space in $wins. Otherwise the sed command used by
1990 eg compile-main ends up containing "/*.el". (Bug#15170)
1991
1992 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1993
1994 2013-08-30 Glenn Morris <rgm@gnu.org>
1995
1996 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1997 Fix is-this-a-directory logic. (Bug#15220)
1998
1999 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * textmodes/css-mode.el: Use SMIE.
2002 (css-smie-grammar): New var.
2003 (css-smie--forward-token, css-smie--backward-token)
2004 (css-smie-rules): New functions.
2005 (css-mode): Use them.
2006 (css-navigation-syntax-table): Remove var.
2007 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2008 (css-indent-calculate, css-indent-line): Remove functions.
2009
2010 Misc changes to reduce use of `(lambda...); and other cleanups.
2011 * cus-edit.el: Use lexical-binding.
2012 (customize-push-and-save, customize-apropos)
2013 (custom-buffer-create-internal): Use closures.
2014 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2015 * progmodes/ada-xref.el: Use setq.
2016 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2017 * dframe.el: Use lexical-binding.
2018 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2019 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2020 * descr-text.el: Use lexical-binding.
2021 (describe-text-widget, describe-text-sexp, describe-property-list):
2022 Use closures.
2023 * comint.el (comint-history-isearch-push-state): Use a closure.
2024 * calculator.el: Use lexical-binding.
2025 (calculator-number-to-string): Make it work with lexical-binding.
2026 (calculator-funcall): Same and use cl-letf.
2027
2028 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2029 (lisp--company-doc-string, lisp--company-location): New functions.
2030 (lisp-completion-at-point): Use them to improve Company support.
2031
2032 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2033 params of lambda expressions.
2034 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2035 (ruby-smie--opening-pipe-p): New function.
2036 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2037 symbols and matched |...| for formal params.
2038 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2039 from being treated as hanging. Handle "rescue".
2040
2041 2013-08-29 Glenn Morris <rgm@gnu.org>
2042
2043 * progmodes/cc-engine.el (c-pull-open-brace):
2044 Move definition before use.
2045
2046 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2049 are immutable. Don't use `unsafe' any more.
2050 (cl--defsubst-expand): Don't substitute at the same time as keeping
2051 a residual unused let-binding. Don't use `unsafe' any more.
2052
2053 2013-08-29 Glenn Morris <rgm@gnu.org>
2054
2055 * calendar/cal-china.el (calendar-chinese-year-cache):
2056 Recenter on 2015.
2057
2058 * nxml/nxml-util.el (nxml-debug-clear-inside):
2059 Use cl-loop rather than loop.
2060
2061 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2062
2063 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2064
2065 2013-08-28 Glenn Morris <rgm@gnu.org>
2066
2067 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2068
2069 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2070
2071 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2072
2073 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * simple.el (repeat-complex-command--called-interactively-skip):
2076 New function.
2077 (repeat-complex-command): Use it (bug#14136).
2078
2079 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2080 (c-define-abbrev-table): Add `doc' argument.
2081 (c-mode-abbrev-table, c++-mode-abbrev-table)
2082 (objc-mode-abbrev-table, java-mode-abbrev-table)
2083 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2084 (awk-mode-abbrev-table): Use it.
2085 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2086 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2087 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2088 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2089 Move initialization into the declaration; and remove any
2090 autoload cookie.
2091
2092 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2093 and dynamic let binding.
2094
2095 * vc/smerge-mode.el: Remove redundant :group args.
2096
2097 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2098 to load-path.
2099
2100 2013-08-28 Juri Linkov <juri@jurta.org>
2101
2102 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2103 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2104 (isearch-other-meta-char): Handle an undefined shifted printing
2105 character by downshifting it. (Bug#15200)
2106
2107 2013-08-28 Juri Linkov <juri@jurta.org>
2108
2109 * isearch.el (isearch-search): Change regexp error message for
2110 non-regexp searches. (Bug#15166)
2111
2112 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2113
2114 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2115 for portability to hosts where /bin/sh has problems.
2116
2117 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2120
2121 2013-08-27 Juri Linkov <juri@jurta.org>
2122
2123 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2124 in the keyboard macro. (Bug#15126)
2125
2126 2013-08-27 Juri Linkov <juri@jurta.org>
2127
2128 * isearch.el (isearch-quote-char): Comment out converting unibyte
2129 to multibyte, thus syncing with its `quoted-insert' counterpart.
2130 (Bug#15166)
2131
2132 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2133
2134 * window.el (display-buffer-use-some-window): Add missing
2135 argument in call of get-largest-window (Bug#15185).
2136 Reported by Stephen Leake.
2137
2138 2013-08-27 Glenn Morris <rgm@gnu.org>
2139
2140 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2141
2142 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2143
2144 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2145 from a matcher-function unless there's no more matches (bug#15161).
2146
2147 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2148
2149 * minibuffer.el: Revert change from 2013-08-20.
2150
2151 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2152 with text property `tramp-default', if appropriate.
2153 (tramp-check-proper-host): New defun.
2154 (tramp-dissect-file-name): Do not check hostname. Revert change
2155 of 2013-03-18.
2156 (tramp-backtrace): Make VEC-OR-PROC optional.
2157
2158 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2159 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2160 * net/tramp-sh.el (tramp-maybe-open-connection):
2161 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2162 Apply `tramp-check-proper-host'.
2163
2164 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2165
2166 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2167 lambda expression in order to have `describe-variable' display it.
2168
2169 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2170
2171 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2172 BUF can be optional. (Bug#15186)
2173
2174 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2175
2176 * progmodes/flymake.el (flymake-get-real-file-name-function):
2177 Fix broken customization. (Bug#15184)
2178
2179 2013-08-25 Alan Mackenzie <acm@muc.de>
2180
2181 Improve indentation of bracelists defined by macros (without "=").
2182
2183 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2184 expansion begins with "{", regard it as bracelist when it doesn't
2185 contain a ";".
2186
2187 Parse C++ inher-intro when there's a template split over 2 lines.
2188
2189 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2190 rigorously the search for "class" etc. followed by ":".
2191
2192 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2193 random languages a regexp which never matches rather than nil.
2194
2195 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2196
2197 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2198 (c-awk-regexp-one-line-possibly-open-char-list-re)
2199 (c-awk-one-line-possibly-open-regexp-re)
2200 (c-awk-one-line-non-syn-ws*-re): Remove.
2201 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2202 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2203 (c-awk-space*-unclosed-regexp-/-re): New constants.
2204 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2205 aren't regexp delimiters.
2206
2207 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2208 handling for a rare situation in AWK Mode involving unterminated
2209 strings/regexps.
2210
2211 2013-08-23 Glenn Morris <rgm@gnu.org>
2212
2213 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2214
2215 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2216
2217 * files.el (create-file-buffer): If the result would begin with
2218 spaces, prepend a "|" instead of removing them. (Bug#15162)
2219
2220 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2223 text-properties (bug#15155).
2224
2225 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2226 exist any more.
2227 (calc-keypad-redraw): Remove unused var `pad'.
2228 (calc-keypad-press): Remove unused var `menu'.
2229
2230 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2231
2232 * window.el (display-buffer-pop-up-frame):
2233 Call pop-up-frame-function with BUFFER current so `make-frame' will
2234 use it as the new frame's buffer (Bug#15133).
2235
2236 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * calendar/timeclock.el: Minor cleanups.
2239 (timeclock-ask-before-exiting, timeclock-use-display-time):
2240 Use `symbol'.
2241 (timeclock-modeline-display): Define as alias before the
2242 actual definition.
2243 (timeclock-mode-line-display): Use define-minor-mode.
2244 (timeclock-day-list-template): Make it a function, add an argument.
2245 (timeclock-day-list-required, timeclock-day-list-length)
2246 (timeclock-day-list-debt, timeclock-day-list-span)
2247 (timeclock-day-list-break): Adjust calls accordingly.
2248
2249 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2252 Use read--expression so that completion works again.
2253
2254 2013-08-21 Sam Steingold <sds@gnu.org>
2255
2256 Add rudimentary inferior shell interaction
2257 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2258 (sh-set-shell): Reset it.
2259 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2260 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2261
2262 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * align.el: Use lexical-binding.
2265 (align-region): Simplify accordingly.
2266
2267 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2268
2269 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2270
2271 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2272 `non-essential' up.
2273
2274 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2275
2276 * net/tramp.el:
2277 * net/tramp-adb.el:
2278 * net/tramp-cmds.el:
2279 * net/tramp-ftp.el:
2280 * net/tramp-gvfs.el:
2281 * net/tramp-gw.el:
2282 * net/tramp-sh.el: Don't wrap external variable declarations by
2283 `eval-when-compile'.
2284
2285 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2286
2287 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2288 now that Emacs supports ImageMagick animations.
2289
2290 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2291
2292 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2293 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2294
2295 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2296
2297 * window.el (mouse-autoselect-window-select): Do autoselect when
2298 mouse pointer is on margin.
2299
2300 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2301
2302 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2303
2304 2013-08-16 Glenn Morris <rgm@gnu.org>
2305
2306 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2307 Handle "Remote Directory" response of some clients. (Bug#15058)
2308
2309 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2310 Tweak warning. (Bug#14926)
2311
2312 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2313 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2314
2315 * image-mode.el (image-mode-map): Add menu items to reverse,
2316 increase, decrease, reset animation speed.
2317 (image--set-speed, image-increase-speed, image-decrease-speed)
2318 (image-reverse-speed, image-reset-speed): New functions.
2319 (image-mode-map): Add bindings for speed commands.
2320
2321 * image.el (image-animate-get-speed, image-animate-set-speed):
2322 New functions.
2323 (image-animate-timeout): Respect image :speed property.
2324
2325 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2328 previous line (bug#15101).
2329 (debugger-eval-expression, debugger-record-expression):
2330 Use read--expression (bug#15102).
2331
2332 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2333
2334 Remove byte compiler warnings, visible when compiling with
2335 `byte-compile-force-lexical-warnings' set to t.
2336
2337 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2338 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2339 (tramp-handle-unhandled-file-name-directory)
2340 (tramp-handle-file-notify-add-watch, tramp-action-login)
2341 (tramp-action-succeed, tramp-action-permission-denied)
2342 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2343 arguments with "_".
2344
2345 * net/tramp-adb.el (tramp-adb-parse-device-names)
2346 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2347 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2348 (tramp-adb-handle-file-truename): Remove unused arguments.
2349
2350 * net/tramp-cache.el (tramp-flush-directory-property)
2351 (tramp-flush-connection-property, tramp-list-connections)
2352 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2353
2354 * net/tramp-compat.el (tramp-compat-make-temp-file):
2355 Rename FILENAME to F.
2356
2357 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2358 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2359 (tramp-zeroconf-parse-workstation-device-names)
2360 (tramp-zeroconf-parse-webdav-device-names)
2361 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2362
2363 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2364 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2365
2366 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2367 arguments.
2368 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2369 (tramp-sh-handle-insert-file-contents-literally)
2370 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2371 with "_".
2372 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2373 Remove unused variables.
2374
2375 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2376 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2377 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2378
2379 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2380 Make them a defconst.
2381 (tramp-uuencode-region): Remove unused variable.
2382
2383 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2384
2385 * frameset.el (frameset--prop-setter): New function.
2386 (frameset-prop): Add gv-setter declaration.
2387 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2388 parameter was already set in FILTERED. Doc fix.
2389 (frameset--record-minibuffer-relationships): Allow saving a
2390 minibufferless frame without its corresponding minibuffer frame.
2391 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2392 frame, if the frame id matches.
2393 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2394 frames before orphaned ones.
2395 (frameset-restore): Warn about orphaned windows, instead of error out.
2396
2397 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2398
2399 * window.el (window-make-atom): Don't overwrite parameter
2400 already present.
2401 (display-buffer-in-atom-window): Handle special case where we
2402 split an already atomic window.
2403 (window--major-non-side-window, display-buffer-in-side-window)
2404 (window--side-check): Ignore minibuffer window when walking
2405 window tree.
2406 (window-deletable-p): Return 'frame only if no other frame uses
2407 our minibuffer window.
2408 (record-window-buffer): Run buffer-list-update-hook.
2409 (split-window): Make sure window--check-frame won't destroy an
2410 existing atomic window in case the new window gets nested
2411 inside.
2412 (display-buffer-at-bottom): Ignore minibuffer window when
2413 walking window tree. Don't split a side window.
2414 (pop-to-buffer): Don't set-buffer here, the select-window call
2415 should do that.
2416 (mouse-autoselect-window-select): Autoselect only if we are in the
2417 text portion of the window.
2418
2419 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2420
2421 * net/shr.el (shr-parse-image-data): New function to grab both the
2422 data itself and the Content-Type.
2423 (shr-put-image): Use it.
2424
2425 * net/eww.el (eww-display-image): Ditto.
2426
2427 * image.el (image-content-type-suffixes): New variable.
2428
2429 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2430
2431 * progmodes/python.el (python-imenu--build-tree)
2432 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2433
2434 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2435
2436 * simple.el (backward-word): Mention the optional argument.
2437
2438 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2439
2440 * frameset.el (frameset--make): Rename constructor from make-frameset.
2441 (frameset-p, frameset-valid-p): Don't autoload.
2442 (frameset-valid-p): Use normal accessors.
2443
2444 2013-08-13 Glenn Morris <rgm@gnu.org>
2445
2446 * progmodes/compile.el (compile-command): Tweak example in doc.
2447 * obsolete/scribe.el (scribe-mode):
2448 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2449
2450 * mail/feedmail.el (feedmail-confirm-outgoing)
2451 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2452
2453 * cus-start.el (truncate-partial-width-windows): Fix type.
2454
2455 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2456
2457 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2458
2459 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * emacs-lisp/timer.el (timer--time-setter): New function.
2462 (timer--time): Use it as gv-setter.
2463
2464 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2465 setter is not a symbol.
2466
2467 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2468
2469 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2470 if sending fails. This makes debugging easier.
2471
2472 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2473
2474 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2475 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2476 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2477
2478 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2479
2480 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2481
2482 2013-08-12 Glenn Morris <rgm@gnu.org>
2483
2484 * format.el (format-annotate-function):
2485 Handle read-only text properties in the source. (Bug#14887)
2486
2487 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2488
2489 * net/eww.el (eww-display-html): Ignore coding system errors.
2490 One web site uses "utf-8lias" as the coding system.
2491
2492 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2493
2494 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2495
2496 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2497
2498 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2499 (tutorial--detailed-help): Remove unused local variables.
2500 (tutorial--save-tutorial-to): Use ignore-errors.
2501 (help-with-tutorial): Use looking-at-p.
2502
2503 * view.el (view-buffer-other-window, view-buffer-other-frame):
2504 Mark unused arguments.
2505
2506 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2507 (woman-select-symbol-fonts, woman, woman-find-file)
2508 (woman-insert-file-contents, woman-non-underline-faces):
2509 Use string-match-p.
2510 (woman1-unquote): Move declaration.
2511
2512 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2513 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2514 argument. Remove unused local variable.
2515 (xml-parse-elem-type): Use string-match-p.
2516 (xml-substitute-numeric-entities): Use ignore-errors.
2517
2518 * calculator.el (calculator): Mark unused argument.
2519 (calculator-paste, calculator-quit, calculator-integer-p):
2520 Use ignore-errors.
2521 (calculator-string-to-number, calculator-decimal, calculator-exp)
2522 (calculator-op-or-exp): Use string-match-p.
2523
2524 * dired.el (dired-buffer-more-recently-used-p): Declare.
2525 (dired-insert-set-properties, dired-insert-old-subdirs):
2526 Use ignore-errors.
2527
2528 * dired-aux.el (dired-compress): Use ignore-errors.
2529 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2530 (dired-do-async-shell-command, dired-do-shell-command)
2531 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2532 (dired-insert-subdir-validate): Use string-match-p.
2533 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2534 (dired-add-entry): Use string-match-p, looking-at-p.
2535 (dired-insert-subdir-newpos): Remove unused local variable.
2536
2537 * filenotify.el (file-notify-callback): Remove unused local variable.
2538
2539 * filesets.el (filesets-error): Mark unused argument.
2540 (filesets-which-command-p, filesets-filter-dir-names)
2541 (filesets-directory-files, filesets-get-external-viewer)
2542 (filesets-ingroup-get-data): Use string-match-p.
2543
2544 * find-file.el (ff-other-file-name, ff-other-file-name)
2545 (ff-find-the-other-file, ff-cc-hh-converter):
2546 Remove unused local variables.
2547 (ff-get-file-name): Use string-match-p.
2548 (ff-all-dirs-under): Use ignore-errors.
2549
2550 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2551 (follow-select-if-visible): Remove unused local variable.
2552
2553 * forms.el (read-file-filter): Move declaration.
2554 (forms--make-format, forms--make-parser, forms-insert-record):
2555 Quote function with #'.
2556 (forms--update): Use string-match-p. Quote function with #'.
2557
2558 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2559 (help-make-xrefs): Use looking-at-p.
2560 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2561
2562 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2563 (ibuffer-confirm-operation-on): Use string-match-p.
2564
2565 * msb.el (msb-item-handler, msb-dired-item-handler):
2566 Mark unused arguments.
2567
2568 * ses.el (ses-decode-cell-symbol)
2569 (ses-kill-override): Remove unused local variable.
2570 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2571 (ses-load): Use ignore-errors, looking-at-p.
2572 (ses-jump-safe): Use ignore-errors.
2573 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2574
2575 * tabify.el (untabify, tabify): Mark unused arguments.
2576
2577 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2578 Mark unused argument.
2579 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2580 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2581
2582 * emacs-lisp/timer.el (timer--time): Define setter with
2583 gv-define-setter to avoid deprecation warning.
2584
2585 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2586 (*record-cmpl-statistics-p*): Remove (was commented out).
2587 (cmpl-statistics-block): Remove (body was commented out).
2588 All callers changed.
2589 (add-completions-from-buffer, load-completions-from-file):
2590 Remove unused variables.
2591
2592 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2593
2594 * filecache.el (file-cache-delete-file-list):
2595 Print message only when told so.
2596 (file-cache-files-matching): Use #' in mapconcat argument.
2597
2598 * ffap.el (ffap-url-at-point): Fix reference to variable
2599 thing-at-point-default-mail-uri-scheme.
2600
2601 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * subr.el (define-error): New function.
2604 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2605 error-file-not-found and define with define-error.
2606 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2607 and define with define-error.
2608 * userlock.el (file-locked, file-supersession):
2609 * simple.el (mark-inactive):
2610 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2611 * progmodes/ada-mode.el (ada-mode-errors):
2612 * play/life.el (life-extinct):
2613 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2614 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2615 * nxml/rng-util.el (rng-error):
2616 * nxml/rng-uri.el (rng-uri-error):
2617 * nxml/rng-match.el (rng-compile-error):
2618 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2619 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2620 * nxml/nxml-rap.el (nxml-scan-error):
2621 * nxml/nxml-outln.el (nxml-outline-error):
2622 * net/soap-client.el (soap-error):
2623 * net/gnutls.el (gnutls-error):
2624 * net/ange-ftp.el (ftp-error):
2625 * mpc.el (mpc-proc-error):
2626 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2627 (json-number-format, json-string-escape, json-string-format)
2628 (json-key-format, json-object-format):
2629 * jka-compr.el (compression-error):
2630 * international/quail.el (quail-error):
2631 * international/kkc.el (kkc-error):
2632 * emacs-lisp/ert.el (ert-test-failed):
2633 * calc/calc.el (calc-error, inexact-result, math-overflow)
2634 (math-underflow):
2635 * bookmark.el (bookmark-error-no-filename):
2636 * epg.el (epg-error): Define with define-error.
2637
2638 * time.el (display-time-event-handler)
2639 (display-time-next-load-average): Don't call sit-for since it seems
2640 unnecessary (bug#15045).
2641
2642 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2643 Use #' instead of ' to quote functions.
2644 (checkdoc-output-mode): Use setq-local.
2645 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2646 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2647 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2648 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2649 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2650 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2651 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2652 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2653
2654 * ido.el (ido-completion-help): Fix up compiler warning.
2655
2656 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2657
2658 * frameset.el (frameset-p): Add autoload cookie.
2659 (frameset--jump-to-register): New function, based on code moved from
2660 register.el.
2661 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2662
2663 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2664 (frameset-restore, frameset-save, frameset-session-filter-alist):
2665 Remove declarations.
2666 (register-alist): Doc fix.
2667 (frameset-to-register): Move to frameset.el.
2668 (jump-to-register, describe-register-1): Remove frameset-specific code.
2669
2670 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2671
2672 * allout-widgets.el (allout-widgets-pre-command-business)
2673 (allout-widgets-post-command-business)
2674 (allout-widgets-after-change-handler)
2675 (allout-decorate-item-and-context, allout-set-boundary-marker)
2676 (allout-body-modification-handler)
2677 (allout-graphics-modification-handler): Mark ignored arguments.
2678 (allout-widgets-post-command-business)
2679 (allout-widgets-exposure-change-processor)
2680 (allout-widgets-exposure-undo-processor)
2681 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2682 (allout-parse-item-at-point, allout-decorate-item-guides)
2683 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2684 * allout.el (epa-passphrase-callback-function): Declare.
2685 (allout-overlay-insert-in-front-handler)
2686 (allout-overlay-interior-modification-handler)
2687 (allout-isearch-end-handler, allout-chart-siblings)
2688 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2689 (allout-yank-processing, allout-process-exposed)
2690 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2691 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2692 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2693 (lisp-indent-defform): Mark ignored arguments.
2694 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2695 (calculate-lisp-indent): Remove unused variables.
2696 * international/characters.el (indian-2-column, arabic-2-column)
2697 (tibetan): Mark ignored arguments.
2698 (use-cjk-char-width-table): Mark ignored arguments.
2699 Remove unused variables.
2700 * international/fontset.el (build-default-fontset-data)
2701 (x-compose-font-name, create-fontset-from-fontset-spec):
2702 Mark ignored arguments.
2703 (fontset-plain-name): Remove unused variables.
2704 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2705 (keyboard-coding-system): Mark ignored arguments.
2706 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2707 * help.el (resize-temp-buffer-window):
2708 * window.el (display-buffer-in-major-side-window)
2709 (display-buffer-in-side-window, display-buffer-in-previous-window):
2710 Remove unused variables.
2711 * isearch.el (isearch-forward-symbol):
2712 * version.el (emacs-bzr-version-bzr):
2713 * international/mule-cmds.el (current-language-environment):
2714 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2715 (x-handle-display):
2716 * term/pc-win.el (x-list-fonts, x-display-planes)
2717 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2718 (x-server-version, x-display-screens, x-display-mm-height)
2719 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2720 (x-selection-owner-p, x-own-selection-internal)
2721 (x-disown-selection-internal, x-get-selection-internal)
2722 (msdos-initialize-window-system):
2723 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2724 * term/x-win.el (x-handle-no-bitmap-icon):
2725 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2726 (vc-default-find-file-hook, vc-default-extra-menu):
2727 Mark ignored arguments.
2728
2729 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2732 break-condition in the context of the debugged code (bug#12685).
2733
2734 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2735
2736 * comint.el:
2737 Do not use an overlay to highlight the last prompt. (Bug#14744)
2738 (comint-mode): Make comint-last-prompt buffer local.
2739 (comint-last-prompt): New variable.
2740 (comint-last-prompt-overlay): Remove. Superseded by
2741 comint-last-prompt.
2742 (comint-snapshot-last-prompt, comint-output-filter):
2743 Use comint-last-prompt.
2744
2745 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2746
2747 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2748 (frameset-save): Check validity of the resulting frameset.
2749
2750 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2751
2752 * ido.el (ido-record-command): Add doc string.
2753
2754 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2755
2756 * frameset.el (frameset): Do not disable creation of the default
2757 frameset-p predicate. Doc fix.
2758 (frameset-valid-p): New function, copied from the old predicate-p.
2759 Add additional checks.
2760 (frameset-restore): Check with frameset-valid-p.
2761 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2762 (frameset-name, frameset-description, frameset-properties)
2763 (frameset-states): Add docstring.
2764 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2765 (frameset-filter-alist): Doc fixes.
2766
2767 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2768
2769 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2770
2771 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2772
2773 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2774 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2775 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2776 (byte-compile-normal-call): Remove obsolescence check.
2777
2778 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2779
2780 * frameset.el (frameset-restore): Doc fix.
2781
2782 * register.el (frameset-frame-id, frameset-frame-with-id)
2783 (frameset-p, frameset-restore, frameset-save): Declare.
2784 (register-alist): Document framesets.
2785 (frameset-session-filter-alist): Declare.
2786 (frameset-to-register): New function.
2787 (jump-to-register): Implement jumping to framesets. Doc fix.
2788 (describe-register-1): Describe framesets.
2789
2790 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2791
2792 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2793
2794 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2795 Use lexical-binding.
2796
2797 * frameset.el (frameset): Use type vector, not list (incompatible
2798 change). Do not declare a new constructor, use the default one.
2799 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2800 `name' and `description', respectively, and add read-only slot
2801 `timestamp'. Doc fixes.
2802 (frameset-copy, frameset-persistent-filter-alist)
2803 (frameset-filter-alist, frameset-switch-to-gui-p)
2804 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2805 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2806 (frameset-filter-iconified, frameset-keep-original-display-p):
2807 Doc fixes.
2808 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2809 Rename from frameset-filter-(save|restore)-param. All callers changed.
2810 Doc fix.
2811 (frameset-p): Adapt to change to vector and be more thorough.
2812 Change arg name to OBJECT. Doc fix.
2813 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2814 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2815 All callers changed.
2816 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2817 All callers changed.
2818 (frameset--record-minibuffer-relationships): Rename from
2819 frameset--process-minibuffer-frames. All callers changed.
2820 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2821 Use new default constructor (again). Doc fix.
2822 (frameset--find-frame-if): Rename from `frameset--find-frame.
2823 All callers changed.
2824 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2825 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2826 Doc fix.
2827 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2828 PARAMETERS and WINDOW-STATE, respectively.
2829 (frameset-restore): Add new keyword argument PREDICATE.
2830 Reset frameset--target-display to nil. Doc fix.
2831
2832 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2835 (bat-mode): Use it.
2836 (bat-mode-syntax-table): Mark \n as end-of-comment.
2837 (bat-font-lock-keywords): Remove comment rule.
2838
2839 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2840 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2841
2842 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2843 (byte-compile-callargs-warn): Use `push'.
2844 (byte-compile-arglist-warn): Ignore higher-order "calls".
2845 (byte-compile-file-form-autoload): Use `pcase'.
2846 (byte-compile-function-form): If quoting a symbol, check that it exists.
2847
2848 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2849
2850 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2851 and add a few popular commands found in batch files.
2852 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2853 (dos-mode): Doc fixes.
2854
2855 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2856
2857 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2858 (dos-mode): Use setq-local. Add space after "rem".
2859 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2860 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2861
2862 2013-08-07 Arni Magnusson <arnima@hafro.is>
2863
2864 * progmodes/dos.el: New file.
2865 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2866 dos-mode.
2867
2868 2013-08-06 Glenn Morris <rgm@gnu.org>
2869
2870 * calendar/calendar.el: Add new faces, and day-header-array.
2871 (calendar-weekday-header, calendar-weekend-header)
2872 (calendar-month-header): New faces.
2873 (calendar-day-header-construct): New function.
2874 (calendar-day-header-width): Also :set calendar-day-header-array.
2875 (calendar-american-month-header, calendar-european-month-header)
2876 (calendar-iso-month-header): Use calendar- faces.
2877 (calendar-generate-month):
2878 Use calendar-day-header-array for day headers; apply faces to them.
2879 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2880 (calendar-abbrev-construct): Add optional maxlen argument.
2881 (calendar-day-name-array): Doc fix.
2882 (calendar-day-name-array, calendar-abbrev-length)
2883 (calendar-day-abbrev-array):
2884 Also :set calendar-day-header-array, and maybe redraw.
2885 (calendar-day-header-array): New option. (Bug#15007)
2886 (calendar-font-lock-keywords): Set to nil and make obsolete.
2887 (calendar-day-name): Add option to use header array.
2888
2889 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2890
2891 * net/shr.el (shr-render-td): Remove debugging.
2892 (shr-render-td): Make width computation consistent by defaulting
2893 all zero-width columns to 10 characters. This may not be optimal,
2894 but it's at least consistent.
2895 (shr-make-table-1): Redo last change to fix the real problem in
2896 colspan handling.
2897
2898 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2899
2900 * files.el (cache-long-line-scans):
2901 Make obsolete alias to `cache-long-scans'.
2902
2903 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2904
2905 * frameset.el (frameset, frameset-filter-alist)
2906 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2907 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2908 (frameset-compute-pos): Rename from frameset--compute-pos,
2909 and add docstring.
2910 (frameset-move-onscreen): Use frameset-compute-pos.
2911 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2912
2913 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2914 Fix typos in docstrings.
2915
2916 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2917
2918 * frame.el (get-other-frame): Tiny cleanup.
2919
2920 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2921
2922 * vc/vc.el (vc-default-ignore-completion-table):
2923 Silence byte-compiler warning.
2924
2925 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2926 slot , which can indeed be nil.
2927 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2928 Move entry for `left' from persistent to live filter alist.
2929 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2930 Doc fixes.
2931 (frameset-filter-params): When restoring a frame, copy items added to
2932 `filtered', to avoid unwittingly modifying the original parameters.
2933 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2934 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2935
2936 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2937 to use looking-at-p instead of looking-at. (Bug#15028)
2938
2939 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 Revert introduction of isearch-filter-predicates (bug#14714).
2942 Rely on add-function instead.
2943 * isearch.el (isearch-filter-predicates): Rename it back to
2944 isearch-filter-predicate.
2945 (isearch-message-prefix): Use advice-function-mapc and advice
2946 properties to get the isearch-message-prefix.
2947 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2948 instead of run-hook-with-args-until-failure.
2949 (isearch-filter-visible): Not obsolete any more.
2950 * loadup.el: Preload nadvice.
2951 * replace.el (perform-replace): Revert to funcall
2952 instead of run-hook-with-args-until-failure.
2953 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2954 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2955 dired-isearch-filenames-toggle; make it into a proper minor mode.
2956 Use add/remove-function.
2957 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2958 Call the minor-mode rather than add/remove-hook.
2959 (dired-isearch-filter-filenames):
2960 Remove isearch-message-prefix property.
2961 * info.el (Info--search-loop): New function, extracted from Info-search.
2962 Funcall isearch-filter-predicate instead of
2963 run-hook-with-args-until-failure isearch-filter-predicates.
2964 (Info-search): Use it.
2965 (Info-mode): Use isearch-filter-predicate instead of
2966 isearch-filter-predicates.
2967
2968 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2969
2970 Do not call to `selected-window' where it is assumed by default.
2971 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2972 `window-hscroll', `window-width', `window-height', `window-buffer',
2973 `window-frame', `window-start', `window-point', `next-window'
2974 and `window-display-table'.
2975 * abbrev.el (abbrev--default-expand):
2976 * bs.el (bs--show-with-configuration):
2977 * buff-menu.el (Buffer-menu-mouse-select):
2978 * calc/calc.el (calc):
2979 * calendar/calendar.el (calendar-generate-window):
2980 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2981 (diary-make-entry):
2982 * comint.el (send-invisible, comint-dynamic-complete-filename)
2983 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2984 * completion.el (complete):
2985 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2986 * disp-table.el (describe-current-display-table):
2987 * doc-view.el (doc-view-insert-image):
2988 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2989 * ehelp.el (with-electric-help):
2990 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2991 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2992 * emacs-lisp/helper.el (Helper-help-scroller):
2993 * emulation/cua-base.el (cua--post-command-handler-1):
2994 * eshell/esh-mode.el (eshell-output-filter):
2995 * ffap.el (ffap-gnus-wrapper):
2996 * help-macro.el (make-help-screen):
2997 * hilit-chg.el (highlight-compare-buffers):
2998 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2999 * hl-line.el (global-hl-line-highlight):
3000 * icomplete.el (icomplete-simple-completing-p):
3001 * isearch.el (isearch-done):
3002 * jit-lock.el (jit-lock-stealth-fontify):
3003 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3004 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3005 * mpc.el (mpc-tagbrowser, mpc):
3006 * net/rcirc.el (rcirc-any-buffer):
3007 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3008 * play/landmark.el (landmark-max-width, landmark-max-height):
3009 * play/zone.el (zone):
3010 * progmodes/compile.el (compilation-goto-locus):
3011 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3012 * progmodes/etags.el (find-tag-other-window):
3013 * progmodes/fortran.el (fortran-column-ruler):
3014 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3015 * progmodes/verilog-mode.el (verilog-point-text):
3016 * reposition.el (reposition-window):
3017 * rot13.el (toggle-rot13-mode):
3018 * server.el (server-switch-buffer):
3019 * shell.el (shell-dynamic-complete-command)
3020 (shell-dynamic-complete-environment-variable):
3021 * simple.el (insert-buffer, set-selective-display)
3022 (delete-completion-window):
3023 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3024 (speedbar-recenter):
3025 * startup.el (fancy-splash-head):
3026 * textmodes/ispell.el (ispell-command-loop):
3027 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3028 * tutorial.el (help-with-tutorial):
3029 * vc/add-log.el (add-change-log-entry):
3030 * vc/compare-w.el (compare-windows):
3031 * vc/ediff-help.el (ediff-indent-help-message):
3032 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3033 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3034 (ediff-setup-control-frame):
3035 * vc/emerge.el (emerge-position-region):
3036 * vc/pcvs-util.el (cvs-bury-buffer):
3037 * window.el (walk-windows, mouse-autoselect-window-select):
3038 * winner.el (winner-set-conf, winner-undo): Related users changed.
3039
3040 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3041
3042 * frameset.el (frameset--set-id): Doc fix.
3043 (frameset-frame-id, frameset-frame-id-equal-p)
3044 (frameset-locate-frame-id): New functions.
3045 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3046 (frameset-restore): Use them.
3047
3048 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3049
3050 Do not call to `selected-frame' where it is assumed by default.
3051 Affected functions are `raise-frame', `redraw-frame',
3052 `frame-first-window', `frame-terminal' and `delete-frame'.
3053 * calendar/appt.el (appt-disp-window):
3054 * epg.el (epg-wait-for-completion):
3055 * follow.el (follow-delete-other-windows-and-split)
3056 (follow-avoid-tail-recenter):
3057 * international/mule.el (set-terminal-coding-system):
3058 * mail/rmail.el (rmail-mail-return):
3059 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3060 * progmodes/f90.el (f90-add-imenu-menu):
3061 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3062 * server.el (server-switch-buffer):
3063 * simple.el (delete-completion-window):
3064 * talk.el (talk):
3065 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3066 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3067 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3068 * vc/ediff.el (ediff-documentation): Related users changed.
3069 * frame.el (selected-terminal): Remove the leftover.
3070
3071 2013-08-05 Glenn Morris <rgm@gnu.org>
3072
3073 * calendar/calendar.el (calendar-generate-month):
3074 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3075 (calendar-generate-month, calendar-font-lock-keywords):
3076 Fix for calendar-day-header-width > length of any day name.
3077
3078 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3079
3080 * desktop.el (desktop-clear): Use new name of sort predicate.
3081
3082 * frameset.el (frameset): Add docstring. Move :version property to its
3083 own `version' slot.
3084 (frameset-copy): Rename from copy-frameset.
3085 (frameset-p): Check more thoroughly.
3086 (frameset-prop): Do not check for :version, which is no longer a prop.
3087 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3088 Use new :never value instead of t.
3089 (frameset-filter-alist): Expand and clarify docstring.
3090 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3091 (frameset-filter-minibuffer, frameset-filter-save-param)
3092 (frameset-filter-restore-param, frameset-filter-iconified):
3093 Add pointer to docstring of frameset-filter-alist.
3094 (frameset-filter-params): Rename filter values to be more meaningful:
3095 :never instead of t, and reverse the meanings of :save and :restore.
3096 (frameset--process-minibuffer-frames): Clarify error message.
3097 (frameset-save): Avoid unnecessary and confusing call to framep.
3098 Use new BOA constructor for framesets.
3099 (frameset--reuse-list): Doc fix.
3100 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3101 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3102 (frameset-minibufferless-first-p): Doc fix.
3103 Rename from frameset-sort-frames-for-deletion.
3104 (frameset-restore): Doc fixes. Use new function names.
3105 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3106
3107 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3108
3109 * desktop.el (desktop-restore-forces-onscreen)
3110 (desktop-restore-reuses-frames): Document :keyword constant values.
3111 (desktop-filter-parameters-alist): Remove, now identical to
3112 frameset-filter-alist.
3113 (desktop--filter-tty*): Remove, moved to frameset.el.
3114 (desktop-save-frameset, desktop-restore-frameset):
3115 Do not pass :filters argument.
3116
3117 * frameset.el (frameset-live-filter-alist)
3118 (frameset-persistent-filter-alist): New variables.
3119 (frameset-filter-alist): Use them. Add autoload cookie.
3120 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3121 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3122 `frameset--id' (it's supposed to be internal to frameset.el).
3123 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3124 (frameset--initial-params): New function.
3125 (frameset--get-frame): Use it. Doc fix.
3126 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3127 Accept :all, not 'all.
3128 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3129 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3130 with fbound symbols. Fix frame id matching, and remove matching ids if
3131 the frame being restored is deleted. Obey :delete.
3132
3133 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3134
3135 * subr.el (macrop): New function.
3136 (text-clone--maintaining): New var.
3137 (text-clone--maintain): Rename from text-clone-maintain. Use it
3138 instead of inhibit-modification-hooks.
3139
3140 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3141 a proxy, so as handle autoloads and redefinitions of the target.
3142 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3143
3144 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3145 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3146 (pcase--mutually-exclusive-p): New function.
3147 (pcase--split-consp): Use it.
3148 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3149 mutually exclusive with the current predicate.
3150
3151 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3152 (edebug-macrop): Remove. Use `macrop' instead.
3153 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3154 (ad-macro-p):
3155 * eshell/esh-cmd.el (eshell-macrop):
3156 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3157
3158 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3161 (advice-mapc): New function, using it.
3162 (advice-function-member-p): New function.
3163 (advice--normalize): Store the cdr in advice--saved-rewrite since
3164 that's the part that will be changed.
3165 (advice--symbol-function): New function.
3166 (advice-remove): Handle removal before the function is defined.
3167 Adjust to new advice--saved-rewrite.
3168 (advice-member-p): Use advice-function-member-p and
3169 advice--symbol-function.
3170
3171 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3172
3173 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3174 (frameset-filter-minibuffer): Doc fix.
3175 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3176 (frameset--set-id, frameset--process-minibuffer-frames)
3177 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3178 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3179
3180 * desktop.el (desktop-clear): Only delete frames when called
3181 interactively and desktop-restore-frames is non-nil. Doc fix.
3182 (desktop-read): Set desktop-saved-frameset to nil.
3183
3184 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3185
3186 * vc/vc.el (vc-ignore): Rewrite.
3187 (vc-default-ignore-completion-table):
3188 (vc--read-lines):
3189 (vc--add-line, vc--remove-regexp): New functions.
3190
3191 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3192 (vc-svn-ignore-completion-table): New function.
3193
3194 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3195 (vc-hg-ignore-completion-table):
3196 (vc-hg-find-ignore-file): New functions.
3197
3198 * vc/vc-git.el (vc-git-ignore): Rewrite.
3199 (vc-git-ignore-completion-table):
3200 (vc-git-find-ignore-file): New functions.
3201
3202 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3203
3204 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3205 (vc-bzr-ignore-completion-table):
3206 (vc-bzr-find-ignore-file): New functions.
3207
3208 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3209
3210 * frameset.el (frameset-prop): New function and setter.
3211 (frameset-save): Do not modify frame list passed by the caller.
3212
3213 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3216
3217 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3220 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3221
3222 * custom.el (custom-initialize-default, custom-initialize-set)
3223 (custom-initialize-reset, custom-initialize-changed): Affect the
3224 toplevel-default-value (bug#6275, bug#14586).
3225 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3226 for bug#6275.
3227
3228 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3229
3230 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3231 Add cl-def* expressions.
3232
3233 * frameset.el (frameset-filter-params): Fix order of arguments.
3234
3235 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3236
3237 Move code related to saving frames to frameset.el.
3238 * desktop.el: Require frameset.
3239 (desktop-restore-frames): Doc fix.
3240 (desktop-restore-reuses-frames): Rename from
3241 desktop-restoring-reuses-frames.
3242 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3243 (desktop-clear): Clear frames too.
3244 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3245 (desktop--filter-tty*, desktop-save, desktop-read):
3246 Use frameset functions.
3247 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3248 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3249 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3250 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3251 (desktop--process-minibuffer-frames, desktop-save-frames)
3252 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3253 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3254 (desktop--sort-states, desktop-restoring-frames-p)
3255 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3256 (desktop-restoring-frameset-p, desktop-restore-frameset)
3257 (desktop--check-dont-save, desktop-save-frameset): New functions.
3258 (desktop--app-id): New constant.
3259 (desktop-first-buffer, desktop-buffer-ok-count)
3260 (desktop-buffer-fail-count): Move before first use.
3261 * frameset.el: New file.
3262
3263 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * files.el: Use lexical-binding.
3266 (dir-locals-read-from-file): Remove unused `err' variable.
3267 (hack-dir-local-variables--warned-coding): New var.
3268 (hack-dir-local-variables): Use it to avoid repeated warnings.
3269 (make-backup-file-name--default-function): New function.
3270 (make-backup-file-name-function): Use it as default.
3271 (buffer-stale--default-function): New function.
3272 (buffer-stale-function): Use it as default.
3273 (revert-buffer-insert-file-contents--default-function): New function.
3274 (revert-buffer-insert-file-contents-function): Use it as default.
3275 (insert-directory): Avoid add-to-list.
3276
3277 * autorevert.el (auto-revert-handler): Simplify.
3278 Use buffer-stale--default-function.
3279
3280 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3281
3282 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3283
3284 * whitespace.el (whitespace-ensure-local-variables): New function.
3285 (whitespace-cleanup-region): Call it.
3286 (whitespace-turn-on): Call it.
3287
3288 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3289
3290 Complete file name handlers.
3291
3292 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3293 (tramp-handle-verify-visited-file-modtime)
3294 (tramp-handle-file-notify-rm-watch): New functions.
3295 (tramp-call-process): Do not bind `default-directory'.
3296
3297 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3298 Order alphabetically.
3299 [access-file, add-name-to-file, dired-call-process]:
3300 [dired-compress-file, file-acl, file-notify-rm-watch]:
3301 [file-ownership-preserved-p, file-selinux-context]:
3302 [make-directory-internal, make-symbolic-link, set-file-acl]:
3303 [set-file-selinux-context, set-visited-file-modtime]:
3304 [verify-visited-file-modtime]: Add handler.
3305 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3306
3307 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3308 [file-notify-add-watch, file-notify-rm-watch]:
3309 [set-file-times, set-visited-file-modtime]:
3310 [verify-visited-file-modtime]: Add handler.
3311 (with-tramp-gvfs-error-message)
3312 (tramp-gvfs-handle-set-visited-file-modtime)
3313 (tramp-gvfs-fuse-file-name): Remove.
3314 (tramp-gvfs-handle-file-notify-add-watch)
3315 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3316 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3317
3318 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3319 Order alphabetically.
3320 [file-notify-rm-watch ]: Use default Tramp handler.
3321 [executable-find]: Remove private handler.
3322 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3323 `default-directory'.
3324 (tramp-sh-handle-executable-find)
3325 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3326 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3327 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3328 Do not use `format' in `tramp-message'.
3329
3330 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3331 [file-notify-rm-watch, set-visited-file-modtime]:
3332 [verify-visited-file-modtime]: Add handler.
3333 (tramp-smb-call-winexe): Do not bind `default-directory'.
3334
3335 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3336
3337 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3338
3339 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3340
3341 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3342 use it.
3343 (log-view-diff-changeset): Same.
3344 (log-view-diff-common): Call backend command `previous-revision'
3345 to find out the previous revision, in both cases. Swap the
3346 variables `to' and `fr', so that `fr' usually refers to the
3347 earlier revision (Bug#14989).
3348
3349 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3350
3351 * ibuf-ext.el (ibuffer-filter-by-filename):
3352 Make it work with dired buffers too.
3353
3354 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3355
3356 * emacs-lisp/re-builder.el (reb-color-display-p):
3357 * files.el (save-buffers-kill-terminal):
3358 * net/browse-url.el (browse-url):
3359 * server.el (server-save-buffers-kill-terminal):
3360 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3361 Prefer nil to selected-frame for the first arg of frame-parameter.
3362
3363 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3364
3365 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3366
3367 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3368
3369 * minibuffer.el (completion--twq-all): Try and preserve each
3370 completion's case choice (bug#14907).
3371
3372 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3373
3374 * net/network-stream.el (open-network-stream): Mention the new
3375 :nogreeting parameter.
3376 (network-stream-open-starttls): Use the :nogreeting parameter
3377 (bug#14938).
3378
3379 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3380
3381 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3382 more natural than popping.
3383
3384 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3385 (shr-urlify): Highlight under mouse.
3386
3387 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3388
3389 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3390
3391 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3392
3393 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3394 buffer for output.
3395
3396 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3397 point-min==1. Fix search string. Fix parentheses missing.
3398
3399 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3400 assume point-min==1. Fix search string. Fix parentheses missing.
3401
3402 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3403
3404 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3405 buffer for output.
3406
3407 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3408
3409 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3410 initial frame is minibuffer-less. (Bug#14841)
3411
3412 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3415 option.
3416
3417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3418 (tramp-maybe-open-connection): Use it.
3419
3420 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3421
3422 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3423 minimal set of parameters passed when creating a frame, because
3424 the minibuffer status of a frame cannot be changed later.
3425
3426 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3427
3428 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3429 replace-regexp-in-string and inadvertent omissions in previous change.
3430 (todo-filter-items): Ensure only file names are comma-separated in
3431 name of filtered items buffer.
3432
3433 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3434
3435 * desktop.el: Optionally force offscreen frames back onscreen.
3436 (desktop-restoring-reuses-frames): New option.
3437 (desktop--compute-pos, desktop--move-onscreen): New functions.
3438 (desktop--make-frame): Use desktop--move-onscreen.
3439
3440 2013-07-27 Alan Mackenzie <acm@muc.de>
3441
3442 Fontify a Java generic method as a function.
3443 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3444 value to t.
3445
3446 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3447
3448 * calendar/todo-mode.el: Add command to rename todo files.
3449 (todo-rename-file): New command.
3450 (todo-key-bindings-t): Add key binding for it. Change the
3451 bindings of todo-filter-regexp-items(-multifile) to use `x'
3452 instead of `r', since the latter is better suited to the new
3453 renaming command.
3454
3455 2013-07-27 Alan Mackenzie <acm@muc.de>
3456
3457 Make Java try-with-resources statement parse properly.
3458 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3459 (c-block-stmt-1-2-key): New language constants/variables.
3460 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3461 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3462 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3463 with c-block-stmt-1-2-key.
3464
3465 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3466
3467 * desktop.el (desktop--make-frame): Apply most frame parameters after
3468 creating the frame to force (partially or totally) offscreen frames to
3469 be restored as such.
3470
3471 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3472
3473 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3474 (Bug#14948)
3475
3476 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3479 `base' arg of backtrace-frame.
3480
3481 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3482
3483 * simple.el (list-processes): Doc fix.
3484
3485 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3486
3487 * desktop.el (desktop--select-frame):
3488 Try harder to reuse existing frames.
3489
3490 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3493 (edebug-eval): Use backtrace-eval.
3494 (edebug--display, edebug--recursive-edit): Don't let-bind the
3495 edebug-outer-* vars that keep track of variables we locally let-bind.
3496 (edebug-outside-excursion): Don't restore outside values of locally
3497 let-bound vars.
3498 (edebug--display): Use user-error.
3499 (cl-lexical-debug, cl-debug-env): Remove.
3500
3501 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3502
3503 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3504 are restored to be sure that they are visible before deleting any
3505 remaining ones.
3506
3507 2013-07-26 Matthias Meulien <orontee@gmail.com>
3508
3509 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3510 vc-print-root-log. (Bug#14948)
3511
3512 2013-07-26 Richard Stallman <rms@gnu.org>
3513
3514 Add aliases for encrypting mail.
3515 * epa.el (epa-mail-aliases): New option.
3516 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3517 Bind inhibit-read-only so read-only text doesn't ruin everything.
3518 (epa-mail-default-recipients): New subroutine broken out.
3519 Handle epa-mail-aliases.
3520
3521 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 Add support for lexical variables to the debugger's `e' command.
3524 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3525 vars, except for debugger-outer-match-data.
3526 (debugger-frame-number): Move check for "on a function call" from
3527 callers into it. Add `skip-base' argument.
3528 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3529 (debugger-env-macro): Only reset the state stored in non-variables,
3530 i.e. current-buffer and match-data.
3531 (debugger-eval-expression): Rewrite using backtrace-eval.
3532 * subr.el (internal--called-interactively-p--get-frame): Remove.
3533 (called-interactively-p):
3534 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3535 `base' arg of backtrace-frame instead.
3536
3537 2013-07-26 Glenn Morris <rgm@gnu.org>
3538
3539 * align.el (align-regexp): Doc fix. (Bug#14857)
3540 (align-region): Explicit error if subexpression missing/does not match.
3541
3542 * simple.el (global-visual-line-mode):
3543 Do not duplicate the mode lighter. (Bug#14858)
3544
3545 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3546
3547 * window.el (display-buffer): In display-buffer bind
3548 split-window-keep-point to t, bug#14829.
3549
3550 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3551
3552 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3553 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3554 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3555 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3556 Change accordingly.
3557 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3558 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3559
3560 2013-07-25 Glenn Morris <rgm@gnu.org>
3561
3562 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3563
3564 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3565
3566 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3567 parameter to modify-frame-parameters if the value has not changed;
3568 this is a workaround for bug#14949.
3569 (desktop--make-frame): On cl-delete-if call, check parameter name,
3570 not full parameter.
3571
3572 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3573
3574 * vc/vc.el (vc-ignore): New function.
3575
3576 * vc/vc-svn.el (vc-svn-ignore): New function.
3577
3578 * vc/vc-hg.el (vc-hg-ignore): New function.
3579
3580 * vc/vc-git.el (vc-git-ignore): New function.
3581
3582 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3583 (vc-dir-ignore): New function.
3584
3585 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3586 (cvs-append-to-ignore): Move here from pcvs.el.
3587
3588 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3589
3590 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3591
3592 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3593
3594 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3595 (desktop-restore-frames): Warn when deleting an existing frame failed.
3596
3597 2013-07-24 Glenn Morris <rgm@gnu.org>
3598
3599 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3600
3601 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3602
3603 * filenotify.el (file-notify-supported-p):
3604 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3605 Remove functions.
3606
3607 * autorevert.el (auto-revert-use-notify):
3608 (auto-revert-notify-add-watch):
3609 * net/tramp.el (tramp-file-name-for-operation):
3610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3611 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3612 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3613 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3614 Remove `file-notify-supported-p' entry.
3615
3616 2013-07-24 Glenn Morris <rgm@gnu.org>
3617
3618 * printing.el: Replace all uses of deleted ps-windows-system,
3619 ps-lp-system, ps-flatten-list with lpr- versions.
3620
3621 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3622
3623 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3624 checked with memq (bug#14935).
3625
3626 * files.el (revert-buffer-function): Use a non-nil default.
3627 (revert-buffer-preserve-modes): Declare var to
3628 provide access to the `preserve-modes' argument.
3629 (revert-buffer): Let-bind it.
3630 (revert-buffer--default): New function, extracted from revert-buffer.
3631
3632 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * lpr.el: Signal print errors more prominently.
3635 (print-region-function): Don't default to nil.
3636 (lpr-print-region): New function, extracted from print-region-1.
3637 Check lpr's return value and signal an error in case of problem.
3638 (print-region-1): Use it.
3639 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3640 versions instead.
3641 (ps-printer-name): Default to nil.
3642 (ps-printer-name-option): Default to lpr-printer-switch.
3643 (ps-print-region-function): Don't default to nil.
3644 (ps-postscript-code-directory): Simplify default.
3645 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3646 (ps-string-list, ps-eval-switch, ps-flatten-list)
3647 (ps-flatten-list-1): Remove.
3648 (ps-multibyte-buffer): Avoid setq.
3649 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3650 (print-region-function, ps-print-region-function): Don't set them here.
3651
3652 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3653
3654 * ido.el (ido-fractionp):
3655 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3656 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3657 (ido-max-directory-size, ido-max-dir-file-cache)
3658 (ido-decorations): Doc fix.
3659
3660 * ansi-color.el: Fix old URL.
3661
3662 2013-07-23 Michael R. Mauger <michael@mauger.com>
3663
3664 * progmodes/sql.el: Version 3.3
3665 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3666 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3667 (sql-interactive-remove-continuation-prompt): Rewrite, use
3668 functions above. Fix continuation prompt and complete output line
3669 handling.
3670 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3671 redirected output buffer.
3672 (sql-mode): Restore deleted code (Bug#13591).
3673
3674 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3675
3676 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3677
3678 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3679
3680 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3681
3682 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3683 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3684 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3685
3686 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3687
3688 * desktop.el (desktop-clear): Simplify; remove useless checks
3689 against invalid buffer names.
3690 (desktop-list*): Use cl-list*.
3691 (desktop-buffer-info, desktop-create-buffer): Simplify.
3692
3693 2013-07-23 Leo Liu <sdl.web@gmail.com>
3694
3695 * bookmark.el (bookmark-make-record): Restore NAME as a default
3696 value. (Bug#14933)
3697
3698 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3701 extracted from autoload--insert-text.
3702 (autoload--insert-text): Remove.
3703 (autoload--print-cookie-text): New function, extracted from
3704 autoload--insert-cookie-text.
3705 (autoload--insert-cookie-text): Remove.
3706 (autoload-generate-file-autoloads): Adjust calls accordingly.
3707
3708 * winner.el (winner-hook-installed-p): Remove.
3709 (winner-mode): Simplify accordingly.
3710
3711 * subr.el (add-to-list): Fix compiler-macro when `append' is
3712 not constant. Don't use `cl-member' for the base case.
3713
3714 * progmodes/subword.el: Fix boundary case (bug#13758).
3715 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3716 own group.
3717 (subword-backward-regexp): Make it a constant.
3718 (subword-forward-internal): Don't treat a trailing capital as the
3719 beginning of a word.
3720
3721 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3722
3723 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3724 global value of tabulated-list-revert-hook (bug#14930).
3725
3726 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3727
3728 * desktop.el: Require 'cl-lib.
3729 (desktop-before-saving-frames-functions): New hook.
3730 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3731 for frames being saved. Rename from desktop--save-minibuffer-frames.
3732 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3733 Do not save frames with non-nil `desktop-dont-save' parameter.
3734 Filter out deleted frames.
3735 (desktop--find-frame): Use cl-find-if.
3736 (desktop--select-frame): Use cl-(first|second|third) to access values
3737 of desktop-mini.
3738 (desktop--make-frame): Use cl-delete-if.
3739 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3740 (desktop-restore-frames): Use cl-(first|second|third) to access values
3741 of desktop-mini. Look for visible frame at the end, not while
3742 restoring frames.
3743
3744 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3745 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3746 Use string-match-p, looking-at-p (bug#14927).
3747
3748 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3749
3750 * desktop.el (desktop-saved-frame-states):
3751 Rename from desktop--saved-states; all users changed.
3752 (desktop-save-frames): Rename from desktop--save-frames.
3753 Do not save state to desktop file.
3754 (desktop-save): Save desktop-saved-frame-states to desktop file
3755 and reset to nil.
3756 (desktop-restoring-frames-p): New function.
3757 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3758 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3759 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3760
3761 * desktop.el: Correctly restore iconified frames.
3762 (desktop--filter-iconified-position): New function.
3763 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3764
3765 2013-07-20 Glenn Morris <rgm@gnu.org>
3766
3767 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3768 Let `message' do the formatting.
3769 (def-gdb-preempt-display-buffer): Add explicit format.
3770
3771 * image-dired.el (image-dired-track-original-file):
3772 Use with-current-buffer.
3773 (image-dired-track-thumbnail): Use with-current-buffer.
3774 Avoid changing point of wrong window.
3775
3776 * image-dired.el (image-dired-track-original-file):
3777 Avoid changing point of wrong window. (Bug#14909)
3778
3779 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3780
3781 * progmodes/gdb-mi.el (gdb-done-or-error):
3782 Guard against "%" in gdb output. (Bug#14127)
3783
3784 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3785
3786 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3787 (Bug#14826)
3788
3789 * international/mule.el (coding-system-iso-2022-flags): Fix last
3790 change.
3791
3792 2013-07-20 Kenichi Handa <handa@gnu.org>
3793
3794 * international/mule.el (coding-system-iso-2022-flags):
3795 Add `8-bit-level-4'. (Bug#8522)
3796
3797 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3798
3799 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3800 (bug#14815).
3801
3802 * net/eww.el (eww-process-text-input): Allow inputting when the
3803 point is at the start of the line, as the properties aren't
3804 front-sticky.
3805
3806 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3807 degenerate widths.
3808
3809 2013-07-19 Richard Stallman <rms@gnu.org>
3810
3811 * epa.el (epa-popup-info-window): Doc fix.
3812
3813 * subr.el (split-string): New arg TRIM.
3814
3815 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3816
3817 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3818 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3819
3820 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3821
3822 * filenotify.el (file-notify--library): Rename from
3823 `file-notify-support'. Do not autoload. Adapt all uses.
3824 (file-notify-supported-p): New defun.
3825
3826 * autorevert.el (auto-revert-use-notify):
3827 Use `file-notify-supported-p' instead of `file-notify-support'.
3828 Adapt docstring.
3829 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3830
3831 * net/tramp.el (tramp-file-name-for-operation):
3832 Add `file-notify-supported-p'.
3833
3834 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3835 New defun.
3836 (tramp-sh-file-name-handler-alist): Add it as handler for
3837 `file-notify-supported-p '.
3838
3839 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3840 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3841 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3842 Add `ignore' as handler for `file-notify-*' functions.
3843
3844 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3845
3846 * simple.el (line-move-partial, line-move): Don't start vscroll or
3847 scroll-up if the current line is not taller than the window.
3848 (Bug#14881)
3849
3850 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3851
3852 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3853 highlight question marks in the method names as strings.
3854 (ruby-block-beg-keywords): Inline.
3855 (ruby-font-lock-keyword-beg-re): Extract from
3856 `ruby-font-lock-keywords'.
3857
3858 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3859
3860 * frame.el (blink-cursor-blinks): New defcustom.
3861 (blink-cursor-blinks-done): New defvar.
3862 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3863 (blink-cursor-timer-function): Check if number of blinks has been
3864 done on X and NS.
3865 (blink-cursor-suspend, blink-cursor-check): New defuns.
3866
3867 2013-07-15 Glenn Morris <rgm@gnu.org>
3868
3869 * edmacro.el (edmacro-format-keys): Fix previous change.
3870
3871 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3872
3873 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3874 The hack didn't work outside English locales anyway.
3875
3876 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3877
3878 * simple.el (define-alternatives): Rename from alternatives-define,
3879 per RMS' suggestion.
3880
3881 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3882
3883 * desktop.el (desktop-restore-frames): Change default to t.
3884 (desktop-restore-in-current-display): Now offer more options.
3885 (desktop-restoring-reuses-frames): New customization option.
3886 (desktop--saved-states): Doc fix.
3887 (desktop-filter-parameters-alist): New variable, renamed and expanded
3888 from desktop--excluded-frame-parameters.
3889 (desktop--target-display): New variable.
3890 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3891 (desktop--filter-tty*, desktop--filter-*-color)
3892 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3893 (desktop--filter-save-desktop-parm)
3894 (desktop-restore-in-original-display-p): New functions.
3895 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3896 (desktop--save-minibuffer-frames): New function, inspired by a similar
3897 function from Martin Rudalics.
3898 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3899 (desktop--restore-in-this-display-p): Remove.
3900 (desktop--find-frame): Rename from desktop--find-frame-in-display
3901 and add predicate argument.
3902 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3903 (desktop--reuse-list): New variable.
3904 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3905 New functions.
3906 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3907
3908 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3909
3910 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3911
3912 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3913
3914 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3915 Highlight conversion methods on Kernel.
3916
3917 2013-07-13 Alan Mackenzie <acm@muc.de>
3918
3919 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3920 and comment it out. This out-commenting enables certain C++
3921 declarations to be parsed correctly.
3922
3923 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3924
3925 * international/mule.el (define-coding-system): Doc fix.
3926
3927 * simple.el (default-font-height): Don't call font-info if the
3928 frame's default font didn't change since the frame was created.
3929 (Bug#14838)
3930
3931 2013-07-13 Leo Liu <sdl.web@gmail.com>
3932
3933 * ido.el (ido-read-file-name): Guard against non-symbol value.
3934
3935 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3936
3937 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3938 in nested defuns.
3939
3940 2013-07-13 Leo Liu <sdl.web@gmail.com>
3941
3942 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3943 ido-set-matches call. (Bug#6852)
3944
3945 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3946
3947 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3948 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3949 Ruby 2.0.
3950 (ruby-font-lock-keywords): Distinguish calls to functions with
3951 module-like names from module references. Highlight character
3952 literals.
3953
3954 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3955
3956 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3957 (gdb-send): Handle continued commands. (Bug#14847)
3958
3959 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3960
3961 * desktop.el (desktop--v2s): Remove unused local variable.
3962 (desktop-save-buffer): Make defvar-local; adjust docstring.
3963 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3964 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3965
3966 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3967
3968 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3969
3970 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3971
3972 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3973 (Bug#14842)
3974
3975 2013-07-12 Glenn Morris <rgm@gnu.org>
3976
3977 * doc-view.el: Require cl-lib at runtime too.
3978 (doc-view-remove-if): Remove.
3979 (doc-view-search-next-match, doc-view-search-previous-match):
3980 Use cl-remove-if.
3981
3982 * edmacro.el: Require cl-lib at runtime too.
3983 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3984 (edmacro-mismatch, edmacro-subseq): Remove.
3985
3986 * shadowfile.el: Require cl-lib.
3987 (shadow-remove-if): Remove.
3988 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3989 Use cl-remove-if.
3990
3991 * wid-edit.el: Require cl-lib.
3992 (widget-choose): Use cl-remove-if.
3993 (widget-remove-if): Remove.
3994
3995 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3996 (ebrowse-delete-if-not): Remove.
3997 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3998 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3999 Use cl-delete-if-not.
4000
4001 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4002
4003 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4004 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4005
4006 2013-07-12 Leo Liu <sdl.web@gmail.com>
4007
4008 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4009
4010 2013-07-11 Glenn Morris <rgm@gnu.org>
4011
4012 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4013 (edebug-gensym-index, edebug-gensym):
4014 Remove reimplementation of cl-gensym.
4015 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4016
4017 * thumbs.el: Require cl-lib at run-time too.
4018 (thumbs-gensym-counter, thumbs-gensym):
4019 Remove reimplementation of cl-gensym.
4020 (thumbs-temp-file): Use cl-gensym.
4021
4022 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4023 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4024 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4025 (ert--union, ert--gensym-counter, ert--gensym-counter)
4026 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4027 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4028 (ert-make-test-unbound, ert--expand-should-1)
4029 (ert--expand-should, ert--should-error-handle-error)
4030 (should-error, ert--explain-equal-rec)
4031 (ert--plist-difference-explanation, ert-select-tests)
4032 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4033 Use cl-lib functions rather than reimplementations.
4034
4035 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4036
4037 * net/tramp.el (tramp-methods): Extend docstring.
4038 (tramp-connection-timeout): New defcustom.
4039 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4040 (with-tramp-progress-reporter): Simplify.
4041 (tramp-process-actions): Improve messages.
4042
4043 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4044 * net/tramp-sh.el (tramp-maybe-open-connection):
4045 Use `tramp-connection-timeout'.
4046 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4047 (Bug#14808)
4048
4049 2013-07-11 Leo Liu <sdl.web@gmail.com>
4050
4051 * ido.el (ido-read-file-name): Conform to the requirements of
4052 read-file-name. (Bug#11861)
4053 (ido-read-directory-name): Conform to the requirements of
4054 read-directory-name.
4055
4056 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4057
4058 * subr.el (delay-warning): New function.
4059
4060 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4061
4062 * simple.el (default-line-height): New function.
4063 (line-move-partial, line-move): Use it instead of computing the
4064 line height inline.
4065 (line-move-partial): Always compute ROWH. If the last line is
4066 partially-visible, but its text is completely visible, allow
4067 cursor to enter such a partially-visible line.
4068
4069 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4070
4071 Improve error messages. (Bug#14808)
4072
4073 * net/tramp.el (tramp-current-connection): New defvar, moved from
4074 tramp-sh.el.
4075 (tramp-message-show-progress-reporter-message): Remove, not
4076 needed anymore.
4077 (tramp-error-with-buffer): Show message in minibuffer.
4078 Discard input before waiting. Reset connection timestamp.
4079 (with-tramp-progress-reporter): Improve messages.
4080 (tramp-process-actions): Use progress reporter. Delete process in
4081 case of error. Improve messages.
4082
4083 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4084 Call `tramp-error-with-buffer' with vector and buffer.
4085 (tramp-current-connection): Remove.
4086 (tramp-maybe-open-connection): The car of
4087 `tramp-current-connection' are the first 3 slots of the vector.
4088
4089 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4090
4091 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4092 inside continued strings.
4093
4094 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4095
4096 Timestamp fixes for undo (Bug#14824).
4097 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4098
4099 2013-07-10 Leo Liu <sdl.web@gmail.com>
4100
4101 * files.el (require-final-newline): Allow safe local value.
4102 (Bug#14834)
4103
4104 2013-07-09 Leo Liu <sdl.web@gmail.com>
4105
4106 * ido.el (ido-read-directory-name): Handle fallback.
4107 (ido-read-file-name): Update DIR to ido-current-directory.
4108 (Bug#1516)
4109 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4110
4111 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4112
4113 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4114 "autoload". Remove "warn lower camel case" section, previously
4115 commented out. Highlight negation char. Do not highlight the
4116 target in singleton method definitions.
4117
4118 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * faces.el (tty-setup-hook): Declare the hook.
4121
4122 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4123 and detect when a guard/pred depends on local vars (bug#14773).
4124 (pcase--u1): Adjust caller.
4125
4126 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4127
4128 * simple.el (line-move-partial, line-move): Account for
4129 line-spacing.
4130 (line-move-partial): Avoid setting vscroll when the last
4131 partially-visible line in window is of default height.
4132
4133 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4134
4135 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4136 been used a while.
4137
4138 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4139
4140 * subr.el (read-quoted-char): Remove unused local variable `char'.
4141
4142 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4143
4144 * ediff.el (ediff-version): Version update.
4145 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4146 (ediff-merge-with-ancestor-command, ediff-directories-command)
4147 (ediff-directories3-command, ediff-merge-directories-command)
4148 (ediff-merge-directories-with-ancestor-command): New functions.
4149 All are command-line interfaces to ediff: to facilitate calling
4150 Emacs with the appropriate ediff functions invoked.
4151
4152 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4153 (viper-save-kill-buffer): Check if buffer is modified.
4154
4155 * viper.el (viper-version): Version update.
4156 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4157
4158 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4159
4160 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4161 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4162 (viper-intercept-ESC-key): Simplify.
4163 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4164 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4165 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4166 (viper-setup-ESC-to-escape): New functions.
4167 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4168 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4169
4170 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4171
4172 * simple.el (default-font-height, window-screen-lines):
4173 New functions.
4174 (line-move, line-move-partial): Use them instead of
4175 frame-char-height and window-text-height. This makes scrolling
4176 text smoother when the buffer's default face uses a font that is
4177 different from the frame's default font.
4178
4179 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4180
4181 * files.el (write-file): Do not display confirm dialog for NS,
4182 it does its own dialog, which can't be cancelled (Bug#14578).
4183
4184 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4185
4186 * simple.el (line-move-partial): Adjust the row returned by
4187 posn-at-point for the current window-vscroll. (Bug#14567)
4188
4189 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4190
4191 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4192 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4193 spaces.
4194
4195 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4196
4197 * window.el (window-state-put-stale-windows): New variable.
4198 (window--state-put-2): Save list of windows without matching buffer.
4199 (window-state-put): Remove "bufferless" windows if possible.
4200
4201 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4202
4203 * simple.el (alternatives-define): Remove leftover :group keyword.
4204 Tweak docstring.
4205
4206 2013-07-06 Leo Liu <sdl.web@gmail.com>
4207
4208 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4209 (ido-enable-virtual-buffers): New variable.
4210 (ido-buffer-internal, ido-toggle-virtual-buffers)
4211 (ido-make-buffer-list): Use it.
4212 (ido-exhibit): Support turning on and off virtual buffers
4213 automatically.
4214
4215 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4216
4217 * simple.el (alternatives-define): New macro.
4218
4219 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4220
4221 * subr.el (read-quoted-char): Use read-key.
4222 (sit-for): Let read-event decode tty input (bug#14782).
4223
4224 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4225
4226 * calendar/todo-mode.el: Add handling of file deletion, both by
4227 mode command and externally. Fix various related bugs.
4228 Clarify Commentary and improve some documentation strings and code.
4229 (todo-delete-file): New command.
4230 (todo-check-file): New function.
4231 (todo-show): Handle external deletion of the file we're trying to
4232 show (bug#14688). Replace called-interactively-p by an optional
4233 prefix argument to avoid problematic interaction with catch form
4234 when byte compiled (bug#14702).
4235 (todo-quit): Handle external deletion of the archive's todo file.
4236 Make sure the buffer that was visiting the archive file is still
4237 live before trying to bury it.
4238 (todo-category-completions): Handle external deletion of any
4239 category completion files.
4240 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4241 of todo files, in case of external deletion.
4242 (todo-add-file): Replace unnecessary setq by let-binding.
4243 (todo-find-archive): Check whether there are any archives.
4244 Replace unnecessary setq by let-binding.
4245 (todo-archive-done-item): Use find-file-noselect to get the
4246 archive buffer whether or not the archive already exists.
4247 Remove superfluous code. Use file size instead of buffer-file-name to
4248 check if the archive is new; if it is, update list of archives.
4249 (todo-default-todo-file): Allow nil to be a valid value for when
4250 there are no todo files.
4251 (todo-reevaluate-default-file-defcustom): Use corrected definition
4252 of todo-default-todo-file.
4253 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4254 (todo-delete-category, todo-show-categories-table)
4255 (todo-category-number): Clarify comment.
4256 (todo-filter-items): Clarify documentation string.
4257 (todo-show-current-file, todo-display-as-todo-file)
4258 (todo-reset-and-enable-done-separator): Tweak documentation string.
4259 (todo-done-separator): Make separator length window-width, since
4260 bug#2749 is now fixed.
4261
4262 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4263
4264 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4265 Support both "gvfs-monitor-dir" and "inotifywait".
4266 (tramp-sh-file-inotifywait-process-filter): Rename from
4267 `tramp-sh-file-notify-process-filter'.
4268 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4269 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4270
4271 2013-07-05 Leo Liu <sdl.web@gmail.com>
4272
4273 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4274
4275 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4276
4277 * frame.el (display-pixel-height, display-pixel-width)
4278 (display-mm-height, display-mm-width): Mention behavior on
4279 multi-monitor setups in docstrings.
4280 (w32-display-monitor-attributes-list): Declare function.
4281 (display-monitor-attributes-list): Use it.
4282
4283 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4284
4285 * filenotify.el: New package.
4286
4287 * autorevert.el (top): Require filenotify.el.
4288 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4289 instead.
4290 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4291 (auto-revert-notify-handler): Use `file-notify-*' functions.
4292
4293 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4294
4295 * net/tramp.el (tramp-file-name-for-operation):
4296 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4297
4298 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4299 for `file-notify-add-watch' and `file-notify-rm-watch'.
4300 (tramp-process-sentinel): Improve trace.
4301 (tramp-sh-handle-file-notify-add-watch)
4302 (tramp-sh-file-notify-process-filter)
4303 (tramp-sh-handle-file-notify-rm-watch)
4304 (tramp-get-remote-inotifywait): New defuns.
4305
4306 2013-07-03 Juri Linkov <juri@jurta.org>
4307
4308 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4309 call of `occur-read-primary-args' to interactive spec.
4310
4311 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4312 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4313
4314 2013-07-03 Matthias Meulien <orontee@gmail.com>
4315
4316 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4317 `Buffer-menu-multi-occur'. Add it to the menu.
4318 (Buffer-menu-mode): Document it in docstring.
4319 (Buffer-menu-multi-occur): New command. (Bug#14673)
4320
4321 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4322
4323 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4324 keywords and built-ins.
4325
4326 2013-07-03 Glenn Morris <rgm@gnu.org>
4327
4328 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4329
4330 Make info-xref checks case-sensitive by default
4331 * info.el (Info-find-node, Info-find-in-tag-table)
4332 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4333 Add option for exact case matching of nodes.
4334 * info-xref.el (info-xref): New custom group.
4335 (info-xref-case-fold): New option.
4336 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4337
4338 2013-07-03 Leo Liu <sdl.web@gmail.com>
4339
4340 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4341
4342 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4343
4344 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4345 middle of block statement initially, lower the depth. Remove
4346 FIXME comment, not longer valid. Remove middle of block statement
4347 detection, no need to do that anymore since we've been using
4348 `ruby-parse-region' here.
4349
4350 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4351
4352 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4353
4354 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4355
4356 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4357
4358 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4359
4360 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4361 (desktop-restore-in-current-display): New customization option.
4362 (desktop--excluded-frame-parameters): Add `font'.
4363 (desktop--save-frames): Rename from desktop--save-windows.
4364 (desktop--restore-in-this-display-p): New function.
4365 (desktop--make-full-frame): Remove unwanted width/height from
4366 full(width|height) frames.
4367 (desktop--restore-frames): Rename from desktop--restore-windows.
4368 Obey desktop-restore-current-display. Do not delete old frames or
4369 select a new frame unless we were able to restore at least one frame.
4370
4371 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4372
4373 * files.el (find-file-noselect): Simplify conditional expression.
4374
4375 * remember.el (remember-append-to-file):
4376 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4377
4378 Add `remember-notes' function to store random notes across Emacs
4379 restarts.
4380 * remember.el (remember-data-file): Add :set callback to affect
4381 notes buffer (if any).
4382 (remember-notes): New command.
4383 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4384 New defcustoms for the `remember-notes' function.
4385 (remember-notes-save-and-bury-buffer): New command.
4386 (remember-notes-mode-map): New variable.
4387 (remember-mode): New minor mode.
4388 (remember-notes--kill-buffer-query): New function.
4389 * startup.el (initial-buffer-choice): Add notes to custom type.
4390
4391 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4392
4393 * bindings.el (right-char, left-char): Don't call sit-for, this is
4394 no longer needed. Use arithmetic comparison only for numerical
4395 arguments.
4396
4397 * international/mule-cmds.el (select-safe-coding-system):
4398 Handle the case of FROM being a string correctly. (Bug#14755)
4399
4400 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4401
4402 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4403 progression on degenerate tables.
4404 (shr-rescale-image): ImageMagick animated images currently don't work.
4405
4406 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4407
4408 Some fixes and improvements for desktop frame restoration.
4409 It is still experimental and disabled by default.
4410 * desktop.el (desktop--save-windows): Put the selected frame at
4411 the head of the list.
4412 (desktop--make-full-frame): New function.
4413 (desktop--restore-windows): Try to re-select the frame that was
4414 selected upon saving. Do not abort if some frames fail to restore,
4415 just show an error message and continue. Set up maximized frames
4416 so they have default non-maximized dimensions.
4417
4418 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4419
4420 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4421 Don't start heredoc inside a string or comment.
4422
4423 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4424
4425 * bindings.el (visual-order-cursor-movement): New defcustom.
4426 (right-char, left-char): Provide visual-order cursor motion by
4427 calling move-point-visually. Update the doc strings.
4428
4429 2013-06-28 Kenichi Handa <handa@gnu.org>
4430
4431 * international/mule.el (define-coding-system): New coding system
4432 properties :inhibit-null-byte-detection,
4433 :inhibit-iso-escape-detection, and :prefer-utf-8.
4434 (set-buffer-file-coding-system): If :charset-list property of
4435 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4436 appropriate for setting.
4437
4438 * international/mule-cmds.el (select-safe-coding-system):
4439 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4440 multibyte characters, return utf-8 (or one of its siblings).
4441
4442 * international/mule-conf.el (prefer-utf-8): New coding system.
4443 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4444 files.
4445
4446 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4447
4448 * net/shr.el (shr-render-region): New function.
4449
4450 * net/eww.el: Autoload `eww-browse-url'.
4451
4452 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4453
4454 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4455 Adapt to `package-desc-version' being a list.
4456 Use `package--ac-desc-version' to retrieve version from a package
4457 archive element.
4458
4459 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4460
4461 New experimental feature to save&restore window and frame setup.
4462 * desktop.el (desktop-save-windows): New defcustom.
4463 (desktop--saved-states): New var.
4464 (desktop--excluded-frame-parameters): New defconst.
4465 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4466 (desktop--restore-windows, desktop--save-windows): New functions.
4467 (desktop-save): Call `desktop--save-windows'.
4468 (desktop-read): Call `desktop--restore-windows'.
4469
4470 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4471
4472 * net/shr.el (add-face-text-property): Remove compat definition.
4473
4474 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4475
4476 * info.el (Info-try-follow-nearest-node): Move search for footnote
4477 above search for node name to prevent missing a footnote (bug#14717).
4478
4479 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4480
4481 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4482
4483 2013-06-27 Leo Liu <sdl.web@gmail.com>
4484
4485 * net/eww.el (eww-read-bookmarks): Check file size.
4486
4487 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4490 advice--pending if newdef is nil or an autoload (bug#13820).
4491 (advice-mapc): New function.
4492
4493 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4494
4495 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4496 probably.
4497 (eww-mode-map): Add a menu bar.
4498 (eww-add-bookmark): New command.
4499 (eww-bookmark-mode): New mode and commands.
4500 (eww-add-bookmark): Remove newlines from the title.
4501 (eww-bookmark-browse): Don't bug out if it's the only window.
4502
4503 2013-06-26 Glenn Morris <rgm@gnu.org>
4504
4505 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4506 (hfy-size): Handle ttys. (Bug#14668)
4507
4508 * info-xref.el: Update for Texinfo 5 change in *note format.
4509 (info-xref-node-re, info-xref-note-re): New constants.
4510 (info-xref-check-buffer): Use info-xref-note-re.
4511
4512 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4515
4516 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4517 nil terminate the loop (bug#14718).
4518
4519 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4520
4521 * net/eww.el: Rework history traversal. When going forward/back,
4522 put these actions into the history, too, so that they can be
4523 replayed.
4524 (eww-render): Move the history reset to the correct buffer.
4525
4526 2013-06-25 Juri Linkov <juri@jurta.org>
4527
4528 * files-x.el (modify-dir-local-variable): Change the header comment
4529 in the file with directory local variables. (Bug#14692)
4530
4531 * files-x.el (read-file-local-variable-value): Add `default'.
4532 (Bug#14710)
4533
4534 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4535
4536 * net/eww.el (eww-make-unique-file-name): Create a unique file
4537 name before saving to entering `y' accidentally asynchronously.
4538
4539 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4540
4541 * net/eww.el (eww-download): New command and keystroke.
4542
4543 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4544
4545 * net/eww.el (eww-copy-page-url): Change name of command.
4546
4547 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4548 be more consistent with Info and dired.
4549
4550 * net/eww.el (eww-mode-map): Ditto.
4551
4552 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4555 packages from archives.
4556 (package-archive-contents): Change format; include obsolete packages.
4557 (package-desc): Use `dir' to mark builtin packages.
4558 (package--from-builtin): Set the `dir' field to `builtin'.
4559 (generated-autoload-file, version-control): Declare.
4560 (package-compute-transaction): Change first arg and return value to be
4561 lists of package-descs. Adjust to new package-archive-contents format.
4562 (package--add-to-archive-contents): Adjust to new
4563 package-archive-contents format.
4564 (package-download-transaction): Arg is now a list of package-descs.
4565 (package-install): If `pkg' is a package name, pass it as
4566 a requirement, so it is subject to the usual (e.g. disabled) checks.
4567 (describe-package): Accept package-desc as well.
4568 (describe-package-1): Describe a specific package-desc. Add links to
4569 other package-descs for the same package name.
4570 (package-menu-describe-package): Pass the actual package-desc.
4571 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4572 works correctly.
4573 (package-desc-status): New function.
4574 (package-menu--refresh): New function, extracted
4575 from package-menu--generate.
4576 (package-menu--generate): Use it.
4577 (package-delete): Update package-alist.
4578 (package-menu-execute): Don't call package-initialize.
4579
4580 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4581 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4582 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4583 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4584 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4585 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4586
4587 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4588
4589 * window.el (window--state-get-1): Workaround for bug#14527.
4590 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4591
4592 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4593
4594 * net/eww.el (eww-back-url): Implement the history by stashing all
4595 the data into a list.
4596 (eww-forward-url): Allow going forward in the history, too.
4597
4598 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4601 for values and use read--expression for expressions (bug#14710).
4602 (read-file-local-variable): Avoid setq.
4603 (read-file-local-variable-mode): Use minor-mode-list.
4604
4605 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4606
4607 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4608 for DOI URLs.
4609
4610 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4611
4612 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4613 Update imenu-support when dialect changes.
4614
4615 2013-06-25 Leo Liu <sdl.web@gmail.com>
4616
4617 * ido.el (ido-read-internal): Allow forward slash on windows.
4618
4619 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4620
4621 * net/eww.el (eww): Start of strings is \\`, not ^.
4622
4623 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4624
4625 * net/shr.el (shr-browse-url): Fix interactive spec.
4626
4627 * net/eww.el (eww): Add a trailing slash to domain names.
4628
4629 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4630
4631 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4632
4633 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4634
4635 * net/shr.el (shr-browse-url): Use an external browser if given a
4636 prefix.
4637
4638 * net/eww.el (eww-external-browser): Move to shr.
4639
4640 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4641
4642 * net/eww.el (eww): Work more correctly for file: URLs.
4643 (eww-detect-charset): Allow quoted charsets.
4644 (eww-yank-page-url): New command and keystroke.
4645
4646 2013-06-24 Daiki Ueno <ueno@gnu.org>
4647
4648 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4649 file name of gpg executable.
4650 (epg-context-program): New function.
4651 (epg-context-home-directory): New function.
4652 (epg-context-set-program): New function.
4653 (epg-context-set-home-directory): New function.
4654 (epg--start): Use `epg-context-program' instead of
4655 'epg-gpg-program'.
4656 (epg--list-keys-1): Likewise.
4657
4658 2013-06-24 Leo Liu <sdl.web@gmail.com>
4659
4660 * ido.el (ido-read-internal): Fix bug#14620.
4661
4662 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4663
4664 * faces.el (face-documentation): Simplify.
4665 (read-face-attribute, tty-find-type, x-resolve-font-name):
4666 Use `string-match-p'.
4667 (list-faces-display): Use `string-match-p'. Simplify.
4668 (face-spec-recalc): Check face to avoid face alias loops.
4669 (read-color): Use `string-match-p' and non-capturing parenthesis.
4670
4671 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4672
4673 * net/shr.el (shr-rescale-image): Use the new
4674 :max-width/:max-height functionality.
4675
4676 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4677
4678 * net/eww.el (eww-search-prefix): New variable.
4679 (eww): Use it.
4680 (eww-external-browser): New variable.
4681 (eww-mode-map): New keystroke.
4682 (eww-browse-with-external-browser): New command.
4683
4684 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4685
4686 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4689 Don't skip aligning the next header field when padding is 0;
4690 otherwise, field width is not respected unless the title is as
4691 wide as the field.
4692
4693 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * emacs-lisp/package.el (package-el-version): Remove.
4696 (package-process-define-package): Fix inf-loop.
4697 (package-install): Allow symbols as arguments again.
4698
4699 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4700
4701 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4702 add some more keyword-like methods.
4703 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4704
4705 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4706
4707 * bs.el (bs-buffer-show-mark): Make defvar-local.
4708 (bs-mode): Use setq-local.
4709
4710 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4711 (emacs-lock--try-unlocking): Make defvar-local.
4712
4713 2013-06-22 Glenn Morris <rgm@gnu.org>
4714
4715 * play/cookie1.el (cookie-apropos): Minor simplification.
4716
4717 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4718
4719 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4720
4721 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4722 `regexp-opt', it breaks the build during dumping.
4723
4724 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4725
4726 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4727 Highlight keyword-like methods on Kernel and Module with
4728 font-lock-builtin-face.
4729 (auto-mode-alist): Consolidate different entries into one regexp
4730 and add more *file-s.
4731
4732 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4733
4734 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4735
4736 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4737 (diary-entry): Use it in the action of this button type instead of
4738 diary-goto-entry.
4739
4740 * calendar/todo-mode.el: New version.
4741 (todo-add-category): Append new category to end of file and give
4742 it the highest number, instead of putting it at the beginning and
4743 giving it 0. Incorporate noninteractive functionality.
4744 (todo-forward-category): Adapt to 1-based category numbering.
4745 Allow skipping over archived categories.
4746 (todo-backward-category): Derive from todo-forward-category.
4747 (todo-backward-item, todo-forward-item): Make noninteractive and
4748 delegate interactive part to new commands. Make sensitive to done items.
4749 (todo-categories): Make value an alist of category names and
4750 vectors of item counts.
4751 (todo-category-beg): Make a defconst.
4752 (todo-category-number): Use 1 instead of 0 as initial value.
4753 (todo-category-select): Make sensitive to overlays, optional item
4754 highlighting and done items.
4755 (todo-delete-item): Make sensitive to overlays and marked and done items.
4756 (todo-edit-item): Make sensitive to overlays and editing of
4757 date/time header optional. Add format checks.
4758 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4759 no-op if point is not on an item. Advertise using todo-edit-quit.
4760 (todo-edit-mode): Make sensitive to new format, font-locking, and
4761 multiple todo files.
4762 (todo-insert-item, todo-insert-item-here): Derive from
4763 todo-basic-insert-item and extend functionality.
4764 (todo-item-end, todo-item-start): Make sensitive to done items.
4765 (todo-item-string): Don't return text properties. Restore point.
4766 (todo-jump-to-category): Make sensitive to multiple todo files and
4767 todo archives. Use extended category completion.
4768 (todo-lower-item, todo-raise-item): Rename to *-priority and
4769 derive from todo-set-item-priority.
4770 (todo-mode): Derive from special-mode. Make sensitive to new
4771 format, font-locking and multiple todo files. Make read-only.
4772 (todo-mode-map): Don't suppress digit keys, so they can supply
4773 prefix arguments. Add many new key bindings.
4774 (todo-prefix): Insert as an overlay instead of file text.
4775 Change semantics from diary date expression to purely visual mark.
4776 (todo-print): Rename to todo-print-buffer. Make buffer display
4777 features printable. Remove option to restrict number of items
4778 printed. Add option to print to file.
4779 (todo-print-function): Rename to todo-print-buffer-function.
4780 (todo-quit): Extend to handle exiting new todo modes.
4781 (todo-remove-item): Make sensitive to overlays.
4782 (todo-save): Extend to buffers of filtered items.
4783 (todo-show): Make sensitive to done items, multiple todo files and
4784 new todo modes. Offer to convert legacy todo file before creating
4785 first new todo file.
4786 (todo-show-priorities): Rename to todo-top-priorities.
4787 Change semantics of value 0.
4788 (todo-top-priorities): Rename to todo-filter-top-priorities,
4789 derive from todo-filter-items and extend functionality.
4790 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4791 and extend functionality to other types of filtered items.
4792 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4793 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4794 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4795 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4796 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4797 (todo-edit-mode-hook, todo-entry-prefix-function)
4798 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4799 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4800 (todo-initials, todo-insert-threshold, todo-item-string-start)
4801 (todo-line-string, todo-menu, todo-mode-hook)
4802 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4803 (todo-print-priorities, todo-remove-separator)
4804 (todo-save-top-priorities-too, todo-string-count-lines)
4805 (todo-string-multiline-p, todo-time-string-format)
4806 (todo-tmp-buffer-name): Remove.
4807 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4808 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4809 (todo-edit-category-diary-inclusion)
4810 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4811 (todo-edit-file, todo-edit-item-date-day)
4812 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4813 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4814 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4815 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4816 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4817 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4818 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4819 (todo-filter-top-priorities-multifile, todo-find-archive)
4820 (todo-find-filtered-items-file, todo-go-to-source-item)
4821 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4822 (todo-jump-to-archive-category, todo-lower-category)
4823 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4824 (todo-move-category, todo-move-item, todo-next-button)
4825 (todo-next-item, todo-padded-string, todo-powerset)
4826 (todo-previous-button, todo-previous-item)
4827 (todo-print-buffer-to-file, todo-raise-category)
4828 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4829 (todo-set-category-number, todo-set-item-priority)
4830 (todo-set-top-priorities-in-category)
4831 (todo-set-top-priorities-in-file, todo-show-categories-table)
4832 (todo-sort-categories-alphabetically-or-numerically)
4833 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4834 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4835 (todo-toggle-item-header, todo-toggle-item-highlighting)
4836 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4837 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4838 (todo-unarchive-items, todo-unmark-category): New commands.
4839 (todo-absolute-file-name, todo-add-to-buffer-list)
4840 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4841 (todo-basic-insert-item, todo-category-completions)
4842 (todo-category-number, todo-category-string-matcher-1)
4843 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4844 (todo-check-format, todo-clear-matches)
4845 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4846 (todo-current-category, todo-date-string-matcher)
4847 (todo-define-insertion-command, todo-diary-expired-matcher)
4848 (todo-diary-goto-entry, todo-diary-item-p)
4849 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4850 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4851 (todo-done-item-section-p, todo-done-separator)
4852 (todo-done-string-matcher, todo-files, todo-filter-items)
4853 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4854 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4855 (todo-insert-category-line, todo-insert-item-from-calendar)
4856 (todo-insert-sort-button, todo-insert-with-overlays)
4857 (todo-insertion-command-name, todo-insertion-key-bindings)
4858 (todo-label-to-key, todo-longest-category-name-length)
4859 (todo-make-categories-list, todo-mode-external-set)
4860 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4861 (todo-modes-set-3, todo-multiple-filter-files)
4862 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4863 (todo-read-category, todo-read-date, todo-read-dayname)
4864 (todo-read-file-name, todo-read-time)
4865 (todo-reevaluate-category-completions-files-defcustom)
4866 (todo-reevaluate-default-file-defcustom)
4867 (todo-reevaluate-filelist-defcustoms)
4868 (todo-reevaluate-filter-files-defcustom)
4869 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4870 (todo-reset-done-separator, todo-reset-done-separator-string)
4871 (todo-reset-done-string, todo-reset-global-current-todo-file)
4872 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4873 (todo-reset-prefix, todo-set-categories)
4874 (todo-set-date-from-calendar, todo-set-show-current-file)
4875 (todo-set-top-priorities, todo-short-file-name)
4876 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4877 (todo-total-item-counts, todo-update-buffer-list)
4878 (todo-update-categories-display, todo-update-categories-sexp)
4879 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4880 New functions.
4881 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4882 New major modes.
4883 (todo-categories, todo-display, todo-edit, todo-faces)
4884 (todo-filtered): New defgroups.
4885 (todo-archived-only, todo-button, todo-category-string, todo-date)
4886 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4887 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4888 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4889 (todo-add-item-if-new-category, todo-always-add-time-string)
4890 (todo-categories-align, todo-categories-archived-label)
4891 (todo-categories-category-label, todo-categories-diary-label)
4892 (todo-categories-done-label, todo-categories-number-separator)
4893 (todo-categories-todo-label, todo-categories-totals-label)
4894 (todo-category-completions-files, todo-completion-ignore-case)
4895 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4896 (todo-done-separator-string, todo-done-string)
4897 (todo-files-function, todo-filter-done-items, todo-filter-files)
4898 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4899 (todo-initial-category, todo-initial-file, todo-item-mark)
4900 (todo-legacy-date-time-regexp, todo-mode-line-function)
4901 (todo-nondiary-marker, todo-number-prefix)
4902 (todo-print-buffer-function, todo-show-current-file)
4903 (todo-show-done-only, todo-show-first, todo-show-with-done)
4904 (todo-skip-archived-categories, todo-top-priorities-overrides)
4905 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4906 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4907 New defcustoms.
4908 (todo-category-done, todo-date-pattern, todo-date-string-start)
4909 (todo-diary-items-buffer, todo-done-string-start)
4910 (todo-filtered-items-buffer, todo-item-start)
4911 (todo-month-abbrev-array, todo-month-name-array)
4912 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4913 (todo-top-priorities-buffer): New defconsts.
4914 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4915 (todo-categories-with-marks, todo-category-string-face)
4916 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4917 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4918 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4919 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4920 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4921 (todo-font-lock-keywords, todo-global-current-todo-file)
4922 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4923 (todo-insertion-commands-args)
4924 (todo-insertion-commands-args-genlist)
4925 (todo-insertion-commands-names, todo-insertion-map)
4926 (todo-key-bindings-t, todo-key-bindings-t+a)
4927 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4928 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4929 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4930 (todo-visited): New variables.
4931
4932 2013-06-21 Glenn Morris <rgm@gnu.org>
4933
4934 * play/cookie1.el (cookie-apropos): Add optional display argument.
4935 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4936 (psychoanalyze-pinhead): Use cookie-doctor.
4937
4938 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4939
4940 * emacs-lisp/package.el (tar-get-file-descriptor)
4941 (tar--extract): Declare.
4942
4943 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4944
4945 Extend flymake's warning predicate to be a function (bug#14217).
4946 * progmodes/flymake.el (flymake-warning-predicate): New.
4947 (flymake-parse-line): Use it.
4948 (flymake-warning-re): Make obsolete alias to
4949 `flymake-warning-predicate'.
4950
4951 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4952
4953 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4954 (package-obsolete-list): Remove.
4955 (package-activate): Remove min-version argument. Add `force' argument.
4956 Adjust to new package-alist format.
4957 (package-mark-obsolete): Remove.
4958 (package-unpack): Force reload of the package's autoloads.
4959 (package-installed-p): Check builtins if the installed package is not
4960 recent enough.
4961 (package-initialize): Don't reset package-obsolete-list.
4962 Don't specify which package version to activate.
4963 (package-process-define-package, describe-package-1)
4964 (package-menu--generate): Adjust to new package-alist format.
4965
4966 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4967
4968 * allout-widgets.el (allout-widgets-mode-off)
4969 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4970 (allout-widgets-post-command-business)
4971 (allout-widgets-after-copy-or-kill-function)
4972 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4973 (allout-decorate-item-and-context)
4974 (allout-graphics-modification-handler): Fix typos in docstrings.
4975 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4976
4977 * cmuscheme.el (scheme-start-file): Doc fix.
4978 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4979 (scheme-input-filter): Use `string-match-p'.
4980
4981 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4982
4983 * dired-x.el: Use Dired consistently in docstrings.
4984
4985 * dired.el: Use Dired consistently in docstrings.
4986 (dired-readin, dired-mode): Use `setq-local'.
4987 (dired-switches-alist): Make defvar-local.
4988 (dired-buffers-for-dir): Use `zerop'.
4989 (dired-safe-switches-p, dired-switches-escape-p)
4990 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4991 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4992 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4993 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4994 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4995 (dired-toggle-marks, dired-mark-files-containing-regexp)
4996 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4997 (dired-flag-auto-save-files, dired-flag-backup-files):
4998 Use `looking-at-p'.
4999 (dired-mark-files-regexp, dired-build-subdir-alist):
5000 Use `string-match-p', `looking-at-p'.
5001
5002 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5003 (direct-print-region-helper): Use `string-match-p'.
5004
5005 2013-06-21 Leo Liu <sdl.web@gmail.com>
5006
5007 * comint.el (comint-redirect-results-list-from-process):
5008 Fix infinite loop.
5009
5010 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5011
5012 * net/eww.el (eww-update-header-line-format): Quote % characters.
5013
5014 2013-06-21 Glenn Morris <rgm@gnu.org>
5015
5016 * play/cookie1.el (cookie): New custom group.
5017 (cookie-file): New option.
5018 (cookie-check-file): New function.
5019 (cookie): Make it interactive. Make start and end messages optional.
5020 Interactively, display the result. Default to cookie-file.
5021 (cookie-insert): Default to cookie-file.
5022 (cookie-snarf): Make start and end messages optional.
5023 Default to cookie-file. Use with-temp-buffer.
5024 (cookie-read): Rename from read-cookie.
5025 Make start and end messages optional. Default to cookie-file.
5026 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5027 Do not autoload it.
5028 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5029 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5030
5031 2013-06-21 Leo Liu <sdl.web@gmail.com>
5032
5033 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5034
5035 2013-06-21 Glenn Morris <rgm@gnu.org>
5036
5037 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5038
5039 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5040 Daniel Hackney <dan@haxney.org>
5041
5042 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5043 Consolidate the single-file vs tarball code.
5044 (package-desc-suffix): New function.
5045 (package-desc-full-name): Don't bother inlining it.
5046 (package-load-descriptor): Return the new package-desc.
5047 (package-mark-obsolete): Remove unused arg `package'.
5048 (package-unpack): Make it work for single files as well.
5049 Make it update package-alist.
5050 (package--make-autoloads-and-stuff): Rename from
5051 package--make-autoloads-and-compile. Don't compile any more.
5052 (package--compile): New function.
5053 (package-generate-description-file): New function, extracted from
5054 package-unpack-single.
5055 (package-unpack-single): Remove.
5056 (package--with-work-buffer): Add indentation and debugging info.
5057 (package-download-single): Remove.
5058 (package-install-from-archive): Rename from package-download-tar, make
5059 it take a pkg-desc, and make it work for single files as well.
5060 (package-download-transaction): Simplify.
5061 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5062 external tar program.
5063 (package-install-from-buffer): Remove `pkg-desc' argument.
5064 Use package-tar-file-info for tar-mode buffers.
5065 (package-install-file): Simplify accordingly.
5066 (package-archive-base): Change to take a pkg-desc.
5067 * tar-mode.el (tar--check-descriptor): New function, extracted from
5068 tar-get-descriptor.
5069 (tar-get-descriptor): Use it.
5070 (tar-get-file-descriptor): New function.
5071 (tar--extract): New function, extracted from tar-extract.
5072 (tar--extract): Use it.
5073 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5074 case the summary uses non-ascii. Adjust to new calling convention of
5075 package-tar-file-info.
5076
5077 2013-06-21 Leo Liu <sdl.web@gmail.com>
5078
5079 * comint.el (comint-redirect-results-list-from-process):
5080 Fix random delay. (Bug#14681)
5081
5082 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5083
5084 * profiler.el (profiler-format-number): Use log, not log10.
5085
5086 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5087
5088 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5089
5090 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5091
5092 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5093 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5094 yet available.
5095 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5096 (AUTOGENEL): ... here.
5097 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5098 (cl--defsubst-expand): Use it.
5099
5100 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5101
5102 * subr.el (log10): Move here from C code, and declare as obsolete.
5103 All uses of (log10 X) replaced with (log X 10).
5104
5105 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5106
5107 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5108 Declare with `defvar-local'.
5109 (tabulated-list-use-header-line, tabulated-list-entries)
5110 (tabulated-list-padding, tabulated-list-printer)
5111 (tabulated-list-sort-key): Declare with `defvar-local'.
5112 (tabulated-list-init-header, tabulated-list-print-fake-header):
5113 Use `setq-local'.
5114
5115 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5116
5117 * arc-mode.el (archive-mode): Add `archive-write-file' to
5118 `write-contents-functions' also for remote files. (Bug#14652)
5119
5120 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * cus-edit.el (custom-commands): Fix typos.
5123 (custom-display): Fix tooltip text.
5124 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5125 Fix typos in docstrings.
5126 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5127 (custom-unlispify-menu-entry, custom-magic-value-create)
5128 (custom-add-see-also, custom-group-value-create): Use ?\s.
5129 (custom-guess-type, customize-apropos, editable-field)
5130 (custom-face-value-create): Use `string-match-p'.
5131 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5132
5133 * custom.el (custom-load-symbol): Use `string-match-p'.
5134
5135 * ansi-color.el: Convert to lexical binding.
5136 (ansi-colors): Fix URL.
5137 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5138 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5139 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5140
5141 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5142
5143 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5144
5145 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5146
5147 2013-06-19 Tom Tromey <tromey@redhat.com>
5148
5149 * net/eww.el (eww-top-url): Remove.
5150 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5151 (eww-render): Set new variables. Don't set eww-top-url.
5152 (eww-handle-link): Handle "prev", "home", and "contents".
5153 Downcase the rel text.
5154 (eww-top-url): Choose best top URL.
5155
5156 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5157
5158 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5159 relying in widget.el. Using widget.el leads to too many
5160 user interface inconsistencies.
5161 (eww-self-insert): Implement entering commands in text fields.
5162 (eww-process-text-input): New function to make text input field editing
5163 work.
5164 (eww-submit): Rewrite to use the new-style form methods.
5165 (eww-select-display): Display the correct selected item.
5166 (eww-change-select): Implement changing the select value.
5167 (eww-toggle-checkbox): Implement radio/checkboxes.
5168 (eww-update-field): Fix compilation error.
5169 (eww-tag-textarea): Implement <textarea>.
5170
5171 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5172 we don't shadow mode-specific bindings.
5173
5174 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5175 nothing to push.
5176
5177 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5178
5179 2013-06-19 Glenn Morris <rgm@gnu.org>
5180
5181 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5182
5183 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5184
5185 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5186 not needed.
5187
5188 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5189
5190 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5191
5192 * net/browse-url.el (browse-url-browser-function):
5193 `eww-browse-url' has the right calling signature, `eww' does not.
5194
5195 2013-06-19 Glenn Morris <rgm@gnu.org>
5196
5197 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5198 Only eval autoloaded macros.
5199 (byte-compile-autoload): Only give the macro warning for macros.
5200
5201 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5202 (ps-underlined-faces): Declare.
5203
5204 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5205 (speedbar-add-supported-extension): Declare.
5206
5207 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5208 Don't include a date stamp in the header of the generated file;
5209 it leads to needless differences between output files.
5210
5211 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5212
5213 * net/secrets.el (secrets-struct-secret-content-type):
5214 Replace check of introspection data by a test call of "CreateItem".
5215 Some servers do not offer introspection.
5216
5217 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * electric.el (electric-pair-mode): Improve interaction with
5220 electric-layout-mode.
5221 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5222 (electric-pair-syntax): Use text-mode-syntax-table in comments
5223 and strings.
5224 (electric-pair--insert): New function.
5225 (electric-pair-post-self-insert-function): Use it and
5226 electric--after-char-pos.
5227
5228 2013-06-19 Leo Liu <sdl.web@gmail.com>
5229
5230 * progmodes/octave.el (octave-help): Fix regexp.
5231
5232 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5233
5234 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5235 (shr-table-horizontal-line): Allow nil as a value, and change the
5236 default.
5237 (shr-insert-table-ruler): Respect the nil value.
5238
5239 2013-06-18 Tom Tromey <tromey@barimba>
5240
5241 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5242 New defvars.
5243 (eww-open-file): New defun.
5244 (eww-render): Initialize new variables.
5245 (eww-display-html): Handle "link" and "a".
5246 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5247 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5248 (eww-back-url): Rename from eww-previous-url.
5249 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5250 New defuns.
5251
5252 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5253
5254 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5255 Distinguish ternary operator tokens from slash symbol and slash
5256 char literal.
5257
5258 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5259
5260 Convert symbol prettification into minor mode and global minor mode.
5261
5262 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5263 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5264 (prettify-symbols--keywords): Rename from
5265 `prog-prettify-symbols-alist' and make a local defvar.
5266 (prettify-symbols--compose-symbol): Rename from
5267 `prog--prettify-font-lock-compose-symbol'.
5268 (prettify-symbols--make-keywords): Rename from
5269 `prog-prettify-font-lock-symbols-keywords' and simplify.
5270 (prog-prettify-install): Remove.
5271 (prettify-symbols-mode): New minor mode, based on
5272 `prog-prettify-install'.
5273 (turn-on-prettify-symbols-mode): New function.
5274 (global-prettify-symbols-mode): New globalized minor mode.
5275
5276 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5277 * progmodes/cfengine.el (cfengine3-mode):
5278 * progmodes/perl-mode.el (perl-mode): Don't call
5279 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5280
5281 2013-06-18 Juri Linkov <juri@jurta.org>
5282
5283 * files-x.el (modify-file-local-variable-message): New function.
5284 (modify-file-local-variable)
5285 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5286 and call `modify-file-local-variable-message' when it's non-nil.
5287 (add-file-local-variable, delete-file-local-variable)
5288 (add-file-local-variable-prop-line)
5289 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5290 and use it. (Bug#9820)
5291
5292 2013-06-18 Juri Linkov <juri@jurta.org>
5293
5294 * emulation/vi.el (vi-shell-op):
5295 * emulation/vip.el (vip-execute-com, ex-command):
5296 * emulation/viper-cmd.el (viper-exec-bang):
5297 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5298 the call of `shell-command-on-region'. (Bug#14637)
5299
5300 * simple.el (shell-command-on-region): Doc fix.
5301
5302 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5305 (bug#14633).
5306
5307 2013-06-18 Glenn Morris <rgm@gnu.org>
5308
5309 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5310
5311 * newcomment.el (comment-search-forward, comment-search-backward):
5312 Doc fix. (Bug#14376)
5313
5314 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5315
5316 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5317 (buffer-face-mode-invoke): Doc fix.
5318
5319 2013-06-18 Matthias Meulien <orontee@gmail.com>
5320
5321 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5322 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5323
5324 2013-06-18 Glenn Morris <rgm@gnu.org>
5325
5326 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5327 Replace obsolete function generic-make-keywords with its expansion.
5328
5329 * progmodes/python.el (ffap-alist): Declare.
5330
5331 * textmodes/reftex.el (bibtex-mode-map): Declare.
5332
5333 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5336 (package-unpack, package-unpack-single): Return the pkg-dir.
5337 (package-download-transaction): Use it to update package-alist.
5338
5339 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5340
5341 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5342 possible choice.
5343
5344 2013-06-17 Juri Linkov <juri@jurta.org>
5345
5346 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5347
5348 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5349
5350 * emacs-lisp/package.el (package-load-descriptor):
5351 Remove `with-syntax-table' call, `read' doesn't need it.
5352 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5353
5354 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5355
5356 * startup.el (command-line): Expand package name returned by
5357 `package--description-file' (bug#14639).
5358
5359 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5360
5361 * emacs-lisp/package.el (package-load-descriptor): Do not call
5362 `emacs-lisp-mode', just use its syntax table.
5363
5364 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5365
5366 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5367 `font-lock-extra-managed-props' if any prettifying keyword is added.
5368 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5369 (prog-mode): Use `setq-local'.
5370
5371 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * international/characters.el (standard-case-table): Set syntax of ?»
5374 and ?« to punctuation.
5375
5376 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5377
5378 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5379 Save relevant match data before calling `syntax-ppss' (bug#14595).
5380
5381 2013-06-15 Juri Linkov <juri@jurta.org>
5382
5383 * files-x.el (modify-file-local-variable-prop-line): Add local
5384 variables to the end of the existing comment on the first line.
5385 Use `file-auto-mode-skip' to skip interpreter magic line,
5386 and also skip XML declaration.
5387
5388 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * startup.el (package--builtin-versions): New var.
5391 (package-subdirectory-regexp): Remove.
5392 (package--description-file): Hard code its value instead.
5393
5394 * emacs-lisp/package.el: Don't activate packages older than builtin.
5395 (package-obsolete-list): Rename from package-obsolete-alist, and make
5396 it into a simple list of package-desc.
5397 (package-strip-version): Remove.
5398 (package-built-in-p): Use package--builtin-versions.
5399 (package-mark-obsolete): Simplify.
5400 (package-process-define-package): Mark it obsolete if older than the
5401 builtin version.
5402 (package-handle-response): Use line-end-position.
5403 (package-read-archive-contents, package--download-one-archive):
5404 Simplify.
5405 (package--add-to-archive-contents): Skip if older than the builtin or
5406 installed version.
5407 (package-menu-describe-package): Fix last change.
5408 (package-list-unversioned): New var.
5409 (package-menu--generate): Use it.
5410
5411 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5412 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5413 (autoload-builtin-package-versions): New variable.
5414 (autoload-generate-file-autoloads): Use them.
5415 Remove the list of autoloaded functions/macros from the
5416 (autoload...) comments.
5417
5418 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5419
5420 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5421
5422 * simple.el (line-move-partial): Don't jump to the next screen
5423 line as soon as it becomes visible. Instead, continue enlarging
5424 the vscroll until the portion of a tall screen line that's left on
5425 display is about the height of the frame's default font.
5426 (Bug#14567)
5427
5428 2013-06-15 Glenn Morris <rgm@gnu.org>
5429
5430 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5431 compilation-error-regexp-alist void, or local while let-bound.
5432
5433 * progmodes/make-mode.el (makefile-mode-syntax-table):
5434 Treat "=" as punctuation. (Bug#14614)
5435
5436 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5437
5438 * help-fns.el (describe-variable):
5439 Add extra line for permanent-local variables.
5440
5441 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5442
5443 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5444 Add export, import, library. (Bug#9164)
5445 (library): Set indent function.
5446
5447 2013-06-14 Glenn Morris <rgm@gnu.org>
5448
5449 * term/xterm.el (xterm--query):
5450 Stop after first matching handler. (Bug#14615)
5451
5452 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5453
5454 Add support for dired in saveplace.
5455 * dired.el (dired-initial-position-hook): New variable.
5456 (dired-initial-position): Call hook to place cursor position.
5457 * saveplace.el (save-place-to-alist): Add dired position.
5458 (save-place-dired-hook): New function.
5459
5460 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5461
5462 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5463 through a symbol rather than letrec.
5464
5465 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5466 (package-desc): Add `dir' field.
5467 (package-desc-full-name): New function.
5468 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5469 (package-maybe-load-descriptor): Remove.
5470 (package-load-all-descriptors): Just call package-load-descriptor.
5471 (package--disabled-p): New function.
5472 (package-desc-vers, package-desc-doc): Remove aliases.
5473 (package--dir): Remove function.
5474 (package-activate): Check if a package is disabled.
5475 (package-process-define-package): New function, extracted from
5476 define-package.
5477 (define-package): Turn into a place holder.
5478 (package-unpack-single, package-tar-file-info):
5479 Use package--description-file.
5480 (package-compute-transaction): Use package--disabled-p.
5481 (package-download-transaction): Don't call
5482 package-maybe-load-descriptor since they're all loaded anyway.
5483 (package-install): Change argument to be a pkg-desc.
5484 (package-delete): Use a single pkg-desc argument.
5485 (describe-package-1): Use package-desc-dir instead of package--dir.
5486 Use package-desc property instead of package-symbol.
5487 (package-install-button-action): Adjust accordingly.
5488 (package--push): Rewrite.
5489 (package-menu--print-info): Adjust accordingly. Change the ID format
5490 to be a pkg-desc.
5491 (package-menu-describe-package, package-menu-get-status)
5492 (package-menu--find-upgrades, package-menu-mark-upgrades)
5493 (package-menu-execute, package-menu--name-predicate):
5494 Adjust accordingly.
5495 * startup.el (package--description-file): New function.
5496 (command-line): Use it.
5497 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5498 Use package-desc-version.
5499
5500 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5501 (byte-compile-preprocess): Use it.
5502 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5503 can't quite recognize.
5504 (byte-compile-add-to-list): Remove.
5505 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5506 (cconv-closure-convert): Add assertion.
5507
5508 * emacs-lisp/map-ynp.el: Use lexical-binding.
5509 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5510 Factor out some repeated code.
5511
5512 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * subr.el (with-eval-after-load): New macro.
5515 (eval-after-load): Allow form to be a function.
5516 take advantage of lexical-binding.
5517 (do-after-load-evaluation): Use dolist and adjust to new format.
5518 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5519
5520 2013-06-13 Juri Linkov <juri@jurta.org>
5521
5522 * replace.el (perform-replace): Display "symbol " and other search
5523 modes from `isearch-message-prefix' in the *Help* buffer.
5524
5525 * isearch.el (isearch-query-replace): Add " symbol" and other
5526 possible search modes from `isearch-message-prefix' to the prompt.
5527 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5528 when reading a regexp to collect.
5529
5530 2013-06-13 Juri Linkov <juri@jurta.org>
5531
5532 * isearch.el (word-search-regexp): Match whitespace if the search
5533 string begins or ends in whitespace. The LAX arg is applied to
5534 both ends of the search string. Use `regexp-quote' and explicit
5535 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5536 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5537 boundaries are replaced with symbol boundaries, and characters
5538 between symbols match non-word non-symbol syntax. (Bug#14602)
5539
5540 2013-06-13 Juri Linkov <juri@jurta.org>
5541
5542 * isearch.el (isearch-del-char): Don't exceed the length of
5543 `isearch-string' by the prefix arg. (Bug#14563)
5544
5545 2013-06-13 Juri Linkov <juri@jurta.org>
5546
5547 * isearch.el (isearch-yank-word, isearch-yank-line)
5548 (isearch-char-by-name, isearch-quote-char)
5549 (isearch-printing-char, isearch-process-search-char):
5550 Add optional count prefix arg. (Bug#14563)
5551
5552 * international/isearch-x.el
5553 (isearch-process-search-multibyte-characters):
5554 Add optional count prefix arg.
5555
5556 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5557
5558 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5559 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5560 lexical-binding.
5561
5562 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5563
5564 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5565
5566 2013-06-13 Glenn Morris <rgm@gnu.org>
5567
5568 * startup.el (tty-handle-args):
5569 Don't just discard "--" and anything after. (Bug#14608)
5570
5571 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5572
5573 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5574
5575 Implement changes in Secret Service API. Make it backward compatible.
5576 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5577 (secrets-create-item): Use it. Prefix properties with interface.
5578
5579 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5580
5581 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5582 (term-emulate-terminal): Respect term-suppress-hard-newline.
5583
5584 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5585
5586 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5587 Only remove a `thumb-file' overlay. (Bug#14548)
5588
5589 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5590
5591 * mail/reporter.el (reporter-submit-bug-report):
5592 Handle missing package-name. (Bug#14600)
5593
5594 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5595
5596 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5597 (reftex-citation-prompt, reftex-default-bibliography)
5598 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5599 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5600 (reftex-bib-sort-author, reftex-bib-sort-year)
5601 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5602 (reftex-extract-bib-entries-from-thebibliography)
5603 (reftex-get-bibkey-default, reftex-get-bib-names)
5604 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5605 (reftex-format-bib-entry, reftex-parse-bibitem)
5606 (reftex-format-bibitem, reftex-do-citation)
5607 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5608 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5609 (reftex-insert-bib-matches, reftex-format-citation)
5610 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5611 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5612 existing comments into docstrings.
5613
5614 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5615
5616 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5617
5618 2013-06-12 Andreas Schwab <schwab@suse.de>
5619
5620 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5621 for auto-save files.
5622
5623 2013-06-12 Glenn Morris <rgm@gnu.org>
5624
5625 * ido.el (ido-delete-ignored-files): Remove.
5626 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5627 Go back to calling ido-ignore-item-p directly.
5628
5629 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5630
5631 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5632
5633 * ido.el (ido-delete-ignored-files): New function,
5634 split from ido-make-file-list-1.
5635 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5636 (ido-make-file-list-1): Use ido-delete-ignored-files.
5637
5638 2013-06-12 Leo Liu <sdl.web@gmail.com>
5639
5640 * progmodes/octave.el (inferior-octave-startup)
5641 (inferior-octave-completion-table)
5642 (inferior-octave-track-window-width-change)
5643 (octave-eldoc-function-signatures, octave-help)
5644 (octave-find-definition): Use single quoted strings.
5645 (inferior-octave-startup-args): Change default value.
5646 (inferior-octave-startup): Do not hard code "-i" and
5647 "--no-line-editing".
5648 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5649 (inferior-octave-directory-tracker): Use it.
5650 (octave-goto-function-definition): Robustify.
5651 (octave-help): Support highlighting operators in 'See also'.
5652 (octave-find-definition): Find subfunctions only in Octave mode.
5653
5654 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * help-fns.el (help-fns--compiler-macro): If the handler function is
5657 named, then put a link to it.
5658 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5659 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5660 (cl-typep): Use it.
5661 (cl-eval-when): Simplify debug spec.
5662 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5663 compiler-macro function instead of setting `compiler-macro-file'.
5664
5665 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5666
5667 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5668 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5669
5670 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5671 Daniel Hackney <dan@haxney.org>
5672
5673 First part of Daniel Hackney's patch to package.el.
5674 * emacs-lisp/package.el: Use defstruct.
5675 (package-desc): New, main struct.
5676 (package--bi-desc, package--ac-desc): New structs, used to describe the
5677 format in external files.
5678 (package-desc-vers): Replace with package-desc-version accessor.
5679 (package-desc-doc): Replace with package-desc-summary accessor.
5680 (package-activate-1): Remove `package' arg since the pkg-vec now
5681 includes the name.
5682 (define-package): Use package-desc-from-define.
5683 (package-unpack-single): Change file-name arg to be a symbol.
5684 (package--add-to-archive-contents): Use package-desc-create and new
5685 accessor functions to package--ac-desc.
5686 (package-buffer-info, package-tar-file-info): Return a package-desc.
5687 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5688 arg to be a package-desc.
5689 (package-install-file): Adjust accordingly. Use \' to match EOS.
5690 (package--from-builtin): New function.
5691 (describe-package-1, package-menu--generate): Use it.
5692 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5693 (package-generate-autoloads): Idem and return the name of the file.
5694 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5695 Change pkg-info arg to be a package-desc.
5696 Use package-make-ac-desc.
5697 (package-upload-file): Use \' to match EOS.
5698 * finder.el (finder-compile-keywords): Use package-make-builtin.
5699
5700 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * vc/vc.el (vc-deduce-fileset): Change error message.
5703 (vc-read-backend): New function.
5704 (vc-next-action): Use it.
5705
5706 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5707
5708 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5709 (prolog-font-lock-keywords): Use regexp-opt instead.
5710 Don't manually highlight strings.
5711 (prolog-mode-variables): Simplify comment-start-skip.
5712 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5713
5714 * emacs-lisp/generic.el (generic--normalise-comments)
5715 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5716 (generic-mode-set-comments): Use them.
5717 (generic-bracket-support): Use setq-local.
5718 (generic-make-keywords-list): Declare obsolete.
5719
5720 2013-06-11 Glenn Morris <rgm@gnu.org>
5721
5722 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5723 Prettify after setting font-lock-defaults. (Bug#14574)
5724
5725 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5726
5727 * replace.el (query-replace, occur-read-regexp-defaults-function)
5728 (replace-search):
5729 * subr.el (declare-function, number-sequence, local-set-key)
5730 (substitute-key-definition, locate-user-emacs-file)
5731 (with-silent-modifications, split-string, eval-after-load):
5732 Fix typos, remove unneeded backslashes and reflow some docstrings.
5733
5734 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5737 default for Elisp files.
5738
5739 2013-06-11 Glenn Morris <rgm@gnu.org>
5740
5741 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5742 although define-derived-mode was doing this anyway. (Bug#14583)
5743
5744 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5745
5746 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5747 Fix make-variable-buffer-local call to refer to the correct variable.
5748
5749 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5750
5751 * eshell/em-term.el (eshell-visual-commands)
5752 (eshell-visual-subcommands, eshell-visual-options):
5753 Add summary line to docstrings. Add cross-references.
5754
5755 2013-06-10 Glenn Morris <rgm@gnu.org>
5756
5757 * epa.el (epa-read-file-name): New function. (Bug#14510)
5758 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5759
5760 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5761
5762 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5763 output redirection to be ignored with visual commands.
5764
5765 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5766
5767 * eshell/em-term.el (eshell-visual-command-p): New function.
5768 (eshell-term-initialize): Move long lambda to separate function
5769 eshell-visual-command-p.
5770 * eshell/em-dirs.el (eshell-dirs-initialise):
5771 * eshell/em-script.el (eshell-script-initialize):
5772 Add missing #' to lambda.
5773
5774 2013-06-08 Leo Liu <sdl.web@gmail.com>
5775
5776 * progmodes/octave.el (octave-add-log-current-defun): New function.
5777 (octave-mode): Set add-log-current-defun-function.
5778 (octave-goto-function-definition): Do not move point if not found.
5779 (octave-find-definition): Enhance to try subfunctions first.
5780
5781 2013-06-08 Glenn Morris <rgm@gnu.org>
5782
5783 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5784 (byte-compile-backward-char, byte-compile-backward-word):
5785 Improve previous change, to handle non-explicit nil.
5786
5787 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5788
5789 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5790 (smie--opener/closer-at-point): New function.
5791 (smie--matching-block-data): Use it. Don't match from right after an
5792 opener or right before a closer. Obey smie-blink-matching-inners.
5793 Don't signal a mismatch for repeated inners like "switch..case..case".
5794
5795 2013-06-07 Leo Liu <sdl.web@gmail.com>
5796
5797 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5798 to t. (Bug#14303)
5799 (octave-function-header-regexp): Fix. (Bug#14570)
5800 (octave-help-mode-finish-hook, octave-help-mode-finish):
5801 Remove. Just use temp-buffer-show-hook.
5802
5803 * newcomment.el (comment-search-backward): Revert last change.
5804 (Bug#14434)
5805
5806 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5807
5808 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5809
5810 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5811 through xargs, to avoid failure due to MS-Windows limitations on
5812 command-line length.
5813
5814 2013-06-06 Glenn Morris <rgm@gnu.org>
5815
5816 * font-lock.el (lisp-font-lock-keywords-2):
5817 Treat user-error like error.
5818
5819 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5820 (byte-compile-backward-char, byte-compile-backward-word):
5821 Handle explicit nil arguments. (Bug#14565)
5822
5823 2013-06-05 Alan Mackenzie <acm@muc.de>
5824
5825 * isearch.el (isearch-allow-prefix): New user option.
5826 (isearch-other-meta-char): Don't exit isearch when a prefix
5827 argument is typed whilst `isearch-allow-prefix' is non-nil.
5828 (Bug#9706)
5829
5830 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * autorevert.el (auto-revert-notify-handler): Use memq.
5833 Hide assertion failure.
5834
5835 * skeleton.el: Use cl-lib.
5836 (skeleton-further-elements): Use defvar-local.
5837 (skeleton-insert): Use cl-progv.
5838
5839 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5840
5841 * progmodes/prog-mode.el (prog-prettify-symbols)
5842 (prog-prettify-install): Update docstrings.
5843
5844 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * simple.el: Move all the prog-mode code to prog-mode.el.
5847 * progmodes/prog-mode.el: New file.
5848 * loadup.el: Add prog-mode.el.
5849
5850 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5851
5852 * simple.el (prog-prettify-symbols): Add version.
5853 (prog-prettify-install): Add convenience function to prettify symbols.
5854
5855 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5856 (perl--augmented-font-lock-keywords-1)
5857 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5858 variables and use it.
5859
5860 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5861 (cfengine3-mode): Remove unneeded variable and use it.
5862
5863 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5864 (lisp--augmented-font-lock-keywords-1)
5865 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5866 Remove unneeded variables and use it.
5867
5868 2013-06-05 João Távora <joaotavora@gmail.com>
5869
5870 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5871 to point when opening the connection. (Bug#14380)
5872
5873 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * subr.el (load-history-regexp, load-history-filename-element)
5876 (eval-after-load, after-load-functions, do-after-load-evaluation)
5877 (eval-next-after-load, display-delayed-warnings)
5878 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5879 definition of save-match-data.
5880 (overriding-local-map): Remove accidental obsolescence declaration.
5881
5882 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5883
5884 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5885
5886 Generalize symbol prettify support to prog-mode and implement it
5887 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5888 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5889 (prog--prettify-font-lock-compose-symbol)
5890 (prog-prettify-font-lock-symbols-keywords): New variables and
5891 functions to support symbol prettification.
5892 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5893 (lisp--augmented-font-lock-keywords-1)
5894 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5895 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5896 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5897 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5898 Implement prettify of -> => :: strings.
5899 * progmodes/perl-mode.el (perl-prettify-symbols)
5900 (perl--font-lock-compose-symbol)
5901 (perl--font-lock-symbols-keywords): Move to prog-mode.
5902 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5903 (perl-font-lock-keywords-1)
5904 (perl-font-lock-keywords-2): Remove explicit prettify support.
5905 (perl--augmented-font-lock-keywords)
5906 (perl--augmented-font-lock-keywords-1)
5907 (perl--augmented-font-lock-keywords-2, perl-mode):
5908 Implement prettify support.
5909
5910 2013-06-05 Leo Liu <sdl.web@gmail.com>
5911
5912 Re-implement smie matching block highlight using
5913 show-paren-data-function. (Bug#14395)
5914 * emacs-lisp/smie.el (smie-matching-block-highlight)
5915 (smie--highlight-matching-block-overlay)
5916 (smie--highlight-matching-block-lastpos)
5917 (smie-highlight-matching-block)
5918 (smie-highlight-matching-block-mode): Remove.
5919 (smie--matching-block-data-cache): New variable.
5920 (smie--matching-block-data): New function.
5921 (smie-setup): Use smie--matching-block-data for
5922 show-paren-data-function.
5923
5924 * progmodes/octave.el (octave-mode-menu): Fix.
5925 (octave-find-definition): Skip garbage lines.
5926
5927 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 Fix compilation error with simultaneous dynamic+lexical scoping.
5930 Add warning when a defvar appears after the first let-binding.
5931 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5932 (byte-compile-close-variables): Initialize it.
5933 (byte-compile--declare-var): New function.
5934 (byte-compile-file-form-defvar)
5935 (byte-compile-file-form-define-abbrev-table)
5936 (byte-compile-file-form-custom-declare-variable): Use it.
5937 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5938 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5939 (byte-compile-bind): Handle dynamic bindings that shadow
5940 lexical bindings.
5941 (byte-compile-unbind): Make arg non-optional.
5942 (byte-compile-let): Simplify.
5943 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5944 (cconv--analyse-function, cconv-analyse-form): Populate it.
5945 Protect byte-compile-bound-variables to limit the scope of defvars.
5946 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5947 Remove unneeded rule for `declare'.
5948
5949 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5950 so as to avoid depending on cl-adjoin at run-time.
5951 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5952
5953 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5954 (macroexp--warn-and-return): Use it.
5955
5956 2013-06-05 Leo Liu <sdl.web@gmail.com>
5957
5958 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5959
5960 2013-06-04 Leo Liu <sdl.web@gmail.com>
5961
5962 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5963 (compilation-auto-jump): Suppress the "Mark set" message to give
5964 way to exit message.
5965
5966 2013-06-04 Alan Mackenzie <acm@muc.de>
5967
5968 Remove faulty optimisation from indentation calculation.
5969 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5970 search limit based on 2000 characters back from indent-point.
5971
5972 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5973
5974 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5975
5976 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * emacs-lisp/lisp.el: Use lexical-binding.
5979 (lisp--local-variables-1, lisp--local-variables): New functions.
5980 (lisp--local-variables-completion-table): New var.
5981 (lisp-completion-at-point): Use it complete let-bound vars.
5982
5983 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5984 eagerly (bug#14422).
5985
5986 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5987
5988 * autorevert.el (auto-revert-notify-enabled)
5989 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5990 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5991 (auto-revert-notify-handler): Handle also gfilenotify.
5992
5993 * subr.el (file-notify-handle-event): New defun. Replacing ...
5994 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5995 Remove.
5996
5997 2013-06-03 Juri Linkov <juri@jurta.org>
5998
5999 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6000 `M-s h .'. (Bug#14427)
6001
6002 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6003 command `hi-lock-face-symbol-at-point'.
6004 (hi-lock-face-symbol-at-point): New command.
6005 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6006 (hi-lock-menu): Add `highlight-symbol-at-point'.
6007 (hi-lock-mode): Doc fix.
6008
6009 * isearch.el (isearch-forward-symbol-at-point): New command.
6010 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6011 (isearch-highlight-regexp): Add a regexp which matches
6012 words/symbols for word/symbol mode.
6013
6014 * subr.el (find-tag-default-bounds): New function with the body
6015 mostly moved from `find-tag-default'.
6016 (find-tag-default): Move most code to `find-tag-default-bounds',
6017 call it and apply `buffer-substring-no-properties' afterwards.
6018
6019 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6020
6021 * eshell/em-term.el (eshell-term-initialize):
6022 Use `cl-intersection' rather than `intersection'.
6023
6024 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6025
6026 * vc/log-view.el: Doc fix.
6027 (log-view-mode-map): Copy keymap from `special-mode-map'.
6028
6029 2013-06-02 Eric Ludlam <zappo@gnu.org>
6030
6031 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6032 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6033 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6034 (eieio-unbound, eieio-default-superclass)
6035 (eieio--define-field-accessors, method-static, method-before)
6036 (method-primary, method-after, method-num-lists)
6037 (method-generic-before, method-generic-primary)
6038 (method-generic-after, method-num-slots)
6039 (eieio-specialized-key-to-generic-key)
6040 (eieio--check-type, class-v, class-p)
6041 (eieio-class-name, define-obsolete-function-alias)
6042 (eieio-class-parents-fast, eieio-class-children-fast)
6043 (same-class-fast-p, class-constructor, generic-p)
6044 (generic-primary-only-p, generic-primary-only-one-p)
6045 (class-option-assoc, class-option, eieio-object-p)
6046 (class-abstract-p, class-method-invocation-order)
6047 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6048 (eieio-class-un-autoload, eieio-defclass)
6049 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6050 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6051 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6052 (eieio-defgeneric-reset-generic-form)
6053 (eieio-defgeneric-form-primary-only)
6054 (eieio-defgeneric-reset-generic-form-primary-only)
6055 (eieio-defgeneric-form-primary-only-one)
6056 (eieio-defgeneric-reset-generic-form-primary-only-one)
6057 (eieio-unbind-method-implementations)
6058 (eieio--defmethod, eieio--typep)
6059 (eieio-perform-slot-validation, eieio-validate-slot-value)
6060 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6061 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6062 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6063 (eieio-slot-name-index, eieio-class-slot-name-index)
6064 (eieio-set-defaults, eieio-initarg-to-attribute)
6065 (eieio-attribute-to-initarg, eieio-c3-candidate)
6066 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6067 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6068 (eieio-class-precedence-list, eieio-generic-call-methodname)
6069 (eieio-generic-call-arglst, eieio-generic-call-key)
6070 (eieio-generic-call-next-method-list)
6071 (eieio-pre-method-execution-functions, eieio-generic-call)
6072 (eieio-generic-call-primary-only, eieiomt-method-list)
6073 (eieiomt-optimizing-obarray, eieiomt-install)
6074 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6075 (eieio-generic-form, eieio-defmethod, make-obsolete)
6076 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6077 (defclass): Remove `eval-and-compile' from macro.
6078 (call-next-method, shared-initialize): Instead of using
6079 `scoped-class' variable, use new eieio--scoped-class, and
6080 eieio--with-scoped-class.
6081 (initialize-instance): Rename local variable 'scoped-class' to
6082 'this-class' to remove ambiguitity from old global.
6083
6084 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6085 eieio.el.
6086 (eieio--scoped-class-stack): New variable.
6087 (eieio--scoped-class): New fcn.
6088 (eieio--with-scoped-class): New scoping macro.
6089 (eieio-defclass): Use pushnew instead of add-to-list.
6090 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6091 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6092 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6093 `scoped-class' variable, use new eieio--scoped-class, and
6094 eieio--with-scoped-class.
6095
6096 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6097
6098 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6099
6100 * eshell/esh-ext.el (eshell-external-command): Pass args to
6101 `eshell-find-interpreter'.
6102 (eshell-find-interpreter): Add new second parameter ARGS.
6103
6104 * eshell/em-script.el (eshell-script-initialize): Add second arg
6105 to the function added as MATCH to `eshell-interpreter-alist'.
6106
6107 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6108 the function added as MATCH to `eshell-interpreter-alist'.
6109
6110 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6111 (eshell-visual-options): New defcustom.
6112 (eshell-escape-control-x): Adapt docstring.
6113 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6114 `eshell-visual-options' in addition to `eshell-visual-commands'.
6115 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6116
6117 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6118
6119 * progmodes/python.el (python-indent-block-enders): Add break,
6120 continue and raise keywords.
6121
6122 2013-06-01 Glenn Morris <rgm@gnu.org>
6123
6124 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6125
6126 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6127 * progmodes/cc-cmds.el (delete-forward-p):
6128 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6129 * progmodes/cc-engine.el (buffer-syntactic-context):
6130 * progmodes/cc-fonts.el (face-property-instance):
6131 * progmodes/cc-mode.el (set-keymap-parents):
6132 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6133 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6134 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6135 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6136 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6137
6138 * progmodes/cc-vars.el (other): Emacs has this widget since
6139 at least 21.1, so don't (re)define it.
6140
6141 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6142 Replace the obsolete alias pcomplete-arg-quote-list.
6143
6144 2013-06-01 Leo Liu <sdl.web@gmail.com>
6145
6146 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6147 punctuation syntax.
6148 (inferior-octave-minimal-columns)
6149 (inferior-octave-last-column-width): New variables.
6150 (inferior-octave-track-window-width-change): New function.
6151 (inferior-octave-mode): Adjust column width so that Octave output,
6152 for example from 'ls', can fit into the window nicely.
6153
6154 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6155
6156 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6157 Highlight expansions inside regexp literals.
6158
6159 2013-05-31 Glenn Morris <rgm@gnu.org>
6160
6161 * obsolete/sym-comp.el (symbol-complete):
6162 Replace obsolete completion-annotate-function.
6163
6164 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6165
6166 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6167
6168 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6169 New function, checks if point is inside a literal that allows
6170 expression expansion.
6171 (ruby-syntax-propertize-expansion): Use it.
6172 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6173 around the body.
6174
6175 2013-05-30 Juri Linkov <juri@jurta.org>
6176
6177 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6178 to "\M-si".
6179 (isearch-invisible): New variable.
6180 (isearch-forward): Doc fix.
6181 (isearch-mode): Set `isearch-invisible'
6182 to the value of `search-invisible'.
6183 (isearch-toggle-case-fold): Doc fix.
6184 (isearch-toggle-invisible): New command.
6185 (isearch-query-replace): Let-bind `search-invisible'
6186 to the value of `isearch-invisible'.
6187 (isearch-search): Use `isearch-invisible' instead of
6188 `search-invisible'. Let-bind `search-invisible'
6189 to the value of `isearch-invisible'. (Bug#11378)
6190
6191 2013-05-30 Juri Linkov <juri@jurta.org>
6192
6193 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6194 call when `query-flag' is nil and `search-invisible' is non-nil.
6195 (Bug#11746)
6196
6197 2013-05-30 Glenn Morris <rgm@gnu.org>
6198
6199 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6200
6201 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6202 (cc-require): Suppress spurious "noruntime" warnings.
6203 (cc-require-when-compile): Use fboundp, for sake of compiler.
6204
6205 * progmodes/cc-mode.el: Move load of cc-vars before that of
6206 cc-langs (which in turn loads cc-vars), to quieten compiler.
6207
6208 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * paren.el: Simplify the code.
6211 (show-paren-mode): Always start the timer.
6212 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6213 (show-paren--overlay, show-paren--overlay-1): Rename from
6214 show-paren-overlay and show-paren-overlay-1, and initialize to an
6215 overlay rather than to nil.
6216 (show-paren-function): Misc cleanup and simplifications.
6217
6218 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * paren.el (show-paren-data-function): New hook.
6221 (show-paren--default): New function, extracted from show-paren-function.
6222 (show-paren-function): Use show-paren-data-function.
6223
6224 2013-05-30 Glenn Morris <rgm@gnu.org>
6225
6226 * ielm.el (ielm-map, ielm-complete-symbol):
6227 Use completion-at-point rather than obsolete functions.
6228 (inferior-emacs-lisp-mode): Doc fix.
6229 Set completion-at-point-functions, rather than
6230 comint-dynamic-complete-functions.
6231
6232 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6233 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6234 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6235
6236 * image.el (image-animated-p): Tweak definition.
6237
6238 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6239 (rlogin-process-connection-type): Tweak default. Add set-after.
6240 (rlogin-host): Doc fix.
6241 (rlogin): Tweak prompt.
6242 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6243
6244 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6245 * progmodes/tcl.el (inferior-tcl-mode-map):
6246 Use completion-at-point rather than obsolete alias.
6247
6248 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6249
6250 * minibuffer.el (read-file-name-completion-ignore-case):
6251 Move before completion--in-region, for eager macro expansion.
6252
6253 2013-05-29 Juri Linkov <juri@jurta.org>
6254
6255 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6256 for total count of matching lines. Add `global-matches' for total
6257 count of matches. Rename `matches' to `lines' for count of
6258 matching lines. Add `matches' for count of matches.
6259 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6260 to `prev-line' for line number of prev match endpt.
6261 Increment `matches' for every match. Print the number of
6262 matching lines in the header.
6263 (occur-context-lines): Rename `lines' to `curr-line'.
6264 Rename `prev-lines' to `prev-line'. (Bug#14017)
6265
6266 2013-05-29 Juri Linkov <juri@jurta.org>
6267
6268 * replace.el (perform-replace): Add `skip-read-only-count',
6269 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6270 Increment them for corresponding conditions and report the number
6271 of skipped occurrences in the final message. (Bug#11746)
6272 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6273 (replace-string, replace-regexp): Doc fix.
6274
6275 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6278
6279 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6280 prog-mode-map (bug#14504).
6281
6282 2013-05-29 Leo Liu <sdl.web@gmail.com>
6283
6284 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6285 (octave-help): Small simplification.
6286
6287 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6288 off the highlight first.
6289
6290 2013-05-29 Glenn Morris <rgm@gnu.org>
6291
6292 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6293 Handle idlwave-last-system-routine-info-cons-cell being nil.
6294
6295 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6296 (idlwave-write-paths): Simplify via with-temp-buffer.
6297
6298 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6299 * emulation/cua-rect.el: Also load cua-base at run time.
6300
6301 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6302 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6303 (cperl-imenu-on-info): Require imenu.
6304
6305 2013-05-28 Alan Mackenzie <acm@muc.de>
6306
6307 Handle "capitalised keywords" correctly.
6308 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6309
6310 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6311
6312 * eshell/em-unix.el: Add -r option to cp.
6313
6314 2013-05-28 Glenn Morris <rgm@gnu.org>
6315
6316 * vc/vc-arch.el (vc-exec-after): Declare.
6317 (vc-switches): Autoload.
6318 * vc/vc-bzr.el: No need to require vc when compiling.
6319 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6320 (vc-resynch-buffer, vc-dir-refresh): Declare.
6321 (vc-setup-buffer, vc-switches): Autoload.
6322 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6323 (vc-resynch-buffer): Declare.
6324 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6325 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6326 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6327 (grep-read-regexp, grep-read-files, grep-expand-template)
6328 (vc-dir-refresh): Declare.
6329 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6330 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6331 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6332 * vc/vc-mtn.el (vc-exec-after): Declare.
6333 (vc-switches): Autoload.
6334 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6335 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6336 (vc-file-tree-walk): Declare.
6337 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6338 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6339 (vc-tag-precondition, vc-rename-master): Autoload.
6340 * vc/vc-svn.el (vc-exec-after): Declare.
6341 (vc-switches, vc-setup-buffer): Autoload.
6342 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6343 Autoload.
6344 (vc-resynch-buffer): Declare.
6345
6346 * obsolete/fast-lock.el (byte-compile-warnings):
6347 Don't warn about obsolete features in this obsolete file.
6348
6349 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6350 Move definition before use.
6351
6352 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6353 (dun-unix-verbs): Remove dun-zippy.
6354 (dun-zippy): Remove function.
6355
6356 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6357
6358 2013-05-27 Juri Linkov <juri@jurta.org>
6359
6360 * replace.el (replace-search): New function with code moved out
6361 from `perform-replace'.
6362 (replace-highlight, replace-dehighlight): Move function definitions
6363 up closer to `replace-search'. (Bug#11746)
6364
6365 2013-05-27 Juri Linkov <juri@jurta.org>
6366
6367 * replace.el (perform-replace): Ignore invisible matches.
6368 In addition to checking `query-replace-skip-read-only', also
6369 filter out matches by calling `run-hook-with-args-until-failure'
6370 on `isearch-filter-predicates', and also check `search-invisible'
6371 for t or call `isearch-range-invisible'.
6372 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6373
6374 2013-05-27 Juri Linkov <juri@jurta.org>
6375
6376 * isearch.el (isearch-filter-predicates): Rename from
6377 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6378 (isearch-message-prefix): Display text from the property
6379 `isearch-message-prefix' of the currently active filters.
6380 (isearch-search): Don't compare `isearch-filter-predicate' with
6381 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6382 on `isearch-filter-predicates'. Also check `search-invisible' for t
6383 or call `isearch-range-invisible'.
6384 (isearch-filter-visible): Make obsolete.
6385 (isearch-lazy-highlight-search):
6386 Call `run-hook-with-args-until-failure' on
6387 `isearch-filter-predicates' and use `isearch-range-invisible'.
6388
6389 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6390 `isearch-filter-predicates' instead of `funcall'ing
6391 `isearch-filter-predicate'.
6392 (Info-mode): Set `Info-isearch-filter' to
6393 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6394
6395 * dired-aux.el (dired-isearch-filter-predicate-orig):
6396 Remove variable.
6397 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6398 (dired-isearch-filenames-end): Add and remove
6399 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6400 instead of changing the value of `isearch-filter-predicate'.
6401 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6402 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6403 Put property `isearch-message-prefix' to "filename " on
6404 `dired-isearch-filter-filenames'.
6405
6406 * wdired.el (wdired-change-to-wdired-mode):
6407 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6408 locally instead of changing `isearch-filter-predicate'.
6409 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6410
6411 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6412
6413 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6414 return the commit hash (Bug#14459). Also set the
6415 `vc-git-detached' property.
6416 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6417 (vc-git-mode-line-string): Use the same help-echo format whether
6418 in detached mode or not, because we know the actual revision now.
6419 When in detached mode, shorten the revision to 7 chars.
6420
6421 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 * emacs-lisp/easy-mmode.el (define-minor-mode):
6424 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6425 mode hook and provide a docstring.
6426
6427 2013-05-27 Alan Mackenzie <acm@muc.de>
6428
6429 Remove spurious syntax-table text properties inserted by C-y.
6430 * progmodes/cc-mode.el (c-after-change): Also clear hard
6431 syntax-table property with value nil.
6432
6433 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6434
6435 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6436 when reading the events; the buffer layout shall not be changed.
6437
6438 2013-05-27 Leo Liu <sdl.web@gmail.com>
6439
6440 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6441 New variable.
6442 (inferior-octave-directory-tracker): Automatically re-sync
6443 default-directory.
6444 (octave-help): Improve handling of 'See also'.
6445
6446 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * doc-view.el: Minor naming convention tweaks.
6449 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6450
6451 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6452 even if there's no `display' property yet (bug#14435).
6453
6454 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6455
6456 * subr.el (unmsys--file-name): Rename from reveal-filename.
6457
6458 * Makefile.in (custom-deps, finder-data, autoloads)
6459 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6460 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6461 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6462
6463 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6466 error-completion on the first 2 args of condition-case (bug#14446).
6467 Don't burp at EOB.
6468
6469 2013-05-25 Leo Liu <sdl.web@gmail.com>
6470
6471 * comint.el (comint-previous-matching-input): Do not flood the
6472 *Messages* buffer with trivial messages.
6473
6474 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * progmodes/flymake.el (flymake-nop): Don't return a string.
6477 (flymake-set-at): Fix typo.
6478
6479 * simple.el (read--expression): New function, extracted from
6480 eval-expression. Set completion-at-point-functions (bug#14465).
6481 (eval-expression, eval-minibuffer): Use it.
6482
6483 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6484
6485 * progmodes/flymake.el (flymake-save-buffer-in-file)
6486 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6487 (flymake-selected-frame, flymake-log, flymake-ins-after)
6488 (flymake-set-at, flymake-get-buildfile-from-cache)
6489 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6490 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6491 Refine the doc string.
6492 (flymake-get-file-name-mode-and-masks): Reformat.
6493 (flymake-get-real-file-name-function): Fix a minor bug.
6494
6495 2013-05-24 Juri Linkov <juri@jurta.org>
6496
6497 * progmodes/grep.el (grep-mode-font-lock-keywords):
6498 Support =linenumber= format used by git-grep for lines with
6499 function names. (Bug#13549)
6500
6501 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6504 0 after a semi-colon; it works better for smie-auto-fill.
6505 (octave--indent-new-comment-line): New function.
6506 (octave-indent-new-comment-line): Use it (indirectly).
6507 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6508 modify comment-line-break-function.
6509
6510 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6511 (smie-setup): Use add-function to set it.
6512
6513 2013-05-24 Sam Steingold <sds@gnu.org>
6514
6515 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6516 argument (before the `interactive' argument).
6517
6518 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * image-mode.el (image-mode-winprops): Add winprops to
6521 image-mode-winprops-alist before running
6522 image-mode-new-window-functions.
6523 * doc-view.el (doc-view-new-window-function): Don't delay
6524 doc-view-goto-page via timers (bug#14435).
6525
6526 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6527
6528 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6529 (doc-view-desktop-save-buffer): New function.
6530 (doc-view-restore-desktop-buffer): New function.
6531 (desktop-buffer-mode-handlers):
6532 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6533 handler.
6534 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6535 `desktop-save-buffer' function.
6536
6537 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6538
6539 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6540 (tramp-gvfs-file-name-handler): Raise a user error when
6541 `tramp-gvfs-enabled' is nil.
6542 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6543 Do not raise a user error when loading package. (Bug#14447)
6544
6545 * net/xesam.el: Move to obsolete/.
6546
6547 2013-05-24 Glenn Morris <rgm@gnu.org>
6548
6549 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6550
6551 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6552
6553 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6554 (Info-find-node, Man-getpage-in-background): Declare.
6555
6556 * mail/unrmail.el (unrmail):
6557 Replace obsolete detect-coding-with-priority.
6558
6559 * net/socks.el (socks-split-string): Use this rather than split-string.
6560 (socks-nslookup-host): Update for above change.
6561 (dynamic-choice, s5-dynamic-choice-match)
6562 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6563 Comment out unused code.
6564
6565 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6566 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6567 (gud-tooltip-echo-area): Make obsolete.
6568 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6569
6570 * progmodes/js.el (js--optimize-arglist): Declare.
6571
6572 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6573
6574 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6575 (ediff-window-C): Declare.
6576
6577 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6578 Tweak requires to silence compiler.
6579
6580 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6581 (he-search-string, he-tried-table, he-expand-list)
6582 (he-init-string, he-string-member, he-substitute-string)
6583 (he-reset-string): Declare.
6584
6585 * obsolete/options.el (list-options): Use custom-variable-p,
6586 rather than obsolete alias.
6587
6588 2013-05-23 Sam Steingold <sds@gnu.org>
6589
6590 * simple.el (shell-command-on-region): Pass the `replace' argument
6591 down to `call-process-region' to comply with the doc as reported on
6592 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6593
6594 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/smie.el (smie-indent-forward-token)
6597 (smie-indent-backward-token): Handle string tokens (bug#14381).
6598
6599 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6600
6601 * ielm.el (ielm-menu): New menu.
6602 (inferior-emacs-lisp-mode): Set comment-start.
6603
6604 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6605
6606 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6607 Fix deactivate action.
6608
6609 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6610 Add cleveref macros.
6611
6612 * lisp/textmodes/reftex-parse.el
6613 (reftex-locate-bibliography-files): Accept options for
6614 bibliography commands.
6615 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6616 Add addbibresource. Basic Biblatex support.
6617
6618 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6619
6620 * net/tramp-gvfs.el (top):
6621 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6622 when loading package. (Bug#14447)
6623
6624 2013-05-23 Glenn Morris <rgm@gnu.org>
6625
6626 * progmodes/js.el: No need to load comint when compiling.
6627 (ring-insert, comint-send-string, comint-send-input)
6628 (comint-last-input-end, ido-chop): Declare.
6629
6630 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6631 * vc/ediff-mult.el: Adjust requires.
6632 (ediff-directories-internal, ediff-directory-revisions-internal)
6633 (ediff-patch-file-internal): Declare.
6634 * vc/ediff-ptch.el: Adjust requires.
6635 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6636 (ediff-find-file): Autoload.
6637 * vc/ediff-util.el: No need to load ediff when compiling.
6638 (ediff-regions-internal): Declare.
6639 * vc/ediff-wind.el: Adjust requires.
6640 (ediff-compute-toolbar-width): Define when compiling.
6641 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6642 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6643 (dired-get-filename, dired-get-marked-files)
6644 (ediff-last-dir-patch, ediff-patch-default-directory)
6645 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6646 (ediff-patch-buffer-internal): Declare.
6647
6648 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6649 (ispell-process, ispell-buffer-local-words, lm-summary)
6650 (lm-section-start, lm-section-end): Declare.
6651 (checkdoc-ispell-init): Simplify.
6652
6653 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6654 (he-string-member, he-reset-string, he-substitute-string): Declare.
6655
6656 * eshell/em-ls.el: Adjust requires.
6657 (eshell-glob-regexp): Declare.
6658 * eshell/em-tramp.el: Adjust requires.
6659 (eshell-parse-command): Autoload.
6660 * eshell/em-xtra.el: Adjust requires.
6661 (eshell-parse-command): Autoload.
6662 * eshell/esh-ext.el: Adjust requires.
6663 (eshell-parse-command, eshell-close-handles): Autoload.
6664 * eshell/esh-io.el: Adjust requires.
6665 (eshell-output-filter): Autoload.
6666 * eshell/esh-util.el: No need to load tramp when compiling.
6667 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6668 Declare.
6669 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6670 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6671 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6672 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6673 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6674 * eshell/esh-opt.el, eshell/esh-proc.el:
6675 * eshell/esh-var.el: Adjust requires.
6676 * eshell/eshell.el: Do not require esh-util twice.
6677 (eshell-add-input-to-history): Declare.
6678 (eshell-command): Check history module is active before using it.
6679
6680 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6681
6682 2013-05-22 Leo Liu <sdl.web@gmail.com>
6683
6684 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6685
6686 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6687
6688 * autorevert.el (auto-revert-notify-add-watch)
6689 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6690 it indicates changes in file modification time.
6691
6692 2013-05-22 Glenn Morris <rgm@gnu.org>
6693
6694 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6695 Always delete the autoloaded function from the noruntime and
6696 unresolved functions lists.
6697
6698 * allout.el: No need to load epa, epg, overlay when compiling.
6699 (epg-context-set-passphrase-callback, epg-list-keys)
6700 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6701 (epg-key-user-id-list): Declare.
6702
6703 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6704 (viper-set-parsing-style-toggling-macro)
6705 (viper-set-emacs-state-searchstyle-macros):
6706 Use called-interactively-p on Emacs.
6707 (viper-looking-back): Make it an obsolete alias. Update callers.
6708 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6709 Use looking-back rather than viper-looking-back.
6710 (viper-tmp-insert-at-eob, viper-enlarge-region)
6711 (viper-read-string-with-history, viper-register-to-point)
6712 (viper-append-to-register, viper-change-state-to-vi)
6713 (viper-backward-char-carefully, viper-forward-char-carefully)
6714 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6715 (viper-change-state-to-emacs): Declare.
6716 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6717 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6718 * emulation/viper-mous.el: Do not load viper-cmd.
6719 (viper-backward-char-carefully, viper-forward-char-carefully)
6720 (viper-forward-word, viper-adjust-window): Declare.
6721
6722 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6723
6724 * progmodes/idlw-help.el (idlwave-help-fontify):
6725 Use called-interactively-p.
6726
6727 * term/w32console.el (w32-get-console-codepage)
6728 (w32-get-console-output-codepage): Declare.
6729
6730 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6731 Remove unnecessary declarations.
6732 (dframe-message): Doc fix.
6733
6734 * info.el (dframe-select-attached-frame, dframe-current-frame):
6735 Declare.
6736
6737 * speedbar.el (speedbar-message): Make it an obsolete alias.
6738 Update all callers.
6739 (speedbar-with-attached-buffer)
6740 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6741 (speedbar-with-writable): Use backquote.
6742 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6743 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6744 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6745 rather than speedbar- aliases.
6746 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6747 (speedbar-make-specialized-keymap, speedbar-insert-button)
6748 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6749 (speedbar-do-function-pointer): Declare.
6750 (rmail-speedbar-button, rmail-speedbar-find-file)
6751 (rmail-speedbar-move-message):
6752 Use dframe-with-attached-buffer rather than speedbar- alias.
6753 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6754 (dframe-message, speedbar-make-specialized-keymap)
6755 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6756 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6757 (speedbar-insert-button, dframe-select-attached-frame)
6758 (dframe-maybee-jump-to-attached-frame)
6759 (speedbar-change-initial-expansion-list)
6760 (speedbar-previously-used-expansion-list-name): Declare.
6761 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6762 Use dframe-message, dframe-with-attached-buffer rather than
6763 speedbar- aliases.
6764 (gud-sentinel): Silence compiler.
6765 * progmodes/vhdl-mode.el (speedbar-refresh)
6766 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6767 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6768 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6769 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6770 (speedbar-file-lists, speedbar-make-tag-line)
6771 (speedbar-line-directory, speedbar-goto-this-file)
6772 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6773 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6774 (speedbar-make-button, speedbar-reset-scanners)
6775 (speedbar-files-item-info, speedbar-line-text)
6776 (speedbar-find-file-in-frame, speedbar-set-timer)
6777 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6778 (speedbar-with-writable): Do not (re)define it.
6779 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6780 rather than speedbar- alias.
6781
6782 2013-05-21 Leo Liu <sdl.web@gmail.com>
6783
6784 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6785 menu items.
6786 (octave-mode): Tweak fill-nobreak-predicate.
6787 (inferior-octave-startup): Check process to avoid infinite loop.
6788 (inferior-octave): Pop to buffer first to show abornmal process
6789 exit information.
6790
6791 2013-05-21 Glenn Morris <rgm@gnu.org>
6792
6793 * printing.el (pr-menu-bar): Define when compiling.
6794
6795 2013-05-21 Leo Liu <sdl.web@gmail.com>
6796
6797 * progmodes/octave.el (octave-auto-fill): Remove.
6798 (octave-indent-new-comment-line): Improve.
6799 (octave-mode): Use auto fill mode through
6800 comment-line-break-function and fill-nobreak-predicate.
6801 (octave-goto-function-definition): Support DEFUN_DLD.
6802 (octave-beginning-of-defun): Small tweak.
6803 (octave-help): Show parent directory.
6804
6805 2013-05-21 Glenn Morris <rgm@gnu.org>
6806
6807 * files.el (dired-unmark):
6808 * progmodes/gud.el (gdb-input): Update declarations.
6809
6810 * calculator.el (electric, ehelp): No need to load when compiling.
6811 (Electric-command-loop, electric-describe-mode): Declare.
6812
6813 * doc-view.el (doc-view-current-converter-processes): Move before use.
6814
6815 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6816 Move MODE-set-explicitly definition before use.
6817
6818 * international/mule-diag.el (mule-diag):
6819 Don't use obsolete window-system-version.
6820
6821 * mail/feedmail.el (smtpmail): No need to load when compiling.
6822 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6823
6824 * mail/mail-utils.el (rfc822): No need to load when compiling.
6825 (rfc822-addresses): Autoload it.
6826 (mail-strip-quoted-names): Trivial simplification.
6827
6828 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6829 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6830
6831 * net/snmp-mode.el (tempo): Don't duplicate requires.
6832
6833 * progmodes/prolog.el (info): No need to load when compiling.
6834 (comint): Require before shell requires it.
6835 (Info-goto-node): Autoload it.
6836 (Info-follow-nearest-node): Declare.
6837 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6838
6839 * textmodes/artist.el (picture-mode-exit): Declare.
6840
6841 * textmodes/reftex-parse.el (reftex-parse-from-file):
6842 Trivial rewrite so the compiler can parse it better.
6843
6844 2013-05-20 Leo Liu <sdl.web@gmail.com>
6845
6846 * progmodes/octave.el (octave-help-mode-map)
6847 (octave-help-mode-finish-hook): New variables.
6848 (octave-help-mode, octave-help-mode-finish): New functions.
6849 (octave-help): Use octave-help-mode.
6850
6851 2013-05-20 Glenn Morris <rgm@gnu.org>
6852
6853 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6854
6855 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6856
6857 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6858 start at point, so that expansion starting right after opening
6859 slash in a regexp is recognized.
6860 (ruby-syntax-before-regexp-re): New defvar, extracted from
6861 ruby-syntax-propertize-function. Since the value of this regexp
6862 is looked up at runtime now, we should be able to turn
6863 `ruby-syntax-methods-before-regexp' into a defcustom later.
6864 (ruby-syntax-propertize-function): Split regexp matching into two
6865 parts, for opening and closing slashes. That allows us to skip
6866 over string interpolations and support multiline regexps.
6867 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6868 for them, which calls `ruby-syntax-propertize-expansion'.
6869 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6870 call to `ruby-syntax-propertize-function'.
6871 (ruby-syntax-propertize-expansion): Extracted from
6872 `ruby-syntax-propertize-expansions'. Handles one expansion.
6873 (ruby-syntax-propertize-percent-literal): Leave point right after
6874 the percent symbol, so that the expression expansion rule can
6875 propertize the contents.
6876 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6877 heredoc openers.
6878 (ruby-syntax-propertize-expansions): Remove.
6879
6880 2013-05-18 Juri Linkov <juri@jurta.org>
6881
6882 * man.el (Man-default-man-entry): Remove `-' from the end
6883 of the default value. (Bug#14400)
6884
6885 2013-05-18 Glenn Morris <rgm@gnu.org>
6886
6887 * comint.el (comint-password-prompt-regexp):
6888 Allow "password for XXX" where XXX contains colons (eg https://...).
6889
6890 2013-05-18 Leo Liu <sdl.web@gmail.com>
6891
6892 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6893 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6894 (octave-source-directories): Don't check process.
6895 (octave-source-directories, octave-find-definition): Doc fix.
6896
6897 2013-05-18 Glenn Morris <rgm@gnu.org>
6898
6899 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6900 Remove backspace/delete bindings. (Bug#14392)
6901
6902 * cus-dep.el (custom-make-dependencies): Sort the output.
6903 (custom-versions-load-alist): Convert comment to doc.
6904
6905 2013-05-17 Leo Liu <sdl.web@gmail.com>
6906
6907 * newcomment.el (comment-search-backward): Stricter in finding
6908 comment start. (Bug#14303)
6909
6910 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6911 (octave-comment-start-skip): Properly anchored.
6912
6913 2013-05-17 Leo Liu <sdl.web@gmail.com>
6914
6915 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6916 Clean up when turned off. (Bug#14395)
6917 (smie--highlight-matching-block-overlay): No longer buffer-local.
6918 (smie-highlight-matching-block): Adjust.
6919
6920 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6921
6922 Doc string fix for "nanoseconds" (Bug#14406).
6923 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6924 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6925
6926 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6927
6928 * calc/calc-units.el (math-extract-units): Preserve powers
6929 of units.
6930
6931 2013-05-17 Leo Liu <sdl.web@gmail.com>
6932
6933 * subr.el (delete-consecutive-dups): New function.
6934 * ido.el (ido-set-matches-1): Use it.
6935 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6936 * ido.el (ido-remove-consecutive-dups): Remove.
6937
6938 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6941 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6942 regexp-opt's `words'.
6943
6944 2013-05-16 Leo Liu <sdl.web@gmail.com>
6945
6946 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6947 (smie--highlight-matching-block-overlay)
6948 (smie--highlight-matching-block-lastpos)
6949 (smie--highlight-matching-block-timer): New variables.
6950 (smie-highlight-matching-block): New function.
6951 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6952 (smie-setup): Conditionally enable smie-blink-matching-open.
6953
6954 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6955
6956 Sync with upstream verilog-mode r840.
6957 * progmodes/verilog-mode.el (verilog-mode-version)
6958 (verilog-mode-release-date): Update.
6959 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6960 (verilog-sig-tieoff): Fix string error on
6961 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6962 (verilog-read-decls): Fix parameters confusing
6963 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6964
6965 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6966
6967 * subr.el (reveal-filename): New function.
6968
6969 * loadup.el: Compute Emacs executable versions on MS-Windows,
6970 where executables have the .exe extension. Add a hard link
6971 emacs-XX.YY.ZZ.exe on MS-Windows.
6972
6973 * Makefile.in (XARGS_LIMIT): New variable.
6974 (custom-deps, finder-data, autoloads)
6975 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6976 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6977 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6978 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6979
6980 2013-05-16 Leo Liu <sdl.web@gmail.com>
6981
6982 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6983 (octave-mode-menu, octave-mode-map): Remove its uses.
6984
6985 2013-05-16 Reto Zimmermann <reto@gnu.org>
6986
6987 Sync with upstream vhdl mode v3.34.2.
6988 * progmodes/vhdl-mode.el: Use `push' throughout.
6989 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6990 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6991 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6992 (vhdl-actual-generic-name): New option to derive actual generic name.
6993 (vhdl-port-paste-signals): Replace formal by actual generics.
6994 (vhdl-beautify): New name for old group vhdl-align. Update users.
6995 (vhdl-beautify-options): New option.
6996 (vhdl-last-input-event): New compat alias. Use throughout.
6997 (vhdl-goto-line): Replace user level function `goto-line'.
6998 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6999 vhdl-fix-statement-buffer.
7000 (vhdl-create-mode-menu): Add some entries.
7001 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7002 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7003 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7004 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7005 to force statements on one line.
7006 (vhdl-remove-trailing-spaces-region):
7007 New, split from vhdl-remove-trailing-spaces.
7008 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7009 Respect vhdl-beautify-options.
7010 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7011 (vhdl-update-sensitivity-list): Not add with index if exists without.
7012 Not include array index with signal. Ignore keywords in comments.
7013 (vhdl-get-visible-signals): Regexp tweaks.
7014 (vhdl-template-component-inst): Handle empty library.
7015 (vhdl-template-type): Add template for 'enum' type.
7016 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7017 Use vhdl-replace-string.
7018 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7019 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7020 (vhdl-speedbar-initialize): Update for above name change.
7021 (vhdl-compose-wire-components): Fix in handling of constants.
7022 (vhdl-error-regexp-emacs-alist): New variable.
7023 (vhdl-error-regexp-add-emacs): New function;
7024 adds support for new compile.el (Emacs 22+)
7025 (vhdl-generate-makefile-1): Change target order for single lib. units.
7026 Allow use of absolute file names.
7027
7028 2013-05-16 Leo Liu <sdl.web@gmail.com>
7029
7030 * simple.el (prog-indent-sexp): Indent enclosing defun.
7031
7032 2013-05-15 Glenn Morris <rgm@gnu.org>
7033
7034 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7035 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7036 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7037 (whitespace-highlight): Move to whitespace group.
7038
7039 * comint.el (comint-source):
7040 * pcmpl-linux.el (pcmpl-linux):
7041 * shell.el (shell-faces):
7042 * eshell/esh-opt.el (eshell-opt):
7043 * international/ccl.el (ccl): Remove empty custom groups.
7044
7045 * completion.el (dynamic-completion-mode):
7046 * jit-lock.el (jit-lock-debug-mode):
7047 * minibuffer.el (completion-in-region-mode):
7048 * type-break.el (type-break-mode-line-message-mode)
7049 (type-break-query-mode):
7050 * emulation/tpu-edt.el (tpu-edt-mode):
7051 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7052 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7053 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7054
7055 * term/xterm.el (xterm): Change parent group to terminals.
7056
7057 * master.el (master): Remove empty custom group.
7058 (master-mode): Remove unused :group argument.
7059 * textmodes/refill.el (refill): Remove empty custom group.
7060 (refill-mode): Remove unused :group argument.
7061
7062 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7063
7064 * cus-dep.el: Provide a feature.
7065 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7066 Don't mistakenly ignore files whose basenames match a basename
7067 from preloaded-file-list (eg cedet/ede/simple.el).
7068 Add a fallback method for getting :group.
7069
7070 2013-05-15 Juri Linkov <juri@jurta.org>
7071
7072 * isearch.el (isearch-char-by-name): Rename from
7073 `isearch-insert-char-by-name'. Doc fix.
7074 (isearch-forward): Mention `isearch-char-by-name' in
7075 the docstring. (Bug#13348)
7076
7077 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7078 `exit-minibuffer' instead of
7079 `isearch-nonincremental-exit-minibuffer'.
7080 (isearch-edit-string): Remove mention of
7081 `isearch-nonincremental-exit-minibuffer' from docstring.
7082 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7083 (isearch-forward-exit-minibuffer)
7084 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7085
7086 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7087
7088 * loadup.el: Just use unversioned DOC.
7089
7090 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7091 literals as extending to EOB.
7092 (nxml-last-fontify-end): Remove unused variable.
7093 (nxml-after-change1): Use with-silent-modifications.
7094 (nxml-extend-after-change-region): Simplify.
7095 (nxml-extend-after-change-region1): Remove function.
7096 (nxml-after-change1): Don't adjust for dependent regions.
7097 (nxml-fontify-matcher): Simplify.
7098 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7099 (xmltok-add-dependent): Remove function.
7100 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7101 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7102 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7103 unclosed <[[, <?, comment, and other literals as extending to EOB.
7104 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7105 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7106 Remove functions.
7107 (rng-do-some-validation-1): Don't mark dependent regions.
7108 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7109 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7110 (nxml-clear-dependent-regions): Remove functions.
7111 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7112 (nxml-ensure-scan-up-to-date):
7113 Don't clear&mark dependent regions.
7114
7115 2013-05-15 Leo Liu <sdl.web@gmail.com>
7116
7117 * progmodes/octave.el (octave-goto-function-definition):
7118 Improve and fix callers.
7119
7120 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7123 the setter (bug#14387).
7124
7125 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7126 surrounding group (bug#14402).
7127
7128 2013-05-14 Juri Linkov <juri@jurta.org>
7129
7130 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7131 (Bug#14390)
7132
7133 2013-05-14 Glenn Morris <rgm@gnu.org>
7134
7135 * progmodes/f90.el (f90-imenu-generic-expression):
7136 Fix typo in 2013-05-08 change. (Bug#14402)
7137
7138 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7139
7140 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7141 Remove signals for which replies are never received.
7142
7143 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7144
7145 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7146 (gdb-handler-alist, gdb-handler-number): Remove variables.
7147 (gdb-handler-list): New variable.
7148 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7149 (gdb-pending-handler-p, gdb-handle-reply)
7150 (gdb-remove-all-pending-triggers): New functions.
7151 (gdb-discard-unordered-replies): New defcustom.
7152 (gdb-handler): New defstruct.
7153 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7154 instead of gdb-pending-triggers. Update docstring.
7155 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7156 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7157 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7158 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7159 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7160 (gdb-frame-handler): Pending triggers are now automatically managed.
7161 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7162 Remove argument.
7163 (gdb-input): Automatically handles pending triggers. Update docstring.
7164 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7165 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7166 Update comments.
7167 (gdb-done-or-error): Now use gdb-handle-reply.
7168
7169 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7170
7171 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7172 gdb-debug-log.
7173
7174 2013-05-14 Glenn Morris <rgm@gnu.org>
7175
7176 * subr.el (user-emacs-directory-warning): New option.
7177 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7178
7179 2013-05-14 Leo Liu <sdl.web@gmail.com>
7180
7181 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7182 during redisplay.
7183 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7184 (octave-font-lock-texinfo-comment): Fix invalid search bound
7185 error: wrong side of point.
7186
7187 2013-05-14 Glenn Morris <rgm@gnu.org>
7188
7189 * progmodes/flymake.el (flymake-xml-program): New option.
7190 (flymake-xml-init): Use it.
7191
7192 * term/xterm.el: Provide a feature.
7193
7194 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7195
7196 2013-05-13 Glenn Morris <rgm@gnu.org>
7197
7198 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7199 Add compat aliases as a hack workaround. (Bug#14384)
7200
7201 2013-05-13 Leo Liu <sdl.web@gmail.com>
7202
7203 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7204 ###, and %!.
7205 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7206 C-M-q.
7207 (octave-comment-start-skip): Include %!.
7208 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7209
7210 2013-05-12 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/octave.el (inferior-octave-startup): Store the value
7213 of __octave_srcdir__ for octave-source-directories.
7214 (inferior-octave-check-process): New function refactored out of
7215 inferior-octave-send-list-and-digest.
7216 (octave-source-directories)
7217 (octave-find-definition-filename-function): New variables.
7218 (octave-source-directories)
7219 (octave-find-definition-default-filename): New functions.
7220 (octave-find-definition): Improve to find functions implemented in C++.
7221
7222 2013-05-12 Glenn Morris <rgm@gnu.org>
7223
7224 * calendar/diary-lib.el (diary-outlook-format-1):
7225 Don't include dayname in the output. (Bug#14349)
7226
7227 2013-05-11 Glenn Morris <rgm@gnu.org>
7228
7229 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7230
7231 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7232 Treat cc-provide like provide.
7233
7234 2013-05-11 Kevin Ryde <user42@zip.com.au>
7235
7236 * cus-dep.el (custom-make-dependencies):
7237 Use generated-autoload-load-name for the sake of files such
7238 such cedet/semantic/bovine/c.el, where the base file name
7239 is not in load-path. (Bug#5277)
7240
7241 2013-05-11 Glenn Morris <rgm@gnu.org>
7242
7243 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7244 Provide features.
7245
7246 2013-05-11 Leo Liu <sdl.web@gmail.com>
7247
7248 * progmodes/octave.el (octave-indent-comment): Improve.
7249 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7250 (octave-eldoc-function-signatures, octave-eldoc-function):
7251 New functions.
7252 (octave-mode, inferior-octave-mode): Add eldoc support.
7253
7254 2013-05-11 Richard Stallman <rms@gnu.org>
7255
7256 * epa.el (epa-decrypt-file): Take output file name as argument
7257 and read it using `interactive'.
7258
7259 2013-05-11 Leo Liu <sdl.web@gmail.com>
7260
7261 * progmodes/octave.el (octave-beginning-of-line)
7262 (octave-end-of-line): Check before using up-list because it jumps
7263 out of more syntactic contructs since moving to smie.
7264 (octave-indent-comment): New function.
7265 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7266 (octave-begin-keywords, octave-end-keywords)
7267 (octave-reserved-words, octave-smie-bnf-table)
7268 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7269
7270 2013-05-11 Glenn Morris <rgm@gnu.org>
7271
7272 * faces.el (internal-face-x-get-resource):
7273 * frame.el (ns-display-monitor-attributes-list):
7274 * calc/calc-aent.el (math-to-radians-2):
7275 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7276 Fix declarations.
7277
7278 * calc/calc-menu.el: Make it loadable in isolation.
7279
7280 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7281 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7282 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7283 (eudc-bbdb-query-internal): Require 'bbdb.
7284
7285 * lpr.el (lpr-headers-switches):
7286 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7287
7288 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7289
7290 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7291
7292 * term.el (term-set-escape-char): Make it idempotent.
7293
7294 2013-05-10 Leo Liu <sdl.web@gmail.com>
7295
7296 * progmodes/octave.el (inferior-octave-completion-table):
7297 No longer a function and all uses changed. Use cache to speed up
7298 completion due to bug#11906.
7299 (octave-beginning-of-defun): Re-write to be more general.
7300
7301 2013-05-10 Glenn Morris <rgm@gnu.org>
7302
7303 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7304
7305 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7306
7307 * comint.el (comint-redirect-send-command-to-process): Use :around
7308 rather than :override for comint-redirect-filter.
7309 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7310 Call it instead of comint-redirect-original-filter-function (which
7311 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7312
7313 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7314
7315 * frame.el (display-monitor-attributes-list): Add NS case.
7316 (ns-display-monitor-attributes-list): Declare.
7317
7318 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7319
7320 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7321
7322 2013-05-09 Glenn Morris <rgm@gnu.org>
7323
7324 * international/fontset.el (vertical-centering-font-regexp):
7325 Set standard-value.
7326
7327 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7328
7329 * bookmark.el (bookmark-search-delay):
7330 * cus-start.el (vertical-centering-font-regexp):
7331 * ps-mule.el (ps-mule-font-info-database-default):
7332 * ps-print.el (ps-default-fg, ps-default-bg):
7333 * type-break.el (type-break-good-break-interval):
7334 * whitespace.el (whitespace-indentation-regexp)
7335 (whitespace-space-after-tab-regexp):
7336 * emacs-lisp/testcover.el (testcover-1value-functions)
7337 (testcover-noreturn-functions, testcover-progn-functions)
7338 (testcover-prog1-functions):
7339 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7340 * eshell/em-glob.el (eshell-glob-translate-alist):
7341 * play/tetris.el (tetris-tty-colors):
7342 * progmodes/cpp.el (cpp-face-default-list):
7343 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7344 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7345 (idlwave-help-browser-generic-args):
7346 * progmodes/make-mode.el (makefile-special-targets-list):
7347 * progmodes/python.el (python-shell-virtualenv-path):
7348 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7349 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7350 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7351 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7352 * textmodes/reftex-vars.el (reftex-format-label-function):
7353 * textmodes/remember.el (remember-diary-file): Fix custom types.
7354
7355 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7356 Add :version.
7357
7358 2013-05-09 Leo Liu <sdl.web@gmail.com>
7359
7360 * progmodes/octave.el (inferior-octave-completion-at-point):
7361 Restore file completion. (Bug#14300)
7362 (inferior-octave-startup): Fix incorrect highlighting for the
7363 first prompt.
7364
7365 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * progmodes/ruby-mode.el: First cut at SMIE support.
7368 (ruby-use-smie): New var.
7369 (ruby-smie-grammar): New constant.
7370 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7371 (ruby-smie--forward-token, ruby-smie--backward-token)
7372 (ruby-smie-rules): New functions.
7373 (ruby-mode-variables): Setup SMIE if applicable.
7374
7375 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7376
7377 * simple.el (line-move-visual): Signal beginning/end of buffer
7378 only if vertical-motion moved less than it was requested. Avoids
7379 silly incorrect error messages when there are display strings with
7380 multiple newlines at EOL.
7381
7382 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7385 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7386 (prolog-char-quote-workaround):
7387 * progmodes/cperl-mode.el (cperl-under-as-char):
7388 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7389 Mark as obsolete.
7390 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7391 their declaration.
7392 (vhdl-mode-syntax-table-init): Remove.
7393
7394 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7395 last change.
7396
7397 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7398 syntax for "_".
7399 (ld-script-font-lock-keywords):
7400 Change regexps to use things like \_< and \_>.
7401
7402 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7403 Change all regexps to use things like \_< and \_>.
7404
7405 * progmodes/autoconf.el (autoconf-definition-regexp)
7406 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7407 Handle a _ with symbol syntax.
7408 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7409
7410 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7411 Consolidate declaration.
7412 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7413 the declaration.
7414 (ada-create-syntax-table): Remove.
7415 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7416 already has the right syntax nowadays.
7417 (ada-goto-next-word): Don't change the syntax of "_".
7418
7419 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7420 with-wrapper-hook.
7421
7422 2013-05-08 Sam Steingold <sds@gnu.org>
7423
7424 * thingatpt.el (thing-at-point): Accept optional second argument
7425 NO-PROPERTIES to strip the text properties from the return value.
7426 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7427 to `thing-at-point' instead of stripping the properties ourselves.
7428 Also, when `thing-at-point' fails to find a url, prepend "http://"
7429 to the filename at point on the assumption that the user is
7430 pointing at something like gnu.org/gnu.
7431
7432 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7433
7434 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7435 * faces.el (crm-separator):
7436 Silence byte-compiler.
7437
7438 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7439 (tool-bar-map): Remove unneeded defvars.
7440
7441 2013-05-08 Leo Liu <sdl.web@gmail.com>
7442
7443 Re-work a fix for bug#10994 based on Le Wang's patch.
7444 * ido.el (ido-remove-consecutive-dups): New helper.
7445 (ido-completing-read): Use it.
7446 (ido-chop): Revert fix for bug#10994.
7447
7448 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7449
7450 * cus-edit.el (custom-save-variables):
7451 Pretty-print long values. (Bug#14187)
7452
7453 2013-05-08 Glenn Morris <rgm@gnu.org>
7454
7455 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7456 (m4-mode-syntax-table): Init in the defvar.
7457 (m4-mode-abbrev-table): Let define-derived-mode define it.
7458
7459 2013-05-08 Tom Tromey <tromey@redhat.com>
7460
7461 * progmodes/m4-mode.el (m4-mode-syntax-table):
7462 Do not treat "_" as word constituent. (Bug#14167)
7463
7464 2013-05-07 Glenn Morris <rgm@gnu.org>
7465
7466 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7467 Remove explicit eshell-isearch-cancel-map.
7468
7469 * progmodes/f90.el (f90-smart-end-names): New option.
7470 (f90-smart-end): Doc fix.
7471 (f90-end-block-optional-name): New constant.
7472 (f90-block-match): Respect f90-smart-end-names.
7473
7474 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7477 about implicit semi-colons (bug#14218).
7478
7479 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7480
7481 * frame.el (display-monitor-attributes-list)
7482 (frame-monitor-attributes): New functions.
7483
7484 2013-05-06 Leo Liu <sdl.web@gmail.com>
7485
7486 * progmodes/octave.el (octave-syntax-propertize-function): Change
7487 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7488 (octave-font-lock-keywords): Use octave-operator-regexp.
7489 (octave-completion-at-point): Rename from
7490 octave-completion-at-point-function.
7491 (inferior-octave-directory-tracker): Robustify.
7492 (octave-text-functions): Remove and fix its uses. No such things
7493 any more.
7494
7495 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * emacs-lisp/trace.el (trace--display-buffer): New function.
7498 (trace-make-advice): Use it.
7499
7500 2013-05-06 Juri Linkov <juri@jurta.org>
7501
7502 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7503 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7504 Doc fix.
7505 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7506 in the help string. (Bug#12985)
7507
7508 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7509
7510 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7511
7512 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7513
7514 * progmodes/perl-mode.el: Add support for here documents.
7515 (perl-syntax-propertize-function): Match here-doc markers.
7516 (perl-syntax-propertize-special-constructs): Find their end.
7517 (perl-imenu-generic-expression): Use [:alnum:].
7518
7519 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7520 (advice--add-function): Refresh the advice if already present
7521 (bug#14317).
7522
7523 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7524
7525 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7526
7527 2013-05-06 Glenn Morris <rgm@gnu.org>
7528
7529 * w32-fns.el (w32-charset-info-alist): Declare.
7530
7531 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7532 of its defcustom properties.
7533 (eshell-cmpl-initialize): No need to load pcomplete.
7534
7535 * generic-x.el: No need to require comint when compiling.
7536
7537 * net/eudc-export.el: Make it loadable without bbdb.
7538 (top-level): Use require rather than load-library.
7539 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7540 (eudc-batch-export-records-to-bbdb)
7541 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7542 Require bbdb.
7543
7544 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7547 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7548 some tweaks, instead.
7549
7550 2013-05-05 Leo Liu <sdl.web@gmail.com>
7551
7552 * progmodes/octave.el (octave-font-lock-keywords)
7553 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7554 (inferior-octave-send-list-and-digest): Improve error message.
7555 (octave-mode, inferior-octave-mode): Use setq-local.
7556 (octave-help): Set info-lookup-mode.
7557
7558 2013-05-05 Richard Stallman <rms@gnu.org>
7559
7560 * vc/compare-w.el (compare-windows-whitespace):
7561 Treat no-break space as whitespace.
7562
7563 * mail/rmailsum.el (rmail-summary-rmail-update):
7564 Detect empty summary and don't change selected message.
7565 (rmail-summary-goto-msg): Likewise.
7566
7567 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7568 Doc fixes, rename args.
7569
7570 2013-05-05 Alan Mackenzie <acm@muc.de>
7571
7572 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7573
7574 2013-05-05 Juri Linkov <juri@jurta.org>
7575
7576 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7577 to not add the length of the summary segment to the return value.
7578 (Bug#14125)
7579
7580 2013-05-05 Leo Liu <sdl.web@gmail.com>
7581
7582 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7583 (inferior-octave-output-filter): Remove.
7584 (octave-send-region, inferior-octave-startup): Fix callers.
7585 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7586 (octave-binary-file-extensions): New user variable.
7587 (octave-find-definition): Confirm if opening binary files.
7588 (octave-help-file): Use octave-find-definition to get the binary
7589 confirmation.
7590 (octave-help): Adjust for octave-help-file change.
7591
7592 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7595 Merge the two entries that handle function definitions.
7596 (pascal--syntax-propertize): New const.
7597 (pascal-mode): Use it. Use setq-local.
7598
7599 2013-05-04 Glenn Morris <rgm@gnu.org>
7600
7601 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7602 (diary-from-outlook): Respect diary-from-outlook-function.
7603
7604 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7605
7606 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7607 Move the declaration from C.
7608 (read-minibuffer, eval-minibuffer): Move from C.
7609 (completion-setup-function): Avoid minibuffer-completion-contents.
7610
7611 2013-05-03 Leo Liu <sdl.web@gmail.com>
7612
7613 * progmodes/octave.el (octave-font-lock-keywords): Do not
7614 dehighlight 'end' in comments or strings.
7615 (octave-completing-read, octave-goto-function-definition):
7616 New helpers.
7617 (octave-help-buffer): New user variable.
7618 (octave-help-file, octave-help-function): New button types.
7619 (octave-help): New command and bind it to C-h ;.
7620 (octave-find-definition): New command and bind it to M-.
7621 (user-error): Alias to error if not defined.
7622
7623 2013-05-02 Leo Liu <sdl.web@gmail.com>
7624
7625 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7626 for \. (bug#14332)
7627 (octave-font-lock-keywords): Include [ and {.
7628
7629 2013-05-02 Leo Liu <sdl.web@gmail.com>
7630
7631 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7632 (inferior-octave): Remove calling comint-mode and return the buffer.
7633 (inferior-octave-startup): Cosmetic changes.
7634
7635 2013-05-02 Leo Liu <sdl.web@gmail.com>
7636
7637 * progmodes/octave.el (octave-syntax-propertize-function):
7638 Include the case when ' is at line beginning. (Bug#14336)
7639
7640 2013-05-02 Glenn Morris <rgm@gnu.org>
7641
7642 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7643 * desktop.el (vc-dir-mode): Just autoload it here.
7644
7645 2013-05-02 Alan Mackenzie <acm@muc.de>
7646
7647 Eliminate variable c-standard-font-lock-fontify-region-function.
7648 * progmodes/cc-mode.el
7649 (c-standard-font-lock-fontify-region-function): Remove.
7650 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7651
7652 2013-05-01 Leo Liu <sdl.web@gmail.com>
7653
7654 * progmodes/octave.el: Compatible with older emacs-24 releases.
7655 (inferior-octave-has-built-in-variables): Remove. Built-in
7656 variables were removed from Octave in 2007.
7657 (inferior-octave-startup): Fix uses.
7658 (comint-line-beginning-position): Remove compatibility code for
7659 emacs 21.
7660
7661 2013-05-01 Juri Linkov <juri@jurta.org>
7662
7663 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7664
7665 2013-05-01 Juri Linkov <juri@jurta.org>
7666
7667 * comint.el (comint-previous-matching-input): Don't print message
7668 "History item: %d" when `isearch-mode' is active.
7669 (comint-history-isearch-message): Print message "History item: %d"
7670 when `comint-input-ring-index' is not empty and this function is
7671 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7672
7673 2013-05-01 Leo Liu <sdl.web@gmail.com>
7674
7675 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7676 definitions. Use completion-at-point to insert keywords.
7677 (octave-abbrev-start): Remove.
7678 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7679
7680 2013-04-30 Leo Liu <sdl.web@gmail.com>
7681
7682 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7683 change.
7684
7685 2013-04-30 Alan Mackenzie <acm@muc.de>
7686
7687 Handle arbitrarily long C++ member initialisation lists.
7688 * progmodes/cc-engine.el (c-back-over-member-initializers):
7689 new function.
7690 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7691 (most) member init lists.
7692
7693 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7694
7695 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7696 variable.
7697
7698 2013-04-30 Leo Liu <sdl.web@gmail.com>
7699
7700 * progmodes/octave.el (octave-variables): Remove. No builtin
7701 variables any more. All converted to functions.
7702 (octave-font-lock-keywords, octave-completion-at-point-function):
7703 Fix uses.
7704 (octave-font-lock-texinfo-comment): New user variable.
7705 (octave-texinfo-font-lock-keywords): New variable for texinfo
7706 comment block.
7707 (octave-function-comment-block): New face.
7708 (octave-font-lock-texinfo-comment): New function.
7709 (octave-mode): Font lock texinfo comment block.
7710
7711 2013-04-29 Leo Liu <sdl.web@gmail.com>
7712
7713 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7714 indexing expression.
7715 (octave-continuation-string): Do not use \.
7716 (inferior-octave-complete-impossible): Remove.
7717 (inferior-octave-completion-table)
7718 (inferior-octave-completion-at-point): Remove its uses.
7719 (inferior-octave-startup): completion_matches was introduced to
7720 Octave in 1996 so safe to assume it.
7721 (octave-function-file-comment): Improve to follow how Octave does it.
7722 (octave-update-function-file-comment): Tweak.
7723
7724 2013-04-29 Leo Liu <sdl.web@gmail.com>
7725
7726 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7727 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7728 (octave-function-file-comment): Fix typo.
7729 (octave-sync-function-file-names): Use read-char-choice.
7730
7731 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7732
7733 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7734 to t for the less important warnings.
7735
7736 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7737
7738 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7739
7740 2013-04-27 Glenn Morris <rgm@gnu.org>
7741
7742 * vc/log-view.el (log-view-current-entry):
7743 Treat "---" separator lines as part of the following rev. (Bug#14169)
7744
7745 2013-04-27 Juri Linkov <juri@jurta.org>
7746
7747 * subr.el (read-number): Doc fix about using it by interactive
7748 code letter `n'. (Bug#14254)
7749
7750 2013-04-27 Juri Linkov <juri@jurta.org>
7751
7752 * desktop.el (desktop-auto-save-timeout): New option.
7753 (desktop-file-checksum): New variable.
7754 (desktop-save): Add optional arg `auto-save' and don't auto-save
7755 if nothing changed.
7756 (desktop-auto-save-timer): New variable.
7757 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7758 (after-init-hook): Call `desktop-auto-save-set-timer'.
7759 Suggested by Reuben Thomas <rrt@sc3d.org> in
7760 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7761
7762 2013-04-27 Leo Liu <sdl.web@gmail.com>
7763
7764 * progmodes/octave.el (octave-function-file-p)
7765 (octave-skip-comment-forward, octave-function-file-comment)
7766 (octave-update-function-file-comment): New functions.
7767 (octave-mode-map): Bind C-c ; to
7768 octave-update-function-file-comment.
7769 (octave-mode-menu): Add octave-update-function-file-comment.
7770 (octave-mode, inferior-octave-mode): Fix doc-string.
7771 (octave-insert-defun): Conform to Octave's coding convention.
7772 (Bug#14285)
7773
7774 * files.el (basic-save-buffer): Don't let errors in
7775 before-save-hook prevent saving buffer.
7776
7777 2013-04-20 Roland Winkler <winkler@gnu.org>
7778
7779 * faces.el (read-face-name): Use completing-read if arg multiple
7780 is nil.
7781
7782 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7783
7784 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7785 displayed, move point to after the totals line.
7786 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7787 for the details.
7788
7789 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7792 Add current dir to the load-path.
7793 (package-generate-autoloads): Don't rely on
7794 autoload-ensure-default-file.
7795
7796 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7797
7798 * textmodes/remember.el (remember-store-in-files): Document that
7799 the file name format is passed to `format-time-string'.
7800
7801 2013-04-26 Leo Liu <sdl.web@gmail.com>
7802
7803 * progmodes/octave.el (octave-sync-function-file-names): New function.
7804 (octave-mode): Use it in before-save-hook.
7805
7806 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7807
7808 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7809 (bug#14274).
7810
7811 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7812 \n and comment, even if it's not an implicit ; (bug#14218).
7813
7814 2013-04-26 Glenn Morris <rgm@gnu.org>
7815
7816 * subr.el (read-number): Once more use `read' rather than
7817 `string-to-number', to trap non-numeric input. (Bug#14254)
7818
7819 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7820
7821 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7822 Use `syntax-multiline' text property consistently instead of
7823 `font-lock-multiline'. (Bug#14237)
7824
7825 2013-04-26 Glenn Morris <rgm@gnu.org>
7826
7827 * emacs-lisp/shadow.el (list-load-path-shadows):
7828 No longer necessary to check for duplicate simple.el, since
7829 2012-07-07 change to init_lread to not include installation lisp
7830 directories in load-path when running uninstalled. (Bug#14270)
7831
7832 2013-04-26 Leo Liu <sdl.web@gmail.com>
7833
7834 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7835 (octave-mode, inferior-octave-mode): Use setq-local.
7836 (octave-not-in-string-or-comment-p): Rename to
7837 octave-in-string-or-comment-p.
7838 (octave-in-comment-p, octave-in-string-p)
7839 (octave-in-string-or-comment-p): Replace defsubst with defun.
7840
7841 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7842
7843 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7844
7845 2013-04-25 Bastien Guerry <bzg@gnu.org>
7846
7847 * textmodes/remember.el (remember-data-directory)
7848 (remember-directory-file-name-format): Fix custom types.
7849
7850 2013-04-25 Leo Liu <sdl.web@gmail.com>
7851
7852 * progmodes/octave.el (octave-completion-at-point-function):
7853 Make use of inferior octave process.
7854 (octave-initialize-completions): Remove.
7855 (inferior-octave-completion-table): New function.
7856 (inferior-octave-completion-at-point): Use it.
7857 (octave-completion-alist): Remove.
7858
7859 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7860
7861 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7862 (opascal-mode-syntax-table): New var.
7863 (opascal-literal-kind, opascal-is-literal-end)
7864 (opascal-literal-token-at): Rewrite.
7865 (opascal--literal-start-re, opascal-font-lock-keywords)
7866 (opascal--syntax-propertize): New constants.
7867 (opascal-font-lock-defaults): Adjust.
7868 (opascal-mode): Use them. Set comment-<foo> variables as well.
7869 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7870 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7871 (delphi-other-face, opascal-other-face): Remove face variables.
7872 (opascal-save-state): Remove macro.
7873 (opascal-fontifying-progress-step): Remove constant.
7874 (opascal--ignore-changes): Remove var.
7875 (opascal-set-token-property, opascal-parse-next-literal)
7876 (opascal-is-stable-literal, opascal-complete-literal)
7877 (opascal-is-literal-start, opascal-face-of)
7878 (opascal-parse-region, opascal-parse-region-until-stable)
7879 (opascal-fontify-region, opascal-after-change)
7880 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7881 (opascal-debug-parse-region, opascal-debug-parse-window)
7882 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7883 (opascal-debug-fontify-buffer): Remove.
7884 (opascal-debug-mode-map): Adjust accordingly.
7885
7886 2013-04-25 Leo Liu <sdl.web@gmail.com>
7887
7888 Merge octave-mod.el and octave-inf.el into octave.el with some
7889 cleanups.
7890 * progmodes/octave.el: New file renamed from octave-mod.el.
7891 * progmodes/octave-inf.el: Merged into octave.el.
7892 * progmodes/octave-mod.el: Renamed to octave.el.
7893
7894 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7895
7896 * textmodes/reftex-vars.el
7897 (reftex-label-ignored-macros-and-environments): New defcustom.
7898
7899 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7900
7901 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7902
7903 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7904 (smie-indent-keyword): Improve the check to ensure that the next
7905 comment is really on the same line.
7906 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7907
7908 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7909 semi-colons if the line is not otherwise empty (bug#14218).
7910
7911 2013-04-25 Glenn Morris <rgm@gnu.org>
7912
7913 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7914
7915 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7916
7917 * progmodes/opascal.el (opascal-set-token-property): Rename from
7918 opascal-set-text-properties and only set `token' (bug#14134).
7919 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7920 (opascal-literal-text-properties): Remove.
7921 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7922 Adjust callers.
7923
7924 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7925
7926 * textmodes/remember.el (remember-handler-functions): Add an
7927 option for a new handler `remember-store-in-files'.
7928 (remember-data-directory, remember-directory-file-name-format):
7929 New options.
7930 (remember-store-in-files): New function to store remember notes
7931 as separate files within a directory.
7932
7933 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7934
7935 * progmodes/compile.el (compilation-next-error-function):
7936 Pass "formats" to compilation-find-file (bug#11777).
7937
7938 2013-04-24 Glenn Morris <rgm@gnu.org>
7939
7940 * vc/vc-bzr.el (vc-bzr-print-log):
7941 * vc/vc-hg.el (vc-hg-print-log):
7942 * vc/vc-svn.el (vc-svn-print-log):
7943 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7944
7945 * vc/vc-bzr.el (vc-bzr-print-log):
7946 * vc/vc-cvs.el (vc-cvs-print-log):
7947 * vc/vc-git.el (vc-git-print-log):
7948 * vc/vc-hg.el (vc-hg-print-log):
7949 * vc/vc-mtn.el (vc-mtn-print-log):
7950 * vc/vc-rcs.el (vc-rcs-print-log):
7951 * vc/vc-sccs.el (vc-sccs-print-log):
7952 * vc/vc-svn.el (vc-svn-print-log):
7953 * vc/vc.el (vc-print-log-internal): Doc fixes.
7954
7955 2013-04-23 Glenn Morris <rgm@gnu.org>
7956
7957 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7958 Remove venerable code attempting to avoid substitute-command-keys.
7959
7960 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7961
7962 * textmodes/reftex-vars.el (reftex-label-regexps):
7963 Call `reftex-compile-variables' after changes to this variable.
7964
7965 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7966
7967 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7968 Use lexical-binding.
7969 (jit-lock-force-redisplay): Use markers, check buffer's continued
7970 existence and beware narrowed buffers.
7971 (jit-lock-fontify-now): Adjust call accordingly.
7972
7973 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7974
7975 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7976 to avoid misleading the user.
7977
7978 2013-04-22 Leo Liu <sdl.web@gmail.com>
7979
7980 * info-look.el: Prefer latex2e.info. (Bug#14240)
7981
7982 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7983
7984 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7985
7986 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7987 * net/tramp.el (tramp-call-process): ... here.
7988 (tramp-set-completion-function, tramp-parse-putty):
7989 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7990 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7991 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7992 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7993 (tramp-call-local-coding-command): Use `tramp-call-process'
7994 instead of `tramp-compat-call-process'.
7995
7996 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7997 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7998 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7999 (tramp-find-inline-compress): Improve traces.
8000 (tramp-maybe-send-script): Check for Perl binary.
8001 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8002
8003 2013-04-22 Daiki Ueno <ueno@gnu.org>
8004
8005 * epg.el (epg-context-pinentry-mode): New function.
8006 (epg-context-set-pinentry-mode): New function.
8007 (epg--start): Pass --pinentry-mode option to gpg command.
8008
8009 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8010
8011 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8012 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8013 `completion-at-point'. (Bug#13774)
8014
8015 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8016 default key binding for `describe-distribution' has been moved to
8017 `C-h C-o'. (Bug#13970)
8018
8019 2013-04-21 Glenn Morris <rgm@gnu.org>
8020
8021 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8022 Add doc strings.
8023 (vc-print-log): Clarify interactive prompt.
8024
8025 2013-04-20 Glenn Morris <rgm@gnu.org>
8026
8027 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8028 No longer include timestamp etc information.
8029
8030 2013-04-20 Roland Winkler <winkler@gnu.org>
8031
8032 * faces.el (read-face-name): Bug fix, return just one face if arg
8033 multiple is nil. (Bug#14209)
8034
8035 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8036
8037 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8038 (remove-function): Autoload.
8039
8040 * comint.el (comint-redirect-original-filter-function): Remove.
8041 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8042 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8043 (vc-cvs-annotate-command):
8044 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8045 * progmodes/prolog.el (prolog-consult-compile):
8046 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8047 Use add/remove-function instead.
8048 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8049 (gud-tooltip-process-output, gud-tooltip-tips):
8050 Use add/remove-function instead.
8051 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8052 (scheme-interaction-mode, exit-scheme-interaction-mode):
8053 Use add/remove-function instead.
8054
8055 * vc/vc-dispatcher.el: Use lexical-binding.
8056 (vc--process-sentinel): Rename from vc-process-sentinel.
8057 Change last arg to be the code to run. Don't use vc-previous-sentinel
8058 and vc-sentinel-commands any more.
8059 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8060 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8061
8062 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8063
8064 * progmodes/sh-script.el (sh-imenu-generic-expression):
8065 Handle function names with a single character. (Bug#14111)
8066
8067 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8068
8069 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8070 for subroutines defined in an eval (bug#14182).
8071
8072 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8073
8074 * bookmark.el (bookmark-completing-read): Improve handling of empty
8075 string (bug#14176).
8076
8077 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8080
8081 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8082
8083 New faster Imenu implementation (bug#14058).
8084 * progmodes/python.el:
8085 (python-imenu-prev-index-position):
8086 (python-imenu-format-item-label-function)
8087 (python-imenu-format-parent-item-label-function)
8088 (python-imenu-format-parent-item-jump-label-function):
8089 New vars.
8090 (python-imenu-format-item-label)
8091 (python-imenu-format-parent-item-label)
8092 (python-imenu-format-parent-item-jump-label)
8093 (python-imenu--put-parent, python-imenu--build-tree)
8094 (python-imenu-create-index, python-imenu-create-flat-index)
8095 (python-util-popn): New functions.
8096 (python-mode): Set imenu-create-index-function to
8097 python-imenu-create-index.
8098
8099 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8100
8101 * winner.el (winner-active-region): Use region-active-p, activate-mark
8102 and deactivate-mark (bug#14225).
8103
8104 * simple.el (deactivate-mark): Don't inline it.
8105
8106 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8107
8108 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8109
8110 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8111
8112 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8113 file extensions from the archive-mode entry in order to prefer
8114 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8115
8116 2013-04-18 Leo Liu <sdl.web@gmail.com>
8117
8118 * bindings.el (help-event-list): Add ?\?.
8119
8120 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * subr.el (with-wrapper-hook): Declare obsolete.
8123 * simple.el (filter-buffer-substring-function): New hook.
8124 (filter-buffer-substring): Use it.
8125 (filter-buffer-substring-functions): Mark obsolete.
8126 * minibuffer.el (completion-in-region-function): New hook.
8127 (completion-in-region): Use it.
8128 (completion-in-region-functions): Mark obsolete.
8129 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8130 * abbrev.el (abbrev-expand-function): New hook.
8131 (expand-abbrev): Use it.
8132 (abbrev-expand-functions): Mark obsolete.
8133 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8134 and :filter-return.
8135
8136 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8137
8138 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8139 and do not care about match data.
8140
8141 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8142
8143 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8144 completion tables when completing error conditions and
8145 `declare' arguments.
8146 (lisp-complete-symbol, field-complete): Mark as obsolete.
8147 (check-parens): Unmatched parens are user errors.
8148 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8149
8150 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8151
8152 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8153 command changed buffer (ie. `flyspell-pre-buffer' is not current
8154 buffer), which prevents making decisions based on invalid value of
8155 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8156 cause an error when `flyspell-pre-point' was nil after switching
8157 buffers.
8158 (flyspell-post-command-hook): No longer needs to change buffers when
8159 checking pre-word. While at it remove unnecessary progn.
8160
8161 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8162
8163 * textmodes/ispell.el (ispell-add-per-file-word-list):
8164 Fix `flyspell-correct-word-before-point' error when accepting
8165 words and `coment-padding' is an integer by using
8166 `comment-normalize-vars' (Bug #14214).
8167
8168 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8169
8170 New defun movement commands.
8171 * progmodes/python.el (python-nav--syntactically)
8172 (python-nav--forward-defun, python-nav-backward-defun)
8173 (python-nav-forward-defun): New functions.
8174
8175 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8176
8177 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8178 (python-syntax-context): Use named compiler-macro for backwards
8179 compatibility with Emacs 24.x.
8180
8181 2013-04-17 Leo Liu <sdl.web@gmail.com>
8182
8183 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8184 octave-hide-process-buffer.
8185
8186 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8189 (bug#14216).
8190
8191 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8192
8193 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8194 Fix adjustment of offset when receiving incomplete responses from GDB
8195 (bug#14129).
8196
8197 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8200 python-mode-abbrev-table.
8201 (python-skeleton-define): Adjust accordingly.
8202 (python-mode-abbrev-table): New table that inherits from it so that
8203 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8204
8205 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8206 (abbrev-symbol): Use it.
8207 (abbrev--before-point): Use it since we already handle inheritance.
8208
8209 2013-04-16 Leo Liu <sdl.web@gmail.com>
8210
8211 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8212 binding to info-lookup-symbol.
8213
8214 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8215
8216 * minibuffer.el (completion--twq-all):
8217 * term/ns-win.el (ns-initialize-window-system):
8218 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8219
8220 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8223 global bindings.
8224
8225 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8226
8227 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8228
8229 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8230 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8231 to nil.
8232 (ruby-end-of-defun): Remove the unused arg, change the docstring
8233 to reflect that this function is only used as the value of
8234 `end-of-defun-function'.
8235 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8236 to reflect an earlier change that beginning/end-of-defun functions
8237 jump between methods in a class definition, as well as top-level
8238 functions.
8239
8240 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8241
8242 * minibuffer.el (minibuffer-complete): Don't just scroll
8243 a *Completions* that's been iconified.
8244 (minibuffer-force-complete): Make sure repetitions do cycle when going
8245 through completion-in-region -> minibuffer-complete.
8246
8247 2013-04-15 Alan Mackenzie <acm@muc.de>
8248
8249 Correct the placement of c-cpp-delimiters when there're #s not at
8250 col 0.
8251
8252 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8253 place a submatch around the #.
8254 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8255 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8256 on the #, not BOL.
8257
8258 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8261 (advice--member-p): New arg `name'.
8262 (advice--add-function, advice-member-p): Use it (bug#14202).
8263
8264 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8265
8266 Reformulate java imenu-generic-expression.
8267 The old expression contained ill formed regexps.
8268
8269 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8270 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8271 (cc-imenu-java-method-arg-regexp): New defconsts.
8272 (cc-imenu-java-build-type-args-regex): New defun.
8273 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8274 handling of spaces in the regexp.
8275
8276 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8277
8278 * textmodes/ispell.el (ispell-command-loop): Remove
8279 flyspell highlight of a word when ispell accepts it (bug #14178).
8280
8281 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8282
8283 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8284 uses code from the previous `ange-ftp-run-real-handler'.
8285 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8286 only in case that function exist. This is needed for proper
8287 unloading of Tramp.
8288
8289 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8290
8291 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8292
8293 * textmodes/reftex.el (reftex-compile-variables): Use it.
8294
8295 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * files.el (normal-mode): Only use default major-mode if no other mode
8298 was specified.
8299
8300 * emacs-lisp/trace.el (trace-values): New function.
8301
8302 * files.el: Allow : in local variables (bug#14089).
8303 (hack-local-variable-regexp): New var.
8304 (hack-local-variables-prop-line, hack-local-variables): Use it.
8305
8306 2013-04-13 Roland Winkler <winkler@gnu.org>
8307
8308 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8309 data before it gets modified by bibtex-beginning-of-entry.
8310
8311 2013-04-13 Roland Winkler <winkler@gnu.org>
8312
8313 * textmodes/bibtex.el (bibtex-url): Doc fix.
8314
8315 2013-04-13 Roland Winkler <winkler@gnu.org>
8316
8317 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8318 does not visit a BibTeX file, exclude it from the list of buffers
8319 returned by bibtex-initialize.
8320
8321 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8322
8323 * window.el (split-window): Remove interactive form, since as a
8324 command this function is a special case of split-window-below.
8325 Correct doc string.
8326
8327 2013-04-12 Roland Winkler <winkler@gnu.org>
8328
8329 * faces.el (read-face-name): Do not override value of arg default.
8330 Allow single faces and strings as default values. Remove those
8331 elements from return value that are not faces.
8332 (describe-face): Simplify.
8333 (face-at-point): New optional args thing and multiple so that this
8334 function can provide the same functionality previously provided by
8335 read-face-name.
8336 (make-face-bold, make-face-unbold, make-face-italic)
8337 (make-face-unitalic, make-face-bold-italic, invert-face)
8338 (modify-face, read-face-and-attribute): Use face-at-point.
8339
8340 * cus-edit.el (customize-face, customize-face-other-window)
8341 * cus-theme.el (custom-theme-add-face)
8342 * face-remap.el (buffer-face-set)
8343 * facemenu.el (facemenu-set-face): Use face-at-point.
8344
8345 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8346
8347 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8348
8349 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8350
8351 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8352 off leading { and trailing } from field values.
8353
8354 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8355
8356 * emacs-lisp/timer.el (timer--check): New function.
8357 (timer--time, timer-set-function, timer-event-handler): Use it.
8358 (timer-set-idle-time): Simplify.
8359 (timer--activate): CSE.
8360 (timer-event-handler): Give more info in error message.
8361 (internal-timer-start-idle): New function, moved from C.
8362
8363 * mpc.el (mpc-proc): Add `restart' argument.
8364 (mpc-proc-cmd): Use it.
8365 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8366 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8367 less often.
8368
8369 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8370
8371 * progmodes/sh-script.el: Implement `sh-mode' own
8372 `add-log-current-defun-function' (bug#14112).
8373 (sh-current-defun-name): New function.
8374 (sh-mode): Use the function.
8375
8376 2013-04-09 Bastien Guerry <bzg@gnu.org>
8377
8378 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8379
8380 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8383
8384 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8385 timer (bug#14156).
8386
8387 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8388
8389 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8390 declaration.
8391
8392 2013-04-07 Leo Liu <sdl.web@gmail.com>
8393
8394 * pcmpl-x.el: New file.
8395
8396 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8397
8398 Do not set x-display-name until X connection is established.
8399 This is needed to prevent from weird situation described at
8400 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8401 * frame.el (make-frame): Set x-display-name after call to
8402 window system initialization function, not before.
8403 * term/x-win.el (x-initialize-window-system): Add optional
8404 display argument and use it.
8405 * term/w32-win.el (w32-initialize-window-system):
8406 * term/ns-win.el (ns-initialize-window-system):
8407 * term/pc-win.el (msdos-initialize-window-system):
8408 Add compatible optional display argument.
8409
8410 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8411
8412 * files.el (normal-backup-enable-predicate): On MS-Windows and
8413 MS-DOS compare truenames of temporary-file-directory and of the
8414 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8415 don't fail comparison by compare-strings. Also, compare file
8416 names case-insensitively on MS-Windows and MS-DOS.
8417
8418 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8419
8420 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8421 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8422
8423 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8424
8425 * whitespace.el (whitespace-color-on, whitespace-color-off):
8426 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8427
8428 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8429
8430 * ispell.el (ispell-set-spellchecker-params):
8431 Really set `ispell-args' for all equivs.
8432
8433 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * ido.el (ido-completions): Use extra elements of ido-decorations
8436 (bug#14143).
8437 (ido-decorations): Update docstring.
8438
8439 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8440
8441 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8442 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8443 nil during initialization, in order not to miss changes since the
8444 file was opened. (Bug#14140)
8445
8446 2013-04-05 Leo Liu <sdl.web@gmail.com>
8447
8448 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8449
8450 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8451
8452 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8453
8454 2013-04-04 Glenn Morris <rgm@gnu.org>
8455
8456 * electric.el (electric-pair-inhibit-predicate): Add :version.
8457
8458 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8461 when a package is required several times (bug#14082).
8462
8463 2013-04-04 Roland Winkler <winkler@gnu.org>
8464
8465 * faces.el (read-face-name): Behave as promised by the docstring.
8466 Assume that arg default is a list of faces.
8467 (describe-face): Call read-face-name with list of default faces.
8468
8469 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8470
8471 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8472 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8473 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8474 the header.
8475 (bookmark-exit-hook-internal): Save even if list is empty.
8476
8477 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8478
8479 * emacs-lisp/package.el (package-pinned-packages): New var.
8480 (package--add-to-archive-contents): Obey it (bug#14118).
8481
8482 2013-04-03 Alan Mackenzie <acm@muc.de>
8483
8484 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8485 Also adapt to the new values of element 7 of a parse state.
8486
8487 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8488 parameter `not-in-delimiter'. Handle being inside comment opener.
8489 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8490 character in case we're typing a '*' after a '/'.
8491 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8492 instead by passing the parameter to c-state-pp-to-literal.
8493
8494 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8495 for elt. 7 of a parse state.
8496
8497 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8498
8499 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8500 * international/latin1-disp.el, international/mule-util.el:
8501 * language/cyril-util.el, language/european.el, language/ind-util.el:
8502 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8503 * language/tibetan.el, language/viet-util.el:
8504 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8505
8506 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8509 (electric-pair-post-self-insert-function): Use it.
8510 (electric-pair-default-inhibit): New function, extracted from
8511 electric-pair-post-self-insert-function.
8512
8513 2013-03-31 Roland Winkler <winkler@gnu.org>
8514
8515 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8516
8517 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8520
8521 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8522
8523 Un-indent after "pass" and "return" statements (Bug#13888)
8524 * progmodes/python.el (python-indent-block-enders): New var.
8525 (python-indent-calculate-indentation): Use it.
8526
8527 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8528
8529 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8530 defun. Defining it as defalias could introduce too eager
8531 byte-compiler optimization. (Bug#14030)
8532
8533 2013-03-30 Chong Yidong <cyd@gnu.org>
8534
8535 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8536
8537 2013-03-30 Leo Liu <sdl.web@gmail.com>
8538
8539 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8540 (kmacro-execute-from-register): Pass the keyboard macro to
8541 kmacro-call-macro or repeating won't work correctly.
8542
8543 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8544
8545 * progmodes/subword.el: Back to using `forward-symbol'.
8546
8547 * subr.el (forward-whitespace, forward-symbol)
8548 (forward-same-syntax): Move from thingatpt.el.
8549
8550 2013-03-29 Leo Liu <sdl.web@gmail.com>
8551
8552 * kmacro.el (kmacro-to-register): New command.
8553 (kmacro-execute-from-register): New function.
8554 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8555
8556 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * mpc.el: Use defvar-local and setq-local.
8559 (mpc--proc-connect): Connection failures are not bugs.
8560 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8561 (mpc-volume-map): Bind to the up-events.
8562
8563 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8564
8565 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8566 instead of `forward-symbol'.
8567
8568 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8571 (edebug--recursive-edit): Use it.
8572 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8573 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8574
8575 2013-03-28 Leo Liu <sdl.web@gmail.com>
8576
8577 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8578
8579 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8580
8581 * facemenu.el (list-colors-callback): New defvar.
8582 (list-colors-redisplay): New function.
8583 (list-colors-display): Install list-colors-redisplay as the
8584 revert-buffer-function. (Bug#14063)
8585
8586 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8589 and suffixes don't overlap (bug#14061).
8590
8591 * case-table.el: Use lexical-binding.
8592 (case-table-get-table): New function.
8593 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8594
8595 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8596
8597 * progmodes/subword.el: Add `superword-mode' to do word motion
8598 over symbol_words (parallels and leverages `subword-mode' which
8599 does word motion inside MixedCaseWords).
8600
8601 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8602
8603 * eshell/em-unix.el: Move su and sudo to...
8604 * eshell/em-tramp.el: ...Eshell tramp module.
8605
8606 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8609 Change return value to be a sexp. Delay `get-buffer' to after
8610 restoring the desktop (bug#13951).
8611
8612 2013-03-26 Leo Liu <sdl.web@gmail.com>
8613
8614 * register.el: Move semantic tag handling back to
8615 cedet/semantic/senator.el. (Bug#14052)
8616
8617 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8618
8619 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8620 into the prompt either (bug#13963).
8621
8622 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8623
8624 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8625 part of "(error-foo)".
8626
8627 2013-03-24 Juri Linkov <juri@jurta.org>
8628
8629 * replace.el (list-matching-lines-prefix-face): New defcustom.
8630 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8631 `occur-engine' if `face-differs-from-default-p' returns t.
8632 (occur-engine): Add `,' inside backquote construct to evaluate
8633 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8634 Pass `prefix-face' to the functions `occur-context-lines' and
8635 `occur-engine-add-prefix'.
8636 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8637 `prefix-face' and propertize the prefix with `prefix-face'.
8638 (Bug#14017)
8639
8640 2013-03-24 Leo Liu <sdl.web@gmail.com>
8641
8642 * nxml/rng-valid.el (rng-validate-while-idle)
8643 (rng-validate-quick-while-idle): Guard against deleted buffer.
8644 (Bug#13999)
8645
8646 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8647 is the last entry in kill-buffer-hook.
8648
8649 * files.el (kill-buffer-hook): Doc fix.
8650
8651 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8652
8653 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8654 Make it safe-local.
8655
8656 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8657
8658 2013-03-23 Leo Liu <sdl.web@gmail.com>
8659
8660 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8661 Remove.
8662
8663 * nxml/rng-valid.el (rng-validate-mode)
8664 (rng-after-change-function, rng-do-some-validation):
8665 * nxml/rng-maint.el (rng-validate-buffer):
8666 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8667 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8668 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8669 (nxml-extend-after-change-region): Use with-silent-modifications.
8670
8671 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8672 timer-idle-list.
8673
8674 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8675 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8676 timer-idle-list. (Bug#13999)
8677
8678 2013-03-23 Juri Linkov <juri@jurta.org>
8679
8680 * info.el (info-index-match): New face.
8681 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8682 main pattern and add text properties with the new face to matches
8683 in index entries relative to the beginning of the index entry.
8684 (Bug#14015)
8685
8686 2013-03-21 Eric Ludlam <zappo@gnu.org>
8687
8688 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8689 Inhibit read only while inserting objects.
8690
8691 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8692
8693 * progmodes/cfengine.el: Update docs to mention
8694 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8695 symbol motion. Remove "_" from the word syntax.
8696
8697 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8698
8699 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8700 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8701
8702 2013-03-20 Juri Linkov <juri@jurta.org>
8703
8704 * info.el (Info-next-reference-or-link)
8705 (Info-prev-reference-or-link): New functions.
8706 (Info-next-reference, Info-prev-reference): Use them.
8707 (Info-try-follow-nearest-node): Handle footnote navigation.
8708 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8709
8710 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8713 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8714
8715 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8716
8717 Suppress unnecessary non-ASCII chatter during build process.
8718 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8719 (batch-skkdic-convert): Suppress most of the chatter.
8720 It's not needed so much now that machines are faster,
8721 and its non-ASCII component was confusing; see Dmitry Gutov in
8722 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8723
8724 2013-03-20 Leo Liu <sdl.web@gmail.com>
8725
8726 * ido.el (ido-chop): Fix bug#10994.
8727
8728 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8729
8730 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8731 Remove vars.
8732 (whitespace-color-on, whitespace-color-off):
8733 Use `font-lock-fontify-buffer' (Bug#13817).
8734
8735 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8738 remapping in mode-line.
8739 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8740
8741 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8742
8743 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8744 value for `whitespace-line' face (Bug#13875).
8745 (whitespace-font-lock-keywords): Change description.
8746 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8747 the constructed keywords instead.
8748 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8749
8750 2013-03-19 Leo Liu <sdl.web@gmail.com>
8751
8752 * progmodes/compile.el (compilation-display-error): New command.
8753 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8754 C-o. (Bug#13992)
8755
8756 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8757
8758 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8759
8760 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8761
8762 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8763
8764 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8765
8766 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8767
8768 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8769 * net/tramp-gvfs.el (top):
8770 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8771 (tramp-handle-shell-command): Use it.
8772 (tramp-dissect-file-name): Raise an error when hostname is a
8773 method name, and neither method nor user is specified.
8774
8775 * net/trampver.el: Update release number.
8776
8777 2013-03-18 Leo Liu <sdl.web@gmail.com>
8778
8779 Make sure eldoc can be turned off properly.
8780 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8781 eldoc-mode.
8782 (eldoc-display-message-p): Revert last change.
8783 (eldoc-display-message-no-interference-p)
8784 (eldoc-print-current-symbol-info): Tweak.
8785
8786 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8787
8788 * doc-view.el (doc-view-new-window-function): Check the new window
8789 overlay's display property instead the char property of the
8790 buffer's first char. Use `with-selected-window' instead of
8791 `save-window-excursion' with `select-window'.
8792 (doc-view-document->bitmap): Check the current doc-view overlay's
8793 display property instead the char property of the buffer's first char.
8794
8795 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8796
8797 Automate the build of ja-dic.el (Bug#13984).
8798 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8799 from the input, rather than assume that it's been done for us by the
8800 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8801 the current date into a ja-dic.el comment, as that complicates
8802 regression testing.
8803
8804 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8805
8806 * whitespace.el: Fix double evaluation.
8807 (whitespace-space, whitespace-hspace, whitespace-tab)
8808 (whitespace-newline, whitespace-trailing, whitespace-line)
8809 (whitespace-space-before-tab, whitespace-indentation)
8810 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8811 obsolete defvars.
8812 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8813 (whitespace-color-on): Use a single font-lock-add-keywords call.
8814 Fix double-evaluation of face variables.
8815
8816 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8817
8818 * net/tramp-adb.el (tramp-adb-parse-device-names):
8819 Use `start-process' instead of `call-process'. Otherwise, the
8820 function might be blocked under MS Windows. (Bug#13299)
8821
8822 2013-03-17 Leo Liu <sdl.web@gmail.com>
8823
8824 Extend eldoc to display info in the mode-line. (Bug#13978)
8825 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8826 (eldoc-mode-line-string): New variable.
8827 (eldoc-minibuffer-message): New function.
8828 (eldoc-message-function): New variable.
8829 (eldoc-message): Use it.
8830 (eldoc-display-message-p)
8831 (eldoc-display-message-no-interference-p):
8832 Support eldoc-post-insert-mode.
8833
8834 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8835 (eval-expression): Run it.
8836
8837 2013-03-17 Roland Winkler <winkler@gnu.org>
8838
8839 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8840 strings in the list of return values.
8841
8842 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8843
8844 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8845 radix before checking for HMS forms.
8846
8847 2013-03-16 Leo Liu <sdl.web@gmail.com>
8848
8849 * progmodes/scheme.el: Add indentation and font-locking for λ.
8850 (Bug#13975)
8851
8852 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8855 token before point (bug#13942).
8856
8857 2013-03-16 Leo Liu <sdl.web@gmail.com>
8858
8859 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8860
8861 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8862
8863 * startup.el (command-line-normalize-file-name): Fix handling of
8864 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8865 <xfq.free@gmail.com> in
8866 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8867
8868 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8869
8870 Sync with Tramp 2.2.7.
8871
8872 * net/trampver.el: Update release number.
8873
8874 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8875
8876 * doc-view.el: Fix bug#13887.
8877 (doc-view-insert-image): Don't modify overlay associated to
8878 non-live windows, and implement horizontal centering of image in
8879 case it's smaller than the window.
8880 (doc-view-new-window-function): Force redisplay of new windows on
8881 doc-view buffers.
8882
8883 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8884
8885 * saveplace.el (save-place-alist-to-file): Don't sort
8886 `save-place-alist', just pretty-print it (bug#13882).
8887
8888 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8889
8890 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8891 Check whether `default-file-name-coding-system' is bound.
8892 It isn't in XEmacs.
8893
8894 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8897 backquotes for `obsolete' (bug#13929).
8898
8899 * international/mule.el (find-auto-coding): Include file name in
8900 obsolescence warning (bug#13922).
8901
8902 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8903
8904 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8905 for CFEngine 3-specific indentation.
8906 (cfengine3-indent-line): Use it. Fix up category regex.
8907 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8908
8909 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8910
8911 * type-break.el (type-break-file-name):
8912 * textmodes/remember.el (remember-data-file):
8913 * strokes.el (strokes-file):
8914 * shadowfile.el (shadow-initialize):
8915 * saveplace.el (save-place-file):
8916 * ps-bdf.el (bdf-cache-file):
8917 * progmodes/idlwave.el (idlwave-config-directory):
8918 * net/quickurl.el (quickurl-url-file):
8919 * international/kkc.el (kkc-init-file-name):
8920 * ido.el (ido-save-directory-list-file):
8921 * emulation/viper.el (viper-custom-file-name):
8922 * emulation/vip.el (vip-startup-file):
8923 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8924 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8925
8926 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8927
8928 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8929 * language/thai-word.el: Switch to UTF-8.
8930
8931 See ChangeLog.16 for earlier changes.
8932
8933 ;; Local Variables:
8934 ;; coding: utf-8
8935 ;; End:
8936
8937 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8938
8939 This file is part of GNU Emacs.
8940
8941 GNU Emacs is free software: you can redistribute it and/or modify
8942 it under the terms of the GNU General Public License as published by
8943 the Free Software Foundation, either version 3 of the License, or
8944 (at your option) any later version.
8945
8946 GNU Emacs is distributed in the hope that it will be useful,
8947 but WITHOUT ANY WARRANTY; without even the implied warranty of
8948 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8949 GNU General Public License for more details.
8950
8951 You should have received a copy of the GNU General Public License
8952 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.