1a9b1991279352245bbe18a2c6a150a864877fa1
[bpt/emacs.git] / lisp / ChangeLog
1 2014-05-08 Sam Steingold <sds@gnu.org>
2
3 * net/rcirc.el (rcirc-reconnect-delay): New user option.
4 (rcirc-sentinel): Auto-reconnect to the server if
5 `rcirc-reconnect-delay' is non-0 (but not more often than its
6 value in case the host is off-line).
7
8 2014-05-09 Eli Zaretskii <eliz@gnu.org>
9
10 * progmodes/grep.el (lgrep): Fix a typo in last commit.
11
12 2014-05-09 Glenn Morris <rgm@gnu.org>
13
14 * files.el (file-expand-wildcards):
15 * man.el (Man-support-local-filenames):
16 * printing.el (pr-i-directory, pr-interface-directory):
17 * progmodes/grep.el (lgrep, rgrep):
18 * textmodes/ispell.el (ispell-call-process)
19 (ispell-call-process-region, ispell-start-process)
20 (ispell-init-process): Use file-accessible-directory-p.
21
22 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
25 (xterm-mouse--read-event-sequence-1000): Return nil if something
26 looks fishy.
27 (xterm-mouse-event): Propagate it.
28 (xterm-mouse-translate-1): Handle it.
29
30 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
31
32 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
33 four slots of the parameter list are filled, make sure to pass it
34 to the argument list of todo-insert-item--basic.
35
36 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
39 Add optional `seen' argument to detect and break infinite loops.
40
41 2014-05-08 Eli Zaretskii <eliz@gnu.org>
42
43 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
44 (trace-unsafe, trace-use-tree): Make parentheses style be
45 according to Emacs style.
46
47 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
48
49 * net/tramp-sh.el (tramp-remote-process-environment):
50 Remove HISTFILE and HISTSIZE; it's too late to set them here.
51 Add :version entry.
52 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
53 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
54 extra "PSx=..." commands.
55 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
56 (Bug#17295)
57
58 (tramp-uudecode): Replace the hard-coded temporary file name by a
59 format specifier.
60 (tramp-remote-coding-commands): Enhance docstring.
61 (tramp-find-inline-encoding): Replace "%t" by a temporary file
62 name. (Bug#17415)
63
64 2014-05-08 Glenn Morris <rgm@gnu.org>
65
66 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
67 (find-gc-source-files): Update some names.
68 (trace-call-tree): Simplify and update.
69 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
70
71 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * minibuffer.el (completion--try-word-completion): Revert fix for
74 Bug#15980 (bug#17375).
75
76 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
77 Always store button numbers in the same way in xterm-mouse-last;
78 Don't burp is xterm-mouse-last is not set as expected.
79 Never return negative indices.
80
81 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
82
83 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
84 Backtrack one char if the global/char-literal var matcher hits
85 inside a string. The next char could be the beginning of an
86 expression expansion.
87
88 2014-05-08 Glenn Morris <rgm@gnu.org>
89
90 * help-fns.el (describe-function-1): Test for an autoload before a
91 macro, since `macrop' works on autoloads. (Bug#17410)
92
93 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * electric.el (electric-indent-functions-without-reindent): Add yaml.
96
97 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
98 Make sure the new point we return is within the new string (bug#17239).
99
100 2014-05-05 Daniel Colascione <dancol@dancol.org>
101
102 * progmodes/compile.el (compilation-error-regexp-alist-alist):
103 Port `gnu' pattern to rx.
104
105 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
106
107 Remove unneeded prompt when closing a buffer with active
108 emacsclient ("Buffer ... still has clients"), #16548.
109 * server.el (server-start): Remove the only call to:
110 (server-kill-buffer-query-function): Remove.
111
112 2014-05-04 Leo Liu <sdl.web@gmail.com>
113
114 * calendar/diary-lib.el (calendar-chinese-month-name-array):
115 Defvar to pacify compiler.
116
117 2014-05-04 Eli Zaretskii <eliz@gnu.org>
118
119 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
120
121 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
124 Use nil rather than `default' for the "default" appearance (bug#17388).
125 * vc/ediff-util.el (ediff-inferior-compare-regions)
126 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
127 a misleading `default' value when it's really a boolean.
128 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
129 overlay is not visible.
130
131 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
132
133 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
134 (todo-menu): Uncomment and update.
135
136 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
137
138 * calendar/todo-mode.el: Reimplement item editing to have the same
139 basic user interface as item insertion, and make small UI and
140 larger internal improvements to the latter.
141 (todo-insert-item): Add reference to the Todo mode user manual to
142 the documentation string.
143 (todo-insert-item--basic): Rename from todo-basic-insert-item and
144 adjust all callers. Change signature to combine diary and
145 nonmarking arguments. Incorporate functionality of deleted item
146 copying command and add error checking. Remove detailed
147 descriptions of the arguments from the documentation string, since
148 this is treated in the Todo mode user manual.
149 (todo-copy-item, todo-edit-multiline-item)
150 (todo-edit-done-item-comment, todo-edit-item-header)
151 (todo-edit-item-time, todo-edit-item-date-from-calendar)
152 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
153 (todo-edit-item-date-year, todo-edit-item-date-month)
154 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
155 Remove.
156 (todo-edit-item): Reimplement as wrapper command for
157 todo-edit-item--next-key and make it distinguish done and not done
158 todo items.
159 (todo-edit-item--text): New function, replacing old command
160 todo-edit-item and incorporating deleted commands
161 todo-edit-multiline-item and todo-edit-done-item-comment.
162 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
163 Use only numeric value of prefix argument. Remove detailed
164 descriptions of the arguments from the documentation string, since
165 this is treated in the Todo mode user manual.
166 (todo-edit-item--diary-inclusion): New function, replacing old
167 command todo-edit-item-diary-inclusion and incorporating and fixing
168 functionality of deleted command todo-edit-item-diary-nonmarking,
169 making sure to remove todo-nondiary-marker when adding
170 diary-nonmarking-symbol.
171 (todo-edit-category-diary-inclusion): Make sure to delete
172 diary-nonmarking-symbol when adding todo-nondiary-marker.
173 (todo-edit-category-diary-nonmarking): Fix indentation.
174 (todo-insert-item--parameters): Group diary and nonmarking
175 parameters together.
176 (todo-insert-item--apply-args): Adjust to signature of
177 todo-insert-item--basic and incorporate copy parameter.
178 Make small code improvements.
179 (todo-insert-item--next-param): Improve prompt and adjust it to
180 new parameter grouping. Remove obsolete code.
181 (todo-edit-item--param-key-alist)
182 (todo-edit-item--date-param-key-alist)
183 (todo-edit-done-item--param-key-alist): New defconsts.
184 (todo-edit-item--prompt): New variable.
185 (todo-edit-item--next-key): New function.
186 (todo-key-bindings-t): Bind "e" to todo-edit-item.
187 Remove bindings of deleted commands.
188
189 2014-05-04 Leo Liu <sdl.web@gmail.com>
190
191 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
192
193 2014-05-04 Glenn Morris <rgm@gnu.org>
194
195 * allout-widgets.el (allout-widgets-tally)
196 (allout-decorate-item-guides):
197 * menu-bar.el (menu-bar-positive-p):
198 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
199 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
200 * progmodes/js.el (js--inside-param-list-p)
201 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
202 * progmodes/prolog.el (region-exists-p):
203 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
204 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
205 Doc fixes (replace `iff').
206
207 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
210
211 2014-05-04 Leo Liu <sdl.web@gmail.com>
212
213 Support Chinese diary entries in calendar and diary. (Bug#17393)
214 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
215 (calendar-chinese-from-absolute-for-diary)
216 (calendar-chinese-to-absolute-for-diary)
217 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
218 (diary-chinese-list-entries): New functions to list and mark
219 Chinese diary entries in the calendar window.
220 (diary-chinese-anniversary)
221 (diary-chinese-insert-anniversary-entry)
222 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
223 (diary-chinese-insert-yearly-entry): New commands to insert
224 Chinese diary entries.
225
226 * calendar/diary-lib.el (diary-font-lock-keywords): Support
227 font-locking Chinese dates.
228
229 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
230 inserting Chinese diary entries.
231
232 * calendar/calendar.el (diary-chinese-entry-symbol): New
233 customizable variable.
234 (calendar-mode-map): Add bindings for inserting Chinese diary
235 entries.
236
237 2014-05-03 Juri Linkov <juri@jurta.org>
238
239 * dired.el (dired-check-switches, dired-switches-recursive-p):
240 New functions. (Bug#17218)
241 (dired-switches-escape-p, dired-move-to-end-of-filename):
242 Use `dired-check-switches'.
243 (dired-insert-old-subdirs, dired-build-subdir-alist)
244 (dired-sort-R-check): Use `dired-switches-recursive-p'.
245
246 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
247
248 * simple.el (undo-make-selective-list): New algorithm fixes
249 incorrectness of position adjustments when undoing in region.
250 (Bug#17235)
251 (undo-elt-crosses-region): Make obsolete.
252 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos): New
253 functions to adjust positions using undo-deltas.
254
255 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
258 the last consecutive closing paren (bug#17345).
259
260 2014-04-30 Reuben Thomas <rrt@sc3d.org>
261
262 * dired.el (dired-mode): make terminology for eXpunge command
263 consistent. (Bug#17276)
264
265 2014-04-30 Eli Zaretskii <eliz@gnu.org>
266
267 * dired.el (dired-initial-position-hook, dired-initial-position):
268 Doc string fixes.
269
270 2014-04-30 Glenn Morris <rgm@gnu.org>
271
272 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
273
274 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
275
276 * faces.el (face-spec-recalc): Apply X resources only after the
277 defface spec has been applied. Thus, X resources are no longer
278 overriden by the defface spec which also fixes issues on win32 where
279 the toolbar coloring was wrong because it is set through X resources
280 and was (wrongfully) overriden. (Bug#16694)
281
282 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * textmodes/rst.el (electric-pair-pairs): Declare.
285 (rst-mode): Set it (bug#17131).
286
287 2014-04-30 Juri Linkov <juri@jurta.org>
288
289 * desktop.el (desktop-value-to-string): Let-bind `print-length'
290 and `print-level' to nil. (Bug#17351)
291
292 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
293
294 * battery.el (battery-update): Handle the case where battery
295 status is "N/A" (bug#17319).
296
297 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
298
299 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
300 to syntax-propertize.
301 (ps-mode-auto-indent): Mark as obsolete.
302 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
303 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
304 word regexp operators.
305 (ps-mode-map): Move initialization into declaration. Remove binding
306 for TAB, RET, >, ], and }.
307 (ps-mode-syntax-table): Move initialization into declaration.
308 Don't give word syntax to non-word chars.
309 (ps-run-mode-map): Move initialization into declaration.
310 (ps-mode-menu-main): Remove auto-indent entry.
311 (ps-mode-smie-rules): New function.
312 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
313 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
314 (ps-mode--string-syntax-table): New const.
315 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
316 New functions.
317 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
318 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
319
320 2014-04-27 Daniel Colascione <dancol@dancol.org>
321
322 * term/xterm.el (xterm-paste): Use large finite timeout when
323 reading event to avoid putting keys in this-command-keys.
324
325 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
328 (perl-syntax-propertize-function): Use it. Extend handling of
329 here-docs to the unquoted case.
330
331 2014-04-25 Eli Zaretskii <eliz@gnu.org>
332
333 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
334 Use equal-including-properties to compare help-echo strings (bug#17331).
335
336 2014-04-25 Leo Liu <sdl.web@gmail.com>
337
338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
339 Fix syntax for @. (Bug#17325)
340
341 2014-04-25 Daniel Colascione <dancol@dancol.org>
342
343 * emacs-lisp/cl.el (gv): Require gv early to break eager
344 macro-expansion cycles.
345
346 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
347
348 * simple.el (region-active-p): Check there's a mark (bug#17324).
349
350 * simple.el (completion-list-mode-map): Use choose-completion for the
351 mouse binding as well (bug#17302).
352 (completion-list-mode, completion-setup-function): Adjust docstring and
353 echo area message accordingly.
354 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
355 calling convention of choose-completion.
356 * comint.el (comint-dynamic-list-completions):
357 * term.el (term-dynamic-list-completions): Accept choose-completion.
358
359 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
360 &, |, +, - and * can't be a division (bug#17317).
361
362 * term/xterm.el (xterm--version-handler): Don't use modern xterm
363 features on gnome-terminal (bug#16988).
364
365 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
366
367 Improve Scheme font-locking for (define ((foo ...) ...) ...).
368
369 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
370 the declared object, ignore zero or more parens, not zero or one.
371
372 2014-04-24 Leo Liu <sdl.web@gmail.com>
373
374 * progmodes/xscheme.el (xscheme-expressions-ring)
375 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
376 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
377 (xscheme-allow-output-p, xscheme-prompt)
378 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
379
380 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
381 Comment out unused functions.
382
383 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
384
385 * info.el: Use lexical-binding and cl-lib.
386 Use defvar-local and setq-local instead of make-local-variable.
387 (Info-apropos-matches): Avoid add-to-list.
388 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
389
390 2014-04-24 Daniel Colascione <dancol@dancol.org>
391
392 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
393
394 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
397
398 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
399
400 * dired.el (dired-insert-set-properties): Do not consider
401 subdirectory headings and empty lines to be information that
402 `dired-hide-details-mode' should hide. (Bug#17228)
403
404 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
405
406 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
407 Remove test messages.
408 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
409 and `target' twice.
410
411 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
414 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
415
416 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
417
418 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
419
420 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
421 Set "IFS=" when using read builtin, in order to preserve spaces in
422 the file name. Add test messages for hunting a bug on hydra.
423 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
424
425 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
428 Don't prettify a word within a symbol.
429
430 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
431
432 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
433 possible.
434
435 2014-04-22 Daniel Colascione <dancol@dancol.org>
436
437 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
438 use defun to define `function-put'.
439
440 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
443 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
444 (lisp-mode-variables): Set font-lock-extra-managed-props.
445
446 * emacs-lisp/byte-run.el (function-put): New function.
447 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
448 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
449 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
450 Use them.
451
452 2014-04-22 Daniel Colascione <dancol@dancol.org>
453
454 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
455 Add `full-p' parameter; when nil, call `macroexpand' instead of
456 `macroexpand-all'.
457
458 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
459 Improve docstrings.
460
461 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
462 Use lambda function values, not quoted lambdas.
463 (byte-compile-recurse-toplevel): Remove extraneous &optional.
464
465 * emacs-lisp/cl-macs.el
466 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
467 (cl-struct-slot-value): Conditionally use aref or nth so that the
468 compiler produces optimal code.
469
470 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
473 (inline): Don't inline cl--set-elt.
474 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
475 Define as inlinable instead.
476 (cl-struct-set-slot-value): Remove.
477
478 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
479 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
480 Use setf instead.
481
482 2014-04-21 Daniel Colascione <dancol@dancol.org>
483
484 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
485 last two parameters after all.
486 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
487 (cl--compiler-macro-assoc,cl-struct-slot-value)
488 (cl-struct-set-slot-value): Stop using them.
489
490 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
491
492 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
493 entry in image-mode-winprops-alist.
494
495 2014-04-21 Daniel Colascione <dancol@dancol.org>
496
497 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
498 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
499 (byte-compile-toplevel-file-form): Use it.
500
501 * emacs-lisp/cl-macs.el:
502 (cl--loop-let): Properly destructure `while' clauses.
503
504 2014-04-20 Daniel Colascione <dancol@dancol.org>
505
506 * vc/vc.el (vc-root-dir): New public autoloaded function for
507 generically finding the current VC root.
508 * vc/vc-hooks.el (vc-not-supported): New error.
509 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
510
511 2014-04-20 Daniel Colascione <dancol@dancol.org>
512
513 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
514 argument.
515 (cl--const-expr-val): cl--const-expr-val should macroexpand its
516 argument in case we're inside a symbol-macrolet.
517 (cl--do-arglist, cl--compiler-macro-typep)
518 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
519 environment to `cl--const-expr-val'.
520 (cl-struct-sequence-type,cl-struct-slot-info)
521 (cl-struct-slot-offset, cl-struct-slot-value)
522 (cl-struct-set-slot-value): New functions.
523
524 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
525
526 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
527 assignments such as "case=hello" (bug#17297).
528
529 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
530
531 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
532 Do not autoload.
533 (tramp-file-name-handler, tramp-completion-file-name-handler):
534 Revert patch from 2014-04-10, it isn't necessary anymore.
535 (tramp-autoload-file-name-handler)
536 (tramp-register-autoload-file-name-handlers): New defuns.
537 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
538 (tramp-register-file-name-handlers): Remove also
539 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
540 Do not autoload its invocation, but eval it after loading of 'tramp.
541
542 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
543
544 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
545
546 2014-04-17 Daniel Colascione <dancol@dancol.org>
547
548 Add support for bracketed paste mode; add infrastructure for
549 managing terminal mode enabling and disabling automatically.
550
551 * xt-mouse.el:
552 (xterm-mouse-mode): Simplify.
553 (xterm-mouse-tracking-enable-sequence)
554 (xterm-mouse-tracking-disable-sequence): New constants.
555 (turn-on-xterm-mouse-tracking-on-terminal)
556 (turn-off-xterm-mouse-tracking-on-terminal):
557 Use tty-mode-set-strings and tty-mode-reset-strings terminal
558 parameters instead of random hooks.
559 (turn-on-xterm-mouse-tracking)
560 (turn-off-xterm-mouse-tracking): Delete.
561
562 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
563 (xterm-paste-ending-sequence): New constant.
564 (xterm-paste): New command used for bracketed paste support.
565
566 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
567 (terminal-init-xterm-bracketed-paste-mode): New function.
568 (terminal-init-xterm): Call it.
569 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
570 and tty-mode-reset-strings instead of random hooks.
571 (xterm-turn-on-modify-other-keys)
572 (xterm-turn-off-modify-other-keys)
573 (xterm-remove-modify-other-keys): Delete obsolete functions.
574
575 * term/screen.el: Rewrite to just use the xterm code.
576 Add copyright notice. Mention tmux.
577
578 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
579
580 * image-mode.el (image-mode-window-put): Also update the property of
581 the "default window".
582 * doc-view.el (doc-view-new-window-function): If no window
583 exists, move to the last known page.
584
585 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
588 here-documents (bug#17262).
589
590 2014-04-16 Eli Zaretskii <eliz@gnu.org>
591
592 * term/pc-win.el (x-list-fonts, x-get-selection-value):
593 Provide doc strings, as required by snarf-documentation.
594
595 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
596
597 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
598 arg of overlays-at. Use `invisible-p'.
599
600 * obsolete/lucid.el (extent-at):
601 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
602 overlays-at.
603 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
604
605 2014-04-16 João Távora <joaotavora@gmail.com>
606
607 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
608 links. (Bug#17217).
609
610 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
611
612 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
613 Use mapc to loop over a vector. (Bug#17257).
614
615 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
616
617 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
618 patch, there are new problems with file names containing spaces.
619 Get rid of backticks. (Bug#17238)
620
621 2014-04-16 João Távora <joaotavora@gmail.com>
622
623 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
624 possible bug.
625
626 2014-04-16 Eli Zaretskii <eliz@gnu.org>
627
628 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
629 (blink-cursor-mode): Mention customization variables and the
630 effect of 'blink-cursor-blinks'.
631
632 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
633
634 * simple.el (undo): Prevent insertion of identity mapping into
635 undo-equiv-table so as undo-only does not inf loop in the presence
636 of consecutive nils in undo list.
637
638 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
639
640 * faces.el (make-face): Deprecate optional argument as it is no
641 longer needed/used since the conditional X resources handling
642 has been pushed down to make-face-x-resource-internal itself.
643 (make-empty-face): Don't pass optional argument to make-face.
644
645 2014-04-16 Karl Fogel <kfogel@red-bean.com>
646
647 * savehist.el (savehist-save): Remove workaround for a read-passwd
648 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
649 noticing that the shim was still present.
650
651 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
654
655 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
656
657 * faces.el (face-set-after-frame-default): Remove unused local variable.
658
659 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
660
661 * progmodes/grep.el: Use lexical-binding.
662 (grep-expand-template): Pass explicit lexical env to `eval'.
663 (zrgrep): Let-bind grep-find-template explicitly.
664
665 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
666 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
667
668 2014-04-12 Eli Zaretskii <eliz@gnu.org>
669
670 * international/characters.el <standard-case-table>: Add entries
671 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
672 Set category of Coptic characters be 'g' (Greek).
673
674 2014-04-12 Leo Liu <sdl.web@gmail.com>
675
676 * progmodes/octave.el (completion-table-with-cache):
677 Define if not available.
678 (octave-goto-function-definition, octave-sync-function-file-names)
679 (octave-find-definition-default-filename):
680 Backquote upattern for compatibility.
681
682 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
683
684 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
685 name twice due to backticks. (Bug#17238)
686
687 2014-04-12 Glenn Morris <rgm@gnu.org>
688
689 * term/w32-win.el (x-win-suspend-error):
690 * term/x-win.el (x-win-suspend-error): Sync docs.
691
692 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
693
694 * faces.el (make-face): Remove deprecated optional argument.
695 The conditional application of X resources is handled directly by
696 make-face-x-resource-internal since Emacs 24.4.
697 (make-empty-face): Don't pass optional argument to make-face.
698
699 2014-04-11 Glenn Morris <rgm@gnu.org>
700
701 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
702
703 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 Ediff's overlay priorities cause more trouble than they solve.
706 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
707 (ediff-highest-priority): Remove function (bug#17234).
708 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
709 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
710 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
711 overlay priorities.
712
713 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
714
715 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
716 entry; use symbol boundaries to avoid mis-matches.
717
718 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
719
720 * net/tramp.el (tramp-file-name-handler)
721 (tramp-completion-file-name-handler): Avoid recursive loading.
722
723 * net/tramp-sh.el (tramp-make-copy-program-file-name):
724 Quote result also locally.
725
726 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
727
728 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
729 Remove left-over code.
730
731 * newcomment.el (comment-indent-new-line): Sink code where it's used.
732 Reuse the previous comment's indentation unconditionally if it's on its
733 own line.
734
735 2014-04-09 Daniel Colascione <dancol@dancol.org>
736
737 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
738 `no-syntax-crossing' arguments. Forward to `up-list'.
739 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
740 Implement logic for escaping from strings. Use narrowing to deal
741 with corner cases.
742
743 2014-04-09 Leo Liu <sdl.web@gmail.com>
744
745 * net/rcirc.el (rcirc-connection-info): New variable.
746 (rcirc-connect): Use it to store connection info.
747 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
748 for killed process.
749 (rcirc-cmd-reconnect): New command. (Bug#17045)
750 (rcirc-mode, set-rcirc-encode-coding-system)
751 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
752
753 2014-04-09 Daniel Colascione <dancol@dancol.org>
754
755 * emacs-lisp/cl-indent.el: Add comment claiming
756 facility is also good for elisp.
757 (lisp-indent-find-method): New function.
758 (common-lisp-indent-function): Recognize cl-loop.
759 (common-lisp-indent-function-1): Recognize cl constructs; use
760 `lisp-indent-find-method' instead of `get' directly.
761 (if): Use else-body style for elisp.
762
763 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
764
765 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
766 Module methods. (Bug#17216)
767
768 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * help.el (describe-bindings): Fix buffer handling (bug#17210).
771 (describe-bindings-internal): Mark obsolete.
772
773 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
776 buffer-file-name, and buffer-file-truename any more.
777
778 2014-04-08 Leo Liu <sdl.web@gmail.com>
779
780 Use lexical-binding and require cl-lib.
781 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
782 (rcirc-handler-generic, rcirc-fill-paragraph)
783 (rcirc-format-response-string, rcirc-target-buffer)
784 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
785 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
786 (rcirc-ctcp-sender-PING, rcirc-browse-url)
787 (rcirc-markup-timestamp, rcirc-markup-attributes)
788 (rcirc-markup-my-nick, rcirc-markup-urls)
789 (rcirc-markup-bright-nicks, rcirc-markup-fill)
790 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
791 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
792 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
793 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
794 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
795 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
796 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
797 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
798 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
799 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
800 use cl-lib.
801
802 2014-04-07 João Távora <joaotavora@gmail.com>
803
804 * elec-pair.el (electric-pair--syntax-ppss):
805 When inside comments parse from comment beginning.
806 (electric-pair--balance-info): Fix typo in comment.
807 (electric-pair--in-unterminated-string-p): Delete.
808 (electric-pair--unbalanced-strings-p): New function.
809 (electric-pair-string-bound-function): New var.
810 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
811 according to `electric-pair--in-unterminated-string-p'
812
813 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
814 Inhibit quote pairing if point-max is inside an unterminated string.
815 (electric-pair--looking-at-unterminated-string-p): Delete.
816 (electric-pair--in-unterminated-string-p): New function.
817
818 2014-04-07 Glenn Morris <rgm@gnu.org>
819
820 * shell.el (shell-directory-tracker):
821 Go back to just ignoring failures. (Bug#17159)
822
823 2014-04-07 João Távora <joaotavora@gmail.com>
824
825 Fix `electric-pair-delete-adjacent-pairs' in modes binding
826 backspace. (bug#16981)
827 * elec-pair.el (electric-pair-backward-delete-char): Delete.
828 (electric-pair-backward-delete-char-untabify): Delete.
829 (electric-pair-mode-map): Bind backspace to a menu item filtering
830 a new `electric-pair-delete-pair' command.
831 (electric-pair-delete-pair): New command.
832
833 * progmodes/python.el (python-electric-pair-string-delimiter):
834 Fix triple-quoting electricity. (Bug#17192)
835
836 * elec-pair.el (electric-pair-post-self-insert-function):
837 Don't skip whitespace when `electric-pair-text-pairs' and
838 `electric-pair-pairs' were used. syntax to
839 electric-pair--skip-whitespace. (Bug#17183)
840
841 2014-04-07 Eli Zaretskii <eliz@gnu.org>
842
843 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
844 "<F>". (Bug#17199)
845
846 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
849 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
850
851 2014-04-07 Glenn Morris <rgm@gnu.org>
852
853 * help.el (view-lossage): Doc tweak.
854
855 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
856
857 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
858 only when inhibit-x-resources is nil, and do that earlier in the
859 function. Doc fix. (Bug#16694)
860 (face-spec-choose): Accept additional optional argument, whose
861 value is returned if no matching attributes are found.
862 (face-spec-recalc): Use the new optional argument when calling
863 face-spec-choose. (Bug#16378)
864 (make-face-x-resource-internal): Do nothing when
865 inhibit-x-resources is non-nil. Don't touch the default face if
866 reversed video is given--as was done in previous versions of Emacs.
867 (face-set-after-frame-default): Don't call
868 make-face-x-resource-internal here. (Bug#16434)
869
870 2014-04-07 Tassilo Horn <tsdh@gnu.org>
871
872 * doc-view.el (doc-view-bookmark-jump):
873 Use `bookmark-after-jump-hook' to jump to the right page after the
874 buffer is shown in a window. (bug#16090)
875
876 2014-04-07 Eli Zaretskii <eliz@gnu.org>
877
878 * international/characters.el (mirroring): Fix last change:
879 instead of loading uni-mirrored.el explicitly, do that implicitly
880 by creating the 'mirroring' uniprop table. This avoids announcing
881 the loading of uni-mirrored.el.
882
883 2014-04-07 Glenn Morris <rgm@gnu.org>
884
885 * files.el (buffer-stale--default-function)
886 (buffer-stale-function, revert-buffer--default):
887 * autorevert.el (auto-revert-buffers): Doc tweaks.
888
889 2014-04-07 Eli Zaretskii <eliz@gnu.org>
890
891 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
892
893 2014-04-07 Glenn Morris <rgm@gnu.org>
894
895 * files.el (make-backup-file-name-function)
896 (make-backup-file-name, make-backup-file-name--default-function)
897 (make-backup-file-name-1, find-backup-file-name)
898 (revert-buffer-function, revert-buffer-insert-file-contents-function)
899 (buffer-stale--default-function, buffer-stale-function)
900 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
901 (revert-buffer, revert-buffer--default)
902 (revert-buffer-insert-file-contents--default-function):
903 Doc fixes related to defaults no longer being nil.
904 (make-backup-file-name-function): Bump :version.
905 Restore nil as a valid but deprecated custom type.
906
907 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * progmodes/perl-mode.el (perl-syntax-propertize-function):
910 Handle $' used as a variable (bug#17174).
911
912 * progmodes/perl-mode.el (perl-indent-new-calculate):
913 Handle forward-sexp failure (bug#16985).
914 (perl-syntax-propertize-function): Add "foreach" and "for" statement
915 modifiers introducing expressions (bug#17116).
916
917 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
920
921 2014-04-05 Leo Liu <sdl.web@gmail.com>
922
923 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
924 Add define-compilation-mode.
925
926 2014-04-04 João Távora <joaotavora@gmail.com>
927
928 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
929 parse from comment beginning.
930 (electric-pair--balance-info): Fix typo in comment.
931 (electric-pair--in-unterminated-string-p): Delete.
932 (electric-pair--unbalanced-strings-p): New function.
933 (electric-pair-string-bound-function): New var.
934 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
935 according to `electric-pair--in-unterminated-string-p'.
936
937 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
940 Move declaration before first use.
941 (reftex-move-to-next-arg): Silence compiler warning.
942
943 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
944
945 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
946 Use `window-total-width' instead of `window-width'.
947
948 2014-04-03 Daniel Colascione <dancol@dancol.org>
949
950 * subr.el (set-transient-map): Remove rms's workaround entirely;
951 use new `suspicious-object' subr to mark our lambda for closer
952 scrutiny during gc.
953
954 2014-04-02 Richard Stallman <rms@gnu.org>
955
956 * subr.el (set-transient-map): Comment out previous change.
957
958 2014-04-02 Glenn Morris <rgm@gnu.org>
959
960 * menu-bar.el (menu-bar-file-menu):
961 * vc/ediff.el (ediff-current-file):
962 Update for revert-buffer-function no longer being nil by default.
963
964 * simple.el (command-execute): Respect nil disabled-command-function.
965
966 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
967
968 * simple.el (command-execute): Do not execute the command when it
969 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
970
971 2014-04-02 Juri Linkov <juri@jurta.org>
972
973 * dired-aux.el (dired-compress-file): Don't use string-match-p
974 because its match data is used afterwards.
975
976 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
979 0 like nil.
980
981 2014-04-02 João Távora <joaotavora@gmail.com>
982
983 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
984 Inhibit quote pairing if point-max is inside an unterminated string.
985 (electric-pair--looking-at-unterminated-string-p):
986 Delete.
987 (electric-pair--in-unterminated-string-p): New function.
988
989 2014-04-01 Daniel Colascione <dancol@dancol.org>
990
991 * minibuffer.el (minibuffer-complete): Prevent assertion failure
992 when trying to complete the prompt.
993
994 2014-03-31 Leo Liu <sdl.web@gmail.com>
995
996 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
997 Refactor out eldoc-documentation-function-default.
998 (eldoc-documentation-function-default): New function.
999 (eldoc-documentation-function): Change value.
1000
1001 2014-03-31 Glenn Morris <rgm@gnu.org>
1002
1003 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
1004
1005 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
1006 (vhdl-compose-components-package, vhdl-compose-configuration):
1007 Abbreviate default-directory (missing from some previous upstream sync).
1008
1009 2014-03-31 Reto Zimmermann <reto@gnu.org>
1010
1011 Sync with upstream vhdl mode v3.35.2.
1012 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1013 (top-level): No longer require assoc.
1014 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
1015 New functions. Use throughout to replace aget etc.
1016 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
1017 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
1018 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
1019 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
1020 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
1021 except `vhdl-compiler'.
1022 (vhdl-error-regexp-add-emacs): Remove all other compilers,
1023 when appropriate.
1024
1025 2014-03-31 Glenn Morris <rgm@gnu.org>
1026
1027 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
1028 Revert 2014-03-26 merge goof; go back to using defalias.
1029
1030 2014-03-30 Daniel Colascione <dancol@dancol.org>
1031
1032 * comint.el (comint-send-input):
1033 Deactivate completion-in-region-mode before we send comint input.
1034 (Bug#17139).
1035
1036 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
1037 on keyboard-quit.
1038
1039 2014-03-29 Glenn Morris <rgm@gnu.org>
1040
1041 * textmodes/reftex.el: Manage most autoloads automatically.
1042 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
1043 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
1044 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
1045 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
1046 * textmodes/reftex-toc.el: Set generated-autoload-file,
1047 and add autoload cookies for reftex.el.
1048 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
1049
1050 2014-03-28 Glenn Morris <rgm@gnu.org>
1051
1052 * cus-start.el (report-emacs-bug-address): Set custom properties.
1053 * mail/emacsbug.el (report-emacs-bug-address):
1054 Variable is now defined in emacs.c.
1055
1056 * mail/emacsbug.el (report-emacs-bug):
1057 Include system-configuration-features.
1058
1059 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
1060
1061 * simple.el (cycle-spacing): Never delete spaces on first run by
1062 default, but do so in a new 'fast mode and if there are already
1063 N spaces (the previous behavior).
1064 Compare N with its value in previous invocation so that changing
1065 prefix argument restarts `cycle-spacing' sequence.
1066 The idea is that with this change, binding M-SPC to
1067 `cycle-spacing' should not introduce any changes in behavior of
1068 the binding so long as users do not type M-SPC twice in a raw with
1069 the same prefix argument or lack thereof.
1070
1071 2014-03-28 Glenn Morris <rgm@gnu.org>
1072
1073 * faces.el (term-file-aliases): New variable.
1074 (tty-run-terminal-initialization): Respect term-file-aliases.
1075 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
1076 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
1077 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
1078
1079 2014-03-27 Glenn Morris <rgm@gnu.org>
1080
1081 * startup.el (inhibit-startup-hooks): Doc tweak.
1082 (normal-top-level): Simplify running of hooks.
1083 For window-setup-hook, respect inhibit-startup-hooks.
1084 (command-line-1): Don't set window-setup-hook to nil.
1085
1086 Allow selective autoloading from obsolete/ directory.
1087 * Makefile.in (obsolete-autoloads): New rule.
1088 (autoloads): Run obsolete-autoloads.
1089 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
1090 * simple.el (iswitchb-mode): Remove hand-written autoloads.
1091
1092 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1093
1094 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1095 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1096
1097 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1098 Don't propertize `?' or `!' as symbol constituent when after
1099 colon. (Bug#17097)
1100
1101 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1102
1103 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1104 which is no longer needed and causes trouble in GTK builds (bug#17046).
1105
1106 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1107 Use url-insert-file-contents; package-handle-response no longer exists.
1108
1109 2014-03-26 Daniel Colascione <dancol@dancol.org>
1110
1111 * simple.el (process-menu-mode-map): New variable.
1112 (process-menu-delete-process): New command.
1113
1114 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1115
1116 * emacs-lisp/package.el: Fix bug#16733 (again).
1117 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1118 (url-http-target-url): Remove unused declarations.
1119 (package-handle-response): Remove.
1120 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1121 (package--download-one-archive): Use current-buffer instead of
1122 dynamic binding of `buffer'.
1123 (describe-package-1): Do not decode readme-string.
1124
1125 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1128
1129 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1130 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1131 `remote-file-name-inhibit-cache' to nil in the second pass.
1132 (tramp-find-executable): Do not call "which" on SunOS.
1133 (tramp-send-command-and-check): Fix docstring.
1134 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1135 check whether source directory has set the sticky bit.
1136
1137 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
1138
1139 * simple.el (primitive-undo): Only process marker adjustments
1140 validated against their corresponding (TEXT . POS). Issue warning
1141 for lone marker adjustments in undo history. (Bug#16818)
1142 (undo-make-selective-list): Add marker adjustments to selective
1143 undo list based on whether their corresponding (TEXT . POS) is in
1144 the region. Remove variable adjusted-markers, which was unused
1145 and only non nil during undo-make-selective-list.
1146 (undo-elt-in-region): Return nil when passed a marker adjustment
1147 and explain in function doc.
1148
1149 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1150
1151 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1152
1153 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1154
1155 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1156 Match special global variables without curlies, too.
1157 (ruby-font-lock-keywords): Simplify the matcher for special global
1158 variables. Don't require a non-word character after the variable.
1159 (Bug#17057)
1160
1161 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * simple.el (redisplay-highlight-region-function): Increase priority of
1164 overlay to make sure boundaries are visible (bug#15899).
1165
1166 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1167
1168 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1169 (frameset-restore): Compare display strings with equal.
1170
1171 * frame.el (make-frame): Don't quote display name in error message,
1172 it is already a string.
1173
1174 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1175
1176 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1177 the password.
1178
1179 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
1180
1181 * emacs-lisp/package.el (package--add-to-archive-contents):
1182 Include already installed and built-in packages in
1183 `package-archive-contents'.
1184 (package-install): Don't include already installed packages in the
1185 options during interactive invocation. (Bug#16762)
1186 (package-show-package-list): If the buffer is already displayed in
1187 another window, switch to that window.
1188
1189 2014-03-26 Reto Zimmermann <reto@gnu.org>
1190
1191 Sync with upstream vhdl mode v3.35.1.
1192 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1193 (vhdl-compiler-alist): Doc fix.
1194 (vhdl-goto-line): Remove.
1195 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
1196 (vhdl-mode) <paragraph-start>: Fix value.
1197 (vhdl-fix-statement-region): Not `for' in wait-statement.
1198 (vhdl-beautify-region): Also (un)tabify.
1199 (vhdl-get-visible-signals):
1200 Scan declarative part of generate statements.
1201 (vhdl-template-record): Fix indentation for record type declaration.
1202 (vhdl-expand-abbrev, vhdl-expand-paren):
1203 Revert to using fset again rather than defalias.
1204 (vhdl-scan-directory-contents): Tweak.
1205 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
1206 (vhdl-compose-components-package):
1207 Replace vhdl-goto-line with forward-line.
1208 (top-level): Tweak speedbar frame selection.
1209 (vhdl-generate-makefile-1): Support for compilers with no
1210 unit-to-file name mapping (create directory with dummy files).
1211
1212 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
1213
1214 Sync with upstream verilog-mode revision 702457d.
1215 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1216 (create-lockfiles): Declare.
1217 (verilog-read-decls): Fix module header imports, bug709.
1218 Reported by Victor Lau.
1219 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
1220 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1221 interface-only modules, bug721. Reported by Dean Hoyt.
1222
1223 2014-03-26 Glenn Morris <rgm@gnu.org>
1224
1225 * obsolete/gulp.el: Move here from emacs-lisp/.
1226
1227 * files.el (lock-buffer, unlock-buffer, file-locked-p):
1228 Remove fallback aliases, since they are always defined now.
1229
1230 2014-03-24 Daniel Colascione <dancol@dancol.org>
1231
1232 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1233 instead of cl-loop search function.
1234
1235 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1236
1237 * calendar/parse-time.el (parse-time-iso8601-regexp)
1238 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
1239 it more generally.
1240
1241 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
1242
1243 * net/dns.el (network-interface-list): Define for XEmacs.
1244
1245 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
1246
1247 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
1248 the network interfaces changed.
1249 (dns-query): Use it to flush the data.
1250
1251 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1252
1253 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
1254
1255 2014-03-23 Daniel Colascione <dancol@dancol.org>
1256
1257 Change subword-mode to use `find-word-boundary-function-table' and
1258 replace `capitalized-words-mode'. Also, convert to lexical
1259 binding.
1260
1261 * progmodes/cap-words.el: Delete now-obsolete file.
1262 * progmodes/subword.el: Reimplement using
1263 `find-word-boundary-function-table'.
1264 (subword-mode-map): Hollow out.
1265 (capitalized-words-mode): Define as obsolete alias for
1266 `subword-mode'.
1267 (subword-mode, superword-mode): Tweak documentation to reflect new
1268 implementation; call `subword-setup-buffer'.
1269 (subword-forward, subword-capitalize): Add underscore to indicate
1270 unused variable.
1271 (subword-find-word-boundary-function-table): New constant.
1272 (subword-empty-char-table): New constant.
1273 (subword-setup-buffer): New function.
1274 (subword-find-word-boundary): New function.
1275
1276 2014-03-23 Daniel Colascione <dancol@dancol.org>
1277
1278 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1279 list to look for keyword arguments instead of `memq', fixing
1280 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1281 Please make bootstrap.
1282
1283 2014-03-22 Glenn Morris <rgm@gnu.org>
1284
1285 * dired.el (dired-read-regexp): Make obsolete.
1286 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
1287 (dired-flag-files-regexp):
1288 * dired-aux.el (dired-mark-read-regexp):
1289 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
1290
1291 * startup.el (fancy-startup-text):
1292 * help.el (describe-gnu-project): Visit online info about GNU project.
1293
1294 * help-fns.el (help-fns--interactive-only): New function.
1295 (help-fns-describe-function-functions): Add the above function.
1296 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
1297 (next-line, previous-line): Remove hand-written interactive-only
1298 information from doc strings, it is auto-generated now.
1299 * bookmark.el (bookmark-write):
1300 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
1301 (epa-mail-import-keys): Mark interactive-only,
1302 and remove hand-written interactive-only information from doc strings.
1303 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
1304 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
1305 * files.el (not-modified):
1306 * simple.el (mark-whole-buffer): Mark interactive-only.
1307
1308 * emacs-lisp/byte-run.el (defun-declarations-alist):
1309 Add interactive-only. Doc tweak.
1310 (macro-declarations-alist): Doc tweak.
1311 * subr.el (declare): Doc tweak (add xref to manual).
1312 * comint.el (comint-run):
1313 * files.el (insert-file-literally, insert-file):
1314 * replace.el (replace-string, replace-regexp):
1315 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1316 (delete-forward-char, goto-line, insert-buffer, next-line)
1317 (previous-line): Set interactive-only via declare.
1318
1319 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1320
1321 * emacs-lisp/package.el (package-desc): Use the contents of the
1322 quoted form, not its cdr. (Bug#16873)
1323
1324 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1325
1326 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1327 benefit of doc.c; change parameter profile to match the X function.
1328
1329 2014-03-22 Leo Liu <sdl.web@gmail.com>
1330
1331 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
1332 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
1333
1334 2014-03-21 Richard Stallman <rms@gnu.org>
1335
1336 * battery.el (battery-linux-sysfs): Search for each field
1337 from the beginning of the buffer.
1338
1339 * subr.el (set-transient-map): Clear out function and value
1340 of the temporary symbol when we're done with it.
1341
1342 * mail/rmailsum.el (rmail-summary-delete-forward):
1343 Optimize case of reaching end and handling count.
1344 (rmail-summary-mark-deleted): Optimize when N is current msg.
1345 Don't create new summary line.
1346 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
1347 (rmail-summary-undelete-many): Rewrite for speed.
1348 (rmail-summary-msg-number): New function.
1349
1350 * mail/rmail.el (rmail-delete-message): Update summary.
1351 (rmail-undelete-previous-message): Handle repeat count arg.
1352 (rmail-delete-backward, rmail-delete-forward): Likewise.
1353
1354 2014-03-21 Daniel Colascione <dancol@dancol.org>
1355
1356 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1357 information in bug reports.
1358
1359 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1360
1361 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1362 and `tramp-copy-env'.
1363
1364 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1365 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1366
1367 2014-03-21 Glenn Morris <rgm@gnu.org>
1368
1369 * electric.el (electric-indent-post-self-insert-function): Add doc.
1370
1371 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1372
1373 * emacs-lisp/package.el (package-compute-transaction):
1374 Use `version-list-<=' to compare the requirement version against
1375 the version of package already to be installed. Update the error
1376 message. (Bug#16826)
1377
1378 * progmodes/ruby-mode.el (ruby-smie-rules):
1379 Add indentation rule for ` @ '. (Bug#17050)
1380
1381 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1382
1383 * align.el (align-regexp): Remove superfluous backslash.
1384
1385 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1386 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1387 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1388 Fix docstring typos.
1389 (ffap-next): Use C-u in docstring.
1390 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1391 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1392 Remove superfluous backslashes.
1393 (ffap-string-at-point): Reflow docstring.
1394
1395 * server.el (server-host): Reflow docstring.
1396 (server-unload-function): Fix docstring typo.
1397 (server-eval-at): Remove superfluous backslash.
1398
1399 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1400 (skeleton-insert): Doc fix.
1401 (skeleton-insert): Reflow docstring.
1402
1403 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1404 (tty-color-approximate, tty-color-by-index, tty-color-values)
1405 (tty-color-desc): Remove superfluous backslashes.
1406
1407 2014-03-21 Glenn Morris <rgm@gnu.org>
1408
1409 * cus-start.el (history-length): Bump :version.
1410
1411 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1412 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1413 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1414 Don't set `make-backup-files'.
1415
1416 * info.el (info--prettify-description): New function,
1417 to give info-finder descriptions consistent case, punctuation.
1418 (Info-finder-find-node): Use it. Sort packages.
1419 Refer to "description" rather than "commentary".
1420
1421 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1422
1423 * frameset.el (frameset--print-register): New function.
1424 (frameset-to-register): Use it.
1425
1426 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
1427
1428 * progmodes/hideif.el (hif-string-to-number): New function.
1429 (hif-tokenize): Use it to understand non-decimal floats.
1430
1431 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
1432
1433 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
1434
1435 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 * electric.el (electric-newline-and-maybe-indent): New command.
1438 Bind it globally to C-j.
1439 (electric-indent-mode): Don't mess with the global map any more.
1440 Don't drop the post-self-insert-hook is some buffer is still using it
1441 (bug#16770).
1442
1443 * bindings.el (global-map): Remove C-j binding.
1444
1445 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1446 the docstring of functions advised before dumping (bug#16993).
1447
1448 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1449
1450 * ps-print.el (ps-generate-postscript-with-faces):
1451 Explicitly deactivate the mark (bug#16866).
1452 * simple.el (deactivate-mark): Update region highlight.
1453
1454 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1455
1456 * emacs-lisp/package.el (describe-package-1):
1457 Decode commentary (bug#16733).
1458
1459 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1460
1461 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1462 modification of the value argument of :set (bug#16755).
1463
1464 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * simple.el (newline-and-indent): Do autofill (bug#17031).
1467
1468 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1469
1470 * newcomment.el (comment-normalize-vars): Only add escaping check
1471 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1472 (comment-beginning): Use `narrow-to-region' instead of moving back
1473 one character.
1474 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1475 (comment-start-skip): Update the docstring.
1476
1477 2014-03-18 Richard Stallman <rms@gnu.org>
1478
1479 * dired.el (dired-display-file): Force use of other window.
1480
1481 2014-03-18 Daniel Colascione <dancol@dancol.org>
1482
1483 * startup.el (tty-handle-args): Remove debug message from 2007.
1484
1485 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1488 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1489 (advice--make-1, advice-add, advice-remove):
1490 Remove braindead :advice-pending hack.
1491
1492 2014-03-17 Glenn Morris <rgm@gnu.org>
1493
1494 * calendar/calendar.el (calendar-generate-month): Apply weekend
1495 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1496
1497 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1498
1499 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1500 (tramp-call-process): Trace also DESTINATION.
1501
1502 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1503 Quote file names when they are local. Remove superfluous trace.
1504
1505 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1506
1507 * newcomment.el (comment-beginning): If `comment-start-skip'
1508 doesn't match, move back one char and try again. (Bug#16971)
1509
1510 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1511 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1512 Set `comment-start-skip' to a simpler value that doesn't try to
1513 check if the semicolon is escaped (this is handled by
1514 `syntax-ppss' now). (Bug#16971)
1515
1516 * progmodes/scheme.el (scheme-mode-variables): Same.
1517
1518 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1519
1520 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1521 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1522 current (Bug#16816, Bug#17007).
1523 (with-current-buffer-window): New macro doing the same as
1524 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1525 * help.el (help-print-return-message): Warn in doc-string to not
1526 use this in `with-help-window'.
1527 (describe-bindings-internal): Call `describe-buffer-bindings'
1528 from within help buffer. See Juanma's scenario in (Bug#16816).
1529 (with-help-window): Update doc-string.
1530 * dired.el (dired-mark-pop-up):
1531 * files.el (save-buffers-kill-emacs):
1532 * register.el (register-preview): Use `with-current-buffer-window'
1533 instead of `with-temp-buffer-window'.
1534
1535 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1538 Implement inserting into current buffer, documented in their docstrings.
1539 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1540 (rst-section-tree-point, rst-forward-section, rst-indent)
1541 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1542 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1543 (rst-font-lock-handle-adornment-pre-match-form)
1544 (rst-repeat-last-character): Reflow docstrings.
1545 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1546 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1547 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1548 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1549 Fix docstring typos.
1550 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1551 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1552 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1553
1554 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1555
1556 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1557 for compatibility with other ports.
1558 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1559 from the -xrm command line argument, but in the Nextstep port its value
1560 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1561
1562 * progmodes/python.el (defconst, python-syntax-count-quotes)
1563 (python-indent-region, python-indent-shift-right)
1564 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1565 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1566 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1567 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1568 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1569 (python-shell-buffer-substring, python-shell-send-buffer)
1570 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1571 (python-completion-complete-at-point, python-fill-docstring-style)
1572 (python-eldoc-function, python-imenu-format-item-label)
1573 (python-imenu-format-parent-item-label)
1574 (python-imenu-format-parent-item-jump-label)
1575 (python-imenu--build-tree, python-imenu-create-index)
1576 (python-imenu-create-flat-index): Fix docstring typos.
1577 (python-indent-context, python-shell-prompt-regexp, run-python):
1578 Remove superfluous backslashes.
1579 (python-indent-line, python-nav-beginning-of-defun)
1580 (python-shell-get-buffer, python-shell-get-process)
1581 (python-info-current-defun, python-info-current-line-comment-p)
1582 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1583 (python-indent-post-self-insert-function, python-shell-send-file)
1584 (python-shell-completion-get-completions)
1585 (python-shell-completion-complete-or-indent)
1586 (python-eldoc--get-doc-at-point): Reflow docstrings.
1587
1588 2014-03-14 Glenn Morris <rgm@gnu.org>
1589
1590 * emacs-lisp/package.el (package-menu-mode-map):
1591 Replace use of obsolete function alias. Tweak menu item text.
1592
1593 * info.el (Info-finder-find-node):
1594 Ignore the `emacs' metapackage. (Bug#10813)
1595
1596 * finder.el (finder-list-matches): Include unversioned packages
1597 in the result of a keyword search.
1598
1599 * finder.el (finder--builtins-descriptions): New constant.
1600 (finder-compile-keywords): Use finder--builtins-descriptions.
1601
1602 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1603
1604 * simple.el (blink-matching-paren): Describe the new value,
1605 `jump', enabling the old behavior.
1606 (blink-matching-open): Use that value. (Bug#17008)
1607
1608 2014-03-14 Glenn Morris <rgm@gnu.org>
1609
1610 * finder.el (finder-no-scan-regexp): Add leim-list.
1611 (finder-compile-keywords):
1612 Don't skip files with same basename. (Bug#14010)
1613 * Makefile.in (setwins_finder): New, excluding leim.
1614 (finder-data): Use setwins_finder.
1615
1616 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1617 (help-function-arglist, help-make-usage): Move from here...
1618 * help.el (help-split-fundoc, help-add-fundoc-usage)
1619 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1620 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1621
1622 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1623
1624 * net/socks.el (socks, socks-override-functions)
1625 (socks-find-services-entry):
1626 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1627 (hif-find-ifdef-block):
1628 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1629
1630 * net/tls.el (tls-program): Reflow docstring.
1631
1632 * progmodes/pascal.el (pascal-mode-abbrev-table)
1633 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1634 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1635 (pascal-outline-mode): Fix docstring typos.
1636 (pascal-mode): Let define-derived-mode document mode hook.
1637 (pascal-uncomment-area): Reflow.
1638 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1639
1640 * progmodes/opascal.el (opascal-compound-block-indent)
1641 (opascal-case-label-indent): Fix docstring typos.
1642 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1643
1644 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1645
1646 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1647 Fontify multiple adjacent negation chars. (Bug#17004)
1648
1649 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1650
1651 * emacs-lisp/package.el (package--prepare-dependencies):
1652 Accept requirements without explicit version (bug#14941).
1653
1654 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1655
1656 * register.el (register-separator, copy-to-register): Doc fixes.
1657 (register-preview-default): Remove unnecessary call to concat.
1658
1659 * frameset.el (frameset-restore): When checking for a visible frame,
1660 use the action map instead of calling visible-frame-list.
1661
1662 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1663
1664 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1665
1666 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1667
1668 * window.el (fit-frame-to-buffer): Get maximum width from
1669 display's width instead of height.
1670
1671 2014-03-12 Glenn Morris <rgm@gnu.org>
1672
1673 * desktop.el (desktop-restore-frames)
1674 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1675 (desktop-restore-reuses-frames): Doc tweaks.
1676
1677 * electric.el (electric-indent-mode): Doc fix.
1678
1679 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1680
1681 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1682 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1683 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1684 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1685 (cvs-dired-use-hook): Fix docstring typos.
1686 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1687 Doc fixes.
1688
1689 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1690 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1691 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1692 (cvs-execute-single-dir): Fix docstring typos.
1693
1694 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1695 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1696
1697 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1698
1699 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1700 Fix docstring typos.
1701
1702 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1703
1704 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1705 called from jump-to-register after unloading the frameset package.
1706
1707 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1708
1709 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1710 (bug#16975). Deactivate the mark before setting it to nil.
1711 (activate-mark): Do nothing if region is already active.
1712
1713 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1714
1715 * frameset.el (frameset--target-display): Remove definition; declare.
1716 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1717
1718 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1721 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1722 when the advice is pending.
1723 (advice-remove): Remove this marker when not needed any more.
1724
1725 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1726
1727 * frameset.el: Separate options for reusing frames and cleaning up.
1728 (frameset--reuse-list): Remove definition; declare.
1729 (frameset--action-map): Declare.
1730 (frameset--find-frame-if): Doc fix.
1731 (frameset--restore-frame): Cache frame action.
1732 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1733 how to clean up the frame list after restoring. Remove cleaning
1734 options from REUSE-FRAMES. Change all keyword values to symbols.
1735 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1736
1737 * desktop.el (desktop-restore-forces-onscreen)
1738 (desktop-restore-reuses-frames): Use non-keyword values.
1739 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1740
1741 2014-03-10 Glenn Morris <rgm@gnu.org>
1742
1743 * files.el (find-file): Doc fix: update info node name.
1744
1745 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1746 Doc fix: remove references to deleted info nodes.
1747
1748 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1749
1750 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1751 Do not add `nil' to the environment, when there's no remote `locale'.
1752 (tramp-find-inline-encoding): Check, that the remote host has
1753 installed perl, before sending scripts.
1754
1755 2014-03-10 Leo Liu <sdl.web@gmail.com>
1756
1757 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1758 Clear eldoc-last-message. (Bug#16920)
1759
1760 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1763 (bug#14430).
1764
1765 2014-03-09 Juri Linkov <juri@jurta.org>
1766
1767 * ansi-color.el (ansi-color-names-vector): Copy default colors
1768 from `xterm-standard-colors' that look well on the default white
1769 background (and also on the black background) to avoid illegible
1770 color combinations like yellow-on-white and white-on-white.
1771 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1772
1773 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1774
1775 * frameset.el (frameset-restore): When no frame is visible, do not
1776 generate a list of frames, just make visible the selected one.
1777
1778 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1779
1780 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1781 it only contains the repository root. (Bug#16897)
1782
1783 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1784
1785 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1786 only when `remote-file-name-inhibit-cache' is nil.
1787 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1788
1789 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1790
1791 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1792 Fix doc-strings.
1793 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1794 fit-frame-to-buffer variable. Fix doc-string.
1795 (fit-window-to-buffer): Set ONLY argument in call of
1796 fit-frame-to-buffer. Fix doc-string.
1797
1798 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1799
1800 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1801 (tramp-action-password): Clear password cache if needed.
1802 (tramp-read-passwd): Do not clear password cache.
1803
1804 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1805 cache unless it is the first password request.
1806
1807 2014-03-06 Glenn Morris <rgm@gnu.org>
1808
1809 * simple.el (newline): Doc tweak.
1810
1811 * emacs-lisp/shadow.el (load-path-shadows-find):
1812 Ignore dir-locals. (Bug#12357)
1813
1814 2014-03-05 Glenn Morris <rgm@gnu.org>
1815
1816 * files.el (interpreter-mode-alist):
1817 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1818
1819 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1820
1821 * frameset.el (frameset--initial-params): Filter out null entries.
1822
1823 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1824
1825 * window.el (window-min-height, window-min-width):
1826 Rewrite doc-strings.
1827 (window-body-size): Add PIXELWISE argument to make it consistent
1828 with its callees.
1829
1830 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1831
1832 * finder.el (finder-mode-map, finder-mode-syntax-table):
1833 Revert part of 2014-02-28 change.
1834
1835 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1836
1837 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1838 (eww-setup-buffer): Clear next/prev/etc more reliably.
1839 (eww-textarea-map): [tab] doesn't work on tty.
1840 Reported by Mario Lang.
1841
1842 * net/shr.el (shr-map): Ditto.
1843
1844 2014-03-04 Glenn Morris <rgm@gnu.org>
1845
1846 * minibuffer.el (completion-hilit-commonality):
1847 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1848
1849 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1850
1851 * hilit-chg.el (hilit-chg-unload-function): New function.
1852 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1853 (hilit-chg-map-changes): Prefer cardinal number to digit.
1854 (hilit-chg-display-changes): Reflow docstring.
1855 (highlight-changes-rotate-faces): Remove superfluous backslash.
1856
1857 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1858
1859 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1860 `tramp-send-command-and-check'.
1861
1862 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1863
1864 * hexl.el (hexl-address-region, hexl-ascii-region)
1865 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1866 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1867 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1868 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1869 (hexl-mode): Doc fix.
1870 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1871 (hexl-mode-ruler): Fix typos in docstrings.
1872
1873 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1874 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1875 Remove superfluous backslashes.
1876 (strokes-last-stroke, strokes-global-map, strokes-mode):
1877 Reflow docstrings.
1878 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1879 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1880 (strokes-distance-squared, strokes-global-set-stroke)
1881 (strokes-global-set-stroke-string): Doc fixes.
1882 (strokes-help): Fix typos; reflow docstring.
1883
1884 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1885
1886 * window.el (window-in-direction): Fix doc-string.
1887
1888 2014-03-04 Glenn Morris <rgm@gnu.org>
1889
1890 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1891 Explicit error if no grammar.
1892 (smie-config-save): Doc fix. Fix quote typo.
1893
1894 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1897 electric-indent-mode-hook if we obey electric-indent-mode.
1898 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1899 decide whether we obey electric-indent-mode.
1900 (c-change-set-fl-decl-start, c-extend-after-change-region):
1901 Silence warnings.
1902 (c-electric-indent-mode-hook): Assume we do want to obey
1903 electric-indent-mode.
1904
1905 * electric.el (electric-indent-mode-has-been-called): Remove.
1906 (electric-indent-mode): Fix accordingly.
1907
1908 * files.el (hack-local-variables): Mention file name in warning.
1909
1910 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1911
1912 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1913
1914 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1915 * simple.el (delete-forward-char): Mark as interactive-only.
1916
1917 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1918
1919 * icomplete.el (icomplete-completions):
1920 Follow-up to 2014-03-01 change.
1921
1922 * icomplete.el: Miscellaneous doc fixes.
1923 Use Icomplete everywhere instead of icomplete for consistency.
1924 (icomplete-max-delay-chars): Fix typo.
1925 (icomplete-mode): Use \[].
1926 (icomplete-tidy, icomplete-exhibit): Reflow.
1927 (icomplete-minibuffer-setup-hook, icomplete-completions):
1928 Remove superfluous backlashes.
1929
1930 * ido.el: Miscellaneous doc fixes.
1931 Use Ido everywhere instead of ido or `ido' for consistency.
1932 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1933 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1934 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1935 (ido-separator): Extract obsolescence info from docstring and declare
1936 with make-obsolete-variable.
1937 (ido-minibuffer-setup-hook): Simplify example.
1938 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1939 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1940 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1941 (ido-everywhere): Reflow docstring.
1942 (ido-toggle-vc): Doc fix.
1943 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1944 of long list of keybindings.
1945
1946 2014-03-03 Glenn Morris <rgm@gnu.org>
1947
1948 * frame.el (display-pixel-height, display-pixel-width)
1949 (display-mm-dimensions-alist, display-mm-height)
1950 (display-mm-width): Doc tweaks.
1951
1952 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1953
1954 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1955 case of undo in region.
1956
1957 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1958
1959 * window.el (fit-window-to-buffer): Fix argument in window-size
1960 call when window is horizontally combined.
1961
1962 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1963
1964 * icomplete.el (icomplete-completions): Use string-width.
1965 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1966
1967 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1968
1969 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1970 Highlight regexp options. (Bug#16914)
1971
1972 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1973
1974 * window.el (window--max-delta-1): Round down when calculating
1975 how many lines/columns we can get from a window.
1976
1977 2014-03-01 Glenn Morris <rgm@gnu.org>
1978
1979 * isearch.el (search-invisible): Doc fix.
1980
1981 * minibuffer.el (completion-hilit-commonality):
1982 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1983 * comint.el (comint-dynamic-list-completions): Doc fix.
1984 * comint.el (comint-dynamic-list-completions):
1985 * filecache.el (file-cache-minibuffer-complete):
1986 * tempo.el (tempo-display-completions):
1987 * eshell/em-hist.el (eshell-list-history):
1988 Replace use of obsolete argument of display-completion-list.
1989
1990 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1991
1992 * icomplete.el (icomplete-completions):
1993 Revert back to using "..." when ?… cannot be displayed.
1994
1995 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1996
1997 * finder.el (finder-unload-function): New function.
1998
1999 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2000
2001 * dframe.el (dframe-detach):
2002 * find-dired.el (find-dired, find-name-dired):
2003 * finder.el (finder-mode-map, finder-mode-syntax-table)
2004 (finder-headmark, finder-select, finder-mouse-select):
2005 Fix docstring typos.
2006
2007 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2008
2009 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2010 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2011 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2012 Fix doc-string based on a suggestion by Nicolas Richard
2013 <theonewiththeevillook@yahoo.fr>.
2014 * help.el (with-help-window): Fix doc-string.
2015
2016 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2017
2018 * net/shr.el (shr-image-animate): New option.
2019 (shr-put-image): Respect shr-image-animate.
2020
2021 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2022
2023 * net/tramp-adb.el (tramp-adb-parse-device-names):
2024 Use `accept-process-output'.
2025 (tramp-adb-handle-file-truename): Cache the localname only.
2026 (tramp-adb-handle-make-directory)
2027 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2028 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2029 modes cannot be changed.
2030
2031 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2032 file properties of symlinks.
2033
2034 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2035
2036 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2037 required/optional fields to match development biblatex. (Bug#16781)
2038
2039 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2040
2041 * saveplace.el (toggle-save-place):
2042 Fix argument handling. (Bug#16673)
2043
2044 2014-02-28 Glenn Morris <rgm@gnu.org>
2045
2046 * minibuffer.el (completions-first-difference)
2047 (completions-common-part, completion-hilit-commonality): Doc fixes.
2048
2049 2014-02-28 Karl Berry <karl@gnu.org>
2050
2051 * info.el (Info-mode-map): Add H for describe-mode,
2052 to synchronize with standalone Info.
2053
2054 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2055
2056 * progmodes/sql.el (sql-interactive-mode):
2057 Avoid setting global comint-input-ring-separator. (Bug#16814)
2058
2059 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2060
2061 * net/dbus.el (dbus--init-bus): Declare function.
2062 (dbus-path-local, dbus-interface-local): New defconst.
2063 (dbus-init-bus): Use them.
2064 (dbus-return-values-table): Extend doc.
2065 (dbus-handle-bus-disconnect): Extend error message.
2066
2067 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2068
2069 * subr.el (y-or-n-p): Fix double space issue in message.
2070
2071 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2072
2073 * net/tramp.el (tramp-call-process): Improve trace message.
2074 (tramp-handle-insert-file-contents): Trace error case.
2075
2076 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2077 <insert-directory>: Use `tramp-handle-insert-directory'.
2078 (tramp-adb-handle-insert-directory): Remove function.
2079 (tramp-adb-send-command-and-check): New defun, replacing
2080 `tramp-adb-command-exit-status'. Change all callees.
2081 (tramp-adb-handle-file-attributes)
2082 (tramp-adb-handle-directory-files-and-attributes): Use it.
2083 (tramp-adb-ls-output-name-less-p):
2084 Use `directory-listing-before-filename-regexp'.
2085 (tramp-adb-handle-delete-directory): Flush also file properties of
2086 the truename of directory.
2087 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2088 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2089 (tramp-adb-handle-write-region): Implement APPEND.
2090 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2091 properties correctly.
2092 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2093 variables. Check for connected devices only when needed.
2094
2095 2014-02-27 Glenn Morris <rgm@gnu.org>
2096
2097 * minibuffer.el (completion-table-dynamic)
2098 (completion-table-with-cache): Doc fixes.
2099
2100 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2101 (completing-read-multiple): Doc fixes.
2102
2103 2014-02-27 Daniel Colascione <dancol@dancol.org>
2104
2105 * minibuffer.el (completion--nth-completion): Fix indentation.
2106
2107 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2108 explicit tramp path is empty.
2109
2110 2014-02-27 Glenn Morris <rgm@gnu.org>
2111
2112 * emacs-lisp/crm.el (completing-read-multiple):
2113 Empower help-enable-auto-load.
2114
2115 2014-02-26 Glenn Morris <rgm@gnu.org>
2116
2117 * startup.el (command-line): Don't init the tty in daemon mode.
2118
2119 Avoid calling tty-setup-hook twice, eg if a term file
2120 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2121 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2122 (tty-create-frame-with-faces): Use it.
2123 * startup.el (command-line): Pass run-hook argument
2124 to tty-run-terminal-initialization.
2125
2126 * dired.el (dired-restore-desktop-buffer): Demote errors;
2127 eg in case a glob match fails. (Bug#16884)
2128
2129 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2130
2131 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2132 error from `read-from-string'. (Bug#16850)
2133
2134 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2135 result of `completing-read' in the interactive form. (Bug#16854)
2136
2137 2014-02-25 Glenn Morris <rgm@gnu.org>
2138
2139 * image.el (image-animate, image-animate-timeout):
2140 Stop animating images in dead buffers. (Bug#16878)
2141
2142 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2143
2144 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2145 Doc fixes.
2146 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2147 * term/sun.el (sun-raw-prefix-hooks):
2148 Use tty-setup-hook instead of term-setup-hook.
2149 (terminal-init-sun): Construct message from bytecomp plist.
2150 * term/wyse50.el (enable-arrow-keys): Doc fix.
2151
2152 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2153
2154 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2155 Fix docstring typos.
2156
2157 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2158
2159 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2160
2161 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2162
2163 * minibuffer.el (completion--try-word-completion):
2164 Fix error when completing M-x commands (bug#16808).
2165
2166 2014-02-24 Leo Liu <sdl.web@gmail.com>
2167
2168 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2169
2170 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2171
2172 * apropos.el (apropos-print): Avoid formatting error when
2173 apropos-do-all and apropos-compact-layout are both t.
2174
2175 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2176
2177 * apropos.el (apropos-property, apropos-all-words-regexp)
2178 (apropos-true-hit, apropos-variable, apropos-print):
2179 Fix docstring typos, and remove obsolete comment.
2180
2181 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2182
2183 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2184 Preserve trailing "/". (Bug#16851)
2185
2186 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2187
2188 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2189 after `=>' (bug#16811).
2190 (ruby-smie-rules): Handle the inconsistent second element of the
2191 list returned by `smie-indent--parent'.
2192 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2193 method call.
2194
2195 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2196
2197 * elec-pair.el (electric-pair-text-syntax-table)
2198 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2199 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2200 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2201 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2202
2203 2014-02-22 Glenn Morris <rgm@gnu.org>
2204
2205 * imenu.el (imenu--generic-function): Doc fix.
2206
2207 * register.el (frame-configuration-to-register): Make obsolete.
2208
2209 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2210
2211 * desktop.el (desktop-save-buffer-p): Do not fail when
2212 desktop-files-not-to-save is nil. Return t for true result
2213 as the doc says.
2214
2215 2014-02-22 Daniel Colascione <dancol@dancol.org>
2216
2217 * net/secrets.el (secrets-create-item, secrets-search-items):
2218 Check that attribute values are strings, avoiding the construction
2219 of invalid dbus messages.
2220
2221 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2222
2223 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2224 defun-declarations-alist.
2225
2226 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2229 (bug#16829).
2230
2231 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2232
2233 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2234 (whitespace-newline, whitespace-trailing, whitespace-line)
2235 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2236 (whitespace-space-after-tab): Fix typo in docstrings.
2237
2238 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2239
2240 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2241
2242 * electric.el (electric-indent-functions-without-reindent):
2243 Add `yaml-indent-line'.
2244
2245 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2246
2247 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2248 It has done nothing for years; should be removed after the release.
2249
2250 * simple.el (choose-completion): Fix docstring typo.
2251 (read-quoted-char-radix): Remove unneeded * in docstring.
2252 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2253 Don't escape parentheses unnecessarily in docstrings.
2254
2255 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2256
2257 Fix handling of window-min-height/-width (Bug#16738).
2258 * window.el (window--dump-window, window--dump-frame):
2259 New functions.
2260 (window--min-size-1): Account for window dividers.
2261 When window-resize-pixelwise is nil, delay rounding till after the
2262 sum of the window components has been calculated.
2263 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2264 nil make sure at least one text line and two text columns remain
2265 fully visible.
2266 (window-resize): Signal an error when window-resize-apply fails.
2267 (window--resize-child-windows): Fix calculation of by how many
2268 pixels a window can still be shrunk via window-new-normal.
2269 (adjust-window-trailing-edge): Call window--resizable with
2270 correct TRAIL argument.
2271
2272 (with-temp-buffer-window): Don't evaluate BODY within
2273 with-current-buffer (Bug#16816).
2274
2275 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2276
2277 * net/tramp.el (tramp-check-cached-permissions):
2278 Call `file-attributes' with `suffix' being a symbol but a string.
2279
2280 2014-02-21 Daniel Colascione <dancol@dancol.org>
2281
2282 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2283 (dbus-init-bus): New function: call into dbus-init-bus-1
2284 and installs a handler for the disconnect signal.
2285 (dbus-call-method): Rewrite to look for result in cons.
2286 (dbus-call-method-handler): Store result in cons.
2287 (dbus-check-event): Recognize events with nil sender as valid.
2288 (dbus-handle-bus-disconnect): New function. React to bus
2289 disconnection signal by synthesizing dbus error for each
2290 pending synchronous or asynchronous call.
2291 (dbus-notice-synchronous-call-errors): New function.
2292 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2293 is true, not all the time.
2294
2295 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2296
2297 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2298 Remove obsolescence declarations, these variables do not exist anymore.
2299
2300 * savehist.el (savehist-save-minibuffer-history)
2301 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2302 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2303 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2304 mostly, refer to "Savehist mode" when talking about the mode,
2305 and not the function.
2306
2307 * saveplace.el (save-place): Remove redundant info in docstring.
2308 (save-place-forget-unreadable-files, toggle-save-place)
2309 (save-place-forget-unreadable-files, save-place-dired-hook):
2310 Fix typos and remove unneeded backslashes.
2311
2312 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2313
2314 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2315 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2316
2317 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2318 <insert-directory>: Use `tramp-handle-insert-directory'.
2319 (tramp-gvfs-handle-insert-directory): Remove function.
2320
2321 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2322 Call `tramp-handle-insert-directory'.
2323
2324 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2325
2326 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2327 before the start of buffer/region (bug#16799).
2328
2329 2014-02-20 Glenn Morris <rgm@gnu.org>
2330
2331 * isearch.el (search-invisible): Doc fix.
2332
2333 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2334
2335 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2336 (bug#16657).
2337
2338 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2339
2340 * frameset.el (frameset-restore): Delay removing an old frame's
2341 duplicate id until the new frame has been correctly created.
2342
2343 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2344
2345 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2346 (tramp-check-cached-permissions): Call `file-attributes' if the
2347 cache is empty.
2348
2349 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2350 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2351
2352 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2353 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2354 (tramp-gvfs-maybe-open-connection): Set always connection
2355 properties, even if target is mounted already.
2356
2357 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2358 Set tramp-autoload cookie.
2359 (tramp-get-remote-touch): New defun.
2360 (tramp-sh-handle-set-file-times): Use it.
2361 (tramp-sh-handle-directory-files-and-attributes):
2362 Use `tramp-handle-directory-files-and-attributes' if neither stat
2363 nor perl are available on the remote host.
2364
2365 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2366 "/". Write long listing only when "l" belongs to the switches.
2367
2368 * net/trampver.el: Update release number.
2369
2370 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2371
2372 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2373
2374 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2375
2376 * window.el (window-state-put): Allow WINDOW to refer to an
2377 internal window (Bug#16793).
2378
2379 2014-02-19 Glenn Morris <rgm@gnu.org>
2380
2381 * textmodes/remember.el: Move provide statement to end.
2382 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2383 (remember-notes): Doc fixes.
2384
2385 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2386
2387 * delsel.el (delete-char): Restore incorrectly erased property
2388 (bug#16795).
2389
2390 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2391
2392 * frameset.el (frameset--restore-frame): When a frame is being reused
2393 and its root window is not alive, delete all the frame's windows before
2394 restoring the window state. This works around the issue in bug#16793.
2395
2396 2014-02-18 Glenn Morris <rgm@gnu.org>
2397
2398 * textmodes/remember.el (remember-data-directory)
2399 (remember-directory-file-name-format, remember-store-in-files)
2400 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2401 (remember-notes-save-and-bury-buffer)
2402 (remember-notes--kill-buffer-query): Doc fixes.
2403
2404 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2405
2406 2014-02-17 Alan Mackenzie <acm@muc.de>
2407
2408 Connect electric-indent-mode up with CC Mode. Bug #15478.
2409 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2410 to electric-indent-{,local-}-mode.
2411 (c-basic-common-init): Set electric-indent-inhibit.
2412 Initialise c-electric-flag from electric-indent-mode.
2413 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2414 New hook functions which propagate electric-indent-mode to CC mode.
2415
2416 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2417 hit, toggle electric-indent-local-mode.
2418
2419 * electric.el (electric-indent-mode-has-been-called):
2420 New variable.
2421
2422 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2423
2424 * frameset.el (frameset-cfg-id): New function.
2425 (frameset--reuse-frame, frameset-restore): Use it.
2426 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2427
2428 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * ido.el (ido-file-internal): Remove unused var `d'.
2431 Use \` for to match BoS. Fit within 80n columns.
2432
2433 2014-02-17 Daniel Colascione <dancol@dancol.org>
2434
2435 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2436 dbus-call-method check for completion using a busy-wait loop with
2437 gradual backoff.
2438
2439 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2440
2441 Sync with Tramp 2.2.9.
2442
2443 * net/trampver.el: Update release number.
2444
2445 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2446
2447 * ido.el (ido-file-internal): Don't add the name of an existing
2448 directory twice. (Bug#16747)
2449
2450 2014-02-16 Glenn Morris <rgm@gnu.org>
2451
2452 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2453 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2454
2455 2014-02-15 Michael R. Mauger <michael@mauger.com>
2456
2457 * progmodes/sql.el: Version 3.4
2458 (sql-oracle-options): New default value ("-L").
2459 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2460 (sql-placeholders-filter): Correct placeholder pattern.
2461 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2462 (sql-login-delay): New variable.
2463 (sql-product-interactive): Use it.
2464
2465 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2466
2467 * frameset.el (frameset--jump-to-register): Check that buffer is live
2468 (bug#16749).
2469
2470 2014-02-15 Glenn Morris <rgm@gnu.org>
2471
2472 * info.el (info-initialize): Revert 2014-01-10 change.
2473
2474 2014-02-14 Glenn Morris <rgm@gnu.org>
2475
2476 * replace.el (map-query-replace-regexp)
2477 (read-regexp-defaults-function, read-regexp): Doc fixes.
2478
2479 * dired.el (dired-read-regexp):
2480 * faces.el (list-faces-display):
2481 * misearch.el (multi-isearch-read-matching-buffers)
2482 (multi-isearch-read-matching-files):
2483 * play/cookie1.el (cookie-apropos):
2484 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2485
2486 * textmodes/remember.el (remember): Use frameset-to-register
2487 rather than frame-configuration-to-register.
2488
2489 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2490
2491 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2492 incorrect keybinding.
2493
2494 2014-02-13 Daniel Colascione <dancol@dancol.org>
2495
2496 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2497 when adding overlays so that line numbers from compiler match line
2498 numbers we use.
2499
2500 2014-02-13 Glenn Morris <rgm@gnu.org>
2501
2502 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2503
2504 * jit-lock.el (jit-lock-mode): Doc fix.
2505
2506 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2507
2508 * apropos.el (apropos-read-pattern): When the user passes an empty
2509 string, give a more helpful error message than "Wrong type
2510 argument: stringp, nil".
2511
2512 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2513
2514 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2515
2516 2014-02-13 Glenn Morris <rgm@gnu.org>
2517
2518 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2519
2520 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2521
2522 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2523 shift-select commands.
2524
2525 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2526
2527 * progmodes/js.el (js-indent-line): Don't widen.
2528 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2529
2530 2014-02-12 Glenn Morris <rgm@gnu.org>
2531
2532 * icomplete.el (icomplete): Add info-link to defgroup.
2533 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2534 (icomplete-minibuffer-map, icomplete-mode)
2535 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2536
2537 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2538 (package-menu-filter): Rename from package-menu-filter-interactive.
2539 Doc fix.
2540
2541 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2542
2543 * frameset.el (frameset--jump-to-register): Select the required
2544 window and buffer before restoring position (bug#16696).
2545
2546 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2547
2548 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2549
2550 2014-02-10 Glenn Morris <rgm@gnu.org>
2551
2552 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2553
2554 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2555
2556 * w32-common-fns.el (x-get-selection): Doc fix.
2557 * select.el (x-get-selection): Doc fix. (Bug#15109)
2558
2559 * face-remap.el (face-remap-add-relative)
2560 (face-remap-remove-relative, face-remap-reset-base)
2561 (face-remap-set-base): Call force-mode-line-update to redisplay
2562 the current buffer due to potential change in faces. (Bug#16709)
2563
2564 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2565
2566 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2567 script more robustly.
2568
2569 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2570
2571 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2572
2573 * simple.el (choose-completion): Doc fix (bug#14160).
2574
2575 * subr.el (event-start): Say what a nil EVENT value means.
2576
2577 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2578 (bug#14197).
2579
2580 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2581
2582 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2583
2584 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2585
2586 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2587 predicate function (bug#15455).
2588
2589 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2590
2591 * ielm.el (inferior-emacs-lisp-mode): Instead of
2592 `comment-use-global-state', set `comment-use-syntax'.
2593
2594 2014-02-10 Glenn Morris <rgm@gnu.org>
2595
2596 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2597
2598 2014-02-09 Alan Mackenzie <acm@muc.de>
2599
2600 Fix c-invalidate-state-cache on narrowed buffers.
2601 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2602 Widen when setting and clearing the CPP delimiter properties.
2603
2604 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2605
2606 * help.el (describe-bindings): Doc fix (bug#9888).
2607
2608 * files.el (save-buffer): Use ARG as the parameter name for
2609 consistency (bug#10346).
2610 (save-buffer): Clarify the 0 argument (bug#10346).
2611
2612 * cus-edit.el (customize-apropos): Fix error string.
2613 (custom-buffer-create): Doc fix (bug#11122).
2614 (custom-sort-items): Doc fix (bug#11121).
2615
2616 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2617
2618 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2619 (icomplete-simple-completing-p): Mention the previous variable.
2620
2621 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2622 meaning of the parameter (bug#12282).
2623
2624 * files.el (find-file-noselect): Clarify prompt when changing
2625 readedness (bug#13261).
2626 (locate-file): Suffixes aren't returned, so don't say that they
2627 are (bug#12674).
2628 (backup-inhibited): Doc clarification (bug#12525).
2629
2630 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2631 before we actually start to delete things (bug#16331).
2632
2633 * subr.el (event-start): Doc fix (bug#14228).
2634 (event-end): Ditto.
2635
2636 2014-02-09 Glenn Morris <rgm@gnu.org>
2637
2638 * emacs-lisp/warnings.el (lwarn):
2639 Empower help-enable-auto-load. (Bug#15940)
2640
2641 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2642
2643 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2644 (Bug#16690)
2645
2646 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2647
2648 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2649 Insert output at end of buffer. (Bug#16120)
2650
2651 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2652
2653 * simple.el (choose-completion-string-functions): Document new
2654 calling convention (bug#14153).
2655 (execute-extended-command): Clarify doc string (bug#13373).
2656
2657 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2658
2659 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2660 (find-grep-dired): Doc fix (bug#14288).
2661
2662 2014-02-08 Juri Linkov <juri@jurta.org>
2663
2664 * isearch.el (isearch-quote-char): Check character validity
2665 like in `quoted-insert' (bug#16677).
2666
2667 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2668
2669 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2670
2671 * isearch.el (isearch-hide-immediately): Doc clarification
2672 (bug#14723).
2673
2674 * simple.el (line-move): Document utility function used many
2675 places in the Emacs sources (bug#14843).
2676
2677 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2678 (dired-prev-marked-file): Doc fix (bug#14855).
2679 (dired-up-directory): Doc fix (bug#14848).
2680
2681 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2682
2683 * files.el (file-relative-name): Doc fix (bug#15159).
2684
2685 * fringe.el (fringe-styles): Doc fix (bug#15239).
2686
2687 * isearch.el (isearch-filter-predicate): Documentation typo fix
2688 (bug#15474).
2689
2690 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2691
2692 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2693
2694 * replace.el (replace-match-maybe-edit): Doc clarification
2695 (bug#15632).
2696
2697 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2698
2699 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2700
2701 2014-02-08 Glenn Morris <rgm@gnu.org>
2702
2703 * help-fns.el (describe-variable):
2704 Check {file,dir}-local-variables-alist, and buffer-file-name,
2705 in the correct buffer.
2706
2707 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2708
2709 * help-fns.el (describe-variable): Fix the case where
2710 a value is directory-local with no dir-locals file. (Bug#16635)
2711
2712 2014-02-08 Glenn Morris <rgm@gnu.org>
2713
2714 * abbrev.el (edit-abbrevs-mode):
2715 Derive from fundamental-mode. (Bug#16682)
2716
2717 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2718
2719 * simple.el (quoted-insert): Check character validity (bug#16677).
2720
2721 2014-02-07 Juri Linkov <juri@jurta.org>
2722
2723 * desktop.el (desktop-read): Claim the lock when the owner is not
2724 the current process. (Bug#16157)
2725
2726 2014-02-07 Juri Linkov <juri@jurta.org>
2727
2728 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2729 to "\\` ". (Bug#16651)
2730
2731 2014-02-07 Juri Linkov <juri@jurta.org>
2732
2733 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2734 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2735 (desktop-auto-save-cancel-timer): New function with some code from
2736 `desktop-auto-save-set-timer'.
2737 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2738 Instead of setting `desktop-save-mode' to nil, call
2739 `desktop-save-mode' with arg 0. (Bug#16630)
2740
2741 2014-02-07 Glenn Morris <rgm@gnu.org>
2742
2743 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2744 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2745 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2746
2747 * obsolete/iswitchb.el: Move to obsolete/.
2748 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2749 since obsolete/ is not scanned for autoloads.
2750 * emacs-lisp/authors.el (authors-valid-file-names):
2751 Add iswitchb.el.
2752
2753 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2754 Disable now non-functional find-file-hook.
2755
2756 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2757
2758 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2759 instead of ";" in order to avoid additional prompts. Let heredoc
2760 scripts read from tty. (Bug#16582)
2761 (tramp-send-command): No special handling of heredocs, it isn't
2762 necessary anymore.
2763
2764 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2767 with a space (bug#16664). Limit the symbols considered to the ones
2768 that are bound or fbound (bug#16646).
2769
2770 2014-02-06 Glenn Morris <rgm@gnu.org>
2771
2772 * epa.el (epa-mail-aliases): Doc fix.
2773
2774 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2775
2776 * emacs-lisp/lisp.el (lisp-completion-at-point):
2777 Use `completion-table-merge' instead of `completion-table-in-turn'
2778 (bug#16604).
2779
2780 * minibuffer.el (completion-table-merge): New function.
2781
2782 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2783
2784 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2785 (tramp-sh-handle-set-file-acl)
2786 (tramp-sh-handle-start-file-process)
2787 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2788 (tramp-find-executable, tramp-send-command): Use it.
2789
2790 2014-02-05 Glenn Morris <rgm@gnu.org>
2791
2792 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2793
2794 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2795
2796 * progmodes/python.el (python-shell-send-string)
2797 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2798
2799 2014-02-04 Anders Lindgren <andlind@gmail.com>
2800
2801 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2802 the names (bug#16620).
2803
2804 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2805
2806 * faces.el (window-divider): New default value. Rewrite doc-string.
2807 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2808
2809 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2810
2811 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2812 `protected' and `public' can also be called without arguments.
2813
2814 2014-02-03 Glenn Morris <rgm@gnu.org>
2815
2816 * register.el (window-configuration-to-register)
2817 (frame-configuration-to-register): Unadvertise unused argument.
2818 * frameset.el (frameset-to-register): Remove unused argument.
2819
2820 * frameset.el (frameset-to-register):
2821 * kmacro.el (kmacro-to-register):
2822 * register.el (increment-register):
2823 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2824 (calc-append-to-register, calc-prepend-to-register):
2825 * play/gametree.el (gametree-layout-to-register)
2826 (gametree-apply-register-layout):
2827 * textmodes/picture.el (picture-clear-rectangle-to-register)
2828 (picture-yank-rectangle-from-register):
2829 * vc/emerge.el (emerge-combine-versions-register):
2830 Use register-read-with-preview to read registers.
2831
2832 2014-02-03 João Távora <joaotavora@gmail.com>
2833
2834 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2835 when at beginning of (possibly narrowed) buffer.
2836
2837 2014-02-02 Daniel Colascione <dancol@dancol.org>
2838
2839 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2840 Also try to display local help from just before point.
2841
2842 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2843
2844 c-parse-state. Don't "append-lower-brace-pair" in certain
2845 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2846 recognised as a comment.
2847
2848 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2849 as well as normal comment starter.
2850 (c-parse-state-get-strategy): Extra return possibility
2851 'back-and-forward.
2852 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2853 return value list to indicate replacement of a brace-pair cons
2854 with its car.
2855 (c-parse-state-1): With 'back-and-forward, only call
2856 c-append-lower-brace-pair-to state-cache when cons-separated.
2857
2858 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2859
2860 * term/ns-win.el (ns-suspend-error): New function.
2861 (ns-initialize-window-system): Add ns-suspend-error to
2862 suspend-hook (Bug#16612).
2863
2864 2014-02-02 Daniel Colascione <dancol@dancol.org>
2865
2866 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2867 Make loading cc-mode silent.
2868
2869 2014-02-02 Daniel Colascione <dancol@dancol.org>
2870
2871 * comint.el (comint-prompt-read-only): Change doc to suggest
2872 remap keybinding.
2873
2874 2014-02-02 Glenn Morris <rgm@gnu.org>
2875
2876 * register.el (register-read-with-preview, point-to-register)
2877 (window-configuration-to-register, frame-configuration-to-register)
2878 (jump-to-register, number-to-register, view-register, insert-register)
2879 (copy-to-register, append-to-register, prepend-to-register)
2880 (copy-rectangle-to-register): Doc fixes.
2881
2882 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2885 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2886 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2887 * help-fns.el (describe-function-1): Use it.
2888
2889 2014-02-02 Glenn Morris <rgm@gnu.org>
2890
2891 * register.el (register-preview-default): New function,
2892 split from register-preview.
2893 (register-preview-function): Rename from register-preview-functions,
2894 make it not a hook.
2895 (register-preview): Use register-preview-function.
2896 (register-read-with-preview): Error on non-character event. (Bug#16595)
2897
2898 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2899
2900 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2901 `:' before binary operators (bug#16609). Don't check for `:'
2902 before `[' and `(', or their syntax status. A percent literal
2903 can't end with either.
2904 (ruby-font-lock-keywords): For built-ins that require arguments,
2905 check that they're followed by something that looks like argument
2906 (bug#16610).
2907
2908 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2909
2910 * subr.el (butlast): Document what an omitted N means (bug#13437).
2911 (nbutlast): Ditto.
2912
2913 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2914
2915 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2916 depth shallower (bug#16587).
2917 (shr-tag-svg): Respect `shr-inhibit-images'.
2918 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2919
2920 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2921
2922 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2923 (ruby-smie-grammar): Make "." right-associative. Make its priority
2924 lower than the ternary and all binary operators.
2925 (ruby-smie-rules): Indent "(" relative to the first non-"."
2926 parent, or the first "." parent at indentation.
2927 Use `ruby-align-chained-calls' for indentation of "." tokens.
2928 (Bug#16593)
2929
2930 2014-01-31 Juri Linkov <juri@jurta.org>
2931
2932 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2933 from `make-hash-table'.
2934
2935 * textmodes/ispell.el (ispell-init-process): Change message format
2936 to be consistent with other messages.
2937
2938 2014-01-31 Glenn Morris <rgm@gnu.org>
2939
2940 * delsel.el (delete-selection-mode): Doc fix.
2941
2942 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2943 (trace-function-background): Doc fixes.
2944
2945 * ido.el (ido-use-virtual-buffers): Doc fix.
2946 Reset :version, since the default value has not changed.
2947
2948 * register.el (register-preview-delay, register-read-with-preview):
2949 Doc fixes.
2950
2951 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2952 do not mess with mail-buffer position (fixes 2009-11-03 change).
2953 * progmodes/cc-mode.el (c-submit-bug-report):
2954 Check auto-fill-mode is bound. (Bug#16592)
2955
2956 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2957
2958 * startup.el (fancy-splash-image-file): New function,
2959 split from fancy-splash-head.
2960 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2961 so that we are both using the same image. (Bug#16574)
2962
2963 2014-01-30 Glenn Morris <rgm@gnu.org>
2964
2965 * simple.el (eval-expression): Doc fix.
2966
2967 * hexl.el (hexl-mode-hook):
2968 * ielm.el (ielm-mode-hook):
2969 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2970 (lisp-interaction-mode-hook):
2971 * progmodes/cfengine.el (cfengine3-documentation-function):
2972 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2973
2974 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2977 is a symbol (bug#16584).
2978
2979 2014-01-30 Glenn Morris <rgm@gnu.org>
2980
2981 * help.el (help-for-help-internal): Add "P" to text.
2982
2983 2014-01-29 Glenn Morris <rgm@gnu.org>
2984
2985 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2986
2987 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2988
2989 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2990 height constraints.
2991
2992 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2993
2994 * progmodes/hideif.el: Extend to full CPP expression syntax.
2995 (hif-token-alist): Add missing tokens.
2996 (hif-token-regexp): Add support for float/octal/hex immediates.
2997 (hif-string-literal-regexp): New const.
2998 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2999 (hif-exprlist): New function.
3000 (hif-parse-if-exp): Use it.
3001 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3002 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3003 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3004 (hif-logxor, hif-comma): New functions.
3005
3006 2014-01-28 Glenn Morris <rgm@gnu.org>
3007
3008 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3009
3010 * indent.el (tab-stop-list): Doc fix. Add :version.
3011
3012 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3013 (cvs-append-to-ignore): Add compatibility alias.
3014
3015 2014-01-27 Glenn Morris <rgm@gnu.org>
3016
3017 * dired.el (dired-hide-details-mode): Don't autoload it,
3018 since it cannot be used outside Dired buffers anyway.
3019
3020 * emulation/cua-base.el (cua-mode): Doc fix.
3021
3022 * dired.el (dired-hide-details-hide-symlink-targets)
3023 (dired-hide-details-hide-information-lines)
3024 (dired-hide-details-mode): Doc fixes.
3025
3026 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3027 * strokes.el (strokes-file): Doc fix. Bump :version.
3028 (strokes-help): Doc fix.
3029 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3030 * emulation/viper.el (viper): Doc fix for custom group.
3031 (top-level): Remove oh-so-no-longer-relevant text about vip.
3032 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3033
3034 * ido.el (ido-save-directory-list-file):
3035 * saveplace.el (save-place-file):
3036 * calendar/timeclock.el (timeclock-file):
3037 * net/quickurl.el (quickurl-url-file):
3038 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3039 * progmodes/idlwave.el (idlwave-config-directory):
3040 * textmodes/remember.el (remember-data-file):
3041 Bump :version.
3042
3043 2014-01-26 Glenn Morris <rgm@gnu.org>
3044
3045 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3046 Doc fix. Make obsolete.
3047 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3048
3049 * sort.el (delete-duplicate-lines): Doc fix.
3050
3051 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3052
3053 * progmodes/ada-mode.el (ada):
3054 * woman.el (woman): Link to info manual and Commentary section.
3055
3056 * progmodes/flymake.el (flymake):
3057 * nxml/nxml-mode.el (nxml):
3058 * net/eww.el (eww):
3059 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3060 * htmlfontify.el (htmlfontify):
3061 * ses.el (ses):
3062 * epa.el (epa):
3063 * ido.el (ido): Link to info manual.
3064
3065 2014-01-25 Leo Liu <sdl.web@gmail.com>
3066
3067 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3068
3069 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3070
3071 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3072 (bug#16537).
3073
3074 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3075
3076 * net/eww.el (eww-download-callback):
3077 Fix reference to eww-download-directory.
3078
3079 * emacs-lisp/bytecomp.el (byte-compile-file):
3080 Remove unused local variable `file-name'.
3081
3082 2014-01-24 Glenn Morris <rgm@gnu.org>
3083
3084 * woman.el (woman-default-faces, woman-monochrome-faces):
3085 Fix obsolescence specification.
3086
3087 * subr.el (with-demoted-errors): Doc fix.
3088
3089 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3092 (cl--macroexp-fboundp): New function.
3093 (cl--make-type-test): Use it.
3094
3095 2014-01-23 Glenn Morris <rgm@gnu.org>
3096
3097 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3098 * simple.el (eval-expression): Doc fixes.
3099
3100 2014-01-22 Glenn Morris <rgm@gnu.org>
3101
3102 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3103
3104 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * emacs-lisp/package.el: Write files silently.
3107 (package-autoload-ensure-default-file, package--write-file-no-coding)
3108 (package-generate-description-file, package--download-one-archive)
3109 (package-install-from-archive): Tell `write-region' to stay quiet.
3110 (package-menu-mode, package-menu--print-info): Omit the Archive column
3111 if there's only one archive.
3112 (package-all-keywords, package--has-keyword-p): Remove dead code.
3113
3114 2014-01-22 Glenn Morris <rgm@gnu.org>
3115
3116 * version.el (emacs-bzr-version-bzr): Fix typo.
3117
3118 * version.el (emacs-repository-get-version):
3119 Check either .bzr or .git, but not both.
3120 Make the git case actually use the DIR argument, and return nil
3121 rather than the empty string.
3122 Avoid error if .git exists but the git executable is not found.
3123
3124 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3125
3126 Fixes in window size functions around Bug#16430 and Bug#16470.
3127 * window.el (window-total-size, window-size): New argument ROUND.
3128 (window--min-delta-1, window-min-delta, window--max-delta-1):
3129 Be more conservative when calculating the numbers of lines or
3130 columns a window can shrink (Bug#16430).
3131 (fit-window-to-buffer): Simplify code.
3132 * term.el (term-window-width): Call window-body-width again.
3133
3134 2014-01-22 Glenn Morris <rgm@gnu.org>
3135
3136 * image.el (image-format-suffixes): Doc fix.
3137
3138 * international/quail.el (quail-define-package): Doc fix.
3139
3140 * emacs-lisp/authors.el (authors-valid-file-names)
3141 (authors-renamed-files-alist): Additions.
3142
3143 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3144 reverts 2014-01-09 change. (Bug#16422)
3145
3146 * calc/calc-embed.el (thing-at-point-looking-at):
3147 * emacs-lisp/map-ynp.el (x-popup-dialog):
3148 * obsolete/lmenu.el (x-popup-dialog):
3149 * emacs-lisp/package.el (url-recreate-url):
3150 * mail/mailclient.el (clipboard-kill-ring-save):
3151 * subr.el (x-popup-dialog): Update declaration.
3152 * mail/rmail.el (rmail-mime-message-p):
3153 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3154
3155 2014-01-21 Daniel Colascione <dancol@dancol.org>
3156
3157 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3158 Correctly detect when we're inside an arithmetic expansion form
3159 containing nested parenthesis.
3160 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3161 to detect cases where we shouldn't expand "<<" to a heredoc
3162 skeleton.
3163
3164 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3165
3166 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3167 (eldoc--message-command-p): New function.
3168 (eldoc-display-message-p): Use it.
3169 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3170 message is not automatically erased for us.
3171 (eldoc-print-current-symbol-info): Erase previous message, if any.
3172
3173 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3174
3175 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3176 specify it's an interactive function.
3177
3178 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3179 Fix regex used for scanning for citation keys which failed for
3180 citations with optional arguments.
3181
3182 2014-01-21 Leo Liu <sdl.web@gmail.com>
3183
3184 * simple.el (read--expression): Don't enable eldoc-mode.
3185
3186 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3187
3188 * simple.el (move-beginning-of-line): Make sure we don't move forward
3189 (bug#16497).
3190
3191 2014-01-20 Juri Linkov <juri@jurta.org>
3192
3193 * saveplace.el (toggle-save-place, save-place-to-alist)
3194 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3195 'dired-mode) before checking for dired-directory. (Bug#16477)
3196
3197 2014-01-20 Juri Linkov <juri@jurta.org>
3198
3199 * indent.el (indent-line-to): Use backward-to-indentation
3200 instead of back-to-indentation. (Bug#16461)
3201
3202 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3203
3204 Revert some of the CANNOT_DUMP fix (Bug#16494).
3205 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3206 but fixing this can wait until after the next release.
3207 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3208
3209 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3210
3211 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3212 Use `password-word-equivalents'.
3213 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3214 to t. (Bug#5664, Bug#13124)
3215
3216 2014-01-19 Alan Mackenzie <acm@muc.de>
3217
3218 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3219 points.
3220 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3221 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3222 * progmodes/cc-mode.el (c-before-change, c-after-change)
3223 (c-font-lock-fontify-region): Bind it here.
3224
3225 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3226
3227 * term.el (term-window-width): Call window-text-width instead of
3228 window-width (Bug#16470).
3229
3230 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3231
3232 * simple.el (password-word-equivalents): Remove duplicates.
3233 Sort, to make this easier next time.
3234 Downcase. Omit ": " after "jelszó".
3235
3236 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3237
3238 * term/common-win.el (saved-region-selection): Defvar it.
3239 (x-select-text): Set saved-region-selection (Bug#16382).
3240
3241 2014-01-18 Glenn Morris <rgm@gnu.org>
3242
3243 * emacs-lisp/authors.el (authors-aliases)
3244 (authors-renamed-files-alist): Add some entries.
3245
3246 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3247
3248 * net/tramp.el (tramp-password-prompt-regexp):
3249 Use `password-word-equivalents' if available.
3250 (tramp-action-password, tramp-process-one-action)
3251 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3252
3253 2014-01-17 Chong Yidong <cyd@gnu.org>
3254
3255 * simple.el (password-word-equivalents): New defcustom.
3256 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3257 to 24.4.
3258 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3259 to t. (Bug#13124)
3260
3261 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3262
3263 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3264 (ruby-align-to-stmt-keywords): Change the default value.
3265 Use `ruby-alignable-keywords' to generate the possible customization
3266 choices.
3267 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3268 keywords, check against the value of `ruby-alignable-keywords'
3269 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3270
3271 2014-01-17 Glenn Morris <rgm@gnu.org>
3272
3273 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3274
3275 Make M-x authors return zero *Authors Errors* from current logs.
3276 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3277 (authors-ignored-files): Add some entries, remove others.
3278 (authors-ambiguous-files, authors-valid-file-names):
3279 Add some entries.
3280 (authors-renamed-files-alist): Add, remove, and adjust entries.
3281 (authors-renamed-files-regexps): Add some entries.
3282 Remove some very broad ones. Make some entries `lax'.
3283 (authors-lax-changelogs): New constant.
3284 (authors-disambiguate-file-name): Treat top-level specially.
3285 (authors-lax-changelog-p): New function.
3286 (authors-canonical-file-name): Check file as written against
3287 authors-valid-file-names. Do not special-case etc/.
3288 Handle `lax' logs and authors-renamed-files-regexps elements.
3289
3290 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3291
3292 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3293 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3294 callers.
3295
3296 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3297
3298 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3299 Assume we're already in the proper buffer.
3300 Inspired by Anders Lindgren <andlind@gmail.com>.
3301 (follow-post-command-hook): Call it from the right buffer.
3302 (follow-comint-scroll-to-bottom): Adjust call.
3303 (follow-all-followers): Use get-buffer-window-list.
3304
3305 2014-01-15 Daniel Colascione <dancol@dancol.org>
3306
3307 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3308 `buffer-file-name' in interactive-form so that we don't leave
3309 pathless file names in `file-name-history'.
3310
3311 2014-01-15 Juri Linkov <juri@jurta.org>
3312
3313 * indent.el (indent-rigidly): Set deactivate-mark to nil
3314 in transient indentation mode. (Bug#16438)
3315
3316 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3317
3318 * emacs-lisp/package.el (package-desc-keywords): New function
3319 (Bug#16222).
3320 (describe-package-1, package-all-keywords)
3321 (package--has-keyword-p): Use it.
3322
3323 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3324
3325 * simple.el (define-alternatives): When creating the
3326 COMMAND-alternatives variable, assign COMMAND as its definition
3327 name so that `describe-variable' can relocate it.
3328
3329 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3330
3331 * font-lock.el (font-lock-keywords): Fix typo in docstring
3332 (bug#16307).
3333
3334 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3335
3336 * ispell.el (ispell-region): Reset `in-comment' for new line
3337 instead of wrongly reset `add-coment' (bug#13577).
3338
3339 2014-01-14 Daiki Ueno <ueno@gnu.org>
3340
3341 * epa-file.el (epa-file-write-region): Encode the region according
3342 to `buffer-file-format'. Problem reported at:
3343 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3344
3345 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3348 so it applies in the right buffer (bug#16410).
3349
3350 2014-01-13 Daniel Colascione <dancol@dancol.org>
3351
3352 * textmodes/rst.el (rst-define-key): Provide deprecated
3353 keybindings through named functions instead of anonymous ones so
3354 that "??" doesn't appear in describe-mode output.
3355
3356 2014-01-13 Bastien Guerry <bzg@gnu.org>
3357
3358 * simple.el (define-alternatives): Call the selected command
3359 interactively. When setting `COMMAND--implementation' for the
3360 first time, tell the user how to chose another implementation.
3361 Enhance the docstring.
3362
3363 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3364
3365 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3366 (log-edit--match-first-line): New function.
3367 (log-edit-font-lock-keywords): Use it.
3368 (log-edit-mode): Make jit-lock-defer-multiline work.
3369
3370 2014-01-13 Bastien Guerry <bzg@gnu.org>
3371
3372 * rect.el (rectangle-mark-mode): When the region is not active,
3373 display a message saying that the mark as been set and that
3374 rectangle mode is in use.
3375 (rectangle--highlight-for-redisplay): Only put an overlay with a
3376 visible vertical bar when (display-graphic-p) is non-nil.
3377 This partially fixes Bug#16403.
3378
3379 2014-01-13 Juri Linkov <juri@jurta.org>
3380
3381 * info.el (Info-find-file): Go to DIR before displaying the error
3382 about a nonexistent file if no previous Info file is visited.
3383 Use `user-error' instead of `error' for "Info file %s does not exist".
3384 (Info-find-node-2): In case of a nonexistent node in unwind forms
3385 go to the Top node if there is no previous node to revert to.
3386 (Bug#16405)
3387
3388 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3389
3390 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3391 * window.el (fit-frame-to-buffer): Fix doc-string.
3392 Respect window-min-height/-width. Fit pixelwise when
3393 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3394 when avoiding that frame goes partially off-screen.
3395 (fit-window-to-buffer): Respect window-min-height/-width
3396 (Bug#14096).
3397
3398 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3401 after an empty line.
3402
3403 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3404
3405 * net/shr.el (shr-render-region): Autoload.
3406
3407 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3408
3409 * net/eww.el (eww-download-directory): Rename from
3410 `eww-download-path' (Bug#16419).
3411
3412 2014-01-12 Leo Liu <sdl.web@gmail.com>
3413
3414 * dired-x.el (dired-mode-map): Fix last change.
3415
3416 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3417
3418 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3419
3420 Spelling fixes.
3421 * emacs-lisp/generic.el (generic--normalize-comments):
3422 Rename from generic--normalise-comments. All uses changed.
3423 * play/bubbles.el (bubbles--neighborhood-score)
3424 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3425 (bubbles--neighborhood-available)
3426 (bubbles--update-neighborhood-score):
3427 Rename from names with 'neighbourhood'. All uses changed.
3428
3429 2014-01-12 Leo Liu <sdl.web@gmail.com>
3430
3431 Re-implement the feature of showing eldoc info after editing.
3432 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3433 (eldoc-edit-message-commands): New function.
3434 (eldoc-print-after-edit): New variable.
3435 (eldoc-pre-command-refresh-echo-area): Emit message only by
3436 eldoc-message-commands.
3437 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3438 if eldoc-print-after-edit is set. (Bug#16346)
3439 * simple.el (read--expression): Enable eldoc-mode.
3440 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3441
3442 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3443 Eric S. Raymond <esr@thyrsus.com>
3444
3445 * version.el (emacs-repository-get-version): Enhance so the
3446 function works correctly in either a Bazaar or Git repo.
3447
3448 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3449
3450 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3451 Goes with removal of the joke manpages from /etc.
3452
3453 2014-01-10 Kenichi Handa <handa@gnu.org>
3454
3455 * mail/rmail.el (rmail-get-coding-system):
3456 Check rmail-get-coding-function before "funcall"ing it.
3457
3458 2014-01-10 Glenn Morris <rgm@gnu.org>
3459
3460 * emacs-lisp/authors.el (authors-fixed-entries):
3461 Update for files that no longer exist.
3462
3463 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3464
3465 * version.el (emacs-bzr-get-version): Restore compatibilty with
3466 24.3 (Tested).
3467
3468 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3469
3470 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3471 and Podfile.
3472
3473 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3474
3475 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3476
3477 2014-01-10 Chong Yidong <cyd@gnu.org>
3478
3479 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3480
3481 2014-01-10 Anders Lindgren <andlind@gmail.com>
3482
3483 * follow.el (follow-cache-command-list): Include right-char and
3484 left-char.
3485
3486 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3487
3488 Spelling fixes.
3489 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3490 * woman.el (woman-mark-horizontal-position):
3491 Rename from woman-mark-horizonal-position. Use changed.
3492
3493 2014-01-10 Glenn Morris <rgm@gnu.org>
3494
3495 * info.el (info-initialize): If running uninstalled, ensure our
3496 own info files are always found first, even if INFOPATH is set.
3497
3498 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3499
3500 2014-01-09 David Engster <deng@randomsample.de>
3501
3502 * emacs-lisp/eieio-custom.el:
3503 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3504 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3505 * emacs-lisp/eieio.el: Regenerate autoloads.
3506
3507 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3508
3509 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3510 following renames. (Bug#8756)
3511
3512 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3515 (bug#16382).
3516 (activate-mark): Add `no-tmm' argument.
3517 (set-mark, push-mark-command): Use it instead of running
3518 activate-mark-hook by hand.
3519
3520 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3521
3522 In preparation for the move to git, sanitize out some
3523 Bazaar-specific names.
3524
3525 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3526
3527 * version.el (emacs-bzr-version): Name changed to
3528 emacs-repository-version. Obsolete-variable alias made.
3529 * loadup.el: Follow through on this name change.
3530 * mail/emacsbug.el (report-emacs-bug): Factor out any
3531 assumption about the version control system in use.
3532
3533 2014-01-08 David Engster <deng@randomsample.de>
3534
3535 * help-fns.el (help-fns-describe-function-functions):
3536 New variable to call functions for augmenting help buffers.
3537 (describe-function-1): Remove explicit calls to
3538 `help-fns--compiler-macro', `help-fns--parent-mode' and
3539 `help-fns--obsolete'. Put them in above new variable instead, and
3540 call them through `run-hook-with-args'.
3541 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3542 `eieio-describe-class'. Not meant for interactive use anymore,
3543 but to augment existing help buffers. Remove optional second
3544 argument. Create proper button for file location.
3545 Rewrite function to use `insert' instead of `princ' and `prin1' where
3546 possible.
3547 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3548 (eieio-method-def, eieio-class-def): Move further up.
3549 (describe-method, describe-generic, eieio-describe-method):
3550 Remove aliases.
3551 (eieio-help-constructor, eieio-help-generic): Rename from
3552 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3553 Rewrite to use `insert' in the current buffer and use proper help
3554 buttons.
3555 (eieio-help-find-method-definition)
3556 (eieio-help-find-class-definition): Also accept symbols as
3557 arguments.
3558 (eieio-help-mode-augmentation-maybee): Remove.
3559 (eieio-describe-class-sb): Use `describe-function'.
3560 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3561 Add `eieio-help-generic' and `eieio-help-constructor'.
3562
3563 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3564
3565 Spelling fixes.
3566 * language/china-util.el (hz-ascii-designation):
3567 Rename from hz-ascii-designnation.
3568 (hz-ascii-designation): Rename from hz-ascii-designnation.
3569 All uses changed.
3570
3571 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3574 package-alist.
3575
3576 2014-01-08 Bastien Guerry <bzg@gnu.org>
3577
3578 * emacs-lisp/package.el (package-delete):
3579 Correctly delete the package from package-alist.
3580
3581 2014-01-08 Daiki Ueno <ueno@gnu.org>
3582
3583 * emacs-lisp/package.el (url-recreate-url): Declare.
3584 (url-http-target-url): Declare.
3585 (package-handle-response): Include requested URL in the error message.
3586 (package--check-signature): Don't re-signal errors from
3587 package--with-work-buffer. Suggested by Stefan Monnier.
3588
3589 2014-01-07 Bastien Guerry <bzg@gnu.org>
3590
3591 * minibuffer.el (completion--try-word-completion): When both a
3592 hyphen and a space are possible candidates for the character
3593 following a word, display both candidates. (Bug#15980)
3594
3595 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3596
3597 * window.el (balance-windows-2): While rounding don't give a
3598 window more than the remainder. Bug#16351, bug#16383.
3599
3600 2014-01-07 Glenn Morris <rgm@gnu.org>
3601
3602 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3603 (menu-bar-help-menu): Use view-external-packages instead.
3604
3605 2014-01-07 Bastien Guerry <bzg@gnu.org>
3606
3607 * emacs-lisp/package.el (package-delete): Also delete the package
3608 name from `package-alist', not its description only.
3609
3610 2014-01-07 Glenn Morris <rgm@gnu.org>
3611
3612 * help.el (view-external-packages):
3613 * menu-bar.el (menu-bar-help-extra-packages):
3614 Visit efaq.info rather than etc/MORE.STUFF.
3615
3616 2014-01-07 Juri Linkov <juri@jurta.org>
3617
3618 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3619 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3620
3621 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3622 that shadows RET. (Bug#16342)
3623
3624 2014-01-07 Chong Yidong <cyd@gnu.org>
3625
3626 * isearch.el (isearch-yank-char, isearch-yank-word)
3627 (isearch-yank-line): Doc fix.
3628
3629 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3632 * emacs-lisp/elint.el (elint-find-builtins):
3633 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3634 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3635 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3636 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3637 * apropos.el (apropos-safe-documentation):
3638 * subr.el (symbol-file): Remove redundant fboundp.
3639 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3640
3641 2014-01-06 Bastien Guerry <bzg@gnu.org>
3642
3643 * hl-line.el (global-hl-line-overlay): Make a local variable.
3644 (global-hl-line-overlays): New variable to store all overlays.
3645 (global-hl-line-mode): Don't delete overlays from the current
3646 buffer when `global-hl-line-sticky-flag' is non-nil.
3647 (global-hl-line-highlight): Add new overlays to
3648 `global-hl-line-overlays'.
3649 (global-hl-line-unhighlight-all): New function to delete all
3650 overlays when turning off `global-hl-line-mode'.
3651 This fixes Bug#16183.
3652
3653 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * subr.el (set-transient-map): Fix nested case and docstring.
3656
3657 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3658
3659 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3660 `Texinfo' entry.
3661
3662 2014-01-06 Daniel Colascione <dancol@dancol.org>
3663
3664 Fix defun navigation in vc log view.
3665
3666 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3667 like `beginning-of-defun'.
3668 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3669 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3670 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3671 (log-view-extract-comment): Call `log-view-current-entry' directly
3672 instead of relying on broken `log-view-beginning-of-defun' behavior.
3673
3674 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3675
3676 Spelling fixes.
3677 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3678 * emacs-lisp/debug.el (cancel-debug-on-entry):
3679 * epg.el (epg-error-to-string):
3680 * files.el (recover-file):
3681 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3682 * mail/emacsbug.el (report-emacs-bug-hook):
3683 * mail/sendmail.el (mail-recover):
3684 * ses.el (ses-yank-resize):
3685 * term/ns-win.el (ns-print-buffer):
3686 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3687 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3688 All uses changed.
3689 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3690
3691 2014-01-06 Leo Liu <sdl.web@gmail.com>
3692
3693 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3694 to avoid shadowing global key. (Bug#16354)
3695
3696 2014-01-06 Daniel Colascione <dancol@dancol.org>
3697
3698 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3699 rst-mode.
3700
3701 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3702
3703 * window.el (balance-windows): Add mising t to fix Bug#16351.
3704
3705 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3706
3707 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3708 (bug#16285).
3709 (shr-insert): If we have a word that's longer than `shr-width',
3710 break after it anyway. Otherwise we'll do no breaking once we get
3711 such a long word.
3712
3713 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3714
3715 * net/eww.el (eww): Support single/double quote for search.
3716 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3717 (eww-history-quit): Delete and use quit-window.
3718 (eww-history-kill): Delete, because it doesn't work well and
3719 not necessary.
3720 (eww-history-mode-map): Delete some keys and add easy-menu.
3721
3722 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3723
3724 Fix misspelling of 'chinese' in rx (Bug#16237).
3725 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3726 chinese-two-byte.
3727
3728 Change subword regexps back to vars (Bug#16296).
3729 * progmodes/subword.el (subword-forward-regexp)
3730 (subword-backward-regexp): Change these back to variables.
3731
3732 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3735 syntax-begin-function (bug#16247).
3736
3737 2014-01-03 Chong Yidong <cyd@gnu.org>
3738
3739 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3740 (advice--docstring): Delete variable.
3741 (advice--make-1): Leave the docstring empty.
3742 (advice-add): Use function-documentation for advised docstring.
3743
3744 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3745 Ignore function-documentation property when getting documentation.
3746 (ad-activate-advised-definition): Use function-documentation
3747 generate the docstring.
3748 (ad-make-advised-definition): Don't call
3749 ad-make-advised-definition-docstring.
3750 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3751 Delete functions.
3752
3753 * progmodes/sql.el (sql-help): Use function-documentation instead
3754 of dynamic-docstring-function property. No need to autoload now.
3755 (sql--help-docstring): New variable.
3756 (sql--make-help-docstring): Use it.
3757
3758 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * ielm.el (ielm-tab): Retarget.
3761 (ielm-map): Use ielm-tab for tab.
3762 (ielm-complete-filename): Use comint-filename-completion.
3763 (ielm-complete-symbol): Remove.
3764 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3765 remove ielm-tab from completion-at-point-functions (bug#16224).
3766
3767 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3768 Beware signals raised by predicates (bug#16201).
3769
3770 2014-01-02 Richard Stallman <rms@gnu.org>
3771
3772 * dired-aux.el (dired-do-print): Handle printer-name.
3773
3774 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3775 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3776 (rmail-epa-decrypt): Turn off mime processing.
3777
3778 * mail/rmail.el (rmail-make-in-reply-to-field):
3779 Add parens in message-id.
3780
3781 * mail/rmail.el (rmail-get-coding-function): Variable.
3782 (rmail-get-coding-system): Use it.
3783
3784 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3785
3786 * international/mule-conf.el: Unify the charset indian-is13194.
3787 (indian-is13194): Specify unify-map.
3788
3789 2013-12-31 Leo Liu <sdl.web@gmail.com>
3790
3791 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3792
3793 2013-12-30 Daniel Colascione <dancol@dancol.org>
3794
3795 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3796 of printing a useless when we resume from sleep.
3797
3798 * progmodes/sh-script.el
3799 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3800 in indentation code. (Bug#16233)
3801
3802 2013-12-28 João Távora <joaotavora@gmail.com>
3803
3804 * elec-pair.el (electric-pair-post-self-insert-function):
3805 Don't open extra newlines at beginning of buffer. (Bug#16272)
3806
3807 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3808
3809 * frame.el (window-system-for-display): Don't allow to create a
3810 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3811
3812 2013-12-28 Glenn Morris <rgm@gnu.org>
3813
3814 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3815 Update callers.
3816
3817 * apropos.el (apropos-match-face):
3818 * calculator.el (calculator-displayer):
3819 * dabbrev.el (dabbrev-search-these-buffers-only):
3820 * face-remap.el (buffer-face-mode-face):
3821 * simple.el (yank-handled-properties):
3822 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3823 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3824 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3825 (hashcash-double-spend-database):
3826 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3827 (ruby-deep-indent-paren-style):
3828 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3829 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3830 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3831 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3832 Specify custom types.
3833
3834 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3835 * bookmark.el (bookmark-bmenu-use-header-line):
3836 * doc-view.el (doc-view-scale-internally):
3837 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3838 * register.el (register-preview-delay):
3839 * net/shr.el (shr-bullet):
3840 * progmodes/cfengine.el (cfengine-cf-promises)
3841 (cfengine-parameters-indent):
3842 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3843 * textmodes/reftex-vars.el (reftex-label-regexps):
3844 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3845
3846 * net/tls.el (tls-certtool-program): Fix default value.
3847
3848 * desktop.el (desktop-restore-in-current-display):
3849 * newcomment.el (comment-empty-lines):
3850 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3851 (idlwave-pad-keyword):
3852 * progmodes/tcl.el (tcl-tab-always-indent):
3853 * textmodes/reftex-vars.el (reftex-index-default-tag):
3854 * elec-pair.el (electric-pair-skip-whitespace):
3855 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3856
3857 * emacs-lisp/authors.el (authors-ignored-files)
3858 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3859
3860 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3861
3862 * shell.el (shell-dynamic-complete-command): Doc fix.
3863 (shell--command-completion-data): Shell completion now matches
3864 executable filenames from the current buffer's directory, on
3865 systems in which this behavior is the default (windows-nt, ms-dos).
3866
3867 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3868
3869 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3870
3871 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3874 (bug#16251).
3875
3876 * electric.el: Move all electric-pair-* to elec-pair.el.
3877 * elec-pair.el: New file, split from electric.el.
3878
3879 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3880
3881 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3882 indentation level is larger than the width, because that will
3883 infloop.
3884 (shr-insert): Fill repeatedly long texts, so that Japanese is
3885 formatted correctly (bug#16263).
3886 (shr-find-fill-point): Off by one error in comparison with the
3887 indentation.
3888
3889 2013-12-26 João Távora <joaotavora@gmail.com>
3890
3891 * electric.el (electric-pair-mode): More flexible engine for skip-
3892 and inhibit predicates, new options for pairing-related functionality.
3893 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3894 if that keeps or improves their balance in buffers.
3895 (electric-pair-delete-adjacent-pairs): Delete the pair when
3896 backspacing over adjacent matched delimiters.
3897 (electric-pair-open-extra-newline): Open extra newline when
3898 inserting newlines between adjacent matched delimiters.
3899 (electric--sort-post-self-insertion-hook):
3900 Sort post-self-insert-hook according to priority values when
3901 minor-modes are activated.
3902 * simple.el (newline-and-indent): Call newline with interactive
3903 set to t.
3904 (blink-paren-post-self-insert-function): Set priority to 100.
3905 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3906 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3907 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3908 electric-pair-open-newline-between-pairs to nil.
3909
3910 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3911
3912 * progmodes/python.el: Use lexical-binding.
3913 (python-nav-beginning-of-defun): Stop searching ASAP.
3914
3915 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3916
3917 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3918 Fix interactive spec. Doc fix. (Bug#15754)
3919
3920 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3921
3922 * emacs-lisp/byte-run.el (eval-when-compile):
3923 * progmodes/cc-defs.el (cc-eval-when-compile):
3924 Fix edebug spec (bug#16184).
3925
3926 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3927
3928 * net/shr.el (shr-visit-file): Remove debugging function.
3929 (shr-insert): Don't infloop if we can't find a good place to break
3930 the line (bug#16256).
3931
3932 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3933
3934 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3935 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3936 python-nav-lisp-forward-sexp-safe.
3937 (python-nav--forward-sexp): New argument SAFE allows switching
3938 forward sexp movement behavior for parens.
3939 (python-nav-forward-sexp): Throw errors on unterminated parens
3940 (Bug#16191).
3941 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3942 (python-nav-backward-sexp-safe): New functions.
3943 (python-shell-buffer-substring):
3944 Use `python-nav-forward-sexp-safe'.
3945
3946 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3947
3948 * net/shr.el (shr-find-fill-point): Don't break lines before a
3949 quotation mark.
3950 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3951 (shr-find-fill-point): Remove the special checks for the quotation
3952 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3953
3954 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3955
3956 * net/eww.el (eww-form-textarea): Use a different face for
3957 textareas than text input since they have different keymaps
3958 (bug#16142).
3959
3960 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3961
3962 * progmodes/python.el (python-nav-beginning-of-statement):
3963 Speed up (Bug#15295).
3964
3965 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3966
3967 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3968 the window configuration.
3969
3970 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3971
3972 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3973 we run on MS-Windows or MS-DOS.
3974
3975 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3976
3977 * window.el (balance-windows-area): Call window-size instead of
3978 window-height and window-width. Bug#16241.
3979
3980 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3981
3982 * net/eww.el (eww-bookmark-quit): Remove.
3983 (eww-bookmark-browse): Restore the window configuration when you
3984 choose a bookmark (bug#16144).
3985
3986 2013-12-24 Daniel Colascione <dancol@dancol.org>
3987
3988 * icomplete.el: Remove redundant :group arguments to `defcustom'
3989 throughout.
3990 (icomplete-show-matches-on-no-input): New customizable variable.
3991 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3992 we have something to show.
3993 (icomplete-exhibit): Compute completions even if we have no user input.
3994
3995 2013-12-23 Daniel Colascione <dancol@dancol.org>
3996
3997 * icomplete.el: Move `provide' to end of file.
3998
3999 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4000
4001 * net/gnutls.el (gnutls-verify-error): Add version tag.
4002
4003 2013-12-23 Chong Yidong <cyd@gnu.org>
4004
4005 * subr.el (set-transient-map): Rename from
4006 set-temporary-overlay-map. Doc fix.
4007
4008 * face-remap.el (text-scale-adjust):
4009 * indent.el (indent-rigidly):
4010 * kmacro.el (kmacro-call-macro):
4011 * minibuffer.el (minibuffer-force-complete):
4012 * repeat.el (repeat):
4013 * simple.el (universal-argument--mode):
4014 * calendar/todo-mode.el (todo-insert-item--next-param):
4015 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4016
4017 * indent.el (indent-rigidly): Use substitute-command-keys.
4018
4019 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4020
4021 * net/eww.el (eww-tag-select): Add text-property to jump to next
4022 select field.
4023 (eww): Add non-supported ftp error.
4024
4025 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4026
4027 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4028 comments. Handle electric indent after typing `?' and `!'.
4029
4030 2013-12-22 Chong Yidong <cyd@gnu.org>
4031
4032 * faces.el (face-spec-recalc): If the theme specs are not
4033 applicable to a frame, fall back on the defface spec.
4034 This prevents themes from obliterating faces on low-color terminals.
4035
4036 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4037
4038 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4039 after `{'. We need it after block openers, and it doesn't seem
4040 to hurt after hash openers.
4041
4042 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4043
4044 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4045 extracted from `ruby-smie-rules'.
4046 (ruby--electric-indent-chars): New variable.
4047 (ruby--electric-indent-p): New function.
4048 (ruby-mode): Use `electric-indent-functions' instead of
4049 `electric-indent-chars'.
4050
4051 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4052
4053 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4054 docstring.
4055 (ruby-smie-rules): Indent plus one level after `=>'.
4056
4057 2013-12-21 Richard Stallman <rms@gnu.org>
4058
4059 * simple.el (newline): Doc fix.
4060
4061 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4062
4063 * net/eww.el (eww-list-histories, eww-list-histories)
4064 (eww-history-browse, eww-history-quit, eww-history-kill)
4065 (eww-history-mode-map, eww-history-mode): New command and
4066 functions to list browser histories.
4067 (eww-form-text): Support text form with disabled
4068 and readonly attributes.
4069 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4070
4071 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4072
4073 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4074 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4075 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4076 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4077 Use `user-error'.
4078 (eww-bookmark-mode-map): Add menu.
4079 (eww-render, eww-mode): Use `setq-local'.
4080 (eww-tool-bar-map): New variable.
4081 (eww-mode): Set `tool-bar-map'.
4082 (eww-view-source): Check for `html-mode' with `fboundp'.
4083
4084 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4085
4086 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4087 elements with text inside. Also remove debugging.
4088
4089 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4090
4091 * cus-start.el (all): Add ns-use-srgb-colorspace.
4092
4093 2013-12-21 Chong Yidong <cyd@gnu.org>
4094
4095 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4096 undefined. Thus, theme settings for undefined faces do not take
4097 effect until the faces are defined with defface, the same as with
4098 theme variables.
4099
4100 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4101 (face-spec-reset-face): Don't assign extra properties in temacs.
4102 (face-spec-recalc): Apply X resources too.
4103
4104 2013-12-21 Chong Yidong <cyd@gnu.org>
4105
4106 * faces.el (face-spec-set):
4107 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4108 * custom.el (defface): Doc fixes (Bug#16203).
4109
4110 * indent.el (indent-rigidly-map): Add docstring, and move commands
4111 into named functions.
4112 (indent-rigidly-left, indent-rigidly-right)
4113 (indent-rigidly-left-to-tab-stop)
4114 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4115 indentation direction based on bidi direction, and accumulate
4116 sequential commands in a single undo boundary.
4117 (indent-rigidly--pop-undo): New utility function.
4118
4119 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4120
4121 * faces.el (read-face-name): Require crm.el when using crm-separator.
4122
4123 2013-12-20 Daniel Colascione <dancol@dancol.org>
4124
4125 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4126 so that we don't reflow comments into the shebang line.
4127
4128 2013-12-20 Juri Linkov <juri@jurta.org>
4129
4130 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4131 a position when `dired-directory' is non-nil. Check integer
4132 positions with `integerp'.
4133 (toggle-save-place, save-places-to-alist): Add check for
4134 `dired-directory'.
4135 (save-place-find-file-hook): Check integer positions with
4136 `integerp'.
4137 (save-place-dired-hook): Use `dired-goto-file' when
4138 `dired-filename' is found in the assoc list. Check integer
4139 positions with `integerp'.
4140 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4141
4142 * dired.el (dired-initial-position-hook): Rename back from
4143 `dired-initial-point-hook'.
4144 (dired-initial-position): Rename `dired-initial-point-hook' to
4145 `dired-initial-position-hook'.
4146 (dired-file-name-at-point): Doc fix. (Bug#15329)
4147
4148 2013-12-20 Juri Linkov <juri@jurta.org>
4149
4150 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4151 (read-regexp-suggestions): New function.
4152 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4153 Use `read-regexp-suggestions'. Add non-empty default to history
4154 for empty input.
4155 (occur-read-regexp-defaults-function): Remove function.
4156 (occur-read-primary-args): Use `regexp-history-last' instead of
4157 `occur-read-regexp-defaults-function'.
4158
4159 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4160 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4161 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4162 `hi-lock-read-regexp-defaults-function'. Doc fix.
4163 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4164 with `find-tag-default-as-symbol-regexp'. Doc fix.
4165 (hi-lock-read-regexp-defaults): Remove function.
4166 (hi-lock-regexp-okay): Add check for null.
4167
4168 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4169 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4170
4171 * subr.el (find-tag-default-as-symbol-regexp): New function.
4172 (find-tag-default-as-regexp): Move symbol regexp formatting to
4173 `find-tag-default-as-symbol-regexp'.
4174
4175 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4176
4177 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4178 (Bug#14179)
4179
4180 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4181
4182 * calendar/todo-mode.el: New implementation of item insertion
4183 commands and key bindings.
4184 (todo-key-prompt): New face.
4185 (todo-insert-item): New command.
4186 (todo-insert-item--parameters): New defconst, replacing defvar
4187 todo-insertion-commands-args-genlist.
4188 (todo-insert-item--param-key-alist): New defconst, replacing
4189 defvar todo-insertion-commands-arg-key-list.
4190 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4191 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4192 (todo-insert-item--next-param): New functions.
4193 (todo-insert-item--args, todo-insert-item--argleft)
4194 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4195 New variables.
4196 (todo-key-bindings-t): Change binding of "i" from
4197 todo-insertion-map to todo-insert-item.
4198 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4199 (todo-insertion-command-name, todo-insertion-commands-names)
4200 (todo-define-insertion-command, todo-insertion-commands)
4201 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4202
4203 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4204
4205 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4206 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4207 eval-when-compile.
4208 (todo-move-category): Allow choosing a non-existing todo file to
4209 move the category to, and create that file.
4210 (todo-default-priority): New user option.
4211 (todo-set-item-priority): Use it.
4212 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4213 (desktop-restore-file-buffer): Declare.
4214 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4215 (todo-modes-set-2): Locally set desktop-save-buffer to
4216 todo-desktop-save-buffer.
4217 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4218 (auto-mode-alist): Add autoload cookie.
4219
4220 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4221
4222 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4223 helpers.el was a poor choice of name.
4224 (string-remove-prefix): New function.
4225 (string-remove-suffix): New function.
4226
4227 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4228
4229 Fix assignment for new window total sizes.
4230 * window.el (window--pixel-to-size): Remove function.
4231 (window--pixel-to-total-1, window--pixel-to-total):
4232 Fix calculation of new total sizes.
4233
4234 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4235
4236 * comint.el (comint-output-filter): Fix rear-nonsticky property
4237 placement (Bug#16010).
4238
4239 2013-12-20 Chong Yidong <cyd@gnu.org>
4240
4241 * faces.el (read-color): Minor fix for completion function.
4242
4243 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4244
4245 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4246 New option. (Bug#16182)
4247 (ruby-smie--indent-to-stmt-p): Use it.
4248 (ruby-smie-rules): Revert the logic in the handling of `when'.
4249 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4250 (ruby-deep-arglist, ruby-deep-indent-paren)
4251 (ruby-deep-indent-paren-style): Update docstrings to note that the
4252 vars don't have any effect with SMIE.
4253
4254 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4255
4256 * calc/calc.el (calc-enter, calc-pop): Use the variable
4257 `calc-context-sensitive-enter'.
4258
4259 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4260
4261 * net/shr.el (shr-insert): Protect against infloops in degenerate
4262 tables.
4263
4264 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4265
4266 * progmodes/octave.el (octave): Add link to manual and octave
4267 homepage.
4268 (octave-mode-menu): Link to octave-mode manual.
4269
4270 2013-12-20 Leo Liu <sdl.web@gmail.com>
4271
4272 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4273 insertion using skeleton-end-newline. (Bug#16138)
4274
4275 2013-12-20 Juri Linkov <juri@jurta.org>
4276
4277 * replace.el (occur-engine): Use `add-face-text-property'
4278 to add the face property to matches and titles. (Bug#14645)
4279
4280 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4281 the palette of other hi-lock colors.
4282 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4283
4284 2013-12-19 Juri Linkov <juri@jurta.org>
4285
4286 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4287 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4288 (minibuffer-history-symbol): Move variable declaration closer to
4289 its usage.
4290
4291 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4292 (Bug#14785)
4293
4294 2013-12-19 Juri Linkov <juri@jurta.org>
4295
4296 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4297 New function.
4298 (log-edit-hook): Add it to :options. (Bug#16170)
4299
4300 2013-12-19 Juri Linkov <juri@jurta.org>
4301
4302 * simple.el (eval-expression-print-format): Don't check for
4303 command names and the last command. Always display additional
4304 formats of the integer result in the echo area, and insert them
4305 to the current buffer only with a zero prefix arg.
4306 Display character when char-displayable-p is non-nil.
4307 (eval-expression): With a zero prefix arg, set `print-length' and
4308 `print-level' to nil, and insert the integer values from
4309 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4310
4311 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4312 `eval-last-sexp-arg-internal'. Doc fix.
4313 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4314 `eval-last-sexp-print-value'. Doc fix.
4315 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4316 Set `print-length' and `print-level' to nil when arg is zero.
4317 (eval-last-sexp): Doc fix.
4318 (eval-defun-2): Print the integer values from
4319 `eval-expression-print-format' at the end.
4320
4321 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4322 values from `eval-expression-print-format' at the end.
4323
4324 * ielm.el (ielm-eval-input): Print the integer
4325 values from `eval-expression-print-format' at the end.
4326
4327 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4328
4329 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4330 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4331
4332 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4333
4334 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4335 (hl-line-highlight, global-hl-line-highlight): Use it.
4336 (hl-line-overlay): Use defvar-local.
4337
4338 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4339
4340 * term/ns-win.el: Require dnd.
4341 (global-map): Remove drag items.
4342 (ns-insert-text, ns-set-foreground-at-mouse)
4343 (ns-set-background-at-mouse):
4344 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4345 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4346 New functions.
4347
4348 2013-12-19 Glenn Morris <rgm@gnu.org>
4349
4350 * emacs-lisp/ert.el (ert-select-tests):
4351 Fix string/symbol mixup. (Bug#16121)
4352
4353 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4354
4355 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4356 keywords to their parent.
4357
4358 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4359
4360 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4361 first arg to be a string (fixed dead code), or an operator symbol.
4362 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4363 operator symbols.
4364 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4365 did nothing. Don't respond to `(:after ".")', it will be called
4366 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4367 change anything. Only return indentation for binary operators
4368 when they are hanging. De-dent opening paren when its parent is
4369 `.', otherwise it looks bad when the dot is not at bol or eol
4370 (bug#16182).
4371
4372 2013-12-19 Juri Linkov <juri@jurta.org>
4373
4374 * replace.el (query-replace-read-args): Split a non-negative arg
4375 and a negative arg into separate elements.
4376 (query-replace, query-replace-regexp, replace-string)
4377 (replace-regexp): Add arg `backward'. Doc fix.
4378 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4379 move point to the beginning of the match.
4380 (replace-search, replace-highlight): Use new arg `backward'
4381 to set the value of `isearch-forward'.
4382 (perform-replace): Add arg `backward' and use it to perform
4383 replacement backward. (Bug#14979)
4384
4385 * isearch.el (isearch-query-replace): Use a negative prefix arg
4386 to call `perform-replace' with a non-nil arg `backward'.
4387
4388 2013-12-18 Juri Linkov <juri@jurta.org>
4389
4390 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4391 to the default list. Move `log-edit-show-files' to the end.
4392 Add more available functions to options.
4393 (log-edit): Move default specific settings to
4394 `log-edit-insert-message-template'. Don't move point.
4395 (log-edit-insert-message-template): New function.
4396 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4397 (Bug#16170)
4398
4399 2013-12-18 Juri Linkov <juri@jurta.org>
4400
4401 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4402 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4403
4404 2013-12-18 Leo Liu <sdl.web@gmail.com>
4405
4406 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4407 (Bug#16186)
4408
4409 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4410
4411 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4412 formats for displaying file sizes when the -s switch is given.
4413 Instead, compute a separate format for displaying the size in
4414 blocks, which is displayed in addition to the "regular" size.
4415 When -h is given in addition to -s, produce size in blocks in
4416 human-readable form as well. (Bug#16179)
4417
4418 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4419
4420 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4421 Reference tables with ~\ref{...} instead of only \ref{...}.
4422
4423 2013-12-18 Chong Yidong <cyd@gnu.org>
4424
4425 * cus-edit.el (custom-magic-alist): Fix "themed" description
4426 (Bug#14348).
4427
4428 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4429 is non-nil, do not create a new entry in the symbol's theme-value
4430 or theme-face property; update theme-settings only (Bug#14664).
4431 (custom-available-themes): Doc fix.
4432
4433 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4434 (Bug#15674).
4435
4436 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4437
4438 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4439
4440 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4441 (Bug#13914).
4442
4443 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4444
4445 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4446
4447 2013-12-18 Glenn Morris <rgm@gnu.org>
4448
4449 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4450 * cus-start.el (load-prefer-newer): New option.
4451
4452 2013-12-18 Le Wang <l26wang@gmail.com>
4453
4454 * comint.el (comint-previous-matching-input-from-input):
4455 Retain point (Bug#13404).
4456
4457 2013-12-18 Chong Yidong <cyd@gnu.org>
4458
4459 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4460
4461 2013-12-18 Glenn Morris <rgm@gnu.org>
4462
4463 * mail/emacsbug.el (report-emacs-bug):
4464 Only mention enable-multibyte-characters if non-standard.
4465
4466 2013-12-17 Juri Linkov <juri@jurta.org>
4467
4468 * arc-mode.el (archive-extract-by-file): Check if directory exists
4469 before deletion to not show irrelevant errors if it doesn't exist.
4470
4471 2013-12-17 Juri Linkov <juri@jurta.org>
4472
4473 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4474 (Bug#14751)
4475
4476 * net/eww.el (browse-web): Add alias to `eww'.
4477 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4478 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4479
4480 * net/browse-url.el (browse-url-browser-function): Move `eww'
4481 closer to similar functions.
4482
4483 * startup.el (fancy-startup-screen, fancy-about-screen):
4484 Set browse-url-browser-function to eww-browse-url locally.
4485 (Bug#14751)
4486
4487 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * window.el (window--pixel-to-total): Remove unused `mini' var.
4490 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4491 (split-window): Remove unused `new' var.
4492 (window--display-buffer): Remove unused `frame' and `delta' vars.
4493 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4494 and display-width'.
4495
4496 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4497
4498 * dired.el (dired-mark-pop-up):
4499 * register.el (register-preview): Don't bind
4500 split-height-threshold here since it's now done in
4501 display-buffer-below-selected.
4502
4503 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4504
4505 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4506 xterm-rgb-convert-to-16bit.
4507 (rxvt-register-default-colors): Standardize with
4508 xterm-register-default-colors (Bug#14078).
4509
4510 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4511
4512 * simple.el (kill-region): Pass mark first, then point, so that
4513 kill-append works right (Bug#12819).
4514 (copy-region-as-kill, kill-ring-save): Likewise.
4515
4516 2013-12-17 Leo Liu <sdl.web@gmail.com>
4517
4518 * net/rcirc.el (rcirc-add-face):
4519 * eshell/em-prompt.el (eshell-emit-prompt):
4520 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4521 (Bug#16167)
4522
4523 2013-12-17 Chong Yidong <cyd@gnu.org>
4524
4525 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4526 Suggested by Xue Fuqiao.
4527
4528 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4529
4530 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4531
4532 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * net/shr.el (shr-insert-document): Remove unused var
4535 `shr-preliminary-table-render'.
4536 (shr-rescale-image): Remove unused arg `force'.
4537 (shr-put-image): Update calls accordingly.
4538 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4539
4540 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4541
4542 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4543 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4544 :close-all, to see which indentation method to use (Bug#16116).
4545 (smie-rules-function): Document the method :close-all.
4546
4547 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4548
4549 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4550
4551 * net/eww.el (eww-display-html): If we can't find the anchor we're
4552 looking for, then go to point-min.
4553
4554 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4555
4556 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4557 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4558 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4559 Expand dir too, in case it's relative.
4560
4561 2013-12-16 Juri Linkov <juri@jurta.org>
4562
4563 * desktop.el (desktop-auto-save-timeout): Change default to
4564 `auto-save-timeout'. Doc fix.
4565 (desktop-save): Skip the timestamp in desktop-saved-frameset
4566 when checking for auto-save changes.
4567 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4568 `desktop-auto-save' is called repeatedly by the idle timer.
4569 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4570 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4571 (Bug#15331)
4572
4573 2013-12-16 Juri Linkov <juri@jurta.org>
4574
4575 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4576 (Bug#16035)
4577 (isearch-pre-command-hook): Check `this-command' for symbolp.
4578
4579 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4580
4581 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4582
4583 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4584
4585 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4586 (cfengine3--current-function): Bring in the current-function
4587 functionality from `cfengine3--current-word'.
4588 (cfengine3-completion-function): Bring in the
4589 bounds-of-current-word functionality from
4590 `cfengine3--current-word'.
4591
4592 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4593
4594 * window.el (display-buffer-below-selected):
4595 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4596
4597 2013-12-16 Leo Liu <sdl.web@gmail.com>
4598
4599 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4600 Remove NOMSG arg and all uses changed.
4601
4602 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4605 (cua--deactivate-rectangle): Don't deactivate the mark.
4606 (cua-set-rectangle-mark): Don't set mark-active since
4607 cua--activate-rectangle already does it for us.
4608 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4609 non-rectangular region.
4610
4611 * emulation/cua-base.el (cua-repeat-replace-region):
4612 Use with-current-buffer.
4613
4614 * net/gnutls.el: Use cl-lib.
4615 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4616
4617 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4618
4619 * emacs-lisp/package.el (package-built-in-p): Support both
4620 built-in and the package.el converted package descriptions.
4621 (package-show-package-list): Allow keywords.
4622 (package-keyword-button-action): Use it instead of
4623 `finder-list-matches'.
4624 (package-menu-filter-interactive): Interactive filtering (by
4625 keyword) function.
4626 (package-menu--generate): Support keywords and change keymappings
4627 and headers when they are given.
4628 (package--has-keyword-p): Helper function.
4629 (package-menu--refresh): Use it.
4630 (package--mapc): Helper function.
4631 (package-all-keywords): Use it.
4632 (package-menu-mode-map): Set up menu items and keybindings to
4633 provide a filtering UI.
4634
4635 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4636
4637 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4638 the behavior when a certificate fails validation. Defaults to
4639 old behavior: never abort, just warn.
4640 (gnutls-negotiate): Use it.
4641
4642 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4643
4644 * window.el (display-buffer-below-selected): Never split window
4645 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4646
4647 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4648
4649 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4650 (package-buffer-info): Use it (bug#15108).
4651
4652 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * icomplete.el (icomplete-completions): Make sure the prefix is already
4655 displayed elsewhere before hiding it (bug#16219).
4656
4657 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4658
4659 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4660 open-paren tokens when preceded by a open-paren, too.
4661 (ruby-smie-rules): Handle virtual indentation after open-paren
4662 tokens specially. If there is code between it and eol, return the
4663 column where is starts (Bug#16118).
4664
4665 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4666
4667 * progmodes/cfengine.el: Fix `add-hook' doc.
4668 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4669 (cfengine3--current-word): Fix parameters.
4670 (cfengine3-make-syntax-cache): Simplify further.
4671 (cfengine3-completion-function, cfengine3--current-function):
4672 Use `assq' for symbols.
4673 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4674
4675 2013-12-13 Glenn Morris <rgm@gnu.org>
4676
4677 * loadup.el (load-path): Warn if site-load or site-init changes it.
4678 No more need to reset it when bootstrapping.
4679
4680 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4681
4682 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4683 locations for cf-promises.
4684 (cfengine-mode-syntax-functions-regex): New caching variable.
4685 (cfengine3-fallback-syntax): Fallback syntax for cases where
4686 cf-promises doesn't run.
4687 (cfengine3--current-word): Reimplement using
4688 `cfengine-mode-syntax-functions-regex'.
4689 (cfengine3-completion-function, cfengine3--current-function):
4690 Use `cfengine3-make-syntax-cache' directly.
4691 (cfengine3-clear-syntax-cache): New function.
4692 (cfengine3-make-syntax-cache): Simplify and create
4693 `cfengine-mode-syntax-functions-regex' on demand.
4694 (cfengine3-format-function-docstring): Don't call
4695 `cfengine3-make-syntax-cache' explicitly.
4696
4697 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4698
4699 Fix windmove-find-other-window broken after pixelwise resizing
4700 (Bug#16017).
4701 * windmove.el (windmove-other-window-loc): Revert change from
4702 2013-12-04.
4703 (windmove-find-other-window): Call window-in-direction.
4704 * window.el (window-in-direction): New arguments SIGN, WRAP and
4705 MINI to emulate original windmove-find-other-window behavior.
4706
4707 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4708
4709 * simple.el (blink-matching--overlay): New variable.
4710 (blink-matching-open): Instead of moving point, highlight the
4711 matching paren with an overlay
4712 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4713
4714 * faces.el (paren-showing-faces, show-paren-match)
4715 (show-paren-mismatch): Move from paren.el.
4716
4717 2013-12-13 Leo Liu <sdl.web@gmail.com>
4718
4719 * indent.el (indent-region): Disable progress reporter in
4720 minibuffer. (Bug#16108)
4721
4722 * bindings.el (visual-order-cursor-movement): Fix version.
4723
4724 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4725
4726 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4727 Also match after beginning of line.
4728 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4729 files. Thanks to Russell Sim. (Bug#15378)
4730
4731 2013-12-13 Juri Linkov <juri@jurta.org>
4732
4733 * simple.el <Keypad support>: Remove key bindings duplicated
4734 with bindings.el. (Bug#14397)
4735
4736 2013-12-13 Juri Linkov <juri@jurta.org>
4737
4738 * comint.el (comint-mode-map): Replace `delete-char' with
4739 `delete-forward-char'. (Bug#16109)
4740
4741 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4742
4743 * progmodes/python.el (python-indent-calculate-indentation):
4744 Fix de-denters cornercase. (Bug#15731)
4745
4746 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4749 (advice--make): Pay attention to `depth'.
4750 (advice--make-1): Don't autoload commands eagerly.
4751 * emacs-lisp/elp.el (elp-instrument-function):
4752 * emacs-lisp/trace.el (trace-function-internal):
4753 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4754
4755 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4756
4757 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4758
4759 * term/w32-win.el (w32-handle-dropped-file):
4760 * startup.el (normal-top-level):
4761 * net/browse-url.el (browse-url-file-url):
4762 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4763 decode file names using 'utf-8' rather than
4764 file-name-coding-system.
4765
4766 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4767
4768 * progmodes/python.el (python-indent-context)
4769 (python-indent-calculate-indentation): Fix auto-identation
4770 behavior for comment blocks. (Bug#15916)
4771
4772 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4773
4774 * progmodes/python.el (python-indent-calculate-indentation):
4775 When determining indentation, don't treat "return", "pass", etc., as
4776 operators when they are just string constituents. (Bug#15812)
4777
4778 2013-12-12 Juri Linkov <juri@jurta.org>
4779
4780 * uniquify.el (uniquify-buffer-name-style): Change default to
4781 `post-forward-angle-brackets'.
4782
4783 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4784 `uniquify'. Change default to `post-forward-angle-brackets'.
4785
4786 2013-12-11 Glenn Morris <rgm@gnu.org>
4787
4788 * emacs-lisp/package.el (finder-list-matches):
4789 Autoload rather than falsely declaring.
4790
4791 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4792
4793 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4794 (eww-mode-map): Use them.
4795
4796 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4797
4798 * window.el (display-buffer-in-side-window): Fix doc-string
4799 (Bug#16115).
4800
4801 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4802
4803 * vc/vc-git.el: Silence byte-compiler warnings.
4804 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4805 (log-edit-set-header): Declare.
4806
4807 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4808
4809 * Makefile.in (custom-deps, finder-data): Run output file names
4810 through unmsys--file-name. (Bug#16099)
4811
4812 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4813
4814 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4815 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4816
4817 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4818 instead of deleting the selection "by hand" (bug#16098).
4819 Rely on insert-for-yank to yank rectangles.
4820 (cua-highlight-region-shift-only): Mark obsolete.
4821 (cua-mode): Don't enable/disable transient-mark-mode,
4822 shift-select-mode (cua-mode works both with and without them), and
4823 pc-selection-mode (obsolete).
4824 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4825 (cua--deactivate-rectangle): Deactivate it.
4826
4827 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4828 (delete-selection-helper): Make sure yank starts at the top of the
4829 deleted region.
4830 (minibuffer-keyboard-quit): Use region-active-p.
4831
4832 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4833
4834 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4835 to `delete' (bug#16109).
4836
4837 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4838
4839 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4840 info manual and show keybindings and set `:group' keyword.
4841
4842 2013-12-11 Juri Linkov <juri@jurta.org>
4843
4844 * delsel.el (delete-active-region): Let-bind `this-command'
4845 to prevent `kill-region' from changing its original value.
4846 (delete-selection-helper): Handle `overwrite-mode' for the type
4847 `kill' exactly the same way as for the type `t'.
4848 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4849 Support more commands. (Bug#13312)
4850
4851 2013-12-11 Juri Linkov <juri@jurta.org>
4852
4853 * bindings.el: Map kp keys to non-kp keys systematically
4854 with basic modifiers control, meta and shift. (Bug#14397)
4855
4856 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4857
4858 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4859 "Close browser" menu items. Fix wrong function of "List
4860 bookmarks".
4861
4862 2013-12-11 Juri Linkov <juri@jurta.org>
4863
4864 * misearch.el (multi-isearch-buffers): Set the value of
4865 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4866 arg of isearch-forward to t.
4867 (multi-isearch-buffers-regexp): Set the value of
4868 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4869 arg of isearch-forward-regexp to t.
4870 (multi-isearch-files): Set the value of
4871 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4872 arg of isearch-forward to t.
4873 (multi-isearch-files-regexp): Set the value of
4874 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4875 arg of isearch-forward-regexp to t. (Bug#16035)
4876
4877 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4878 arg of isearch-forward to t.
4879 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4880 arg of isearch-forward-regexp to t.
4881 (dired-isearch-filter-filenames): Remove unnecessary check for
4882 `dired-isearch-filenames'.
4883
4884 * comint.el (comint-history-isearch-backward):
4885 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4886 (comint-history-isearch-backward-regexp):
4887 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4888
4889 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4890
4891 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4892 unmsys--file-name. (Bug#16099)
4893
4894 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4895
4896 * emacs-lisp/package.el (package-keyword-button-action):
4897 Remove finder.el require dependency.
4898
4899 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4900
4901 * emacs-lisp/package.el: Require finder.el.
4902 (describe-package-1): Add keyword buttons.
4903 (package-make-button): New convenience function.
4904 (package-keyword-button-action): Keyword button action using
4905 `finder-list-matches'.
4906
4907 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4908
4909 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4910 last commit.
4911
4912 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4913
4914 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4915 symlinked files.
4916
4917 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4918
4919 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4920 after the end of a percent literal.
4921
4922 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4923
4924 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4925 Handle caret-delimited strings (Bug#16079).
4926
4927 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4928
4929 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4930 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4931 `ruby-parse-partial' (Bug#16078).
4932
4933 2013-12-09 Leo Liu <sdl.web@gmail.com>
4934
4935 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4936
4937 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4938
4939 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4940 (js-switch-indent-offset): New option.
4941 (js--proper-indentation): Use it. And handle the case when
4942 "default" is actually a key in an object literal.
4943 (js--same-line): New function.
4944 (js--multi-line-declaration-indentation): Use it.
4945 (js--indent-in-array-comp, js--array-comp-indentation):
4946 New functions.
4947 (js--proper-indentation): Use them, to handle array comprehension
4948 continuations.
4949
4950 2013-12-08 Leo Liu <sdl.web@gmail.com>
4951
4952 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4953 (flymake-make-overlay): Remove arg MOUSE-FACE.
4954 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4955
4956 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4957
4958 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4959 New function.
4960 (redisplay-highlight-region-function): Use it.
4961
4962 * emulation/cua-base.el (cua--explicit-region-start)
4963 (cua--last-region-shifted): Remove.
4964 (cua--deactivate): Use deactivate-mark.
4965 (cua--pre-command-handler-1): Don't handle shift-selection.
4966 (cua--post-command-handler-1): Don't change transient-mark-mode.
4967 (cua--select-keymaps): Use region-active-p rather than
4968 cua--explicit-region-start or cua--last-region-shifted.
4969 (cua-mode): Enable shift-select-mode.
4970
4971 2013-12-08 Leo Liu <sdl.web@gmail.com>
4972
4973 * progmodes/flymake.el (flymake-popup-current-error-menu):
4974 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4975 (flymake-posn-at-point-as-event, flymake-popup-menu)
4976 (flymake-make-emacs-menu): Remove. (Bug#16077)
4977
4978 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * rect.el (rectangle-mark-mode): Activate mark even if
4981 transient-mark-mode is off (bug#16066).
4982 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4983 is > mark and at bolp.
4984
4985 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4986 (region-extract-function): Use it.
4987 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4988 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4989 Delete functions.
4990 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4991 kill-ring-save, kill-region, delete-char, delete-forward-char.
4992 Ignore self-insert-iso.
4993
4994 * emulation/cua-gmrk.el (cua--init-global-mark):
4995 Ignore `self-insert-iso'.
4996
4997 * emulation/cua-base.el (cua--prefix-copy-handler)
4998 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4999 checking cua--rectangle.
5000 (cua-delete-region): Use region-extract-function.
5001 (cua-replace-region): Delete function.
5002 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5003 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5004 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5005 (cua--init-keymaps): Don't remap delete-selection commands.
5006 (cua-mode): Use delete-selection-mode instead of rolling our own
5007 (bug#16085).
5008
5009 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5010 Obey region-extract-function.
5011
5012 Make registers and delete-selection-mode work on rectangles.
5013 * register.el (describe-register-1): Don't modify the register's value.
5014 (copy-to-register): Obey region-extract-function.
5015 * delsel.el (delete-active-region): Obey region-extract-function.
5016
5017 2013-12-08 Leo Liu <sdl.web@gmail.com>
5018
5019 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5020 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5021 (flymake-compilation-prevents-syntax-check)
5022 (flymake-start-syntax-check-on-newline)
5023 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5024 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5025 (flymake-xml-program, flymake-master-file-dirs)
5026 (flymake-master-file-count-limit)
5027 (flymake-allowed-file-name-masks): Relocate.
5028 (flymake-makehash, flymake-float-time)
5029 (flymake-replace-regexp-in-string, flymake-split-string)
5030 (flymake-get-temp-dir): Remove.
5031 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5032 (flymake-current-row, flymake-selected-frame)
5033 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5034 related functions. (Bug#16077)
5035
5036 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5037
5038 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5039
5040 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5041
5042 * help-fns.el (describe-function-1): Use new advice-* functions
5043 rather than old ad-* functions. Fix function type description and
5044 source links for advised functions and subrs.
5045
5046 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5047
5048 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5049
5050 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5051
5052 * progmodes/compile.el (compilation-start):
5053 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5054
5055 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5056 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5057
5058 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5059
5060 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5061 Touch up the last change.
5062
5063 2013-12-06 Leo Liu <sdl.web@gmail.com>
5064
5065 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5066 (inferior-octave-startup): Always use "octave> " for prompt.
5067 (octave-goto-function-definition)
5068 (octave-sync-function-file-names)
5069 (octave-find-definition-default-filename): Remove redundant backquotes.
5070
5071 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5072
5073 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5074 syntax for `?'.
5075 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5076 where appropriate already.
5077 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5078 end of method names (Bug#15874).
5079
5080 2013-12-06 Juri Linkov <juri@jurta.org>
5081
5082 * isearch.el (isearch--saved-overriding-local-map):
5083 New internal variable.
5084 (isearch-mode): Set it to the initial value of
5085 `overriding-terminal-local-map'.
5086 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5087 with `isearch--saved-overriding-local-map'. (Bug#16035)
5088
5089 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5090
5091 * progmodes/octave.el (inferior-octave-completion-table):
5092 Turn back into function, use `completion-table-with-cache'
5093 (Bug#11906). Update all references.
5094
5095 * minibuffer.el (completion-table-with-cache): New function.
5096
5097 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5098
5099 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5100
5101 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5102
5103 * net/eww.el (eww-current-source): New variable to store page
5104 source.
5105 (eww-display-html, eww-mode, eww-save-history)
5106 (eww-restore-history): Use it.
5107 (eww-view-source): New command to view page source.
5108 Opportunistically uses `html-mode' to highlight the buffer.
5109 (eww-mode-map): Install it.
5110
5111 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5112
5113 * net/dbus.el (dbus-unregister-service)
5114 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5115 Fix docstring.
5116 (dbus-unregister-service): Skip :serial entries in
5117 `dbus-registered-objects-table'.
5118 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5119
5120 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5121
5122 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5123 around keywords with extra `split-string' argument.
5124
5125 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5126
5127 * windmove.el (windmove-other-window-loc): Handle navigation
5128 between windows (excluding the minibuffer window - Bug#16017).
5129
5130 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5131
5132 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5133 in D-Bus type syntax.
5134 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5135 preserve unibyte strings. (Bug#16048)
5136
5137 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5140 Call force-mode-line-update is the proper buffer (bug#16042).
5141
5142 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5143
5144 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5145 `log-edit-remember-comment', make argument optional. Adjust all
5146 callers.
5147 (log-edit-mode): Add `log-edit-remember-comment' to
5148 `kill-buffer-hook' locally.
5149 (log-edit-kill-buffer): Don't remember comment explicitly since
5150 the buffer is killed anyway.
5151
5152 2013-12-04 Juri Linkov <juri@jurta.org>
5153
5154 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5155 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5156
5157 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5158
5159 * notifications.el (notifications-close-notification): Call the
5160 D-Bus method with ID being a `:uint32'. (Bug#16030)
5161
5162 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5163
5164 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5165
5166 2013-12-03 Juri Linkov <juri@jurta.org>
5167
5168 * progmodes/compile.el (compilation-start): Rename window alist
5169 entry `no-display-ok' to `allow-no-window'.
5170
5171 * simple.el (shell-command): Add window alist entry
5172 `allow-no-window' to `display-buffer'.
5173 (async-shell-command): Doc fix.
5174
5175 * window.el (display-buffer-no-window): New action function.
5176 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5177
5178 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5179
5180 * vc/log-edit.el (log-edit-set-header): Extract from
5181 `log-edit-toggle-header'.
5182 (log-edit-extract-headers): Separate the summary, when extracted
5183 from header, from the rest of the message with an empty line.
5184
5185 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5186 line, if present, to the Summary header.
5187
5188 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5191 in current-buffer (bug#16029).
5192
5193 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5194
5195 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5196 (debugger-mode-map): Bind it.
5197 (debugger--backtrace-base): New function.
5198 (debugger-eval-expression): Use it.
5199 (debugger-frame-number): Skip local vars when present.
5200 (debugger--locals-visible-p, debugger--insert-locals)
5201 (debugger--show-locals, debugger--hide-locals): New functions.
5202
5203 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5204
5205 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5206 "LC_ALL".
5207 (tramp-get-remote-locale): New defun.
5208 (tramp-open-connection-setup-interactive-shell): Use it.
5209
5210 2013-12-02 Leo Liu <sdl.web@gmail.com>
5211
5212 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5213
5214 * progmodes/sh-script.el (sh-shell-process):
5215 * progmodes/octave.el (inferior-octave-process-live-p):
5216 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5217 (gdb-inferior-io-sentinel):
5218 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5219
5220 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5221
5222 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5223 `save-selected-window' to `log-edit-hide-buf'. This makes
5224 `log-edit-show-files' idempotent.
5225 (log-edit-show-files): Mark the new window as dedicated.
5226
5227 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5228
5229 * vc/log-edit.el (log-edit-mode-map): Add binding for
5230 `log-edit-kill-biffer'.
5231 (log-edit-hide-buf): Add a FIXME comment.
5232 (log-edit-add-new-comment): New function, extracted from
5233 `log-edit-done'.
5234 (log-edit-done, log-edit-add-to-changelog): Use it.
5235 (log-edit-kill-buffer): New command.
5236
5237 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5238
5239 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5240 instead of killing the buffer.
5241
5242 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5245
5246 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5247
5248 * net/eww.el (eww-form-checkbox-selected-symbol)
5249 (eww-form-checkbox-symbol): New customizable variable.
5250 (eww-form-checkbox, eww-toggle-checkbox):
5251 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5252
5253 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5254 (shr--get-media-pref, shr--extract-best-source): New function.
5255 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5256 no :src tag was specified.
5257
5258 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5259 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5260 Use \\` to match beginning of string instead of ^.
5261 (eww-browse-with-external-browser): Provide optional URL parameter.
5262 (eww-render): Set `eww-current-title' back to "".
5263
5264 * net/shr.el (shr-tag-video): Display content for video if no
5265 poster is available.
5266 (shr-tag-audio): Add support for <audio> tag.
5267
5268 * net/eww.el (eww-text-input-types): New const.
5269 (eww-process-text-input): Treat input types in
5270 `eww-text-input-types' as text.
5271
5272 * net/shr.el (shr-tag-table): Fix comment typo.
5273
5274 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5275
5276 * net/eww.el (eww-follow-link): New command to avoid reloading
5277 pages when we follow #target links (bug#15243).
5278 (eww-quit): Special mode buffers shouldn't query before exiting.
5279
5280 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5281
5282 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5283 forms.
5284
5285 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5286
5287 * net/eww.el (eww-restore-history): Update the window title after
5288 moving in the history.
5289 (eww-current-dom): New variable used to save the current DOM.
5290
5291 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5292
5293 * vc/log-edit.el (log-edit-mode-map): Add binding for
5294 `log-edit-beginning-of-line'.
5295 (log-edit-setup-add-author): New user option.
5296 (log-edit-beginning-of-line): New command.
5297 (log-edit): Move major mode call above the contents setup so that
5298 the local variable values are already applied.
5299 (log-edit): Only insert "Author: " when
5300 `log-edit-setup-add-author' is non-nil.
5301 (log-edit): When SETUP is non-nil, position point after ": "
5302 instead of point-min.
5303
5304 2013-12-01 Glenn Morris <rgm@gnu.org>
5305
5306 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5307
5308 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5309
5310 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5311 redisplay to make sure the initial frame gets a chance to become
5312 visible. (Bug#16014)
5313
5314 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5315
5316 Support resizing frames and windows pixelwise.
5317 * cus-start.el (frame-resize-pixelwise)
5318 (window-resize-pixelwise): New entries.
5319 * emacs-lisp/debug.el (debug): Use window-total-height instead
5320 of window-total-size.
5321 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5322 * help.el (describe-bindings-internal): Use help-buffer as
5323 argument for with-help-window.
5324 (temp-buffer-max-width): New option.
5325 (resize-temp-buffer-window, help-window-setup)
5326 (with-help-window): Rewrite.
5327 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5328 dragging dividers.
5329 * window.el (frame-char-size, window-min-pixel-height)
5330 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5331 (window-min-pixel-width, window-safe-min-pixel-size)
5332 (window-combination-p, window-safe-min-size)
5333 (window-resizable-p, window--size-to-pixel)
5334 (window--pixel-to-size, window--resize-apply-p): New functions.
5335 (window-safe-min-height): Fix doc-string.
5336 (window-size, window-min-size, window--min-size-1)
5337 (window-sizable, window-sizable-p, window--min-delta-1)
5338 (window-min-delta, window--max-delta-1, window-max-delta)
5339 (window--resizable, window--resizable-p, window-resizable)
5340 (window-full-height-p, window-full-width-p, window-at-side-p)
5341 (window--in-direction-2, window-in-direction)
5342 (window--resize-reset-1, window--resize-mini-window)
5343 (window-resize, window-resize-no-error)
5344 (window--resize-child-windows-normal)
5345 (window--resize-child-windows, window--resize-siblings)
5346 (window--resize-this-window, window--resize-root-window)
5347 (window--resize-root-window-vertically)
5348 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5349 (maximize-window, minimize-window, delete-window)
5350 (quit-restore-window, window-split-min-size, split-window)
5351 (balance-windows-2, balance-windows)
5352 (balance-windows-area-adjust, balance-windows-area)
5353 (window--state-get-1, window-state-get, window--state-put-1)
5354 (window--state-put-2, window-state-put)
5355 (display-buffer-record-window, window--display-buffer):
5356 Make functions handle pixelwise sizing of windows.
5357 (display-buffer--action-function-custom-type)
5358 (display-buffer-fallback-action):
5359 Add display-buffer-in-previous-window.
5360 (display-buffer-use-some-window): Resize window to height it had
5361 before.
5362 (fit-window-to-buffer-horizontally): New option.
5363 (fit-frame-to-buffer): Describe new values.
5364 (fit-frame-to-buffer-bottom-margin): Replace with
5365 fit-frame-to-buffer-margins.
5366 (window--sanitize-margin): New function.
5367 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5368 using window-text-pixel-size.
5369
5370 2013-11-30 Glenn Morris <rgm@gnu.org>
5371
5372 * emacs-lisp/bytecomp.el (byte-compile-form):
5373 Make the `interactive-only' warning like the `obsolete' one.
5374 * comint.el (comint-run):
5375 * files.el (insert-file-literally, insert-file):
5376 * replace.el (replace-string, replace-regexp):
5377 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5378 (goto-line, insert-buffer, next-line, previous-line):
5379 Tweak `interactive-only' spec.
5380
5381 Stop keeping (most) generated cedet grammar files in the repository.
5382 * Makefile.in (semantic): New.
5383 (compile-main): Depend on semantic.
5384
5385 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5388 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5389
5390 * uniquify.el (uniquify-buffer-name-style): Change default.
5391
5392 * loadup.el: Preload "uniquify".
5393
5394 * time.el (display-time-update): Update all mode lines (bug#15999).
5395
5396 * electric.el (electric-indent-mode): Enable by default.
5397 * loadup.el: Preload "electric".
5398
5399 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5400
5401 * emacs-lisp/helpers.el (string-empty-p): New function.
5402 (string-blank-p): New function.
5403
5404 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5405
5406 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5407 (Bug#14029).
5408
5409 2013-11-29 Andreas Politz <politza@fh-trier.de>
5410 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5411 allow non-lambda lists as functions.
5412 (imenu--in-alist): Don't recurse into non-subalists.
5413 (imenu): Don't pass function itself as an argument (Bug#14029).
5414
5415 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * progmodes/python.el (python-mode-map): Remove binding for ":".
5418 (python-indent-electric-colon): Remove command.
5419 (python-indent-post-self-insert-function): Integrate the previous code
5420 of python-indent-electric-colon. Make it conditional on
5421 electric-indent-mode.
5422 (python-mode): Add ?: to electric-indent-chars.
5423 Move python-indent-post-self-insert-function to the end of
5424 post-self-insert-hook.
5425
5426 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5427
5428 * doc-view.el (doc-view-goto-page): Update mode-line.
5429
5430 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5431
5432 2013-11-27 Glenn Morris <rgm@gnu.org>
5433
5434 * international/charprop.el, international/uni-bidi.el:
5435 * international/uni-category.el, international/uni-combining.el:
5436 * international/uni-comment.el, international/uni-decimal.el:
5437 * international/uni-decomposition.el, international/uni-digit.el:
5438 * international/uni-lowercase.el, international/uni-mirrored.el:
5439 * international/uni-name.el, international/uni-numeric.el:
5440 * international/uni-old-name.el, international/uni-titlecase.el:
5441 * international/uni-uppercase.el:
5442 Remove generated files from VCS repository.
5443
5444 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5445
5446 * filenotify.el (file-notify-add-watch): Don't special-case
5447 w32notify when computing the directory to watch.
5448
5449 2013-11-27 Glenn Morris <rgm@gnu.org>
5450
5451 Make bootstrap without generated uni-*.el files possible again.
5452 * loadup.el: Update command-line-args checking for unidata-gen.
5453 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5454 * composite.el, international/characters.el:
5455 Handle unicode tables being undefined.
5456
5457 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5458 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5459 (compile-main): Depend on leim rule.
5460 (leim): New rule.
5461 * loadup.el: Move leim-list.el to leim/ subdirectory.
5462 * startup.el (normal-top-level): No more leim directory.
5463 * international/ja-dic-cnv.el (skkdic-convert):
5464 Disable version-control and autoloads in output files.
5465 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5466 Disable version-control and autoloads in output files.
5467 * leim/quail: Move here from ../leim.
5468 * leim/quail/hangul.el (hangul-input-method-activate):
5469 Add autoload cookie.
5470 (generated-autoload-load-name): Set file-local value.
5471 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5472 (generated-autoload-load-name): Set file-local value.
5473
5474 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5475
5476 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5477 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5478 (eww-quit): Ask confirmation before quitting eww.
5479
5480 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5481
5482 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5483 reading output from Diff on MS-Windows and MS-DOS.
5484
5485 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5486
5487 * emacs-lisp/helpers.el (string-reverse): New function.
5488
5489 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5490
5491 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5492 names on MS Windows, like "/[::1]:".
5493
5494 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5495 SWITCHES.
5496
5497 2013-11-26 Glenn Morris <rgm@gnu.org>
5498
5499 * progmodes/python.el (python-indent-guess-indent-offset):
5500 Avoid corner-case error. (Bug#15975)
5501
5502 Preload leim-list.el. (Bug#4789)
5503 * loadup.el: Load leim-list.el when found.
5504 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5505
5506 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5507
5508 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5509
5510 * emacs-lisp/helpers.el (string-join): New function.
5511
5512 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5513
5514 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5515 Mark as obsolete and replace it with a symbol property.
5516 (byte-compile-form): Use new 'interactive-only property.
5517 * comint.el, files.el, replace.el, simple.el:
5518 Apply new 'interactive-only properly.
5519
5520 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5521
5522 * window.el (display-buffer-at-bottom): Make sure that
5523 split-window-sensibly creates the new window on bottom
5524 (Bug#15961).
5525
5526 2013-11-23 David Kastrup <dak@gnu.org>
5527
5528 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5529 on the conflict markers when available.
5530 (smerge--get-marker): New function.
5531 (smerge-end-re, smerge-base-re): Add subgroup.
5532
5533 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5534
5535 * frame.el (handle-focus-in, handle-focus-out): Add missing
5536 interactive spec.
5537
5538 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5539
5540 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5541 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5542
5543 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5544
5545 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5546 (gomoku--last-pos): New var.
5547 (gomoku--intangible-chars): New const.
5548 (gomoku--intangible): New function.
5549 (gomoku-mode): Use it. Derive from special-mode.
5550 (gomoku-move-up): Adjust line count.
5551 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5552 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5553 Simplify accordingly.
5554
5555 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5556 Remove blink-cursor code.
5557 (blink-cursor-timer-function, blink-cursor-suspend):
5558 Don't special-case GUIs.
5559 (blink-cursor-mode): Use focus-in/out-hook.
5560
5561 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5562
5563 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5564 work when annotation is invisible (Bug#13886).
5565
5566 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5567
5568 * json.el (json-alist-p): Only return non-nil if the alist has
5569 simple keys (Bug#13518).
5570
5571 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5572
5573 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5574 when control-statement is the first statement in a buffer (Bug#15956).
5575
5576 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5577
5578 * imenu.el (imenu-generic-skip-comments-and-strings):
5579 New option (Bug#15560).
5580 (imenu--generic-function): Use it.
5581
5582 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5583
5584 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5585 (Bug#13898)
5586
5587 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5588
5589 * emacs-lisp/helpers.el: Add some string helpers.
5590 (string-trim-left): Removes leading whitespace.
5591 (string-trim-right): Removes trailing whitespace.
5592 (string-trim): Removes leading and trailing whitespace.
5593
5594 * subr.el (string-suffix-p): New function.
5595
5596 2013-11-23 Glenn Morris <rgm@gnu.org>
5597
5598 * progmodes/python.el (python-shell-send-file):
5599 Add option to delete file when done. (Bug#15647)
5600 (python-shell-send-string, python-shell-send-region): Use it.
5601
5602 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5603
5604 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5605 to set buffer-read-only to t, never to nil. (Bug#15938)
5606
5607 * textmodes/tex-mode.el (latex-noindent-environments):
5608 Add safe-local-variable property. (Bug#15936)
5609
5610 2013-11-23 Glenn Morris <rgm@gnu.org>
5611
5612 * textmodes/enriched.el (enriched-mode): Doc fix.
5613 * emacs-lisp/authors.el (authors-renamed-files-alist):
5614 Add enriched.doc -> enriched.txt.
5615
5616 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5617
5618 2013-11-22 Leo Liu <sdl.web@gmail.com>
5619
5620 * progmodes/octave.el (inferior-octave-startup): Spit out error
5621 message.
5622
5623 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5624
5625 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5626 Improve docstring.
5627 Add :version.
5628 (ruby-encoding-magic-comment-style): Add :version.
5629
5630 2013-11-22 Leo Liu <sdl.web@gmail.com>
5631
5632 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5633 (Bug#15076)
5634 (octave-help-mode): Adapt to change to help-mode-finish to use
5635 derived-mode-p on 2013-09-17.
5636 (inferior-octave-prompt): Also match octave-gui.
5637 (octave-kill-process): Don't ask twice. (Bug#10564)
5638
5639 2013-11-22 Leo Liu <sdl.web@gmail.com>
5640
5641 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5642 (inferior-octave-startup, inferior-octave-check-process)
5643 (inferior-octave-track-window-width-change)
5644 (octave-completion-at-point, octave-eldoc-function): Use it.
5645 (octave-kill-process): Provide confirmation. (Bug#10564)
5646
5647 2013-11-21 Leo Liu <sdl.web@gmail.com>
5648
5649 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5650 Fix obsolete variable comment-use-global-state.
5651
5652 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5653
5654 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5655 Add `octave-source-file'.
5656 (octave-source-file): New function. (Bug#15935)
5657
5658 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5659
5660 * net/eww.el (eww-local-regex): New variable.
5661 (eww): Use it to detect localhost and similar.
5662
5663 2013-11-21 Leo Liu <sdl.web@gmail.com>
5664
5665 Add completion for command `ag'.
5666 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5667 (pcomplete/ag): New function.
5668 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5669
5670 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5673 (bug#14646).
5674 (make-obsolete): Remove interactive spec.
5675
5676 2013-11-21 Glenn Morris <rgm@gnu.org>
5677
5678 * startup.el (command-line-1): Use path-separator with -L.
5679
5680 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5681
5682 * emacs-lisp/package.el (describe-package-1): Add package archive
5683 to shown fields.
5684
5685 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5686
5687 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5688 Change default to "# encoding: %s" to differentiate it from the
5689 default Ruby encoding comment template.
5690
5691 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5692
5693 * ses.el (ses-mode): Doc fix. (Bug#14748)
5694
5695 2013-11-20 Leo Liu <sdl.web@gmail.com>
5696
5697 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5698
5699 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5700
5701 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5702 when rebase or bisect are in progress.
5703
5704 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5705
5706 * filenotify.el (file-notify-add-watch): Doc fix.
5707
5708 2013-11-19 Leo Liu <sdl.web@gmail.com>
5709
5710 * obsolete/rcompile.el: Mark obsolete.
5711
5712 * progmodes/compile.el (compilation-start)
5713 (compilation-goto-locus, compilation-find-file):
5714 Pass no-display-ok and handle nil value from display-buffer.
5715 (Bug#13594)
5716
5717 * window.el (display-buffer-alist, display-buffer): Document the
5718 new parameter no-display-ok. Return either a window or nil
5719 but never a non-window value.
5720
5721 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * electric.el (electric-indent-mode-map): Remove.
5724 (electric-indent-mode): Change the global-map instead (bug#15915).
5725
5726 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5727 Use add-function.
5728
5729 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * emacs-lisp/nadvice.el (remove-function): Align with
5732 add-function's behavior.
5733
5734 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5735 (gdb--string-regexp): New constant.
5736 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5737 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5738 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5739 submatch 1.
5740 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5741 Adjust use accordingly.
5742 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5743
5744 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5745
5746 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5747 interpolation curlies (Bug#15914).
5748
5749 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5750
5751 * calc/calc.el (calc-context-sensitive-enter): New variable.
5752 (calc-enter): Use `calc-context-sensitive-enter'.
5753
5754 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5755
5756 * progmodes/cfengine.el: Version bump.
5757 (cfengine-cf-promises): New defcustom to locate cf-promises.
5758 (cfengine3-vartypes): Add new "data" type.
5759 (cfengine3--current-word): New function to get current name-like
5760 word or its bounds.
5761 (cfengine3--current-function): New function to look up a CFEngine
5762 function's definition.
5763 (cfengine3-format-function-docstring): New function.
5764 (cfengine3-make-syntax-cache): New function.
5765 (cfengine3-documentation-function): New function: ElDoc glue.
5766 (cfengine3-completion-function): New function: completion glue.
5767 (cfengine3-mode): Set `compile-command',
5768 `eldoc-documentation-function', and add to
5769 `completion-at-point-functions'.
5770
5771 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5772
5773 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5774 `tramp-current-connection'.
5775
5776 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5777
5778 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5779 nil/self/true/false with "end of symbol".
5780
5781 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5782
5783 * subr.el (version-regexp-alist): Fix a typo.
5784
5785 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5786
5787 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5788 "en_US.utf8" and "LC_CTYPE" to "".
5789 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5790 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5791
5792 2013-11-15 Leo Liu <sdl.web@gmail.com>
5793
5794 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5795
5796 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * progmodes/gud.el (ctl-x-map):
5799 Remove C-x SPC binding. (Bug#12342)
5800 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5801
5802 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5803
5804 * subr.el (version-regexp-alist):
5805 Recognize hg, svn and darcs versions as snapshot versions.
5806
5807 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5808 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5809 (ruby--encoding-comment-required-p): Extract from
5810 `ruby-mode-set-encoding'.
5811 (ruby-mode-set-encoding): Add the ability to always insert an
5812 utf-8 encoding comment. Fix and simplify coding comment update
5813 logic.
5814
5815 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5816
5817 * net/tramp-gvfs.el (top): Run init code only when
5818 `tramp-gvfs-enabled' is not nil.
5819 (tramp-gvfs-enabled): Check also :system bus.
5820
5821 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5822
5823 Sync with upstream verilog-mode revision 78e66ba.
5824 * progmodes/verilog-mode.el (verilog-end-of-defun)
5825 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5826 (verilog-get-end-of-defun): Remove unused argument.
5827 (verilog-comment-depth): Remove unused local `e'.
5828 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5829 Don't pass arg to verilog-get-end-of-defun.
5830
5831 2013-11-14 Glenn Morris <rgm@gnu.org>
5832
5833 * obsolete/assoc.el (aget): Prefix dynamic variable.
5834
5835 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5836
5837 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * widget.el, hfy-cmap.el: Remove bogus package version number.
5840
5841 2013-11-13 Glenn Morris <rgm@gnu.org>
5842
5843 * replace.el (replace-eval-replacement):
5844 Try to give more helpful error message. (Bug#15836)
5845
5846 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5847 (archive-7z-update): Avoid custom type mismatches.
5848
5849 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5850
5851 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5852
5853 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5854 address can be empty.
5855
5856 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5857 Accept nil SWITCHES.
5858 (tramp-gvfs-handle-write-region): Implement APPEND.
5859
5860 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5861
5862 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5863 binary "|" operator and closing block args delimiter.
5864 Remove FIXME comment referring to Ruby 1.8-only syntax.
5865 (ruby-smie--implicit-semi-p): Not after "|" operator.
5866 (ruby-smie--closing-pipe-p): New function.
5867 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5868 (ruby-smie-rules): Indent after "|".
5869
5870 2013-11-12 Glenn Morris <rgm@gnu.org>
5871
5872 * ps-print.el (ps-face-attribute-list):
5873 Handle anonymous faces. (Bug#15827)
5874
5875 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5876
5877 * window.el (display-buffer-other-frame): Fix doc-string.
5878 (Bug#15868)
5879
5880 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5883
5884 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5887 (tramp-sh-handle-file-local-copy): Don't write a message when
5888 saving temporary files.
5889
5890 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5891 both directories are remote.
5892 (tramp-smb-handle-directory-files): Do not return double entries.
5893 Do not expand full file names.
5894 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5895 (tramp-smb-handle-write-region): Implement APPEND.
5896 (tramp-smb-get-stat-capability): Fix a stupid bug.
5897
5898 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5901
5902 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5903
5904 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5905 throwing error over malformed let/let* (bug#15814).
5906
5907 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * iswitchb.el (iswitchb-mode): Mark obsolete.
5910
5911 2013-11-11 Glenn Morris <rgm@gnu.org>
5912
5913 * international/uni-bidi.el, international/uni-category.el:
5914 * international/uni-name.el, international/uni-numeric.el:
5915 Regenerate for Unicode 6.3.0.
5916
5917 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5918
5919 * net/tramp.el (tramp-methods):
5920 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5921 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5922
5923 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5924
5925 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5926 Force highlighting text after Summary keyword in doc face for rpm.
5927
5928 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5929
5930 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5931 available and the word has no wildcards, append one to the grep pattern.
5932 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5933 (ispell-complete-word): Call `ispell-lookup-words' with the value
5934 independent of `ispell-look-p'.
5935
5936 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5937
5938 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5939 Not after "||".
5940 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5941 their parent.
5942
5943 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5946 (ruby-font-lock-keywords): Use backquote.
5947
5948 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5949
5950 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5951 (ruby-smie--backward-token): Only consider full-string matches.
5952
5953 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5954
5955 * faces.el (describe-face): Add distant-foreground.
5956
5957 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5958
5959 * progmodes/ruby-mode.el: Improve encoding comment handling.
5960 (ruby-encoding-magic-comment-style): New option.
5961 (ruby-custom-encoding-magic-comment-template): New option.
5962 (ruby--insert-coding-comment, ruby--detect-encoding):
5963 New functions extracted from `ruby-mode-set-encoding'.
5964 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5965 to control the style of the auto-inserted encoding comment.
5966
5967 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5968
5969 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5970 Use `smie-backward-sexp' with token argument.
5971
5972 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5975 Remove instrumentation code.
5976
5977 2013-11-08 Glenn Morris <rgm@gnu.org>
5978
5979 * progmodes/autoconf.el (autoconf-mode):
5980 Tweak comment-start-skip. (Bug#15822)
5981
5982 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5985 at bobp (bug#15826).
5986 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5987
5988 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5989
5990 * man.el (Man-start-calling): New macro, extracted from
5991 Man-getpage-in-background.
5992 (Man-getpage-in-background): Use it.
5993 (Man-update-manpage): New command.
5994 (Man-mode-map): Bind it.
5995
5996 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5997
5998 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5999 of "and", "or", "&&" and "||".
6000 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6001 argument. Prohibit opening curly brace because it could only be a
6002 block opener in that position.
6003 (ruby-smie--forward-token, ruby-smie--backward-token):
6004 Separate "|" from "&" or "*" going after it. That can happen in block
6005 arguments.
6006 (ruby-smie--indent-to-stmt): New function, seeks the end of
6007 previous statement or beginning of buffer.
6008 (ruby-smie-rules): Use it.
6009 (ruby-smie-rules): Check if there's a ":" before a curly block
6010 opener candidate; if there is, it's a hash.
6011
6012 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6013
6014 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6015 (cl--block-wrapper): Fix last accidental change.
6016
6017 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6018
6019 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6020 Instrument, in order to hunt failure on hydra.
6021
6022 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6023
6024 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6025 malformed bindings form (bug#15814).
6026
6027 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6028
6029 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6030 "." compared to " @ ". This incidentally fixes some indentation
6031 examples with "do".
6032 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6033 (ruby-smie-grammar): New tokens: "and" and "or".
6034 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6035 Exclude "and" and "or". Remove "do" in order to work around token
6036 priorities.
6037 (ruby-smie-rules): Add all infix tokens. Handle the case of
6038 beginning-of-buffer.
6039
6040 2013-11-06 Glenn Morris <rgm@gnu.org>
6041
6042 * Makefile.in (setwins_almost, setwins_for_subdirs):
6043 Avoid accidental matches.
6044
6045 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * menu-bar.el (popup-menu): Use key-binding.
6048
6049 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6050
6051 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6052 menus, support also the menus produced by minor modes.
6053 (Bug#15817)
6054
6055 2013-11-06 Leo Liu <sdl.web@gmail.com>
6056
6057 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6058 DISTANCE to bound the search. All uses changed. (Bug#15808)
6059
6060 2013-11-06 Glenn Morris <rgm@gnu.org>
6061
6062 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6063 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6064 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6065
6066 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * electric.el (electric-indent-just-newline): New command.
6069 (electric-indent-mode-map): New keymap.
6070 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6071 Re-add :group which weren't redundant.
6072
6073 * electric.el (electric-indent-local-mode): New minor mode.
6074 (electric-indent-functions-without-reindent): New var.
6075 (electric-indent-post-self-insert-function): Use it.
6076 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6077
6078 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6079
6080 * international/quail.el (quail-help): Be more explicit about the
6081 meaning of the labels shown on the keys. (Bug#15800)
6082
6083 * startup.el (normal-top-level): Load the subdirs.el files before
6084 setting the locale environment. (Bug#15805)
6085
6086 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6089 via arguments so as to get the right ones (bug#15418).
6090
6091 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6092
6093 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6094
6095 Fix problems found while writing a test suite.
6096
6097 * net/tramp-compat.el (tramp-compat-load): New defun.
6098 * net/tramp.el (tramp-handle-load): Use it.
6099
6100 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6101 "(numberp ok-if-already-exists)" correctly.
6102
6103 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6104
6105 * international/characters.el (glyphless-char-display-control):
6106 Add usage note.
6107
6108 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6109
6110 * progmodes/python.el (python-mode):
6111 * progmodes/scheme.el (scheme-mode):
6112 * progmodes/prolog.el (prolog-mode):
6113 * progmodes/ruby-mode.el (ruby-mode):
6114 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6115 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6116
6117 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * rect.el (rectangle--highlight-for-redisplay):
6120 * emacs-lisp/smie.el (smie--next-indent-change):
6121 Use buffer-chars-modified-tick.
6122
6123 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6124
6125 * electric.el (electric-indent-post-self-insert-function):
6126 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6127
6128 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6129
6130 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6131
6132 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6133
6134 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6135 (bug#15786).
6136
6137 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6138
6139 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6140
6141 * progmodes/python.el: Fix up last change.
6142 (python-shell--save-temp-file): New function.
6143 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6144 `string' comes from the current buffer.
6145 (python-shell-send-string-no-output): Remove `msg' arg.
6146 (python--use-fake-loc): New var.
6147 (python-shell-buffer-substring): Obey it. Try to compensate for the
6148 extra coding line added by python-shell--save-temp-file.
6149 (python-shell-send-region): Use python-shell--save-temp-file and
6150 python-shell-send-file directly. Add `nomain' argument.
6151 (python-shell-send-buffer): Use python-shell-send-region.
6152 (python-electric-pair-string-delimiter): New function.
6153 (python-mode): Use it.
6154
6155 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6156
6157 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6158 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6159 environment and decoding all of the default-directory's to here
6160 from command-line.
6161 (command-line): Decode also argv[0].
6162
6163 * loadup.el: Error out if default-directory is a multibyte string
6164 when we are dumping.
6165
6166 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6167
6168 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6169
6170 * emacs-lisp/package.el (package-menu-mode)
6171 (package-menu--print-info, package-menu--archive-predicate):
6172 Add Archive column to package list.
6173
6174 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6175
6176 Fix problems found while writing a test suite.
6177
6178 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6179 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6180 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6181 to nil when running original file name handler. Otherwise,
6182 there are problems with constructs like "$$FOO".
6183
6184 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6185 for `localname'.
6186
6187 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6188
6189 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6190
6191 * subr.el (version<, version<=, version=):
6192 Update docstrings with information for snapshot versions.
6193
6194 * helpers.el: New library for misc helper functions.
6195 (hash-table-keys): New function returning a list of hash keys.
6196 (hash-table-values): New function returning a list of hash values.
6197
6198 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6199
6200 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6201 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6202
6203 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6204
6205 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6206 checking whether point is after a 1-letter word.
6207
6208 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6209
6210 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6211 Don't infloop when expanding region over `multiline' syntax-type that
6212 begins a line (bug#15778).
6213
6214 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6217 Make it into a proper minor mode.
6218 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
6219 (rectangle-mark-mode-map): New keymap.
6220 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6221
6222 2013-11-04 Glenn Morris <rgm@gnu.org>
6223
6224 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6225
6226 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6229 (ruby-smie-rules): Use smie-rule-parent instead.
6230
6231 * emacs-lisp/smie.el (smie-rule-parent): Always call
6232 smie-indent-virtual rather than only for hanging tokens.
6233 (smie--next-indent-change): New helper command.
6234
6235 2013-11-03 Glenn Morris <rgm@gnu.org>
6236
6237 * Makefile.in (abs_srcdir): Remove.
6238 (emacs): Unset EMACSLOADPATH.
6239
6240 2013-11-02 Glenn Morris <rgm@gnu.org>
6241
6242 * Makefile.in (EMACS): Use a relative filename.
6243 (abs_top_builddir): Remove.
6244 (custom-deps, finder-data, autoloads): Use --chdir.
6245
6246 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6247
6248 Use relative filenames in TAGS files.
6249 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6250 (lisptagsfiles4, TAGS): Use relative file names.
6251 (TAGS-LISP): Remove.
6252 (maintainer-clean): No more TAGS-LISP file.
6253
6254 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6255 (lisptagsfiles4): Use absolute filenames again.
6256 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6257 Remove all *loaddefs files, not just the first. Remove esh-groups.
6258 (maintainer-clean): Delete TAGS, TAGS-LISP.
6259
6260 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6261
6262 * emacs-lisp/package.el (package-version-join):
6263 Recognize snapshot versions.
6264
6265 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6266
6267 * subr.el (version-regexp-alist): Add support for snapshot versions.
6268
6269 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6270
6271 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6272 New function, replacement for `smie-rule-parent' for when we want to
6273 skip over our direct parent if it's an assignment token..
6274 (ruby-smie-rules): Use it.
6275
6276 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6277
6278 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6279 unconditionally. Remove now unnecessary forward declarations.
6280 Remove XEmacs-specific setup.
6281 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6282 (ruby-font-lock-syntactic-keywords)
6283 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6284 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6285 (ruby-here-doc-end-syntax): Remove.
6286 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6287 defined as function.
6288
6289 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6290
6291 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6292
6293 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6294
6295 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6296 table and abbrev table, `define-derived-mode' does that for us
6297 anyway.
6298
6299 2013-11-01 Glenn Morris <rgm@gnu.org>
6300
6301 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6302 files is atomic for some time, so no parallel compilation issues).
6303
6304 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6305
6306 * faces.el (face-x-resources): Add :distant-foreground.
6307 (region): Use :distant-foreground for gtk and ns.
6308
6309 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6310
6311 Allow multiple bibliographies when BibLaTeX is used rather than
6312 BibTeX.
6313 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6314 (reftex-locate-bibliography-files): Us it.
6315
6316 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6317
6318 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6319 allow comments in pbm files.
6320
6321 * term/w32-win.el (dynamic-library-alist): Support newer versions
6322 of libjpeg starting with v7: look only for the DLL from the
6323 version against which Emacs was built.
6324 Support versions of libpng beyond 1.4.x.
6325 Support libtiff v4.x.
6326
6327 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6328
6329 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6330 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6331 Add property :safe.
6332 (ruby-deep-arglist): Add property :type.
6333
6334 2013-10-31 Glenn Morris <rgm@gnu.org>
6335
6336 * Makefile.in (custom-deps, finder-data): No need to setq the target
6337 variables, we are in the right directory and the defaults work fine.
6338
6339 2013-10-30 Glenn Morris <rgm@gnu.org>
6340
6341 * Makefile.in (autoloads): Do not use abs_lisp.
6342
6343 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6344 `newline' does not respect `standard-output', so use `princ'.
6345
6346 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6347
6348 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6349 * buff-menu.el (Buffer-menu--unmark): New function.
6350 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6351
6352 2013-10-30 Glenn Morris <rgm@gnu.org>
6353
6354 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6355
6356 * emacs-lisp/package.el (lm-homepage): Declare.
6357
6358 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6359 Fix doc typos.
6360
6361 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6362
6363 * Makefile.in (finder-data, autoloads, update-subdirs)
6364 (compile-main, compile-clean, compile-always, bootstrap-clean):
6365 Check return value of cd.
6366 (compile-calc): Remove.
6367
6368 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6371
6372 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6373 (byte-compile-and-folded): New function.
6374 (=, <, >, <=, >=): Use it.
6375
6376 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6377 (path-separator, null-device, buffer-file-coding-system)
6378 (lpr-headers-switches): Check system-type before modifying them.
6379 (find-buffer-file-type-coding-system): Mark obsolete.
6380 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6381 find-file-not-found-set-buffer-file-coding-system.
6382 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6383 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6384 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6385 (w32-direct-print-region-helper, w32-direct-print-region-function)
6386 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6387 * startup.el (normal-top-level-add-subdirs-to-load-path):
6388 * ps-print.el (ps-print-region-function):
6389 * lpr.el (print-region-function): Use new name.
6390
6391 * subr.el (custom-declare-variable-early): Remove function.
6392 (custom-declare-variable-list): Remove var.
6393 (error, user-error): Remove `while' loop.
6394 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6395 (user-emacs-directory-warning, locate-user-emacs-file):
6396 Move to files.el.
6397 * simple.el (read-quoted-char-radix, read-quoted-char):
6398 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6399 Move from subr.el.
6400 * custom.el (custom-declare-variable-list): Don't process
6401 custom-declare-variable-list.
6402
6403 * progmodes/python.el (python-shell-get-buffer): New function.
6404 (python-shell-get-process): Use it.
6405 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6406 Python which encoding was used. Don't split-string since we only care
6407 about the first line. Return the temp-file, if applicable.
6408 (python-shell-send-region): Tell compile.el how to turn locations in
6409 the temp-file into locations in the source buffer.
6410
6411 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6412
6413 * subr.el (undefined): Add missing behavior from the C code for
6414 unbound keys.
6415
6416 * rect.el: Use lexical-binding. Add new rectangular region support.
6417 (rectangle-mark): New command.
6418 (rectangle--region): New var.
6419 (deactivate-mark-hook): Reset rectangle--region.
6420 (rectangle--extract-region, rectangle--insert-for-yank)
6421 (rectangle--highlight-for-redisplay)
6422 (rectangle--unhighlight-for-redisplay): New functions.
6423 (region-extract-function, redisplay-unhighlight-region-function)
6424 (redisplay-highlight-region-function): Use them to handle
6425 rectangular region.
6426 * simple.el (region-extract-function): New var.
6427 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6428 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6429 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6430 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6431 (redisplay-unhighlight-region-function)
6432 (redisplay-highlight-region-function): New vars.
6433 (redisplay--update-region-highlight): New function.
6434 (pre-redisplay-function): Use it.
6435 (exchange-point-and-mark): Don't deactivate the mark before
6436 reactivate-it anyway.
6437 * comint.el (comint-kill-region): Remove yank-handler argument.
6438 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6439 (delete-char): Remove property, since it's now part of their
6440 default behavior.
6441 (self-insert-iso): Remove property since this command doesn't exist.
6442
6443 * emacs-lisp/package.el (package--download-one-archive)
6444 (describe-package-1): Don't query the user about final newline.
6445
6446 2013-10-29 Daniel Colascione <dancol@dancol.org>
6447
6448 * net/tramp.el (tramp-methods): Document new functionality.
6449 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6450 tramp-hostname-checker if method provides one instead of scanning
6451 argument list for "%h" to decide hostname acceptability.
6452
6453 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6454
6455 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6456 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6457 Handle COPY-CONTENTS. (Bug#15737)
6458
6459 2013-10-28 Daiki Ueno <ueno@gnu.org>
6460
6461 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6462 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6463
6464 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6465
6466 * image.el (defimage, image-load-path): Doc fixes.
6467
6468 2013-10-27 Alan Mackenzie <acm@muc.de>
6469
6470 Indent statements in macros following "##" correctly.
6471 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6472 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6473
6474 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6475
6476 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6477
6478 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6479
6480 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6481 after `=' is probably a new expression.
6482
6483 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6484
6485 * man.el (man-imenu-title): New option.
6486 (Man-mode-map): Add menu. (Bug#15722)
6487 (Man-mode): Add imenu to menu.
6488
6489 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6490
6491 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6492 specific in what the first arg can be: a non-keyword word,
6493 string/regexp/percent literal opener, opening paren, or unary
6494 operator followed directly by word.
6495
6496 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6497
6498 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6499 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6500 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6501 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6502 Remove vars, they do not apply any more.
6503 (prolog-mode-abbrev-table): Remove redundant declaration.
6504 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6505 (prolog-use-smie): Remove.
6506 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6507 supported by prolog-electric-if-then-else-flag.
6508 (prolog-mode-variables, prolog-menu): Use setq-local.
6509 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6510 Remove binding to `Backspace' since this key doesn't exist anyway.
6511 Remove bindings for electric self-inserting keys.
6512 (prog-mode): Assume it's defined.
6513 (prolog-post-self-insert): New function.
6514 (prolog-mode): Use it.
6515 (prolog-indent-line, prolog-indent-level)
6516 (prolog-find-indent-of-matching-paren)
6517 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6518 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6519 (prolog-goto-next-paren, prolog-in-string-or-comment)
6520 (prolog-tokenize, prolog-inside-mline-comment)
6521 (prolog-find-start-of-mline-comment): Remove functions.
6522 (prolog-find-unmatched-paren, prolog-clause-end)
6523 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6524 (prolog-electric--if-then-else): Rename from
6525 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6526 (prolog-tokenize-searchkey): Remove const.
6527 (prolog-clause-info): Use forward-sexp.
6528 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6529 (prolog-electric-if-then-else): Remove commands.
6530 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6531 for use in post-self-insert-hook.
6532 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6533 for use in post-self-insert-hook.
6534 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6535 for use in post-self-insert-hook.
6536 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6537 adapt it for use in post-self-insert-hook.
6538
6539 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6540
6541 * emacs-lisp/ert.el (ert-run-tests-interactively):
6542 Use `completing-read'. (Bug#9756)
6543
6544 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6545
6546 * simple.el (line-move): Call line-move-1 instead of
6547 line-move-visual when the current window hscroll is zero, but
6548 temporary-goal-column indicates we will need to hscroll as result
6549 of the movement. (Bug#15712)
6550
6551 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6552
6553 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6554 capitalization. Use :visible instead of :active.
6555 Fix `ruby-indent-exp' reference. Add menu items for the generic
6556 commands that are used with SMIE.
6557 (ruby-do-end-to-brace): Insert space after `{'.
6558
6559 2013-10-25 John Anthony <john@jo.hnanthony.com>
6560
6561 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6562
6563 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6564
6565 2013-10-25 Glenn Morris <rgm@gnu.org>
6566
6567 * vc/vc.el (vc-print-log): Don't use a working revision unless
6568 one was explicitly specified. (Bug#15322)
6569
6570 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * subr.el (add-to-list): Preserve return value in compiler-macro
6573 (bug#15692).
6574
6575 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6576
6577 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6578 result. Ask user to retry using '-all' flag. (Bug#15701)
6579
6580 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * emacs-lisp/smie.el: New smie-config system.
6583 (smie-config): New defcustom.
6584 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6585 (smie-config-guess, smie-config-save): New commands.
6586 (smie-config--mode-local, smie-config--buffer-local)
6587 (smie-config--trace, smie-config--modefuns): New vars.
6588 (smie-config--advice, smie-config--mode-hook)
6589 (smie-config--setter, smie-config-local, smie-config--get-trace)
6590 (smie-config--guess-value, smie-config--guess): New functions.
6591 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6592 text properties. Treat "string fence" syntax like string syntax.
6593
6594 * progmodes/sh-script.el (sh-use-smie): Change default.
6595 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6596 (sh-var-value): Simplify by CSE.
6597 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6598 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6599 is used.
6600 (sh-guess-basic-offset): Use cl-incf.
6601 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6602
6603 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6604
6605 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6606 (bug#15699).
6607
6608 2013-10-24 Glenn Morris <rgm@gnu.org>
6609
6610 * Makefile.in (abs_top_srcdir): Remove.
6611 (update-subdirs): Use relative path to update-subdirs.
6612
6613 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6614
6615 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6616 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6617 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6618 Call unmsys--file-name before expand-file-name, not after it.
6619
6620 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6621
6622 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6623 (ert-test-skipped): New error.
6624 (ert-skip, ert-stats-skipped): New defuns.
6625 (ert--skip-unless): New macro.
6626 (ert-test-skipped): New struct.
6627 (ert--run-test-debugger, ert-test-result-type-p)
6628 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6629 (ert--stats-set-test-and-result, ert-char-for-test-result)
6630 (ert-string-for-test-result, ert-run-tests-batch)
6631 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6632 Handle skipped tests. (Bug#9803)
6633
6634 2013-10-24 Glenn Morris <rgm@gnu.org>
6635
6636 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6637
6638 * Makefile.in (abs_top_srcdir): New, set by configure.
6639 (update-subdirs): Correct build-aux location.
6640
6641 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6644 value, whether we could auto-deduce `backend', or not.
6645
6646 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6647 with parameters" example. Simplify the "is it block or is it
6648 hash" check, but also make it more thorough.
6649
6650 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6651
6652 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6653
6654 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6657 { if it is hanging.
6658
6659 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6660 :before ";".
6661
6662 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6663
6664 * progmodes/compile.el (compilation-directory-matcher)
6665 (compilation-page-delimiter):
6666 Support GNU Make-4.0 directory quoting. (Bug#15678)
6667
6668 2013-10-23 Leo Liu <sdl.web@gmail.com>
6669
6670 * ido.el (ido-tidy): Handle read-only text.
6671
6672 2013-10-23 Glenn Morris <rgm@gnu.org>
6673
6674 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6675 (emacs, compile, compile-always):
6676 Quote entities that might contain whitespace.
6677 (custom-deps, finder-data, autoloads): Use abs_lisp.
6678 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6679 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6680 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6681
6682 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6683
6684 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6685 Use `following-char'.
6686
6687 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6690 * progmodes/ruby-mode.el (ruby-smie-rules):
6691 Remove corresponding workaround. Fix indentation rule of ";" so it
6692 also applies when ";" is the parent.
6693
6694 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6695
6696 * frame.el (display-screens, display-pixel-height)
6697 (display-pixel-width, display-mm-width, display-backing-store)
6698 (display-save-under, display-planes, display-color-cells)
6699 (display-visual-class, display-monitor-attributes-list):
6700 Mention the optional ‘display’ argument in doc strings.
6701
6702 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6703
6704 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6705 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6706
6707 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6708
6709 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6710 TODO. Add "." after " @ ".
6711 (ruby-smie--at-dot-call): New function. Checks if point at method
6712 call with explicit target.
6713 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6714 to the method name tokens when it precedes them.
6715 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6716 (ruby-smie-rules): Add rule for indentation before and after "."
6717 token.
6718
6719 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * textmodes/remember.el (remember-diary-extract-entries):
6722 Avoid add-to-list.
6723
6724 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6725 an instruction.
6726
6727 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6728
6729 * progmodes/ruby-mode.el (ruby-smie-grammar):
6730 Add (almost) all infix operators.
6731 (ruby-smie--implicit-semi-p): Add new operator chars.
6732
6733 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6734 `smie-down-list'.
6735 (ruby-smie--args-separator-p): Check that there's no newline
6736 between method call and its arguments.
6737
6738 2013-10-20 Alan Mackenzie <acm@muc.de>
6739
6740 Allow comma separated lists after Java "implements".
6741
6742 * progmodes/cc-engine.el (c-backward-over-enum-header):
6743 Parse commas.
6744 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6745 from a "disallowed" list in enum fontification.
6746
6747 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6748
6749 * startup.el (default-frame-background-mode): Remove unused defvar.
6750
6751 * progmodes/verilog-mode.el (verilog-mode): Don't set
6752 comment-indent-function globally.
6753
6754 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6755
6756 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6757 Move Info menu item creation to ns-win.el.
6758
6759 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6760 in menu bar.
6761
6762 * menu-bar.el: Move GNUstep specific menus...
6763
6764 * term/ns-win.el (ns-initialize-window-system): ... to here.
6765
6766 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6767
6768 * simple.el (newline): Only run post-self-insert-hook when
6769 called interactively.
6770
6771 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6772
6773 * icomplete.el (icomplete-with-completion-tables): Add :version.
6774
6775 2013-10-19 Alan Mackenzie <acm@muc.de>
6776
6777 Fix fontification bugs with constructors and const.
6778
6779 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6780 CASE 2) Remove the check for the absence of a suffix construct
6781 after a function declaration with only types (no identifiers) in
6782 the parentheses. Also, accept a function declaration with just a
6783 type inside the parentheses, if this type can be positively
6784 recognised as such, or if a prefix keyword like "explicit" nails
6785 down the construct as a declaration.
6786
6787 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6788
6789 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6790 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6791 the problem whereby selecting a menu item that leads to a
6792 minibuffer prompt moves the cursor out of the minibuffer window,
6793 making it hard to type at the prompt. Suggested by Stefan Monnier
6794 <monnier@iro.umontreal.ca>.
6795
6796 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6797
6798 * menu-bar.el: Don't make Services menu.
6799
6800 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6801
6802 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6803 (ffap-alist): Use ffap-c++-mode for c++-mode.
6804 (ffap-c++-path): New variable.
6805 (ffap-c++-mode): New function.
6806
6807 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6808
6809 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6810
6811 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6812
6813 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6814 introduced on 2013-09-08, which results in an infinite loop
6815 requesting a password.
6816
6817 2013-10-18 Glenn Morris <rgm@gnu.org>
6818
6819 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6820
6821 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6822
6823 Sync with upstream verilog-mode revision 1a6ecec7.
6824 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6825 (verilog-mode-release-date): Remove.
6826 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6827 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6828 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6829 (verilog-auto-tieoff-ignore-regexp)
6830 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6831 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6832 (verilog-signals-with, verilog-dir-cache-preserving)
6833 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6834 Doc fixes.
6835 (verilog-case-fold): New option, to control case folding in
6836 regexp searches, bug597.
6837 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6838 (verilog-string-match-fold, verilog-in-paren-count)
6839 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6840 (verilog-at-close-struct-p): New functions.
6841 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6842 (verilog-forward-sexp, verilog-set-auto-endcomments)
6843 (verilog-leap-to-case-head): Handle "unique0" case.
6844 (verilog-in-constraint-re): New constant.
6845 (verilog-keywords, verilog-type-font-keywords):
6846 Add some SystemVerilog 1800-2012 keywords.
6847 (verilog-label-be): Remove unimplemented argument, bug669.
6848 (verilog-batch-execute-func): When batch expanding clear
6849 create-lockfiles to prevent spurious user locks when a file ends
6850 up not changing.
6851 (verilog-calculate-indent, verilog-calc-1)
6852 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6853 (verilog-do-indent): Fix indentation of nested constraints
6854 and structures.
6855 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6856 (verilog-auto-inst-param): Use verilog-string-match-fold.
6857 (verilog-read-inst-module-matcher):
6858 Fix AUTOINST on gate primitives with #1.
6859 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6860 Reads all user-defined typed variables.
6861 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6862 (verilog-signals-matching-regexp)
6863 (verilog-signals-not-matching-regexp, verilog-auto):
6864 Respect verilog-case-fold.
6865 (verilog-diff-report): Fix line count.
6866 (verilog-auto-assign-modport): Remove unused local `modi'.
6867 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6868 better handle multidimensional arrays.
6869 Fix packed array ports misadding bit index in AUTOINST, bug637.
6870 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6871 to not double-declare existing outputs and inputs, respectively.
6872 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6873 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6874 (verilog-sk-uvm-component): New skeleton.
6875 (verilog-submit-bug-report): Add verilog-case-fold,
6876 remove verilog-mode-release-date.
6877
6878 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6879
6880 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6881 as before.
6882
6883 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6884
6885 * textmodes/remember.el (remember): Set buffer-offer-save in
6886 remember buffers (bug#13566).
6887
6888 2013-10-18 Daniel Colascione <dancol@dancol.org>
6889
6890 When evaluating forms in ielm, direct standard output to ielm
6891 buffer. Add new ielm-return-for-effect command. Remove trailing
6892 whitespace throughout.
6893
6894 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6895 (ielm-return-for-effect): New command.
6896 (ielm-send-input): Accept optional `for-effect' parameter.
6897 (ielm-eval-input): Accept optional `for-effect' parameter.
6898 Bind `standard-output' to stream we create using
6899 `ielm-standard-output-impl'. Suppress printing result when
6900 `for-effect'.
6901 (ielm-standard-output-impl): New function.
6902 (inferior-emacs-lisp-mode): Explain new features in documentation.
6903
6904 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6905
6906 Code cleanup.
6907
6908 * net/tramp.el (tramp-debug-message): Do not check for connection
6909 buffer.
6910 (tramp-message): Use "vector" connection property.
6911
6912 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6913 (tramp-equal-remote, tramp-eshell-directory-change)
6914 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6915 (tramp-adb-handle-rename-file)
6916 * net/tramp-cmds.el (tramp-list-remote-buffers)
6917 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6918 * net/tramp-compat.el (tramp-compat-process-running-p)
6919 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6920 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6921 (tramp-gvfs-handle-rename-file)
6922 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6923 (tramp-set-file-uid-gid)
6924 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6925 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6926 of `file-remote-p'.
6927
6928 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6929 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6930 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6931 (tramp-gw-open-network-stream): Suppress unrelated traces.
6932
6933 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6934 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6935 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6936 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6937 connection property.
6938
6939 * net/tramp-cache.el (top): Suppress traces when reading
6940 persistency file.
6941
6942 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6943 Refactor common code. Improve debug message.
6944 (tramp-maybe-open-connection)
6945 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6946 connection buffer too early.
6947
6948 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6949 from `tramp-smb-actions-with-acl'.
6950 (tramp-smb-actions-set-acl): New defconst.
6951 (tramp-smb-handle-copy-directory)
6952 (tramp-smb-action-get-acl): New defun, renamed from
6953 `tramp-smb-action-with-acl'.
6954 (tramp-smb-action-set-acl): New defun.
6955 (tramp-smb-handle-set-file-acl): Rewrite.
6956
6957 2013-10-17 Glenn Morris <rgm@gnu.org>
6958
6959 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6960
6961 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * skeleton.el (skeleton-newline): Remove.
6964 (skeleton-internal-1): Use (insert "\n") instead.
6965
6966 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6967 let-bindings.
6968
6969 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6970 forward-sexp-function while we redo its job (bug#15613).
6971
6972 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6973
6974 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6975 represented by lists.
6976
6977 2013-10-16 Glenn Morris <rgm@gnu.org>
6978
6979 * tmm.el (tmm--history): New dynamic variable.
6980 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6981
6982 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6983
6984 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6985 (tramp-smb-errors): Add error messages.
6986 (tramp-smb-actions-with-acl): New defconst.
6987 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6988 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6989 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6990 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6991 (tramp-smb-get-stat-capability): Fix tests.
6992
6993 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6994
6995 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6996 (bug#15580).
6997
6998 2013-10-16 Glenn Morris <rgm@gnu.org>
6999
7000 * ansi-color.el (ansi-color-drop-regexp):
7001 Add 1J, 1K, 2K. (Bug#15617)
7002
7003 * files.el (hack-local-variables--warned-lexical): New.
7004 (hack-local-variables):
7005 Warn about misplaced lexical-binding. (Bug#15616)
7006
7007 * net/eww.el (eww-render): Always set eww-current-url,
7008 and update header line. (Bug#15622)
7009 (eww-display-html): ... Rather than just doing it here.
7010
7011 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7012
7013 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7014 menu navigations commands.
7015
7016 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7017
7018 * progmodes/subword.el (subword-capitalize): Be careful when
7019 the search for [[:alpha:]] fails (bug#15580).
7020
7021 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7022
7023 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7024 to commands that scroll the menu.
7025
7026 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7027
7028 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7029 Handle methods ending with `?' and `!'.
7030
7031 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7032
7033 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7034 `japanese-cp932' to `cp932' to fix the problem where saving a
7035 source file written in Shift_JIS twice would end up having
7036 `coding: japanese-cp932' which Ruby could not recognize.
7037 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7038 in `ruby-encoding-map'.
7039 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7040 doesn't need to be explicitly declared in magic comment.
7041 (ruby-encoding-map): Add type declaration for better customize UI.
7042
7043 2013-10-13 Glenn Morris <rgm@gnu.org>
7044
7045 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7046 Occur buffers are read-only. http://bugs.debian.org/720775
7047
7048 * emacs-lisp/authors.el (authors-fixed-entries):
7049 Comment out old alpha stuff.
7050
7051 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7052
7053 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7054 to `after-save-hook' instead of `before-save-hook'.
7055 (ruby-mode-set-encoding): Use the value of coding system used to
7056 write the file. Call `basic-save-buffer-1' after modifying the
7057 buffer.
7058
7059 2013-10-13 Alan Mackenzie <acm@muc.de>
7060
7061 Fix indentation/fontification of Java enum with
7062 "implements"/generic.
7063
7064 * progmodes/cc-engine.el (c-backward-over-enum-header):
7065 Extracted from the three other places and enhanced to handle generics.
7066 (c-inside-bracelist-p): Uses new function above.
7067 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7068 function above.
7069 (c-font-lock-enum-tail): Uses new function above.
7070
7071 2013-10-13 Kenichi Handa <handa@gnu.org>
7072
7073 * international/mule-cmds.el (select-safe-coding-system): Remove a
7074 superfluous condition in chekcing whether a coding system is safe
7075 or not.
7076
7077 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7078
7079 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7080
7081 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7082
7083 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7084
7085 2013-10-13 Glenn Morris <rgm@gnu.org>
7086
7087 * menu-bar.el (menu-bar-update-buffers):
7088 Unify Buffers menu prompt string. (Bug#15576)
7089
7090 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7091
7092 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7093 Add some entries.
7094 (authors-fixed-entries): Use accented form of name.
7095
7096 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7097
7098 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7099 method calls (bug#15594).
7100 (ruby-smie--args-separator-p): New function.
7101 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7102 recognize paren-free method calls.
7103
7104 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7105 internals of universal-argument.
7106
7107 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7108
7109 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7110 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7111 dropped menu on second mouse click on the menu bar.
7112
7113 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7114
7115 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7116 (explicit-shell-file-name): Declare.
7117 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7118 (sh-completion-at-point-function): New function.
7119 (sh-mode): Use it.
7120 (sh-smie--keyword-p): Remove unused argument.
7121 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7122 vars.
7123 (sh-set-shell): Always setup SMIE, even if we use the
7124 old indentation code.
7125
7126 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7127
7128 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7129 cases of ? and =.
7130 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7131 predicate would return nil are almost non-existent.
7132 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7133
7134 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7135 cache also after commands that modify the buffer but don't move
7136 point.
7137
7138 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 * env.el (substitute-env-in-file-name): New function.
7141 (substitute-env-vars): Extend the meaning of the optional arg.
7142
7143 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7144
7145 * term/w32-win.el (dynamic-library-alist): Define separate lists
7146 of GIF DLLs for versions before and after 5.0.0 of giflib.
7147 (Bug#15531)
7148
7149 2013-10-10 João Távora <joaotavora@gmail.com>
7150
7151 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7152 not locked, use last revision and current source as
7153 defaults. (Bug#15569)
7154
7155 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7156
7157 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7158 menu-bar is hidden.
7159
7160 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7161
7162 * window.el (pop-to-buffer-same-window): Fix doc-string.
7163 (Bug#15492)
7164
7165 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7166
7167 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7168
7169 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7170
7171 * calendar/icalendar.el (icalendar-import-file):
7172 Fix interactive spec. (Bug#15482)
7173
7174 2013-10-10 Glenn Morris <rgm@gnu.org>
7175
7176 * desktop.el (desktop-save): Default to saving in .emacs.d,
7177 since PWD is no longer in desktop-path by default. (Bug#15319)
7178
7179 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7180 now that text mode has a menu with the same entry.
7181 (menu-bar-text-mode-auto-fill): Remove now unused func.
7182 * textmodes/text-mode.el (text-mode-map):
7183 Use auto-fill help text from menu-bar.el.
7184
7185 2013-10-10 John Anthony <john@jo.hnanthony.com>
7186
7187 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7188
7189 2013-10-09 Juri Linkov <juri@jurta.org>
7190
7191 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7192 instead of this-command-keys. Add universal-argument-more and
7193 universal-argument-minus to the list of prefix commands. (Bug#15568)
7194
7195 2013-10-09 Glenn Morris <rgm@gnu.org>
7196
7197 * vc/vc-svn.el (vc-svn-create-repo):
7198 Expand paths in file://... url. (Bug#15446)
7199
7200 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7201 Add some entries.
7202 (authors): Remove unused local variables.
7203
7204 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * profiler.el: Create a more coherent calltree from partial backtraces.
7207 (profiler-format): Hide the tail with `invisible' so that C-s can still
7208 find the hidden elements.
7209 (profiler-calltree-depth): Don't recurse so enthusiastically.
7210 (profiler-function-equal): New hash-table-test.
7211 (profiler-calltree-build-unified): New function.
7212 (profiler-calltree-build): Use it.
7213 (profiler-report-make-name-part): Indent the calltree less.
7214 (profiler-report-mode): Add visibility specs for profiler-format.
7215 (profiler-report-expand-entry, profiler-report-toggle-entry):
7216 Expand the whole subtree when provided with a prefix arg.
7217
7218 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7219
7220 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7221 iuwu-mod token.
7222 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7223 hanging iuwu-mod token.
7224 (ruby-smie--forward-token): Do not include a dot after a token in
7225 that token.
7226 (ruby-smie--backward-token): Likewise.
7227
7228 2013-10-08 Juri Linkov <juri@jurta.org>
7229
7230 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7231 to isearch-other-control-char.
7232 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7233 and isearch-post-command-hook to post-command-hook.
7234 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7235 and isearch-post-command-hook from post-command-hook.
7236 (isearch-unread-key-sequence)
7237 (isearch-reread-key-sequence-naturally)
7238 (isearch-lookup-scroll-key, isearch-other-control-char)
7239 (isearch-other-meta-char): Remove functions.
7240 (isearch-pre-command-hook, isearch-post-command-hook):
7241 New functions based on isearch-other-meta-char rewritten
7242 relying on the new behavior of overriding-terminal-local-map
7243 that does not replace the local keymaps any more. (Bug#15200)
7244
7245 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7246
7247 Support menus on text-mode terminals.
7248 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7249 functionality.
7250
7251 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7252
7253 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7254 Move here from mouse.el.
7255 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7256 and arrow keys.
7257 (tty-menu-navigation-map): New map for TTY menu navigation.
7258
7259 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7260
7261 * frame.el (display-mouse-p): Report text-mode mouse as available
7262 on w32.
7263 (display-popup-menus-p): Report availability if mouse is
7264 available; don't condition on window-system.
7265
7266 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7267 (tty-menu-selected-face): New faces.
7268
7269 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7270
7271 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7272 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7273 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7274 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7275 New constants.
7276 (lisp-mode-variables): New `elisp' argument.
7277 (emacs-lisp-mode): Use it.
7278 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7279 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7280
7281 * indent.el: Use lexical-binding.
7282 (indent-region): Add progress reporter.
7283 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7284 last step.
7285 (indent--next-tab-stop): New function to implement this behavior.
7286 (tab-to-tab-stop, move-to-tab-stop): Use it.
7287
7288 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7289
7290 * indent.el (indent-rigidly--current-indentation): New function.
7291 (indent-rigidly-map): New var.
7292 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7293
7294 2013-10-08 Bastien Guerry <bzg@gnu.org>
7295
7296 * register.el (insert-register): Fix 2013-10-07 change.
7297
7298 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7299
7300 * progmodes/perl-mode.el: Use lexical-binding.
7301 Remove redundant :group args.
7302 (perl-nochange): Change default to be closer to other major modes's
7303 standard behavior.
7304 (perl-indent-line): Don't consider text on current line as a
7305 valid beginning of function from which to indent.
7306
7307 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7308 with more than one argument (bug#15538).
7309
7310 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7311
7312 * vc/pcvs.el: Use lexical-binding.
7313 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7314 environment of `eval'.
7315 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7316 than a list of expressions. Adjust callers.
7317 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7318
7319 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7320
7321 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7322 case of the dot in a chained method call being on the following line.
7323
7324 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 * electric.el (electric-indent-inhibit): New var.
7327 (electric-indent-post-self-insert-function): Use it.
7328 * progmodes/python.el (python-mode): Set it.
7329
7330 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7331 open braces.
7332
7333 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7334
7335 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7336 (css-mode): Use electric-indent-chars.
7337
7338 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7339 (font-lock-beg, font-lock-end): Move before first use.
7340 (nxml-mode): Use syntax-propertize-function.
7341 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7342 (nxml-extend-after-change-region): Remove.
7343 * nxml/xmltok.el: Use lexical-binding.
7344 (xmltok-save): Use `declare'.
7345 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7346 * nxml/nxml-util.el: Use lexical-binding.
7347 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7348 Use `declare'.
7349 * nxml/nxml-ns.el: Use lexical-binding.
7350 (nxml-ns-save): Use `declare'.
7351 (nxml-ns-prefixes-for): Avoid add-to-list.
7352 * nxml/rng-match.el: Use lexical-binding.
7353 (rng--ipattern): Use cl-defstruct.
7354 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7355 (rng-cons-group-after, rng-subst-group-after)
7356 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7357 Use closures instead of `(lambda...).
7358
7359 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7360
7361 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7362 of BEG and END.
7363
7364 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7365 Use `tramp-handle-insert-file-contents'.
7366 (tramp-gvfs-handle-insert-file-contents): Remove function.
7367
7368 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7369 Use `save-restriction' in order to keep markers.
7370
7371 * net/trampver.el: Update release number.
7372
7373 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * progmodes/compile.el (compilation-parse-errors):
7376 Use compilation--put-prop.
7377 (compilation--ensure-parse): Check compilation-multiline.
7378
7379 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7380
7381 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7382 lexical-binding.
7383
7384 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7385
7386 * progmodes/ruby-mode.el: Fix recently added tests.
7387 (ruby-smie-grammar): Add - and +.
7388 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7389 (ruby-smie--backward-id): New functions.
7390 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7391 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7392 any more.
7393
7394 2013-10-07 Leo Liu <sdl.web@gmail.com>
7395
7396 * register.el (register-preview-delay)
7397 (register-preview-functions): New variables.
7398 (register-read-with-preview, register-preview)
7399 (register-describe-oneline): New functions.
7400 (point-to-register, window-configuration-to-register)
7401 (frame-configuration-to-register, jump-to-register)
7402 (number-to-register, view-register, insert-register)
7403 (copy-to-register, append-to-register, prepend-to-register)
7404 (copy-rectangle-to-register): Use register-read-with-preview to
7405 read register. (Bug#15525)
7406
7407 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7408
7409 * net/network-stream.el (network-stream-open-starttls): Don't add
7410 --insecure if it's already present, because that gnutls-cli
7411 rejects getting that parameter twice.
7412
7413 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7414
7415 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7416 keyword, too.
7417
7418 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7419
7420 * newcomment.el (comment-use-global-state): Change default value
7421 to t, mark obsolete (Bug#15251).
7422 (comment-beginning): In addition to `comment-to-syntax', check the
7423 value of `comment-use-global-state'.
7424
7425 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7428 (ruby-comment-column): Follow the global default, by default.
7429 (ruby-smie-grammar): Add assignment syntax.
7430 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7431 open-paren, a comma, or a \.
7432 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7433 and line continuations.
7434 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7435 followed by implicit semi-colons. Add rule for string concatenation
7436 and for indentation at BOB.
7437 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7438
7439 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7440 calling next-sexp, since next-token may have skipped chars which
7441 next-sexp doesn't know should be skipped!
7442
7443 2013-10-05 Leo Liu <sdl.web@gmail.com>
7444
7445 * progmodes/octave.el (octave-send-region):
7446 Call compilation-forget-errors.
7447
7448 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7449
7450 * vc/vc-svn.el (vc-svn-find-admin-dir):
7451 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7452 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7453 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7454 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7455
7456 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7459
7460 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * subr.el (read-passwd): Hide chars even when called within a context
7463 where after-change-functions is disabled (bug#15501).
7464 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7465 until we removed ourself from overriding-terminal-local-map.
7466
7467 2013-10-04 Leo Liu <sdl.web@gmail.com>
7468
7469 * progmodes/octave.el (inferior-octave-mode):
7470 Call compilation-forget-errors.
7471
7472 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7473
7474 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7475
7476 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7477
7478 * net/secrets.el (secrets-create-collection): Add optional
7479 argument ALIAS. Use proper Label keyword. Append ALIAS as
7480 dbus-call-method argument. (Bug#15516)
7481
7482 2013-10-04 Leo Liu <sdl.web@gmail.com>
7483
7484 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7485 (inferior-octave-compilation-font-lock-keywords): New variables.
7486 (compilation-error-regexp-alist)
7487 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7488 (inferior-octave-mode): Use compilation-shell-minor-mode.
7489
7490 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7491
7492 * minibuffer.el (completion--replace): Be careful that `end' might be
7493 a marker.
7494
7495 2013-10-03 Daiki Ueno <ueno@gnu.org>
7496
7497 Add support for package signature checking.
7498 * emacs-lisp/package.el (url-http-file-exists-p)
7499 (epg-make-context, epg-context-set-home-directory)
7500 (epg-verify-string, epg-context-result-for)
7501 (epg-signature-status, epg-signature-to-string)
7502 (epg-check-configuration, epg-configuration)
7503 (epg-import-keys-from-file): Declare.
7504 (package-check-signature): New user option.
7505 (package-unsigned-archives): New user option.
7506 (package-desc): Add `signed' field.
7507 (package-load-descriptor): Set `signed' field if .signed file exists.
7508 (package--archive-file-exists-p): New function.
7509 (package--check-signature): New function.
7510 (package-install-from-archive): Check package signature.
7511 (package--download-one-archive): Check archive signature.
7512 (package-delete): Remove .signed file.
7513 (package-import-keyring): New command.
7514 (package-refresh-contents): Import default keyring.
7515 (package-desc-status): Add "unsigned" status.
7516 (describe-package-1, package-menu--print-info)
7517 (package-menu-mark-delete, package-menu--find-upgrades)
7518 (package-menu--status-predicate): Support "unsigned" status.
7519
7520 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7523 the new compilation scheme using the new byte-codes.
7524
7525 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7526 (byte-pophandler): New byte codes.
7527 (byte-goto-ops): Adjust accordingly.
7528 (byte-compile--use-old-handlers): New var.
7529 (byte-compile-catch): Use new byte codes depending on
7530 byte-compile--use-old-handlers.
7531 (byte-compile-condition-case--old): Rename from
7532 byte-compile-condition-case.
7533 (byte-compile-condition-case--new): New function.
7534 (byte-compile-condition-case): New function that dispatches depending
7535 on byte-compile--use-old-handlers.
7536 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7537 when we can.
7538
7539 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7540 Optimize under `condition-case' and `catch' if
7541 byte-compile--use-old-handlers is nil.
7542 (disassemble-offset): Handle new bytecodes.
7543
7544 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * subr.el (error): Use `declare'.
7547 (decode-char, encode-char): Use advertised-calling-convention instead
7548 of the docstring to discourage use of the `restriction' arg.
7549
7550 2013-10-03 Daiki Ueno <ueno@gnu.org>
7551
7552 * epg.el (epg-verify-file): Add a comment saying that it does not
7553 notify verification error as a return value nor a signal.
7554 (epg-verify-string): Ditto.
7555
7556 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7557
7558 * progmodes/compile.el (compilation-start): Try globbing the arg to
7559 `cd' (bug#15417).
7560
7561 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7562
7563 Sync with Tramp 2.2.8.
7564
7565 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7566 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7567 * net/trampver.el: Update release number.
7568
7569 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7570
7571 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7572 and default-process-coding-system for darwin only.
7573
7574 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7577
7578 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7579
7580 * vc/vc-git.el (vc-git-grep): Disable pager.
7581
7582 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7583
7584 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7585 Use :url instead of :homepage, as per
7586 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7587
7588 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7589 non-nil, use `syntax-ppss' (Bug#15251).
7590
7591 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7592
7593 * progmodes/octave.el (inferior-octave-startup-file):
7594 Prefer ~/.emacs.d/init_octave.m.
7595
7596 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7597
7598 * emacs-lisp/package.el (package-desc-from-define):
7599 Accept additional arguments as plist, convert them to an alist and store
7600 them in the `extras' slot.
7601 (package-generate-description-file): Convert extras alist back to
7602 plist and append to the `define-package' form arguments.
7603 (package--alist-to-plist): New function.
7604 (package--ac-desc): Add `extras' slot.
7605 (package--add-to-archive-contents): Check if the archive-contents
7606 vector is long enough, and if it is, pass its `extras' slot value
7607 to `package-desc-create'.
7608 (package-buffer-info): Call `lm-homepage', pass the returned value
7609 to `package-desc-from-define'.
7610 (describe-package-1): Render the homepage button (Bug#13291).
7611
7612 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7613 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7614
7615 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7616
7617 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7618 and default-process-coding-system to utf-8-unix (Bug#15402).
7619
7620 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7621
7622 * subr.el (looking-back): Do not recommend using looking-back.
7623
7624 2013-09-28 Alan Mackenzie <acm@muc.de>
7625
7626 Fix indentation/fontification of Java enum with "implements".
7627
7628 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7629 regexp which matches "implements", etc., in Java.
7630 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7631 specifier clauses coming after "enum".
7632 * progmodes/cc-fonts.el (c-font-lock-declarations)
7633 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7634 after "enum".
7635
7636 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7637
7638 * faces.el (region): Change ns_selection_color to
7639 ns_selection_fg_color, add ns_selection_bg_color.
7640
7641 2013-09-28 Leo Liu <sdl.web@gmail.com>
7642
7643 * progmodes/octave.el (inferior-octave-completion-table)
7644 (inferior-octave-completion-at-point): Minor tweaks.
7645
7646 * textmodes/ispell.el (ispell-lookup-words): Rename from
7647 lookup-words. (Bug#15460)
7648 (lookup-words): Obsolete.
7649 (ispell-complete-word, ispell-command-loop): All uses changed.
7650
7651 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7652
7653 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7654 (octave-mode-menu): Add octave-send-buffer.
7655 (octave-send-buffer): New function.
7656
7657 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7658
7659 * progmodes/octave.el (octave-mode-map): Add key binding for
7660 octave-lookfor.
7661 (octave-mode-menu): Add octave-lookfor.
7662 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7663 octave-lookfor.
7664 (octave-lookfor): New function.
7665
7666 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7669 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7670 its convention.
7671 (cl--loop-set-iterator-function): New function.
7672 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7673 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7674 Bind `it' with `let' instead of substituting it with `cl-subst'.
7675 (cl--unused-var-p): New function.
7676 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7677 Eliminate some unused variable warnings (bug#15326).
7678
7679 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7680
7681 * doc-view.el (doc-view-scale-reset): Rename from
7682 `doc-view-reset-zoom-level'.
7683 (doc-view-scale-adjust): New command.
7684 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7685 `doc-view-scale-adjust'.
7686
7687 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7688
7689 * doc-view.el (doc-view-reset-zoom-level): New command.
7690 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7691 zoom commands (bug#15466).
7692
7693 2013-09-26 Kenichi Handa <handa@gnu.org>
7694
7695 * international/quail.el (quail-help): Make it not a command.
7696
7697 2013-09-26 Leo Liu <sdl.web@gmail.com>
7698
7699 * minibuffer.el (completion-all-sorted-completions): Make args
7700 optional as they are.
7701
7702 2013-09-25 Daniel Colascione <dancol@dancol.org>
7703
7704 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7705 specs are and that they're not evaluated.
7706
7707 2013-09-24 Sam Steingold <sds@gnu.org>
7708
7709 * midnight.el (clean-buffer-list-kill-regexps)
7710 (clean-buffer-list-kill-buffer-names): Update for the new Man
7711 buffer naming which includes the object name.
7712
7713 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7716 (eshell-parse-command, eshell-parse-pipeline): Use it since
7717 eshell-separate-commands requires a dynamic scoped var.
7718 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7719
7720 2013-09-23 Leo Liu <sdl.web@gmail.com>
7721
7722 * autoinsert.el (auto-insert-alist): Make the value of
7723 lexical-binding match its file setting.
7724
7725 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7726
7727 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7728
7729 * autoarg.el (autoarg-kp-digit-argument):
7730 * electric.el (Electric-command-loop):
7731 * kmacro.el (kmacro-step-edit-insert):
7732 Do not set universal-argument-num-events.
7733
7734 2013-09-22 Leo Liu <sdl.web@gmail.com>
7735
7736 * files.el (interpreter-mode-alist): Add octave.
7737
7738 2013-09-21 Alan Mackenzie <acm@muc.de>
7739
7740 C++: fontify identifier in declaration following "public:" correctly.
7741 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7742 to match "public", etc.
7743 (c-decl-prefix-re): Add ":" into the C++ value.
7744 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7745 bit. Add a check for a ":" preceded by "public", etc.
7746
7747 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7748
7749 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7750 recognized by GDB 7.5 and later.
7751
7752 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7753
7754 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7755
7756 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7757
7758 * subr.el (internal--call-interactively): New const.
7759 (called-interactively-p): Use it (bug#3984).
7760
7761 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7762
7763 * vc/pcvs.el (cvs-mode-ignore):
7764 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7765 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7766
7767 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7770 (eshell-ls-orig-insert-directory): Remove.
7771 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7772 (eshell-ls-use-in-dired): Use advice-add/remove.
7773 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7774 Add `orig-fun' arg for use in :around advice.
7775 Make it check (redundantly) eshell-ls-use-in-dired.
7776
7777 2013-09-19 Glenn Morris <rgm@gnu.org>
7778
7779 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7780
7781 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7782
7783 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7784
7785 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7786
7787 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7788 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7789 (tramp-get-remote-python): New defuns.
7790 (tramp-get-remote-uid-with-perl)
7791 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7792 contributed by yary <not.com@gmail.com> (tiny change).
7793 (tramp-get-remote-uid-with-python)
7794 (tramp-get-remote-gid-with-python): New defuns. Python code
7795 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7796 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7797
7798 2013-09-19 Glenn Morris <rgm@gnu.org>
7799
7800 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7801
7802 * eshell/em-unix.el (eshell-remove-entries):
7803 Rename argument to avoid name-clash with global `top-level'.
7804
7805 * eshell/esh-proc.el (eshell-kill-process-function):
7806 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7807 (eshell-reset-after-proc): Remove unused arg `proc'.
7808
7809 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7810 (directory-files-and-attributes): Mark unused arg.
7811
7812 * eshell/em-unix.el (eshell-remove-entries):
7813 Remove unused arg `path'. Update callers.
7814
7815 * eshell/em-hist.el (eshell-hist-parse-arguments):
7816 Remove unused arg `silent'. Update callers.
7817
7818 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7819 Fix (f)boundp mix-up.
7820
7821 * eshell/em-smart.el (eshell-smart-scroll-window)
7822 (eshell-disable-after-change):
7823 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7824
7825 2013-09-18 Alan Mackenzie <acm@muc.de>
7826
7827 Fix fontification of type when followed by "const".
7828 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7829 "known" types from fontification.
7830
7831 2013-09-18 Glenn Morris <rgm@gnu.org>
7832
7833 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7834 (chart-face-list): Drop Emacsen without display-color-p.
7835
7836 * net/eww.el (libxml-parse-html-region): Declare.
7837 (eww-display-html): Explicit error if no libxml2 support.
7838
7839 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7840
7841 * image.el (image-type-from-buffer, image-multi-frame-p):
7842 Remove --without-x warning/error.
7843
7844 * mouse.el (mouse-yank-primary):
7845 * term.el (term-mouse-paste):
7846 Reorder to silence --without-x compilation.
7847
7848 * mpc.el (doc-view-mode): Silence --without-x compilation.
7849
7850 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7851 Silence --without-x compilation.
7852
7853 * progmodes/gud.el (gud-find-file, gud-mode):
7854 Silence --without-x compilation.
7855 (tooltip-mode): Declare.
7856
7857 * wdired.el (dired-backup-overwrite): Remove declaration.
7858 (wdired-mode-map): Add doc string.
7859
7860 * custom.el (x-get-resource): Declare.
7861
7862 * eshell/em-glob.el (ange-cache):
7863 * eshell/em-unix.el (ange-cache): Declare.
7864
7865 * faces.el (x-display-list, x-open-connection, x-get-resource):
7866 Declare.
7867
7868 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7869 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7870 Declare.
7871
7872 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7873
7874 * net/gnutls.el (gnutls-log-level): Declare.
7875
7876 * net/shr.el (image-size, image-animate): Declare.
7877
7878 * simple.el (font-info): Declare.
7879
7880 * subr.el (x-popup-dialog): Declare.
7881
7882 * term/common-win.el (x-select-enable-primary)
7883 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7884 Declare.
7885
7886 * term/ns-win.el (x-handle-args): Declare.
7887
7888 * term/x-win.el (x-select-enable-clipboard): Declare.
7889
7890 * term/w32-win.el (create-default-fontset): Declare.
7891
7892 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7893 Declare.
7894
7895 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7896 (fit-frame-to-buffer): Explicit error if --without-x.
7897 (mouse-autoselect-window-select): Silence compiler.
7898
7899 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7900
7901 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7902 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7903 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7904 * eshell/esh-util.el (eshell-sublist):
7905 Remove unused local variables.
7906
7907 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7908
7909 * textmodes/two-column.el: Make 2C-split work for --without-x.
7910 (scroll-bar-columns): Autoload.
7911 (top-level): Require fringe when compiling.
7912
7913 2013-09-18 Leo Liu <sdl.web@gmail.com>
7914
7915 * subr.el (add-hook): Robustify to handle closure as well.
7916
7917 2013-09-17 Glenn Morris <rgm@gnu.org>
7918
7919 * simple.el (messages-buffer-mode-map): Unbind "g".
7920
7921 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * help-mode.el (help-mode-finish): Use derived-mode-p.
7924 Remove obsolete highlighting.
7925
7926 * play/life.el (life-mode): Use define-derived-mode. Derive from
7927 special-mode.
7928 (life): Let-bind inhibit-read-only.
7929 (life-setup): Avoid `setq'. Use `life-mode'.
7930
7931 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7932 which should not be needed any more.
7933 (package-menu-refresh, package-menu-describe-package): Use user-error.
7934
7935 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7936 (eshell-post-rewrite-command-hook): Make obsolete.
7937 (eshell-parse-command): Simplify.
7938 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7939 (eshell--cmd): Declare.
7940 (eshell-parse-pipeline): Remove unused var `final-p'.
7941 Pass a dynvar to eshell-post-rewrite-command-hook.
7942 Implement the new eshell-post-rewrite-command-function.
7943 (eshell-invoke-directly): Remove unused arg `input'.
7944 * eshell/esh-io.el (eshell-io-initialize):
7945 Use eshell-post-rewrite-command-function (bug#15399).
7946 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7947 adjust to new calling convention.
7948 (eshell-create-handles): Rename args to avoid clashing with dynvar
7949 `standard-output'.
7950
7951 2013-09-17 Glenn Morris <rgm@gnu.org>
7952
7953 * simple.el (messages-buffer-mode): New major mode.
7954 (messages-buffer): New function.
7955 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7956 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7957 (ert-run-test): Use `messages-buffer' function.
7958 (ert--force-message-log-buffer-truncation): Ignore read-only.
7959 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7960 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7961
7962 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7965
7966 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7967
7968 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7969
7970 * icomplete.el (icomplete-in-buffer): New var.
7971 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7972 vars and replace them with functions.
7973 (icomplete-minibuffer-setup): Adjust accordingly.
7974 (icomplete--completion-table, icomplete--completion-predicate)
7975 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7976 New functions.
7977 (icomplete-forward-completions, icomplete-backward-completions)
7978 (icomplete-simple-completing-p, icomplete-exhibit)
7979 (icomplete-completions): Use them.
7980 (icomplete--in-region-buffer): New var.
7981 (icomplete--in-region-setup): New function.
7982 (icomplete-mode): Use it.
7983
7984 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7985 (bug#15379).
7986 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7987 return args and options.
7988 (eshell-eval-using-options): Use the new return value of
7989 eshell--do-opts to set the options's vars in their scope.
7990 (eshell--set-option): Rename from eshell-set-option.
7991 Add arg `opt-vals'.
7992 (eshell--process-option): Rename from eshell-process-option.
7993 Add arg `opt-vals'.
7994 (eshell--process-args): Use an `opt-vals' alist to store the options's
7995 values during their processing and return them additionally to the
7996 remaining args.
7997
7998 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7999
8000 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8001 continuation character an operator, as far as indentation is
8002 concerned (Bug#15369).
8003
8004 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8005
8006 * window.el (window--state-put-2): Don't process buffer state
8007 when buffer doesn't exist any more (Bug#15382).
8008
8009 2013-09-15 Glenn Morris <rgm@gnu.org>
8010
8011 * eshell/em-unix.el (eshell/rm):
8012 Make -f ignore missing files. (Bug#15373)
8013
8014 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8015 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8016 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8017
8018 2013-09-14 Glenn Morris <rgm@gnu.org>
8019
8020 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8021
8022 2013-09-13 Glenn Morris <rgm@gnu.org>
8023
8024 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8025 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8026
8027 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8028
8029 * frame.el (x-focus-frame): Mark as declared in frame.c.
8030
8031 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 * ls-lisp.el: Use advice-add.
8034 (original-insert-directory): Remove.
8035 (ls-lisp--insert-directory): Rename from insert-directory; add
8036 `orig-fun' argument.
8037 (insert-directory): Advise.
8038
8039 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8040
8041 * term.el (term-emulate-terminal): Decode the command string
8042 before passing it to term-command-hook. (Bug#15337)
8043
8044 2013-09-13 Glenn Morris <rgm@gnu.org>
8045
8046 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8047
8048 * eshell/esh-ext.el (eshell-search-path): Declare.
8049
8050 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8051 Otherwise an error occurs if eshell-dirs module not loaded.
8052
8053 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8054
8055 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8056
8057 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8058 `tramp-check-proper-host'. Check for a valid method name.
8059
8060 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8061 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8062 * net/tramp-sh.el (tramp-maybe-open-connection):
8063 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8064
8065 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8066 also for hash values.
8067
8068 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * term/ns-win.el (parameters): Don't declare as dynamic.
8071 (before-make-frame-hook): Don't add ineffective function.
8072
8073 * eshell/*.el: Use lexical-binding (bug#15231).
8074
8075 2013-09-12 Kenichi Handa <handa@gnu.org>
8076
8077 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8078
8079 2013-09-12 Glenn Morris <rgm@gnu.org>
8080
8081 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8082 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8083
8084 * subr.el (do-after-load-evaluation): Also give compiler warnings
8085 when obsolete files are used (except by obsolete files).
8086
8087 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8088 in the status output, assume `filename' is the first. (Bug#15322)
8089
8090 * vc/vc.el (vc-deduce-fileset): Doc fix.
8091
8092 * calc/calc-help.el (Info-goto-node):
8093 * progmodes/cperl-mode.el (Info-find-node):
8094 * vc/ediff.el (Info-goto-node): Update declarations.
8095
8096 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8097
8098 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8099 (vc-bzr-pull): Require vc-dispatcher.
8100 * vc/vc-git.el (vc-compilation-mode): Declare.
8101 (vc-git-pull): Require vc-dispatcher.
8102
8103 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8104
8105 * progmodes/octave.el (help-button-action): Declare.
8106
8107 * shell.el (shell-directory-tracker): Output error as a message
8108 rather than just returning it as a string.
8109 (shell-process-pushd): Remove useless use of message.
8110
8111 * dframe.el (dframe-timer-fn):
8112 * files.el (dir-locals-read-from-file):
8113 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8114 (mpc-format):
8115 * reveal.el (reveal-post-command):
8116 * saveplace.el (load-save-place-alist-from-file):
8117 * shell.el (shell-resync-dirs):
8118 * w32-common-fns.el (x-get-selection-value):
8119 * emacs-lisp/copyright.el (copyright-find-copyright):
8120 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8121 * emulation/tpu-edt.el (tpu-copy-keyfile):
8122 * play/bubbles.el (bubbles--mark-neighbourhood):
8123 * progmodes/executable.el
8124 (executable-make-buffer-file-executable-if-script-p):
8125 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8126
8127 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 Cleanup Eshell to rely less on dynamic scoping.
8130 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8131 last-value, and ext-command here. Bind `args' closer to `body'.
8132 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8133 (eshell--args): Declare new dynamic var.
8134 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8135 last-value, and ext-command. Pass `args' to `body'.
8136 (eshell-process-args): Bind eshell--args.
8137 (eshell-set-option): Use eshell--args.
8138 * eshell/eshell.el (eshell): Use derived-mode-p.
8139 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8140 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8141 (eshell-glob-function): Declare.
8142 * eshell/esh-util.el: Require cl-lib.
8143 (eshell-read-hosts-file): Avoid add-to-list.
8144 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8145 `err'.
8146 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8147 Declare.
8148 (eshell/diff): Remove unused var `err'.
8149 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8150 `killflag'.
8151 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8152 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8153 first use.
8154 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8155 Move declaration before first use.
8156 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8157 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8158 rely on cl-return.
8159
8160 2013-09-12 Glenn Morris <rgm@gnu.org>
8161
8162 * term/ns-win.el (global-map): Remove binding for ispell-next,
8163 deleted 1999-05-29. (Bug#15357)
8164
8165 2013-09-11 Glenn Morris <rgm@gnu.org>
8166
8167 * echistory.el (electric-command-history): Remove call to deleted func.
8168
8169 * play/landmark.el (landmark-mode): Fix typos.
8170
8171 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8172 Check cvs-sort-ignore-file is bound.
8173
8174 * savehist.el: No need for cl when compiling on Emacs.
8175
8176 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8179 (bug#15338).
8180 (eshell-self-insert-command, eshell-send-invisible):
8181 Remove unused argument.
8182 (eshell-handle-control-codes): Remove unused var `orig'.
8183 Avoid delete-backward-char.
8184
8185 * files.el (set-auto-mode): Simplify a bit further.
8186
8187 2013-09-11 Glenn Morris <rgm@gnu.org>
8188
8189 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8190 (set-auto-mode): Don't regexp-quote elements.
8191 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8192 * progmodes/cc-mode.el (interpreter-mode-alist):
8193 * progmodes/ruby-mode.el (interpreter-mode-alist):
8194 Revert previous change.
8195
8196 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * play/snake.el (snake-mode):
8199 * play/mpuz.el (mpuz-mode):
8200 * play/landmark.el (lm-mode):
8201 * play/blackbox.el (blackbox-mode):
8202 * play/5x5.el (5x5-mode):
8203 * obsolete/options.el (Edit-options-mode):
8204 * net/quickurl.el (quickurl-list-mode):
8205 * net/newst-treeview.el (newsticker-treeview-mode):
8206 * mail/rmailsum.el (rmail-summary-mode):
8207 * mail/mspools.el (mspools-mode):
8208 * locate.el (locate-mode):
8209 * ibuffer.el (ibuffer-mode):
8210 * emulation/ws-mode.el (wordstar-mode):
8211 * emacs-lisp/debug.el (debugger-mode):
8212 * array.el (array-mode):
8213 * net/eudc.el (eudc-mode): Use define-derived-mode.
8214 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8215 Move initialization into declaration.
8216 (mairix-searches-mode): Use define-derived-mode.
8217 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8218 (eudc-edit-hotlist): Use dolist.
8219 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8220 (Man-mode): Use define-derived-mode.
8221 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8222 (Info-edit-mode): Use define-derived-mode.
8223 (Info-cease-edit): Use Info-mode.
8224 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8225 into declaration.
8226 (eshell-mode): Use define-derived-mode.
8227 * chistory.el (command-history-mode-map): Rename from
8228 command-history-map.
8229 (command-history-mode): Use define-derived-mode.
8230 (Command-history-setup): Remove function.
8231 * calc/calc.el (calc-trail-mode-map): New var.
8232 (calc-trail-mode): Use define-derived-mode.
8233 (calc-trail-buffer): Set calc-main-buffer manually.
8234 * bookmark.el (bookmark-insert-annotation): New function.
8235 (bookmark-edit-annotation): Use it.
8236 (bookmark-edit-annotation-mode): Make it a proper major mode.
8237 (bookmark-send-edited-annotation): Use derived-mode-p.
8238 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8239 closer to its ideal place. Use \' to match EOS.
8240
8241 * profiler.el (profiler-calltree-find): Use function-equal.
8242
8243 2013-09-10 Glenn Morris <rgm@gnu.org>
8244
8245 * files.el (interpreter-mode-alist): Convert to regexps.
8246 (set-auto-mode): Adapt for this. (Bug#15306)
8247 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8248 Comment out unused variable.
8249 * progmodes/cc-mode.el (interpreter-mode-alist):
8250 * progmodes/python.el (interpreter-mode-alist):
8251 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8252 * progmodes/sh-script.el (sh-set-shell):
8253 No longer use interpreter-mode-alist to get list of shells.
8254
8255 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8256
8257 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * simple.el: Use set-temporary-overlay-map for universal-argument.
8260 (universal-argument-map): Don't use default-bindings (bug#15317).
8261 Bind switch-frame explicitly. Replace universal-argument-minus with
8262 a conditional binding.
8263 (universal-argument-num-events, saved-overriding-map): Remove.
8264 (restore-overriding-map): Remove.
8265 (universal-argument--mode): Rename from save&set-overriding-map,
8266 and rewrite.
8267 (universal-argument, universal-argument-more, negative-argument)
8268 (digit-argument): Adjust accordingly.
8269 (universal-argument-minus): Remove.
8270 (universal-argument-other-key): Remove.
8271
8272 * subr.el (with-demoted-errors): Add `format' argument.
8273
8274 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8275
8276 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8277 `tramp-cleanup-connection'.
8278
8279 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8280 parameters KEEP-DEBUG and KEEP-PASSWORD.
8281
8282 * net/tramp.el (tramp-file-name-handler):
8283 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8284 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8285 (tramp-maybe-open-connection):
8286 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8287 Use `tramp-cleanup-connection'.
8288
8289 * net/tramp-sh.el (tramp-maybe-open-connection):
8290 Catch 'uname-changed inside the progress reporter.
8291
8292 2013-09-10 Glenn Morris <rgm@gnu.org>
8293
8294 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8295
8296 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8297 returns "alternate access method" in mode (eg "-rw-r--r--.").
8298
8299 2013-09-08 Glenn Morris <rgm@gnu.org>
8300
8301 * saveplace.el (load-save-place-alist-from-file):
8302 Demote errors. (Bug#15305)
8303
8304 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8305
8306 Improve compatibility with older Emacsen, and XEmacs.
8307
8308 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8309 only if it is bound. It isn't for XEmacs.
8310 (with-tramp-progress-reporter): Do not let-bind `result'.
8311 This yields to scoping errors in XEmacs.
8312 (tramp-handle-make-auto-save-file-name): New function, moved from
8313 tramp-sh.el.
8314
8315 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8316 for `make-auto-save-file-name'.
8317 (tramp-adb--gnu-switches-to-ash):
8318 Use `tramp-compat-replace-regexp-in-string'.
8319
8320 * net/tramp-cache.el (tramp-cache-print): Call
8321 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8322
8323 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8324 bound. It isn't for XEmacs.
8325
8326 * net/tramp-compat.el (tramp-compat-copy-file):
8327 Catch `wrong-number-of-arguments' error.
8328 (tramp-compat-replace-regexp-in-string): New defun.
8329
8330 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8331 for `make-auto-save-file-name'.
8332 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8333 `copy-file'.
8334 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8335 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8336 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8337
8338 * net/tramp-gw.el (tramp-gw-open-network-stream):
8339 Use `tramp-compat-replace-regexp-in-string'.
8340
8341 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8342 Call `tramp-handle-make-auto-save-file-name'.
8343 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8344 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8345 (tramp-sh-file-inotifywait-process-filter):
8346 Use `tramp-compat-replace-regexp-in-string'.
8347 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8348
8349 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8350 for `make-auto-save-file-name'.
8351 (tramp-smb-handle-copy-directory):
8352 Call `tramp-compat-replace-regexp-in-string'.
8353 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8354 (tramp-smb-handle-copy-file): Improve error message.
8355 (tramp-smb-handle-rename-file): Rename directly only in case
8356 `newname' does not exist yet. This is a restriction of smbclient.
8357 (tramp-smb-maybe-open-connection): Rerun the function only when
8358 `auth-sources' is non-nil.
8359
8360 2013-09-08 Kenichi Handa <handa@gnu.org>
8361
8362 * international/characters.el: Set category "^" (Combining) for
8363 more characters.
8364
8365 2013-09-07 Alan Mackenzie <acm@muc.de>
8366
8367 Correctly fontify Java class constructors.
8368 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8369 in Java Mode.
8370 (c-recognize-typeless-decls): Set the Java value to t.
8371 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8372 While handling a "(", add a check for, effectively, Java, and handle a
8373 "typeless" declaration there.
8374
8375 2013-09-07 Roland Winkler <winkler@gnu.org>
8376
8377 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8378 field subtitle for entry type book.
8379
8380 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * minibuffer.el: Make minibuffer-complete call completion-in-region
8383 rather than other way around.
8384 (completion--some, completion-pcm--find-all-completions):
8385 Don't delay signals when debugging.
8386 (minibuffer-completion-contents): Beware fields within the
8387 minibuffer contents.
8388 (completion-all-sorted-completions): Use defvar-local.
8389 (completion--do-completion, completion--cache-all-sorted-completions)
8390 (completion-all-sorted-completions, minibuffer-force-complete):
8391 Add args `beg' and `end'.
8392 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8393 (minibuffer-complete): Use completion-in-region.
8394 (completion-complete-and-exit): New fun, extracted from
8395 minibuffer-complete-and-exit.
8396 (minibuffer-complete-and-exit): Use it.
8397 (completion--complete-and-exit): Rename from
8398 minibuffer--complete-and-exit.
8399 (completion-in-region--single-word): New function, extracted from
8400 minibuffer-complete-word.
8401 (minibuffer-complete-word): Use it.
8402 (display-completion-list): Make `common-substring' argument obsolete.
8403 (completion--in-region): Call completion--in-region-1 instead of
8404 minibuffer-complete.
8405 (completion-help-at-point): Pass boundaries to
8406 minibuffer-completion-help as args rather than via an overlay.
8407 (completion-pcm--string->pattern): Use `any-delim'.
8408 (completion-pcm--optimize-pattern): New function.
8409 (completion-pcm--pattern->regex): Handle `any-delim'.
8410 * icomplete.el (icomplete-forward-completions)
8411 (icomplete-backward-completions, icomplete-completions):
8412 Adjust calls to completion-all-sorted-completions and
8413 completion--cache-all-sorted-completions.
8414 (icomplete-with-completion-tables): Default to t.
8415 * emacs-lisp/crm.el (crm--current-element): Rename from
8416 crm--select-current-element. Don't put an overlay but return the
8417 boundaries instead.
8418 (crm--completion-command): Take two new args to bind to the boundaries.
8419 (crm-completion-help): Adjust accordingly.
8420 (crm-complete): Use completion-in-region.
8421 (crm-complete-word): Use completion-in-region--single-word.
8422 (crm-complete-and-exit): Use completion-complete-and-exit.
8423
8424 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8425
8426 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8427 than dynamically.
8428
8429 2013-09-06 Juri Linkov <juri@jurta.org>
8430
8431 * info.el (Info-display-images-node): When image file doesn't exist
8432 display text version of the image if it's provided in the Info file.
8433 Otherwise, display the location of missing image from SRC attribute.
8434 Add help-echo text property from ALT attribute. (Bug#15279)
8435
8436 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8439 (edit-abbrevs-mode): Use define-derived-mode.
8440
8441 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8442 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8443 that it's defined.
8444 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8445 Use define-derived-mode.
8446
8447 * epg.el (epg-start-encrypt): Minor CSE simplification.
8448
8449 2013-09-06 William Xu <william.xwl@gmail.com>
8450
8451 * arc-mode.el: Add support for 7za (bug#15264).
8452 (archive-7z-program): New var.
8453 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8454 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8455 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8456
8457 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8458
8459 Remove URL syntax.
8460
8461 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8462 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8463 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8464 (tramp-postfix-host-format, tramp-file-name-regexp)
8465 (tramp-completion-file-name-regexp)
8466 (tramp-completion-dissect-file-name)
8467 (tramp-handle-substitute-in-file-name): Remove 'url case.
8468 (tramp-file-name-regexp-url)
8469 (tramp-completion-file-name-regexp-url): Remove constants.
8470
8471 2013-09-06 Glenn Morris <rgm@gnu.org>
8472
8473 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8474
8475 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8476
8477 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8478 keywords" below "here-doc beginnings" (Bug#15270).
8479
8480 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * subr.el (pop): Use `car-safe'.
8483 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8484 to detect unused `pop' return value.
8485
8486 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8487 var `block-regexp'.
8488 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8489 (python-fill-string): Remove unused var `marker'.
8490 (python-skeleton-add-menu-items): Remove unused var `items'.
8491
8492 * international/mule-cmds.el: Require CL.
8493 (find-coding-systems-for-charsets): Avoid add-to-list.
8494 (sanitize-coding-system-list): New function, extracted from
8495 select-safe-coding-system-interactively.
8496 (select-safe-coding-system-interactively): Use it.
8497 (read-input-method-name): Accept symbols for `default'.
8498
8499 * emacs-lisp/advice.el (defadvice): Add indent rule.
8500
8501 2013-09-05 Daniel Hackney <dan@haxney.org>
8502
8503 * dired-x.el:
8504 * net/ange-ftp.el:
8505 * net/browse-url.el:
8506 * net/dbus.el:
8507 * net/eudc.el:
8508 * net/eudcb-ldap.el:
8509 * net/eww.el:
8510 * net/imap.el:
8511 * printing.el:
8512 * vc/ediff-diff.el:
8513 * vc/ediff-init.el:
8514 * vc/ediff-merg.el:
8515 * vc/ediff-mult.el:
8516 * vc/ediff-util.el:
8517 * vc/ediff-wind.el:
8518 * vc/ediff.el:
8519 * vc/emerge.el:
8520 * vc/pcvs.el:
8521 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8522 byte compiler. Remove some unused let-bound variables.
8523
8524 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8525
8526 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8527 a "ref-cell", since it gets better optimized (bug#14883).
8528
8529 2013-09-05 Glenn Morris <rgm@gnu.org>
8530
8531 * progmodes/cc-awk.el (c-forward-sws): Declare.
8532
8533 2013-09-04 Glenn Morris <rgm@gnu.org>
8534
8535 * generic-x.el [rul-generic-mode]: Require cc-mode.
8536 (c++-mode-syntax-table): Declare.
8537 (rul-generic-mode-syntax-table): Init in the defvar.
8538
8539 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8542 (vc-do-command, vc-set-async-update):
8543 * vc/vc-mtn.el (vc-mtn-dir-status):
8544 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8545 (vc-hg-pull, vc-hg-merge-branch):
8546 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8547 (vc-git-merge-branch):
8548 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8549 (vc-cvs-dir-status-files):
8550 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8551 (vc-bzr-dir-status-files):
8552 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8553 * vc/vc-annotate.el: Use lexical-binding.
8554 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8555 (vc-sentinel-movepoint): Declare.
8556 (vc-annotate): Don't use `goto-line'.
8557 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8558 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8559 (vc-sentinel-movepoint): Declare.
8560 * vc/vc-svn.el: Use lexical-binding.
8561 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8562 * vc/vc-sccs.el:
8563 * vc/vc-rcs.el: Use lexical-binding.
8564
8565 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8566 `deleted'. Don't drop errors silently.
8567
8568 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8569
8570 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8571
8572 * vc/vc.el (vc-ignore): Rewrite.
8573 (vc-default-ignore): New function.
8574 (vc-default-ignore-completion-table): Use find-ignore-file.
8575
8576 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8577 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8578 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8579 Remove. Most code moved to vc.el.
8580
8581 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8582
8583 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8584 * net/tramp-smb.el (tramp-smb-get-file-entries):
8585 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8586 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8587
8588 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8589 Update call to it.
8590 (eww-change-select): Remove unused var `properties'.
8591 (eww-make-unique-file-name): Remove unused var `base'.
8592
8593 * finder.el (finder-compile-keywords): Don't mess with windows.
8594
8595 * calculator.el (calculator-funcall): Fix typo in last change.
8596
8597 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8598
8599 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8600 <pkg>-autoloads.el file stop us.
8601
8602 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8603 warnings, and factor out common code.
8604
8605 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8606
8607 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8608 two-character operators and whether the character preceding them
8609 changes their meaning (Bug#15208).
8610
8611 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8612
8613 Format code sent to Python shell for robustness.
8614 * progmodes/python.el (python-shell-buffer-substring):
8615 New function.
8616 (python-shell-send-region, python-shell-send-buffer): Use it.
8617
8618 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8619
8620 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8621 * net/tramp.el (tramp-user-error): ... here.
8622 (tramp-find-method, tramp-check-proper-host)
8623 (tramp-dissect-file-name, tramp-debug-message)
8624 (tramp-handle-shell-command):
8625 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8626 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8627
8628 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8629
8630 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8631
8632 * avoid.el (mouse-avoidance-point-position)
8633 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8634 returns nil.
8635
8636 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8637
8638 * progmodes/python.el (python-shell-completion-get-completions):
8639 Drop use of deleted `comint-last-prompt-overlay'.
8640 (python-nav-if-name-main): New command.
8641
8642 2013-09-01 Glenn Morris <rgm@gnu.org>
8643
8644 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8645 Avoid leading space in $wins. Otherwise the sed command used by
8646 eg compile-main ends up containing "/*.el". (Bug#15170)
8647
8648 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8649
8650 2013-08-30 Glenn Morris <rgm@gnu.org>
8651
8652 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8653 Fix is-this-a-directory logic. (Bug#15220)
8654
8655 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * textmodes/css-mode.el: Use SMIE.
8658 (css-smie-grammar): New var.
8659 (css-smie--forward-token, css-smie--backward-token)
8660 (css-smie-rules): New functions.
8661 (css-mode): Use them.
8662 (css-navigation-syntax-table): Remove var.
8663 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8664 (css-indent-calculate, css-indent-line): Remove functions.
8665
8666 Misc changes to reduce use of `(lambda...); and other cleanups.
8667 * cus-edit.el: Use lexical-binding.
8668 (customize-push-and-save, customize-apropos)
8669 (custom-buffer-create-internal): Use closures.
8670 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8671 * progmodes/ada-xref.el: Use setq.
8672 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8673 * dframe.el: Use lexical-binding.
8674 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8675 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8676 * descr-text.el: Use lexical-binding.
8677 (describe-text-widget, describe-text-sexp, describe-property-list):
8678 Use closures.
8679 * comint.el (comint-history-isearch-push-state): Use a closure.
8680 * calculator.el: Use lexical-binding.
8681 (calculator-number-to-string): Make it work with lexical-binding.
8682 (calculator-funcall): Same and use cl-letf.
8683
8684 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8685 (lisp--company-doc-string, lisp--company-location): New functions.
8686 (lisp-completion-at-point): Use them to improve Company support.
8687
8688 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8689 params of lambda expressions.
8690 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8691 (ruby-smie--opening-pipe-p): New function.
8692 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8693 symbols and matched |...| for formal params.
8694 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8695 from being treated as hanging. Handle "rescue".
8696
8697 2013-08-29 Glenn Morris <rgm@gnu.org>
8698
8699 * progmodes/cc-engine.el (c-pull-open-brace):
8700 Move definition before use.
8701
8702 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8705 are immutable. Don't use `unsafe' any more.
8706 (cl--defsubst-expand): Don't substitute at the same time as keeping
8707 a residual unused let-binding. Don't use `unsafe' any more.
8708
8709 2013-08-29 Glenn Morris <rgm@gnu.org>
8710
8711 * calendar/cal-china.el (calendar-chinese-year-cache):
8712 Recenter on 2015.
8713
8714 * nxml/nxml-util.el (nxml-debug-clear-inside):
8715 Use cl-loop rather than loop.
8716
8717 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8718
8719 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8720
8721 2013-08-28 Glenn Morris <rgm@gnu.org>
8722
8723 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8724
8725 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8726
8727 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8728
8729 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8730
8731 * simple.el (repeat-complex-command--called-interactively-skip):
8732 New function.
8733 (repeat-complex-command): Use it (bug#14136).
8734
8735 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8736 (c-define-abbrev-table): Add `doc' argument.
8737 (c-mode-abbrev-table, c++-mode-abbrev-table)
8738 (objc-mode-abbrev-table, java-mode-abbrev-table)
8739 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8740 (awk-mode-abbrev-table): Use it.
8741 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8742 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8743 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8744 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8745 Move initialization into the declaration; and remove any
8746 autoload cookie.
8747
8748 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8749 and dynamic let binding.
8750
8751 * vc/smerge-mode.el: Remove redundant :group args.
8752
8753 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8754 to load-path.
8755
8756 2013-08-28 Juri Linkov <juri@jurta.org>
8757
8758 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8759 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8760 (isearch-other-meta-char): Handle an undefined shifted printing
8761 character by downshifting it. (Bug#15200)
8762
8763 2013-08-28 Juri Linkov <juri@jurta.org>
8764
8765 * isearch.el (isearch-search): Change regexp error message for
8766 non-regexp searches. (Bug#15166)
8767
8768 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8769
8770 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8771 for portability to hosts where /bin/sh has problems.
8772
8773 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8776
8777 2013-08-27 Juri Linkov <juri@jurta.org>
8778
8779 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8780 in the keyboard macro. (Bug#15126)
8781
8782 2013-08-27 Juri Linkov <juri@jurta.org>
8783
8784 * isearch.el (isearch-quote-char): Comment out converting unibyte
8785 to multibyte, thus syncing with its `quoted-insert' counterpart.
8786 (Bug#15166)
8787
8788 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8789
8790 * window.el (display-buffer-use-some-window): Add missing
8791 argument in call of get-largest-window (Bug#15185).
8792 Reported by Stephen Leake.
8793
8794 2013-08-27 Glenn Morris <rgm@gnu.org>
8795
8796 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8797
8798 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8799
8800 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8801 from a matcher-function unless there's no more matches (bug#15161).
8802
8803 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8804
8805 * minibuffer.el: Revert change from 2013-08-20.
8806
8807 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8808 with text property `tramp-default', if appropriate.
8809 (tramp-check-proper-host): New defun.
8810 (tramp-dissect-file-name): Do not check hostname. Revert change
8811 of 2013-03-18.
8812 (tramp-backtrace): Make VEC-OR-PROC optional.
8813
8814 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8815 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8816 * net/tramp-sh.el (tramp-maybe-open-connection):
8817 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8818 Apply `tramp-check-proper-host'.
8819
8820 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8821
8822 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8823 lambda expression in order to have `describe-variable' display it.
8824
8825 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8828 BUF can be optional. (Bug#15186)
8829
8830 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8831
8832 * progmodes/flymake.el (flymake-get-real-file-name-function):
8833 Fix broken customization. (Bug#15184)
8834
8835 2013-08-25 Alan Mackenzie <acm@muc.de>
8836
8837 Improve indentation of bracelists defined by macros (without "=").
8838
8839 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8840 expansion begins with "{", regard it as bracelist when it doesn't
8841 contain a ";".
8842
8843 Parse C++ inher-intro when there's a template split over 2 lines.
8844
8845 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8846 rigorously the search for "class" etc. followed by ":".
8847
8848 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8849 random languages a regexp which never matches rather than nil.
8850
8851 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8852
8853 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8854 (c-awk-regexp-one-line-possibly-open-char-list-re)
8855 (c-awk-one-line-possibly-open-regexp-re)
8856 (c-awk-one-line-non-syn-ws*-re): Remove.
8857 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8858 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8859 (c-awk-space*-unclosed-regexp-/-re): New constants.
8860 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8861 aren't regexp delimiters.
8862
8863 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8864 handling for a rare situation in AWK Mode involving unterminated
8865 strings/regexps.
8866
8867 2013-08-23 Glenn Morris <rgm@gnu.org>
8868
8869 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8870
8871 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8872
8873 * files.el (create-file-buffer): If the result would begin with
8874 spaces, prepend a "|" instead of removing them. (Bug#15162)
8875
8876 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8877
8878 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8879 text-properties (bug#15155).
8880
8881 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8882 exist any more.
8883 (calc-keypad-redraw): Remove unused var `pad'.
8884 (calc-keypad-press): Remove unused var `menu'.
8885
8886 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8887
8888 * window.el (display-buffer-pop-up-frame):
8889 Call pop-up-frame-function with BUFFER current so `make-frame' will
8890 use it as the new frame's buffer (Bug#15133).
8891
8892 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8893
8894 * calendar/timeclock.el: Minor cleanups.
8895 (timeclock-ask-before-exiting, timeclock-use-display-time):
8896 Use `symbol'.
8897 (timeclock-modeline-display): Define as alias before the
8898 actual definition.
8899 (timeclock-mode-line-display): Use define-minor-mode.
8900 (timeclock-day-list-template): Make it a function, add an argument.
8901 (timeclock-day-list-required, timeclock-day-list-length)
8902 (timeclock-day-list-debt, timeclock-day-list-span)
8903 (timeclock-day-list-break): Adjust calls accordingly.
8904
8905 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8906
8907 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8908 Use read--expression so that completion works again.
8909
8910 2013-08-21 Sam Steingold <sds@gnu.org>
8911
8912 Add rudimentary inferior shell interaction
8913 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8914 (sh-set-shell): Reset it.
8915 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8916 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8917
8918 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8919
8920 * align.el: Use lexical-binding.
8921 (align-region): Simplify accordingly.
8922
8923 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8924
8925 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8926
8927 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8928 `non-essential' up.
8929
8930 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8931
8932 * net/tramp.el:
8933 * net/tramp-adb.el:
8934 * net/tramp-cmds.el:
8935 * net/tramp-ftp.el:
8936 * net/tramp-gvfs.el:
8937 * net/tramp-gw.el:
8938 * net/tramp-sh.el: Don't wrap external variable declarations by
8939 `eval-when-compile'.
8940
8941 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8942
8943 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8944 now that Emacs supports ImageMagick animations.
8945
8946 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8947
8948 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8949 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8950
8951 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8952
8953 * window.el (mouse-autoselect-window-select): Do autoselect when
8954 mouse pointer is on margin.
8955
8956 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8957
8958 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8959
8960 2013-08-16 Glenn Morris <rgm@gnu.org>
8961
8962 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8963 Handle "Remote Directory" response of some clients. (Bug#15058)
8964
8965 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8966 Tweak warning. (Bug#14926)
8967
8968 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8969 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8970
8971 * image-mode.el (image-mode-map): Add menu items to reverse,
8972 increase, decrease, reset animation speed.
8973 (image--set-speed, image-increase-speed, image-decrease-speed)
8974 (image-reverse-speed, image-reset-speed): New functions.
8975 (image-mode-map): Add bindings for speed commands.
8976
8977 * image.el (image-animate-get-speed, image-animate-set-speed):
8978 New functions.
8979 (image-animate-timeout): Respect image :speed property.
8980
8981 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8982
8983 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8984 previous line (bug#15101).
8985 (debugger-eval-expression, debugger-record-expression):
8986 Use read--expression (bug#15102).
8987
8988 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8989
8990 Remove byte compiler warnings, visible when compiling with
8991 `byte-compile-force-lexical-warnings' set to t.
8992
8993 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8994 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8995 (tramp-handle-unhandled-file-name-directory)
8996 (tramp-handle-file-notify-add-watch, tramp-action-login)
8997 (tramp-action-succeed, tramp-action-permission-denied)
8998 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8999 arguments with "_".
9000
9001 * net/tramp-adb.el (tramp-adb-parse-device-names)
9002 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9003 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9004 (tramp-adb-handle-file-truename): Remove unused arguments.
9005
9006 * net/tramp-cache.el (tramp-flush-directory-property)
9007 (tramp-flush-connection-property, tramp-list-connections)
9008 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9009
9010 * net/tramp-compat.el (tramp-compat-make-temp-file):
9011 Rename FILENAME to F.
9012
9013 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9014 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9015 (tramp-zeroconf-parse-workstation-device-names)
9016 (tramp-zeroconf-parse-webdav-device-names)
9017 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9018
9019 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9020 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9021
9022 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9023 arguments.
9024 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9025 (tramp-sh-handle-insert-file-contents-literally)
9026 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9027 with "_".
9028 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9029 Remove unused variables.
9030
9031 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9032 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9033 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9034
9035 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9036 Make them a defconst.
9037 (tramp-uuencode-region): Remove unused variable.
9038
9039 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9040
9041 * frameset.el (frameset--prop-setter): New function.
9042 (frameset-prop): Add gv-setter declaration.
9043 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9044 parameter was already set in FILTERED. Doc fix.
9045 (frameset--record-minibuffer-relationships): Allow saving a
9046 minibufferless frame without its corresponding minibuffer frame.
9047 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9048 frame, if the frame id matches.
9049 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9050 frames before orphaned ones.
9051 (frameset-restore): Warn about orphaned windows, instead of error out.
9052
9053 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9054
9055 * window.el (window-make-atom): Don't overwrite parameter
9056 already present.
9057 (display-buffer-in-atom-window): Handle special case where we
9058 split an already atomic window.
9059 (window--major-non-side-window, display-buffer-in-side-window)
9060 (window--side-check): Ignore minibuffer window when walking
9061 window tree.
9062 (window-deletable-p): Return 'frame only if no other frame uses
9063 our minibuffer window.
9064 (record-window-buffer): Run buffer-list-update-hook.
9065 (split-window): Make sure window--check-frame won't destroy an
9066 existing atomic window in case the new window gets nested
9067 inside.
9068 (display-buffer-at-bottom): Ignore minibuffer window when
9069 walking window tree. Don't split a side window.
9070 (pop-to-buffer): Don't set-buffer here, the select-window call
9071 should do that.
9072 (mouse-autoselect-window-select): Autoselect only if we are in the
9073 text portion of the window.
9074
9075 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9076
9077 * net/shr.el (shr-parse-image-data): New function to grab both the
9078 data itself and the Content-Type.
9079 (shr-put-image): Use it.
9080
9081 * net/eww.el (eww-display-image): Ditto.
9082
9083 * image.el (image-content-type-suffixes): New variable.
9084
9085 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9086
9087 * progmodes/python.el (python-imenu--build-tree)
9088 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9089
9090 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9091
9092 * simple.el (backward-word): Mention the optional argument.
9093
9094 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * frameset.el (frameset--make): Rename constructor from make-frameset.
9097 (frameset-p, frameset-valid-p): Don't autoload.
9098 (frameset-valid-p): Use normal accessors.
9099
9100 2013-08-13 Glenn Morris <rgm@gnu.org>
9101
9102 * progmodes/compile.el (compile-command): Tweak example in doc.
9103 * obsolete/scribe.el (scribe-mode):
9104 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9105
9106 * mail/feedmail.el (feedmail-confirm-outgoing)
9107 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9108
9109 * cus-start.el (truncate-partial-width-windows): Fix type.
9110
9111 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9112
9113 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9114
9115 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * emacs-lisp/timer.el (timer--time-setter): New function.
9118 (timer--time): Use it as gv-setter.
9119
9120 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9121 setter is not a symbol.
9122
9123 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9124
9125 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9126 if sending fails. This makes debugging easier.
9127
9128 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9129
9130 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9131 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9132 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9133
9134 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9135
9136 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9137
9138 2013-08-12 Glenn Morris <rgm@gnu.org>
9139
9140 * format.el (format-annotate-function):
9141 Handle read-only text properties in the source. (Bug#14887)
9142
9143 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9144
9145 * net/eww.el (eww-display-html): Ignore coding system errors.
9146 One web site uses "utf-8lias" as the coding system.
9147
9148 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9149
9150 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9151
9152 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9153
9154 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9155 (tutorial--detailed-help): Remove unused local variables.
9156 (tutorial--save-tutorial-to): Use ignore-errors.
9157 (help-with-tutorial): Use looking-at-p.
9158
9159 * view.el (view-buffer-other-window, view-buffer-other-frame):
9160 Mark unused arguments.
9161
9162 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9163 (woman-select-symbol-fonts, woman, woman-find-file)
9164 (woman-insert-file-contents, woman-non-underline-faces):
9165 Use string-match-p.
9166 (woman1-unquote): Move declaration.
9167
9168 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9169 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9170 argument. Remove unused local variable.
9171 (xml-parse-elem-type): Use string-match-p.
9172 (xml-substitute-numeric-entities): Use ignore-errors.
9173
9174 * calculator.el (calculator): Mark unused argument.
9175 (calculator-paste, calculator-quit, calculator-integer-p):
9176 Use ignore-errors.
9177 (calculator-string-to-number, calculator-decimal, calculator-exp)
9178 (calculator-op-or-exp): Use string-match-p.
9179
9180 * dired.el (dired-buffer-more-recently-used-p): Declare.
9181 (dired-insert-set-properties, dired-insert-old-subdirs):
9182 Use ignore-errors.
9183
9184 * dired-aux.el (dired-compress): Use ignore-errors.
9185 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9186 (dired-do-async-shell-command, dired-do-shell-command)
9187 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9188 (dired-insert-subdir-validate): Use string-match-p.
9189 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9190 (dired-add-entry): Use string-match-p, looking-at-p.
9191 (dired-insert-subdir-newpos): Remove unused local variable.
9192
9193 * filenotify.el (file-notify-callback): Remove unused local variable.
9194
9195 * filesets.el (filesets-error): Mark unused argument.
9196 (filesets-which-command-p, filesets-filter-dir-names)
9197 (filesets-directory-files, filesets-get-external-viewer)
9198 (filesets-ingroup-get-data): Use string-match-p.
9199
9200 * find-file.el (ff-other-file-name, ff-other-file-name)
9201 (ff-find-the-other-file, ff-cc-hh-converter):
9202 Remove unused local variables.
9203 (ff-get-file-name): Use string-match-p.
9204 (ff-all-dirs-under): Use ignore-errors.
9205
9206 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9207 (follow-select-if-visible): Remove unused local variable.
9208
9209 * forms.el (read-file-filter): Move declaration.
9210 (forms--make-format, forms--make-parser, forms-insert-record):
9211 Quote function with #'.
9212 (forms--update): Use string-match-p. Quote function with #'.
9213
9214 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9215 (help-make-xrefs): Use looking-at-p.
9216 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9217
9218 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9219 (ibuffer-confirm-operation-on): Use string-match-p.
9220
9221 * msb.el (msb-item-handler, msb-dired-item-handler):
9222 Mark unused arguments.
9223
9224 * ses.el (ses-decode-cell-symbol)
9225 (ses-kill-override): Remove unused local variable.
9226 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9227 (ses-load): Use ignore-errors, looking-at-p.
9228 (ses-jump-safe): Use ignore-errors.
9229 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9230
9231 * tabify.el (untabify, tabify): Mark unused arguments.
9232
9233 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9234 Mark unused argument.
9235 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9236 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9237
9238 * emacs-lisp/timer.el (timer--time): Define setter with
9239 gv-define-setter to avoid deprecation warning.
9240
9241 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9242 (*record-cmpl-statistics-p*): Remove (was commented out).
9243 (cmpl-statistics-block): Remove (body was commented out).
9244 All callers changed.
9245 (add-completions-from-buffer, load-completions-from-file):
9246 Remove unused variables.
9247
9248 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9249
9250 * filecache.el (file-cache-delete-file-list):
9251 Print message only when told so.
9252 (file-cache-files-matching): Use #' in mapconcat argument.
9253
9254 * ffap.el (ffap-url-at-point): Fix reference to variable
9255 thing-at-point-default-mail-uri-scheme.
9256
9257 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9258
9259 * subr.el (define-error): New function.
9260 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9261 error-file-not-found and define with define-error.
9262 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9263 and define with define-error.
9264 * userlock.el (file-locked, file-supersession):
9265 * simple.el (mark-inactive):
9266 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9267 * progmodes/ada-mode.el (ada-mode-errors):
9268 * play/life.el (life-extinct):
9269 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9270 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9271 * nxml/rng-util.el (rng-error):
9272 * nxml/rng-uri.el (rng-uri-error):
9273 * nxml/rng-match.el (rng-compile-error):
9274 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9275 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9276 * nxml/nxml-rap.el (nxml-scan-error):
9277 * nxml/nxml-outln.el (nxml-outline-error):
9278 * net/soap-client.el (soap-error):
9279 * net/gnutls.el (gnutls-error):
9280 * net/ange-ftp.el (ftp-error):
9281 * mpc.el (mpc-proc-error):
9282 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9283 (json-number-format, json-string-escape, json-string-format)
9284 (json-key-format, json-object-format):
9285 * jka-compr.el (compression-error):
9286 * international/quail.el (quail-error):
9287 * international/kkc.el (kkc-error):
9288 * emacs-lisp/ert.el (ert-test-failed):
9289 * calc/calc.el (calc-error, inexact-result, math-overflow)
9290 (math-underflow):
9291 * bookmark.el (bookmark-error-no-filename):
9292 * epg.el (epg-error): Define with define-error.
9293
9294 * time.el (display-time-event-handler)
9295 (display-time-next-load-average): Don't call sit-for since it seems
9296 unnecessary (bug#15045).
9297
9298 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9299 Use #' instead of ' to quote functions.
9300 (checkdoc-output-mode): Use setq-local.
9301 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9302 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9303 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9304 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9305 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9306 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9307 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9308 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9309
9310 * ido.el (ido-completion-help): Fix up compiler warning.
9311
9312 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9313
9314 * frameset.el (frameset-p): Add autoload cookie.
9315 (frameset--jump-to-register): New function, based on code moved from
9316 register.el.
9317 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9318
9319 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9320 (frameset-restore, frameset-save, frameset-session-filter-alist):
9321 Remove declarations.
9322 (register-alist): Doc fix.
9323 (frameset-to-register): Move to frameset.el.
9324 (jump-to-register, describe-register-1): Remove frameset-specific code.
9325
9326 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9327
9328 * allout-widgets.el (allout-widgets-pre-command-business)
9329 (allout-widgets-post-command-business)
9330 (allout-widgets-after-change-handler)
9331 (allout-decorate-item-and-context, allout-set-boundary-marker)
9332 (allout-body-modification-handler)
9333 (allout-graphics-modification-handler): Mark ignored arguments.
9334 (allout-widgets-post-command-business)
9335 (allout-widgets-exposure-change-processor)
9336 (allout-widgets-exposure-undo-processor)
9337 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9338 (allout-parse-item-at-point, allout-decorate-item-guides)
9339 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9340 * allout.el (epa-passphrase-callback-function): Declare.
9341 (allout-overlay-insert-in-front-handler)
9342 (allout-overlay-interior-modification-handler)
9343 (allout-isearch-end-handler, allout-chart-siblings)
9344 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9345 (allout-yank-processing, allout-process-exposed)
9346 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9347 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9348 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9349 (lisp-indent-defform): Mark ignored arguments.
9350 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9351 (calculate-lisp-indent): Remove unused variables.
9352 * international/characters.el (indian-2-column, arabic-2-column)
9353 (tibetan): Mark ignored arguments.
9354 (use-cjk-char-width-table): Mark ignored arguments.
9355 Remove unused variables.
9356 * international/fontset.el (build-default-fontset-data)
9357 (x-compose-font-name, create-fontset-from-fontset-spec):
9358 Mark ignored arguments.
9359 (fontset-plain-name): Remove unused variables.
9360 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9361 (keyboard-coding-system): Mark ignored arguments.
9362 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9363 * help.el (resize-temp-buffer-window):
9364 * window.el (display-buffer-in-major-side-window)
9365 (display-buffer-in-side-window, display-buffer-in-previous-window):
9366 Remove unused variables.
9367 * isearch.el (isearch-forward-symbol):
9368 * version.el (emacs-bzr-version-bzr):
9369 * international/mule-cmds.el (current-language-environment):
9370 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9371 (x-handle-display):
9372 * term/pc-win.el (x-list-fonts, x-display-planes)
9373 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9374 (x-server-version, x-display-screens, x-display-mm-height)
9375 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9376 (x-selection-owner-p, x-own-selection-internal)
9377 (x-disown-selection-internal, x-get-selection-internal)
9378 (msdos-initialize-window-system):
9379 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9380 * term/x-win.el (x-handle-no-bitmap-icon):
9381 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9382 (vc-default-find-file-hook, vc-default-extra-menu):
9383 Mark ignored arguments.
9384
9385 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9388 break-condition in the context of the debugged code (bug#12685).
9389
9390 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9391
9392 * comint.el:
9393 Do not use an overlay to highlight the last prompt. (Bug#14744)
9394 (comint-mode): Make comint-last-prompt buffer local.
9395 (comint-last-prompt): New variable.
9396 (comint-last-prompt-overlay): Remove. Superseded by
9397 comint-last-prompt.
9398 (comint-snapshot-last-prompt, comint-output-filter):
9399 Use comint-last-prompt.
9400
9401 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9402
9403 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9404 (frameset-save): Check validity of the resulting frameset.
9405
9406 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9407
9408 * ido.el (ido-record-command): Add doc string.
9409
9410 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9411
9412 * frameset.el (frameset): Do not disable creation of the default
9413 frameset-p predicate. Doc fix.
9414 (frameset-valid-p): New function, copied from the old predicate-p.
9415 Add additional checks.
9416 (frameset-restore): Check with frameset-valid-p.
9417 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9418 (frameset-name, frameset-description, frameset-properties)
9419 (frameset-states): Add docstring.
9420 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9421 (frameset-filter-alist): Doc fixes.
9422
9423 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9424
9425 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9426
9427 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9430 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9431 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9432 (byte-compile-normal-call): Remove obsolescence check.
9433
9434 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9435
9436 * frameset.el (frameset-restore): Doc fix.
9437
9438 * register.el (frameset-frame-id, frameset-frame-with-id)
9439 (frameset-p, frameset-restore, frameset-save): Declare.
9440 (register-alist): Document framesets.
9441 (frameset-session-filter-alist): Declare.
9442 (frameset-to-register): New function.
9443 (jump-to-register): Implement jumping to framesets. Doc fix.
9444 (describe-register-1): Describe framesets.
9445
9446 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9447
9448 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9449
9450 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9451 Use lexical-binding.
9452
9453 * frameset.el (frameset): Use type vector, not list (incompatible
9454 change). Do not declare a new constructor, use the default one.
9455 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9456 `name' and `description', respectively, and add read-only slot
9457 `timestamp'. Doc fixes.
9458 (frameset-copy, frameset-persistent-filter-alist)
9459 (frameset-filter-alist, frameset-switch-to-gui-p)
9460 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9461 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9462 (frameset-filter-iconified, frameset-keep-original-display-p):
9463 Doc fixes.
9464 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9465 Rename from frameset-filter-(save|restore)-param. All callers changed.
9466 Doc fix.
9467 (frameset-p): Adapt to change to vector and be more thorough.
9468 Change arg name to OBJECT. Doc fix.
9469 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9470 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9471 All callers changed.
9472 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9473 All callers changed.
9474 (frameset--record-minibuffer-relationships): Rename from
9475 frameset--process-minibuffer-frames. All callers changed.
9476 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9477 Use new default constructor (again). Doc fix.
9478 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9479 All callers changed.
9480 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9481 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9482 Doc fix.
9483 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9484 PARAMETERS and WINDOW-STATE, respectively.
9485 (frameset-restore): Add new keyword argument PREDICATE.
9486 Reset frameset--target-display to nil. Doc fix.
9487
9488 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9491 (bat-mode): Use it.
9492 (bat-mode-syntax-table): Mark \n as end-of-comment.
9493 (bat-font-lock-keywords): Remove comment rule.
9494
9495 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9496 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9497
9498 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9499 (byte-compile-callargs-warn): Use `push'.
9500 (byte-compile-arglist-warn): Ignore higher-order "calls".
9501 (byte-compile-file-form-autoload): Use `pcase'.
9502 (byte-compile-function-form): If quoting a symbol, check that it exists.
9503
9504 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9505
9506 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9507 and add a few popular commands found in batch files.
9508 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9509 (dos-mode): Doc fixes.
9510
9511 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9514 (dos-mode): Use setq-local. Add space after "rem".
9515 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9516 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9517
9518 2013-08-07 Arni Magnusson <arnima@hafro.is>
9519
9520 * progmodes/dos.el: New file.
9521 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9522 dos-mode.
9523
9524 2013-08-06 Glenn Morris <rgm@gnu.org>
9525
9526 * calendar/calendar.el: Add new faces, and day-header-array.
9527 (calendar-weekday-header, calendar-weekend-header)
9528 (calendar-month-header): New faces.
9529 (calendar-day-header-construct): New function.
9530 (calendar-day-header-width): Also :set calendar-day-header-array.
9531 (calendar-american-month-header, calendar-european-month-header)
9532 (calendar-iso-month-header): Use calendar- faces.
9533 (calendar-generate-month):
9534 Use calendar-day-header-array for day headers; apply faces to them.
9535 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9536 (calendar-abbrev-construct): Add optional maxlen argument.
9537 (calendar-day-name-array): Doc fix.
9538 (calendar-day-name-array, calendar-abbrev-length)
9539 (calendar-day-abbrev-array):
9540 Also :set calendar-day-header-array, and maybe redraw.
9541 (calendar-day-header-array): New option. (Bug#15007)
9542 (calendar-font-lock-keywords): Set to nil and make obsolete.
9543 (calendar-day-name): Add option to use header array.
9544
9545 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9546
9547 * net/shr.el (shr-render-td): Remove debugging.
9548 (shr-render-td): Make width computation consistent by defaulting
9549 all zero-width columns to 10 characters. This may not be optimal,
9550 but it's at least consistent.
9551 (shr-make-table-1): Redo last change to fix the real problem in
9552 colspan handling.
9553
9554 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9555
9556 * files.el (cache-long-line-scans):
9557 Make obsolete alias to `cache-long-scans'.
9558
9559 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9560
9561 * frameset.el (frameset, frameset-filter-alist)
9562 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9563 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9564 (frameset-compute-pos): Rename from frameset--compute-pos,
9565 and add docstring.
9566 (frameset-move-onscreen): Use frameset-compute-pos.
9567 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9568
9569 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9570 Fix typos in docstrings.
9571
9572 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9573
9574 * frame.el (get-other-frame): Tiny cleanup.
9575
9576 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9577
9578 * vc/vc.el (vc-default-ignore-completion-table):
9579 Silence byte-compiler warning.
9580
9581 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9582 slot, which can indeed be nil.
9583 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9584 Move entry for `left' from persistent to live filter alist.
9585 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9586 Doc fixes.
9587 (frameset-filter-params): When restoring a frame, copy items added to
9588 `filtered', to avoid unwittingly modifying the original parameters.
9589 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9590 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9591
9592 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9593 to use looking-at-p instead of looking-at. (Bug#15028)
9594
9595 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 Revert introduction of isearch-filter-predicates (bug#14714).
9598 Rely on add-function instead.
9599 * isearch.el (isearch-filter-predicates): Rename it back to
9600 isearch-filter-predicate.
9601 (isearch-message-prefix): Use advice-function-mapc and advice
9602 properties to get the isearch-message-prefix.
9603 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9604 instead of run-hook-with-args-until-failure.
9605 (isearch-filter-visible): Not obsolete any more.
9606 * loadup.el: Preload nadvice.
9607 * replace.el (perform-replace): Revert to funcall
9608 instead of run-hook-with-args-until-failure.
9609 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9610 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9611 dired-isearch-filenames-toggle; make it into a proper minor mode.
9612 Use add/remove-function.
9613 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9614 Call the minor-mode rather than add/remove-hook.
9615 (dired-isearch-filter-filenames):
9616 Remove isearch-message-prefix property.
9617 * info.el (Info--search-loop): New function, extracted from Info-search.
9618 Funcall isearch-filter-predicate instead of
9619 run-hook-with-args-until-failure isearch-filter-predicates.
9620 (Info-search): Use it.
9621 (Info-mode): Use isearch-filter-predicate instead of
9622 isearch-filter-predicates.
9623
9624 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9625
9626 Do not call to `selected-window' where it is assumed by default.
9627 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9628 `window-hscroll', `window-width', `window-height', `window-buffer',
9629 `window-frame', `window-start', `window-point', `next-window'
9630 and `window-display-table'.
9631 * abbrev.el (abbrev--default-expand):
9632 * bs.el (bs--show-with-configuration):
9633 * buff-menu.el (Buffer-menu-mouse-select):
9634 * calc/calc.el (calc):
9635 * calendar/calendar.el (calendar-generate-window):
9636 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9637 (diary-make-entry):
9638 * comint.el (send-invisible, comint-dynamic-complete-filename)
9639 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9640 * completion.el (complete):
9641 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9642 * disp-table.el (describe-current-display-table):
9643 * doc-view.el (doc-view-insert-image):
9644 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9645 * ehelp.el (with-electric-help):
9646 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9647 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9648 * emacs-lisp/helper.el (Helper-help-scroller):
9649 * emulation/cua-base.el (cua--post-command-handler-1):
9650 * eshell/esh-mode.el (eshell-output-filter):
9651 * ffap.el (ffap-gnus-wrapper):
9652 * help-macro.el (make-help-screen):
9653 * hilit-chg.el (highlight-compare-buffers):
9654 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9655 * hl-line.el (global-hl-line-highlight):
9656 * icomplete.el (icomplete-simple-completing-p):
9657 * isearch.el (isearch-done):
9658 * jit-lock.el (jit-lock-stealth-fontify):
9659 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9660 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9661 * mpc.el (mpc-tagbrowser, mpc):
9662 * net/rcirc.el (rcirc-any-buffer):
9663 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9664 * play/landmark.el (landmark-max-width, landmark-max-height):
9665 * play/zone.el (zone):
9666 * progmodes/compile.el (compilation-goto-locus):
9667 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9668 * progmodes/etags.el (find-tag-other-window):
9669 * progmodes/fortran.el (fortran-column-ruler):
9670 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9671 * progmodes/verilog-mode.el (verilog-point-text):
9672 * reposition.el (reposition-window):
9673 * rot13.el (toggle-rot13-mode):
9674 * server.el (server-switch-buffer):
9675 * shell.el (shell-dynamic-complete-command)
9676 (shell-dynamic-complete-environment-variable):
9677 * simple.el (insert-buffer, set-selective-display)
9678 (delete-completion-window):
9679 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9680 (speedbar-recenter):
9681 * startup.el (fancy-splash-head):
9682 * textmodes/ispell.el (ispell-command-loop):
9683 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9684 * tutorial.el (help-with-tutorial):
9685 * vc/add-log.el (add-change-log-entry):
9686 * vc/compare-w.el (compare-windows):
9687 * vc/ediff-help.el (ediff-indent-help-message):
9688 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9689 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9690 (ediff-setup-control-frame):
9691 * vc/emerge.el (emerge-position-region):
9692 * vc/pcvs-util.el (cvs-bury-buffer):
9693 * window.el (walk-windows, mouse-autoselect-window-select):
9694 * winner.el (winner-set-conf, winner-undo): Related users changed.
9695
9696 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9697
9698 * frameset.el (frameset--set-id): Doc fix.
9699 (frameset-frame-id, frameset-frame-id-equal-p)
9700 (frameset-locate-frame-id): New functions.
9701 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9702 (frameset-restore): Use them.
9703
9704 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9705
9706 Do not call to `selected-frame' where it is assumed by default.
9707 Affected functions are `raise-frame', `redraw-frame',
9708 `frame-first-window', `frame-terminal' and `delete-frame'.
9709 * calendar/appt.el (appt-disp-window):
9710 * epg.el (epg-wait-for-completion):
9711 * follow.el (follow-delete-other-windows-and-split)
9712 (follow-avoid-tail-recenter):
9713 * international/mule.el (set-terminal-coding-system):
9714 * mail/rmail.el (rmail-mail-return):
9715 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9716 * progmodes/f90.el (f90-add-imenu-menu):
9717 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9718 * server.el (server-switch-buffer):
9719 * simple.el (delete-completion-window):
9720 * talk.el (talk):
9721 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9722 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9723 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9724 * vc/ediff.el (ediff-documentation): Related users changed.
9725 * frame.el (selected-terminal): Remove the leftover.
9726
9727 2013-08-05 Glenn Morris <rgm@gnu.org>
9728
9729 * calendar/calendar.el (calendar-generate-month):
9730 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9731 (calendar-generate-month, calendar-font-lock-keywords):
9732 Fix for calendar-day-header-width > length of any day name.
9733
9734 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9735
9736 * desktop.el (desktop-clear): Use new name of sort predicate.
9737
9738 * frameset.el (frameset): Add docstring. Move :version property to its
9739 own `version' slot.
9740 (frameset-copy): Rename from copy-frameset.
9741 (frameset-p): Check more thoroughly.
9742 (frameset-prop): Do not check for :version, which is no longer a prop.
9743 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9744 Use new :never value instead of t.
9745 (frameset-filter-alist): Expand and clarify docstring.
9746 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9747 (frameset-filter-minibuffer, frameset-filter-save-param)
9748 (frameset-filter-restore-param, frameset-filter-iconified):
9749 Add pointer to docstring of frameset-filter-alist.
9750 (frameset-filter-params): Rename filter values to be more meaningful:
9751 :never instead of t, and reverse the meanings of :save and :restore.
9752 (frameset--process-minibuffer-frames): Clarify error message.
9753 (frameset-save): Avoid unnecessary and confusing call to framep.
9754 Use new BOA constructor for framesets.
9755 (frameset--reuse-list): Doc fix.
9756 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9757 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9758 (frameset-minibufferless-first-p): Doc fix.
9759 Rename from frameset-sort-frames-for-deletion.
9760 (frameset-restore): Doc fixes. Use new function names.
9761 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9762
9763 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9764
9765 * desktop.el (desktop-restore-forces-onscreen)
9766 (desktop-restore-reuses-frames): Document :keyword constant values.
9767 (desktop-filter-parameters-alist): Remove, now identical to
9768 frameset-filter-alist.
9769 (desktop--filter-tty*): Remove, moved to frameset.el.
9770 (desktop-save-frameset, desktop-restore-frameset):
9771 Do not pass :filters argument.
9772
9773 * frameset.el (frameset-live-filter-alist)
9774 (frameset-persistent-filter-alist): New variables.
9775 (frameset-filter-alist): Use them. Add autoload cookie.
9776 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9777 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9778 `frameset--id' (it's supposed to be internal to frameset.el).
9779 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9780 (frameset--initial-params): New function.
9781 (frameset--get-frame): Use it. Doc fix.
9782 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9783 Accept :all, not 'all.
9784 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9785 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9786 with fbound symbols. Fix frame id matching, and remove matching ids if
9787 the frame being restored is deleted. Obey :delete.
9788
9789 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9790
9791 * subr.el (macrop): New function.
9792 (text-clone--maintaining): New var.
9793 (text-clone--maintain): Rename from text-clone-maintain. Use it
9794 instead of inhibit-modification-hooks.
9795
9796 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9797 a proxy, so as handle autoloads and redefinitions of the target.
9798 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9799
9800 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9801 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9802 (pcase--mutually-exclusive-p): New function.
9803 (pcase--split-consp): Use it.
9804 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9805 mutually exclusive with the current predicate.
9806
9807 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9808 (edebug-macrop): Remove. Use `macrop' instead.
9809 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9810 (ad-macro-p):
9811 * eshell/esh-cmd.el (eshell-macrop):
9812 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9813
9814 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9817 (advice-mapc): New function, using it.
9818 (advice-function-member-p): New function.
9819 (advice--normalize): Store the cdr in advice--saved-rewrite since
9820 that's the part that will be changed.
9821 (advice--symbol-function): New function.
9822 (advice-remove): Handle removal before the function is defined.
9823 Adjust to new advice--saved-rewrite.
9824 (advice-member-p): Use advice-function-member-p and
9825 advice--symbol-function.
9826
9827 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9828
9829 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9830 (frameset-filter-minibuffer): Doc fix.
9831 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9832 (frameset--set-id, frameset--process-minibuffer-frames)
9833 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9834 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9835
9836 * desktop.el (desktop-clear): Only delete frames when called
9837 interactively and desktop-restore-frames is non-nil. Doc fix.
9838 (desktop-read): Set desktop-saved-frameset to nil.
9839
9840 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9841
9842 * vc/vc.el (vc-ignore): Rewrite.
9843 (vc-default-ignore-completion-table, vc--read-lines)
9844 (vc--add-line, vc--remove-regexp): New functions.
9845
9846 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9847 (vc-svn-ignore-completion-table): New function.
9848
9849 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9850 (vc-hg-ignore-completion-table)
9851 (vc-hg-find-ignore-file): New functions.
9852
9853 * vc/vc-git.el (vc-git-ignore): Rewrite.
9854 (vc-git-ignore-completion-table)
9855 (vc-git-find-ignore-file): New functions.
9856
9857 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9858
9859 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9860 (vc-bzr-ignore-completion-table)
9861 (vc-bzr-find-ignore-file): New functions.
9862
9863 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9864
9865 * frameset.el (frameset-prop): New function and setter.
9866 (frameset-save): Do not modify frame list passed by the caller.
9867
9868 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9869
9870 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9871
9872 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9873
9874 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9875 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9876
9877 * custom.el (custom-initialize-default, custom-initialize-set)
9878 (custom-initialize-reset, custom-initialize-changed): Affect the
9879 toplevel-default-value (bug#6275, bug#14586).
9880 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9881 for bug#6275.
9882
9883 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9884
9885 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9886 Add cl-def* expressions.
9887
9888 * frameset.el (frameset-filter-params): Fix order of arguments.
9889
9890 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9891
9892 Move code related to saving frames to frameset.el.
9893 * desktop.el: Require frameset.
9894 (desktop-restore-frames): Doc fix.
9895 (desktop-restore-reuses-frames): Rename from
9896 desktop-restoring-reuses-frames.
9897 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9898 (desktop-clear): Clear frames too.
9899 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9900 (desktop--filter-tty*, desktop-save, desktop-read):
9901 Use frameset functions.
9902 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9903 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9904 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9905 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9906 (desktop--process-minibuffer-frames, desktop-save-frames)
9907 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9908 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9909 (desktop--sort-states, desktop-restoring-frames-p)
9910 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9911 (desktop-restoring-frameset-p, desktop-restore-frameset)
9912 (desktop--check-dont-save, desktop-save-frameset): New functions.
9913 (desktop--app-id): New constant.
9914 (desktop-first-buffer, desktop-buffer-ok-count)
9915 (desktop-buffer-fail-count): Move before first use.
9916 * frameset.el: New file.
9917
9918 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * files.el: Use lexical-binding.
9921 (dir-locals-read-from-file): Remove unused `err' variable.
9922 (hack-dir-local-variables--warned-coding): New var.
9923 (hack-dir-local-variables): Use it to avoid repeated warnings.
9924 (make-backup-file-name--default-function): New function.
9925 (make-backup-file-name-function): Use it as default.
9926 (buffer-stale--default-function): New function.
9927 (buffer-stale-function): Use it as default.
9928 (revert-buffer-insert-file-contents--default-function): New function.
9929 (revert-buffer-insert-file-contents-function): Use it as default.
9930 (insert-directory): Avoid add-to-list.
9931
9932 * autorevert.el (auto-revert-handler): Simplify.
9933 Use buffer-stale--default-function.
9934
9935 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9936
9937 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9938
9939 * whitespace.el (whitespace-ensure-local-variables): New function.
9940 (whitespace-cleanup-region): Call it.
9941 (whitespace-turn-on): Call it.
9942
9943 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9944
9945 Complete file name handlers.
9946
9947 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9948 (tramp-handle-verify-visited-file-modtime)
9949 (tramp-handle-file-notify-rm-watch): New functions.
9950 (tramp-call-process): Do not bind `default-directory'.
9951
9952 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9953 Order alphabetically.
9954 <access-file, add-name-to-file, dired-call-process>:
9955 <dired-compress-file, file-acl, file-notify-rm-watch>:
9956 <file-ownership-preserved-p, file-selinux-context>:
9957 <make-directory-internal, make-symbolic-link, set-file-acl>:
9958 <set-file-selinux-context, set-visited-file-modtime>:
9959 <verify-visited-file-modtime>: Add handler.
9960 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9961
9962 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9963 <file-notify-add-watch, file-notify-rm-watch>:
9964 <set-file-times, set-visited-file-modtime>:
9965 <verify-visited-file-modtime>: Add handler.
9966 (with-tramp-gvfs-error-message)
9967 (tramp-gvfs-handle-set-visited-file-modtime)
9968 (tramp-gvfs-fuse-file-name): Remove.
9969 (tramp-gvfs-handle-file-notify-add-watch)
9970 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9971 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9972
9973 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9974 Order alphabetically.
9975 <file-notify-rm-watch>: Use default Tramp handler.
9976 <executable-find>: Remove private handler.
9977 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9978 `default-directory'.
9979 (tramp-sh-handle-executable-find)
9980 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9981 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9982 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9983 Do not use `format' in `tramp-message'.
9984
9985 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9986 <file-notify-rm-watch, set-visited-file-modtime>:
9987 <verify-visited-file-modtime>: Add handler.
9988 (tramp-smb-call-winexe): Do not bind `default-directory'.
9989
9990 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9991
9992 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9993
9994 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9995
9996 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9997 use it.
9998 (log-view-diff-changeset): Same.
9999 (log-view-diff-common): Call backend command `previous-revision'
10000 to find out the previous revision, in both cases. Swap the
10001 variables `to' and `fr', so that `fr' usually refers to the
10002 earlier revision (Bug#14989).
10003
10004 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10005
10006 * ibuf-ext.el (ibuffer-filter-by-filename):
10007 Make it work with dired buffers too.
10008
10009 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10010
10011 * emacs-lisp/re-builder.el (reb-color-display-p):
10012 * files.el (save-buffers-kill-terminal):
10013 * net/browse-url.el (browse-url):
10014 * server.el (server-save-buffers-kill-terminal):
10015 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10016 Prefer nil to selected-frame for the first arg of frame-parameter.
10017
10018 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10019
10020 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10021
10022 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10023
10024 * minibuffer.el (completion--twq-all): Try and preserve each
10025 completion's case choice (bug#14907).
10026
10027 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10028
10029 * net/network-stream.el (open-network-stream): Mention the new
10030 :nogreeting parameter.
10031 (network-stream-open-starttls): Use the :nogreeting parameter
10032 (bug#14938).
10033
10034 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10035
10036 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10037 more natural than popping.
10038
10039 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10040 (shr-urlify): Highlight under mouse.
10041
10042 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10043
10044 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10045
10046 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10047
10048 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10049 buffer for output.
10050
10051 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10052 point-min==1. Fix search string. Fix parentheses missing.
10053
10054 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10055 assume point-min==1. Fix search string. Fix parentheses missing.
10056
10057 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10058
10059 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10060 buffer for output.
10061
10062 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10063
10064 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10065 initial frame is minibuffer-less. (Bug#14841)
10066
10067 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10068
10069 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10070 option.
10071
10072 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10073 (tramp-maybe-open-connection): Use it.
10074
10075 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10076
10077 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10078 minimal set of parameters passed when creating a frame, because
10079 the minibuffer status of a frame cannot be changed later.
10080
10081 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10082
10083 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10084 replace-regexp-in-string and inadvertent omissions in previous change.
10085 (todo-filter-items): Ensure only file names are comma-separated in
10086 name of filtered items buffer.
10087
10088 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10089
10090 * desktop.el: Optionally force offscreen frames back onscreen.
10091 (desktop-restoring-reuses-frames): New option.
10092 (desktop--compute-pos, desktop--move-onscreen): New functions.
10093 (desktop--make-frame): Use desktop--move-onscreen.
10094
10095 2013-07-27 Alan Mackenzie <acm@muc.de>
10096
10097 Fontify a Java generic method as a function.
10098 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10099 value to t.
10100
10101 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10102
10103 * calendar/todo-mode.el: Add command to rename todo files.
10104 (todo-rename-file): New command.
10105 (todo-key-bindings-t): Add key binding for it. Change the
10106 bindings of todo-filter-regexp-items(-multifile) to use `x'
10107 instead of `r', since the latter is better suited to the new
10108 renaming command.
10109
10110 2013-07-27 Alan Mackenzie <acm@muc.de>
10111
10112 Make Java try-with-resources statement parse properly.
10113 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10114 (c-block-stmt-1-2-key): New language constants/variables.
10115 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10116 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10117 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10118 with c-block-stmt-1-2-key.
10119
10120 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10121
10122 * desktop.el (desktop--make-frame): Apply most frame parameters after
10123 creating the frame to force (partially or totally) offscreen frames to
10124 be restored as such.
10125
10126 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10127
10128 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10129 (Bug#14948)
10130
10131 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10134 `base' arg of backtrace-frame.
10135
10136 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10137
10138 * simple.el (list-processes): Doc fix.
10139
10140 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10141
10142 * desktop.el (desktop--select-frame):
10143 Try harder to reuse existing frames.
10144
10145 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10146
10147 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10148 (edebug-eval): Use backtrace-eval.
10149 (edebug--display, edebug--recursive-edit): Don't let-bind the
10150 edebug-outer-* vars that keep track of variables we locally let-bind.
10151 (edebug-outside-excursion): Don't restore outside values of locally
10152 let-bound vars.
10153 (edebug--display): Use user-error.
10154 (cl-lexical-debug, cl-debug-env): Remove.
10155
10156 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10157
10158 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10159 are restored to be sure that they are visible before deleting any
10160 remaining ones.
10161
10162 2013-07-26 Matthias Meulien <orontee@gmail.com>
10163
10164 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10165 vc-print-root-log. (Bug#14948)
10166
10167 2013-07-26 Richard Stallman <rms@gnu.org>
10168
10169 Add aliases for encrypting mail.
10170 * epa.el (epa-mail-aliases): New option.
10171 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10172 Bind inhibit-read-only so read-only text doesn't ruin everything.
10173 (epa-mail-default-recipients): New subroutine broken out.
10174 Handle epa-mail-aliases.
10175
10176 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 Add support for lexical variables to the debugger's `e' command.
10179 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10180 vars, except for debugger-outer-match-data.
10181 (debugger-frame-number): Move check for "on a function call" from
10182 callers into it. Add `skip-base' argument.
10183 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10184 (debugger-env-macro): Only reset the state stored in non-variables,
10185 i.e. current-buffer and match-data.
10186 (debugger-eval-expression): Rewrite using backtrace-eval.
10187 * subr.el (internal--called-interactively-p--get-frame): Remove.
10188 (called-interactively-p):
10189 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10190 `base' arg of backtrace-frame instead.
10191
10192 2013-07-26 Glenn Morris <rgm@gnu.org>
10193
10194 * align.el (align-regexp): Doc fix. (Bug#14857)
10195 (align-region): Explicit error if subexpression missing/does not match.
10196
10197 * simple.el (global-visual-line-mode):
10198 Do not duplicate the mode lighter. (Bug#14858)
10199
10200 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10201
10202 * window.el (display-buffer): In display-buffer bind
10203 split-window-keep-point to t, bug#14829.
10204
10205 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10206
10207 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10208 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10209 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10210 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10211 Change accordingly.
10212 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10213 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10214
10215 2013-07-25 Glenn Morris <rgm@gnu.org>
10216
10217 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10218
10219 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10220
10221 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10222 parameter to modify-frame-parameters if the value has not changed;
10223 this is a workaround for bug#14949.
10224 (desktop--make-frame): On cl-delete-if call, check parameter name,
10225 not full parameter.
10226
10227 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10228
10229 * vc/vc.el (vc-ignore): New function.
10230
10231 * vc/vc-svn.el (vc-svn-ignore): New function.
10232
10233 * vc/vc-hg.el (vc-hg-ignore): New function.
10234
10235 * vc/vc-git.el (vc-git-ignore): New function.
10236
10237 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10238 (vc-dir-ignore): New function.
10239
10240 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10241 (cvs-append-to-ignore): Move here from pcvs.el.
10242
10243 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10244
10245 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10246
10247 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10248
10249 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10250 (desktop-restore-frames): Warn when deleting an existing frame failed.
10251
10252 2013-07-24 Glenn Morris <rgm@gnu.org>
10253
10254 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10255
10256 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10257
10258 * filenotify.el (file-notify-supported-p):
10259 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10260 Remove functions.
10261
10262 * autorevert.el (auto-revert-use-notify)
10263 (auto-revert-notify-add-watch):
10264 * net/tramp.el (tramp-file-name-for-operation):
10265 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10266 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10267 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10268 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10269 Remove `file-notify-supported-p' entry.
10270
10271 2013-07-24 Glenn Morris <rgm@gnu.org>
10272
10273 * printing.el: Replace all uses of deleted ps-windows-system,
10274 ps-lp-system, ps-flatten-list with lpr- versions.
10275
10276 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10279 checked with memq (bug#14935).
10280
10281 * files.el (revert-buffer-function): Use a non-nil default.
10282 (revert-buffer-preserve-modes): Declare var to
10283 provide access to the `preserve-modes' argument.
10284 (revert-buffer): Let-bind it.
10285 (revert-buffer--default): New function, extracted from revert-buffer.
10286
10287 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * lpr.el: Signal print errors more prominently.
10290 (print-region-function): Don't default to nil.
10291 (lpr-print-region): New function, extracted from print-region-1.
10292 Check lpr's return value and signal an error in case of problem.
10293 (print-region-1): Use it.
10294 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10295 versions instead.
10296 (ps-printer-name): Default to nil.
10297 (ps-printer-name-option): Default to lpr-printer-switch.
10298 (ps-print-region-function): Don't default to nil.
10299 (ps-postscript-code-directory): Simplify default.
10300 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10301 (ps-string-list, ps-eval-switch, ps-flatten-list)
10302 (ps-flatten-list-1): Remove.
10303 (ps-multibyte-buffer): Avoid setq.
10304 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10305 (print-region-function, ps-print-region-function): Don't set them here.
10306
10307 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10308
10309 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10310 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10311 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10312 (ido-decorations): Doc fix.
10313
10314 * ansi-color.el: Fix old URL.
10315
10316 2013-07-23 Michael R. Mauger <michael@mauger.com>
10317
10318 * progmodes/sql.el: Version 3.3
10319 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10320 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10321 (sql-interactive-remove-continuation-prompt): Rewrite, use
10322 functions above. Fix continuation prompt and complete output line
10323 handling.
10324 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10325 redirected output buffer.
10326 (sql-mode): Restore deleted code (Bug#13591).
10327
10328 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10329
10330 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10331
10332 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10333
10334 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10335
10336 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10337 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10338 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10339
10340 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10341
10342 * desktop.el (desktop-clear): Simplify; remove useless checks
10343 against invalid buffer names.
10344 (desktop-list*): Use cl-list*.
10345 (desktop-buffer-info, desktop-create-buffer): Simplify.
10346
10347 2013-07-23 Leo Liu <sdl.web@gmail.com>
10348
10349 * bookmark.el (bookmark-make-record): Restore NAME as a default
10350 value. (Bug#14933)
10351
10352 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10355 extracted from autoload--insert-text.
10356 (autoload--insert-text): Remove.
10357 (autoload--print-cookie-text): New function, extracted from
10358 autoload--insert-cookie-text.
10359 (autoload--insert-cookie-text): Remove.
10360 (autoload-generate-file-autoloads): Adjust calls accordingly.
10361
10362 * winner.el (winner-hook-installed-p): Remove.
10363 (winner-mode): Simplify accordingly.
10364
10365 * subr.el (add-to-list): Fix compiler-macro when `append' is
10366 not constant. Don't use `cl-member' for the base case.
10367
10368 * progmodes/subword.el: Fix boundary case (bug#13758).
10369 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10370 own group.
10371 (subword-backward-regexp): Make it a constant.
10372 (subword-forward-internal): Don't treat a trailing capital as the
10373 beginning of a word.
10374
10375 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10376
10377 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10378 global value of tabulated-list-revert-hook (bug#14930).
10379
10380 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10381
10382 * desktop.el: Require 'cl-lib.
10383 (desktop-before-saving-frames-functions): New hook.
10384 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10385 for frames being saved. Rename from desktop--save-minibuffer-frames.
10386 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10387 Do not save frames with non-nil `desktop-dont-save' parameter.
10388 Filter out deleted frames.
10389 (desktop--find-frame): Use cl-find-if.
10390 (desktop--select-frame): Use cl-(first|second|third) to access values
10391 of desktop-mini.
10392 (desktop--make-frame): Use cl-delete-if.
10393 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10394 (desktop-restore-frames): Use cl-(first|second|third) to access values
10395 of desktop-mini. Look for visible frame at the end, not while
10396 restoring frames.
10397
10398 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10399 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10400 Use string-match-p, looking-at-p (bug#14927).
10401
10402 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10403
10404 * desktop.el (desktop-saved-frame-states):
10405 Rename from desktop--saved-states; all users changed.
10406 (desktop-save-frames): Rename from desktop--save-frames.
10407 Do not save state to desktop file.
10408 (desktop-save): Save desktop-saved-frame-states to desktop file
10409 and reset to nil.
10410 (desktop-restoring-frames-p): New function.
10411 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10412 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10413 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10414
10415 * desktop.el: Correctly restore iconified frames.
10416 (desktop--filter-iconified-position): New function.
10417 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10418
10419 2013-07-20 Glenn Morris <rgm@gnu.org>
10420
10421 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10422 Let `message' do the formatting.
10423 (def-gdb-preempt-display-buffer): Add explicit format.
10424
10425 * image-dired.el (image-dired-track-original-file):
10426 Use with-current-buffer.
10427 (image-dired-track-thumbnail): Use with-current-buffer.
10428 Avoid changing point of wrong window.
10429
10430 * image-dired.el (image-dired-track-original-file):
10431 Avoid changing point of wrong window. (Bug#14909)
10432
10433 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10434
10435 * progmodes/gdb-mi.el (gdb-done-or-error):
10436 Guard against "%" in gdb output. (Bug#14127)
10437
10438 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10439
10440 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10441 (Bug#14826)
10442
10443 * international/mule.el (coding-system-iso-2022-flags): Fix last
10444 change.
10445
10446 2013-07-20 Kenichi Handa <handa@gnu.org>
10447
10448 * international/mule.el (coding-system-iso-2022-flags):
10449 Add `8-bit-level-4'. (Bug#8522)
10450
10451 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10452
10453 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10454 (bug#14815).
10455
10456 * net/eww.el (eww-process-text-input): Allow inputting when the
10457 point is at the start of the line, as the properties aren't
10458 front-sticky.
10459
10460 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10461 degenerate widths.
10462
10463 2013-07-19 Richard Stallman <rms@gnu.org>
10464
10465 * epa.el (epa-popup-info-window): Doc fix.
10466
10467 * subr.el (split-string): New arg TRIM.
10468
10469 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10470
10471 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10472 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10473
10474 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10475
10476 * filenotify.el (file-notify--library): Rename from
10477 `file-notify-support'. Do not autoload. Adapt all uses.
10478 (file-notify-supported-p): New defun.
10479
10480 * autorevert.el (auto-revert-use-notify):
10481 Use `file-notify-supported-p' instead of `file-notify-support'.
10482 Adapt docstring.
10483 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10484
10485 * net/tramp.el (tramp-file-name-for-operation):
10486 Add `file-notify-supported-p'.
10487
10488 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10489 New defun.
10490 (tramp-sh-file-name-handler-alist): Add it as handler for
10491 `file-notify-supported-p '.
10492
10493 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10494 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10495 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10496 Add `ignore' as handler for `file-notify-*' functions.
10497
10498 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10499
10500 * simple.el (line-move-partial, line-move): Don't start vscroll or
10501 scroll-up if the current line is not taller than the window.
10502 (Bug#14881)
10503
10504 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10505
10506 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10507 highlight question marks in the method names as strings.
10508 (ruby-block-beg-keywords): Inline.
10509 (ruby-font-lock-keyword-beg-re): Extract from
10510 `ruby-font-lock-keywords'.
10511
10512 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10513
10514 * frame.el (blink-cursor-blinks): New defcustom.
10515 (blink-cursor-blinks-done): New defvar.
10516 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10517 (blink-cursor-timer-function): Check if number of blinks has been
10518 done on X and NS.
10519 (blink-cursor-suspend, blink-cursor-check): New defuns.
10520
10521 2013-07-15 Glenn Morris <rgm@gnu.org>
10522
10523 * edmacro.el (edmacro-format-keys): Fix previous change.
10524
10525 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10526
10527 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10528 The hack didn't work outside English locales anyway.
10529
10530 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10531
10532 * simple.el (define-alternatives): Rename from alternatives-define,
10533 per RMS' suggestion.
10534
10535 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10536
10537 * desktop.el (desktop-restore-frames): Change default to t.
10538 (desktop-restore-in-current-display): Now offer more options.
10539 (desktop-restoring-reuses-frames): New customization option.
10540 (desktop--saved-states): Doc fix.
10541 (desktop-filter-parameters-alist): New variable, renamed and expanded
10542 from desktop--excluded-frame-parameters.
10543 (desktop--target-display): New variable.
10544 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10545 (desktop--filter-tty*, desktop--filter-*-color)
10546 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10547 (desktop--filter-save-desktop-parm)
10548 (desktop-restore-in-original-display-p): New functions.
10549 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10550 (desktop--save-minibuffer-frames): New function, inspired by a similar
10551 function from Martin Rudalics.
10552 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10553 (desktop--restore-in-this-display-p): Remove.
10554 (desktop--find-frame): Rename from desktop--find-frame-in-display
10555 and add predicate argument.
10556 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10557 (desktop--reuse-list): New variable.
10558 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10559 New functions.
10560 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10561
10562 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10563
10564 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10565
10566 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10567
10568 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10569 Highlight conversion methods on Kernel.
10570
10571 2013-07-13 Alan Mackenzie <acm@muc.de>
10572
10573 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10574 and comment it out. This out-commenting enables certain C++
10575 declarations to be parsed correctly.
10576
10577 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10578
10579 * international/mule.el (define-coding-system): Doc fix.
10580
10581 * simple.el (default-font-height): Don't call font-info if the
10582 frame's default font didn't change since the frame was created.
10583 (Bug#14838)
10584
10585 2013-07-13 Leo Liu <sdl.web@gmail.com>
10586
10587 * ido.el (ido-read-file-name): Guard against non-symbol value.
10588
10589 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10590
10591 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10592 in nested defuns.
10593
10594 2013-07-13 Leo Liu <sdl.web@gmail.com>
10595
10596 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10597 ido-set-matches call. (Bug#6852)
10598
10599 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10600
10601 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10602 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10603 Ruby 2.0.
10604 (ruby-font-lock-keywords): Distinguish calls to functions with
10605 module-like names from module references. Highlight character
10606 literals.
10607
10608 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10609
10610 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10611 (gdb-send): Handle continued commands. (Bug#14847)
10612
10613 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10614
10615 * desktop.el (desktop--v2s): Remove unused local variable.
10616 (desktop-save-buffer): Make defvar-local; adjust docstring.
10617 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10618 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10619
10620 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10621
10622 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10623
10624 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10625
10626 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10627 (Bug#14842)
10628
10629 2013-07-12 Glenn Morris <rgm@gnu.org>
10630
10631 * doc-view.el: Require cl-lib at runtime too.
10632 (doc-view-remove-if): Remove.
10633 (doc-view-search-next-match, doc-view-search-previous-match):
10634 Use cl-remove-if.
10635
10636 * edmacro.el: Require cl-lib at runtime too.
10637 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10638 (edmacro-mismatch, edmacro-subseq): Remove.
10639
10640 * shadowfile.el: Require cl-lib.
10641 (shadow-remove-if): Remove.
10642 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10643 Use cl-remove-if.
10644
10645 * wid-edit.el: Require cl-lib.
10646 (widget-choose): Use cl-remove-if.
10647 (widget-remove-if): Remove.
10648
10649 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10650 (ebrowse-delete-if-not): Remove.
10651 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10652 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10653 Use cl-delete-if-not.
10654
10655 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10656
10657 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10658 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10659
10660 2013-07-12 Leo Liu <sdl.web@gmail.com>
10661
10662 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10663
10664 2013-07-11 Glenn Morris <rgm@gnu.org>
10665
10666 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10667 (edebug-gensym-index, edebug-gensym):
10668 Remove reimplementation of cl-gensym.
10669 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10670
10671 * thumbs.el: Require cl-lib at run-time too.
10672 (thumbs-gensym-counter, thumbs-gensym):
10673 Remove reimplementation of cl-gensym.
10674 (thumbs-temp-file): Use cl-gensym.
10675
10676 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10677 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10678 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10679 (ert--union, ert--gensym-counter, ert--gensym-counter)
10680 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10681 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10682 (ert-make-test-unbound, ert--expand-should-1)
10683 (ert--expand-should, ert--should-error-handle-error)
10684 (should-error, ert--explain-equal-rec)
10685 (ert--plist-difference-explanation, ert-select-tests)
10686 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10687 Use cl-lib functions rather than reimplementations.
10688
10689 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10690
10691 * net/tramp.el (tramp-methods): Extend docstring.
10692 (tramp-connection-timeout): New defcustom.
10693 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10694 (with-tramp-progress-reporter): Simplify.
10695 (tramp-process-actions): Improve messages.
10696
10697 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10698 * net/tramp-sh.el (tramp-maybe-open-connection):
10699 Use `tramp-connection-timeout'.
10700 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10701 (Bug#14808)
10702
10703 2013-07-11 Leo Liu <sdl.web@gmail.com>
10704
10705 * ido.el (ido-read-file-name): Conform to the requirements of
10706 read-file-name. (Bug#11861)
10707 (ido-read-directory-name): Conform to the requirements of
10708 read-directory-name.
10709
10710 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10711
10712 * subr.el (delay-warning): New function.
10713
10714 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10715
10716 * simple.el (default-line-height): New function.
10717 (line-move-partial, line-move): Use it instead of computing the
10718 line height inline.
10719 (line-move-partial): Always compute ROWH. If the last line is
10720 partially-visible, but its text is completely visible, allow
10721 cursor to enter such a partially-visible line.
10722
10723 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10724
10725 Improve error messages. (Bug#14808)
10726
10727 * net/tramp.el (tramp-current-connection): New defvar, moved from
10728 tramp-sh.el.
10729 (tramp-message-show-progress-reporter-message): Remove, not
10730 needed anymore.
10731 (tramp-error-with-buffer): Show message in minibuffer.
10732 Discard input before waiting. Reset connection timestamp.
10733 (with-tramp-progress-reporter): Improve messages.
10734 (tramp-process-actions): Use progress reporter. Delete process in
10735 case of error. Improve messages.
10736
10737 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10738 Call `tramp-error-with-buffer' with vector and buffer.
10739 (tramp-current-connection): Remove.
10740 (tramp-maybe-open-connection): The car of
10741 `tramp-current-connection' are the first 3 slots of the vector.
10742
10743 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10744
10745 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10746 inside continued strings.
10747
10748 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10749
10750 Timestamp fixes for undo (Bug#14824).
10751 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10752
10753 2013-07-10 Leo Liu <sdl.web@gmail.com>
10754
10755 * files.el (require-final-newline): Allow safe local value.
10756 (Bug#14834)
10757
10758 2013-07-09 Leo Liu <sdl.web@gmail.com>
10759
10760 * ido.el (ido-read-directory-name): Handle fallback.
10761 (ido-read-file-name): Update DIR to ido-current-directory.
10762 (Bug#1516)
10763 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10764
10765 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10766
10767 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10768 "autoload". Remove "warn lower camel case" section, previously
10769 commented out. Highlight negation char. Do not highlight the
10770 target in singleton method definitions.
10771
10772 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10773
10774 * faces.el (tty-setup-hook): Declare the hook.
10775
10776 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10777 and detect when a guard/pred depends on local vars (bug#14773).
10778 (pcase--u1): Adjust caller.
10779
10780 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10781
10782 * simple.el (line-move-partial, line-move): Account for
10783 line-spacing.
10784 (line-move-partial): Avoid setting vscroll when the last
10785 partially-visible line in window is of default height.
10786
10787 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10788
10789 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10790 been used a while.
10791
10792 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10793
10794 * subr.el (read-quoted-char): Remove unused local variable `char'.
10795
10796 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10797
10798 * ediff.el (ediff-version): Version update.
10799 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10800 (ediff-merge-with-ancestor-command, ediff-directories-command)
10801 (ediff-directories3-command, ediff-merge-directories-command)
10802 (ediff-merge-directories-with-ancestor-command): New functions.
10803 All are command-line interfaces to ediff: to facilitate calling
10804 Emacs with the appropriate ediff functions invoked.
10805
10806 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10807 (viper-save-kill-buffer): Check if buffer is modified.
10808
10809 * viper.el (viper-version): Version update.
10810 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10811
10812 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10815 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10816 (viper-intercept-ESC-key): Simplify.
10817 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10818 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10819 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10820 (viper-setup-ESC-to-escape): New functions.
10821 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10822 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10823
10824 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10825
10826 * simple.el (default-font-height, window-screen-lines):
10827 New functions.
10828 (line-move, line-move-partial): Use them instead of
10829 frame-char-height and window-text-height. This makes scrolling
10830 text smoother when the buffer's default face uses a font that is
10831 different from the frame's default font.
10832
10833 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10834
10835 * files.el (write-file): Do not display confirm dialog for NS,
10836 it does its own dialog, which can't be canceled (Bug#14578).
10837
10838 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10839
10840 * simple.el (line-move-partial): Adjust the row returned by
10841 posn-at-point for the current window-vscroll. (Bug#14567)
10842
10843 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10844
10845 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10846 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10847 spaces.
10848
10849 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10850
10851 * window.el (window-state-put-stale-windows): New variable.
10852 (window--state-put-2): Save list of windows without matching buffer.
10853 (window-state-put): Remove "bufferless" windows if possible.
10854
10855 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10856
10857 * simple.el (alternatives-define): Remove leftover :group keyword.
10858 Tweak docstring.
10859
10860 2013-07-06 Leo Liu <sdl.web@gmail.com>
10861
10862 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10863 (ido-enable-virtual-buffers): New variable.
10864 (ido-buffer-internal, ido-toggle-virtual-buffers)
10865 (ido-make-buffer-list): Use it.
10866 (ido-exhibit): Support turning on and off virtual buffers
10867 automatically.
10868
10869 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10870
10871 * simple.el (alternatives-define): New macro.
10872
10873 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10874
10875 * subr.el (read-quoted-char): Use read-key.
10876 (sit-for): Let read-event decode tty input (bug#14782).
10877
10878 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10879
10880 * calendar/todo-mode.el: Add handling of file deletion, both by
10881 mode command and externally. Fix various related bugs.
10882 Clarify Commentary and improve some documentation strings and code.
10883 (todo-delete-file): New command.
10884 (todo-check-file): New function.
10885 (todo-show): Handle external deletion of the file we're trying to
10886 show (bug#14688). Replace called-interactively-p by an optional
10887 prefix argument to avoid problematic interaction with catch form
10888 when byte compiled (bug#14702).
10889 (todo-quit): Handle external deletion of the archive's todo file.
10890 Make sure the buffer that was visiting the archive file is still
10891 live before trying to bury it.
10892 (todo-category-completions): Handle external deletion of any
10893 category completion files.
10894 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10895 of todo files, in case of external deletion.
10896 (todo-add-file): Replace unnecessary setq by let-binding.
10897 (todo-find-archive): Check whether there are any archives.
10898 Replace unnecessary setq by let-binding.
10899 (todo-archive-done-item): Use find-file-noselect to get the
10900 archive buffer whether or not the archive already exists.
10901 Remove superfluous code. Use file size instead of buffer-file-name to
10902 check if the archive is new; if it is, update list of archives.
10903 (todo-default-todo-file): Allow nil to be a valid value for when
10904 there are no todo files.
10905 (todo-reevaluate-default-file-defcustom): Use corrected definition
10906 of todo-default-todo-file.
10907 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10908 (todo-delete-category, todo-show-categories-table)
10909 (todo-category-number): Clarify comment.
10910 (todo-filter-items): Clarify documentation string.
10911 (todo-show-current-file, todo-display-as-todo-file)
10912 (todo-reset-and-enable-done-separator): Tweak documentation string.
10913 (todo-done-separator): Make separator length window-width, since
10914 bug#2749 is now fixed.
10915
10916 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10917
10918 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10919 Support both "gvfs-monitor-dir" and "inotifywait".
10920 (tramp-sh-file-inotifywait-process-filter): Rename from
10921 `tramp-sh-file-notify-process-filter'.
10922 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10923 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10924
10925 2013-07-05 Leo Liu <sdl.web@gmail.com>
10926
10927 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10928
10929 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10930
10931 * frame.el (display-pixel-height, display-pixel-width)
10932 (display-mm-height, display-mm-width): Mention behavior on
10933 multi-monitor setups in docstrings.
10934 (w32-display-monitor-attributes-list): Declare function.
10935 (display-monitor-attributes-list): Use it.
10936
10937 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10938
10939 * filenotify.el: New package.
10940
10941 * autorevert.el (top): Require filenotify.el.
10942 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10943 instead.
10944 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10945 (auto-revert-notify-handler): Use `file-notify-*' functions.
10946
10947 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10948
10949 * net/tramp.el (tramp-file-name-for-operation):
10950 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10951
10952 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10953 for `file-notify-add-watch' and `file-notify-rm-watch'.
10954 (tramp-process-sentinel): Improve trace.
10955 (tramp-sh-handle-file-notify-add-watch)
10956 (tramp-sh-file-notify-process-filter)
10957 (tramp-sh-handle-file-notify-rm-watch)
10958 (tramp-get-remote-inotifywait): New defuns.
10959
10960 2013-07-03 Juri Linkov <juri@jurta.org>
10961
10962 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10963 call of `occur-read-primary-args' to interactive spec.
10964
10965 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10966 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10967
10968 2013-07-03 Matthias Meulien <orontee@gmail.com>
10969
10970 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10971 `Buffer-menu-multi-occur'. Add it to the menu.
10972 (Buffer-menu-mode): Document it in docstring.
10973 (Buffer-menu-multi-occur): New command. (Bug#14673)
10974
10975 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10976
10977 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10978 keywords and built-ins.
10979
10980 2013-07-03 Glenn Morris <rgm@gnu.org>
10981
10982 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10983
10984 Make info-xref checks case-sensitive by default
10985 * info.el (Info-find-node, Info-find-in-tag-table)
10986 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10987 Add option for exact case matching of nodes.
10988 * info-xref.el (info-xref): New custom group.
10989 (info-xref-case-fold): New option.
10990 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10991
10992 2013-07-03 Leo Liu <sdl.web@gmail.com>
10993
10994 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10995
10996 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10997
10998 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10999 middle of block statement initially, lower the depth. Remove
11000 FIXME comment, not longer valid. Remove middle of block statement
11001 detection, no need to do that anymore since we've been using
11002 `ruby-parse-region' here.
11003
11004 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11005
11006 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11007
11008 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11009
11010 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11011
11012 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11013
11014 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11015 (desktop-restore-in-current-display): New customization option.
11016 (desktop--excluded-frame-parameters): Add `font'.
11017 (desktop--save-frames): Rename from desktop--save-windows.
11018 (desktop--restore-in-this-display-p): New function.
11019 (desktop--make-full-frame): Remove unwanted width/height from
11020 full(width|height) frames.
11021 (desktop--restore-frames): Rename from desktop--restore-windows.
11022 Obey desktop-restore-current-display. Do not delete old frames or
11023 select a new frame unless we were able to restore at least one frame.
11024
11025 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11026
11027 * files.el (find-file-noselect): Simplify conditional expression.
11028
11029 * textmodes/remember.el (remember-append-to-file):
11030 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11031
11032 Add `remember-notes' function to store random notes across Emacs
11033 restarts.
11034 * textmodes/remember.el (remember-data-file): Add :set callback to
11035 affect notes buffer (if any).
11036 (remember-notes): New command.
11037 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11038 New defcustoms for the `remember-notes' function.
11039 (remember-notes-save-and-bury-buffer): New command.
11040 (remember-notes-mode-map): New variable.
11041 (remember-mode): New minor mode.
11042 (remember-notes--kill-buffer-query): New function.
11043 * startup.el (initial-buffer-choice): Add notes to custom type.
11044
11045 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11046
11047 * bindings.el (right-char, left-char): Don't call sit-for, this is
11048 no longer needed. Use arithmetic comparison only for numerical
11049 arguments.
11050
11051 * international/mule-cmds.el (select-safe-coding-system):
11052 Handle the case of FROM being a string correctly. (Bug#14755)
11053
11054 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11055
11056 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11057 progression on degenerate tables.
11058 (shr-rescale-image): ImageMagick animated images currently don't work.
11059
11060 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11061
11062 Some fixes and improvements for desktop frame restoration.
11063 It is still experimental and disabled by default.
11064 * desktop.el (desktop--save-windows): Put the selected frame at
11065 the head of the list.
11066 (desktop--make-full-frame): New function.
11067 (desktop--restore-windows): Try to re-select the frame that was
11068 selected upon saving. Do not abort if some frames fail to restore,
11069 just show an error message and continue. Set up maximized frames
11070 so they have default non-maximized dimensions.
11071
11072 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11073
11074 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11075 Don't start heredoc inside a string or comment.
11076
11077 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11078
11079 * bindings.el (visual-order-cursor-movement): New defcustom.
11080 (right-char, left-char): Provide visual-order cursor motion by
11081 calling move-point-visually. Update the doc strings.
11082
11083 2013-06-28 Kenichi Handa <handa@gnu.org>
11084
11085 * international/mule.el (define-coding-system): New coding system
11086 properties :inhibit-null-byte-detection,
11087 :inhibit-iso-escape-detection, and :prefer-utf-8.
11088 (set-buffer-file-coding-system): If :charset-list property of
11089 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11090 appropriate for setting.
11091
11092 * international/mule-cmds.el (select-safe-coding-system):
11093 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11094 multibyte characters, return utf-8 (or one of its siblings).
11095
11096 * international/mule-conf.el (prefer-utf-8): New coding system.
11097 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11098 files.
11099
11100 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11101
11102 * net/shr.el (shr-render-region): New function.
11103
11104 * net/eww.el: Autoload `eww-browse-url'.
11105
11106 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11107
11108 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11109 Adapt to `package-desc-version' being a list.
11110 Use `package--ac-desc-version' to retrieve version from a package
11111 archive element.
11112
11113 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11114
11115 New experimental feature to save&restore window and frame setup.
11116 * desktop.el (desktop-save-windows): New defcustom.
11117 (desktop--saved-states): New var.
11118 (desktop--excluded-frame-parameters): New defconst.
11119 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11120 (desktop--restore-windows, desktop--save-windows): New functions.
11121 (desktop-save): Call `desktop--save-windows'.
11122 (desktop-read): Call `desktop--restore-windows'.
11123
11124 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11125
11126 * net/shr.el (add-face-text-property): Remove compat definition.
11127
11128 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11129
11130 * info.el (Info-try-follow-nearest-node): Move search for footnote
11131 above search for node name to prevent missing a footnote (bug#14717).
11132
11133 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11134
11135 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11136
11137 2013-06-27 Leo Liu <sdl.web@gmail.com>
11138
11139 * net/eww.el (eww-read-bookmarks): Check file size.
11140
11141 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11142
11143 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11144 advice--pending if newdef is nil or an autoload (bug#13820).
11145 (advice-mapc): New function.
11146
11147 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11148
11149 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11150 probably.
11151 (eww-mode-map): Add a menu bar.
11152 (eww-add-bookmark): New command.
11153 (eww-bookmark-mode): New mode and commands.
11154 (eww-add-bookmark): Remove newlines from the title.
11155 (eww-bookmark-browse): Don't bug out if it's the only window.
11156
11157 2013-06-26 Glenn Morris <rgm@gnu.org>
11158
11159 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11160 (hfy-size): Handle ttys. (Bug#14668)
11161
11162 * info-xref.el: Update for Texinfo 5 change in *note format.
11163 (info-xref-node-re, info-xref-note-re): New constants.
11164 (info-xref-check-buffer): Use info-xref-note-re.
11165
11166 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11169
11170 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11171 nil terminate the loop (bug#14718).
11172
11173 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11174
11175 * net/eww.el: Rework history traversal. When going forward/back,
11176 put these actions into the history, too, so that they can be
11177 replayed.
11178 (eww-render): Move the history reset to the correct buffer.
11179
11180 2013-06-25 Juri Linkov <juri@jurta.org>
11181
11182 * files-x.el (modify-dir-local-variable): Change the header comment
11183 in the file with directory local variables. (Bug#14692)
11184
11185 * files-x.el (read-file-local-variable-value): Add `default'.
11186 (Bug#14710)
11187
11188 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11189
11190 * net/eww.el (eww-make-unique-file-name): Create a unique file
11191 name before saving to entering `y' accidentally asynchronously.
11192
11193 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11194
11195 * net/eww.el (eww-download): New command and keystroke.
11196
11197 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11198
11199 * net/eww.el (eww-copy-page-url): Change name of command.
11200
11201 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11202 be more consistent with Info and dired.
11203
11204 * net/eww.el (eww-mode-map): Ditto.
11205
11206 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11209 packages from archives.
11210 (package-archive-contents): Change format; include obsolete packages.
11211 (package-desc): Use `dir' to mark builtin packages.
11212 (package--from-builtin): Set the `dir' field to `builtin'.
11213 (generated-autoload-file, version-control): Declare.
11214 (package-compute-transaction): Change first arg and return value to be
11215 lists of package-descs. Adjust to new package-archive-contents format.
11216 (package--add-to-archive-contents): Adjust to new
11217 package-archive-contents format.
11218 (package-download-transaction): Arg is now a list of package-descs.
11219 (package-install): If `pkg' is a package name, pass it as
11220 a requirement, so it is subject to the usual (e.g. disabled) checks.
11221 (describe-package): Accept package-desc as well.
11222 (describe-package-1): Describe a specific package-desc. Add links to
11223 other package-descs for the same package name.
11224 (package-menu-describe-package): Pass the actual package-desc.
11225 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11226 works correctly.
11227 (package-desc-status): New function.
11228 (package-menu--refresh): New function, extracted
11229 from package-menu--generate.
11230 (package-menu--generate): Use it.
11231 (package-delete): Update package-alist.
11232 (package-menu-execute): Don't call package-initialize.
11233
11234 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11235 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11236 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11237 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11238 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11239 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11240
11241 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11242
11243 * window.el (window--state-get-1): Workaround for bug#14527.
11244 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11245
11246 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11247
11248 * net/eww.el (eww-back-url): Implement the history by stashing all
11249 the data into a list.
11250 (eww-forward-url): Allow going forward in the history, too.
11251
11252 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11253
11254 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11255 for values and use read--expression for expressions (bug#14710).
11256 (read-file-local-variable): Avoid setq.
11257 (read-file-local-variable-mode): Use minor-mode-list.
11258
11259 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11260
11261 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11262 for DOI URLs.
11263
11264 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11265
11266 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11267 Update imenu-support when dialect changes.
11268
11269 2013-06-25 Leo Liu <sdl.web@gmail.com>
11270
11271 * ido.el (ido-read-internal): Allow forward slash on windows.
11272
11273 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11274
11275 * net/eww.el (eww): Start of strings is \\`, not ^.
11276
11277 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11278
11279 * net/shr.el (shr-browse-url): Fix interactive spec.
11280
11281 * net/eww.el (eww): Add a trailing slash to domain names.
11282
11283 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11284
11285 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11286
11287 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11288
11289 * net/shr.el (shr-browse-url): Use an external browser if given a
11290 prefix.
11291
11292 * net/eww.el (eww-external-browser): Move to shr.
11293
11294 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11295
11296 * net/eww.el (eww): Work more correctly for file: URLs.
11297 (eww-detect-charset): Allow quoted charsets.
11298 (eww-yank-page-url): New command and keystroke.
11299
11300 2013-06-24 Daiki Ueno <ueno@gnu.org>
11301
11302 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11303 file name of gpg executable.
11304 (epg-context-program): New function.
11305 (epg-context-home-directory): New function.
11306 (epg-context-set-program): New function.
11307 (epg-context-set-home-directory): New function.
11308 (epg--start): Use `epg-context-program' instead of
11309 'epg-gpg-program'.
11310 (epg--list-keys-1): Likewise.
11311
11312 2013-06-24 Leo Liu <sdl.web@gmail.com>
11313
11314 * ido.el (ido-read-internal): Fix bug#14620.
11315
11316 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11317
11318 * faces.el (face-documentation): Simplify.
11319 (read-face-attribute, tty-find-type, x-resolve-font-name):
11320 Use `string-match-p'.
11321 (list-faces-display): Use `string-match-p'. Simplify.
11322 (face-spec-recalc): Check face to avoid face alias loops.
11323 (read-color): Use `string-match-p' and non-capturing parenthesis.
11324
11325 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11326
11327 * net/shr.el (shr-rescale-image): Use the new
11328 :max-width/:max-height functionality.
11329
11330 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11331
11332 * net/eww.el (eww-search-prefix): New variable.
11333 (eww): Use it.
11334 (eww-external-browser): New variable.
11335 (eww-mode-map): New keystroke.
11336 (eww-browse-with-external-browser): New command.
11337
11338 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11339
11340 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11341
11342 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11343 Don't skip aligning the next header field when padding is 0;
11344 otherwise, field width is not respected unless the title is as
11345 wide as the field.
11346
11347 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * emacs-lisp/package.el (package-el-version): Remove.
11350 (package-process-define-package): Fix inf-loop.
11351 (package-install): Allow symbols as arguments again.
11352
11353 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11354
11355 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11356 add some more keyword-like methods.
11357 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11358
11359 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11360
11361 * bs.el (bs-buffer-show-mark): Make defvar-local.
11362 (bs-mode): Use setq-local.
11363
11364 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11365 (emacs-lock--try-unlocking): Make defvar-local.
11366
11367 2013-06-22 Glenn Morris <rgm@gnu.org>
11368
11369 * play/cookie1.el (cookie-apropos): Minor simplification.
11370
11371 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11372
11373 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11374
11375 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11376 `regexp-opt', it breaks the build during dumping.
11377
11378 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11379
11380 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11381 Highlight keyword-like methods on Kernel and Module with
11382 font-lock-builtin-face.
11383 (auto-mode-alist): Consolidate different entries into one regexp
11384 and add more *file-s.
11385
11386 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11387
11388 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11389
11390 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11391 (diary-entry): Use it in the action of this button type instead of
11392 diary-goto-entry.
11393
11394 * calendar/todo-mode.el: New version.
11395 (todo-add-category): Append new category to end of file and give
11396 it the highest number, instead of putting it at the beginning and
11397 giving it 0. Incorporate noninteractive functionality.
11398 (todo-forward-category): Adapt to 1-based category numbering.
11399 Allow skipping over archived categories.
11400 (todo-backward-category): Derive from todo-forward-category.
11401 (todo-backward-item, todo-forward-item): Make noninteractive and
11402 delegate interactive part to new commands. Make sensitive to done items.
11403 (todo-categories): Make value an alist of category names and
11404 vectors of item counts.
11405 (todo-category-beg): Make a defconst.
11406 (todo-category-number): Use 1 instead of 0 as initial value.
11407 (todo-category-select): Make sensitive to overlays, optional item
11408 highlighting and done items.
11409 (todo-delete-item): Make sensitive to overlays and marked and done items.
11410 (todo-edit-item): Make sensitive to overlays and editing of
11411 date/time header optional. Add format checks.
11412 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11413 no-op if point is not on an item. Advertise using todo-edit-quit.
11414 (todo-edit-mode): Make sensitive to new format, font-locking, and
11415 multiple todo files.
11416 (todo-insert-item, todo-insert-item-here): Derive from
11417 todo-basic-insert-item and extend functionality.
11418 (todo-item-end, todo-item-start): Make sensitive to done items.
11419 (todo-item-string): Don't return text properties. Restore point.
11420 (todo-jump-to-category): Make sensitive to multiple todo files and
11421 todo archives. Use extended category completion.
11422 (todo-lower-item, todo-raise-item): Rename to *-priority and
11423 derive from todo-set-item-priority.
11424 (todo-mode): Derive from special-mode. Make sensitive to new
11425 format, font-locking and multiple todo files. Make read-only.
11426 (todo-mode-map): Don't suppress digit keys, so they can supply
11427 prefix arguments. Add many new key bindings.
11428 (todo-prefix): Insert as an overlay instead of file text.
11429 Change semantics from diary date expression to purely visual mark.
11430 (todo-print): Rename to todo-print-buffer. Make buffer display
11431 features printable. Remove option to restrict number of items
11432 printed. Add option to print to file.
11433 (todo-print-function): Rename to todo-print-buffer-function.
11434 (todo-quit): Extend to handle exiting new todo modes.
11435 (todo-remove-item): Make sensitive to overlays.
11436 (todo-save): Extend to buffers of filtered items.
11437 (todo-show): Make sensitive to done items, multiple todo files and
11438 new todo modes. Offer to convert legacy todo file before creating
11439 first new todo file.
11440 (todo-show-priorities): Rename to todo-top-priorities.
11441 Change semantics of value 0.
11442 (todo-top-priorities): Rename to todo-filter-top-priorities,
11443 derive from todo-filter-items and extend functionality.
11444 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11445 and extend functionality to other types of filtered items.
11446 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11447 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11448 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11449 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11450 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11451 (todo-edit-mode-hook, todo-entry-prefix-function)
11452 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11453 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11454 (todo-initials, todo-insert-threshold, todo-item-string-start)
11455 (todo-line-string, todo-menu, todo-mode-hook)
11456 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11457 (todo-print-priorities, todo-remove-separator)
11458 (todo-save-top-priorities-too, todo-string-count-lines)
11459 (todo-string-multiline-p, todo-time-string-format)
11460 (todo-tmp-buffer-name): Remove.
11461 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11462 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11463 (todo-edit-category-diary-inclusion)
11464 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11465 (todo-edit-file, todo-edit-item-date-day)
11466 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11467 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11468 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11469 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11470 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11471 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11472 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11473 (todo-filter-top-priorities-multifile, todo-find-archive)
11474 (todo-find-filtered-items-file, todo-go-to-source-item)
11475 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11476 (todo-jump-to-archive-category, todo-lower-category)
11477 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11478 (todo-move-category, todo-move-item, todo-next-button)
11479 (todo-next-item, todo-padded-string, todo-powerset)
11480 (todo-previous-button, todo-previous-item)
11481 (todo-print-buffer-to-file, todo-raise-category)
11482 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11483 (todo-set-category-number, todo-set-item-priority)
11484 (todo-set-top-priorities-in-category)
11485 (todo-set-top-priorities-in-file, todo-show-categories-table)
11486 (todo-sort-categories-alphabetically-or-numerically)
11487 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11488 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11489 (todo-toggle-item-header, todo-toggle-item-highlighting)
11490 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11491 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11492 (todo-unarchive-items, todo-unmark-category): New commands.
11493 (todo-absolute-file-name, todo-add-to-buffer-list)
11494 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11495 (todo-basic-insert-item, todo-category-completions)
11496 (todo-category-number, todo-category-string-matcher-1)
11497 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11498 (todo-check-format, todo-clear-matches)
11499 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11500 (todo-current-category, todo-date-string-matcher)
11501 (todo-define-insertion-command, todo-diary-expired-matcher)
11502 (todo-diary-goto-entry, todo-diary-item-p)
11503 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11504 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11505 (todo-done-item-section-p, todo-done-separator)
11506 (todo-done-string-matcher, todo-files, todo-filter-items)
11507 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11508 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11509 (todo-insert-category-line, todo-insert-item-from-calendar)
11510 (todo-insert-sort-button, todo-insert-with-overlays)
11511 (todo-insertion-command-name, todo-insertion-key-bindings)
11512 (todo-label-to-key, todo-longest-category-name-length)
11513 (todo-make-categories-list, todo-mode-external-set)
11514 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11515 (todo-modes-set-3, todo-multiple-filter-files)
11516 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11517 (todo-read-category, todo-read-date, todo-read-dayname)
11518 (todo-read-file-name, todo-read-time)
11519 (todo-reevaluate-category-completions-files-defcustom)
11520 (todo-reevaluate-default-file-defcustom)
11521 (todo-reevaluate-filelist-defcustoms)
11522 (todo-reevaluate-filter-files-defcustom)
11523 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11524 (todo-reset-done-separator, todo-reset-done-separator-string)
11525 (todo-reset-done-string, todo-reset-global-current-todo-file)
11526 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11527 (todo-reset-prefix, todo-set-categories)
11528 (todo-set-date-from-calendar, todo-set-show-current-file)
11529 (todo-set-top-priorities, todo-short-file-name)
11530 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11531 (todo-total-item-counts, todo-update-buffer-list)
11532 (todo-update-categories-display, todo-update-categories-sexp)
11533 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11534 New functions.
11535 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11536 New major modes.
11537 (todo-categories, todo-display, todo-edit, todo-faces)
11538 (todo-filtered): New defgroups.
11539 (todo-archived-only, todo-button, todo-category-string, todo-date)
11540 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11541 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11542 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11543 (todo-add-item-if-new-category, todo-always-add-time-string)
11544 (todo-categories-align, todo-categories-archived-label)
11545 (todo-categories-category-label, todo-categories-diary-label)
11546 (todo-categories-done-label, todo-categories-number-separator)
11547 (todo-categories-todo-label, todo-categories-totals-label)
11548 (todo-category-completions-files, todo-completion-ignore-case)
11549 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11550 (todo-done-separator-string, todo-done-string)
11551 (todo-files-function, todo-filter-done-items, todo-filter-files)
11552 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11553 (todo-initial-category, todo-initial-file, todo-item-mark)
11554 (todo-legacy-date-time-regexp, todo-mode-line-function)
11555 (todo-nondiary-marker, todo-number-prefix)
11556 (todo-print-buffer-function, todo-show-current-file)
11557 (todo-show-done-only, todo-show-first, todo-show-with-done)
11558 (todo-skip-archived-categories, todo-top-priorities-overrides)
11559 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11560 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11561 New defcustoms.
11562 (todo-category-done, todo-date-pattern, todo-date-string-start)
11563 (todo-diary-items-buffer, todo-done-string-start)
11564 (todo-filtered-items-buffer, todo-item-start)
11565 (todo-month-abbrev-array, todo-month-name-array)
11566 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11567 (todo-top-priorities-buffer): New defconsts.
11568 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11569 (todo-categories-with-marks, todo-category-string-face)
11570 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11571 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11572 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11573 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11574 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11575 (todo-font-lock-keywords, todo-global-current-todo-file)
11576 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11577 (todo-insertion-commands-args)
11578 (todo-insertion-commands-args-genlist)
11579 (todo-insertion-commands-names, todo-insertion-map)
11580 (todo-key-bindings-t, todo-key-bindings-t+a)
11581 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11582 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11583 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11584 (todo-visited): New variables.
11585
11586 2013-06-21 Glenn Morris <rgm@gnu.org>
11587
11588 * play/cookie1.el (cookie-apropos): Add optional display argument.
11589 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11590 (psychoanalyze-pinhead): Use cookie-doctor.
11591
11592 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11593
11594 * emacs-lisp/package.el (tar-get-file-descriptor)
11595 (tar--extract): Declare.
11596
11597 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11598
11599 Extend flymake's warning predicate to be a function (bug#14217).
11600 * progmodes/flymake.el (flymake-warning-predicate): New.
11601 (flymake-parse-line): Use it.
11602 (flymake-warning-re): Make obsolete alias to
11603 `flymake-warning-predicate'.
11604
11605 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11606
11607 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11608 (package-obsolete-list): Remove.
11609 (package-activate): Remove min-version argument. Add `force' argument.
11610 Adjust to new package-alist format.
11611 (package-mark-obsolete): Remove.
11612 (package-unpack): Force reload of the package's autoloads.
11613 (package-installed-p): Check builtins if the installed package is not
11614 recent enough.
11615 (package-initialize): Don't reset package-obsolete-list.
11616 Don't specify which package version to activate.
11617 (package-process-define-package, describe-package-1)
11618 (package-menu--generate): Adjust to new package-alist format.
11619
11620 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11621
11622 * allout-widgets.el (allout-widgets-mode-off)
11623 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11624 (allout-widgets-post-command-business)
11625 (allout-widgets-after-copy-or-kill-function)
11626 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11627 (allout-decorate-item-and-context)
11628 (allout-graphics-modification-handler): Fix typos in docstrings.
11629 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11630
11631 * cmuscheme.el (scheme-start-file): Doc fix.
11632 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11633 (scheme-input-filter): Use `string-match-p'.
11634
11635 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11636
11637 * dired-x.el: Use Dired consistently in docstrings.
11638
11639 * dired.el: Use Dired consistently in docstrings.
11640 (dired-readin, dired-mode): Use `setq-local'.
11641 (dired-switches-alist): Make defvar-local.
11642 (dired-buffers-for-dir): Use `zerop'.
11643 (dired-safe-switches-p, dired-switches-escape-p)
11644 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11645 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11646 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11647 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11648 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11649 (dired-toggle-marks, dired-mark-files-containing-regexp)
11650 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11651 (dired-flag-auto-save-files, dired-flag-backup-files):
11652 Use `looking-at-p'.
11653 (dired-mark-files-regexp, dired-build-subdir-alist):
11654 Use `string-match-p', `looking-at-p'.
11655
11656 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11657 (direct-print-region-helper): Use `string-match-p'.
11658
11659 2013-06-21 Leo Liu <sdl.web@gmail.com>
11660
11661 * comint.el (comint-redirect-results-list-from-process):
11662 Fix infinite loop.
11663
11664 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11665
11666 * net/eww.el (eww-update-header-line-format): Quote % characters.
11667
11668 2013-06-21 Glenn Morris <rgm@gnu.org>
11669
11670 * play/cookie1.el (cookie): New custom group.
11671 (cookie-file): New option.
11672 (cookie-check-file): New function.
11673 (cookie): Make it interactive. Make start and end messages optional.
11674 Interactively, display the result. Default to cookie-file.
11675 (cookie-insert): Default to cookie-file.
11676 (cookie-snarf): Make start and end messages optional.
11677 Default to cookie-file. Use with-temp-buffer.
11678 (cookie-read): Rename from read-cookie.
11679 Make start and end messages optional. Default to cookie-file.
11680 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11681 Do not autoload it.
11682 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11683 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11684
11685 2013-06-21 Leo Liu <sdl.web@gmail.com>
11686
11687 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11688
11689 2013-06-21 Glenn Morris <rgm@gnu.org>
11690
11691 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11692
11693 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11694 Daniel Hackney <dan@haxney.org>
11695
11696 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11697 Consolidate the single-file vs tarball code.
11698 (package-desc-suffix): New function.
11699 (package-desc-full-name): Don't bother inlining it.
11700 (package-load-descriptor): Return the new package-desc.
11701 (package-mark-obsolete): Remove unused arg `package'.
11702 (package-unpack): Make it work for single files as well.
11703 Make it update package-alist.
11704 (package--make-autoloads-and-stuff): Rename from
11705 package--make-autoloads-and-compile. Don't compile any more.
11706 (package--compile): New function.
11707 (package-generate-description-file): New function, extracted from
11708 package-unpack-single.
11709 (package-unpack-single): Remove.
11710 (package--with-work-buffer): Add indentation and debugging info.
11711 (package-download-single): Remove.
11712 (package-install-from-archive): Rename from package-download-tar, make
11713 it take a pkg-desc, and make it work for single files as well.
11714 (package-download-transaction): Simplify.
11715 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11716 external tar program.
11717 (package-install-from-buffer): Remove `pkg-desc' argument.
11718 Use package-tar-file-info for tar-mode buffers.
11719 (package-install-file): Simplify accordingly.
11720 (package-archive-base): Change to take a pkg-desc.
11721 * tar-mode.el (tar--check-descriptor): New function, extracted from
11722 tar-get-descriptor.
11723 (tar-get-descriptor): Use it.
11724 (tar-get-file-descriptor): New function.
11725 (tar--extract): New function, extracted from tar-extract.
11726 (tar--extract): Use it.
11727 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11728 case the summary uses non-ascii. Adjust to new calling convention of
11729 package-tar-file-info.
11730
11731 2013-06-21 Leo Liu <sdl.web@gmail.com>
11732
11733 * comint.el (comint-redirect-results-list-from-process):
11734 Fix random delay. (Bug#14681)
11735
11736 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11737
11738 * profiler.el (profiler-format-number): Use log, not log10.
11739
11740 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11741
11742 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11743
11744 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11747 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11748 yet available.
11749 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11750 (AUTOGENEL): ... here.
11751 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11752 (cl--defsubst-expand): Use it.
11753
11754 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11755
11756 * subr.el (log10): Move here from C code, and declare as obsolete.
11757 All uses of (log10 X) replaced with (log X 10).
11758
11759 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11760
11761 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11762 Declare with `defvar-local'.
11763 (tabulated-list-use-header-line, tabulated-list-entries)
11764 (tabulated-list-padding, tabulated-list-printer)
11765 (tabulated-list-sort-key): Declare with `defvar-local'.
11766 (tabulated-list-init-header, tabulated-list-print-fake-header):
11767 Use `setq-local'.
11768
11769 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11770
11771 * arc-mode.el (archive-mode): Add `archive-write-file' to
11772 `write-contents-functions' also for remote files. (Bug#14652)
11773
11774 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11775
11776 * cus-edit.el (custom-commands): Fix typos.
11777 (custom-display): Fix tooltip text.
11778 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11779 Fix typos in docstrings.
11780 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11781 (custom-unlispify-menu-entry, custom-magic-value-create)
11782 (custom-add-see-also, custom-group-value-create): Use ?\s.
11783 (custom-guess-type, customize-apropos, editable-field)
11784 (custom-face-value-create): Use `string-match-p'.
11785 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11786
11787 * custom.el (custom-load-symbol): Use `string-match-p'.
11788
11789 * ansi-color.el: Convert to lexical binding.
11790 (ansi-colors): Fix URL.
11791 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11792 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11793 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11794
11795 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11796
11797 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11798
11799 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11800
11801 2013-06-19 Tom Tromey <tromey@redhat.com>
11802
11803 * net/eww.el (eww-top-url): Remove.
11804 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11805 (eww-render): Set new variables. Don't set eww-top-url.
11806 (eww-handle-link): Handle "prev", "home", and "contents".
11807 Downcase the rel text.
11808 (eww-top-url): Choose best top URL.
11809
11810 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11811
11812 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11813 relying in widget.el. Using widget.el leads to too many
11814 user interface inconsistencies.
11815 (eww-self-insert): Implement entering commands in text fields.
11816 (eww-process-text-input): New function to make text input field editing
11817 work.
11818 (eww-submit): Rewrite to use the new-style form methods.
11819 (eww-select-display): Display the correct selected item.
11820 (eww-change-select): Implement changing the select value.
11821 (eww-toggle-checkbox): Implement radio/checkboxes.
11822 (eww-update-field): Fix compilation error.
11823 (eww-tag-textarea): Implement <textarea>.
11824
11825 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11826 we don't shadow mode-specific bindings.
11827
11828 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11829 nothing to push.
11830
11831 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11832
11833 2013-06-19 Glenn Morris <rgm@gnu.org>
11834
11835 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11836
11837 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11838
11839 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11840 not needed.
11841
11842 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11843
11844 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11845
11846 * net/browse-url.el (browse-url-browser-function):
11847 `eww-browse-url' has the right calling signature, `eww' does not.
11848
11849 2013-06-19 Glenn Morris <rgm@gnu.org>
11850
11851 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11852 Only eval autoloaded macros.
11853 (byte-compile-autoload): Only give the macro warning for macros.
11854
11855 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11856 (ps-underlined-faces): Declare.
11857
11858 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11859 (speedbar-add-supported-extension): Declare.
11860
11861 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11862 Don't include a date stamp in the header of the generated file;
11863 it leads to needless differences between output files.
11864
11865 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11866
11867 * net/secrets.el (secrets-struct-secret-content-type):
11868 Replace check of introspection data by a test call of "CreateItem".
11869 Some servers do not offer introspection.
11870
11871 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11872
11873 * electric.el (electric-pair-mode): Improve interaction with
11874 electric-layout-mode.
11875 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11876 (electric-pair-syntax): Use text-mode-syntax-table in comments
11877 and strings.
11878 (electric-pair--insert): New function.
11879 (electric-pair-post-self-insert-function): Use it and
11880 electric--after-char-pos.
11881
11882 2013-06-19 Leo Liu <sdl.web@gmail.com>
11883
11884 * progmodes/octave.el (octave-help): Fix regexp.
11885
11886 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11887
11888 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11889 (shr-table-horizontal-line): Allow nil as a value, and change the
11890 default.
11891 (shr-insert-table-ruler): Respect the nil value.
11892
11893 2013-06-18 Tom Tromey <tromey@barimba>
11894
11895 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11896 New defvars.
11897 (eww-open-file): New defun.
11898 (eww-render): Initialize new variables.
11899 (eww-display-html): Handle "link" and "a".
11900 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11901 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11902 (eww-back-url): Rename from eww-previous-url.
11903 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11904 New defuns.
11905
11906 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11907
11908 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11909 Distinguish ternary operator tokens from slash symbol and slash
11910 char literal.
11911
11912 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11913
11914 Convert symbol prettification into minor mode and global minor mode.
11915
11916 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11917 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11918 (prettify-symbols--keywords): Rename from
11919 `prog-prettify-symbols-alist' and make a local defvar.
11920 (prettify-symbols--compose-symbol): Rename from
11921 `prog--prettify-font-lock-compose-symbol'.
11922 (prettify-symbols--make-keywords): Rename from
11923 `prog-prettify-font-lock-symbols-keywords' and simplify.
11924 (prog-prettify-install): Remove.
11925 (prettify-symbols-mode): New minor mode, based on
11926 `prog-prettify-install'.
11927 (turn-on-prettify-symbols-mode): New function.
11928 (global-prettify-symbols-mode): New globalized minor mode.
11929
11930 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11931 * progmodes/cfengine.el (cfengine3-mode):
11932 * progmodes/perl-mode.el (perl-mode): Don't call
11933 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11934
11935 2013-06-18 Juri Linkov <juri@jurta.org>
11936
11937 * files-x.el (modify-file-local-variable-message): New function.
11938 (modify-file-local-variable)
11939 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11940 and call `modify-file-local-variable-message' when it's non-nil.
11941 (add-file-local-variable, delete-file-local-variable)
11942 (add-file-local-variable-prop-line)
11943 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11944 and use it. (Bug#9820)
11945
11946 2013-06-18 Juri Linkov <juri@jurta.org>
11947
11948 * emulation/vi.el (vi-shell-op):
11949 * emulation/vip.el (vip-execute-com, ex-command):
11950 * emulation/viper-cmd.el (viper-exec-bang):
11951 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11952 the call of `shell-command-on-region'. (Bug#14637)
11953
11954 * simple.el (shell-command-on-region): Doc fix.
11955
11956 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11959 (bug#14633).
11960
11961 2013-06-18 Glenn Morris <rgm@gnu.org>
11962
11963 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11964
11965 * newcomment.el (comment-search-forward, comment-search-backward):
11966 Doc fix. (Bug#14376)
11967
11968 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11969
11970 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11971 (buffer-face-mode-invoke): Doc fix.
11972
11973 2013-06-18 Matthias Meulien <orontee@gmail.com>
11974
11975 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11976 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11977
11978 2013-06-18 Glenn Morris <rgm@gnu.org>
11979
11980 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11981 Replace obsolete function generic-make-keywords with its expansion.
11982
11983 * progmodes/python.el (ffap-alist): Declare.
11984
11985 * textmodes/reftex.el (bibtex-mode-map): Declare.
11986
11987 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11990 (package-unpack, package-unpack-single): Return the pkg-dir.
11991 (package-download-transaction): Use it to update package-alist.
11992
11993 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11994
11995 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11996 possible choice.
11997
11998 2013-06-17 Juri Linkov <juri@jurta.org>
11999
12000 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12001
12002 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12003
12004 * emacs-lisp/package.el (package-load-descriptor):
12005 Remove `with-syntax-table' call, `read' doesn't need it.
12006 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12007
12008 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12009
12010 * startup.el (command-line): Expand package name returned by
12011 `package--description-file' (bug#14639).
12012
12013 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12014
12015 * emacs-lisp/package.el (package-load-descriptor): Do not call
12016 `emacs-lisp-mode', just use its syntax table.
12017
12018 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12019
12020 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12021 `font-lock-extra-managed-props' if any prettifying keyword is added.
12022 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12023 (prog-mode): Use `setq-local'.
12024
12025 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12026
12027 * international/characters.el (standard-case-table): Set syntax of ?»
12028 and ?« to punctuation.
12029
12030 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12031
12032 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12033 Save relevant match data before calling `syntax-ppss' (bug#14595).
12034
12035 2013-06-15 Juri Linkov <juri@jurta.org>
12036
12037 * files-x.el (modify-file-local-variable-prop-line): Add local
12038 variables to the end of the existing comment on the first line.
12039 Use `file-auto-mode-skip' to skip interpreter magic line,
12040 and also skip XML declaration.
12041
12042 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * startup.el (package--builtin-versions): New var.
12045 (package-subdirectory-regexp): Remove.
12046 (package--description-file): Hard code its value instead.
12047
12048 * emacs-lisp/package.el: Don't activate packages older than builtin.
12049 (package-obsolete-list): Rename from package-obsolete-alist, and make
12050 it into a simple list of package-desc.
12051 (package-strip-version): Remove.
12052 (package-built-in-p): Use package--builtin-versions.
12053 (package-mark-obsolete): Simplify.
12054 (package-process-define-package): Mark it obsolete if older than the
12055 builtin version.
12056 (package-handle-response): Use line-end-position.
12057 (package-read-archive-contents, package--download-one-archive):
12058 Simplify.
12059 (package--add-to-archive-contents): Skip if older than the builtin or
12060 installed version.
12061 (package-menu-describe-package): Fix last change.
12062 (package-list-unversioned): New var.
12063 (package-menu--generate): Use it.
12064
12065 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12066 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12067 (autoload-builtin-package-versions): New variable.
12068 (autoload-generate-file-autoloads): Use them.
12069 Remove the list of autoloaded functions/macros from the
12070 (autoload...) comments.
12071
12072 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12073
12074 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12075
12076 * simple.el (line-move-partial): Don't jump to the next screen
12077 line as soon as it becomes visible. Instead, continue enlarging
12078 the vscroll until the portion of a tall screen line that's left on
12079 display is about the height of the frame's default font.
12080 (Bug#14567)
12081
12082 2013-06-15 Glenn Morris <rgm@gnu.org>
12083
12084 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12085 compilation-error-regexp-alist void, or local while let-bound.
12086
12087 * progmodes/make-mode.el (makefile-mode-syntax-table):
12088 Treat "=" as punctuation. (Bug#14614)
12089
12090 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12091
12092 * help-fns.el (describe-variable):
12093 Add extra line for permanent-local variables.
12094
12095 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12096
12097 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12098 Add export, import, library. (Bug#9164)
12099 (library): Set indent function.
12100
12101 2013-06-14 Glenn Morris <rgm@gnu.org>
12102
12103 * term/xterm.el (xterm--query):
12104 Stop after first matching handler. (Bug#14615)
12105
12106 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12107
12108 Add support for dired in saveplace.
12109 * dired.el (dired-initial-position-hook): New variable.
12110 (dired-initial-position): Call hook to place cursor position.
12111 * saveplace.el (save-place-to-alist): Add dired position.
12112 (save-place-dired-hook): New function.
12113
12114 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12117 through a symbol rather than letrec.
12118
12119 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12120 (package-desc): Add `dir' field.
12121 (package-desc-full-name): New function.
12122 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12123 (package-maybe-load-descriptor): Remove.
12124 (package-load-all-descriptors): Just call package-load-descriptor.
12125 (package--disabled-p): New function.
12126 (package-desc-vers, package-desc-doc): Remove aliases.
12127 (package--dir): Remove function.
12128 (package-activate): Check if a package is disabled.
12129 (package-process-define-package): New function, extracted from
12130 define-package.
12131 (define-package): Turn into a place holder.
12132 (package-unpack-single, package-tar-file-info):
12133 Use package--description-file.
12134 (package-compute-transaction): Use package--disabled-p.
12135 (package-download-transaction): Don't call
12136 package-maybe-load-descriptor since they're all loaded anyway.
12137 (package-install): Change argument to be a pkg-desc.
12138 (package-delete): Use a single pkg-desc argument.
12139 (describe-package-1): Use package-desc-dir instead of package--dir.
12140 Use package-desc property instead of package-symbol.
12141 (package-install-button-action): Adjust accordingly.
12142 (package--push): Rewrite.
12143 (package-menu--print-info): Adjust accordingly. Change the ID format
12144 to be a pkg-desc.
12145 (package-menu-describe-package, package-menu-get-status)
12146 (package-menu--find-upgrades, package-menu-mark-upgrades)
12147 (package-menu-execute, package-menu--name-predicate):
12148 Adjust accordingly.
12149 * startup.el (package--description-file): New function.
12150 (command-line): Use it.
12151 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12152 Use package-desc-version.
12153
12154 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12155 (byte-compile-preprocess): Use it.
12156 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12157 can't quite recognize.
12158 (byte-compile-add-to-list): Remove.
12159 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12160 (cconv-closure-convert): Add assertion.
12161
12162 * emacs-lisp/map-ynp.el: Use lexical-binding.
12163 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12164 Factor out some repeated code.
12165
12166 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * subr.el (with-eval-after-load): New macro.
12169 (eval-after-load): Allow form to be a function.
12170 take advantage of lexical-binding.
12171 (do-after-load-evaluation): Use dolist and adjust to new format.
12172 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12173
12174 2013-06-13 Juri Linkov <juri@jurta.org>
12175
12176 * replace.el (perform-replace): Display "symbol " and other search
12177 modes from `isearch-message-prefix' in the *Help* buffer.
12178
12179 * isearch.el (isearch-query-replace): Add " symbol" and other
12180 possible search modes from `isearch-message-prefix' to the prompt.
12181 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12182 when reading a regexp to collect.
12183
12184 2013-06-13 Juri Linkov <juri@jurta.org>
12185
12186 * isearch.el (word-search-regexp): Match whitespace if the search
12187 string begins or ends in whitespace. The LAX arg is applied to
12188 both ends of the search string. Use `regexp-quote' and explicit
12189 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12190 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12191 boundaries are replaced with symbol boundaries, and characters
12192 between symbols match non-word non-symbol syntax. (Bug#14602)
12193
12194 2013-06-13 Juri Linkov <juri@jurta.org>
12195
12196 * isearch.el (isearch-del-char): Don't exceed the length of
12197 `isearch-string' by the prefix arg. (Bug#14563)
12198
12199 2013-06-13 Juri Linkov <juri@jurta.org>
12200
12201 * isearch.el (isearch-yank-word, isearch-yank-line)
12202 (isearch-char-by-name, isearch-quote-char)
12203 (isearch-printing-char, isearch-process-search-char):
12204 Add optional count prefix arg. (Bug#14563)
12205
12206 * international/isearch-x.el
12207 (isearch-process-search-multibyte-characters):
12208 Add optional count prefix arg.
12209
12210 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12213 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12214 lexical-binding.
12215
12216 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12217
12218 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12219
12220 2013-06-13 Glenn Morris <rgm@gnu.org>
12221
12222 * startup.el (tty-handle-args):
12223 Don't just discard "--" and anything after. (Bug#14608)
12224
12225 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12226
12227 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12228
12229 Implement changes in Secret Service API. Make it backward compatible.
12230 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12231 (secrets-create-item): Use it. Prefix properties with interface.
12232
12233 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12234
12235 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12236 (term-emulate-terminal): Respect term-suppress-hard-newline.
12237
12238 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12239
12240 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12241 Only remove a `thumb-file' overlay. (Bug#14548)
12242
12243 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12244
12245 * mail/reporter.el (reporter-submit-bug-report):
12246 Handle missing package-name. (Bug#14600)
12247
12248 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12249
12250 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12251 (reftex-citation-prompt, reftex-default-bibliography)
12252 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12253 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12254 (reftex-bib-sort-author, reftex-bib-sort-year)
12255 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12256 (reftex-extract-bib-entries-from-thebibliography)
12257 (reftex-get-bibkey-default, reftex-get-bib-names)
12258 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12259 (reftex-format-bib-entry, reftex-parse-bibitem)
12260 (reftex-format-bibitem, reftex-do-citation)
12261 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12262 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12263 (reftex-insert-bib-matches, reftex-format-citation)
12264 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12265 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12266 existing comments into docstrings.
12267
12268 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12269
12270 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12271
12272 2013-06-12 Andreas Schwab <schwab@suse.de>
12273
12274 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12275 for auto-save files.
12276
12277 2013-06-12 Glenn Morris <rgm@gnu.org>
12278
12279 * ido.el (ido-delete-ignored-files): Remove.
12280 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12281 Go back to calling ido-ignore-item-p directly.
12282
12283 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12284
12285 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12286
12287 * ido.el (ido-delete-ignored-files): New function,
12288 split from ido-make-file-list-1.
12289 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12290 (ido-make-file-list-1): Use ido-delete-ignored-files.
12291
12292 2013-06-12 Leo Liu <sdl.web@gmail.com>
12293
12294 * progmodes/octave.el (inferior-octave-startup)
12295 (inferior-octave-completion-table)
12296 (inferior-octave-track-window-width-change)
12297 (octave-eldoc-function-signatures, octave-help)
12298 (octave-find-definition): Use single quoted strings.
12299 (inferior-octave-startup-args): Change default value.
12300 (inferior-octave-startup): Do not hard code "-i" and
12301 "--no-line-editing".
12302 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12303 (inferior-octave-directory-tracker): Use it.
12304 (octave-goto-function-definition): Robustify.
12305 (octave-help): Support highlighting operators in 'See also'.
12306 (octave-find-definition): Find subfunctions only in Octave mode.
12307
12308 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * help-fns.el (help-fns--compiler-macro): If the handler function is
12311 named, then put a link to it.
12312 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12313 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12314 (cl-typep): Use it.
12315 (cl-eval-when): Simplify debug spec.
12316 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12317 compiler-macro function instead of setting `compiler-macro-file'.
12318
12319 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12320
12321 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12322 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12323
12324 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12325 Daniel Hackney <dan@haxney.org>
12326
12327 First part of Daniel Hackney's patch to package.el.
12328 * emacs-lisp/package.el: Use defstruct.
12329 (package-desc): New, main struct.
12330 (package--bi-desc, package--ac-desc): New structs, used to describe the
12331 format in external files.
12332 (package-desc-vers): Replace with package-desc-version accessor.
12333 (package-desc-doc): Replace with package-desc-summary accessor.
12334 (package-activate-1): Remove `package' arg since the pkg-vec now
12335 includes the name.
12336 (define-package): Use package-desc-from-define.
12337 (package-unpack-single): Change file-name arg to be a symbol.
12338 (package--add-to-archive-contents): Use package-desc-create and new
12339 accessor functions to package--ac-desc.
12340 (package-buffer-info, package-tar-file-info): Return a package-desc.
12341 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12342 arg to be a package-desc.
12343 (package-install-file): Adjust accordingly. Use \' to match EOS.
12344 (package--from-builtin): New function.
12345 (describe-package-1, package-menu--generate): Use it.
12346 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12347 (package-generate-autoloads): Idem and return the name of the file.
12348 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12349 Change pkg-info arg to be a package-desc.
12350 Use package-make-ac-desc.
12351 (package-upload-file): Use \' to match EOS.
12352 * finder.el (finder-compile-keywords): Use package-make-builtin.
12353
12354 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * vc/vc.el (vc-deduce-fileset): Change error message.
12357 (vc-read-backend): New function.
12358 (vc-next-action): Use it.
12359
12360 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12361
12362 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12363 (prolog-font-lock-keywords): Use regexp-opt instead.
12364 Don't manually highlight strings.
12365 (prolog-mode-variables): Simplify comment-start-skip.
12366 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12367
12368 * emacs-lisp/generic.el (generic--normalise-comments)
12369 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12370 (generic-mode-set-comments): Use them.
12371 (generic-bracket-support): Use setq-local.
12372 (generic-make-keywords-list): Declare obsolete.
12373
12374 2013-06-11 Glenn Morris <rgm@gnu.org>
12375
12376 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12377 Prettify after setting font-lock-defaults. (Bug#14574)
12378
12379 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12380
12381 * replace.el (query-replace, occur-read-regexp-defaults-function)
12382 (replace-search):
12383 * subr.el (declare-function, number-sequence, local-set-key)
12384 (substitute-key-definition, locate-user-emacs-file)
12385 (with-silent-modifications, split-string, eval-after-load):
12386 Fix typos, remove unneeded backslashes and reflow some docstrings.
12387
12388 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12389
12390 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12391 default for Elisp files.
12392
12393 2013-06-11 Glenn Morris <rgm@gnu.org>
12394
12395 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12396 although define-derived-mode was doing this anyway. (Bug#14583)
12397
12398 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12399
12400 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12401 Fix make-variable-buffer-local call to refer to the correct variable.
12402
12403 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12404
12405 * eshell/em-term.el (eshell-visual-commands)
12406 (eshell-visual-subcommands, eshell-visual-options):
12407 Add summary line to docstrings. Add cross-references.
12408
12409 2013-06-10 Glenn Morris <rgm@gnu.org>
12410
12411 * epa.el (epa-read-file-name): New function. (Bug#14510)
12412 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12413
12414 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12415
12416 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12417 output redirection to be ignored with visual commands.
12418
12419 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12420
12421 * eshell/em-term.el (eshell-visual-command-p): New function.
12422 (eshell-term-initialize): Move long lambda to separate function
12423 eshell-visual-command-p.
12424 * eshell/em-dirs.el (eshell-dirs-initialize):
12425 * eshell/em-script.el (eshell-script-initialize):
12426 Add missing #' to lambda.
12427
12428 2013-06-08 Leo Liu <sdl.web@gmail.com>
12429
12430 * progmodes/octave.el (octave-add-log-current-defun): New function.
12431 (octave-mode): Set add-log-current-defun-function.
12432 (octave-goto-function-definition): Do not move point if not found.
12433 (octave-find-definition): Enhance to try subfunctions first.
12434
12435 2013-06-08 Glenn Morris <rgm@gnu.org>
12436
12437 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12438 (byte-compile-backward-char, byte-compile-backward-word):
12439 Improve previous change, to handle non-explicit nil.
12440
12441 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12442
12443 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12444 (smie--opener/closer-at-point): New function.
12445 (smie--matching-block-data): Use it. Don't match from right after an
12446 opener or right before a closer. Obey smie-blink-matching-inners.
12447 Don't signal a mismatch for repeated inners like "switch..case..case".
12448
12449 2013-06-07 Leo Liu <sdl.web@gmail.com>
12450
12451 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12452 to t. (Bug#14303)
12453 (octave-function-header-regexp): Fix. (Bug#14570)
12454 (octave-help-mode-finish-hook, octave-help-mode-finish):
12455 Remove. Just use temp-buffer-show-hook.
12456
12457 * newcomment.el (comment-search-backward): Revert last change.
12458 (Bug#14434)
12459
12460 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12461
12462 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12463
12464 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12465 through xargs, to avoid failure due to MS-Windows limitations on
12466 command-line length.
12467
12468 2013-06-06 Glenn Morris <rgm@gnu.org>
12469
12470 * font-lock.el (lisp-font-lock-keywords-2):
12471 Treat user-error like error.
12472
12473 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12474 (byte-compile-backward-char, byte-compile-backward-word):
12475 Handle explicit nil arguments. (Bug#14565)
12476
12477 2013-06-05 Alan Mackenzie <acm@muc.de>
12478
12479 * isearch.el (isearch-allow-prefix): New user option.
12480 (isearch-other-meta-char): Don't exit isearch when a prefix
12481 argument is typed whilst `isearch-allow-prefix' is non-nil.
12482 (Bug#9706)
12483
12484 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * autorevert.el (auto-revert-notify-handler): Use memq.
12487 Hide assertion failure.
12488
12489 * skeleton.el: Use cl-lib.
12490 (skeleton-further-elements): Use defvar-local.
12491 (skeleton-insert): Use cl-progv.
12492
12493 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12494
12495 * progmodes/prog-mode.el (prog-prettify-symbols)
12496 (prog-prettify-install): Update docstrings.
12497
12498 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12499
12500 * simple.el: Move all the prog-mode code to prog-mode.el.
12501 * progmodes/prog-mode.el: New file.
12502 * loadup.el: Add prog-mode.el.
12503
12504 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12505
12506 * simple.el (prog-prettify-symbols): Add version.
12507 (prog-prettify-install): Add convenience function to prettify symbols.
12508
12509 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12510 (perl--augmented-font-lock-keywords-1)
12511 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12512 variables and use it.
12513
12514 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12515 (cfengine3-mode): Remove unneeded variable and use it.
12516
12517 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12518 (lisp--augmented-font-lock-keywords-1)
12519 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12520 Remove unneeded variables and use it.
12521
12522 2013-06-05 João Távora <joaotavora@gmail.com>
12523
12524 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12525 to point when opening the connection. (Bug#14380)
12526
12527 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12528
12529 * subr.el (load-history-regexp, load-history-filename-element)
12530 (eval-after-load, after-load-functions, do-after-load-evaluation)
12531 (eval-next-after-load, display-delayed-warnings)
12532 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12533 definition of save-match-data.
12534 (overriding-local-map): Remove accidental obsolescence declaration.
12535
12536 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12537
12538 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12539
12540 Generalize symbol prettify support to prog-mode and implement it
12541 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12542 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12543 (prog--prettify-font-lock-compose-symbol)
12544 (prog-prettify-font-lock-symbols-keywords): New variables and
12545 functions to support symbol prettification.
12546 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12547 (lisp--augmented-font-lock-keywords-1)
12548 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12549 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12550 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12551 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12552 Implement prettify of -> => :: strings.
12553 * progmodes/perl-mode.el (perl-prettify-symbols)
12554 (perl--font-lock-compose-symbol)
12555 (perl--font-lock-symbols-keywords): Move to prog-mode.
12556 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12557 (perl-font-lock-keywords-1)
12558 (perl-font-lock-keywords-2): Remove explicit prettify support.
12559 (perl--augmented-font-lock-keywords)
12560 (perl--augmented-font-lock-keywords-1)
12561 (perl--augmented-font-lock-keywords-2, perl-mode):
12562 Implement prettify support.
12563
12564 2013-06-05 Leo Liu <sdl.web@gmail.com>
12565
12566 Re-implement SMIE matching block highlight using
12567 show-paren-data-function. (Bug#14395)
12568 * emacs-lisp/smie.el (smie-matching-block-highlight)
12569 (smie--highlight-matching-block-overlay)
12570 (smie--highlight-matching-block-lastpos)
12571 (smie-highlight-matching-block)
12572 (smie-highlight-matching-block-mode): Remove.
12573 (smie--matching-block-data-cache): New variable.
12574 (smie--matching-block-data): New function.
12575 (smie-setup): Use smie--matching-block-data for
12576 show-paren-data-function.
12577
12578 * progmodes/octave.el (octave-mode-menu): Fix.
12579 (octave-find-definition): Skip garbage lines.
12580
12581 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12582
12583 Fix compilation error with simultaneous dynamic+lexical scoping.
12584 Add warning when a defvar appears after the first let-binding.
12585 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12586 (byte-compile-close-variables): Initialize it.
12587 (byte-compile--declare-var): New function.
12588 (byte-compile-file-form-defvar)
12589 (byte-compile-file-form-define-abbrev-table)
12590 (byte-compile-file-form-custom-declare-variable): Use it.
12591 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12592 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12593 (byte-compile-bind): Handle dynamic bindings that shadow
12594 lexical bindings.
12595 (byte-compile-unbind): Make arg non-optional.
12596 (byte-compile-let): Simplify.
12597 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12598 (cconv--analyse-function, cconv-analyse-form): Populate it.
12599 Protect byte-compile-bound-variables to limit the scope of defvars.
12600 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12601 Remove unneeded rule for `declare'.
12602
12603 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12604 so as to avoid depending on cl-adjoin at run-time.
12605 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12606
12607 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12608 (macroexp--warn-and-return): Use it.
12609
12610 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12611
12612 * subr.el: Convert to lexical binding.
12613 (overriding-local-map): Make obsolete.
12614 (add-to-list): Doc fix. Add compiler macro.
12615 (read-key): Swap values of local maps.
12616
12617 2013-06-05 Leo Liu <sdl.web@gmail.com>
12618
12619 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12620
12621 2013-06-04 Leo Liu <sdl.web@gmail.com>
12622
12623 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12624 (compilation-auto-jump): Suppress the "Mark set" message to give
12625 way to exit message.
12626
12627 2013-06-04 Alan Mackenzie <acm@muc.de>
12628
12629 Remove faulty optimisation from indentation calculation.
12630 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12631 search limit based on 2000 characters back from indent-point.
12632
12633 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12634
12635 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12636
12637 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12638
12639 * emacs-lisp/lisp.el: Use lexical-binding.
12640 (lisp--local-variables-1, lisp--local-variables): New functions.
12641 (lisp--local-variables-completion-table): New var.
12642 (lisp-completion-at-point): Use it complete let-bound vars.
12643
12644 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12645 eagerly (bug#14422).
12646
12647 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12648
12649 * autorevert.el (auto-revert-notify-enabled)
12650 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12651 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12652 (auto-revert-notify-handler): Handle also gfilenotify.
12653
12654 * subr.el (file-notify-handle-event): New defun. Replacing ...
12655 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12656 Remove.
12657
12658 2013-06-03 Juri Linkov <juri@jurta.org>
12659
12660 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12661 `M-s h .'. (Bug#14427)
12662
12663 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12664 command `hi-lock-face-symbol-at-point'.
12665 (hi-lock-face-symbol-at-point): New command.
12666 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12667 (hi-lock-menu): Add `highlight-symbol-at-point'.
12668 (hi-lock-mode): Doc fix.
12669
12670 * isearch.el (isearch-forward-symbol-at-point): New command.
12671 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12672 (isearch-highlight-regexp): Add a regexp which matches
12673 words/symbols for word/symbol mode.
12674
12675 * subr.el (find-tag-default-bounds): New function with the body
12676 mostly moved from `find-tag-default'.
12677 (find-tag-default): Move most code to `find-tag-default-bounds',
12678 call it and apply `buffer-substring-no-properties' afterwards.
12679
12680 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12681
12682 * eshell/em-term.el (eshell-term-initialize):
12683 Use `cl-intersection' rather than `intersection'.
12684
12685 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12686
12687 * vc/log-view.el: Doc fix.
12688 (log-view-mode-map): Copy keymap from `special-mode-map'.
12689
12690 2013-06-02 Eric Ludlam <zappo@gnu.org>
12691
12692 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12693 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12694 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12695 (eieio-unbound, eieio-default-superclass)
12696 (eieio--define-field-accessors, method-static, method-before)
12697 (method-primary, method-after, method-num-lists)
12698 (method-generic-before, method-generic-primary)
12699 (method-generic-after, method-num-slots)
12700 (eieio-specialized-key-to-generic-key)
12701 (eieio--check-type, class-v, class-p)
12702 (eieio-class-name, define-obsolete-function-alias)
12703 (eieio-class-parents-fast, eieio-class-children-fast)
12704 (same-class-fast-p, class-constructor, generic-p)
12705 (generic-primary-only-p, generic-primary-only-one-p)
12706 (class-option-assoc, class-option, eieio-object-p)
12707 (class-abstract-p, class-method-invocation-order)
12708 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12709 (eieio-class-un-autoload, eieio-defclass)
12710 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12711 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12712 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12713 (eieio-defgeneric-reset-generic-form)
12714 (eieio-defgeneric-form-primary-only)
12715 (eieio-defgeneric-reset-generic-form-primary-only)
12716 (eieio-defgeneric-form-primary-only-one)
12717 (eieio-defgeneric-reset-generic-form-primary-only-one)
12718 (eieio-unbind-method-implementations)
12719 (eieio--defmethod, eieio--typep)
12720 (eieio-perform-slot-validation, eieio-validate-slot-value)
12721 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12722 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12723 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12724 (eieio-slot-name-index, eieio-class-slot-name-index)
12725 (eieio-set-defaults, eieio-initarg-to-attribute)
12726 (eieio-attribute-to-initarg, eieio-c3-candidate)
12727 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12728 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12729 (eieio-class-precedence-list, eieio-generic-call-methodname)
12730 (eieio-generic-call-arglst, eieio-generic-call-key)
12731 (eieio-generic-call-next-method-list)
12732 (eieio-pre-method-execution-functions, eieio-generic-call)
12733 (eieio-generic-call-primary-only, eieiomt-method-list)
12734 (eieiomt-optimizing-obarray, eieiomt-install)
12735 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12736 (eieio-generic-form, eieio-defmethod, make-obsolete)
12737 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12738 (defclass): Remove `eval-and-compile' from macro.
12739 (call-next-method, shared-initialize): Instead of using
12740 `scoped-class' variable, use new eieio--scoped-class, and
12741 eieio--with-scoped-class.
12742 (initialize-instance): Rename local variable 'scoped-class' to
12743 'this-class' to remove ambiguitity from old global.
12744
12745 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12746 eieio.el.
12747 (eieio--scoped-class-stack): New variable.
12748 (eieio--scoped-class): New fcn.
12749 (eieio--with-scoped-class): New scoping macro.
12750 (eieio-defclass): Use pushnew instead of add-to-list.
12751 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12752 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12753 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12754 `scoped-class' variable, use new eieio--scoped-class, and
12755 eieio--with-scoped-class.
12756
12757 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12758
12759 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12760
12761 * eshell/esh-ext.el (eshell-external-command): Pass args to
12762 `eshell-find-interpreter'.
12763 (eshell-find-interpreter): Add new second parameter ARGS.
12764
12765 * eshell/em-script.el (eshell-script-initialize): Add second arg
12766 to the function added as MATCH to `eshell-interpreter-alist'.
12767
12768 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12769 the function added as MATCH to `eshell-interpreter-alist'.
12770
12771 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12772 (eshell-visual-options): New defcustom.
12773 (eshell-escape-control-x): Adapt docstring.
12774 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12775 `eshell-visual-options' in addition to `eshell-visual-commands'.
12776 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12777
12778 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12779
12780 * progmodes/python.el (python-indent-block-enders): Add break,
12781 continue and raise keywords.
12782
12783 2013-06-01 Glenn Morris <rgm@gnu.org>
12784
12785 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12786
12787 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12788 * progmodes/cc-cmds.el (delete-forward-p):
12789 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12790 * progmodes/cc-engine.el (buffer-syntactic-context):
12791 * progmodes/cc-fonts.el (face-property-instance):
12792 * progmodes/cc-mode.el (set-keymap-parents):
12793 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12794 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12795 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12796 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12797 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12798
12799 * progmodes/cc-vars.el (other): Emacs has this widget since
12800 at least 21.1, so don't (re)define it.
12801
12802 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12803 Replace the obsolete alias pcomplete-arg-quote-list.
12804
12805 2013-06-01 Leo Liu <sdl.web@gmail.com>
12806
12807 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12808 punctuation syntax.
12809 (inferior-octave-minimal-columns)
12810 (inferior-octave-last-column-width): New variables.
12811 (inferior-octave-track-window-width-change): New function.
12812 (inferior-octave-mode): Adjust column width so that Octave output,
12813 for example from 'ls', can fit into the window nicely.
12814
12815 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12816
12817 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12818 Highlight expansions inside regexp literals.
12819
12820 2013-05-31 Glenn Morris <rgm@gnu.org>
12821
12822 * obsolete/sym-comp.el (symbol-complete):
12823 Replace obsolete completion-annotate-function.
12824
12825 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12826
12827 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12828
12829 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12830 New function, checks if point is inside a literal that allows
12831 expression expansion.
12832 (ruby-syntax-propertize-expansion): Use it.
12833 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12834 around the body.
12835
12836 2013-05-30 Juri Linkov <juri@jurta.org>
12837
12838 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12839 to "\M-si".
12840 (isearch-invisible): New variable.
12841 (isearch-forward): Doc fix.
12842 (isearch-mode): Set `isearch-invisible'
12843 to the value of `search-invisible'.
12844 (isearch-toggle-case-fold): Doc fix.
12845 (isearch-toggle-invisible): New command.
12846 (isearch-query-replace): Let-bind `search-invisible'
12847 to the value of `isearch-invisible'.
12848 (isearch-search): Use `isearch-invisible' instead of
12849 `search-invisible'. Let-bind `search-invisible'
12850 to the value of `isearch-invisible'. (Bug#11378)
12851
12852 2013-05-30 Juri Linkov <juri@jurta.org>
12853
12854 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12855 call when `query-flag' is nil and `search-invisible' is non-nil.
12856 (Bug#11746)
12857
12858 2013-05-30 Glenn Morris <rgm@gnu.org>
12859
12860 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12861
12862 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12863 (cc-require): Suppress spurious "noruntime" warnings.
12864 (cc-require-when-compile): Use fboundp, for sake of compiler.
12865
12866 * progmodes/cc-mode.el: Move load of cc-vars before that of
12867 cc-langs (which in turn loads cc-vars), to quieten compiler.
12868
12869 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * paren.el: Simplify the code.
12872 (show-paren-mode): Always start the timer.
12873 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12874 (show-paren--overlay, show-paren--overlay-1): Rename from
12875 show-paren-overlay and show-paren-overlay-1, and initialize to an
12876 overlay rather than to nil.
12877 (show-paren-function): Misc cleanup and simplifications.
12878
12879 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12880
12881 * paren.el (show-paren-data-function): New hook.
12882 (show-paren--default): New function, extracted from show-paren-function.
12883 (show-paren-function): Use show-paren-data-function.
12884
12885 2013-05-30 Glenn Morris <rgm@gnu.org>
12886
12887 * ielm.el (ielm-map, ielm-complete-symbol):
12888 Use completion-at-point rather than obsolete functions.
12889 (inferior-emacs-lisp-mode): Doc fix.
12890 Set completion-at-point-functions, rather than
12891 comint-dynamic-complete-functions.
12892
12893 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12894 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12895 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12896
12897 * image.el (image-animated-p): Tweak definition.
12898
12899 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12900 (rlogin-process-connection-type): Tweak default. Add set-after.
12901 (rlogin-host): Doc fix.
12902 (rlogin): Tweak prompt.
12903 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12904
12905 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12906 * progmodes/tcl.el (inferior-tcl-mode-map):
12907 Use completion-at-point rather than obsolete alias.
12908
12909 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12910
12911 * minibuffer.el (read-file-name-completion-ignore-case):
12912 Move before completion--in-region, for eager macro expansion.
12913
12914 2013-05-29 Juri Linkov <juri@jurta.org>
12915
12916 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12917 for total count of matching lines. Add `global-matches' for total
12918 count of matches. Rename `matches' to `lines' for count of
12919 matching lines. Add `matches' for count of matches.
12920 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12921 to `prev-line' for line number of prev match endpt.
12922 Increment `matches' for every match. Print the number of
12923 matching lines in the header.
12924 (occur-context-lines): Rename `lines' to `curr-line'.
12925 Rename `prev-lines' to `prev-line'. (Bug#14017)
12926
12927 2013-05-29 Juri Linkov <juri@jurta.org>
12928
12929 * replace.el (perform-replace): Add `skip-read-only-count',
12930 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12931 Increment them for corresponding conditions and report the number
12932 of skipped occurrences in the final message. (Bug#11746)
12933 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12934 (replace-string, replace-regexp): Doc fix.
12935
12936 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12939
12940 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12941 prog-mode-map (bug#14504).
12942
12943 2013-05-29 Leo Liu <sdl.web@gmail.com>
12944
12945 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12946 (octave-help): Small simplification.
12947
12948 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12949 off the highlight first.
12950
12951 2013-05-29 Glenn Morris <rgm@gnu.org>
12952
12953 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12954 Handle idlwave-last-system-routine-info-cons-cell being nil.
12955
12956 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12957 (idlwave-write-paths): Simplify via with-temp-buffer.
12958
12959 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12960 * emulation/cua-rect.el: Also load cua-base at run time.
12961
12962 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12963 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12964 (cperl-imenu-on-info): Require imenu.
12965
12966 2013-05-28 Alan Mackenzie <acm@muc.de>
12967
12968 Handle "capitalised keywords" correctly.
12969 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12970
12971 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12972
12973 * eshell/em-unix.el: Add -r option to cp.
12974
12975 2013-05-28 Glenn Morris <rgm@gnu.org>
12976
12977 * vc/vc-arch.el (vc-exec-after): Declare.
12978 (vc-switches): Autoload.
12979 * vc/vc-bzr.el: No need to require vc when compiling.
12980 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12981 (vc-resynch-buffer, vc-dir-refresh): Declare.
12982 (vc-setup-buffer, vc-switches): Autoload.
12983 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12984 (vc-resynch-buffer): Declare.
12985 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12986 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12987 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12988 (grep-read-regexp, grep-read-files, grep-expand-template)
12989 (vc-dir-refresh): Declare.
12990 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12991 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12992 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12993 * vc/vc-mtn.el (vc-exec-after): Declare.
12994 (vc-switches): Autoload.
12995 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12996 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12997 (vc-file-tree-walk): Declare.
12998 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12999 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13000 (vc-tag-precondition, vc-rename-master): Autoload.
13001 * vc/vc-svn.el (vc-exec-after): Declare.
13002 (vc-switches, vc-setup-buffer): Autoload.
13003 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13004 Autoload.
13005 (vc-resynch-buffer): Declare.
13006
13007 * obsolete/fast-lock.el (byte-compile-warnings):
13008 Don't warn about obsolete features in this obsolete file.
13009
13010 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13011 Move definition before use.
13012
13013 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13014 (dun-unix-verbs): Remove dun-zippy.
13015 (dun-zippy): Remove function.
13016
13017 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13018
13019 2013-05-27 Juri Linkov <juri@jurta.org>
13020
13021 * replace.el (replace-search): New function with code moved out
13022 from `perform-replace'.
13023 (replace-highlight, replace-dehighlight): Move function definitions
13024 up closer to `replace-search'. (Bug#11746)
13025
13026 2013-05-27 Juri Linkov <juri@jurta.org>
13027
13028 * replace.el (perform-replace): Ignore invisible matches.
13029 In addition to checking `query-replace-skip-read-only', also
13030 filter out matches by calling `run-hook-with-args-until-failure'
13031 on `isearch-filter-predicates', and also check `search-invisible'
13032 for t or call `isearch-range-invisible'.
13033 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13034
13035 2013-05-27 Juri Linkov <juri@jurta.org>
13036
13037 * isearch.el (isearch-filter-predicates): Rename from
13038 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13039 (isearch-message-prefix): Display text from the property
13040 `isearch-message-prefix' of the currently active filters.
13041 (isearch-search): Don't compare `isearch-filter-predicate' with
13042 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13043 on `isearch-filter-predicates'. Also check `search-invisible' for t
13044 or call `isearch-range-invisible'.
13045 (isearch-filter-visible): Make obsolete.
13046 (isearch-lazy-highlight-search):
13047 Call `run-hook-with-args-until-failure' on
13048 `isearch-filter-predicates' and use `isearch-range-invisible'.
13049
13050 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13051 `isearch-filter-predicates' instead of `funcall'ing
13052 `isearch-filter-predicate'.
13053 (Info-mode): Set `Info-isearch-filter' to
13054 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13055
13056 * dired-aux.el (dired-isearch-filter-predicate-orig):
13057 Remove variable.
13058 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13059 (dired-isearch-filenames-end): Add and remove
13060 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13061 instead of changing the value of `isearch-filter-predicate'.
13062 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13063 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13064 Put property `isearch-message-prefix' to "filename " on
13065 `dired-isearch-filter-filenames'.
13066
13067 * wdired.el (wdired-change-to-wdired-mode):
13068 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13069 locally instead of changing `isearch-filter-predicate'.
13070 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13071
13072 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13073
13074 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13075 return the commit hash (Bug#14459). Also set the
13076 `vc-git-detached' property.
13077 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13078 (vc-git-mode-line-string): Use the same help-echo format whether
13079 in detached mode or not, because we know the actual revision now.
13080 When in detached mode, shorten the revision to 7 chars.
13081
13082 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13083
13084 * emacs-lisp/easy-mmode.el (define-minor-mode):
13085 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13086 mode hook and provide a docstring.
13087
13088 2013-05-27 Alan Mackenzie <acm@muc.de>
13089
13090 Remove spurious syntax-table text properties inserted by C-y.
13091 * progmodes/cc-mode.el (c-after-change): Also clear hard
13092 syntax-table property with value nil.
13093
13094 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13095
13096 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13097 when reading the events; the buffer layout shall not be changed.
13098
13099 2013-05-27 Leo Liu <sdl.web@gmail.com>
13100
13101 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13102 New variable.
13103 (inferior-octave-directory-tracker): Automatically re-sync
13104 default-directory.
13105 (octave-help): Improve handling of 'See also'.
13106
13107 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13108
13109 * doc-view.el: Minor naming convention tweaks.
13110 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13111
13112 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13113 even if there's no `display' property yet (bug#14435).
13114
13115 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13116
13117 * subr.el (unmsys--file-name): Rename from reveal-filename.
13118
13119 * Makefile.in (custom-deps, finder-data, autoloads)
13120 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13121 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13122 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13123
13124 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13125
13126 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13127 error-completion on the first 2 args of condition-case (bug#14446).
13128 Don't burp at EOB.
13129
13130 2013-05-25 Leo Liu <sdl.web@gmail.com>
13131
13132 * comint.el (comint-previous-matching-input): Do not flood the
13133 *Messages* buffer with trivial messages.
13134
13135 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13136
13137 * progmodes/flymake.el (flymake-nop): Don't return a string.
13138 (flymake-set-at): Fix typo.
13139
13140 * simple.el (read--expression): New function, extracted from
13141 eval-expression. Set completion-at-point-functions (bug#14465).
13142 (eval-expression, eval-minibuffer): Use it.
13143
13144 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13145
13146 * progmodes/flymake.el (flymake-save-buffer-in-file)
13147 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13148 (flymake-selected-frame, flymake-log, flymake-ins-after)
13149 (flymake-set-at, flymake-get-buildfile-from-cache)
13150 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13151 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13152 Refine the doc string.
13153 (flymake-get-file-name-mode-and-masks): Reformat.
13154 (flymake-get-real-file-name-function): Fix a minor bug.
13155
13156 2013-05-24 Juri Linkov <juri@jurta.org>
13157
13158 * progmodes/grep.el (grep-mode-font-lock-keywords):
13159 Support =linenumber= format used by git-grep for lines with
13160 function names. (Bug#13549)
13161
13162 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13163
13164 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13165 0 after a semi-colon; it works better for smie-auto-fill.
13166 (octave--indent-new-comment-line): New function.
13167 (octave-indent-new-comment-line): Use it (indirectly).
13168 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13169 modify comment-line-break-function.
13170
13171 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13172 (smie-setup): Use add-function to set it.
13173
13174 2013-05-24 Sam Steingold <sds@gnu.org>
13175
13176 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13177 argument (before the `interactive' argument).
13178
13179 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13180
13181 * image-mode.el (image-mode-winprops): Add winprops to
13182 image-mode-winprops-alist before running
13183 image-mode-new-window-functions.
13184 * doc-view.el (doc-view-new-window-function): Don't delay
13185 doc-view-goto-page via timers (bug#14435).
13186
13187 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13188
13189 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13190 (doc-view-desktop-save-buffer): New function.
13191 (doc-view-restore-desktop-buffer): New function.
13192 (desktop-buffer-mode-handlers):
13193 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13194 handler.
13195 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13196 `desktop-save-buffer' function.
13197
13198 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13199
13200 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13201 (tramp-gvfs-file-name-handler): Raise a user error when
13202 `tramp-gvfs-enabled' is nil.
13203 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13204 Do not raise a user error when loading package. (Bug#14447)
13205
13206 * net/xesam.el: Move to obsolete/.
13207
13208 2013-05-24 Glenn Morris <rgm@gnu.org>
13209
13210 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13211
13212 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13213
13214 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13215 (Info-find-node, Man-getpage-in-background): Declare.
13216
13217 * mail/unrmail.el (unrmail):
13218 Replace obsolete detect-coding-with-priority.
13219
13220 * net/socks.el (socks-split-string): Use this rather than split-string.
13221 (socks-nslookup-host): Update for above change.
13222 (dynamic-choice, s5-dynamic-choice-match)
13223 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13224 Comment out unused code.
13225
13226 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13227 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13228 (gud-tooltip-echo-area): Make obsolete.
13229 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13230
13231 * progmodes/js.el (js--optimize-arglist): Declare.
13232
13233 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13234
13235 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13236 (ediff-window-C): Declare.
13237
13238 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13239 Tweak requires to silence compiler.
13240
13241 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13242 (he-search-string, he-tried-table, he-expand-list)
13243 (he-init-string, he-string-member, he-substitute-string)
13244 (he-reset-string): Declare.
13245
13246 * obsolete/options.el (list-options): Use custom-variable-p,
13247 rather than obsolete alias.
13248
13249 2013-05-23 Sam Steingold <sds@gnu.org>
13250
13251 * simple.el (shell-command-on-region): Pass the `replace' argument
13252 down to `call-process-region' to comply with the doc as reported on
13253 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13254
13255 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13256
13257 * emacs-lisp/smie.el (smie-indent-forward-token)
13258 (smie-indent-backward-token): Handle string tokens (bug#14381).
13259
13260 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13261
13262 * ielm.el (ielm-menu): New menu.
13263 (inferior-emacs-lisp-mode): Set comment-start.
13264
13265 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13266
13267 * textmodes/reftex.el (reftex-ref-style-toggle):
13268 Fix deactivate action.
13269
13270 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13271 Add cleveref macros.
13272
13273 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
13274 Accept options for bibliography commands.
13275 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13276 Add addbibresource. Basic Biblatex support.
13277
13278 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13279
13280 * net/tramp-gvfs.el (top):
13281 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13282 when loading package. (Bug#14447)
13283
13284 2013-05-23 Glenn Morris <rgm@gnu.org>
13285
13286 * progmodes/js.el: No need to load comint when compiling.
13287 (ring-insert, comint-send-string, comint-send-input)
13288 (comint-last-input-end, ido-chop): Declare.
13289
13290 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13291 * vc/ediff-mult.el: Adjust requires.
13292 (ediff-directories-internal, ediff-directory-revisions-internal)
13293 (ediff-patch-file-internal): Declare.
13294 * vc/ediff-ptch.el: Adjust requires.
13295 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13296 (ediff-find-file): Autoload.
13297 * vc/ediff-util.el: No need to load ediff when compiling.
13298 (ediff-regions-internal): Declare.
13299 * vc/ediff-wind.el: Adjust requires.
13300 (ediff-compute-toolbar-width): Define when compiling.
13301 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13302 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13303 (dired-get-filename, dired-get-marked-files)
13304 (ediff-last-dir-patch, ediff-patch-default-directory)
13305 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13306 (ediff-patch-buffer-internal): Declare.
13307
13308 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13309 (ispell-process, ispell-buffer-local-words, lm-summary)
13310 (lm-section-start, lm-section-end): Declare.
13311 (checkdoc-ispell-init): Simplify.
13312
13313 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13314 (he-string-member, he-reset-string, he-substitute-string): Declare.
13315
13316 * eshell/em-ls.el: Adjust requires.
13317 (eshell-glob-regexp): Declare.
13318 * eshell/em-tramp.el: Adjust requires.
13319 (eshell-parse-command): Autoload.
13320 * eshell/em-xtra.el: Adjust requires.
13321 (eshell-parse-command): Autoload.
13322 * eshell/esh-ext.el: Adjust requires.
13323 (eshell-parse-command, eshell-close-handles): Autoload.
13324 * eshell/esh-io.el: Adjust requires.
13325 (eshell-output-filter): Autoload.
13326 * eshell/esh-util.el: No need to load tramp when compiling.
13327 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13328 Declare.
13329 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13330 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13331 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13332 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13333 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13334 * eshell/esh-opt.el, eshell/esh-proc.el:
13335 * eshell/esh-var.el: Adjust requires.
13336 * eshell/eshell.el: Do not require esh-util twice.
13337 (eshell-add-input-to-history): Declare.
13338 (eshell-command): Check history module is active before using it.
13339
13340 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13341
13342 2013-05-22 Leo Liu <sdl.web@gmail.com>
13343
13344 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13345
13346 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13347
13348 * autorevert.el (auto-revert-notify-add-watch)
13349 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13350 it indicates changes in file modification time.
13351
13352 2013-05-22 Glenn Morris <rgm@gnu.org>
13353
13354 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13355 Always delete the autoloaded function from the noruntime and
13356 unresolved functions lists.
13357
13358 * allout.el: No need to load epa, epg, overlay when compiling.
13359 (epg-context-set-passphrase-callback, epg-list-keys)
13360 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13361 (epg-key-user-id-list): Declare.
13362
13363 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13364 (viper-set-parsing-style-toggling-macro)
13365 (viper-set-emacs-state-searchstyle-macros):
13366 Use called-interactively-p on Emacs.
13367 (viper-looking-back): Make it an obsolete alias. Update callers.
13368 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13369 Use looking-back rather than viper-looking-back.
13370 (viper-tmp-insert-at-eob, viper-enlarge-region)
13371 (viper-read-string-with-history, viper-register-to-point)
13372 (viper-append-to-register, viper-change-state-to-vi)
13373 (viper-backward-char-carefully, viper-forward-char-carefully)
13374 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13375 (viper-change-state-to-emacs): Declare.
13376 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13377 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13378 * emulation/viper-mous.el: Do not load viper-cmd.
13379 (viper-backward-char-carefully, viper-forward-char-carefully)
13380 (viper-forward-word, viper-adjust-window): Declare.
13381
13382 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13383
13384 * progmodes/idlw-help.el (idlwave-help-fontify):
13385 Use called-interactively-p.
13386
13387 * term/w32console.el (w32-get-console-codepage)
13388 (w32-get-console-output-codepage): Declare.
13389
13390 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13391 Remove unnecessary declarations.
13392 (dframe-message): Doc fix.
13393
13394 * info.el (dframe-select-attached-frame, dframe-current-frame):
13395 Declare.
13396
13397 * speedbar.el (speedbar-message): Make it an obsolete alias.
13398 Update all callers.
13399 (speedbar-with-attached-buffer)
13400 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13401 (speedbar-with-writable): Use backquote.
13402 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13403 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13404 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13405 rather than speedbar- aliases.
13406 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13407 (speedbar-make-specialized-keymap, speedbar-insert-button)
13408 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13409 (speedbar-do-function-pointer): Declare.
13410 (rmail-speedbar-button, rmail-speedbar-find-file)
13411 (rmail-speedbar-move-message):
13412 Use dframe-with-attached-buffer rather than speedbar- alias.
13413 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13414 (dframe-message, speedbar-make-specialized-keymap)
13415 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13416 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13417 (speedbar-insert-button, dframe-select-attached-frame)
13418 (dframe-maybee-jump-to-attached-frame)
13419 (speedbar-change-initial-expansion-list)
13420 (speedbar-previously-used-expansion-list-name): Declare.
13421 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13422 Use dframe-message, dframe-with-attached-buffer rather than
13423 speedbar- aliases.
13424 (gud-sentinel): Silence compiler.
13425 * progmodes/vhdl-mode.el (speedbar-refresh)
13426 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13427 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13428 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13429 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13430 (speedbar-file-lists, speedbar-make-tag-line)
13431 (speedbar-line-directory, speedbar-goto-this-file)
13432 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13433 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13434 (speedbar-make-button, speedbar-reset-scanners)
13435 (speedbar-files-item-info, speedbar-line-text)
13436 (speedbar-find-file-in-frame, speedbar-set-timer)
13437 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13438 (speedbar-with-writable): Do not (re)define it.
13439 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13440 rather than speedbar- alias.
13441
13442 2013-05-21 Leo Liu <sdl.web@gmail.com>
13443
13444 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13445 menu items.
13446 (octave-mode): Tweak fill-nobreak-predicate.
13447 (inferior-octave-startup): Check process to avoid infinite loop.
13448 (inferior-octave): Pop to buffer first to show abornmal process
13449 exit information.
13450
13451 2013-05-21 Glenn Morris <rgm@gnu.org>
13452
13453 * printing.el (pr-menu-bar): Define when compiling.
13454
13455 2013-05-21 Leo Liu <sdl.web@gmail.com>
13456
13457 * progmodes/octave.el (octave-auto-fill): Remove.
13458 (octave-indent-new-comment-line): Improve.
13459 (octave-mode): Use auto fill mode through
13460 comment-line-break-function and fill-nobreak-predicate.
13461 (octave-goto-function-definition): Support DEFUN_DLD.
13462 (octave-beginning-of-defun): Small tweak.
13463 (octave-help): Show parent directory.
13464
13465 2013-05-21 Glenn Morris <rgm@gnu.org>
13466
13467 * files.el (dired-unmark):
13468 * progmodes/gud.el (gdb-input): Update declarations.
13469
13470 * calculator.el (electric, ehelp): No need to load when compiling.
13471 (Electric-command-loop, electric-describe-mode): Declare.
13472
13473 * doc-view.el (doc-view-current-converter-processes): Move before use.
13474
13475 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13476 Move MODE-set-explicitly definition before use.
13477
13478 * international/mule-diag.el (mule-diag):
13479 Don't use obsolete window-system-version.
13480
13481 * mail/feedmail.el (smtpmail): No need to load when compiling.
13482 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13483
13484 * mail/mail-utils.el (rfc822): No need to load when compiling.
13485 (rfc822-addresses): Autoload it.
13486 (mail-strip-quoted-names): Trivial simplification.
13487
13488 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13489 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13490
13491 * net/snmp-mode.el (tempo): Don't duplicate requires.
13492
13493 * progmodes/prolog.el (info): No need to load when compiling.
13494 (comint): Require before shell requires it.
13495 (Info-goto-node): Autoload it.
13496 (Info-follow-nearest-node): Declare.
13497 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13498
13499 * textmodes/artist.el (picture-mode-exit): Declare.
13500
13501 * textmodes/reftex-parse.el (reftex-parse-from-file):
13502 Trivial rewrite so the compiler can parse it better.
13503
13504 2013-05-20 Leo Liu <sdl.web@gmail.com>
13505
13506 * progmodes/octave.el (octave-help-mode-map)
13507 (octave-help-mode-finish-hook): New variables.
13508 (octave-help-mode, octave-help-mode-finish): New functions.
13509 (octave-help): Use octave-help-mode.
13510
13511 2013-05-20 Glenn Morris <rgm@gnu.org>
13512
13513 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13514
13515 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13516
13517 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13518 start at point, so that expansion starting right after opening
13519 slash in a regexp is recognized.
13520 (ruby-syntax-before-regexp-re): New defvar, extracted from
13521 ruby-syntax-propertize-function. Since the value of this regexp
13522 is looked up at runtime now, we should be able to turn
13523 `ruby-syntax-methods-before-regexp' into a defcustom later.
13524 (ruby-syntax-propertize-function): Split regexp matching into two
13525 parts, for opening and closing slashes. That allows us to skip
13526 over string interpolations and support multiline regexps.
13527 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13528 for them, which calls `ruby-syntax-propertize-expansion'.
13529 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13530 call to `ruby-syntax-propertize-function'.
13531 (ruby-syntax-propertize-expansion): Extracted from
13532 `ruby-syntax-propertize-expansions'. Handles one expansion.
13533 (ruby-syntax-propertize-percent-literal): Leave point right after
13534 the percent symbol, so that the expression expansion rule can
13535 propertize the contents.
13536 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13537 heredoc openers.
13538 (ruby-syntax-propertize-expansions): Remove.
13539
13540 2013-05-18 Juri Linkov <juri@jurta.org>
13541
13542 * man.el (Man-default-man-entry): Remove `-' from the end
13543 of the default value. (Bug#14400)
13544
13545 2013-05-18 Glenn Morris <rgm@gnu.org>
13546
13547 * comint.el (comint-password-prompt-regexp):
13548 Allow "password for XXX" where XXX contains colons (eg https://...).
13549
13550 2013-05-18 Leo Liu <sdl.web@gmail.com>
13551
13552 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13553 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13554 (octave-source-directories): Don't check process.
13555 (octave-source-directories, octave-find-definition): Doc fix.
13556
13557 2013-05-18 Glenn Morris <rgm@gnu.org>
13558
13559 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13560 Remove backspace/delete bindings. (Bug#14392)
13561
13562 * cus-dep.el (custom-make-dependencies): Sort the output.
13563 (custom-versions-load-alist): Convert comment to doc.
13564
13565 2013-05-17 Leo Liu <sdl.web@gmail.com>
13566
13567 * newcomment.el (comment-search-backward): Stricter in finding
13568 comment start. (Bug#14303)
13569
13570 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13571 (octave-comment-start-skip): Properly anchored.
13572
13573 2013-05-17 Leo Liu <sdl.web@gmail.com>
13574
13575 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13576 Clean up when turned off. (Bug#14395)
13577 (smie--highlight-matching-block-overlay): No longer buffer-local.
13578 (smie-highlight-matching-block): Adjust.
13579
13580 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13581
13582 Doc string fix for "nanoseconds" (Bug#14406).
13583 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13584 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13585
13586 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13587
13588 * calc/calc-units.el (math-extract-units): Preserve powers
13589 of units.
13590
13591 2013-05-17 Leo Liu <sdl.web@gmail.com>
13592
13593 * subr.el (delete-consecutive-dups): New function.
13594 * ido.el (ido-set-matches-1): Use it.
13595 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13596 * ido.el (ido-remove-consecutive-dups): Remove.
13597
13598 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13601 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13602 regexp-opt's `words'.
13603
13604 2013-05-16 Leo Liu <sdl.web@gmail.com>
13605
13606 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13607 (smie--highlight-matching-block-overlay)
13608 (smie--highlight-matching-block-lastpos)
13609 (smie--highlight-matching-block-timer): New variables.
13610 (smie-highlight-matching-block): New function.
13611 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13612 (smie-setup): Conditionally enable smie-blink-matching-open.
13613
13614 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13615
13616 Sync with upstream verilog-mode r840.
13617 * progmodes/verilog-mode.el (verilog-mode-version)
13618 (verilog-mode-release-date): Update.
13619 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13620 (verilog-sig-tieoff): Fix string error on
13621 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13622 (verilog-read-decls): Fix parameters confusing
13623 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13624
13625 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13626
13627 * subr.el (reveal-filename): New function.
13628
13629 * loadup.el: Compute Emacs executable versions on MS-Windows,
13630 where executables have the .exe extension. Add a hard link
13631 emacs-XX.YY.ZZ.exe on MS-Windows.
13632
13633 * Makefile.in (XARGS_LIMIT): New variable.
13634 (custom-deps, finder-data, autoloads)
13635 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13636 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13637 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13638 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13639
13640 2013-05-16 Leo Liu <sdl.web@gmail.com>
13641
13642 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13643 (octave-mode-menu, octave-mode-map): Remove its uses.
13644
13645 2013-05-16 Reto Zimmermann <reto@gnu.org>
13646
13647 Sync with upstream vhdl mode v3.34.2.
13648 * progmodes/vhdl-mode.el: Use `push' throughout.
13649 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13650 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13651 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13652 (vhdl-actual-generic-name): New option to derive actual generic name.
13653 (vhdl-port-paste-signals): Replace formal by actual generics.
13654 (vhdl-beautify): New name for old group vhdl-align. Update users.
13655 (vhdl-beautify-options): New option.
13656 (vhdl-last-input-event): New compat alias. Use throughout.
13657 (vhdl-goto-line): Replace user level function `goto-line'.
13658 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13659 vhdl-fix-statement-buffer.
13660 (vhdl-create-mode-menu): Add some entries.
13661 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13662 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13663 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13664 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13665 to force statements on one line.
13666 (vhdl-remove-trailing-spaces-region):
13667 New, split from vhdl-remove-trailing-spaces.
13668 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13669 Respect vhdl-beautify-options.
13670 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13671 (vhdl-update-sensitivity-list): Not add with index if exists without.
13672 Not include array index with signal. Ignore keywords in comments.
13673 (vhdl-get-visible-signals): Regexp tweaks.
13674 (vhdl-template-component-inst): Handle empty library.
13675 (vhdl-template-type): Add template for 'enum' type.
13676 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13677 Use vhdl-replace-string.
13678 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13679 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13680 (vhdl-speedbar-initialize): Update for above name change.
13681 (vhdl-compose-wire-components): Fix in handling of constants.
13682 (vhdl-error-regexp-emacs-alist): New variable.
13683 (vhdl-error-regexp-add-emacs): New function;
13684 adds support for new compile.el (Emacs 22+)
13685 (vhdl-generate-makefile-1): Change target order for single lib. units.
13686 Allow use of absolute file names.
13687
13688 2013-05-16 Leo Liu <sdl.web@gmail.com>
13689
13690 * simple.el (prog-indent-sexp): Indent enclosing defun.
13691
13692 2013-05-15 Glenn Morris <rgm@gnu.org>
13693
13694 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13695 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13696 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13697 (whitespace-highlight): Move to whitespace group.
13698
13699 * comint.el (comint-source):
13700 * pcmpl-linux.el (pcmpl-linux):
13701 * shell.el (shell-faces):
13702 * eshell/esh-opt.el (eshell-opt):
13703 * international/ccl.el (ccl): Remove empty custom groups.
13704
13705 * completion.el (dynamic-completion-mode):
13706 * jit-lock.el (jit-lock-debug-mode):
13707 * minibuffer.el (completion-in-region-mode):
13708 * type-break.el (type-break-mode-line-message-mode)
13709 (type-break-query-mode):
13710 * emulation/tpu-edt.el (tpu-edt-mode):
13711 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13712 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13713 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13714
13715 * term/xterm.el (xterm): Change parent group to terminals.
13716
13717 * master.el (master): Remove empty custom group.
13718 (master-mode): Remove unused :group argument.
13719 * textmodes/refill.el (refill): Remove empty custom group.
13720 (refill-mode): Remove unused :group argument.
13721
13722 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13723
13724 * cus-dep.el: Provide a feature.
13725 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13726 Don't mistakenly ignore files whose basenames match a basename
13727 from preloaded-file-list (eg cedet/ede/simple.el).
13728 Add a fallback method for getting :group.
13729
13730 2013-05-15 Juri Linkov <juri@jurta.org>
13731
13732 * isearch.el (isearch-char-by-name): Rename from
13733 `isearch-insert-char-by-name'. Doc fix.
13734 (isearch-forward): Mention `isearch-char-by-name' in
13735 the docstring. (Bug#13348)
13736
13737 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13738 `exit-minibuffer' instead of
13739 `isearch-nonincremental-exit-minibuffer'.
13740 (isearch-edit-string): Remove mention of
13741 `isearch-nonincremental-exit-minibuffer' from docstring.
13742 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13743 (isearch-forward-exit-minibuffer)
13744 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13745
13746 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13747
13748 * loadup.el: Just use unversioned DOC.
13749
13750 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13751 literals as extending to EOB.
13752 (nxml-last-fontify-end): Remove unused variable.
13753 (nxml-after-change1): Use with-silent-modifications.
13754 (nxml-extend-after-change-region): Simplify.
13755 (nxml-extend-after-change-region1): Remove function.
13756 (nxml-after-change1): Don't adjust for dependent regions.
13757 (nxml-fontify-matcher): Simplify.
13758 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13759 (xmltok-add-dependent): Remove function.
13760 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13761 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13762 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13763 unclosed <[[, <?, comment, and other literals as extending to EOB.
13764 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13765 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13766 Remove functions.
13767 (rng-do-some-validation-1): Don't mark dependent regions.
13768 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13769 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13770 (nxml-clear-dependent-regions): Remove functions.
13771 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13772 (nxml-ensure-scan-up-to-date):
13773 Don't clear&mark dependent regions.
13774
13775 2013-05-15 Leo Liu <sdl.web@gmail.com>
13776
13777 * progmodes/octave.el (octave-goto-function-definition):
13778 Improve and fix callers.
13779
13780 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13783 the setter (bug#14387).
13784
13785 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13786 surrounding group (bug#14402).
13787
13788 2013-05-14 Juri Linkov <juri@jurta.org>
13789
13790 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13791 (Bug#14390)
13792
13793 2013-05-14 Glenn Morris <rgm@gnu.org>
13794
13795 * progmodes/f90.el (f90-imenu-generic-expression):
13796 Fix typo in 2013-05-08 change. (Bug#14402)
13797
13798 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13799
13800 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13801 Remove signals for which replies are never received.
13802
13803 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13804
13805 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13806 (gdb-handler-alist, gdb-handler-number): Remove variables.
13807 (gdb-handler-list): New variable.
13808 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13809 (gdb-pending-handler-p, gdb-handle-reply)
13810 (gdb-remove-all-pending-triggers): New functions.
13811 (gdb-discard-unordered-replies): New defcustom.
13812 (gdb-handler): New defstruct.
13813 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13814 instead of gdb-pending-triggers. Update docstring.
13815 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13816 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13817 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13818 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13819 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13820 (gdb-frame-handler): Pending triggers are now automatically managed.
13821 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13822 Remove argument.
13823 (gdb-input): Automatically handles pending triggers. Update docstring.
13824 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13825 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13826 Update comments.
13827 (gdb-done-or-error): Now use gdb-handle-reply.
13828
13829 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13830
13831 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13832 gdb-debug-log.
13833
13834 2013-05-14 Glenn Morris <rgm@gnu.org>
13835
13836 * subr.el (user-emacs-directory-warning): New option.
13837 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13838
13839 2013-05-14 Leo Liu <sdl.web@gmail.com>
13840
13841 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13842 during redisplay.
13843 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13844 (octave-font-lock-texinfo-comment): Fix invalid search bound
13845 error: wrong side of point.
13846
13847 2013-05-14 Glenn Morris <rgm@gnu.org>
13848
13849 * progmodes/flymake.el (flymake-xml-program): New option.
13850 (flymake-xml-init): Use it.
13851
13852 * term/xterm.el: Provide a feature.
13853
13854 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13855
13856 2013-05-13 Glenn Morris <rgm@gnu.org>
13857
13858 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13859 Add compat aliases as a hack workaround. (Bug#14384)
13860
13861 2013-05-13 Leo Liu <sdl.web@gmail.com>
13862
13863 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13864 ###, and %!.
13865 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13866 C-M-q.
13867 (octave-comment-start-skip): Include %!.
13868 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13869
13870 2013-05-12 Leo Liu <sdl.web@gmail.com>
13871
13872 * progmodes/octave.el (inferior-octave-startup): Store the value
13873 of __octave_srcdir__ for octave-source-directories.
13874 (inferior-octave-check-process): New function refactored out of
13875 inferior-octave-send-list-and-digest.
13876 (octave-source-directories)
13877 (octave-find-definition-filename-function): New variables.
13878 (octave-source-directories)
13879 (octave-find-definition-default-filename): New functions.
13880 (octave-find-definition): Improve to find functions implemented in C++.
13881
13882 2013-05-12 Glenn Morris <rgm@gnu.org>
13883
13884 * calendar/diary-lib.el (diary-outlook-format-1):
13885 Don't include dayname in the output. (Bug#14349)
13886
13887 2013-05-11 Glenn Morris <rgm@gnu.org>
13888
13889 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13890
13891 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13892 Treat cc-provide like provide.
13893
13894 2013-05-11 Kevin Ryde <user42@zip.com.au>
13895
13896 * cus-dep.el (custom-make-dependencies):
13897 Use generated-autoload-load-name for the sake of files such
13898 such cedet/semantic/bovine/c.el, where the base file name
13899 is not in load-path. (Bug#5277)
13900
13901 2013-05-11 Glenn Morris <rgm@gnu.org>
13902
13903 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13904 Provide features.
13905
13906 2013-05-11 Leo Liu <sdl.web@gmail.com>
13907
13908 * progmodes/octave.el (octave-indent-comment): Improve.
13909 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13910 (octave-eldoc-function-signatures, octave-eldoc-function):
13911 New functions.
13912 (octave-mode, inferior-octave-mode): Add eldoc support.
13913
13914 2013-05-11 Richard Stallman <rms@gnu.org>
13915
13916 * epa.el (epa-decrypt-file): Take output file name as argument
13917 and read it using `interactive'.
13918
13919 2013-05-11 Leo Liu <sdl.web@gmail.com>
13920
13921 * progmodes/octave.el (octave-beginning-of-line)
13922 (octave-end-of-line): Check before using up-list because it jumps
13923 out of more syntactic contructs since moving to smie.
13924 (octave-indent-comment): New function.
13925 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13926 (octave-begin-keywords, octave-end-keywords)
13927 (octave-reserved-words, octave-smie-bnf-table)
13928 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13929
13930 2013-05-11 Glenn Morris <rgm@gnu.org>
13931
13932 * faces.el (internal-face-x-get-resource):
13933 * frame.el (ns-display-monitor-attributes-list):
13934 * calc/calc-aent.el (math-to-radians-2):
13935 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13936 Fix declarations.
13937
13938 * calc/calc-menu.el: Make it loadable in isolation.
13939
13940 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13941 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13942 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13943 (eudc-bbdb-query-internal): Require 'bbdb.
13944
13945 * lpr.el (lpr-headers-switches):
13946 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13947
13948 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13949
13950 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13951
13952 * term.el (term-set-escape-char): Make it idempotent.
13953
13954 2013-05-10 Leo Liu <sdl.web@gmail.com>
13955
13956 * progmodes/octave.el (inferior-octave-completion-table):
13957 No longer a function and all uses changed. Use cache to speed up
13958 completion due to bug#11906.
13959 (octave-beginning-of-defun): Re-write to be more general.
13960
13961 2013-05-10 Glenn Morris <rgm@gnu.org>
13962
13963 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13964
13965 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13966
13967 * comint.el (comint-redirect-send-command-to-process): Use :around
13968 rather than :override for comint-redirect-filter.
13969 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13970 Call it instead of comint-redirect-original-filter-function (which
13971 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13972
13973 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13974
13975 * frame.el (display-monitor-attributes-list): Add NS case.
13976 (ns-display-monitor-attributes-list): Declare.
13977
13978 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13979
13980 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13981
13982 2013-05-09 Glenn Morris <rgm@gnu.org>
13983
13984 * international/fontset.el (vertical-centering-font-regexp):
13985 Set standard-value.
13986
13987 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13988
13989 * bookmark.el (bookmark-search-delay):
13990 * cus-start.el (vertical-centering-font-regexp):
13991 * ps-mule.el (ps-mule-font-info-database-default):
13992 * ps-print.el (ps-default-fg, ps-default-bg):
13993 * type-break.el (type-break-good-break-interval):
13994 * whitespace.el (whitespace-indentation-regexp)
13995 (whitespace-space-after-tab-regexp):
13996 * emacs-lisp/testcover.el (testcover-1value-functions)
13997 (testcover-noreturn-functions, testcover-progn-functions)
13998 (testcover-prog1-functions):
13999 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14000 * eshell/em-glob.el (eshell-glob-translate-alist):
14001 * play/tetris.el (tetris-tty-colors):
14002 * progmodes/cpp.el (cpp-face-default-list):
14003 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14004 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14005 (idlwave-help-browser-generic-args):
14006 * progmodes/make-mode.el (makefile-special-targets-list):
14007 * progmodes/python.el (python-shell-virtualenv-path):
14008 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14009 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14010 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14011 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14012 * textmodes/reftex-vars.el (reftex-format-label-function):
14013 * textmodes/remember.el (remember-diary-file): Fix custom types.
14014
14015 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14016 Add :version.
14017
14018 2013-05-09 Leo Liu <sdl.web@gmail.com>
14019
14020 * progmodes/octave.el (inferior-octave-completion-at-point):
14021 Restore file completion. (Bug#14300)
14022 (inferior-octave-startup): Fix incorrect highlighting for the
14023 first prompt.
14024
14025 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14026
14027 * progmodes/ruby-mode.el: First cut at SMIE support.
14028 (ruby-use-smie): New var.
14029 (ruby-smie-grammar): New constant.
14030 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14031 (ruby-smie--forward-token, ruby-smie--backward-token)
14032 (ruby-smie-rules): New functions.
14033 (ruby-mode-variables): Setup SMIE if applicable.
14034
14035 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14036
14037 * simple.el (line-move-visual): Signal beginning/end of buffer
14038 only if vertical-motion moved less than it was requested. Avoids
14039 silly incorrect error messages when there are display strings with
14040 multiple newlines at EOL.
14041
14042 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14043
14044 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14045 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14046 (prolog-char-quote-workaround):
14047 * progmodes/cperl-mode.el (cperl-under-as-char):
14048 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14049 Mark as obsolete.
14050 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14051 their declaration.
14052 (vhdl-mode-syntax-table-init): Remove.
14053
14054 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14055 last change.
14056
14057 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14058 syntax for "_".
14059 (ld-script-font-lock-keywords):
14060 Change regexps to use things like \_< and \_>.
14061
14062 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14063 Change all regexps to use things like \_< and \_>.
14064
14065 * progmodes/autoconf.el (autoconf-definition-regexp)
14066 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14067 Handle a _ with symbol syntax.
14068 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14069
14070 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14071 Consolidate declaration.
14072 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14073 the declaration.
14074 (ada-create-syntax-table): Remove.
14075 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14076 already has the right syntax nowadays.
14077 (ada-goto-next-word): Don't change the syntax of "_".
14078
14079 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14080 with-wrapper-hook.
14081
14082 2013-05-08 Sam Steingold <sds@gnu.org>
14083
14084 * thingatpt.el (thing-at-point): Accept optional second argument
14085 NO-PROPERTIES to strip the text properties from the return value.
14086 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14087 to `thing-at-point' instead of stripping the properties ourselves.
14088 Also, when `thing-at-point' fails to find a url, prepend "http://"
14089 to the filename at point on the assumption that the user is
14090 pointing at something like gnu.org/gnu.
14091
14092 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14093
14094 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14095 * faces.el (crm-separator):
14096 Silence byte-compiler.
14097
14098 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14099 (tool-bar-map): Remove unneeded defvars.
14100
14101 2013-05-08 Leo Liu <sdl.web@gmail.com>
14102
14103 Re-work a fix for bug#10994 based on Le Wang's patch.
14104 * ido.el (ido-remove-consecutive-dups): New helper.
14105 (ido-completing-read): Use it.
14106 (ido-chop): Revert fix for bug#10994.
14107
14108 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14109
14110 * cus-edit.el (custom-save-variables):
14111 Pretty-print long values. (Bug#14187)
14112
14113 2013-05-08 Glenn Morris <rgm@gnu.org>
14114
14115 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14116 (m4-mode-syntax-table): Init in the defvar.
14117 (m4-mode-abbrev-table): Let define-derived-mode define it.
14118
14119 2013-05-08 Tom Tromey <tromey@redhat.com>
14120
14121 * progmodes/m4-mode.el (m4-mode-syntax-table):
14122 Do not treat "_" as word constituent. (Bug#14167)
14123
14124 2013-05-07 Glenn Morris <rgm@gnu.org>
14125
14126 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14127 Remove explicit eshell-isearch-cancel-map.
14128
14129 * progmodes/f90.el (f90-smart-end-names): New option.
14130 (f90-smart-end): Doc fix.
14131 (f90-end-block-optional-name): New constant.
14132 (f90-block-match): Respect f90-smart-end-names.
14133
14134 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14135
14136 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14137 about implicit semi-colons (bug#14218).
14138
14139 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14140
14141 * frame.el (display-monitor-attributes-list)
14142 (frame-monitor-attributes): New functions.
14143
14144 2013-05-06 Leo Liu <sdl.web@gmail.com>
14145
14146 * progmodes/octave.el (octave-syntax-propertize-function): Change
14147 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14148 (octave-font-lock-keywords): Use octave-operator-regexp.
14149 (octave-completion-at-point): Rename from
14150 octave-completion-at-point-function.
14151 (inferior-octave-directory-tracker): Robustify.
14152 (octave-text-functions): Remove and fix its uses. No such things
14153 any more.
14154
14155 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * emacs-lisp/trace.el (trace--display-buffer): New function.
14158 (trace-make-advice): Use it.
14159
14160 2013-05-06 Juri Linkov <juri@jurta.org>
14161
14162 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14163 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14164 Doc fix.
14165 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14166 in the help string. (Bug#12985)
14167
14168 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14169
14170 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14171
14172 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14173
14174 * progmodes/perl-mode.el: Add support for here documents.
14175 (perl-syntax-propertize-function): Match here-doc markers.
14176 (perl-syntax-propertize-special-constructs): Find their end.
14177 (perl-imenu-generic-expression): Use [:alnum:].
14178
14179 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14180 (advice--add-function): Refresh the advice if already present
14181 (bug#14317).
14182
14183 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14184
14185 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14186
14187 2013-05-06 Glenn Morris <rgm@gnu.org>
14188
14189 * w32-fns.el (w32-charset-info-alist): Declare.
14190
14191 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14192 of its defcustom properties.
14193 (eshell-cmpl-initialize): No need to load pcomplete.
14194
14195 * generic-x.el: No need to require comint when compiling.
14196
14197 * net/eudc-export.el: Make it loadable without bbdb.
14198 (top-level): Use require rather than load-library.
14199 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14200 (eudc-batch-export-records-to-bbdb)
14201 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14202 Require bbdb.
14203
14204 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14205
14206 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14207 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14208 some tweaks, instead.
14209
14210 2013-05-05 Leo Liu <sdl.web@gmail.com>
14211
14212 * progmodes/octave.el (octave-font-lock-keywords)
14213 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14214 (inferior-octave-send-list-and-digest): Improve error message.
14215 (octave-mode, inferior-octave-mode): Use setq-local.
14216 (octave-help): Set info-lookup-mode.
14217
14218 2013-05-05 Richard Stallman <rms@gnu.org>
14219
14220 * vc/compare-w.el (compare-windows-whitespace):
14221 Treat no-break space as whitespace.
14222
14223 * mail/rmailsum.el (rmail-summary-rmail-update):
14224 Detect empty summary and don't change selected message.
14225 (rmail-summary-goto-msg): Likewise.
14226
14227 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14228 Doc fixes, rename args.
14229
14230 2013-05-05 Alan Mackenzie <acm@muc.de>
14231
14232 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14233
14234 2013-05-05 Juri Linkov <juri@jurta.org>
14235
14236 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14237 to not add the length of the summary segment to the return value.
14238 (Bug#14125)
14239
14240 2013-05-05 Leo Liu <sdl.web@gmail.com>
14241
14242 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14243 (inferior-octave-output-filter): Remove.
14244 (octave-send-region, inferior-octave-startup): Fix callers.
14245 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14246 (octave-binary-file-extensions): New user variable.
14247 (octave-find-definition): Confirm if opening binary files.
14248 (octave-help-file): Use octave-find-definition to get the binary
14249 confirmation.
14250 (octave-help): Adjust for octave-help-file change.
14251
14252 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14253
14254 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14255 Merge the two entries that handle function definitions.
14256 (pascal--syntax-propertize): New const.
14257 (pascal-mode): Use it. Use setq-local.
14258
14259 2013-05-04 Glenn Morris <rgm@gnu.org>
14260
14261 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14262 (diary-from-outlook): Respect diary-from-outlook-function.
14263
14264 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14265
14266 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14267 Move the declaration from C.
14268 (read-minibuffer, eval-minibuffer): Move from C.
14269 (completion-setup-function): Avoid minibuffer-completion-contents.
14270
14271 2013-05-03 Leo Liu <sdl.web@gmail.com>
14272
14273 * progmodes/octave.el (octave-font-lock-keywords): Do not
14274 dehighlight 'end' in comments or strings.
14275 (octave-completing-read, octave-goto-function-definition):
14276 New helpers.
14277 (octave-help-buffer): New user variable.
14278 (octave-help-file, octave-help-function): New button types.
14279 (octave-help): New command and bind it to C-h ;.
14280 (octave-find-definition): New command and bind it to M-.
14281 (user-error): Alias to error if not defined.
14282
14283 2013-05-02 Leo Liu <sdl.web@gmail.com>
14284
14285 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14286 for \. (bug#14332)
14287 (octave-font-lock-keywords): Include [ and {.
14288
14289 2013-05-02 Leo Liu <sdl.web@gmail.com>
14290
14291 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14292 (inferior-octave): Remove calling comint-mode and return the buffer.
14293 (inferior-octave-startup): Cosmetic changes.
14294
14295 2013-05-02 Leo Liu <sdl.web@gmail.com>
14296
14297 * progmodes/octave.el (octave-syntax-propertize-function):
14298 Include the case when ' is at line beginning. (Bug#14336)
14299
14300 2013-05-02 Glenn Morris <rgm@gnu.org>
14301
14302 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14303 * desktop.el (vc-dir-mode): Just autoload it here.
14304
14305 2013-05-02 Alan Mackenzie <acm@muc.de>
14306
14307 Eliminate variable c-standard-font-lock-fontify-region-function.
14308 * progmodes/cc-mode.el
14309 (c-standard-font-lock-fontify-region-function): Remove.
14310 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14311
14312 2013-05-01 Leo Liu <sdl.web@gmail.com>
14313
14314 * progmodes/octave.el: Compatible with older emacs-24 releases.
14315 (inferior-octave-has-built-in-variables): Remove. Built-in
14316 variables were removed from Octave in 2007.
14317 (inferior-octave-startup): Fix uses.
14318 (comint-line-beginning-position): Remove compatibility code for
14319 emacs 21.
14320
14321 2013-05-01 Juri Linkov <juri@jurta.org>
14322
14323 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14324
14325 2013-05-01 Juri Linkov <juri@jurta.org>
14326
14327 * comint.el (comint-previous-matching-input): Don't print message
14328 "History item: %d" when `isearch-mode' is active.
14329 (comint-history-isearch-message): Print message "History item: %d"
14330 when `comint-input-ring-index' is not empty and this function is
14331 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14332
14333 2013-05-01 Leo Liu <sdl.web@gmail.com>
14334
14335 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14336 definitions. Use completion-at-point to insert keywords.
14337 (octave-abbrev-start): Remove.
14338 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14339
14340 2013-04-30 Leo Liu <sdl.web@gmail.com>
14341
14342 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14343 change.
14344
14345 2013-04-30 Alan Mackenzie <acm@muc.de>
14346
14347 Handle arbitrarily long C++ member initialisation lists.
14348 * progmodes/cc-engine.el (c-back-over-member-initializers):
14349 new function.
14350 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14351 (most) member init lists.
14352
14353 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14354
14355 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14356 variable.
14357
14358 2013-04-30 Leo Liu <sdl.web@gmail.com>
14359
14360 * progmodes/octave.el (octave-variables): Remove. No builtin
14361 variables any more. All converted to functions.
14362 (octave-font-lock-keywords, octave-completion-at-point-function):
14363 Fix uses.
14364 (octave-font-lock-texinfo-comment): New user variable.
14365 (octave-texinfo-font-lock-keywords): New variable for texinfo
14366 comment block.
14367 (octave-function-comment-block): New face.
14368 (octave-font-lock-texinfo-comment): New function.
14369 (octave-mode): Font lock texinfo comment block.
14370
14371 2013-04-29 Leo Liu <sdl.web@gmail.com>
14372
14373 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14374 indexing expression.
14375 (octave-continuation-string): Do not use \.
14376 (inferior-octave-complete-impossible): Remove.
14377 (inferior-octave-completion-table)
14378 (inferior-octave-completion-at-point): Remove its uses.
14379 (inferior-octave-startup): completion_matches was introduced to
14380 Octave in 1996 so safe to assume it.
14381 (octave-function-file-comment): Improve to follow how Octave does it.
14382 (octave-update-function-file-comment): Tweak.
14383
14384 2013-04-29 Leo Liu <sdl.web@gmail.com>
14385
14386 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14387 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14388 (octave-function-file-comment): Fix typo.
14389 (octave-sync-function-file-names): Use read-char-choice.
14390
14391 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14392
14393 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14394 to t for the less important warnings.
14395
14396 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14397
14398 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14399
14400 2013-04-27 Glenn Morris <rgm@gnu.org>
14401
14402 * vc/log-view.el (log-view-current-entry):
14403 Treat "---" separator lines as part of the following rev. (Bug#14169)
14404
14405 2013-04-27 Juri Linkov <juri@jurta.org>
14406
14407 * subr.el (read-number): Doc fix about using it by interactive
14408 code letter `n'. (Bug#14254)
14409
14410 2013-04-27 Juri Linkov <juri@jurta.org>
14411
14412 * desktop.el (desktop-auto-save-timeout): New option.
14413 (desktop-file-checksum): New variable.
14414 (desktop-save): Add optional arg `auto-save' and don't auto-save
14415 if nothing changed.
14416 (desktop-auto-save-timer): New variable.
14417 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14418 (after-init-hook): Call `desktop-auto-save-set-timer'.
14419 Suggested by Reuben Thomas <rrt@sc3d.org> in
14420 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14421
14422 2013-04-27 Leo Liu <sdl.web@gmail.com>
14423
14424 * progmodes/octave.el (octave-function-file-p)
14425 (octave-skip-comment-forward, octave-function-file-comment)
14426 (octave-update-function-file-comment): New functions.
14427 (octave-mode-map): Bind C-c ; to
14428 octave-update-function-file-comment.
14429 (octave-mode-menu): Add octave-update-function-file-comment.
14430 (octave-mode, inferior-octave-mode): Fix doc-string.
14431 (octave-insert-defun): Conform to Octave's coding convention.
14432 (Bug#14285)
14433
14434 * files.el (basic-save-buffer): Don't let errors in
14435 before-save-hook prevent saving buffer.
14436
14437 2013-04-20 Roland Winkler <winkler@gnu.org>
14438
14439 * faces.el (read-face-name): Use completing-read if arg multiple
14440 is nil.
14441
14442 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14443
14444 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14445 displayed, move point to after the totals line.
14446 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14447 for the details.
14448
14449 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14450
14451 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14452 Add current dir to the load-path.
14453 (package-generate-autoloads): Don't rely on
14454 autoload-ensure-default-file.
14455
14456 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14457
14458 * textmodes/remember.el (remember-store-in-files): Document that
14459 the file name format is passed to `format-time-string'.
14460
14461 2013-04-26 Leo Liu <sdl.web@gmail.com>
14462
14463 * progmodes/octave.el (octave-sync-function-file-names): New function.
14464 (octave-mode): Use it in before-save-hook.
14465
14466 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14469 (bug#14274).
14470
14471 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14472 \n and comment, even if it's not an implicit ; (bug#14218).
14473
14474 2013-04-26 Glenn Morris <rgm@gnu.org>
14475
14476 * subr.el (read-number): Once more use `read' rather than
14477 `string-to-number', to trap non-numeric input. (Bug#14254)
14478
14479 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14480
14481 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14482 Use `syntax-multiline' text property consistently instead of
14483 `font-lock-multiline'. (Bug#14237)
14484
14485 2013-04-26 Glenn Morris <rgm@gnu.org>
14486
14487 * emacs-lisp/shadow.el (list-load-path-shadows):
14488 No longer necessary to check for duplicate simple.el, since
14489 2012-07-07 change to init_lread to not include installation lisp
14490 directories in load-path when running uninstalled. (Bug#14270)
14491
14492 2013-04-26 Leo Liu <sdl.web@gmail.com>
14493
14494 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14495 (octave-mode, inferior-octave-mode): Use setq-local.
14496 (octave-not-in-string-or-comment-p): Rename to
14497 octave-in-string-or-comment-p.
14498 (octave-in-comment-p, octave-in-string-p)
14499 (octave-in-string-or-comment-p): Replace defsubst with defun.
14500
14501 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14502
14503 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14504
14505 2013-04-25 Bastien Guerry <bzg@gnu.org>
14506
14507 * textmodes/remember.el (remember-data-directory)
14508 (remember-directory-file-name-format): Fix custom types.
14509
14510 2013-04-25 Leo Liu <sdl.web@gmail.com>
14511
14512 * progmodes/octave.el (octave-completion-at-point-function):
14513 Make use of inferior octave process.
14514 (octave-initialize-completions): Remove.
14515 (inferior-octave-completion-table): New function.
14516 (inferior-octave-completion-at-point): Use it.
14517 (octave-completion-alist): Remove.
14518
14519 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14520
14521 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14522 (opascal-mode-syntax-table): New var.
14523 (opascal-literal-kind, opascal-is-literal-end)
14524 (opascal-literal-token-at): Rewrite.
14525 (opascal--literal-start-re, opascal-font-lock-keywords)
14526 (opascal--syntax-propertize): New constants.
14527 (opascal-font-lock-defaults): Adjust.
14528 (opascal-mode): Use them. Set comment-<foo> variables as well.
14529 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14530 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14531 (delphi-other-face, opascal-other-face): Remove face variables.
14532 (opascal-save-state): Remove macro.
14533 (opascal-fontifying-progress-step): Remove constant.
14534 (opascal--ignore-changes): Remove var.
14535 (opascal-set-token-property, opascal-parse-next-literal)
14536 (opascal-is-stable-literal, opascal-complete-literal)
14537 (opascal-is-literal-start, opascal-face-of)
14538 (opascal-parse-region, opascal-parse-region-until-stable)
14539 (opascal-fontify-region, opascal-after-change)
14540 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14541 (opascal-debug-parse-region, opascal-debug-parse-window)
14542 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14543 (opascal-debug-fontify-buffer): Remove.
14544 (opascal-debug-mode-map): Adjust accordingly.
14545
14546 2013-04-25 Leo Liu <sdl.web@gmail.com>
14547
14548 Merge octave-mod.el and octave-inf.el into octave.el with some
14549 cleanups.
14550 * progmodes/octave.el: New file renamed from octave-mod.el.
14551 * progmodes/octave-inf.el: Merged into octave.el.
14552 * progmodes/octave-mod.el: Renamed to octave.el.
14553
14554 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14555
14556 * textmodes/reftex-vars.el
14557 (reftex-label-ignored-macros-and-environments): New defcustom.
14558
14559 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14560
14561 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14562
14563 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14564 (smie-indent-keyword): Improve the check to ensure that the next
14565 comment is really on the same line.
14566 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14567
14568 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14569 semi-colons if the line is not otherwise empty (bug#14218).
14570
14571 2013-04-25 Glenn Morris <rgm@gnu.org>
14572
14573 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14574
14575 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14576
14577 * progmodes/opascal.el (opascal-set-token-property): Rename from
14578 opascal-set-text-properties and only set `token' (bug#14134).
14579 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14580 (opascal-literal-text-properties): Remove.
14581 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14582 Adjust callers.
14583
14584 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14585
14586 * textmodes/remember.el (remember-handler-functions): Add an
14587 option for a new handler `remember-store-in-files'.
14588 (remember-data-directory, remember-directory-file-name-format):
14589 New options.
14590 (remember-store-in-files): New function to store remember notes
14591 as separate files within a directory.
14592
14593 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14594
14595 * progmodes/compile.el (compilation-next-error-function):
14596 Pass "formats" to compilation-find-file (bug#11777).
14597
14598 2013-04-24 Glenn Morris <rgm@gnu.org>
14599
14600 * vc/vc-bzr.el (vc-bzr-print-log):
14601 * vc/vc-hg.el (vc-hg-print-log):
14602 * vc/vc-svn.el (vc-svn-print-log):
14603 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14604
14605 * vc/vc-bzr.el (vc-bzr-print-log):
14606 * vc/vc-cvs.el (vc-cvs-print-log):
14607 * vc/vc-git.el (vc-git-print-log):
14608 * vc/vc-hg.el (vc-hg-print-log):
14609 * vc/vc-mtn.el (vc-mtn-print-log):
14610 * vc/vc-rcs.el (vc-rcs-print-log):
14611 * vc/vc-sccs.el (vc-sccs-print-log):
14612 * vc/vc-svn.el (vc-svn-print-log):
14613 * vc/vc.el (vc-print-log-internal): Doc fixes.
14614
14615 2013-04-23 Glenn Morris <rgm@gnu.org>
14616
14617 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14618 Remove venerable code attempting to avoid substitute-command-keys.
14619
14620 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14621
14622 * textmodes/reftex-vars.el (reftex-label-regexps):
14623 Call `reftex-compile-variables' after changes to this variable.
14624
14625 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14626
14627 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14628 Use lexical-binding.
14629 (jit-lock-force-redisplay): Use markers, check buffer's continued
14630 existence and beware narrowed buffers.
14631 (jit-lock-fontify-now): Adjust call accordingly.
14632
14633 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14634
14635 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14636 to avoid misleading the user.
14637
14638 2013-04-22 Leo Liu <sdl.web@gmail.com>
14639
14640 * info-look.el: Prefer latex2e.info. (Bug#14240)
14641
14642 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14643
14644 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14645
14646 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14647 * net/tramp.el (tramp-call-process): ... here.
14648 (tramp-set-completion-function, tramp-parse-putty):
14649 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14650 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14651 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14652 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14653 (tramp-call-local-coding-command): Use `tramp-call-process'
14654 instead of `tramp-compat-call-process'.
14655
14656 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14657 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14658 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14659 (tramp-find-inline-compress): Improve traces.
14660 (tramp-maybe-send-script): Check for Perl binary.
14661 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14662
14663 2013-04-22 Daiki Ueno <ueno@gnu.org>
14664
14665 * epg.el (epg-context-pinentry-mode): New function.
14666 (epg-context-set-pinentry-mode): New function.
14667 (epg--start): Pass --pinentry-mode option to gpg command.
14668
14669 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14670
14671 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14672 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14673 `completion-at-point'. (Bug#13774)
14674
14675 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14676 default key binding for `describe-distribution' has been moved to
14677 `C-h C-o'. (Bug#13970)
14678
14679 2013-04-21 Glenn Morris <rgm@gnu.org>
14680
14681 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14682 Add doc strings.
14683 (vc-print-log): Clarify interactive prompt.
14684
14685 2013-04-20 Glenn Morris <rgm@gnu.org>
14686
14687 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14688 No longer include timestamp etc information.
14689
14690 2013-04-20 Roland Winkler <winkler@gnu.org>
14691
14692 * faces.el (read-face-name): Bug fix, return just one face if arg
14693 multiple is nil. (Bug#14209)
14694
14695 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14696
14697 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14698 (remove-function): Autoload.
14699
14700 * comint.el (comint-redirect-original-filter-function): Remove.
14701 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14702 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14703 (vc-cvs-annotate-command):
14704 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14705 * progmodes/prolog.el (prolog-consult-compile):
14706 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14707 Use add/remove-function instead.
14708 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14709 (gud-tooltip-process-output, gud-tooltip-tips):
14710 Use add/remove-function instead.
14711 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14712 (scheme-interaction-mode, exit-scheme-interaction-mode):
14713 Use add/remove-function instead.
14714
14715 * vc/vc-dispatcher.el: Use lexical-binding.
14716 (vc--process-sentinel): Rename from vc-process-sentinel.
14717 Change last arg to be the code to run. Don't use vc-previous-sentinel
14718 and vc-sentinel-commands any more.
14719 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14720 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14721
14722 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14723
14724 * progmodes/sh-script.el (sh-imenu-generic-expression):
14725 Handle function names with a single character. (Bug#14111)
14726
14727 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14728
14729 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14730 for subroutines defined in an eval (bug#14182).
14731
14732 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14733
14734 * bookmark.el (bookmark-completing-read): Improve handling of empty
14735 string (bug#14176).
14736
14737 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14738
14739 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14740
14741 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14742
14743 New faster Imenu implementation (bug#14058).
14744 * progmodes/python.el (python-imenu-prev-index-position)
14745 (python-imenu-format-item-label-function)
14746 (python-imenu-format-parent-item-label-function)
14747 (python-imenu-format-parent-item-jump-label-function):
14748 New vars.
14749 (python-imenu-format-item-label)
14750 (python-imenu-format-parent-item-label)
14751 (python-imenu-format-parent-item-jump-label)
14752 (python-imenu--put-parent, python-imenu--build-tree)
14753 (python-imenu-create-index, python-imenu-create-flat-index)
14754 (python-util-popn): New functions.
14755 (python-mode): Set imenu-create-index-function to
14756 python-imenu-create-index.
14757
14758 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14759
14760 * winner.el (winner-active-region): Use region-active-p, activate-mark
14761 and deactivate-mark (bug#14225).
14762
14763 * simple.el (deactivate-mark): Don't inline it.
14764
14765 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14766
14767 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14768
14769 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14770
14771 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14772 file extensions from the archive-mode entry in order to prefer
14773 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14774
14775 2013-04-18 Leo Liu <sdl.web@gmail.com>
14776
14777 * bindings.el (help-event-list): Add ?\?.
14778
14779 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14780
14781 * subr.el (with-wrapper-hook): Declare obsolete.
14782 * simple.el (filter-buffer-substring-function): New hook.
14783 (filter-buffer-substring): Use it.
14784 (filter-buffer-substring-functions): Mark obsolete.
14785 * minibuffer.el (completion-in-region-function): New hook.
14786 (completion-in-region): Use it.
14787 (completion-in-region-functions): Mark obsolete.
14788 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14789 * abbrev.el (abbrev-expand-function): New hook.
14790 (expand-abbrev): Use it.
14791 (abbrev-expand-functions): Mark obsolete.
14792 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14793 and :filter-return.
14794
14795 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14796
14797 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14798 and do not care about match data.
14799
14800 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14801
14802 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14803 completion tables when completing error conditions and
14804 `declare' arguments.
14805 (lisp-complete-symbol, field-complete): Mark as obsolete.
14806 (check-parens): Unmatched parens are user errors.
14807 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14808
14809 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14810
14811 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14812 command changed buffer (ie. `flyspell-pre-buffer' is not current
14813 buffer), which prevents making decisions based on invalid value of
14814 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14815 cause an error when `flyspell-pre-point' was nil after switching
14816 buffers.
14817 (flyspell-post-command-hook): No longer needs to change buffers when
14818 checking pre-word. While at it remove unnecessary progn.
14819
14820 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14821
14822 * textmodes/ispell.el (ispell-add-per-file-word-list):
14823 Fix `flyspell-correct-word-before-point' error when accepting
14824 words and `coment-padding' is an integer by using
14825 `comment-normalize-vars' (Bug #14214).
14826
14827 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14828
14829 New defun movement commands.
14830 * progmodes/python.el (python-nav--syntactically)
14831 (python-nav--forward-defun, python-nav-backward-defun)
14832 (python-nav-forward-defun): New functions.
14833
14834 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14835
14836 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14837 (python-syntax-context): Use named compiler-macro for backwards
14838 compatibility with Emacs 24.x.
14839
14840 2013-04-17 Leo Liu <sdl.web@gmail.com>
14841
14842 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14843 octave-hide-process-buffer.
14844
14845 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14846
14847 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14848 (bug#14216).
14849
14850 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14851
14852 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14853 Fix adjustment of offset when receiving incomplete responses from GDB
14854 (bug#14129).
14855
14856 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14857
14858 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14859 python-mode-abbrev-table.
14860 (python-skeleton-define): Adjust accordingly.
14861 (python-mode-abbrev-table): New table that inherits from it so that
14862 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14863
14864 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14865 (abbrev-symbol): Use it.
14866 (abbrev--before-point): Use it since we already handle inheritance.
14867
14868 2013-04-16 Leo Liu <sdl.web@gmail.com>
14869
14870 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14871 binding to info-lookup-symbol.
14872
14873 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14874
14875 * minibuffer.el (completion--twq-all):
14876 * term/ns-win.el (ns-initialize-window-system):
14877 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14878
14879 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14880
14881 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14882 global bindings.
14883
14884 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14885
14886 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14887
14888 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14889 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14890 to nil.
14891 (ruby-end-of-defun): Remove the unused arg, change the docstring
14892 to reflect that this function is only used as the value of
14893 `end-of-defun-function'.
14894 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14895 to reflect an earlier change that beginning/end-of-defun functions
14896 jump between methods in a class definition, as well as top-level
14897 functions.
14898
14899 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14900
14901 * minibuffer.el (minibuffer-complete): Don't just scroll
14902 a *Completions* that's been iconified.
14903 (minibuffer-force-complete): Make sure repetitions do cycle when going
14904 through completion-in-region -> minibuffer-complete.
14905
14906 2013-04-15 Alan Mackenzie <acm@muc.de>
14907
14908 Correct the placement of c-cpp-delimiters when there're #s not at
14909 col 0.
14910
14911 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14912 place a submatch around the #.
14913 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14914 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14915 on the #, not BOL.
14916
14917 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14918
14919 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14920 (advice--member-p): New arg `name'.
14921 (advice--add-function, advice-member-p): Use it (bug#14202).
14922
14923 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14924
14925 Reformulate java imenu-generic-expression.
14926 The old expression contained ill formed regexps.
14927
14928 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14929 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14930 (cc-imenu-java-method-arg-regexp): New defconsts.
14931 (cc-imenu-java-build-type-args-regex): New defun.
14932 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14933 handling of spaces in the regexp.
14934
14935 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14936
14937 * textmodes/ispell.el (ispell-command-loop): Remove
14938 flyspell highlight of a word when ispell accepts it (bug #14178).
14939
14940 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14941
14942 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14943 uses code from the previous `ange-ftp-run-real-handler'.
14944 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14945 only in case that function exist. This is needed for proper
14946 unloading of Tramp.
14947
14948 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14949
14950 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14951
14952 * textmodes/reftex.el (reftex-compile-variables): Use it.
14953
14954 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * files.el (normal-mode): Only use default major-mode if no other mode
14957 was specified.
14958
14959 * emacs-lisp/trace.el (trace-values): New function.
14960
14961 * files.el: Allow : in local variables (bug#14089).
14962 (hack-local-variable-regexp): New var.
14963 (hack-local-variables-prop-line, hack-local-variables): Use it.
14964
14965 2013-04-13 Roland Winkler <winkler@gnu.org>
14966
14967 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14968 data before it gets modified by bibtex-beginning-of-entry.
14969
14970 2013-04-13 Roland Winkler <winkler@gnu.org>
14971
14972 * textmodes/bibtex.el (bibtex-url): Doc fix.
14973
14974 2013-04-13 Roland Winkler <winkler@gnu.org>
14975
14976 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14977 does not visit a BibTeX file, exclude it from the list of buffers
14978 returned by bibtex-initialize.
14979
14980 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14981
14982 * window.el (split-window): Remove interactive form, since as a
14983 command this function is a special case of split-window-below.
14984 Correct doc string.
14985
14986 2013-04-12 Roland Winkler <winkler@gnu.org>
14987
14988 * faces.el (read-face-name): Do not override value of arg default.
14989 Allow single faces and strings as default values. Remove those
14990 elements from return value that are not faces.
14991 (describe-face): Simplify.
14992 (face-at-point): New optional args thing and multiple so that this
14993 function can provide the same functionality previously provided by
14994 read-face-name.
14995 (make-face-bold, make-face-unbold, make-face-italic)
14996 (make-face-unitalic, make-face-bold-italic, invert-face)
14997 (modify-face, read-face-and-attribute): Use face-at-point.
14998
14999 * cus-edit.el (customize-face, customize-face-other-window)
15000 * cus-theme.el (custom-theme-add-face)
15001 * face-remap.el (buffer-face-set)
15002 * facemenu.el (facemenu-set-face): Use face-at-point.
15003
15004 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15005
15006 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15007
15008 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15009
15010 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15011 off leading { and trailing } from field values.
15012
15013 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15014
15015 * emacs-lisp/timer.el (timer--check): New function.
15016 (timer--time, timer-set-function, timer-event-handler): Use it.
15017 (timer-set-idle-time): Simplify.
15018 (timer--activate): CSE.
15019 (timer-event-handler): Give more info in error message.
15020 (internal-timer-start-idle): New function, moved from C.
15021
15022 * mpc.el (mpc-proc): Add `restart' argument.
15023 (mpc-proc-cmd): Use it.
15024 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15025 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15026 less often.
15027
15028 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15029
15030 * progmodes/sh-script.el: Implement `sh-mode' own
15031 `add-log-current-defun-function' (bug#14112).
15032 (sh-current-defun-name): New function.
15033 (sh-mode): Use the function.
15034
15035 2013-04-09 Bastien Guerry <bzg@gnu.org>
15036
15037 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15038
15039 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15040
15041 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15042
15043 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15044 timer (bug#14156).
15045
15046 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15047
15048 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15049 declaration.
15050
15051 2013-04-07 Leo Liu <sdl.web@gmail.com>
15052
15053 * pcmpl-x.el: New file.
15054
15055 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15056
15057 Do not set x-display-name until X connection is established.
15058 This is needed to prevent from weird situation described at
15059 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15060 * frame.el (make-frame): Set x-display-name after call to
15061 window system initialization function, not before.
15062 * term/x-win.el (x-initialize-window-system): Add optional
15063 display argument and use it.
15064 * term/w32-win.el (w32-initialize-window-system):
15065 * term/ns-win.el (ns-initialize-window-system):
15066 * term/pc-win.el (msdos-initialize-window-system):
15067 Add compatible optional display argument.
15068
15069 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15070
15071 * files.el (normal-backup-enable-predicate): On MS-Windows and
15072 MS-DOS compare truenames of temporary-file-directory and of the
15073 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15074 don't fail comparison by compare-strings. Also, compare file
15075 names case-insensitively on MS-Windows and MS-DOS.
15076
15077 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15078
15079 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15080 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15081
15082 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15083
15084 * whitespace.el (whitespace-color-on, whitespace-color-off):
15085 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15086
15087 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15088
15089 * ispell.el (ispell-set-spellchecker-params):
15090 Really set `ispell-args' for all equivs.
15091
15092 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15093
15094 * ido.el (ido-completions): Use extra elements of ido-decorations
15095 (bug#14143).
15096 (ido-decorations): Update docstring.
15097
15098 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15099
15100 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15101 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15102 nil during initialization, in order not to miss changes since the
15103 file was opened. (Bug#14140)
15104
15105 2013-04-05 Leo Liu <sdl.web@gmail.com>
15106
15107 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15108
15109 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15110
15111 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15112
15113 2013-04-04 Glenn Morris <rgm@gnu.org>
15114
15115 * electric.el (electric-pair-inhibit-predicate): Add :version.
15116
15117 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15118
15119 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15120 when a package is required several times (bug#14082).
15121
15122 2013-04-04 Roland Winkler <winkler@gnu.org>
15123
15124 * faces.el (read-face-name): Behave as promised by the docstring.
15125 Assume that arg default is a list of faces.
15126 (describe-face): Call read-face-name with list of default faces.
15127
15128 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15129
15130 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15131 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15132 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15133 the header.
15134 (bookmark-exit-hook-internal): Save even if list is empty.
15135
15136 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15137
15138 * emacs-lisp/package.el (package-pinned-packages): New var.
15139 (package--add-to-archive-contents): Obey it (bug#14118).
15140
15141 2013-04-03 Alan Mackenzie <acm@muc.de>
15142
15143 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15144 Also adapt to the new values of element 7 of a parse state.
15145
15146 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15147 parameter `not-in-delimiter'. Handle being inside comment opener.
15148 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15149 character in case we're typing a '*' after a '/'.
15150 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15151 instead by passing the parameter to c-state-pp-to-literal.
15152
15153 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15154 for elt. 7 of a parse state.
15155
15156 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15157
15158 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15159 * international/latin1-disp.el, international/mule-util.el:
15160 * language/cyril-util.el, language/european.el, language/ind-util.el:
15161 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15162 * language/tibetan.el, language/viet-util.el:
15163 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15164
15165 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15166
15167 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15168 (electric-pair-post-self-insert-function): Use it.
15169 (electric-pair-default-inhibit): New function, extracted from
15170 electric-pair-post-self-insert-function.
15171
15172 2013-03-31 Roland Winkler <winkler@gnu.org>
15173
15174 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15175
15176 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15177
15178 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15179
15180 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15181
15182 Un-indent after "pass" and "return" statements (Bug#13888)
15183 * progmodes/python.el (python-indent-block-enders): New var.
15184 (python-indent-calculate-indentation): Use it.
15185
15186 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15187
15188 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15189 defun. Defining it as defalias could introduce too eager
15190 byte-compiler optimization. (Bug#14030)
15191
15192 2013-03-30 Chong Yidong <cyd@gnu.org>
15193
15194 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15195
15196 2013-03-30 Leo Liu <sdl.web@gmail.com>
15197
15198 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15199 (kmacro-execute-from-register): Pass the keyboard macro to
15200 kmacro-call-macro or repeating won't work correctly.
15201
15202 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15203
15204 * progmodes/subword.el: Back to using `forward-symbol'.
15205
15206 * subr.el (forward-whitespace, forward-symbol)
15207 (forward-same-syntax): Move from thingatpt.el.
15208
15209 2013-03-29 Leo Liu <sdl.web@gmail.com>
15210
15211 * kmacro.el (kmacro-to-register): New command.
15212 (kmacro-execute-from-register): New function.
15213 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15214
15215 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15216
15217 * mpc.el: Use defvar-local and setq-local.
15218 (mpc--proc-connect): Connection failures are not bugs.
15219 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15220 (mpc-volume-map): Bind to the up-events.
15221
15222 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15223
15224 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15225 instead of `forward-symbol'.
15226
15227 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15228
15229 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15230 (edebug--recursive-edit): Use it.
15231 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15232 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15233
15234 2013-03-28 Leo Liu <sdl.web@gmail.com>
15235
15236 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15237
15238 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15239
15240 * facemenu.el (list-colors-callback): New defvar.
15241 (list-colors-redisplay): New function.
15242 (list-colors-display): Install list-colors-redisplay as the
15243 revert-buffer-function. (Bug#14063)
15244
15245 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15246
15247 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15248 and suffixes don't overlap (bug#14061).
15249
15250 * case-table.el: Use lexical-binding.
15251 (case-table-get-table): New function.
15252 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15253
15254 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15255
15256 * progmodes/subword.el: Add `superword-mode' to do word motion
15257 over symbol_words (parallels and leverages `subword-mode' which
15258 does word motion inside MixedCaseWords).
15259
15260 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15261
15262 * eshell/em-unix.el: Move su and sudo to...
15263 * eshell/em-tramp.el: ...Eshell tramp module.
15264
15265 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15266
15267 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15268 Change return value to be a sexp. Delay `get-buffer' to after
15269 restoring the desktop (bug#13951).
15270
15271 2013-03-26 Leo Liu <sdl.web@gmail.com>
15272
15273 * register.el: Move semantic tag handling back to
15274 cedet/semantic/senator.el. (Bug#14052)
15275
15276 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15279 into the prompt either (bug#13963).
15280
15281 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15282
15283 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15284 part of "(error-foo)".
15285
15286 2013-03-24 Juri Linkov <juri@jurta.org>
15287
15288 * replace.el (list-matching-lines-prefix-face): New defcustom.
15289 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15290 `occur-engine' if `face-differs-from-default-p' returns t.
15291 (occur-engine): Add `,' inside backquote construct to evaluate
15292 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15293 Pass `prefix-face' to the functions `occur-context-lines' and
15294 `occur-engine-add-prefix'.
15295 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15296 `prefix-face' and propertize the prefix with `prefix-face'.
15297 (Bug#14017)
15298
15299 2013-03-24 Leo Liu <sdl.web@gmail.com>
15300
15301 * nxml/rng-valid.el (rng-validate-while-idle)
15302 (rng-validate-quick-while-idle): Guard against deleted buffer.
15303 (Bug#13999)
15304
15305 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15306 is the last entry in kill-buffer-hook.
15307
15308 * files.el (kill-buffer-hook): Doc fix.
15309
15310 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15311
15312 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15313 Make it safe-local.
15314
15315 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15316
15317 2013-03-23 Leo Liu <sdl.web@gmail.com>
15318
15319 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15320 Remove.
15321
15322 * nxml/rng-valid.el (rng-validate-mode)
15323 (rng-after-change-function, rng-do-some-validation):
15324 * nxml/rng-maint.el (rng-validate-buffer):
15325 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15326 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15327 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15328 (nxml-extend-after-change-region): Use with-silent-modifications.
15329
15330 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15331 timer-idle-list.
15332
15333 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15334 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15335 timer-idle-list. (Bug#13999)
15336
15337 2013-03-23 Juri Linkov <juri@jurta.org>
15338
15339 * info.el (info-index-match): New face.
15340 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15341 main pattern and add text properties with the new face to matches
15342 in index entries relative to the beginning of the index entry.
15343 (Bug#14015)
15344
15345 2013-03-21 Eric Ludlam <zappo@gnu.org>
15346
15347 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15348 Inhibit read only while inserting objects.
15349
15350 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15351
15352 * progmodes/cfengine.el: Update docs to mention
15353 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15354 symbol motion. Remove "_" from the word syntax.
15355
15356 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15357
15358 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15359 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15360
15361 2013-03-20 Juri Linkov <juri@jurta.org>
15362
15363 * info.el (Info-next-reference-or-link)
15364 (Info-prev-reference-or-link): New functions.
15365 (Info-next-reference, Info-prev-reference): Use them.
15366 (Info-try-follow-nearest-node): Handle footnote navigation.
15367 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15368
15369 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15370
15371 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15372 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15373
15374 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15375
15376 Suppress unnecessary non-ASCII chatter during build process.
15377 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15378 (batch-skkdic-convert): Suppress most of the chatter.
15379 It's not needed so much now that machines are faster,
15380 and its non-ASCII component was confusing; see Dmitry Gutov in
15381 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15382
15383 2013-03-20 Leo Liu <sdl.web@gmail.com>
15384
15385 * ido.el (ido-chop): Fix bug#10994.
15386
15387 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15388
15389 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15390 Remove vars.
15391 (whitespace-color-on, whitespace-color-off):
15392 Use `font-lock-fontify-buffer' (Bug#13817).
15393
15394 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15395
15396 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15397 remapping in mode-line.
15398 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15399
15400 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15401
15402 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15403 value for `whitespace-line' face (Bug#13875).
15404 (whitespace-font-lock-keywords): Change description.
15405 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15406 the constructed keywords instead.
15407 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15408
15409 2013-03-19 Leo Liu <sdl.web@gmail.com>
15410
15411 * progmodes/compile.el (compilation-display-error): New command.
15412 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15413 C-o. (Bug#13992)
15414
15415 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15416
15417 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15418
15419 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15420
15421 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15422
15423 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15424
15425 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15426
15427 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15428 * net/tramp-gvfs.el (top):
15429 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15430 (tramp-handle-shell-command): Use it.
15431 (tramp-dissect-file-name): Raise an error when hostname is a
15432 method name, and neither method nor user is specified.
15433
15434 * net/trampver.el: Update release number.
15435
15436 2013-03-18 Leo Liu <sdl.web@gmail.com>
15437
15438 Make sure eldoc can be turned off properly.
15439 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15440 eldoc-mode.
15441 (eldoc-display-message-p): Revert last change.
15442 (eldoc-display-message-no-interference-p)
15443 (eldoc-print-current-symbol-info): Tweak.
15444
15445 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15446
15447 * doc-view.el (doc-view-new-window-function): Check the new window
15448 overlay's display property instead the char property of the
15449 buffer's first char. Use `with-selected-window' instead of
15450 `save-window-excursion' with `select-window'.
15451 (doc-view-document->bitmap): Check the current doc-view overlay's
15452 display property instead the char property of the buffer's first char.
15453
15454 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15455
15456 Automate the build of ja-dic.el (Bug#13984).
15457 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15458 from the input, rather than assume that it's been done for us by the
15459 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15460 the current date into a ja-dic.el comment, as that complicates
15461 regression testing.
15462
15463 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15464
15465 * whitespace.el: Fix double evaluation.
15466 (whitespace-space, whitespace-hspace, whitespace-tab)
15467 (whitespace-newline, whitespace-trailing, whitespace-line)
15468 (whitespace-space-before-tab, whitespace-indentation)
15469 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15470 obsolete defvars.
15471 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15472 (whitespace-color-on): Use a single font-lock-add-keywords call.
15473 Fix double-evaluation of face variables.
15474
15475 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15476
15477 * net/tramp-adb.el (tramp-adb-parse-device-names):
15478 Use `start-process' instead of `call-process'. Otherwise, the
15479 function might be blocked under MS Windows. (Bug#13299)
15480
15481 2013-03-17 Leo Liu <sdl.web@gmail.com>
15482
15483 Extend eldoc to display info in the mode-line. (Bug#13978)
15484 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15485 (eldoc-mode-line-string): New variable.
15486 (eldoc-minibuffer-message): New function.
15487 (eldoc-message-function): New variable.
15488 (eldoc-message): Use it.
15489 (eldoc-display-message-p)
15490 (eldoc-display-message-no-interference-p):
15491 Support eldoc-post-insert-mode.
15492
15493 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15494 (eval-expression): Run it.
15495
15496 2013-03-17 Roland Winkler <winkler@gnu.org>
15497
15498 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15499 strings in the list of return values.
15500
15501 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15502
15503 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15504 radix before checking for HMS forms.
15505
15506 2013-03-16 Leo Liu <sdl.web@gmail.com>
15507
15508 * progmodes/scheme.el: Add indentation and font-locking for λ.
15509 (Bug#13975)
15510
15511 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15512
15513 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15514 token before point (bug#13942).
15515
15516 2013-03-16 Leo Liu <sdl.web@gmail.com>
15517
15518 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15519
15520 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15521
15522 * startup.el (command-line-normalize-file-name): Fix handling of
15523 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15524 <xfq.free@gmail.com> in
15525 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15526
15527 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15528
15529 Sync with Tramp 2.2.7.
15530
15531 * net/trampver.el: Update release number.
15532
15533 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15534
15535 * doc-view.el: Fix bug#13887.
15536 (doc-view-insert-image): Don't modify overlay associated to
15537 non-live windows, and implement horizontal centering of image in
15538 case it's smaller than the window.
15539 (doc-view-new-window-function): Force redisplay of new windows on
15540 doc-view buffers.
15541
15542 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15543
15544 * saveplace.el (save-place-alist-to-file): Don't sort
15545 `save-place-alist', just pretty-print it (bug#13882).
15546
15547 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15548
15549 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15550 Check whether `default-file-name-coding-system' is bound.
15551 It isn't in XEmacs.
15552
15553 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15554
15555 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15556 backquotes for `obsolete' (bug#13929).
15557
15558 * international/mule.el (find-auto-coding): Include file name in
15559 obsolescence warning (bug#13922).
15560
15561 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15562
15563 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15564 for CFEngine 3-specific indentation.
15565 (cfengine3-indent-line): Use it. Fix up category regex.
15566 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15567
15568 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15569
15570 * type-break.el (type-break-file-name):
15571 * textmodes/remember.el (remember-data-file):
15572 * strokes.el (strokes-file):
15573 * shadowfile.el (shadow-initialize):
15574 * saveplace.el (save-place-file):
15575 * ps-bdf.el (bdf-cache-file):
15576 * progmodes/idlwave.el (idlwave-config-directory):
15577 * net/quickurl.el (quickurl-url-file):
15578 * international/kkc.el (kkc-init-file-name):
15579 * ido.el (ido-save-directory-list-file):
15580 * emulation/viper.el (viper-custom-file-name):
15581 * emulation/vip.el (vip-startup-file):
15582 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15583 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15584
15585 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15586
15587 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15588 * language/thai-word.el: Switch to UTF-8.
15589
15590 See ChangeLog.16 for earlier changes.
15591
15592 ;; Local Variables:
15593 ;; coding: utf-8
15594 ;; End:
15595
15596 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15597
15598 This file is part of GNU Emacs.
15599
15600 GNU Emacs is free software: you can redistribute it and/or modify
15601 it under the terms of the GNU General Public License as published by
15602 the Free Software Foundation, either version 3 of the License, or
15603 (at your option) any later version.
15604
15605 GNU Emacs is distributed in the hope that it will be useful,
15606 but WITHOUT ANY WARRANTY; without even the implied warranty of
15607 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15608 GNU General Public License for more details.
15609
15610 You should have received a copy of the GNU General Public License
15611 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.