Minor stylistic changes in find-gc.el.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-05-06 Eli Zaretskii <eliz@gnu.org>
2
3 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
4 (trace-unsafe, trace-use-tree): Make parentheses style be
5 according to Emacs style.
6
7 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
8
9 * net/tramp-sh.el (tramp-remote-process-environment): Remove
10 HISTFILE and HISTSIZE; it's too late to set them here. Add
11 :version entry.
12 (tramp-open-shell): Do not let-bind `tramp-end-of-output'. Add
13 "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
14 extra "PSx=..." commands.
15 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
16 (Bug#17295)
17
18 (tramp-uudecode): Replace the hard-coded temporary file name by a
19 format specifier.
20 (tramp-remote-coding-commands): Enhance docstring.
21 (tramp-find-inline-encoding): Replace "%t" by a temporary file
22 name. (Bug#17415)
23
24 2014-05-06 Glenn Morris <rgm@gnu.org>
25
26 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
27 (find-gc-source-files): Update some names.
28 (trace-call-tree): Simplify and update.
29 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
30
31 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
32
33 * minibuffer.el (completion--try-word-completion): Revert fix for
34 Bug#15980 (bug#17375).
35
36 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
37 Always store button numbers in the same way in xterm-mouse-last;
38 Don't burp is xterm-mouse-last is not set as expected.
39 Never return negative indices.
40
41 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
42
43 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
44 Backtrack one char if the global/char-literal var matcher hits
45 inside a string. The next char could be the beginning of an
46 expression expansion.
47
48 2014-05-05 Glenn Morris <rgm@gnu.org>
49
50 * help-fns.el (describe-function-1): Test for an autoload before a
51 macro, since `macrop' works on autoloads. (Bug#17410)
52
53 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * electric.el (electric-indent-functions-without-reindent): Add yaml.
56
57 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
58 Make sure the new point we return is within the new string (bug#17239).
59
60 2014-05-03 Eli Zaretskii <eliz@gnu.org>
61
62 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
63
64 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
67 Use nil rather than `default' for the "default" appearance (bug#17388).
68 * vc/ediff-util.el (ediff-inferior-compare-regions)
69 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
70 a misleading `default' value when it's really a boolean.
71 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
72 overlay is not visible.
73
74 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
75
76 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
77 (todo-menu): Uncomment and update.
78
79 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
80
81 * calendar/todo-mode.el: Reimplement item editing to have the same
82 basic user interface as item insertion, and make small UI and
83 larger internal improvements to the latter.
84 (todo-insert-item): Add reference to the Todo mode user manual to
85 the documentation string.
86 (todo-insert-item--basic): Rename from todo-basic-insert-item and
87 adjust all callers. Change signature to combine diary and
88 nonmarking arguments. Incorporate functionality of deleted item
89 copying command and add error checking. Remove detailed
90 descriptions of the arguments from the documentation string, since
91 this is treated in the Todo mode user manual.
92 (todo-copy-item, todo-edit-multiline-item)
93 (todo-edit-done-item-comment, todo-edit-item-header)
94 (todo-edit-item-time, todo-edit-item-date-from-calendar)
95 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
96 (todo-edit-item-date-year, todo-edit-item-date-month)
97 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
98 Remove.
99 (todo-edit-item): Reimplement as wrapper command for
100 todo-edit-item--next-key and make it distinguish done and not done
101 todo items.
102 (todo-edit-item--text): New function, replacing old command
103 todo-edit-item and incorporating deleted commands
104 todo-edit-multiline-item and todo-edit-done-item-comment.
105 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
106 Use only numeric value of prefix argument. Remove detailed
107 descriptions of the arguments from the documentation string, since
108 this is treated in the Todo mode user manual.
109 (todo-edit-item--diary-inclusion): New function, replacing old
110 command todo-edit-item-diary-inclusion and incorporating and fixing
111 functionality of deleted command todo-edit-item-diary-nonmarking,
112 making sure to remove todo-nondiary-marker when adding
113 diary-nonmarking-symbol.
114 (todo-edit-category-diary-inclusion): Make sure to delete
115 diary-nonmarking-symbol when adding todo-nondiary-marker.
116 (todo-edit-category-diary-nonmarking): Fix indentation.
117 (todo-insert-item--parameters): Group diary and nonmarking
118 parameters together.
119 (todo-insert-item--apply-args): Adjust to signature of
120 todo-insert-item--basic and incorporate copy parameter.
121 Make small code improvements.
122 (todo-insert-item--next-param): Improve prompt and adjust it to
123 new parameter grouping. Remove obsolete code.
124 (todo-edit-item--param-key-alist)
125 (todo-edit-item--date-param-key-alist)
126 (todo-edit-done-item--param-key-alist): New defconsts.
127 (todo-edit-item--prompt): New variable.
128 (todo-edit-item--next-key): New function.
129 (todo-key-bindings-t): Bind "e" to todo-edit-item. Remove
130 bindings of deleted commands.
131
132 2014-05-02 Leo Liu <sdl.web@gmail.com>
133
134 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
135
136 2014-05-01 Glenn Morris <rgm@gnu.org>
137
138 * allout-widgets.el (allout-widgets-tally)
139 (allout-decorate-item-guides):
140 * menu-bar.el (menu-bar-positive-p):
141 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
142 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
143 * progmodes/js.el (js--inside-param-list-p)
144 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
145 * progmodes/prolog.el (region-exists-p):
146 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
147 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
148 Doc fixes (replace `iff').
149
150 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
151
152 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
153
154 2014-04-30 Eli Zaretskii <eliz@gnu.org>
155
156 * dired.el (dired-initial-position-hook, dired-initial-position):
157 Doc string fixes.
158
159 2014-04-29 Glenn Morris <rgm@gnu.org>
160
161 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
162
163 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
164
165 * faces.el (face-spec-recalc): Apply X resources only after the
166 defface spec has been applied. Thus, X resources are no longer
167 overriden by the defface spec which also fixes issues on win32 where
168 the toolbar coloring was wrong because it is set through X resources
169 and was (wrongfully) overriden. (Bug#16694)
170
171 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * textmodes/rst.el (electric-pair-pairs): Declare.
174 (rst-mode): Set it (bug#17131).
175
176 2014-04-27 Juri Linkov <juri@jurta.org>
177
178 * desktop.el (desktop-value-to-string): Let-bind `print-length'
179 and `print-level' to nil. (Bug#17351)
180
181 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
182
183 * battery.el (battery-update): Handle the case where battery
184 status is "N/A" (bug#17319).
185
186 2014-04-24 Eli Zaretskii <eliz@gnu.org>
187
188 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
189 Use equal-including-properties to compare help-echo strings (bug#17331).
190
191 2014-04-24 Leo Liu <sdl.web@gmail.com>
192
193 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
194 Fix syntax for @. (Bug#17325)
195
196 2014-04-24 Daniel Colascione <dancol@dancol.org>
197
198 * emacs-lisp/cl.el (gv): Require gv early to break eager
199 macro-expansion cycles.
200
201 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * simple.el (region-active-p): Check there's a mark (bug#17324).
204
205 * simple.el (completion-list-mode-map): Use choose-completion for the
206 mouse binding as well (bug#17302).
207 (completion-list-mode, completion-setup-function): Adjust docstring and
208 echo area message accordingly.
209 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
210 calling convention of choose-completion.
211 * comint.el (comint-dynamic-list-completions):
212 * term.el (term-dynamic-list-completions): Accept choose-completion.
213
214 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
215 &, |, +, - and * can't be a division (bug#17317).
216
217 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * term/xterm.el (xterm--version-handler): Don't use modern xterm
220 features on gnome-terminal (bug#16988).
221
222 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
223
224 * dired.el (dired-insert-set-properties): Do not consider
225 subdirectory headings and empty lines to be information that
226 `dired-hide-details-mode' should hide. (Bug#17228)
227
228 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
229
230 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
231 Remove test messages.
232 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
233 and `target' twice.
234
235 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
238 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
239
240 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
241
242 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
243
244 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
245 Set "IFS=" when using read builtin, in order to preserve spaces in
246 the file name. Add test messages for hunting a bug on hydra.
247 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
248
249 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
252 Don't prettify a word within a symbol.
253
254 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
255
256 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
257 possible.
258
259 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
262 assignments such as "case=hello" (bug#17297).
263
264 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
265
266 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
267 Do not autoload.
268 (tramp-file-name-handler, tramp-completion-file-name-handler):
269 Revert patch from 2014-04-10, it isn't necessary anymore.
270 (tramp-autoload-file-name-handler)
271 (tramp-register-autoload-file-name-handlers): New defuns.
272 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
273 (tramp-register-file-name-handlers): Remove also
274 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
275 Do not autoload its invocation, but eval it after loading of 'tramp.
276
277 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
278
279 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
280
281 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
284 was done (bug#17264).
285 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
286 comment to EOB.
287
288 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
289 here-documents (bug#17262).
290
291 2014-04-16 Eli Zaretskii <eliz@gnu.org>
292
293 * term/pc-win.el (x-list-fonts, x-get-selection-value):
294 Provide doc strings, as required by snarf-documentation.
295
296 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
299 arg of overlays-at. Use `invisible-p'.
300
301 * obsolete/lucid.el (extent-at):
302 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
303 overlays-at.
304 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
305
306 2014-04-14 João Távora <joaotavora@gmail.com>
307
308 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
309 links. (Bug#17217).
310
311 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
312
313 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
314 Use mapc to loop over a vector. (Bug#17257).
315
316 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
317
318 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
319 patch, there are new problems with file names containing spaces.
320 Get rid of backticks. (Bug#17238)
321
322 2014-04-13 João Távora <joaotavora@gmail.com>
323
324 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
325 possible bug.
326
327 2014-04-13 Eli Zaretskii <eliz@gnu.org>
328
329 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
330 (blink-cursor-mode): Mention customization variables and the
331 effect of 'blink-cursor-blinks'.
332
333 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
334
335 * simple.el (undo): Prevent insertion of identity mapping into
336 undo-equiv-table so as undo-only does not inf loop in the presence
337 of consecutive nils in undo list.
338
339 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
340
341 * faces.el (make-face): Deprecate optional argument as it is no
342 longer needed/used since the conditional X resources handling
343 has been pushed down to make-face-x-resource-internal itself.
344 (make-empty-face): Don't pass optional argument to make-face.
345
346 2014-04-12 Eli Zaretskii <eliz@gnu.org>
347
348 * international/characters.el <standard-case-table>: Add entries
349 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
350 Set category of Coptic characters be 'g' (Greek).
351
352 2014-04-12 Leo Liu <sdl.web@gmail.com>
353
354 * progmodes/octave.el (completion-table-with-cache): Define if not
355 available.
356 (octave-goto-function-definition)
357 (octave-sync-function-file-names)
358 (octave-find-definition-default-filename): Backquote upattern for
359 compatibility.
360
361 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
362
363 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
364 name twice due to backticks. (Bug#17238)
365
366 2014-04-11 Glenn Morris <rgm@gnu.org>
367
368 * term/w32-win.el (x-win-suspend-error):
369 * term/x-win.el (x-win-suspend-error): Sync docs.
370
371 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 Ediff's overlay priorities cause more trouble than they solve.
374 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
375 (ediff-highest-priority): Remove function (bug#17234).
376 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
377 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
378 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
379 overlay priorities.
380
381 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
382
383 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
384 entry; use symbol boundaries to avoid mis-matches.
385
386 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
387
388 * net/tramp.el (tramp-file-name-handler)
389 (tramp-completion-file-name-handler): Avoid recursive loading.
390
391 * net/tramp-sh.el (tramp-make-copy-program-file-name):
392 Quote result also locally.
393
394 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
395
396 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
397 Module methods. (Bug#17216)
398
399 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * help.el (describe-bindings): Fix buffer handling (bug#17210).
402 (describe-bindings-internal): Mark obsolete.
403
404 2014-04-07 João Távora <joaotavora@gmail.com>
405
406 * elec-pair.el:
407 (electric-pair--syntax-ppss): When inside comments parse from
408 comment beginning.
409 (electric-pair--balance-info): Fix typo in comment.
410 (electric-pair--in-unterminated-string-p): Delete.
411 (electric-pair--unbalanced-strings-p): New function.
412 (electric-pair-string-bound-function): New var.
413 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
414 according to `electric-pair--in-unterminated-string-p'
415
416 2014-04-07 João Távora <joaotavora@gmail.com>
417
418 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
419 Inhibit quote pairing if point-max is inside an unterminated string.
420 (electric-pair--looking-at-unterminated-string-p): Delete.
421 (electric-pair--in-unterminated-string-p): New function.
422
423 2014-04-07 Glenn Morris <rgm@gnu.org>
424
425 * shell.el (shell-directory-tracker):
426 Go back to just ignoring failures. (Bug#17159)
427
428 2014-04-06 João Távora <joaotavora@gmail.com>
429
430 Fix `electric-pair-delete-adjacent-pairs' in modes binding
431 backspace. (bug#16981)
432 * elec-pair.el (electric-pair-backward-delete-char): Delete.
433 (electric-pair-backward-delete-char-untabify): Delete.
434 (electric-pair-mode-map): Bind backspace to a menu item filtering
435 a new `electric-pair-delete-pair' command.
436 (electric-pair-delete-pair): New command.
437
438 2014-04-06 João Távora <joaotavora@gmail.com>
439
440 * progmodes/python.el (python-electric-pair-string-delimiter):
441 Fix triple-quoting electricity. (Bug#17192)
442
443 2014-04-06 João Távora <joaotavora@gmail.com>
444
445 * elec-pair.el (electric-pair-post-self-insert-function):
446 Don't skip whitespace when `electric-pair-text-pairs' and
447 `electric-pair-pairs' were used. syntax to
448 electric-pair--skip-whitespace. (Bug#17183)
449
450 2014-04-06 Eli Zaretskii <eliz@gnu.org>
451
452 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
453 "<F>". (Bug#17199)
454
455 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
456
457 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
458 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
459
460 2014-04-05 Glenn Morris <rgm@gnu.org>
461
462 * help.el (view-lossage): Doc tweak.
463
464 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
465
466 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
467 only when inhibit-x-resources is nil, and do that earlier in the
468 function. Doc fix. (Bug#16694)
469 (face-spec-choose): Accept additional optional argument, whose
470 value is returned if no matching attributes are found.
471 (face-spec-recalc): Use the new optional argument when calling
472 face-spec-choose. (Bug#16378)
473 (make-face-x-resource-internal): Do nothing when
474 inhibit-x-resources is non-nil. Don't touch the default face if
475 reversed video is given--as was done in previous versions of Emacs.
476 (face-set-after-frame-default): Don't call
477 make-face-x-resource-internal here. (Bug#16434)
478
479 2014-04-04 Tassilo Horn <tsdh@gnu.org>
480
481 * doc-view.el (doc-view-bookmark-jump):
482 Use `bookmark-after-jump-hook' to jump to the right page after the
483 buffer is shown in a window. (bug#16090)
484
485 2014-04-04 Eli Zaretskii <eliz@gnu.org>
486
487 * international/characters.el (mirroring): Fix last change:
488 instead of loading uni-mirrored.el explicitly, do that implicitly
489 by creating the 'mirroring' uniprop table. This avoids announcing
490 the loading of uni-mirrored.el.
491
492 2014-04-04 Glenn Morris <rgm@gnu.org>
493
494 * files.el (buffer-stale--default-function)
495 (buffer-stale-function, revert-buffer--default):
496 * autorevert.el (auto-revert-buffers): Doc tweaks.
497
498 2014-04-03 Eli Zaretskii <eliz@gnu.org>
499
500 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
501
502 2014-04-03 Glenn Morris <rgm@gnu.org>
503
504 * files.el (make-backup-file-name-function)
505 (make-backup-file-name, make-backup-file-name--default-function)
506 (make-backup-file-name-1, find-backup-file-name)
507 (revert-buffer-function, revert-buffer-insert-file-contents-function)
508 (buffer-stale--default-function, buffer-stale-function)
509 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
510 (revert-buffer, revert-buffer--default)
511 (revert-buffer-insert-file-contents--default-function):
512 Doc fixes related to defaults no longer being nil.
513 (make-backup-file-name-function): Bump :version.
514 Restore nil as a valid but deprecated custom type.
515
516 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
519 used as a variable (bug#17174).
520
521 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * progmodes/perl-mode.el (perl-indent-new-calculate):
524 Handle forward-sexp failure (bug#16985).
525 (perl-syntax-propertize-function): Add "foreach" and "for" statement
526 modifiers introducing expressions (bug#17116).
527
528 2014-04-02 Glenn Morris <rgm@gnu.org>
529
530 * menu-bar.el (menu-bar-file-menu):
531 * vc/ediff.el (ediff-current-file):
532 Update for revert-buffer-function no longer being nil by default.
533
534 * simple.el (command-execute): Respect nil disabled-command-function.
535
536 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
537
538 * simple.el (command-execute): Do not execute the command when it
539 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
540
541 2014-03-29 Juri Linkov <juri@jurta.org>
542
543 * dired-aux.el (dired-compress-file): Don't use string-match-p
544 because its match data is used afterwards.
545
546 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
549 0 like nil.
550
551 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
552
553 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
554 Highlight special globals with font-lock-builtin-face. (Bug#17057)
555
556 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
557 Don't propertize `?' or `!' as symbol constituent when after
558 colon. (Bug#17097)
559
560 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
561
562 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
563 which is no longer needed and causes trouble in GTK builds (bug#17046).
564
565 * emacs-lisp/package-x.el (package--archive-contents-from-url):
566 Use url-insert-file-contents; package-handle-response no longer exists.
567
568 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
569
570 * emacs-lisp/package.el: Fix bug#16733 (again).
571 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
572 (url-http-target-url): Remove unused declarations.
573 (package-handle-response): Remove.
574 (package--with-work-buffer): Use url-insert-file-contents and simplify.
575 (package--download-one-archive): Use current-buffer instead of
576 dynamic binding of `buffer'.
577 (describe-package-1): Do not decode readme-string.
578
579 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
580
581 * simple.el (primitive-undo): Correction to 2014-03-24 change.
582
583 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
584
585 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
586
587 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
588 from 2014-03-07, it decreases performance unnecessarily. Let-bind
589 `remote-file-name-inhibit-cache' to nil in the second pass.
590 (tramp-find-executable): Do not call "which" on SunOS.
591 (tramp-send-command-and-check): Fix docstring.
592 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
593 check whether source directory has set the sticky bit.
594
595 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
596
597 * simple.el (primitive-undo): Only process marker adjustments
598 validated against their corresponding (TEXT . POS). Issue warning
599 for lone marker adjustments in undo history. (Bug#16818)
600 (undo-make-selective-list): Add marker adjustments to selective
601 undo list based on whether their corresponding (TEXT . POS) is in
602 the region. Remove variable adjusted-markers, which was unused
603 and only non nil during undo-make-selective-list.
604 (undo-elt-in-region): Return nil when passed a marker adjustment
605 and explain in function doc.
606
607 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
608
609 * emacs-lisp/package.el (package--add-to-archive-contents):
610 Include already installed and built-in packages in
611 `package-archive-contents'.
612 (package-install): Don't include already installed packages in the
613 options during interactive invocation. (Bug#16762)
614
615 2014-03-24 Daniel Colascione <dancol@dancol.org>
616
617 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
618 instead of cl-loop search function.
619
620 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
621
622 * frameset.el (frameset--initial-params): Fix typo in parameter name.
623
624 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
625
626 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
627
628 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
629
630 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
631 Match special global variables without curlies, too.
632 (ruby-font-lock-keywords): Simplify the matcher for special global
633 variables. Don't require a non-word character after the variable.
634 (Bug#17057)
635
636 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * simple.el (redisplay-highlight-region-function): Increase priority of
639 overlay to make sure boundaries are visible (bug#15899).
640
641 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
642
643 * frameset.el (frameset-restore): Compare display strings with equal.
644
645 * frame.el (make-frame): Don't quote display name in error message,
646 it is already a string.
647
648 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
649
650 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
651 the password.
652
653 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
654
655 * emacs-lisp/package.el (package-show-package-list): If the buffer
656 is already displayed in another window, switch to that window.
657
658 2014-03-21 Daniel Colascione <dancol@dancol.org>
659
660 * mail/emacsbug.el (report-emacs-bug): Include memory usage
661 information in bug reports.
662
663 2014-03-23 Daniel Colascione <dancol@dancol.org>
664
665 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
666 list to look for keyword arguments instead of `memq', fixing
667 (Bug#3647) --- unfortunately, only for freshly-compiled code.
668 Please make bootstrap.
669
670 2014-03-23 Richard Stallman <rms@gnu.org>
671
672 * battery.el (battery-linux-sysfs): Search for each field
673 from the beginning of the buffer.
674
675 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
676
677 * emacs-lisp/package.el (package-desc): Use the contents of the
678 quoted form, not its cdr. (Bug#16873)
679
680 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
681
682 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
683 benefit of doc.c; change parameter profile to match the X function.
684
685 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
686
687 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
688 and `tramp-copy-env'.
689
690 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
691 (tramp-maybe-open-connection): Handle `tramp-login-env'.
692
693 2014-03-21 Glenn Morris <rgm@gnu.org>
694
695 * electric.el (electric-indent-post-self-insert-function): Add doc.
696
697 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
698
699 * emacs-lisp/package.el (package-compute-transaction):
700 Use `version-list-<=' to compare the requirement version against
701 the version of package already to be installed. Update the error
702 message. (Bug#16826)
703
704 * progmodes/ruby-mode.el (ruby-smie-rules):
705 Add indentation rule for ` @ '. (Bug#17050)
706
707 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
708
709 * align.el (align-regexp): Remove superfluous backslash.
710
711 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
712 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
713 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
714 Fix docstring typos.
715 (ffap-next): Use C-u in docstring.
716 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
717 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
718 Remove superfluous backslashes.
719 (ffap-string-at-point): Reflow docstring.
720
721 * server.el (server-host): Reflow docstring.
722 (server-unload-function): Fix docstring typo.
723 (server-eval-at): Remove superfluous backslash.
724
725 * skeleton.el (skeleton-insert): Remove superfluous backslash.
726 (skeleton-insert): Doc fix.
727 (skeleton-insert): Reflow docstring.
728
729 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
730 (tty-color-approximate, tty-color-by-index, tty-color-values)
731 (tty-color-desc): Remove superfluous backslashes.
732
733 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * electric.el (electric-newline-and-maybe-indent): New command.
736 Bind it globally to C-j.
737 (electric-indent-mode): Don't mess with the global map any more.
738 Don't drop the post-self-insert-hook is some buffer is still using it
739 (bug#16770).
740
741 * bindings.el (global-map): Remove C-j binding.
742
743 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
744 the docstring of functions advised before dumping (bug#16993).
745
746 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
747
748 * ps-print.el (ps-generate-postscript-with-faces):
749 Explicitly deactivate the mark (bug#16866).
750 * simple.el (deactivate-mark): Update region highlight.
751
752 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
753
754 * emacs-lisp/package.el (describe-package-1):
755 Decode commentary (bug#16733).
756
757 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
758
759 * custom.el (defcustom): Doc fix: recommend avoiding destructive
760 modification of the value argument of :set (bug#16755).
761
762 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * simple.el (newline-and-indent): Do autofill (bug#17031).
765
766 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
767
768 * newcomment.el (comment-normalize-vars): Only add escaping check
769 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
770 (comment-beginning): Use `narrow-to-region' instead of moving back
771 one character.
772 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
773 (comment-start-skip): Update the docstring.
774
775 2014-03-18 Richard Stallman <rms@gnu.org>
776
777 * dired.el (dired-display-file): Force use of other window.
778
779 2014-03-18 Daniel Colascione <dancol@dancol.org>
780
781 * startup.el (tty-handle-args): Remove debug message from 2007.
782
783 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
786 (advice--make-interactive-form): Use it to avoid (auto)loading function.
787 (advice--make-1, advice-add, advice-remove):
788 Remove braindead :advice-pending hack.
789
790 2014-03-17 Glenn Morris <rgm@gnu.org>
791
792 * calendar/calendar.el (calendar-generate-month): Apply weekend
793 face to the right days; fixes 2013-08-06 change. (Bug#17028)
794
795 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
796
797 * net/tramp.el (tramp-action-out-of-band): Read pending output.
798 (tramp-call-process): Trace also DESTINATION.
799
800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
801 Quote file names when they are local. Remove superfluous trace.
802
803 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
804
805 * newcomment.el (comment-beginning): If `comment-start-skip'
806 doesn't match, move back one char and try again. (Bug#16971)
807
808 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
809 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
810 Set `comment-start-skip' to a simpler value that doesn't try to
811 check if the semicolon is escaped (this is handled by
812 `syntax-ppss' now). (Bug#16971)
813
814 * progmodes/scheme.el (scheme-mode-variables): Same.
815
816 2014-03-16 Martin Rudalics <rudalics@gmx.at>
817
818 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
819 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
820 current (Bug#16816, Bug#17007).
821 (with-current-buffer-window): New macro doing the same as
822 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
823 * help.el (help-print-return-message): Warn in doc-string to not
824 use this in `with-help-window'.
825 (describe-bindings-internal): Call `describe-buffer-bindings'
826 from within help buffer. See Juanma's scenario in (Bug#16816).
827 (with-help-window): Update doc-string.
828 * dired.el (dired-mark-pop-up):
829 * files.el (save-buffers-kill-emacs):
830 * register.el (register-preview): Use `with-current-buffer-window'
831 instead of `with-temp-buffer-window'.
832
833 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
834
835 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
836 Implement inserting into current buffer, documented in their docstrings.
837 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
838 (rst-section-tree-point, rst-forward-section, rst-indent)
839 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
840 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
841 (rst-font-lock-handle-adornment-pre-match-form)
842 (rst-repeat-last-character): Reflow docstrings.
843 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
844 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
845 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
846 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
847 Fix docstring typos.
848 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
849 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
850 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
851
852 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
853
854 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
855 for compatibility with other ports.
856 (ns-initialize-window-system): Use it. It is set in term/common-win.el
857 from the -xrm command line argument, but in the Nextstep port its value
858 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
859
860 * progmodes/python.el (defconst, python-syntax-count-quotes)
861 (python-indent-region, python-indent-shift-right)
862 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
863 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
864 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
865 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
866 (inferior-python-mode, python-shell-make-comint, run-python-internal)
867 (python-shell-buffer-substring, python-shell-send-buffer)
868 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
869 (python-completion-complete-at-point, python-fill-docstring-style)
870 (python-eldoc-function, python-imenu-format-item-label)
871 (python-imenu-format-parent-item-label)
872 (python-imenu-format-parent-item-jump-label)
873 (python-imenu--build-tree, python-imenu-create-index)
874 (python-imenu-create-flat-index): Fix docstring typos.
875 (python-indent-context, python-shell-prompt-regexp, run-python):
876 Remove superfluous backslashes.
877 (python-indent-line, python-nav-beginning-of-defun)
878 (python-shell-get-buffer, python-shell-get-process)
879 (python-info-current-defun, python-info-current-line-comment-p)
880 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
881 (python-indent-post-self-insert-function, python-shell-send-file)
882 (python-shell-completion-get-completions)
883 (python-shell-completion-complete-or-indent)
884 (python-eldoc--get-doc-at-point): Reflow docstrings.
885
886 2014-03-14 Glenn Morris <rgm@gnu.org>
887
888 * emacs-lisp/package.el (package-menu-mode-map):
889 Replace use of obsolete function alias. Tweak menu item text.
890
891 * info.el (Info-finder-find-node):
892 Ignore the `emacs' metapackage. (Bug#10813)
893
894 * finder.el (finder-list-matches): Include unversioned packages
895 in the result of a keyword search.
896
897 * finder.el (finder--builtins-descriptions): New constant.
898 (finder-compile-keywords): Use finder--builtins-descriptions.
899
900 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
901
902 * simple.el (blink-matching-paren): Describe the new value,
903 `jump', enabling the old behavior.
904 (blink-matching-open): Use that value. (Bug#17008)
905
906 2014-03-14 Glenn Morris <rgm@gnu.org>
907
908 * finder.el (finder-no-scan-regexp): Add leim-list.
909 (finder-compile-keywords):
910 Don't skip files with same basename. (Bug#14010)
911 * Makefile.in (setwins_finder): New, excluding leim.
912 (finder-data): Use setwins_finder.
913
914 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
915 (help-function-arglist, help-make-usage): Move from here...
916 * help.el (help-split-fundoc, help-add-fundoc-usage)
917 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
918 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
919
920 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
921
922 * net/socks.el (socks, socks-override-functions)
923 (socks-find-services-entry):
924 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
925 (hif-find-ifdef-block):
926 * progmodes/modula2.el (m2-indent): Fix docstring typos.
927
928 * net/tls.el (tls-program): Reflow docstring.
929
930 * progmodes/pascal.el (pascal-mode-abbrev-table)
931 (pascal-imenu-generic-expression, pascal-auto-endcomments)
932 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
933 (pascal-outline-mode): Fix docstring typos.
934 (pascal-mode): Let define-derived-mode document mode hook.
935 (pascal-uncomment-area): Reflow.
936 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
937
938 * progmodes/opascal.el (opascal-compound-block-indent)
939 (opascal-case-label-indent): Fix docstring typos.
940 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
941
942 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
943
944 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
945 Fontify multiple adjacent negation chars. (Bug#17004)
946
947 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
948
949 * emacs-lisp/package.el (package--prepare-dependencies):
950 Accept requirements without explicit version (bug#14941).
951
952 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
953
954 * register.el (register-separator, copy-to-register): Doc fixes.
955 (register-preview-default): Remove unnecessary call to concat.
956
957 * frameset.el (frameset-restore): When checking for a visible frame,
958 use the action map instead of calling visible-frame-list.
959
960 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
961
962 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
963
964 2014-03-12 Martin Rudalics <rudalics@gmx.at>
965
966 * window.el (fit-frame-to-buffer): Get maximum width from
967 display's width instead of height.
968
969 2014-03-12 Glenn Morris <rgm@gnu.org>
970
971 * desktop.el (desktop-restore-frames)
972 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
973 (desktop-restore-reuses-frames): Doc tweaks.
974
975 * electric.el (electric-indent-mode): Doc fix.
976
977 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
978
979 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
980 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
981 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
982 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
983 (cvs-dired-use-hook): Fix docstring typos.
984 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
985 Doc fixes.
986
987 * vc/pcvs-defs.el (cvs-auto-remove-handled)
988 (cvs-auto-remove-directories, cvs-default-ignore-marks)
989 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
990 (cvs-execute-single-dir): Fix docstring typos.
991
992 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
993 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
994
995 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
996
997 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
998 Fix docstring typos.
999
1000 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1001
1002 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1003 called from jump-to-register after unloading the frameset package.
1004
1005 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1008 (bug#16975). Deactivate the mark before setting it to nil.
1009 (activate-mark): Do nothing if region is already active.
1010
1011 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1012
1013 * frameset.el (frameset--target-display): Remove definition; declare.
1014 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1015
1016 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1019 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1020 when the advice is pending.
1021 (advice-remove): Remove this marker when not needed any more.
1022
1023 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1024
1025 * frameset.el: Separate options for reusing frames and cleaning up.
1026 (frameset--reuse-list): Remove definition; declare.
1027 (frameset--action-map): Declare.
1028 (frameset--find-frame-if): Doc fix.
1029 (frameset--restore-frame): Cache frame action.
1030 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1031 how to clean up the frame list after restoring. Remove cleaning
1032 options from REUSE-FRAMES. Change all keyword values to symbols.
1033 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1034
1035 * desktop.el (desktop-restore-forces-onscreen)
1036 (desktop-restore-reuses-frames): Use non-keyword values.
1037 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1038
1039 2014-03-10 Glenn Morris <rgm@gnu.org>
1040
1041 * files.el (find-file): Doc fix: update info node name.
1042
1043 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1044 Doc fix: remove references to deleted info nodes.
1045
1046 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1047
1048 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1049 Do not add `nil' to the environment, when there's no remote `locale'.
1050 (tramp-find-inline-encoding): Check, that the remote host has
1051 installed perl, before sending scripts.
1052
1053 2014-03-10 Leo Liu <sdl.web@gmail.com>
1054
1055 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1056 Clear eldoc-last-message. (Bug#16920)
1057
1058 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1061 (bug#14430).
1062
1063 2014-03-09 Juri Linkov <juri@jurta.org>
1064
1065 * ansi-color.el (ansi-color-names-vector): Copy default colors
1066 from `xterm-standard-colors' that look well on the default white
1067 background (and also on the black background) to avoid illegible
1068 color combinations like yellow-on-white and white-on-white.
1069 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1070
1071 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1072
1073 * frameset.el (frameset-restore): When no frame is visible, do not
1074 generate a list of frames, just make visible the selected one.
1075
1076 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1077
1078 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1079 it only contains the repository root. (Bug#16897)
1080
1081 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1082
1083 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1084 only when `remote-file-name-inhibit-cache' is nil.
1085 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1086
1087 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1088
1089 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1090 Fix doc-strings.
1091 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1092 fit-frame-to-buffer variable. Fix doc-string.
1093 (fit-window-to-buffer): Set ONLY argument in call of
1094 fit-frame-to-buffer. Fix doc-string.
1095
1096 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1097
1098 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1099 (tramp-action-password): Clear password cache if needed.
1100 (tramp-read-passwd): Do not clear password cache.
1101
1102 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1103 cache unless it is the first password request.
1104
1105 2014-03-06 Glenn Morris <rgm@gnu.org>
1106
1107 * simple.el (newline): Doc tweak.
1108
1109 * emacs-lisp/shadow.el (load-path-shadows-find):
1110 Ignore dir-locals. (Bug#12357)
1111
1112 2014-03-05 Glenn Morris <rgm@gnu.org>
1113
1114 * files.el (interpreter-mode-alist):
1115 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1116
1117 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1118
1119 * frameset.el (frameset--initial-params): Filter out null entries.
1120
1121 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1122
1123 * window.el (window-min-height, window-min-width):
1124 Rewrite doc-strings.
1125 (window-body-size): Add PIXELWISE argument to make it consistent
1126 with its callees.
1127
1128 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1129
1130 * finder.el (finder-mode-map, finder-mode-syntax-table):
1131 Revert part of 2014-02-28 change.
1132
1133 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1134
1135 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1136 (eww-setup-buffer): Clear next/prev/etc more reliably.
1137 (eww-textarea-map): [tab] doesn't work on tty.
1138 Reported by Mario Lang.
1139
1140 * net/shr.el (shr-map): Ditto.
1141
1142 2014-03-04 Glenn Morris <rgm@gnu.org>
1143
1144 * minibuffer.el (completion-hilit-commonality):
1145 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1146
1147 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1148
1149 * hilit-chg.el (hilit-chg-unload-function): New function.
1150 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1151 (hilit-chg-map-changes): Prefer cardinal number to digit.
1152 (hilit-chg-display-changes): Reflow docstring.
1153 (highlight-changes-rotate-faces): Remove superfluous backslash.
1154
1155 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1156
1157 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1158 `tramp-send-command-and-check'.
1159
1160 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1161
1162 * hexl.el (hexl-address-region, hexl-ascii-region)
1163 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1164 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1165 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1166 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1167 (hexl-mode): Doc fix.
1168 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1169 (hexl-mode-ruler): Fix typos in docstrings.
1170
1171 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1172 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1173 Remove superfluous backslashes.
1174 (strokes-last-stroke, strokes-global-map, strokes-mode):
1175 Reflow docstrings.
1176 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1177 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1178 (strokes-distance-squared, strokes-global-set-stroke)
1179 (strokes-global-set-stroke-string): Doc fixes.
1180 (strokes-help): Fix typos; reflow docstring.
1181
1182 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1183
1184 * window.el (window-in-direction): Fix doc-string.
1185
1186 2014-03-04 Glenn Morris <rgm@gnu.org>
1187
1188 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1189 Explicit error if no grammar.
1190 (smie-config-save): Doc fix. Fix quote typo.
1191
1192 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1195 electric-indent-mode-hook if we obey electric-indent-mode.
1196 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1197 decide whether we obey electric-indent-mode.
1198 (c-change-set-fl-decl-start, c-extend-after-change-region):
1199 Silence warnings.
1200 (c-electric-indent-mode-hook): Assume we do want to obey
1201 electric-indent-mode.
1202
1203 * electric.el (electric-indent-mode-has-been-called): Remove.
1204 (electric-indent-mode): Fix accordingly.
1205
1206 * files.el (hack-local-variables): Mention file name in warning.
1207
1208 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1209
1210 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1211
1212 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1213 * simple.el (delete-forward-char): Mark as interactive-only.
1214
1215 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1216
1217 * icomplete.el (icomplete-completions):
1218 Follow-up to 2014-03-01 change.
1219
1220 * icomplete.el: Miscellaneous doc fixes.
1221 Use Icomplete everywhere instead of icomplete for consistency.
1222 (icomplete-max-delay-chars): Fix typo.
1223 (icomplete-mode): Use \[].
1224 (icomplete-tidy, icomplete-exhibit): Reflow.
1225 (icomplete-minibuffer-setup-hook, icomplete-completions):
1226 Remove superfluous backlashes.
1227
1228 * ido.el: Miscellaneous doc fixes.
1229 Use Ido everywhere instead of ido or `ido' for consistency.
1230 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1231 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1232 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1233 (ido-separator): Extract obsolescence info from docstring and declare
1234 with make-obsolete-variable.
1235 (ido-minibuffer-setup-hook): Simplify example.
1236 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1237 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1238 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1239 (ido-everywhere): Reflow docstring.
1240 (ido-toggle-vc): Doc fix.
1241 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1242 of long list of keybindings.
1243
1244 2014-03-03 Glenn Morris <rgm@gnu.org>
1245
1246 * frame.el (display-pixel-height, display-pixel-width)
1247 (display-mm-dimensions-alist, display-mm-height)
1248 (display-mm-width): Doc tweaks.
1249
1250 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1251
1252 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1253 case of undo in region.
1254
1255 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1256
1257 * window.el (fit-window-to-buffer): Fix argument in window-size
1258 call when window is horizontally combined.
1259
1260 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1261
1262 * icomplete.el (icomplete-completions): Use string-width.
1263 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1264
1265 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1266
1267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1268 Highlight regexp options. (Bug#16914)
1269
1270 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1271
1272 * window.el (window--max-delta-1): Round down when calculating
1273 how many lines/columns we can get from a window.
1274
1275 2014-03-01 Glenn Morris <rgm@gnu.org>
1276
1277 * isearch.el (search-invisible): Doc fix.
1278
1279 * minibuffer.el (completion-hilit-commonality):
1280 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1281 * comint.el (comint-dynamic-list-completions): Doc fix.
1282 * comint.el (comint-dynamic-list-completions):
1283 * filecache.el (file-cache-minibuffer-complete):
1284 * tempo.el (tempo-display-completions):
1285 * eshell/em-hist.el (eshell-list-history):
1286 Replace use of obsolete argument of display-completion-list.
1287
1288 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1289
1290 * icomplete.el (icomplete-completions):
1291 Revert back to using "..." when ?… cannot be displayed.
1292
1293 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1294
1295 * finder.el (finder-unload-function): New function.
1296
1297 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1298
1299 * dframe.el (dframe-detach):
1300 * find-dired.el (find-dired, find-name-dired):
1301 * finder.el (finder-mode-map, finder-mode-syntax-table)
1302 (finder-headmark, finder-select, finder-mouse-select):
1303 Fix docstring typos.
1304
1305 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1306
1307 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1308 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1309 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1310 Fix doc-string based on a suggestion by Nicolas Richard
1311 <theonewiththeevillook@yahoo.fr>.
1312 * help.el (with-help-window): Fix doc-string.
1313
1314 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1315
1316 * net/shr.el (shr-image-animate): New option.
1317 (shr-put-image): Respect shr-image-animate.
1318
1319 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1320
1321 * net/tramp-adb.el (tramp-adb-parse-device-names):
1322 Use `accept-process-output'.
1323 (tramp-adb-handle-file-truename): Cache the localname only.
1324 (tramp-adb-handle-make-directory)
1325 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1326 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1327 modes cannot be changed.
1328
1329 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1330 file properties of symlinks.
1331
1332 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1333
1334 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1335 required/optional fields to match development biblatex. (Bug#16781)
1336
1337 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1338
1339 * saveplace.el (toggle-save-place):
1340 Fix argument handling. (Bug#16673)
1341
1342 2014-02-28 Glenn Morris <rgm@gnu.org>
1343
1344 * minibuffer.el (completions-first-difference)
1345 (completions-common-part, completion-hilit-commonality): Doc fixes.
1346
1347 2014-02-28 Karl Berry <karl@gnu.org>
1348
1349 * info.el (Info-mode-map): Add H for describe-mode,
1350 to synchronize with standalone Info.
1351
1352 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1353
1354 * progmodes/sql.el (sql-interactive-mode):
1355 Avoid setting global comint-input-ring-separator. (Bug#16814)
1356
1357 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1358
1359 * net/dbus.el (dbus--init-bus): Declare function.
1360 (dbus-path-local, dbus-interface-local): New defconst.
1361 (dbus-init-bus): Use them.
1362 (dbus-return-values-table): Extend doc.
1363 (dbus-handle-bus-disconnect): Extend error message.
1364
1365 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1366
1367 * subr.el (y-or-n-p): Fix double space issue in message.
1368
1369 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1370
1371 * net/tramp.el (tramp-call-process): Improve trace message.
1372 (tramp-handle-insert-file-contents): Trace error case.
1373
1374 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1375 <insert-directory>: Use `tramp-handle-insert-directory'.
1376 (tramp-adb-handle-insert-directory): Remove function.
1377 (tramp-adb-send-command-and-check): New defun, replacing
1378 `tramp-adb-command-exit-status'. Change all callees.
1379 (tramp-adb-handle-file-attributes)
1380 (tramp-adb-handle-directory-files-and-attributes): Use it.
1381 (tramp-adb-ls-output-name-less-p):
1382 Use `directory-listing-before-filename-regexp'.
1383 (tramp-adb-handle-delete-directory): Flush also file properties of
1384 the truename of directory.
1385 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1386 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1387 (tramp-adb-handle-write-region): Implement APPEND.
1388 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1389 properties correctly.
1390 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1391 variables. Check for connected devices only when needed.
1392
1393 2014-02-27 Glenn Morris <rgm@gnu.org>
1394
1395 * minibuffer.el (completion-table-dynamic)
1396 (completion-table-with-cache): Doc fixes.
1397
1398 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1399 (completing-read-multiple): Doc fixes.
1400
1401 2014-02-27 Daniel Colascione <dancol@dancol.org>
1402
1403 * minibuffer.el (completion--nth-completion): Fix indentation.
1404
1405 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1406 explicit tramp path is empty.
1407
1408 2014-02-27 Glenn Morris <rgm@gnu.org>
1409
1410 * emacs-lisp/crm.el (completing-read-multiple):
1411 Empower help-enable-auto-load.
1412
1413 2014-02-26 Glenn Morris <rgm@gnu.org>
1414
1415 * startup.el (command-line): Don't init the tty in daemon mode.
1416
1417 Avoid calling tty-setup-hook twice, eg if a term file
1418 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1419 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1420 (tty-create-frame-with-faces): Use it.
1421 * startup.el (command-line): Pass run-hook argument
1422 to tty-run-terminal-initialization.
1423
1424 * dired.el (dired-restore-desktop-buffer): Demote errors;
1425 eg in case a glob match fails. (Bug#16884)
1426
1427 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1428
1429 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1430 error from `read-from-string'. (Bug#16850)
1431
1432 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1433 result of `completing-read' in the interactive form. (Bug#16854)
1434
1435 2014-02-25 Glenn Morris <rgm@gnu.org>
1436
1437 * image.el (image-animate, image-animate-timeout):
1438 Stop animating images in dead buffers. (Bug#16878)
1439
1440 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1441
1442 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1443 Doc fixes.
1444 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1445 * term/sun.el (sun-raw-prefix-hooks):
1446 Use tty-setup-hook instead of term-setup-hook.
1447 (terminal-init-sun): Construct message from bytecomp plist.
1448 * term/wyse50.el (enable-arrow-keys): Doc fix.
1449
1450 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1451
1452 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1453 Fix docstring typos.
1454
1455 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1456
1457 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1458
1459 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1460
1461 * minibuffer.el (completion--try-word-completion):
1462 Fix error when completing M-x commands (bug#16808).
1463
1464 2014-02-24 Leo Liu <sdl.web@gmail.com>
1465
1466 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1467
1468 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1469
1470 * apropos.el (apropos-print): Avoid formatting error when
1471 apropos-do-all and apropos-compact-layout are both t.
1472
1473 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1474
1475 * apropos.el (apropos-property, apropos-all-words-regexp)
1476 (apropos-true-hit, apropos-variable, apropos-print):
1477 Fix docstring typos, and remove obsolete comment.
1478
1479 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1480
1481 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1482 Preserve trailing "/". (Bug#16851)
1483
1484 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1485
1486 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1487 after `=>' (bug#16811).
1488 (ruby-smie-rules): Handle the inconsistent second element of the
1489 list returned by `smie-indent--parent'.
1490 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1491 method call.
1492
1493 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1494
1495 * elec-pair.el (electric-pair-text-syntax-table)
1496 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1497 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1498 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1499 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1500
1501 2014-02-22 Glenn Morris <rgm@gnu.org>
1502
1503 * imenu.el (imenu--generic-function): Doc fix.
1504
1505 * register.el (frame-configuration-to-register): Make obsolete.
1506
1507 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1508
1509 * desktop.el (desktop-save-buffer-p): Do not fail when
1510 desktop-files-not-to-save is nil. Return t for true result
1511 as the doc says.
1512
1513 2014-02-22 Daniel Colascione <dancol@dancol.org>
1514
1515 * net/secrets.el (secrets-create-item, secrets-search-items):
1516 Check that attribute values are strings, avoiding the construction
1517 of invalid dbus messages.
1518
1519 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1520
1521 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1522 defun-declarations-alist.
1523
1524 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1527 (bug#16829).
1528
1529 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1530
1531 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1532 (whitespace-newline, whitespace-trailing, whitespace-line)
1533 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1534 (whitespace-space-after-tab): Fix typo in docstrings.
1535
1536 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1537
1538 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1539
1540 * electric.el (electric-indent-functions-without-reindent):
1541 Add `yaml-indent-line'.
1542
1543 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1544
1545 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1546 It has done nothing for years; should be removed after the release.
1547
1548 * simple.el (choose-completion): Fix docstring typo.
1549 (read-quoted-char-radix): Remove unneeded * in docstring.
1550 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1551 Don't escape parentheses unnecessarily in docstrings.
1552
1553 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1554
1555 Fix handling of window-min-height/-width (Bug#16738).
1556 * window.el (window--dump-window, window--dump-frame):
1557 New functions.
1558 (window--min-size-1): Account for window dividers.
1559 When window-resize-pixelwise is nil, delay rounding till after the
1560 sum of the window components has been calculated.
1561 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1562 nil make sure at least one text line and two text columns remain
1563 fully visible.
1564 (window-resize): Signal an error when window-resize-apply fails.
1565 (window--resize-child-windows): Fix calculation of by how many
1566 pixels a window can still be shrunk via window-new-normal.
1567 (adjust-window-trailing-edge): Call window--resizable with
1568 correct TRAIL argument.
1569
1570 (with-temp-buffer-window): Don't evaluate BODY within
1571 with-current-buffer (Bug#16816).
1572
1573 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp.el (tramp-check-cached-permissions):
1576 Call `file-attributes' with `suffix' being a symbol but a string.
1577
1578 2014-02-21 Daniel Colascione <dancol@dancol.org>
1579
1580 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1581 (dbus-init-bus): New function: call into dbus-init-bus-1
1582 and installs a handler for the disconnect signal.
1583 (dbus-call-method): Rewrite to look for result in cons.
1584 (dbus-call-method-handler): Store result in cons.
1585 (dbus-check-event): Recognize events with nil sender as valid.
1586 (dbus-handle-bus-disconnect): New function. React to bus
1587 disconnection signal by synthesizing dbus error for each
1588 pending synchronous or asynchronous call.
1589 (dbus-notice-synchronous-call-errors): New function.
1590 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1591 is true, not all the time.
1592
1593 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1594
1595 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1596 Remove obsolescence declarations, these variables do not exist anymore.
1597
1598 * savehist.el (savehist-save-minibuffer-history)
1599 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1600 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1601 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1602 mostly, refer to "Savehist mode" when talking about the mode,
1603 and not the function.
1604
1605 * saveplace.el (save-place): Remove redundant info in docstring.
1606 (save-place-forget-unreadable-files, toggle-save-place)
1607 (save-place-forget-unreadable-files, save-place-dired-hook):
1608 Fix typos and remove unneeded backslashes.
1609
1610 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1611
1612 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1613 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1614
1615 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1616 <insert-directory>: Use `tramp-handle-insert-directory'.
1617 (tramp-gvfs-handle-insert-directory): Remove function.
1618
1619 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1620 Call `tramp-handle-insert-directory'.
1621
1622 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1623
1624 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1625 before the start of buffer/region (bug#16799).
1626
1627 2014-02-20 Glenn Morris <rgm@gnu.org>
1628
1629 * isearch.el (search-invisible): Doc fix.
1630
1631 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1632
1633 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1634 (bug#16657).
1635
1636 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1637
1638 * frameset.el (frameset-restore): Delay removing an old frame's
1639 duplicate id until the new frame has been correctly created.
1640
1641 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1642
1643 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1644 (tramp-check-cached-permissions): Call `file-attributes' if the
1645 cache is empty.
1646
1647 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1648 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1649
1650 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1651 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1652 (tramp-gvfs-maybe-open-connection): Set always connection
1653 properties, even if target is mounted already.
1654
1655 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1656 Set tramp-autoload cookie.
1657 (tramp-get-remote-touch): New defun.
1658 (tramp-sh-handle-set-file-times): Use it.
1659 (tramp-sh-handle-directory-files-and-attributes):
1660 Use `tramp-handle-directory-files-and-attributes' if neither stat
1661 nor perl are available on the remote host.
1662
1663 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1664 "/". Write long listing only when "l" belongs to the switches.
1665
1666 * net/trampver.el: Update release number.
1667
1668 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1669
1670 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1671
1672 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1673
1674 * window.el (window-state-put): Allow WINDOW to refer to an
1675 internal window (Bug#16793).
1676
1677 2014-02-19 Glenn Morris <rgm@gnu.org>
1678
1679 * textmodes/remember.el: Move provide statement to end.
1680 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1681 (remember-notes): Doc fixes.
1682
1683 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * delsel.el (delete-char): Restore incorrectly erased property
1686 (bug#16795).
1687
1688 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1689
1690 * frameset.el (frameset--restore-frame): When a frame is being reused
1691 and its root window is not alive, delete all the frame's windows before
1692 restoring the window state. This works around the issue in bug#16793.
1693
1694 2014-02-18 Glenn Morris <rgm@gnu.org>
1695
1696 * textmodes/remember.el (remember-data-directory)
1697 (remember-directory-file-name-format, remember-store-in-files)
1698 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1699 (remember-notes-save-and-bury-buffer)
1700 (remember-notes--kill-buffer-query): Doc fixes.
1701
1702 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1703
1704 2014-02-17 Alan Mackenzie <acm@muc.de>
1705
1706 Connect electric-indent-mode up with CC Mode. Bug #15478.
1707 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1708 to electric-indent-{,local-}-mode.
1709 (c-basic-common-init): Set electric-indent-inhibit.
1710 Initialise c-electric-flag from electric-indent-mode.
1711 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1712 New hook functions which propagate electric-indent-mode to CC mode.
1713
1714 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1715 hit, toggle electric-indent-local-mode.
1716
1717 * electric.el (electric-indent-mode-has-been-called):
1718 New variable.
1719
1720 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1721
1722 * frameset.el (frameset-cfg-id): New function.
1723 (frameset--reuse-frame, frameset-restore): Use it.
1724 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1725
1726 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * ido.el (ido-file-internal): Remove unused var `d'.
1729 Use \` for to match BoS. Fit within 80n columns.
1730
1731 2014-02-17 Daniel Colascione <dancol@dancol.org>
1732
1733 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1734 dbus-call-method check for completion using a busy-wait loop with
1735 gradual backoff.
1736
1737 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1738
1739 Sync with Tramp 2.2.9.
1740
1741 * net/trampver.el: Update release number.
1742
1743 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1744
1745 * ido.el (ido-file-internal): Don't add the name of an existing
1746 directory twice. (Bug#16747)
1747
1748 2014-02-16 Glenn Morris <rgm@gnu.org>
1749
1750 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1751 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1752
1753 2014-02-15 Michael R. Mauger <michael@mauger.com>
1754
1755 * progmodes/sql.el: Version 3.4
1756 (sql-oracle-options): New default value ("-L").
1757 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1758 (sql-placeholders-filter): Correct placeholder pattern.
1759 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1760 (sql-login-delay): New variable.
1761 (sql-product-interactive): Use it.
1762
1763 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1764
1765 * frameset.el (frameset--jump-to-register): Check that buffer is live
1766 (bug#16749).
1767
1768 2014-02-15 Glenn Morris <rgm@gnu.org>
1769
1770 * info.el (info-initialize): Revert 2014-01-10 change.
1771
1772 2014-02-14 Glenn Morris <rgm@gnu.org>
1773
1774 * replace.el (map-query-replace-regexp)
1775 (read-regexp-defaults-function, read-regexp): Doc fixes.
1776
1777 * dired.el (dired-read-regexp):
1778 * faces.el (list-faces-display):
1779 * misearch.el (multi-isearch-read-matching-buffers)
1780 (multi-isearch-read-matching-files):
1781 * play/cookie1.el (cookie-apropos):
1782 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1783
1784 * textmodes/remember.el (remember): Use frameset-to-register
1785 rather than frame-configuration-to-register.
1786
1787 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1788
1789 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1790 incorrect keybinding.
1791
1792 2014-02-13 Daniel Colascione <dancol@dancol.org>
1793
1794 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1795 when adding overlays so that line numbers from compiler match line
1796 numbers we use.
1797
1798 2014-02-13 Glenn Morris <rgm@gnu.org>
1799
1800 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1801
1802 * jit-lock.el (jit-lock-mode): Doc fix.
1803
1804 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1805
1806 * apropos.el (apropos-read-pattern): When the user passes an empty
1807 string, give a more helpful error message than "Wrong type
1808 argument: stringp, nil".
1809
1810 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1813
1814 2014-02-13 Glenn Morris <rgm@gnu.org>
1815
1816 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1817
1818 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1821 shift-select commands.
1822
1823 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1824
1825 * progmodes/js.el (js-indent-line): Don't widen.
1826 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1827
1828 2014-02-12 Glenn Morris <rgm@gnu.org>
1829
1830 * icomplete.el (icomplete): Add info-link to defgroup.
1831 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1832 (icomplete-minibuffer-map, icomplete-mode)
1833 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1834
1835 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1836 (package-menu-filter): Rename from package-menu-filter-interactive.
1837 Doc fix.
1838
1839 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1840
1841 * frameset.el (frameset--jump-to-register): Select the required
1842 window and buffer before restoring position (bug#16696).
1843
1844 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1845
1846 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1847
1848 2014-02-10 Glenn Morris <rgm@gnu.org>
1849
1850 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1851
1852 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1853
1854 * w32-common-fns.el (x-get-selection): Doc fix.
1855 * select.el (x-get-selection): Doc fix. (Bug#15109)
1856
1857 * face-remap.el (face-remap-add-relative)
1858 (face-remap-remove-relative, face-remap-reset-base)
1859 (face-remap-set-base): Call force-mode-line-update to redisplay
1860 the current buffer due to potential change in faces. (Bug#16709)
1861
1862 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1863
1864 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1865 script more robustly.
1866
1867 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1868
1869 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1870
1871 * simple.el (choose-completion): Doc fix (bug#14160).
1872
1873 * subr.el (event-start): Say what a nil EVENT value means.
1874
1875 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1876 (bug#14197).
1877
1878 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1879
1880 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1881
1882 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1883
1884 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1885 predicate function (bug#15455).
1886
1887 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1888
1889 * ielm.el (inferior-emacs-lisp-mode): Instead of
1890 `comment-use-global-state', set `comment-use-syntax'.
1891
1892 2014-02-10 Glenn Morris <rgm@gnu.org>
1893
1894 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1895
1896 2014-02-09 Alan Mackenzie <acm@muc.de>
1897
1898 Fix c-invalidate-state-cache on narrowed buffers.
1899 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1900 Widen when setting and clearing the CPP delimiter properties.
1901
1902 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1903
1904 * help.el (describe-bindings): Doc fix (bug#9888).
1905
1906 * files.el (save-buffer): Use ARG as the parameter name for
1907 consistency (bug#10346).
1908 (save-buffer): Clarify the 0 argument (bug#10346).
1909
1910 * cus-edit.el (customize-apropos): Fix error string.
1911 (custom-buffer-create): Doc fix (bug#11122).
1912 (custom-sort-items): Doc fix (bug#11121).
1913
1914 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1915
1916 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1917 (icomplete-simple-completing-p): Mention the previous variable.
1918
1919 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1920 meaning of the parameter (bug#12282).
1921
1922 * files.el (find-file-noselect): Clarify prompt when changing
1923 readedness (bug#13261).
1924 (locate-file): Suffixes aren't returned, so don't say that they
1925 are (bug#12674).
1926 (backup-inhibited): Doc clarification (bug#12525).
1927
1928 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1929 before we actually start to delete things (bug#16331).
1930
1931 * subr.el (event-start): Doc fix (bug#14228).
1932 (event-end): Ditto.
1933
1934 2014-02-09 Glenn Morris <rgm@gnu.org>
1935
1936 * emacs-lisp/warnings.el (lwarn):
1937 Empower help-enable-auto-load. (Bug#15940)
1938
1939 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1940
1941 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1942 (Bug#16690)
1943
1944 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1945
1946 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1947 Insert output at end of buffer. (Bug#16120)
1948
1949 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1950
1951 * simple.el (choose-completion-string-functions): Document new
1952 calling convention (bug#14153).
1953 (execute-extended-command): Clarify doc string (bug#13373).
1954
1955 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1956
1957 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1958 (find-grep-dired): Doc fix (bug#14288).
1959
1960 2014-02-08 Juri Linkov <juri@jurta.org>
1961
1962 * isearch.el (isearch-quote-char): Check character validity
1963 like in `quoted-insert' (bug#16677).
1964
1965 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1966
1967 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1968
1969 * isearch.el (isearch-hide-immediately): Doc clarification
1970 (bug#14723).
1971
1972 * simple.el (line-move): Document utility function used many
1973 places in the Emacs sources (bug#14843).
1974
1975 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1976 (dired-prev-marked-file): Doc fix (bug#14855).
1977 (dired-up-directory): Doc fix (bug#14848).
1978
1979 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1980
1981 * files.el (file-relative-name): Doc fix (bug#15159).
1982
1983 * fringe.el (fringe-styles): Doc fix (bug#15239).
1984
1985 * isearch.el (isearch-filter-predicate): Documentation typo fix
1986 (bug#15474).
1987
1988 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1989
1990 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1991
1992 * replace.el (replace-match-maybe-edit): Doc clarification
1993 (bug#15632).
1994
1995 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1996
1997 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1998
1999 2014-02-08 Glenn Morris <rgm@gnu.org>
2000
2001 * help-fns.el (describe-variable):
2002 Check {file,dir}-local-variables-alist, and buffer-file-name,
2003 in the correct buffer.
2004
2005 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2006
2007 * help-fns.el (describe-variable): Fix the case where
2008 a value is directory-local with no dir-locals file. (Bug#16635)
2009
2010 2014-02-08 Glenn Morris <rgm@gnu.org>
2011
2012 * abbrev.el (edit-abbrevs-mode):
2013 Derive from fundamental-mode. (Bug#16682)
2014
2015 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2016
2017 * simple.el (quoted-insert): Check character validity (bug#16677).
2018
2019 2014-02-07 Juri Linkov <juri@jurta.org>
2020
2021 * desktop.el (desktop-read): Claim the lock when the owner is not
2022 the current process. (Bug#16157)
2023
2024 2014-02-07 Juri Linkov <juri@jurta.org>
2025
2026 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2027 to "\\` ". (Bug#16651)
2028
2029 2014-02-07 Juri Linkov <juri@jurta.org>
2030
2031 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2032 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2033 (desktop-auto-save-cancel-timer): New function with some code from
2034 `desktop-auto-save-set-timer'.
2035 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2036 Instead of setting `desktop-save-mode' to nil, call
2037 `desktop-save-mode' with arg 0. (Bug#16630)
2038
2039 2014-02-07 Glenn Morris <rgm@gnu.org>
2040
2041 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2042 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2043 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2044
2045 * obsolete/iswitchb.el: Move to obsolete/.
2046 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2047 since obsolete/ is not scanned for autoloads.
2048 * emacs-lisp/authors.el (authors-valid-file-names):
2049 Add iswitchb.el.
2050
2051 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2052 Disable now non-functional find-file-hook.
2053
2054 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2055
2056 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2057 instead of ";" in order to avoid additional prompts. Let heredoc
2058 scripts read from tty. (Bug#16582)
2059 (tramp-send-command): No special handling of heredocs, it isn't
2060 necessary anymore.
2061
2062 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2065 with a space (bug#16664). Limit the symbols considered to the ones
2066 that are bound or fbound (bug#16646).
2067
2068 2014-02-06 Glenn Morris <rgm@gnu.org>
2069
2070 * epa.el (epa-mail-aliases): Doc fix.
2071
2072 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2073
2074 * emacs-lisp/lisp.el (lisp-completion-at-point):
2075 Use `completion-table-merge' instead of `completion-table-in-turn'
2076 (bug#16604).
2077
2078 * minibuffer.el (completion-table-merge): New function.
2079
2080 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2081
2082 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2083 (tramp-sh-handle-set-file-acl)
2084 (tramp-sh-handle-start-file-process)
2085 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2086 (tramp-find-executable, tramp-send-command): Use it.
2087
2088 2014-02-05 Glenn Morris <rgm@gnu.org>
2089
2090 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2091
2092 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2093
2094 * progmodes/python.el (python-shell-send-string)
2095 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2096
2097 2014-02-04 Anders Lindgren <andlind@gmail.com>
2098
2099 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2100 the names (bug#16620).
2101
2102 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2103
2104 * faces.el (window-divider): New default value. Rewrite doc-string.
2105 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2106
2107 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2108
2109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2110 `protected' and `public' can also be called without arguments.
2111
2112 2014-02-03 Glenn Morris <rgm@gnu.org>
2113
2114 * register.el (window-configuration-to-register)
2115 (frame-configuration-to-register): Unadvertise unused argument.
2116 * frameset.el (frameset-to-register): Remove unused argument.
2117
2118 * frameset.el (frameset-to-register):
2119 * kmacro.el (kmacro-to-register):
2120 * register.el (increment-register):
2121 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2122 (calc-append-to-register, calc-prepend-to-register):
2123 * play/gametree.el (gametree-layout-to-register)
2124 (gametree-apply-register-layout):
2125 * textmodes/picture.el (picture-clear-rectangle-to-register)
2126 (picture-yank-rectangle-from-register):
2127 * vc/emerge.el (emerge-combine-versions-register):
2128 Use register-read-with-preview to read registers.
2129
2130 2014-02-03 João Távora <joaotavora@gmail.com>
2131
2132 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2133 when at beginning of (possibly narrowed) buffer.
2134
2135 2014-02-02 Daniel Colascione <dancol@dancol.org>
2136
2137 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2138 Also try to display local help from just before point.
2139
2140 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2141
2142 c-parse-state. Don't "append-lower-brace-pair" in certain
2143 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2144 recognised as a comment.
2145
2146 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2147 as well as normal comment starter.
2148 (c-parse-state-get-strategy): Extra return possibility
2149 'back-and-forward.
2150 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2151 return value list to indicate replacement of a brace-pair cons
2152 with its car.
2153 (c-parse-state-1): With 'back-and-forward, only call
2154 c-append-lower-brace-pair-to state-cache when cons-separated.
2155
2156 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2157
2158 * term/ns-win.el (ns-suspend-error): New function.
2159 (ns-initialize-window-system): Add ns-suspend-error to
2160 suspend-hook (Bug#16612).
2161
2162 2014-02-02 Daniel Colascione <dancol@dancol.org>
2163
2164 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2165 Make loading cc-mode silent.
2166
2167 2014-02-02 Daniel Colascione <dancol@dancol.org>
2168
2169 * comint.el (comint-prompt-read-only): Change doc to suggest
2170 remap keybinding.
2171
2172 2014-02-02 Glenn Morris <rgm@gnu.org>
2173
2174 * register.el (register-read-with-preview, point-to-register)
2175 (window-configuration-to-register, frame-configuration-to-register)
2176 (jump-to-register, number-to-register, view-register, insert-register)
2177 (copy-to-register, append-to-register, prepend-to-register)
2178 (copy-rectangle-to-register): Doc fixes.
2179
2180 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2183 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2184 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2185 * help-fns.el (describe-function-1): Use it.
2186
2187 2014-02-02 Glenn Morris <rgm@gnu.org>
2188
2189 * register.el (register-preview-default): New function,
2190 split from register-preview.
2191 (register-preview-function): Rename from register-preview-functions,
2192 make it not a hook.
2193 (register-preview): Use register-preview-function.
2194 (register-read-with-preview): Error on non-character event. (Bug#16595)
2195
2196 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2197
2198 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2199 `:' before binary operators (bug#16609). Don't check for `:'
2200 before `[' and `(', or their syntax status. A percent literal
2201 can't end with either.
2202 (ruby-font-lock-keywords): For built-ins that require arguments,
2203 check that they're followed by something that looks like argument
2204 (bug#16610).
2205
2206 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2207
2208 * subr.el (butlast): Document what an omitted N means (bug#13437).
2209 (nbutlast): Ditto.
2210
2211 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2212
2213 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2214 depth shallower (bug#16587).
2215 (shr-tag-svg): Respect `shr-inhibit-images'.
2216 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2217
2218 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2219
2220 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2221 (ruby-smie-grammar): Make "." right-associative. Make its priority
2222 lower than the ternary and all binary operators.
2223 (ruby-smie-rules): Indent "(" relative to the first non-"."
2224 parent, or the first "." parent at indentation.
2225 Use `ruby-align-chained-calls' for indentation of "." tokens.
2226 (Bug#16593)
2227
2228 2014-01-31 Juri Linkov <juri@jurta.org>
2229
2230 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2231 from `make-hash-table'.
2232
2233 * textmodes/ispell.el (ispell-init-process): Change message format
2234 to be consistent with other messages.
2235
2236 2014-01-31 Glenn Morris <rgm@gnu.org>
2237
2238 * delsel.el (delete-selection-mode): Doc fix.
2239
2240 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2241 (trace-function-background): Doc fixes.
2242
2243 * ido.el (ido-use-virtual-buffers): Doc fix.
2244 Reset :version, since the default value has not changed.
2245
2246 * register.el (register-preview-delay, register-read-with-preview):
2247 Doc fixes.
2248
2249 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2250 do not mess with mail-buffer position (fixes 2009-11-03 change).
2251 * progmodes/cc-mode.el (c-submit-bug-report):
2252 Check auto-fill-mode is bound. (Bug#16592)
2253
2254 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2255
2256 * startup.el (fancy-splash-image-file): New function,
2257 split from fancy-splash-head.
2258 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2259 so that we are both using the same image. (Bug#16574)
2260
2261 2014-01-30 Glenn Morris <rgm@gnu.org>
2262
2263 * simple.el (eval-expression): Doc fix.
2264
2265 * hexl.el (hexl-mode-hook):
2266 * ielm.el (ielm-mode-hook):
2267 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2268 (lisp-interaction-mode-hook):
2269 * progmodes/cfengine.el (cfengine3-documentation-function):
2270 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2271
2272 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2275 is a symbol (bug#16584).
2276
2277 2014-01-30 Glenn Morris <rgm@gnu.org>
2278
2279 * help.el (help-for-help-internal): Add "P" to text.
2280
2281 2014-01-29 Glenn Morris <rgm@gnu.org>
2282
2283 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2284
2285 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2286
2287 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2288 height constraints.
2289
2290 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2291
2292 * progmodes/hideif.el: Extend to full CPP expression syntax.
2293 (hif-token-alist): Add missing tokens.
2294 (hif-token-regexp): Add support for float/octal/hex immediates.
2295 (hif-string-literal-regexp): New const.
2296 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2297 (hif-exprlist): New function.
2298 (hif-parse-if-exp): Use it.
2299 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2300 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2301 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2302 (hif-logxor, hif-comma): New functions.
2303
2304 2014-01-28 Glenn Morris <rgm@gnu.org>
2305
2306 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2307
2308 * indent.el (tab-stop-list): Doc fix. Add :version.
2309
2310 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2311 (cvs-append-to-ignore): Add compatibility alias.
2312
2313 2014-01-27 Glenn Morris <rgm@gnu.org>
2314
2315 * dired.el (dired-hide-details-mode): Don't autoload it,
2316 since it cannot be used outside Dired buffers anyway.
2317
2318 * emulation/cua-base.el (cua-mode): Doc fix.
2319
2320 * dired.el (dired-hide-details-hide-symlink-targets)
2321 (dired-hide-details-hide-information-lines)
2322 (dired-hide-details-mode): Doc fixes.
2323
2324 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2325 * strokes.el (strokes-file): Doc fix. Bump :version.
2326 (strokes-help): Doc fix.
2327 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2328 * emulation/viper.el (viper): Doc fix for custom group.
2329 (top-level): Remove oh-so-no-longer-relevant text about vip.
2330 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2331
2332 * ido.el (ido-save-directory-list-file):
2333 * saveplace.el (save-place-file):
2334 * calendar/timeclock.el (timeclock-file):
2335 * net/quickurl.el (quickurl-url-file):
2336 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2337 * progmodes/idlwave.el (idlwave-config-directory):
2338 * textmodes/remember.el (remember-data-file):
2339 Bump :version.
2340
2341 2014-01-26 Glenn Morris <rgm@gnu.org>
2342
2343 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2344 Doc fix. Make obsolete.
2345 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2346
2347 * sort.el (delete-duplicate-lines): Doc fix.
2348
2349 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2350
2351 * progmodes/ada-mode.el (ada):
2352 * woman.el (woman): Link to info manual and Commentary section.
2353
2354 * progmodes/flymake.el (flymake):
2355 * nxml/nxml-mode.el (nxml):
2356 * net/eww.el (eww):
2357 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2358 * htmlfontify.el (htmlfontify):
2359 * ses.el (ses):
2360 * epa.el (epa):
2361 * ido.el (ido): Link to info manual.
2362
2363 2014-01-25 Leo Liu <sdl.web@gmail.com>
2364
2365 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2366
2367 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2368
2369 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2370 (bug#16537).
2371
2372 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2373
2374 * net/eww.el (eww-download-callback):
2375 Fix reference to eww-download-directory.
2376
2377 * emacs-lisp/bytecomp.el (byte-compile-file):
2378 Remove unused local variable `file-name'.
2379
2380 2014-01-24 Glenn Morris <rgm@gnu.org>
2381
2382 * woman.el (woman-default-faces, woman-monochrome-faces):
2383 Fix obsolescence specification.
2384
2385 * subr.el (with-demoted-errors): Doc fix.
2386
2387 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2390 (cl--macroexp-fboundp): New function.
2391 (cl--make-type-test): Use it.
2392
2393 2014-01-23 Glenn Morris <rgm@gnu.org>
2394
2395 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2396 * simple.el (eval-expression): Doc fixes.
2397
2398 2014-01-22 Glenn Morris <rgm@gnu.org>
2399
2400 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2401
2402 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * emacs-lisp/package.el: Write files silently.
2405 (package-autoload-ensure-default-file, package--write-file-no-coding)
2406 (package-generate-description-file, package--download-one-archive)
2407 (package-install-from-archive): Tell `write-region' to stay quiet.
2408 (package-menu-mode, package-menu--print-info): Omit the Archive column
2409 if there's only one archive.
2410 (package-all-keywords, package--has-keyword-p): Remove dead code.
2411
2412 2014-01-22 Glenn Morris <rgm@gnu.org>
2413
2414 * version.el (emacs-bzr-version-bzr): Fix typo.
2415
2416 * version.el (emacs-repository-get-version):
2417 Check either .bzr or .git, but not both.
2418 Make the git case actually use the DIR argument, and return nil
2419 rather than the empty string.
2420 Avoid error if .git exists but the git executable is not found.
2421
2422 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2423
2424 Fixes in window size functions around Bug#16430 and Bug#16470.
2425 * window.el (window-total-size, window-size): New argument ROUND.
2426 (window--min-delta-1, window-min-delta, window--max-delta-1):
2427 Be more conservative when calculating the numbers of lines or
2428 columns a window can shrink (Bug#16430).
2429 (fit-window-to-buffer): Simplify code.
2430 * term.el (term-window-width): Call window-body-width again.
2431
2432 2014-01-22 Glenn Morris <rgm@gnu.org>
2433
2434 * image.el (image-format-suffixes): Doc fix.
2435
2436 * international/quail.el (quail-define-package): Doc fix.
2437
2438 * emacs-lisp/authors.el (authors-valid-file-names)
2439 (authors-renamed-files-alist): Additions.
2440
2441 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2442 reverts 2014-01-09 change. (Bug#16422)
2443
2444 * calc/calc-embed.el (thing-at-point-looking-at):
2445 * emacs-lisp/map-ynp.el (x-popup-dialog):
2446 * obsolete/lmenu.el (x-popup-dialog):
2447 * emacs-lisp/package.el (url-recreate-url):
2448 * mail/mailclient.el (clipboard-kill-ring-save):
2449 * subr.el (x-popup-dialog): Update declaration.
2450 * mail/rmail.el (rmail-mime-message-p):
2451 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2452
2453 2014-01-21 Daniel Colascione <dancol@dancol.org>
2454
2455 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2456 Correctly detect when we're inside an arithmetic expansion form
2457 containing nested parenthesis.
2458 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2459 to detect cases where we shouldn't expand "<<" to a heredoc
2460 skeleton.
2461
2462 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2465 (eldoc--message-command-p): New function.
2466 (eldoc-display-message-p): Use it.
2467 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2468 message is not automatically erased for us.
2469 (eldoc-print-current-symbol-info): Erase previous message, if any.
2470
2471 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2472
2473 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2474 specify it's an interactive function.
2475
2476 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2477 Fix regex used for scanning for citation keys which failed for
2478 citations with optional arguments.
2479
2480 2014-01-21 Leo Liu <sdl.web@gmail.com>
2481
2482 * simple.el (read--expression): Don't enable eldoc-mode.
2483
2484 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * simple.el (move-beginning-of-line): Make sure we don't move forward
2487 (bug#16497).
2488
2489 2014-01-20 Juri Linkov <juri@jurta.org>
2490
2491 * saveplace.el (toggle-save-place, save-place-to-alist)
2492 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2493 'dired-mode) before checking for dired-directory. (Bug#16477)
2494
2495 2014-01-20 Juri Linkov <juri@jurta.org>
2496
2497 * indent.el (indent-line-to): Use backward-to-indentation
2498 instead of back-to-indentation. (Bug#16461)
2499
2500 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2501
2502 Revert some of the CANNOT_DUMP fix (Bug#16494).
2503 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2504 but fixing this can wait until after the next release.
2505 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2506
2507 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2508
2509 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2510 Use `password-word-equivalents'.
2511 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2512 to t. (Bug#5664, Bug#13124)
2513
2514 2014-01-19 Alan Mackenzie <acm@muc.de>
2515
2516 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2517 points.
2518 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2519 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2520 * progmodes/cc-mode.el (c-before-change, c-after-change)
2521 (c-font-lock-fontify-region): Bind it here.
2522
2523 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2524
2525 * term.el (term-window-width): Call window-text-width instead of
2526 window-width (Bug#16470).
2527
2528 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2529
2530 * simple.el (password-word-equivalents): Remove duplicates.
2531 Sort, to make this easier next time.
2532 Downcase. Omit ": " after "jelszó".
2533
2534 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2535
2536 * term/common-win.el (saved-region-selection): Defvar it.
2537 (x-select-text): Set saved-region-selection (Bug#16382).
2538
2539 2014-01-18 Glenn Morris <rgm@gnu.org>
2540
2541 * emacs-lisp/authors.el (authors-aliases)
2542 (authors-renamed-files-alist): Add some entries.
2543
2544 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2545
2546 * net/tramp.el (tramp-password-prompt-regexp):
2547 Use `password-word-equivalents' if available.
2548 (tramp-action-password, tramp-process-one-action)
2549 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2550
2551 2014-01-17 Chong Yidong <cyd@gnu.org>
2552
2553 * simple.el (password-word-equivalents): New defcustom.
2554 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2555 to 24.4.
2556 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2557 to t. (Bug#13124)
2558
2559 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2560
2561 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2562 (ruby-align-to-stmt-keywords): Change the default value.
2563 Use `ruby-alignable-keywords' to generate the possible customization
2564 choices.
2565 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2566 keywords, check against the value of `ruby-alignable-keywords'
2567 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2568
2569 2014-01-17 Glenn Morris <rgm@gnu.org>
2570
2571 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2572
2573 Make M-x authors return zero *Authors Errors* from current logs.
2574 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2575 (authors-ignored-files): Add some entries, remove others.
2576 (authors-ambiguous-files, authors-valid-file-names):
2577 Add some entries.
2578 (authors-renamed-files-alist): Add, remove, and adjust entries.
2579 (authors-renamed-files-regexps): Add some entries.
2580 Remove some very broad ones. Make some entries `lax'.
2581 (authors-lax-changelogs): New constant.
2582 (authors-disambiguate-file-name): Treat top-level specially.
2583 (authors-lax-changelog-p): New function.
2584 (authors-canonical-file-name): Check file as written against
2585 authors-valid-file-names. Do not special-case etc/.
2586 Handle `lax' logs and authors-renamed-files-regexps elements.
2587
2588 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2589
2590 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2591 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2592 callers.
2593
2594 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2597 Assume we're already in the proper buffer.
2598 Inspired by Anders Lindgren <andlind@gmail.com>.
2599 (follow-post-command-hook): Call it from the right buffer.
2600 (follow-comint-scroll-to-bottom): Adjust call.
2601 (follow-all-followers): Use get-buffer-window-list.
2602
2603 2014-01-15 Daniel Colascione <dancol@dancol.org>
2604
2605 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2606 `buffer-file-name' in interactive-form so that we don't leave
2607 pathless file names in `file-name-history'.
2608
2609 2014-01-15 Juri Linkov <juri@jurta.org>
2610
2611 * indent.el (indent-rigidly): Set deactivate-mark to nil
2612 in transient indentation mode. (Bug#16438)
2613
2614 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2615
2616 * emacs-lisp/package.el (package-desc-keywords): New function
2617 (Bug#16222).
2618 (describe-package-1, package-all-keywords)
2619 (package--has-keyword-p): Use it.
2620
2621 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2622
2623 * simple.el (define-alternatives): When creating the
2624 COMMAND-alternatives variable, assign COMMAND as its definition
2625 name so that `describe-variable' can relocate it.
2626
2627 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2628
2629 * font-lock.el (font-lock-keywords): Fix typo in docstring
2630 (bug#16307).
2631
2632 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2633
2634 * ispell.el (ispell-region): Reset `in-comment' for new line
2635 instead of wrongly reset `add-coment' (bug#13577).
2636
2637 2014-01-14 Daiki Ueno <ueno@gnu.org>
2638
2639 * epa-file.el (epa-file-write-region): Encode the region according
2640 to `buffer-file-format'. Problem reported at:
2641 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2642
2643 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2644
2645 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2646 so it applies in the right buffer (bug#16410).
2647
2648 2014-01-13 Daniel Colascione <dancol@dancol.org>
2649
2650 * textmodes/rst.el (rst-define-key): Provide deprecated
2651 keybindings through named functions instead of anonymous ones so
2652 that "??" doesn't appear in describe-mode output.
2653
2654 2014-01-13 Bastien Guerry <bzg@gnu.org>
2655
2656 * simple.el (define-alternatives): Call the selected command
2657 interactively. When setting `COMMAND--implementation' for the
2658 first time, tell the user how to chose another implementation.
2659 Enhance the docstring.
2660
2661 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2664 (log-edit--match-first-line): New function.
2665 (log-edit-font-lock-keywords): Use it.
2666 (log-edit-mode): Make jit-lock-defer-multiline work.
2667
2668 2014-01-13 Bastien Guerry <bzg@gnu.org>
2669
2670 * rect.el (rectangle-mark-mode): When the region is not active,
2671 display a message saying that the mark as been set and that
2672 rectangle mode is in use.
2673 (rectangle--highlight-for-redisplay): Only put an overlay with a
2674 visible vertical bar when (display-graphic-p) is non-nil.
2675 This partially fixes Bug#16403.
2676
2677 2014-01-13 Juri Linkov <juri@jurta.org>
2678
2679 * info.el (Info-find-file): Go to DIR before displaying the error
2680 about a nonexistent file if no previous Info file is visited.
2681 Use `user-error' instead of `error' for "Info file %s does not exist".
2682 (Info-find-node-2): In case of a nonexistent node in unwind forms
2683 go to the Top node if there is no previous node to revert to.
2684 (Bug#16405)
2685
2686 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2687
2688 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2689 * window.el (fit-frame-to-buffer): Fix doc-string.
2690 Respect window-min-height/-width. Fit pixelwise when
2691 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2692 when avoiding that frame goes partially off-screen.
2693 (fit-window-to-buffer): Respect window-min-height/-width
2694 (Bug#14096).
2695
2696 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2697
2698 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2699 after an empty line.
2700
2701 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * net/shr.el (shr-render-region): Autoload.
2704
2705 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2706
2707 * net/eww.el (eww-download-directory): Rename from
2708 `eww-download-path' (Bug#16419).
2709
2710 2014-01-12 Leo Liu <sdl.web@gmail.com>
2711
2712 * dired-x.el (dired-mode-map): Fix last change.
2713
2714 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2715
2716 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2717
2718 Spelling fixes.
2719 * emacs-lisp/generic.el (generic--normalize-comments):
2720 Rename from generic--normalise-comments. All uses changed.
2721 * play/bubbles.el (bubbles--neighborhood-score)
2722 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2723 (bubbles--neighborhood-available)
2724 (bubbles--update-neighborhood-score):
2725 Rename from names with 'neighbourhood'. All uses changed.
2726
2727 2014-01-12 Leo Liu <sdl.web@gmail.com>
2728
2729 Re-implement the feature of showing eldoc info after editing.
2730 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2731 (eldoc-edit-message-commands): New function.
2732 (eldoc-print-after-edit): New variable.
2733 (eldoc-pre-command-refresh-echo-area): Emit message only by
2734 eldoc-message-commands.
2735 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2736 if eldoc-print-after-edit is set. (Bug#16346)
2737 * simple.el (read--expression): Enable eldoc-mode.
2738 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2739
2740 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2741 Eric S. Raymond <esr@thyrsus.com>
2742
2743 * version.el (emacs-repository-get-version): Enhance so the
2744 function works correctly in either a Bazaar or Git repo.
2745
2746 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2747
2748 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2749 Goes with removal of the joke manpages from /etc.
2750
2751 2014-01-10 Kenichi Handa <handa@gnu.org>
2752
2753 * mail/rmail.el (rmail-get-coding-system):
2754 Check rmail-get-coding-function before "funcall"ing it.
2755
2756 2014-01-10 Glenn Morris <rgm@gnu.org>
2757
2758 * emacs-lisp/authors.el (authors-fixed-entries):
2759 Update for files that no longer exist.
2760
2761 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2762
2763 * version.el (emacs-bzr-get-version): Restore compatibilty with
2764 24.3 (Tested).
2765
2766 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2767
2768 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2769 and Podfile.
2770
2771 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2772
2773 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2774
2775 2014-01-10 Chong Yidong <cyd@gnu.org>
2776
2777 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2778
2779 2014-01-10 Anders Lindgren <andlind@gmail.com>
2780
2781 * follow.el (follow-cache-command-list): Include right-char and
2782 left-char.
2783
2784 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2785
2786 Spelling fixes.
2787 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2788 * woman.el (woman-mark-horizontal-position):
2789 Rename from woman-mark-horizonal-position. Use changed.
2790
2791 2014-01-10 Glenn Morris <rgm@gnu.org>
2792
2793 * info.el (info-initialize): If running uninstalled, ensure our
2794 own info files are always found first, even if INFOPATH is set.
2795
2796 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2797
2798 2014-01-09 David Engster <deng@randomsample.de>
2799
2800 * emacs-lisp/eieio-custom.el:
2801 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2802 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2803 * emacs-lisp/eieio.el: Regenerate autoloads.
2804
2805 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2806
2807 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2808 following renames. (Bug#8756)
2809
2810 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2813 (bug#16382).
2814 (activate-mark): Add `no-tmm' argument.
2815 (set-mark, push-mark-command): Use it instead of running
2816 activate-mark-hook by hand.
2817
2818 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2819
2820 In preparation for the move to git, sanitize out some
2821 Bazaar-specific names.
2822
2823 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2824
2825 * version.el (emacs-bzr-version): Name changed to
2826 emacs-repository-version. Obsolete-variable alias made.
2827 * loadup.el: Follow through on this name change.
2828 * mail/emacsbug.el (report-emacs-bug): Factor out any
2829 assumption about the version control system in use.
2830
2831 2014-01-08 David Engster <deng@randomsample.de>
2832
2833 * help-fns.el (help-fns-describe-function-functions):
2834 New variable to call functions for augmenting help buffers.
2835 (describe-function-1): Remove explicit calls to
2836 `help-fns--compiler-macro', `help-fns--parent-mode' and
2837 `help-fns--obsolete'. Put them in above new variable instead, and
2838 call them through `run-hook-with-args'.
2839 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2840 `eieio-describe-class'. Not meant for interactive use anymore,
2841 but to augment existing help buffers. Remove optional second
2842 argument. Create proper button for file location.
2843 Rewrite function to use `insert' instead of `princ' and `prin1' where
2844 possible.
2845 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2846 (eieio-method-def, eieio-class-def): Move further up.
2847 (describe-method, describe-generic, eieio-describe-method):
2848 Remove aliases.
2849 (eieio-help-constructor, eieio-help-generic): Rename from
2850 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2851 Rewrite to use `insert' in the current buffer and use proper help
2852 buttons.
2853 (eieio-help-find-method-definition)
2854 (eieio-help-find-class-definition): Also accept symbols as
2855 arguments.
2856 (eieio-help-mode-augmentation-maybee): Remove.
2857 (eieio-describe-class-sb): Use `describe-function'.
2858 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2859 Add `eieio-help-generic' and `eieio-help-constructor'.
2860
2861 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2862
2863 Spelling fixes.
2864 * language/china-util.el (hz-ascii-designation):
2865 Rename from hz-ascii-designnation.
2866 (hz-ascii-designation): Rename from hz-ascii-designnation.
2867 All uses changed.
2868
2869 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2870
2871 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2872 package-alist.
2873
2874 2014-01-08 Bastien Guerry <bzg@gnu.org>
2875
2876 * emacs-lisp/package.el (package-delete):
2877 Correctly delete the package from package-alist.
2878
2879 2014-01-08 Daiki Ueno <ueno@gnu.org>
2880
2881 * emacs-lisp/package.el (url-recreate-url): Declare.
2882 (url-http-target-url): Declare.
2883 (package-handle-response): Include requested URL in the error message.
2884 (package--check-signature): Don't re-signal errors from
2885 package--with-work-buffer. Suggested by Stefan Monnier.
2886
2887 2014-01-07 Bastien Guerry <bzg@gnu.org>
2888
2889 * minibuffer.el (completion--try-word-completion): When both a
2890 hyphen and a space are possible candidates for the character
2891 following a word, display both candidates. (Bug#15980)
2892
2893 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2894
2895 * window.el (balance-windows-2): While rounding don't give a
2896 window more than the remainder. Bug#16351, bug#16383.
2897
2898 2014-01-07 Glenn Morris <rgm@gnu.org>
2899
2900 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2901 (menu-bar-help-menu): Use view-external-packages instead.
2902
2903 2014-01-07 Bastien Guerry <bzg@gnu.org>
2904
2905 * emacs-lisp/package.el (package-delete): Also delete the package
2906 name from `package-alist', not its description only.
2907
2908 2014-01-07 Glenn Morris <rgm@gnu.org>
2909
2910 * help.el (view-external-packages):
2911 * menu-bar.el (menu-bar-help-extra-packages):
2912 Visit efaq.info rather than etc/MORE.STUFF.
2913
2914 2014-01-07 Juri Linkov <juri@jurta.org>
2915
2916 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2917 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2918
2919 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2920 that shadows RET. (Bug#16342)
2921
2922 2014-01-07 Chong Yidong <cyd@gnu.org>
2923
2924 * isearch.el (isearch-yank-char, isearch-yank-word)
2925 (isearch-yank-line): Doc fix.
2926
2927 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2930 * emacs-lisp/elint.el (elint-find-builtins):
2931 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2932 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2933 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2934 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2935 * apropos.el (apropos-safe-documentation):
2936 * subr.el (symbol-file): Remove redundant fboundp.
2937 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2938
2939 2014-01-06 Bastien Guerry <bzg@gnu.org>
2940
2941 * hl-line.el (global-hl-line-overlay): Make a local variable.
2942 (global-hl-line-overlays): New variable to store all overlays.
2943 (global-hl-line-mode): Don't delete overlays from the current
2944 buffer when `global-hl-line-sticky-flag' is non-nil.
2945 (global-hl-line-highlight): Add new overlays to
2946 `global-hl-line-overlays'.
2947 (global-hl-line-unhighlight-all): New function to delete all
2948 overlays when turning off `global-hl-line-mode'.
2949 This fixes Bug#16183.
2950
2951 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * subr.el (set-transient-map): Fix nested case and docstring.
2954
2955 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2956
2957 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2958 `Texinfo' entry.
2959
2960 2014-01-06 Daniel Colascione <dancol@dancol.org>
2961
2962 Fix defun navigation in vc log view.
2963
2964 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2965 like `beginning-of-defun'.
2966 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2967 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2968 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2969 (log-view-extract-comment): Call `log-view-current-entry' directly
2970 instead of relying on broken `log-view-beginning-of-defun' behavior.
2971
2972 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2973
2974 Spelling fixes.
2975 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2976 * emacs-lisp/debug.el (cancel-debug-on-entry):
2977 * epg.el (epg-error-to-string):
2978 * files.el (recover-file):
2979 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2980 * mail/emacsbug.el (report-emacs-bug-hook):
2981 * mail/sendmail.el (mail-recover):
2982 * ses.el (ses-yank-resize):
2983 * term/ns-win.el (ns-print-buffer):
2984 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2985 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2986 All uses changed.
2987 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2988
2989 2014-01-06 Leo Liu <sdl.web@gmail.com>
2990
2991 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2992 to avoid shadowing global key. (Bug#16354)
2993
2994 2014-01-06 Daniel Colascione <dancol@dancol.org>
2995
2996 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2997 rst-mode.
2998
2999 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3000
3001 * window.el (balance-windows): Add mising t to fix Bug#16351.
3002
3003 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3004
3005 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3006 (bug#16285).
3007 (shr-insert): If we have a word that's longer than `shr-width',
3008 break after it anyway. Otherwise we'll do no breaking once we get
3009 such a long word.
3010
3011 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3012
3013 * net/eww.el (eww): Support single/double quote for search.
3014 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3015 (eww-history-quit): Delete and use quit-window.
3016 (eww-history-kill): Delete, because it doesn't work well and
3017 not necessary.
3018 (eww-history-mode-map): Delete some keys and add easy-menu.
3019
3020 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3021
3022 Fix misspelling of 'chinese' in rx (Bug#16237).
3023 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3024 chinese-two-byte.
3025
3026 Change subword regexps back to vars (Bug#16296).
3027 * progmodes/subword.el (subword-forward-regexp)
3028 (subword-backward-regexp): Change these back to variables.
3029
3030 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3033 syntax-begin-function (bug#16247).
3034
3035 2014-01-03 Chong Yidong <cyd@gnu.org>
3036
3037 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3038 (advice--docstring): Delete variable.
3039 (advice--make-1): Leave the docstring empty.
3040 (advice-add): Use function-documentation for advised docstring.
3041
3042 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3043 Ignore function-documentation property when getting documentation.
3044 (ad-activate-advised-definition): Use function-documentation
3045 generate the docstring.
3046 (ad-make-advised-definition): Don't call
3047 ad-make-advised-definition-docstring.
3048 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3049 Delete functions.
3050
3051 * progmodes/sql.el (sql-help): Use function-documentation instead
3052 of dynamic-docstring-function property. No need to autoload now.
3053 (sql--help-docstring): New variable.
3054 (sql--make-help-docstring): Use it.
3055
3056 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * ielm.el (ielm-tab): Retarget.
3059 (ielm-map): Use ielm-tab for tab.
3060 (ielm-complete-filename): Use comint-filename-completion.
3061 (ielm-complete-symbol): Remove.
3062 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3063 remove ielm-tab from completion-at-point-functions (bug#16224).
3064
3065 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3066 Beware signals raised by predicates (bug#16201).
3067
3068 2014-01-02 Richard Stallman <rms@gnu.org>
3069
3070 * dired-aux.el (dired-do-print): Handle printer-name.
3071
3072 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3073 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3074 (rmail-epa-decrypt): Turn off mime processing.
3075
3076 * mail/rmail.el (rmail-make-in-reply-to-field):
3077 Add parens in message-id.
3078
3079 * mail/rmail.el (rmail-get-coding-function): Variable.
3080 (rmail-get-coding-system): Use it.
3081
3082 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3083
3084 * international/mule-conf.el: Unify the charset indian-is13194.
3085 (indian-is13194): Specify unify-map.
3086
3087 2013-12-31 Leo Liu <sdl.web@gmail.com>
3088
3089 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3090
3091 2013-12-30 Daniel Colascione <dancol@dancol.org>
3092
3093 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3094 of printing a useless when we resume from sleep.
3095
3096 * progmodes/sh-script.el
3097 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3098 in indentation code. (Bug#16233)
3099
3100 2013-12-28 João Távora <joaotavora@gmail.com>
3101
3102 * elec-pair.el (electric-pair-post-self-insert-function):
3103 Don't open extra newlines at beginning of buffer. (Bug#16272)
3104
3105 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3106
3107 * frame.el (window-system-for-display): Don't allow to create a
3108 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3109
3110 2013-12-28 Glenn Morris <rgm@gnu.org>
3111
3112 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3113 Update callers.
3114
3115 * apropos.el (apropos-match-face):
3116 * calculator.el (calculator-displayer):
3117 * dabbrev.el (dabbrev-search-these-buffers-only):
3118 * face-remap.el (buffer-face-mode-face):
3119 * simple.el (yank-handled-properties):
3120 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3121 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3122 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3123 (hashcash-double-spend-database):
3124 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3125 (ruby-deep-indent-paren-style):
3126 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3127 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3128 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3129 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3130 Specify custom types.
3131
3132 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3133 * bookmark.el (bookmark-bmenu-use-header-line):
3134 * doc-view.el (doc-view-scale-internally):
3135 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3136 * register.el (register-preview-delay):
3137 * net/shr.el (shr-bullet):
3138 * progmodes/cfengine.el (cfengine-cf-promises)
3139 (cfengine-parameters-indent):
3140 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3141 * textmodes/reftex-vars.el (reftex-label-regexps):
3142 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3143
3144 * net/tls.el (tls-certtool-program): Fix default value.
3145
3146 * desktop.el (desktop-restore-in-current-display):
3147 * newcomment.el (comment-empty-lines):
3148 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3149 (idlwave-pad-keyword):
3150 * progmodes/tcl.el (tcl-tab-always-indent):
3151 * textmodes/reftex-vars.el (reftex-index-default-tag):
3152 * elec-pair.el (electric-pair-skip-whitespace):
3153 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3154
3155 * emacs-lisp/authors.el (authors-ignored-files)
3156 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3157
3158 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3159
3160 * shell.el (shell-dynamic-complete-command): Doc fix.
3161 (shell--command-completion-data): Shell completion now matches
3162 executable filenames from the current buffer's directory, on
3163 systems in which this behavior is the default (windows-nt, ms-dos).
3164
3165 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3166
3167 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3168
3169 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3172 (bug#16251).
3173
3174 * electric.el: Move all electric-pair-* to elec-pair.el.
3175 * elec-pair.el: New file, split from electric.el.
3176
3177 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3178
3179 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3180 indentation level is larger than the width, because that will
3181 infloop.
3182 (shr-insert): Fill repeatedly long texts, so that Japanese is
3183 formatted correctly (bug#16263).
3184 (shr-find-fill-point): Off by one error in comparison with the
3185 indentation.
3186
3187 2013-12-26 João Távora <joaotavora@gmail.com>
3188
3189 * electric.el (electric-pair-mode): More flexible engine for skip-
3190 and inhibit predicates, new options for pairing-related functionality.
3191 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3192 if that keeps or improves their balance in buffers.
3193 (electric-pair-delete-adjacent-pairs): Delete the pair when
3194 backspacing over adjacent matched delimiters.
3195 (electric-pair-open-extra-newline): Open extra newline when
3196 inserting newlines between adjacent matched delimiters.
3197 (electric--sort-post-self-insertion-hook):
3198 Sort post-self-insert-hook according to priority values when
3199 minor-modes are activated.
3200 * simple.el (newline-and-indent): Call newline with interactive
3201 set to t.
3202 (blink-paren-post-self-insert-function): Set priority to 100.
3203 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3204 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3205 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3206 electric-pair-open-newline-between-pairs to nil.
3207
3208 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3209
3210 * progmodes/python.el: Use lexical-binding.
3211 (python-nav-beginning-of-defun): Stop searching ASAP.
3212
3213 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3214
3215 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3216 Fix interactive spec. Doc fix. (Bug#15754)
3217
3218 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3219
3220 * emacs-lisp/byte-run.el (eval-when-compile):
3221 * progmodes/cc-defs.el (cc-eval-when-compile):
3222 Fix edebug spec (bug#16184).
3223
3224 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3225
3226 * net/shr.el (shr-visit-file): Remove debugging function.
3227 (shr-insert): Don't infloop if we can't find a good place to break
3228 the line (bug#16256).
3229
3230 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3231
3232 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3233 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3234 python-nav-lisp-forward-sexp-safe.
3235 (python-nav--forward-sexp): New argument SAFE allows switching
3236 forward sexp movement behavior for parens.
3237 (python-nav-forward-sexp): Throw errors on unterminated parens
3238 (Bug#16191).
3239 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3240 (python-nav-backward-sexp-safe): New functions.
3241 (python-shell-buffer-substring):
3242 Use `python-nav-forward-sexp-safe'.
3243
3244 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3245
3246 * net/shr.el (shr-find-fill-point): Don't break lines before a
3247 quotation mark.
3248 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3249 (shr-find-fill-point): Remove the special checks for the quotation
3250 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3251
3252 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3253
3254 * net/eww.el (eww-form-textarea): Use a different face for
3255 textareas than text input since they have different keymaps
3256 (bug#16142).
3257
3258 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3259
3260 * progmodes/python.el (python-nav-beginning-of-statement):
3261 Speed up (Bug#15295).
3262
3263 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3264
3265 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3266 the window configuration.
3267
3268 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3269
3270 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3271 we run on MS-Windows or MS-DOS.
3272
3273 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3274
3275 * window.el (balance-windows-area): Call window-size instead of
3276 window-height and window-width. Bug#16241.
3277
3278 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3279
3280 * net/eww.el (eww-bookmark-quit): Remove.
3281 (eww-bookmark-browse): Restore the window configuration when you
3282 choose a bookmark (bug#16144).
3283
3284 2013-12-24 Daniel Colascione <dancol@dancol.org>
3285
3286 * icomplete.el: Remove redundant :group arguments to `defcustom'
3287 throughout.
3288 (icomplete-show-matches-on-no-input): New customizable variable.
3289 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3290 we have something to show.
3291 (icomplete-exhibit): Compute completions even if we have no user input.
3292
3293 2013-12-23 Daniel Colascione <dancol@dancol.org>
3294
3295 * icomplete.el: Move `provide' to end of file.
3296
3297 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3298
3299 * net/gnutls.el (gnutls-verify-error): Add version tag.
3300
3301 2013-12-23 Chong Yidong <cyd@gnu.org>
3302
3303 * subr.el (set-transient-map): Rename from
3304 set-temporary-overlay-map. Doc fix.
3305
3306 * face-remap.el (text-scale-adjust):
3307 * indent.el (indent-rigidly):
3308 * kmacro.el (kmacro-call-macro):
3309 * minibuffer.el (minibuffer-force-complete):
3310 * repeat.el (repeat):
3311 * simple.el (universal-argument--mode):
3312 * calendar/todo-mode.el (todo-insert-item--next-param):
3313 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3314
3315 * indent.el (indent-rigidly): Use substitute-command-keys.
3316
3317 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3318
3319 * net/eww.el (eww-tag-select): Add text-property to jump to next
3320 select field.
3321 (eww): Add non-supported ftp error.
3322
3323 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3324
3325 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3326 comments. Handle electric indent after typing `?' and `!'.
3327
3328 2013-12-22 Chong Yidong <cyd@gnu.org>
3329
3330 * faces.el (face-spec-recalc): If the theme specs are not
3331 applicable to a frame, fall back on the defface spec.
3332 This prevents themes from obliterating faces on low-color terminals.
3333
3334 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3335
3336 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3337 after `{'. We need it after block openers, and it doesn't seem
3338 to hurt after hash openers.
3339
3340 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3341
3342 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3343 extracted from `ruby-smie-rules'.
3344 (ruby--electric-indent-chars): New variable.
3345 (ruby--electric-indent-p): New function.
3346 (ruby-mode): Use `electric-indent-functions' instead of
3347 `electric-indent-chars'.
3348
3349 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3350
3351 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3352 docstring.
3353 (ruby-smie-rules): Indent plus one level after `=>'.
3354
3355 2013-12-21 Richard Stallman <rms@gnu.org>
3356
3357 * simple.el (newline): Doc fix.
3358
3359 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3360
3361 * net/eww.el (eww-list-histories, eww-list-histories)
3362 (eww-history-browse, eww-history-quit, eww-history-kill)
3363 (eww-history-mode-map, eww-history-mode): New command and
3364 functions to list browser histories.
3365 (eww-form-text): Support text form with disabled
3366 and readonly attributes.
3367 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3368
3369 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3370
3371 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3372 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3373 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3374 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3375 Use `user-error'.
3376 (eww-bookmark-mode-map): Add menu.
3377 (eww-render, eww-mode): Use `setq-local'.
3378 (eww-tool-bar-map): New variable.
3379 (eww-mode): Set `tool-bar-map'.
3380 (eww-view-source): Check for `html-mode' with `fboundp'.
3381
3382 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3383
3384 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3385 elements with text inside. Also remove debugging.
3386
3387 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3388
3389 * cus-start.el (all): Add ns-use-srgb-colorspace.
3390
3391 2013-12-21 Chong Yidong <cyd@gnu.org>
3392
3393 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3394 undefined. Thus, theme settings for undefined faces do not take
3395 effect until the faces are defined with defface, the same as with
3396 theme variables.
3397
3398 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3399 (face-spec-reset-face): Don't assign extra properties in temacs.
3400 (face-spec-recalc): Apply X resources too.
3401
3402 2013-12-21 Chong Yidong <cyd@gnu.org>
3403
3404 * faces.el (face-spec-set):
3405 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3406 * custom.el (defface): Doc fixes (Bug#16203).
3407
3408 * indent.el (indent-rigidly-map): Add docstring, and move commands
3409 into named functions.
3410 (indent-rigidly-left, indent-rigidly-right)
3411 (indent-rigidly-left-to-tab-stop)
3412 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3413 indentation direction based on bidi direction, and accumulate
3414 sequential commands in a single undo boundary.
3415 (indent-rigidly--pop-undo): New utility function.
3416
3417 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3418
3419 * faces.el (read-face-name): Require crm.el when using crm-separator.
3420
3421 2013-12-20 Daniel Colascione <dancol@dancol.org>
3422
3423 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3424 so that we don't reflow comments into the shebang line.
3425
3426 2013-12-20 Juri Linkov <juri@jurta.org>
3427
3428 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3429 a position when `dired-directory' is non-nil. Check integer
3430 positions with `integerp'.
3431 (toggle-save-place, save-places-to-alist): Add check for
3432 `dired-directory'.
3433 (save-place-find-file-hook): Check integer positions with
3434 `integerp'.
3435 (save-place-dired-hook): Use `dired-goto-file' when
3436 `dired-filename' is found in the assoc list. Check integer
3437 positions with `integerp'.
3438 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3439
3440 * dired.el (dired-initial-position-hook): Rename back from
3441 `dired-initial-point-hook'.
3442 (dired-initial-position): Rename `dired-initial-point-hook' to
3443 `dired-initial-position-hook'.
3444 (dired-file-name-at-point): Doc fix. (Bug#15329)
3445
3446 2013-12-20 Juri Linkov <juri@jurta.org>
3447
3448 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3449 (read-regexp-suggestions): New function.
3450 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3451 Use `read-regexp-suggestions'. Add non-empty default to history
3452 for empty input.
3453 (occur-read-regexp-defaults-function): Remove function.
3454 (occur-read-primary-args): Use `regexp-history-last' instead of
3455 `occur-read-regexp-defaults-function'.
3456
3457 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3458 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3459 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3460 `hi-lock-read-regexp-defaults-function'. Doc fix.
3461 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3462 with `find-tag-default-as-symbol-regexp'. Doc fix.
3463 (hi-lock-read-regexp-defaults): Remove function.
3464 (hi-lock-regexp-okay): Add check for null.
3465
3466 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3467 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3468
3469 * subr.el (find-tag-default-as-symbol-regexp): New function.
3470 (find-tag-default-as-regexp): Move symbol regexp formatting to
3471 `find-tag-default-as-symbol-regexp'.
3472
3473 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3474
3475 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3476 (Bug#14179)
3477
3478 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3479
3480 * calendar/todo-mode.el: New implementation of item insertion
3481 commands and key bindings.
3482 (todo-key-prompt): New face.
3483 (todo-insert-item): New command.
3484 (todo-insert-item--parameters): New defconst, replacing defvar
3485 todo-insertion-commands-args-genlist.
3486 (todo-insert-item--param-key-alist): New defconst, replacing
3487 defvar todo-insertion-commands-arg-key-list.
3488 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3489 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3490 (todo-insert-item--next-param): New functions.
3491 (todo-insert-item--args, todo-insert-item--argleft)
3492 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3493 New variables.
3494 (todo-key-bindings-t): Change binding of "i" from
3495 todo-insertion-map to todo-insert-item.
3496 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3497 (todo-insertion-command-name, todo-insertion-commands-names)
3498 (todo-define-insertion-command, todo-insertion-commands)
3499 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3500
3501 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3502
3503 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3504 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3505 eval-when-compile.
3506 (todo-move-category): Allow choosing a non-existing todo file to
3507 move the category to, and create that file.
3508 (todo-default-priority): New user option.
3509 (todo-set-item-priority): Use it.
3510 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3511 (desktop-restore-file-buffer): Declare.
3512 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3513 (todo-modes-set-2): Locally set desktop-save-buffer to
3514 todo-desktop-save-buffer.
3515 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3516 (auto-mode-alist): Add autoload cookie.
3517
3518 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3519
3520 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3521 helpers.el was a poor choice of name.
3522 (string-remove-prefix): New function.
3523 (string-remove-suffix): New function.
3524
3525 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3526
3527 Fix assignment for new window total sizes.
3528 * window.el (window--pixel-to-size): Remove function.
3529 (window--pixel-to-total-1, window--pixel-to-total):
3530 Fix calculation of new total sizes.
3531
3532 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3533
3534 * comint.el (comint-output-filter): Fix rear-nonsticky property
3535 placement (Bug#16010).
3536
3537 2013-12-20 Chong Yidong <cyd@gnu.org>
3538
3539 * faces.el (read-color): Minor fix for completion function.
3540
3541 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3542
3543 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3544 New option. (Bug#16182)
3545 (ruby-smie--indent-to-stmt-p): Use it.
3546 (ruby-smie-rules): Revert the logic in the handling of `when'.
3547 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3548 (ruby-deep-arglist, ruby-deep-indent-paren)
3549 (ruby-deep-indent-paren-style): Update docstrings to note that the
3550 vars don't have any effect with SMIE.
3551
3552 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3553
3554 * calc/calc.el (calc-enter, calc-pop): Use the variable
3555 `calc-context-sensitive-enter'.
3556
3557 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3558
3559 * net/shr.el (shr-insert): Protect against infloops in degenerate
3560 tables.
3561
3562 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3563
3564 * progmodes/octave.el (octave): Add link to manual and octave
3565 homepage.
3566 (octave-mode-menu): Link to octave-mode manual.
3567
3568 2013-12-20 Leo Liu <sdl.web@gmail.com>
3569
3570 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3571 insertion using skeleton-end-newline. (Bug#16138)
3572
3573 2013-12-20 Juri Linkov <juri@jurta.org>
3574
3575 * replace.el (occur-engine): Use `add-face-text-property'
3576 to add the face property to matches and titles. (Bug#14645)
3577
3578 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3579 the palette of other hi-lock colors.
3580 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3581
3582 2013-12-19 Juri Linkov <juri@jurta.org>
3583
3584 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3585 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3586 (minibuffer-history-symbol): Move variable declaration closer to
3587 its usage.
3588
3589 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3590 (Bug#14785)
3591
3592 2013-12-19 Juri Linkov <juri@jurta.org>
3593
3594 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3595 New function.
3596 (log-edit-hook): Add it to :options. (Bug#16170)
3597
3598 2013-12-19 Juri Linkov <juri@jurta.org>
3599
3600 * simple.el (eval-expression-print-format): Don't check for
3601 command names and the last command. Always display additional
3602 formats of the integer result in the echo area, and insert them
3603 to the current buffer only with a zero prefix arg.
3604 Display character when char-displayable-p is non-nil.
3605 (eval-expression): With a zero prefix arg, set `print-length' and
3606 `print-level' to nil, and insert the integer values from
3607 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3608
3609 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3610 `eval-last-sexp-arg-internal'. Doc fix.
3611 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3612 `eval-last-sexp-print-value'. Doc fix.
3613 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3614 Set `print-length' and `print-level' to nil when arg is zero.
3615 (eval-last-sexp): Doc fix.
3616 (eval-defun-2): Print the integer values from
3617 `eval-expression-print-format' at the end.
3618
3619 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3620 values from `eval-expression-print-format' at the end.
3621
3622 * ielm.el (ielm-eval-input): Print the integer
3623 values from `eval-expression-print-format' at the end.
3624
3625 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3626
3627 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3628 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3629
3630 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3633 (hl-line-highlight, global-hl-line-highlight): Use it.
3634 (hl-line-overlay): Use defvar-local.
3635
3636 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3637
3638 * term/ns-win.el: Require dnd.
3639 (global-map): Remove drag items.
3640 (ns-insert-text, ns-set-foreground-at-mouse)
3641 (ns-set-background-at-mouse):
3642 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3643 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3644 New functions.
3645
3646 2013-12-19 Glenn Morris <rgm@gnu.org>
3647
3648 * emacs-lisp/ert.el (ert-select-tests):
3649 Fix string/symbol mixup. (Bug#16121)
3650
3651 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3652
3653 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3654 keywords to their parent.
3655
3656 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3657
3658 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3659 first arg to be a string (fixed dead code), or an operator symbol.
3660 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3661 operator symbols.
3662 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3663 did nothing. Don't respond to `(:after ".")', it will be called
3664 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3665 change anything. Only return indentation for binary operators
3666 when they are hanging. De-dent opening paren when its parent is
3667 `.', otherwise it looks bad when the dot is not at bol or eol
3668 (bug#16182).
3669
3670 2013-12-19 Juri Linkov <juri@jurta.org>
3671
3672 * replace.el (query-replace-read-args): Split a non-negative arg
3673 and a negative arg into separate elements.
3674 (query-replace, query-replace-regexp, replace-string)
3675 (replace-regexp): Add arg `backward'. Doc fix.
3676 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3677 move point to the beginning of the match.
3678 (replace-search, replace-highlight): Use new arg `backward'
3679 to set the value of `isearch-forward'.
3680 (perform-replace): Add arg `backward' and use it to perform
3681 replacement backward. (Bug#14979)
3682
3683 * isearch.el (isearch-query-replace): Use a negative prefix arg
3684 to call `perform-replace' with a non-nil arg `backward'.
3685
3686 2013-12-18 Juri Linkov <juri@jurta.org>
3687
3688 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3689 to the default list. Move `log-edit-show-files' to the end.
3690 Add more available functions to options.
3691 (log-edit): Move default specific settings to
3692 `log-edit-insert-message-template'. Don't move point.
3693 (log-edit-insert-message-template): New function.
3694 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3695 (Bug#16170)
3696
3697 2013-12-18 Juri Linkov <juri@jurta.org>
3698
3699 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3700 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3701
3702 2013-12-18 Leo Liu <sdl.web@gmail.com>
3703
3704 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3705 (Bug#16186)
3706
3707 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3708
3709 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3710 formats for displaying file sizes when the -s switch is given.
3711 Instead, compute a separate format for displaying the size in
3712 blocks, which is displayed in addition to the "regular" size.
3713 When -h is given in addition to -s, produce size in blocks in
3714 human-readable form as well. (Bug#16179)
3715
3716 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3717
3718 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3719 Reference tables with ~\ref{...} instead of only \ref{...}.
3720
3721 2013-12-18 Chong Yidong <cyd@gnu.org>
3722
3723 * cus-edit.el (custom-magic-alist): Fix "themed" description
3724 (Bug#14348).
3725
3726 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3727 is non-nil, do not create a new entry in the symbol's theme-value
3728 or theme-face property; update theme-settings only (Bug#14664).
3729 (custom-available-themes): Doc fix.
3730
3731 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3732 (Bug#15674).
3733
3734 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3735
3736 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3737
3738 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3739 (Bug#13914).
3740
3741 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3742
3743 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3744
3745 2013-12-18 Glenn Morris <rgm@gnu.org>
3746
3747 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3748 * cus-start.el (load-prefer-newer): New option.
3749
3750 2013-12-18 Le Wang <l26wang@gmail.com>
3751
3752 * comint.el (comint-previous-matching-input-from-input):
3753 Retain point (Bug#13404).
3754
3755 2013-12-18 Chong Yidong <cyd@gnu.org>
3756
3757 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3758
3759 2013-12-18 Glenn Morris <rgm@gnu.org>
3760
3761 * mail/emacsbug.el (report-emacs-bug):
3762 Only mention enable-multibyte-characters if non-standard.
3763
3764 2013-12-17 Juri Linkov <juri@jurta.org>
3765
3766 * arc-mode.el (archive-extract-by-file): Check if directory exists
3767 before deletion to not show irrelevant errors if it doesn't exist.
3768
3769 2013-12-17 Juri Linkov <juri@jurta.org>
3770
3771 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3772 (Bug#14751)
3773
3774 * net/eww.el (browse-web): Add alias to `eww'.
3775 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3776 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3777
3778 * net/browse-url.el (browse-url-browser-function): Move `eww'
3779 closer to similar functions.
3780
3781 * startup.el (fancy-startup-screen, fancy-about-screen):
3782 Set browse-url-browser-function to eww-browse-url locally.
3783 (Bug#14751)
3784
3785 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * window.el (window--pixel-to-total): Remove unused `mini' var.
3788 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3789 (split-window): Remove unused `new' var.
3790 (window--display-buffer): Remove unused `frame' and `delta' vars.
3791 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3792 and display-width'.
3793
3794 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3795
3796 * dired.el (dired-mark-pop-up):
3797 * register.el (register-preview): Don't bind
3798 split-height-threshold here since it's now done in
3799 display-buffer-below-selected.
3800
3801 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3802
3803 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3804 xterm-rgb-convert-to-16bit.
3805 (rxvt-register-default-colors): Standardize with
3806 xterm-register-default-colors (Bug#14078).
3807
3808 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3809
3810 * simple.el (kill-region): Pass mark first, then point, so that
3811 kill-append works right (Bug#12819).
3812 (copy-region-as-kill, kill-ring-save): Likewise.
3813
3814 2013-12-17 Leo Liu <sdl.web@gmail.com>
3815
3816 * net/rcirc.el (rcirc-add-face):
3817 * eshell/em-prompt.el (eshell-emit-prompt):
3818 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3819 (Bug#16167)
3820
3821 2013-12-17 Chong Yidong <cyd@gnu.org>
3822
3823 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3824 Suggested by Xue Fuqiao.
3825
3826 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3827
3828 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3829
3830 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * net/shr.el (shr-insert-document): Remove unused var
3833 `shr-preliminary-table-render'.
3834 (shr-rescale-image): Remove unused arg `force'.
3835 (shr-put-image): Update calls accordingly.
3836 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3837
3838 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3839
3840 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3841 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3842 :close-all, to see which indentation method to use (Bug#16116).
3843 (smie-rules-function): Document the method :close-all.
3844
3845 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3846
3847 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3848
3849 * net/eww.el (eww-display-html): If we can't find the anchor we're
3850 looking for, then go to point-min.
3851
3852 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3853
3854 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3855 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3856 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3857 Expand dir too, in case it's relative.
3858
3859 2013-12-16 Juri Linkov <juri@jurta.org>
3860
3861 * desktop.el (desktop-auto-save-timeout): Change default to
3862 `auto-save-timeout'. Doc fix.
3863 (desktop-save): Skip the timestamp in desktop-saved-frameset
3864 when checking for auto-save changes.
3865 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3866 `desktop-auto-save' is called repeatedly by the idle timer.
3867 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3868 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3869 (Bug#15331)
3870
3871 2013-12-16 Juri Linkov <juri@jurta.org>
3872
3873 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3874 (Bug#16035)
3875 (isearch-pre-command-hook): Check `this-command' for symbolp.
3876
3877 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3880
3881 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3882
3883 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3884 (cfengine3--current-function): Bring in the current-function
3885 functionality from `cfengine3--current-word'.
3886 (cfengine3-completion-function): Bring in the
3887 bounds-of-current-word functionality from
3888 `cfengine3--current-word'.
3889
3890 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3891
3892 * window.el (display-buffer-below-selected):
3893 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3894
3895 2013-12-16 Leo Liu <sdl.web@gmail.com>
3896
3897 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3898 Remove NOMSG arg and all uses changed.
3899
3900 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3903 (cua--deactivate-rectangle): Don't deactivate the mark.
3904 (cua-set-rectangle-mark): Don't set mark-active since
3905 cua--activate-rectangle already does it for us.
3906 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3907 non-rectangular region.
3908
3909 * emulation/cua-base.el (cua-repeat-replace-region):
3910 Use with-current-buffer.
3911
3912 * net/gnutls.el: Use cl-lib.
3913 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3914
3915 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3916
3917 * emacs-lisp/package.el (package-built-in-p): Support both
3918 built-in and the package.el converted package descriptions.
3919 (package-show-package-list): Allow keywords.
3920 (package-keyword-button-action): Use it instead of
3921 `finder-list-matches'.
3922 (package-menu-filter-interactive): Interactive filtering (by
3923 keyword) function.
3924 (package-menu--generate): Support keywords and change keymappings
3925 and headers when they are given.
3926 (package--has-keyword-p): Helper function.
3927 (package-menu--refresh): Use it.
3928 (package--mapc): Helper function.
3929 (package-all-keywords): Use it.
3930 (package-menu-mode-map): Set up menu items and keybindings to
3931 provide a filtering UI.
3932
3933 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3934
3935 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3936 the behavior when a certificate fails validation. Defaults to
3937 old behavior: never abort, just warn.
3938 (gnutls-negotiate): Use it.
3939
3940 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3941
3942 * window.el (display-buffer-below-selected): Never split window
3943 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3944
3945 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3946
3947 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3948 (package-buffer-info): Use it (bug#15108).
3949
3950 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 * icomplete.el (icomplete-completions): Make sure the prefix is already
3953 displayed elsewhere before hiding it (bug#16219).
3954
3955 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3956
3957 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3958 open-paren tokens when preceded by a open-paren, too.
3959 (ruby-smie-rules): Handle virtual indentation after open-paren
3960 tokens specially. If there is code between it and eol, return the
3961 column where is starts (Bug#16118).
3962
3963 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3964
3965 * progmodes/cfengine.el: Fix `add-hook' doc.
3966 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3967 (cfengine3--current-word): Fix parameters.
3968 (cfengine3-make-syntax-cache): Simplify further.
3969 (cfengine3-completion-function, cfengine3--current-function):
3970 Use `assq' for symbols.
3971 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3972
3973 2013-12-13 Glenn Morris <rgm@gnu.org>
3974
3975 * loadup.el (load-path): Warn if site-load or site-init changes it.
3976 No more need to reset it when bootstrapping.
3977
3978 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3979
3980 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3981 locations for cf-promises.
3982 (cfengine-mode-syntax-functions-regex): New caching variable.
3983 (cfengine3-fallback-syntax): Fallback syntax for cases where
3984 cf-promises doesn't run.
3985 (cfengine3--current-word): Reimplement using
3986 `cfengine-mode-syntax-functions-regex'.
3987 (cfengine3-completion-function, cfengine3--current-function):
3988 Use `cfengine3-make-syntax-cache' directly.
3989 (cfengine3-clear-syntax-cache): New function.
3990 (cfengine3-make-syntax-cache): Simplify and create
3991 `cfengine-mode-syntax-functions-regex' on demand.
3992 (cfengine3-format-function-docstring): Don't call
3993 `cfengine3-make-syntax-cache' explicitly.
3994
3995 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3996
3997 Fix windmove-find-other-window broken after pixelwise resizing
3998 (Bug#16017).
3999 * windmove.el (windmove-other-window-loc): Revert change from
4000 2013-12-04.
4001 (windmove-find-other-window): Call window-in-direction.
4002 * window.el (window-in-direction): New arguments SIGN, WRAP and
4003 MINI to emulate original windmove-find-other-window behavior.
4004
4005 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4006
4007 * simple.el (blink-matching--overlay): New variable.
4008 (blink-matching-open): Instead of moving point, highlight the
4009 matching paren with an overlay
4010 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4011
4012 * faces.el (paren-showing-faces, show-paren-match)
4013 (show-paren-mismatch): Move from paren.el.
4014
4015 2013-12-13 Leo Liu <sdl.web@gmail.com>
4016
4017 * indent.el (indent-region): Disable progress reporter in
4018 minibuffer. (Bug#16108)
4019
4020 * bindings.el (visual-order-cursor-movement): Fix version.
4021
4022 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4023
4024 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4025 Also match after beginning of line.
4026 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4027 files. Thanks to Russell Sim. (Bug#15378)
4028
4029 2013-12-13 Juri Linkov <juri@jurta.org>
4030
4031 * simple.el <Keypad support>: Remove key bindings duplicated
4032 with bindings.el. (Bug#14397)
4033
4034 2013-12-13 Juri Linkov <juri@jurta.org>
4035
4036 * comint.el (comint-mode-map): Replace `delete-char' with
4037 `delete-forward-char'. (Bug#16109)
4038
4039 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4040
4041 * progmodes/python.el (python-indent-calculate-indentation):
4042 Fix de-denters cornercase. (Bug#15731)
4043
4044 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4045
4046 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4047 (advice--make): Pay attention to `depth'.
4048 (advice--make-1): Don't autoload commands eagerly.
4049 * emacs-lisp/elp.el (elp-instrument-function):
4050 * emacs-lisp/trace.el (trace-function-internal):
4051 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4052
4053 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4054
4055 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4056
4057 * term/w32-win.el (w32-handle-dropped-file):
4058 * startup.el (normal-top-level):
4059 * net/browse-url.el (browse-url-file-url):
4060 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4061 decode file names using 'utf-8' rather than
4062 file-name-coding-system.
4063
4064 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4065
4066 * progmodes/python.el (python-indent-context)
4067 (python-indent-calculate-indentation): Fix auto-identation
4068 behavior for comment blocks. (Bug#15916)
4069
4070 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4071
4072 * progmodes/python.el (python-indent-calculate-indentation):
4073 When determining indentation, don't treat "return", "pass", etc., as
4074 operators when they are just string constituents. (Bug#15812)
4075
4076 2013-12-12 Juri Linkov <juri@jurta.org>
4077
4078 * uniquify.el (uniquify-buffer-name-style): Change default to
4079 `post-forward-angle-brackets'.
4080
4081 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4082 `uniquify'. Change default to `post-forward-angle-brackets'.
4083
4084 2013-12-11 Glenn Morris <rgm@gnu.org>
4085
4086 * emacs-lisp/package.el (finder-list-matches):
4087 Autoload rather than falsely declaring.
4088
4089 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4090
4091 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4092 (eww-mode-map): Use them.
4093
4094 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4095
4096 * window.el (display-buffer-in-side-window): Fix doc-string
4097 (Bug#16115).
4098
4099 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4100
4101 * vc/vc-git.el: Silence byte-compiler warnings.
4102 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4103 (log-edit-set-header): Declare.
4104
4105 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4106
4107 * Makefile.in (custom-deps, finder-data): Run output file names
4108 through unmsys--file-name. (Bug#16099)
4109
4110 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4111
4112 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4113 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4114
4115 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4116 instead of deleting the selection "by hand" (bug#16098).
4117 Rely on insert-for-yank to yank rectangles.
4118 (cua-highlight-region-shift-only): Mark obsolete.
4119 (cua-mode): Don't enable/disable transient-mark-mode,
4120 shift-select-mode (cua-mode works both with and without them), and
4121 pc-selection-mode (obsolete).
4122 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4123 (cua--deactivate-rectangle): Deactivate it.
4124
4125 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4126 (delete-selection-helper): Make sure yank starts at the top of the
4127 deleted region.
4128 (minibuffer-keyboard-quit): Use region-active-p.
4129
4130 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4131
4132 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4133 to `delete' (bug#16109).
4134
4135 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4136
4137 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4138 info manual and show keybindings and set `:group' keyword.
4139
4140 2013-12-11 Juri Linkov <juri@jurta.org>
4141
4142 * delsel.el (delete-active-region): Let-bind `this-command'
4143 to prevent `kill-region' from changing its original value.
4144 (delete-selection-helper): Handle `overwrite-mode' for the type
4145 `kill' exactly the same way as for the type `t'.
4146 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4147 Support more commands. (Bug#13312)
4148
4149 2013-12-11 Juri Linkov <juri@jurta.org>
4150
4151 * bindings.el: Map kp keys to non-kp keys systematically
4152 with basic modifiers control, meta and shift. (Bug#14397)
4153
4154 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4155
4156 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4157 "Close browser" menu items. Fix wrong function of "List
4158 bookmarks".
4159
4160 2013-12-11 Juri Linkov <juri@jurta.org>
4161
4162 * misearch.el (multi-isearch-buffers): Set the value of
4163 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4164 arg of isearch-forward to t.
4165 (multi-isearch-buffers-regexp): Set the value of
4166 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4167 arg of isearch-forward-regexp to t.
4168 (multi-isearch-files): Set the value of
4169 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4170 arg of isearch-forward to t.
4171 (multi-isearch-files-regexp): Set the value of
4172 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4173 arg of isearch-forward-regexp to t. (Bug#16035)
4174
4175 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4176 arg of isearch-forward to t.
4177 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4178 arg of isearch-forward-regexp to t.
4179 (dired-isearch-filter-filenames): Remove unnecessary check for
4180 `dired-isearch-filenames'.
4181
4182 * comint.el (comint-history-isearch-backward):
4183 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4184 (comint-history-isearch-backward-regexp):
4185 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4186
4187 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4188
4189 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4190 unmsys--file-name. (Bug#16099)
4191
4192 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4193
4194 * emacs-lisp/package.el (package-keyword-button-action):
4195 Remove finder.el require dependency.
4196
4197 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4198
4199 * emacs-lisp/package.el: Require finder.el.
4200 (describe-package-1): Add keyword buttons.
4201 (package-make-button): New convenience function.
4202 (package-keyword-button-action): Keyword button action using
4203 `finder-list-matches'.
4204
4205 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4206
4207 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4208 last commit.
4209
4210 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4211
4212 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4213 symlinked files.
4214
4215 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4216
4217 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4218 after the end of a percent literal.
4219
4220 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4221
4222 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4223 Handle caret-delimited strings (Bug#16079).
4224
4225 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4226
4227 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4228 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4229 `ruby-parse-partial' (Bug#16078).
4230
4231 2013-12-09 Leo Liu <sdl.web@gmail.com>
4232
4233 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4234
4235 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4236
4237 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4238 (js-switch-indent-offset): New option.
4239 (js--proper-indentation): Use it. And handle the case when
4240 "default" is actually a key in an object literal.
4241 (js--same-line): New function.
4242 (js--multi-line-declaration-indentation): Use it.
4243 (js--indent-in-array-comp, js--array-comp-indentation):
4244 New functions.
4245 (js--proper-indentation): Use them, to handle array comprehension
4246 continuations.
4247
4248 2013-12-08 Leo Liu <sdl.web@gmail.com>
4249
4250 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4251 (flymake-make-overlay): Remove arg MOUSE-FACE.
4252 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4253
4254 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4257 New function.
4258 (redisplay-highlight-region-function): Use it.
4259
4260 * emulation/cua-base.el (cua--explicit-region-start)
4261 (cua--last-region-shifted): Remove.
4262 (cua--deactivate): Use deactivate-mark.
4263 (cua--pre-command-handler-1): Don't handle shift-selection.
4264 (cua--post-command-handler-1): Don't change transient-mark-mode.
4265 (cua--select-keymaps): Use region-active-p rather than
4266 cua--explicit-region-start or cua--last-region-shifted.
4267 (cua-mode): Enable shift-select-mode.
4268
4269 2013-12-08 Leo Liu <sdl.web@gmail.com>
4270
4271 * progmodes/flymake.el (flymake-popup-current-error-menu):
4272 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4273 (flymake-posn-at-point-as-event, flymake-popup-menu)
4274 (flymake-make-emacs-menu): Remove. (Bug#16077)
4275
4276 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * rect.el (rectangle-mark-mode): Activate mark even if
4279 transient-mark-mode is off (bug#16066).
4280 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4281 is > mark and at bolp.
4282
4283 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4284 (region-extract-function): Use it.
4285 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4286 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4287 Delete functions.
4288 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4289 kill-ring-save, kill-region, delete-char, delete-forward-char.
4290 Ignore self-insert-iso.
4291
4292 * emulation/cua-gmrk.el (cua--init-global-mark):
4293 Ignore `self-insert-iso'.
4294
4295 * emulation/cua-base.el (cua--prefix-copy-handler)
4296 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4297 checking cua--rectangle.
4298 (cua-delete-region): Use region-extract-function.
4299 (cua-replace-region): Delete function.
4300 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4301 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4302 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4303 (cua--init-keymaps): Don't remap delete-selection commands.
4304 (cua-mode): Use delete-selection-mode instead of rolling our own
4305 (bug#16085).
4306
4307 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4308 Obey region-extract-function.
4309
4310 Make registers and delete-selection-mode work on rectangles.
4311 * register.el (describe-register-1): Don't modify the register's value.
4312 (copy-to-register): Obey region-extract-function.
4313 * delsel.el (delete-active-region): Obey region-extract-function.
4314
4315 2013-12-08 Leo Liu <sdl.web@gmail.com>
4316
4317 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4318 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4319 (flymake-compilation-prevents-syntax-check)
4320 (flymake-start-syntax-check-on-newline)
4321 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4322 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4323 (flymake-xml-program, flymake-master-file-dirs)
4324 (flymake-master-file-count-limit)
4325 (flymake-allowed-file-name-masks): Relocate.
4326 (flymake-makehash, flymake-float-time)
4327 (flymake-replace-regexp-in-string, flymake-split-string)
4328 (flymake-get-temp-dir): Remove.
4329 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4330 (flymake-current-row, flymake-selected-frame)
4331 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4332 related functions. (Bug#16077)
4333
4334 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4335
4336 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4337
4338 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4339
4340 * help-fns.el (describe-function-1): Use new advice-* functions
4341 rather than old ad-* functions. Fix function type description and
4342 source links for advised functions and subrs.
4343
4344 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4345
4346 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4347
4348 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4349
4350 * progmodes/compile.el (compilation-start):
4351 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4352
4353 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4354 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4355
4356 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4357
4358 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4359 Touch up the last change.
4360
4361 2013-12-06 Leo Liu <sdl.web@gmail.com>
4362
4363 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4364 (inferior-octave-startup): Always use "octave> " for prompt.
4365 (octave-goto-function-definition)
4366 (octave-sync-function-file-names)
4367 (octave-find-definition-default-filename): Remove redundant backquotes.
4368
4369 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4370
4371 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4372 syntax for `?'.
4373 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4374 where appropriate already.
4375 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4376 end of method names (Bug#15874).
4377
4378 2013-12-06 Juri Linkov <juri@jurta.org>
4379
4380 * isearch.el (isearch--saved-overriding-local-map):
4381 New internal variable.
4382 (isearch-mode): Set it to the initial value of
4383 `overriding-terminal-local-map'.
4384 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4385 with `isearch--saved-overriding-local-map'. (Bug#16035)
4386
4387 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4388
4389 * progmodes/octave.el (inferior-octave-completion-table):
4390 Turn back into function, use `completion-table-with-cache'
4391 (Bug#11906). Update all references.
4392
4393 * minibuffer.el (completion-table-with-cache): New function.
4394
4395 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4396
4397 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4398
4399 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4400
4401 * net/eww.el (eww-current-source): New variable to store page
4402 source.
4403 (eww-display-html, eww-mode, eww-save-history)
4404 (eww-restore-history): Use it.
4405 (eww-view-source): New command to view page source.
4406 Opportunistically uses `html-mode' to highlight the buffer.
4407 (eww-mode-map): Install it.
4408
4409 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4410
4411 * net/dbus.el (dbus-unregister-service)
4412 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4413 Fix docstring.
4414 (dbus-unregister-service): Skip :serial entries in
4415 `dbus-registered-objects-table'.
4416 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4417
4418 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4419
4420 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4421 around keywords with extra `split-string' argument.
4422
4423 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4424
4425 * windmove.el (windmove-other-window-loc): Handle navigation
4426 between windows (excluding the minibuffer window - Bug#16017).
4427
4428 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4429
4430 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4431 in D-Bus type syntax.
4432 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4433 preserve unibyte strings. (Bug#16048)
4434
4435 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4438 Call force-mode-line-update is the proper buffer (bug#16042).
4439
4440 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4441
4442 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4443 `log-edit-remember-comment', make argument optional. Adjust all
4444 callers.
4445 (log-edit-mode): Add `log-edit-remember-comment' to
4446 `kill-buffer-hook' locally.
4447 (log-edit-kill-buffer): Don't remember comment explicitly since
4448 the buffer is killed anyway.
4449
4450 2013-12-04 Juri Linkov <juri@jurta.org>
4451
4452 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4453 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4454
4455 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4456
4457 * notifications.el (notifications-close-notification): Call the
4458 D-Bus method with ID being a `:uint32'. (Bug#16030)
4459
4460 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4461
4462 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4463
4464 2013-12-03 Juri Linkov <juri@jurta.org>
4465
4466 * progmodes/compile.el (compilation-start): Rename window alist
4467 entry `no-display-ok' to `allow-no-window'.
4468
4469 * simple.el (shell-command): Add window alist entry
4470 `allow-no-window' to `display-buffer'.
4471 (async-shell-command): Doc fix.
4472
4473 * window.el (display-buffer-no-window): New action function.
4474 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4475
4476 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4477
4478 * vc/log-edit.el (log-edit-set-header): Extract from
4479 `log-edit-toggle-header'.
4480 (log-edit-extract-headers): Separate the summary, when extracted
4481 from header, from the rest of the message with an empty line.
4482
4483 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4484 line, if present, to the Summary header.
4485
4486 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4489 in current-buffer (bug#16029).
4490
4491 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4492
4493 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4494 (debugger-mode-map): Bind it.
4495 (debugger--backtrace-base): New function.
4496 (debugger-eval-expression): Use it.
4497 (debugger-frame-number): Skip local vars when present.
4498 (debugger--locals-visible-p, debugger--insert-locals)
4499 (debugger--show-locals, debugger--hide-locals): New functions.
4500
4501 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4502
4503 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4504 "LC_ALL".
4505 (tramp-get-remote-locale): New defun.
4506 (tramp-open-connection-setup-interactive-shell): Use it.
4507
4508 2013-12-02 Leo Liu <sdl.web@gmail.com>
4509
4510 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4511
4512 * progmodes/sh-script.el (sh-shell-process):
4513 * progmodes/octave.el (inferior-octave-process-live-p):
4514 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4515 (gdb-inferior-io-sentinel):
4516 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4517
4518 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4519
4520 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4521 `save-selected-window' to `log-edit-hide-buf'. This makes
4522 `log-edit-show-files' idempotent.
4523 (log-edit-show-files): Mark the new window as dedicated.
4524
4525 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4526
4527 * vc/log-edit.el (log-edit-mode-map): Add binding for
4528 `log-edit-kill-biffer'.
4529 (log-edit-hide-buf): Add a FIXME comment.
4530 (log-edit-add-new-comment): New function, extracted from
4531 `log-edit-done'.
4532 (log-edit-done, log-edit-add-to-changelog): Use it.
4533 (log-edit-kill-buffer): New command.
4534
4535 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4536
4537 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4538 instead of killing the buffer.
4539
4540 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4543
4544 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4545
4546 * net/eww.el (eww-form-checkbox-selected-symbol)
4547 (eww-form-checkbox-symbol): New customizable variable.
4548 (eww-form-checkbox, eww-toggle-checkbox):
4549 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4550
4551 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4552 (shr--get-media-pref, shr--extract-best-source): New function.
4553 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4554 no :src tag was specified.
4555
4556 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4557 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4558 Use \\` to match beginning of string instead of ^.
4559 (eww-browse-with-external-browser): Provide optional URL parameter.
4560 (eww-render): Set `eww-current-title' back to "".
4561
4562 * net/shr.el (shr-tag-video): Display content for video if no
4563 poster is available.
4564 (shr-tag-audio): Add support for <audio> tag.
4565
4566 * net/eww.el (eww-text-input-types): New const.
4567 (eww-process-text-input): Treat input types in
4568 `eww-text-input-types' as text.
4569
4570 * net/shr.el (shr-tag-table): Fix comment typo.
4571
4572 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4573
4574 * net/eww.el (eww-follow-link): New command to avoid reloading
4575 pages when we follow #target links (bug#15243).
4576 (eww-quit): Special mode buffers shouldn't query before exiting.
4577
4578 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4579
4580 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4581 forms.
4582
4583 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4584
4585 * net/eww.el (eww-restore-history): Update the window title after
4586 moving in the history.
4587 (eww-current-dom): New variable used to save the current DOM.
4588
4589 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4590
4591 * vc/log-edit.el (log-edit-mode-map): Add binding for
4592 `log-edit-beginning-of-line'.
4593 (log-edit-setup-add-author): New user option.
4594 (log-edit-beginning-of-line): New command.
4595 (log-edit): Move major mode call above the contents setup so that
4596 the local variable values are already applied.
4597 (log-edit): Only insert "Author: " when
4598 `log-edit-setup-add-author' is non-nil.
4599 (log-edit): When SETUP is non-nil, position point after ": "
4600 instead of point-min.
4601
4602 2013-12-01 Glenn Morris <rgm@gnu.org>
4603
4604 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4605
4606 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4607
4608 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4609 redisplay to make sure the initial frame gets a chance to become
4610 visible. (Bug#16014)
4611
4612 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4613
4614 Support resizing frames and windows pixelwise.
4615 * cus-start.el (frame-resize-pixelwise)
4616 (window-resize-pixelwise): New entries.
4617 * emacs-lisp/debug.el (debug): Use window-total-height instead
4618 of window-total-size.
4619 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4620 * help.el (describe-bindings-internal): Use help-buffer as
4621 argument for with-help-window.
4622 (temp-buffer-max-width): New option.
4623 (resize-temp-buffer-window, help-window-setup)
4624 (with-help-window): Rewrite.
4625 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4626 dragging dividers.
4627 * window.el (frame-char-size, window-min-pixel-height)
4628 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4629 (window-min-pixel-width, window-safe-min-pixel-size)
4630 (window-combination-p, window-safe-min-size)
4631 (window-resizable-p, window--size-to-pixel)
4632 (window--pixel-to-size, window--resize-apply-p): New functions.
4633 (window-safe-min-height): Fix doc-string.
4634 (window-size, window-min-size, window--min-size-1)
4635 (window-sizable, window-sizable-p, window--min-delta-1)
4636 (window-min-delta, window--max-delta-1, window-max-delta)
4637 (window--resizable, window--resizable-p, window-resizable)
4638 (window-full-height-p, window-full-width-p, window-at-side-p)
4639 (window--in-direction-2, window-in-direction)
4640 (window--resize-reset-1, window--resize-mini-window)
4641 (window-resize, window-resize-no-error)
4642 (window--resize-child-windows-normal)
4643 (window--resize-child-windows, window--resize-siblings)
4644 (window--resize-this-window, window--resize-root-window)
4645 (window--resize-root-window-vertically)
4646 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4647 (maximize-window, minimize-window, delete-window)
4648 (quit-restore-window, window-split-min-size, split-window)
4649 (balance-windows-2, balance-windows)
4650 (balance-windows-area-adjust, balance-windows-area)
4651 (window--state-get-1, window-state-get, window--state-put-1)
4652 (window--state-put-2, window-state-put)
4653 (display-buffer-record-window, window--display-buffer):
4654 Make functions handle pixelwise sizing of windows.
4655 (display-buffer--action-function-custom-type)
4656 (display-buffer-fallback-action):
4657 Add display-buffer-in-previous-window.
4658 (display-buffer-use-some-window): Resize window to height it had
4659 before.
4660 (fit-window-to-buffer-horizontally): New option.
4661 (fit-frame-to-buffer): Describe new values.
4662 (fit-frame-to-buffer-bottom-margin): Replace with
4663 fit-frame-to-buffer-margins.
4664 (window--sanitize-margin): New function.
4665 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4666 using window-text-pixel-size.
4667
4668 2013-11-30 Glenn Morris <rgm@gnu.org>
4669
4670 * emacs-lisp/bytecomp.el (byte-compile-form):
4671 Make the `interactive-only' warning like the `obsolete' one.
4672 * comint.el (comint-run):
4673 * files.el (insert-file-literally, insert-file):
4674 * replace.el (replace-string, replace-regexp):
4675 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4676 (goto-line, insert-buffer, next-line, previous-line):
4677 Tweak `interactive-only' spec.
4678
4679 Stop keeping (most) generated cedet grammar files in the repository.
4680 * Makefile.in (semantic): New.
4681 (compile-main): Depend on semantic.
4682
4683 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4686 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4687
4688 * uniquify.el (uniquify-buffer-name-style): Change default.
4689
4690 * loadup.el: Preload "uniquify".
4691
4692 * time.el (display-time-update): Update all mode lines (bug#15999).
4693
4694 * electric.el (electric-indent-mode): Enable by default.
4695 * loadup.el: Preload "electric".
4696
4697 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4698
4699 * emacs-lisp/helpers.el (string-empty-p): New function.
4700 (string-blank-p): New function.
4701
4702 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4703
4704 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4705 (Bug#14029).
4706
4707 2013-11-29 Andreas Politz <politza@fh-trier.de>
4708 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4709 allow non-lambda lists as functions.
4710 (imenu--in-alist): Don't recurse into non-subalists.
4711 (imenu): Don't pass function itself as an argument (Bug#14029).
4712
4713 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4714
4715 * progmodes/python.el (python-mode-map): Remove binding for ":".
4716 (python-indent-electric-colon): Remove command.
4717 (python-indent-post-self-insert-function): Integrate the previous code
4718 of python-indent-electric-colon. Make it conditional on
4719 electric-indent-mode.
4720 (python-mode): Add ?: to electric-indent-chars.
4721 Move python-indent-post-self-insert-function to the end of
4722 post-self-insert-hook.
4723
4724 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4725
4726 * doc-view.el (doc-view-goto-page): Update mode-line.
4727
4728 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4729
4730 2013-11-27 Glenn Morris <rgm@gnu.org>
4731
4732 * international/charprop.el, international/uni-bidi.el:
4733 * international/uni-category.el, international/uni-combining.el:
4734 * international/uni-comment.el, international/uni-decimal.el:
4735 * international/uni-decomposition.el, international/uni-digit.el:
4736 * international/uni-lowercase.el, international/uni-mirrored.el:
4737 * international/uni-name.el, international/uni-numeric.el:
4738 * international/uni-old-name.el, international/uni-titlecase.el:
4739 * international/uni-uppercase.el:
4740 Remove generated files from VCS repository.
4741
4742 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4743
4744 * filenotify.el (file-notify-add-watch): Don't special-case
4745 w32notify when computing the directory to watch.
4746
4747 2013-11-27 Glenn Morris <rgm@gnu.org>
4748
4749 Make bootstrap without generated uni-*.el files possible again.
4750 * loadup.el: Update command-line-args checking for unidata-gen.
4751 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4752 * composite.el, international/characters.el:
4753 Handle unicode tables being undefined.
4754
4755 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4756 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4757 (compile-main): Depend on leim rule.
4758 (leim): New rule.
4759 * loadup.el: Move leim-list.el to leim/ subdirectory.
4760 * startup.el (normal-top-level): No more leim directory.
4761 * international/ja-dic-cnv.el (skkdic-convert):
4762 Disable version-control and autoloads in output files.
4763 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4764 Disable version-control and autoloads in output files.
4765 * leim/quail: Move here from ../leim.
4766 * leim/quail/hangul.el (hangul-input-method-activate):
4767 Add autoload cookie.
4768 (generated-autoload-load-name): Set file-local value.
4769 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4770 (generated-autoload-load-name): Set file-local value.
4771
4772 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4773
4774 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4775 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4776 (eww-quit): Ask confirmation before quitting eww.
4777
4778 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4779
4780 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4781 reading output from Diff on MS-Windows and MS-DOS.
4782
4783 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4784
4785 * emacs-lisp/helpers.el (string-reverse): New function.
4786
4787 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4790 names on MS Windows, like "/[::1]:".
4791
4792 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4793 SWITCHES.
4794
4795 2013-11-26 Glenn Morris <rgm@gnu.org>
4796
4797 * progmodes/python.el (python-indent-guess-indent-offset):
4798 Avoid corner-case error. (Bug#15975)
4799
4800 Preload leim-list.el. (Bug#4789)
4801 * loadup.el: Load leim-list.el when found.
4802 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4803
4804 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4805
4806 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4807
4808 * emacs-lisp/helpers.el (string-join): New function.
4809
4810 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4811
4812 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4813 Mark as obsolete and replace it with a symbol property.
4814 (byte-compile-form): Use new 'interactive-only property.
4815 * comint.el, files.el, replace.el, simple.el:
4816 Apply new 'interactive-only properly.
4817
4818 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4819
4820 * window.el (display-buffer-at-bottom): Make sure that
4821 split-window-sensibly creates the new window on bottom
4822 (Bug#15961).
4823
4824 2013-11-23 David Kastrup <dak@gnu.org>
4825
4826 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4827 on the conflict markers when available.
4828 (smerge--get-marker): New function.
4829 (smerge-end-re, smerge-base-re): Add subgroup.
4830
4831 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 * frame.el (handle-focus-in, handle-focus-out): Add missing
4834 interactive spec.
4835
4836 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4837
4838 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4839 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4840
4841 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4842
4843 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4844 (gomoku--last-pos): New var.
4845 (gomoku--intangible-chars): New const.
4846 (gomoku--intangible): New function.
4847 (gomoku-mode): Use it. Derive from special-mode.
4848 (gomoku-move-up): Adjust line count.
4849 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4850 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4851 Simplify accordingly.
4852
4853 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4854 Remove blink-cursor code.
4855 (blink-cursor-timer-function, blink-cursor-suspend):
4856 Don't special-case GUIs.
4857 (blink-cursor-mode): Use focus-in/out-hook.
4858
4859 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4860
4861 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4862 work when annotation is invisible (Bug#13886).
4863
4864 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4865
4866 * json.el (json-alist-p): Only return non-nil if the alist has
4867 simple keys (Bug#13518).
4868
4869 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4870
4871 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4872 when control-statement is the first statement in a buffer (Bug#15956).
4873
4874 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4875
4876 * imenu.el (imenu-generic-skip-comments-and-strings):
4877 New option (Bug#15560).
4878 (imenu--generic-function): Use it.
4879
4880 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4881
4882 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4883 (Bug#13898)
4884
4885 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4886
4887 * emacs-lisp/helpers.el: Add some string helpers.
4888 (string-trim-left): Removes leading whitespace.
4889 (string-trim-right): Removes trailing whitespace.
4890 (string-trim): Removes leading and trailing whitespace.
4891
4892 * subr.el (string-suffix-p): New function.
4893
4894 2013-11-23 Glenn Morris <rgm@gnu.org>
4895
4896 * progmodes/python.el (python-shell-send-file):
4897 Add option to delete file when done. (Bug#15647)
4898 (python-shell-send-string, python-shell-send-region): Use it.
4899
4900 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4901
4902 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4903 to set buffer-read-only to t, never to nil. (Bug#15938)
4904
4905 * textmodes/tex-mode.el (latex-noindent-environments):
4906 Add safe-local-variable property. (Bug#15936)
4907
4908 2013-11-23 Glenn Morris <rgm@gnu.org>
4909
4910 * textmodes/enriched.el (enriched-mode): Doc fix.
4911 * emacs-lisp/authors.el (authors-renamed-files-alist):
4912 Add enriched.doc -> enriched.txt.
4913
4914 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4915
4916 2013-11-22 Leo Liu <sdl.web@gmail.com>
4917
4918 * progmodes/octave.el (inferior-octave-startup): Spit out error
4919 message.
4920
4921 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4922
4923 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4924 Improve docstring.
4925 Add :version.
4926 (ruby-encoding-magic-comment-style): Add :version.
4927
4928 2013-11-22 Leo Liu <sdl.web@gmail.com>
4929
4930 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4931 (Bug#15076)
4932 (octave-help-mode): Adapt to change to help-mode-finish to use
4933 derived-mode-p on 2013-09-17.
4934 (inferior-octave-prompt): Also match octave-gui.
4935 (octave-kill-process): Don't ask twice. (Bug#10564)
4936
4937 2013-11-22 Leo Liu <sdl.web@gmail.com>
4938
4939 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4940 (inferior-octave-startup, inferior-octave-check-process)
4941 (inferior-octave-track-window-width-change)
4942 (octave-completion-at-point, octave-eldoc-function): Use it.
4943 (octave-kill-process): Provide confirmation. (Bug#10564)
4944
4945 2013-11-21 Leo Liu <sdl.web@gmail.com>
4946
4947 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4948 Fix obsolete variable comment-use-global-state.
4949
4950 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4951
4952 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4953 Add `octave-source-file'.
4954 (octave-source-file): New function. (Bug#15935)
4955
4956 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4957
4958 * net/eww.el (eww-local-regex): New variable.
4959 (eww): Use it to detect localhost and similar.
4960
4961 2013-11-21 Leo Liu <sdl.web@gmail.com>
4962
4963 Add completion for command `ag'.
4964 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4965 (pcomplete/ag): New function.
4966 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4967
4968 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4971 (bug#14646).
4972 (make-obsolete): Remove interactive spec.
4973
4974 2013-11-21 Glenn Morris <rgm@gnu.org>
4975
4976 * startup.el (command-line-1): Use path-separator with -L.
4977
4978 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4979
4980 * emacs-lisp/package.el (describe-package-1): Add package archive
4981 to shown fields.
4982
4983 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4984
4985 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4986 Change default to "# encoding: %s" to differentiate it from the
4987 default Ruby encoding comment template.
4988
4989 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4990
4991 * ses.el (ses-mode): Doc fix. (Bug#14748)
4992
4993 2013-11-20 Leo Liu <sdl.web@gmail.com>
4994
4995 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4996
4997 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4998
4999 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5000 when rebase or bisect are in progress.
5001
5002 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5003
5004 * filenotify.el (file-notify-add-watch): Doc fix.
5005
5006 2013-11-19 Leo Liu <sdl.web@gmail.com>
5007
5008 * obsolete/rcompile.el: Mark obsolete.
5009
5010 * progmodes/compile.el (compilation-start)
5011 (compilation-goto-locus, compilation-find-file):
5012 Pass no-display-ok and handle nil value from display-buffer.
5013 (Bug#13594)
5014
5015 * window.el (display-buffer-alist, display-buffer): Document the
5016 new parameter no-display-ok. Return either a window or nil
5017 but never a non-window value.
5018
5019 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5020
5021 * electric.el (electric-indent-mode-map): Remove.
5022 (electric-indent-mode): Change the global-map instead (bug#15915).
5023
5024 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5025 Use add-function.
5026
5027 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * emacs-lisp/nadvice.el (remove-function): Align with
5030 add-function's behavior.
5031
5032 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5033 (gdb--string-regexp): New constant.
5034 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5035 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5036 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5037 submatch 1.
5038 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5039 Adjust use accordingly.
5040 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5041
5042 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5043
5044 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5045 interpolation curlies (Bug#15914).
5046
5047 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5048
5049 * calc/calc.el (calc-context-sensitive-enter): New variable.
5050 (calc-enter): Use `calc-context-sensitive-enter'.
5051
5052 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5053
5054 * progmodes/cfengine.el: Version bump.
5055 (cfengine-cf-promises): New defcustom to locate cf-promises.
5056 (cfengine3-vartypes): Add new "data" type.
5057 (cfengine3--current-word): New function to get current name-like
5058 word or its bounds.
5059 (cfengine3--current-function): New function to look up a CFEngine
5060 function's definition.
5061 (cfengine3-format-function-docstring): New function.
5062 (cfengine3-make-syntax-cache): New function.
5063 (cfengine3-documentation-function): New function: ElDoc glue.
5064 (cfengine3-completion-function): New function: completion glue.
5065 (cfengine3-mode): Set `compile-command',
5066 `eldoc-documentation-function', and add to
5067 `completion-at-point-functions'.
5068
5069 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5070
5071 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5072 `tramp-current-connection'.
5073
5074 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5075
5076 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5077 nil/self/true/false with "end of symbol".
5078
5079 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5080
5081 * subr.el (version-regexp-alist): Fix a typo.
5082
5083 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5084
5085 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5086 "en_US.utf8" and "LC_CTYPE" to "".
5087 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5088 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5089
5090 2013-11-15 Leo Liu <sdl.web@gmail.com>
5091
5092 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5093
5094 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5095
5096 * progmodes/gud.el (ctl-x-map):
5097 Remove C-x SPC binding. (Bug#12342)
5098 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5099
5100 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5101
5102 * subr.el (version-regexp-alist):
5103 Recognize hg, svn and darcs versions as snapshot versions.
5104
5105 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5106 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5107 (ruby--encoding-comment-required-p): Extract from
5108 `ruby-mode-set-encoding'.
5109 (ruby-mode-set-encoding): Add the ability to always insert an
5110 utf-8 encoding comment. Fix and simplify coding comment update
5111 logic.
5112
5113 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5114
5115 * net/tramp-gvfs.el (top): Run init code only when
5116 `tramp-gvfs-enabled' is not nil.
5117 (tramp-gvfs-enabled): Check also :system bus.
5118
5119 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5120
5121 Sync with upstream verilog-mode revision 78e66ba.
5122 * progmodes/verilog-mode.el (verilog-end-of-defun)
5123 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5124 (verilog-get-end-of-defun): Remove unused argument.
5125 (verilog-comment-depth): Remove unused local `e'.
5126 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5127 Don't pass arg to verilog-get-end-of-defun.
5128
5129 2013-11-14 Glenn Morris <rgm@gnu.org>
5130
5131 * obsolete/assoc.el (aget): Prefix dynamic variable.
5132
5133 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5134
5135 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * widget.el, hfy-cmap.el: Remove bogus package version number.
5138
5139 2013-11-13 Glenn Morris <rgm@gnu.org>
5140
5141 * replace.el (replace-eval-replacement):
5142 Try to give more helpful error message. (Bug#15836)
5143
5144 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5145 (archive-7z-update): Avoid custom type mismatches.
5146
5147 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5148
5149 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5150
5151 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5152 address can be empty.
5153
5154 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5155 Accept nil SWITCHES.
5156 (tramp-gvfs-handle-write-region): Implement APPEND.
5157
5158 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5159
5160 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5161 binary "|" operator and closing block args delimiter.
5162 Remove FIXME comment referring to Ruby 1.8-only syntax.
5163 (ruby-smie--implicit-semi-p): Not after "|" operator.
5164 (ruby-smie--closing-pipe-p): New function.
5165 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5166 (ruby-smie-rules): Indent after "|".
5167
5168 2013-11-12 Glenn Morris <rgm@gnu.org>
5169
5170 * ps-print.el (ps-face-attribute-list):
5171 Handle anonymous faces. (Bug#15827)
5172
5173 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5174
5175 * window.el (display-buffer-other-frame): Fix doc-string.
5176 (Bug#15868)
5177
5178 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5179
5180 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5181
5182 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5183
5184 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5185 (tramp-sh-handle-file-local-copy): Don't write a message when
5186 saving temporary files.
5187
5188 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5189 both directories are remote.
5190 (tramp-smb-handle-directory-files): Do not return double entries.
5191 Do not expand full file names.
5192 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5193 (tramp-smb-handle-write-region): Implement APPEND.
5194 (tramp-smb-get-stat-capability): Fix a stupid bug.
5195
5196 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5199
5200 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5201
5202 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5203 throwing error over malformed let/let* (bug#15814).
5204
5205 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5206
5207 * iswitchb.el (iswitchb-mode): Mark obsolete.
5208
5209 2013-11-11 Glenn Morris <rgm@gnu.org>
5210
5211 * international/uni-bidi.el, international/uni-category.el:
5212 * international/uni-name.el, international/uni-numeric.el:
5213 Regenerate for Unicode 6.3.0.
5214
5215 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5216
5217 * net/tramp.el (tramp-methods):
5218 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5219 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5220
5221 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5222
5223 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5224 Force highlighting text after Summary keyword in doc face for rpm.
5225
5226 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5227
5228 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5229 available and the word has no wildcards, append one to the grep pattern.
5230 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5231 (ispell-complete-word): Call `ispell-lookup-words' with the value
5232 independent of `ispell-look-p'.
5233
5234 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5235
5236 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5237 Not after "||".
5238 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5239 their parent.
5240
5241 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5244 (ruby-font-lock-keywords): Use backquote.
5245
5246 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5247
5248 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5249 (ruby-smie--backward-token): Only consider full-string matches.
5250
5251 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5252
5253 * faces.el (describe-face): Add distant-foreground.
5254
5255 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5256
5257 * progmodes/ruby-mode.el: Improve encoding comment handling.
5258 (ruby-encoding-magic-comment-style): New option.
5259 (ruby-custom-encoding-magic-comment-template): New option.
5260 (ruby--insert-coding-comment, ruby--detect-encoding):
5261 New functions extracted from `ruby-mode-set-encoding'.
5262 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5263 to control the style of the auto-inserted encoding comment.
5264
5265 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5266
5267 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5268 Use `smie-backward-sexp' with token argument.
5269
5270 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5271
5272 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5273 Remove instrumentation code.
5274
5275 2013-11-08 Glenn Morris <rgm@gnu.org>
5276
5277 * progmodes/autoconf.el (autoconf-mode):
5278 Tweak comment-start-skip. (Bug#15822)
5279
5280 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5283 at bobp (bug#15826).
5284 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5285
5286 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5287
5288 * man.el (Man-start-calling): New macro, extracted from
5289 Man-getpage-in-background.
5290 (Man-getpage-in-background): Use it.
5291 (Man-update-manpage): New command.
5292 (Man-mode-map): Bind it.
5293
5294 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5295
5296 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5297 of "and", "or", "&&" and "||".
5298 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5299 argument. Prohibit opening curly brace because it could only be a
5300 block opener in that position.
5301 (ruby-smie--forward-token, ruby-smie--backward-token):
5302 Separate "|" from "&" or "*" going after it. That can happen in block
5303 arguments.
5304 (ruby-smie--indent-to-stmt): New function, seeks the end of
5305 previous statement or beginning of buffer.
5306 (ruby-smie-rules): Use it.
5307 (ruby-smie-rules): Check if there's a ":" before a curly block
5308 opener candidate; if there is, it's a hash.
5309
5310 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5313 (cl--block-wrapper): Fix last accidental change.
5314
5315 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5316
5317 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5318 Instrument, in order to hunt failure on hydra.
5319
5320 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5321
5322 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5323 malformed bindings form (bug#15814).
5324
5325 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5326
5327 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5328 "." compared to " @ ". This incidentally fixes some indentation
5329 examples with "do".
5330 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5331 (ruby-smie-grammar): New tokens: "and" and "or".
5332 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5333 Exclude "and" and "or". Remove "do" in order to work around token
5334 priorities.
5335 (ruby-smie-rules): Add all infix tokens. Handle the case of
5336 beginning-of-buffer.
5337
5338 2013-11-06 Glenn Morris <rgm@gnu.org>
5339
5340 * Makefile.in (setwins_almost, setwins_for_subdirs):
5341 Avoid accidental matches.
5342
5343 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5344
5345 * menu-bar.el (popup-menu): Use key-binding.
5346
5347 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5348
5349 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5350 menus, support also the menus produced by minor modes.
5351 (Bug#15817)
5352
5353 2013-11-06 Leo Liu <sdl.web@gmail.com>
5354
5355 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5356 DISTANCE to bound the search. All uses changed. (Bug#15808)
5357
5358 2013-11-06 Glenn Morris <rgm@gnu.org>
5359
5360 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5361 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5362 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5363
5364 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5365
5366 * electric.el (electric-indent-just-newline): New command.
5367 (electric-indent-mode-map): New keymap.
5368 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5369 Re-add :group which weren't redundant.
5370
5371 * electric.el (electric-indent-local-mode): New minor mode.
5372 (electric-indent-functions-without-reindent): New var.
5373 (electric-indent-post-self-insert-function): Use it.
5374 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5375
5376 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5377
5378 * international/quail.el (quail-help): Be more explicit about the
5379 meaning of the labels shown on the keys. (Bug#15800)
5380
5381 * startup.el (normal-top-level): Load the subdirs.el files before
5382 setting the locale environment. (Bug#15805)
5383
5384 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5387 via arguments so as to get the right ones (bug#15418).
5388
5389 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5390
5391 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5392
5393 Fix problems found while writing a test suite.
5394
5395 * net/tramp-compat.el (tramp-compat-load): New defun.
5396 * net/tramp.el (tramp-handle-load): Use it.
5397
5398 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5399 "(numberp ok-if-already-exists)" correctly.
5400
5401 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5402
5403 * international/characters.el (glyphless-char-display-control):
5404 Add usage note.
5405
5406 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5407
5408 * progmodes/python.el (python-mode):
5409 * progmodes/scheme.el (scheme-mode):
5410 * progmodes/prolog.el (prolog-mode):
5411 * progmodes/ruby-mode.el (ruby-mode):
5412 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5413 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5414
5415 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * rect.el (rectangle--highlight-for-redisplay):
5418 * emacs-lisp/smie.el (smie--next-indent-change):
5419 Use buffer-chars-modified-tick.
5420
5421 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5422
5423 * electric.el (electric-indent-post-self-insert-function):
5424 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5425
5426 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5427
5428 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5429
5430 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5431
5432 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5433 (bug#15786).
5434
5435 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5438
5439 * progmodes/python.el: Fix up last change.
5440 (python-shell--save-temp-file): New function.
5441 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5442 `string' comes from the current buffer.
5443 (python-shell-send-string-no-output): Remove `msg' arg.
5444 (python--use-fake-loc): New var.
5445 (python-shell-buffer-substring): Obey it. Try to compensate for the
5446 extra coding line added by python-shell--save-temp-file.
5447 (python-shell-send-region): Use python-shell--save-temp-file and
5448 python-shell-send-file directly. Add `nomain' argument.
5449 (python-shell-send-buffer): Use python-shell-send-region.
5450 (python-electric-pair-string-delimiter): New function.
5451 (python-mode): Use it.
5452
5453 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5454
5455 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5456 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5457 environment and decoding all of the default-directory's to here
5458 from command-line.
5459 (command-line): Decode also argv[0].
5460
5461 * loadup.el: Error out if default-directory is a multibyte string
5462 when we are dumping.
5463
5464 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5465
5466 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5467
5468 * emacs-lisp/package.el (package-menu-mode)
5469 (package-menu--print-info, package-menu--archive-predicate):
5470 Add Archive column to package list.
5471
5472 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5473
5474 Fix problems found while writing a test suite.
5475
5476 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5477 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5478 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5479 to nil when running original file name handler. Otherwise,
5480 there are problems with constructs like "$$FOO".
5481
5482 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5483 for `localname'.
5484
5485 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5486
5487 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5488
5489 * subr.el (version<, version<=, version=):
5490 Update docstrings with information for snapshot versions.
5491
5492 * helpers.el: New library for misc helper functions.
5493 (hash-table-keys): New function returning a list of hash keys.
5494 (hash-table-values): New function returning a list of hash values.
5495
5496 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5497
5498 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5499 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5500
5501 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5502
5503 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5504 checking whether point is after a 1-letter word.
5505
5506 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5507
5508 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5509 Don't infloop when expanding region over `multiline' syntax-type that
5510 begins a line (bug#15778).
5511
5512 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5515 Make it into a proper minor mode.
5516 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5517 (rectangle-mark-mode-map): New keymap.
5518 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5519
5520 2013-11-04 Glenn Morris <rgm@gnu.org>
5521
5522 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5523
5524 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5527 (ruby-smie-rules): Use smie-rule-parent instead.
5528
5529 * emacs-lisp/smie.el (smie-rule-parent): Always call
5530 smie-indent-virtual rather than only for hanging tokens.
5531 (smie--next-indent-change): New helper command.
5532
5533 2013-11-03 Glenn Morris <rgm@gnu.org>
5534
5535 * Makefile.in (abs_srcdir): Remove.
5536 (emacs): Unset EMACSLOADPATH.
5537
5538 2013-11-02 Glenn Morris <rgm@gnu.org>
5539
5540 * Makefile.in (EMACS): Use a relative filename.
5541 (abs_top_builddir): Remove.
5542 (custom-deps, finder-data, autoloads): Use --chdir.
5543
5544 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5545
5546 Use relative filenames in TAGS files.
5547 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5548 (lisptagsfiles4, TAGS): Use relative file names.
5549 (TAGS-LISP): Remove.
5550 (maintainer-clean): No more TAGS-LISP file.
5551
5552 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5553 (lisptagsfiles4): Use absolute filenames again.
5554 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5555 Remove all *loaddefs files, not just the first. Remove esh-groups.
5556 (maintainer-clean): Delete TAGS, TAGS-LISP.
5557
5558 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5559
5560 * emacs-lisp/package.el (package-version-join):
5561 Recognize snapshot versions.
5562
5563 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5564
5565 * subr.el (version-regexp-alist): Add support for snapshot versions.
5566
5567 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5568
5569 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5570 New function, replacement for `smie-rule-parent' for when we want to
5571 skip over our direct parent if it's an assignment token..
5572 (ruby-smie-rules): Use it.
5573
5574 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5575
5576 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5577 unconditionally. Remove now unnecessary forward declarations.
5578 Remove XEmacs-specific setup.
5579 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5580 (ruby-font-lock-syntactic-keywords)
5581 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5582 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5583 (ruby-here-doc-end-syntax): Remove.
5584 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5585 defined as function.
5586
5587 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5588
5589 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5590
5591 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5592
5593 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5594 table and abbrev table, `define-derived-mode' does that for us
5595 anyway.
5596
5597 2013-11-01 Glenn Morris <rgm@gnu.org>
5598
5599 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5600 files is atomic for some time, so no parallel compilation issues).
5601
5602 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5603
5604 * faces.el (face-x-resources): Add :distant-foreground.
5605 (region): Use :distant-foreground for gtk and ns.
5606
5607 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5608
5609 Allow multiple bibliographies when BibLaTeX is used rather than
5610 BibTeX.
5611 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5612 (reftex-locate-bibliography-files): Us it.
5613
5614 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5615
5616 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5617 allow comments in pbm files.
5618
5619 * term/w32-win.el (dynamic-library-alist): Support newer versions
5620 of libjpeg starting with v7: look only for the DLL from the
5621 version against which Emacs was built.
5622 Support versions of libpng beyond 1.4.x.
5623 Support libtiff v4.x.
5624
5625 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5626
5627 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5628 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5629 Add property :safe.
5630 (ruby-deep-arglist): Add property :type.
5631
5632 2013-10-31 Glenn Morris <rgm@gnu.org>
5633
5634 * Makefile.in (custom-deps, finder-data): No need to setq the target
5635 variables, we are in the right directory and the defaults work fine.
5636
5637 2013-10-30 Glenn Morris <rgm@gnu.org>
5638
5639 * Makefile.in (autoloads): Do not use abs_lisp.
5640
5641 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5642 `newline' does not respect `standard-output', so use `princ'.
5643
5644 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5645
5646 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5647 * buff-menu.el (Buffer-menu--unmark): New function.
5648 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5649
5650 2013-10-30 Glenn Morris <rgm@gnu.org>
5651
5652 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5653
5654 * emacs-lisp/package.el (lm-homepage): Declare.
5655
5656 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5657 Fix doc typos.
5658
5659 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5660
5661 * Makefile.in (finder-data, autoloads, update-subdirs)
5662 (compile-main, compile-clean, compile-always, bootstrap-clean):
5663 Check return value of cd.
5664 (compile-calc): Remove.
5665
5666 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5669
5670 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5671 (byte-compile-and-folded): New function.
5672 (=, <, >, <=, >=): Use it.
5673
5674 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5675 (path-separator, null-device, buffer-file-coding-system)
5676 (lpr-headers-switches): Check system-type before modifying them.
5677 (find-buffer-file-type-coding-system): Mark obsolete.
5678 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5679 find-file-not-found-set-buffer-file-coding-system.
5680 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5681 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5682 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5683 (w32-direct-print-region-helper, w32-direct-print-region-function)
5684 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5685 * startup.el (normal-top-level-add-subdirs-to-load-path):
5686 * ps-print.el (ps-print-region-function):
5687 * lpr.el (print-region-function): Use new name.
5688
5689 * subr.el (custom-declare-variable-early): Remove function.
5690 (custom-declare-variable-list): Remove var.
5691 (error, user-error): Remove `while' loop.
5692 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5693 (user-emacs-directory-warning, locate-user-emacs-file):
5694 Move to files.el.
5695 * simple.el (read-quoted-char-radix, read-quoted-char):
5696 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5697 Move from subr.el.
5698 * custom.el (custom-declare-variable-list): Don't process
5699 custom-declare-variable-list.
5700
5701 * progmodes/python.el (python-shell-get-buffer): New function.
5702 (python-shell-get-process): Use it.
5703 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5704 Python which encoding was used. Don't split-string since we only care
5705 about the first line. Return the temp-file, if applicable.
5706 (python-shell-send-region): Tell compile.el how to turn locations in
5707 the temp-file into locations in the source buffer.
5708
5709 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * subr.el (undefined): Add missing behavior from the C code for
5712 unbound keys.
5713
5714 * rect.el: Use lexical-binding. Add new rectangular region support.
5715 (rectangle-mark): New command.
5716 (rectangle--region): New var.
5717 (deactivate-mark-hook): Reset rectangle--region.
5718 (rectangle--extract-region, rectangle--insert-for-yank)
5719 (rectangle--highlight-for-redisplay)
5720 (rectangle--unhighlight-for-redisplay): New functions.
5721 (region-extract-function, redisplay-unhighlight-region-function)
5722 (redisplay-highlight-region-function): Use them to handle
5723 rectangular region.
5724 * simple.el (region-extract-function): New var.
5725 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5726 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5727 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5728 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5729 (redisplay-unhighlight-region-function)
5730 (redisplay-highlight-region-function): New vars.
5731 (redisplay--update-region-highlight): New function.
5732 (pre-redisplay-function): Use it.
5733 (exchange-point-and-mark): Don't deactivate the mark before
5734 reactivate-it anyway.
5735 * comint.el (comint-kill-region): Remove yank-handler argument.
5736 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5737 (delete-char): Remove property, since it's now part of their
5738 default behavior.
5739 (self-insert-iso): Remove property since this command doesn't exist.
5740
5741 * emacs-lisp/package.el (package--download-one-archive)
5742 (describe-package-1): Don't query the user about final newline.
5743
5744 2013-10-29 Daniel Colascione <dancol@dancol.org>
5745
5746 * net/tramp.el (tramp-methods): Document new functionality.
5747 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5748 tramp-hostname-checker if method provides one instead of scanning
5749 argument list for "%h" to decide hostname acceptability.
5750
5751 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5754 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5755 Handle COPY-CONTENTS. (Bug#15737)
5756
5757 2013-10-28 Daiki Ueno <ueno@gnu.org>
5758
5759 * epa-file.el
5760 (epa-file-cache-passphrase-for-symmetric-encryption):
5761 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5762
5763 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5764
5765 * image.el (defimage, image-load-path): Doc fixes.
5766
5767 2013-10-27 Alan Mackenzie <acm@muc.de>
5768
5769 Indent statements in macros following "##" correctly.
5770 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5771 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5772
5773 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5774
5775 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5776
5777 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5778
5779 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5780 after `=' is probably a new expression.
5781
5782 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5783
5784 * man.el (man-imenu-title): New option.
5785 (Man-mode-map): Add menu. (Bug#15722)
5786 (Man-mode): Add imenu to menu.
5787
5788 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5789
5790 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5791 specific in what the first arg can be: a non-keyword word,
5792 string/regexp/percent literal opener, opening paren, or unary
5793 operator followed directly by word.
5794
5795 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5798 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5799 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5800 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5801 Remove vars, they do not apply any more.
5802 (prolog-mode-abbrev-table): Remove redundant declaration.
5803 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5804 (prolog-use-smie): Remove.
5805 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5806 supported by prolog-electric-if-then-else-flag.
5807 (prolog-mode-variables, prolog-menu): Use setq-local.
5808 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5809 Remove binding to `Backspace' since this key doesn't exist anyway.
5810 Remove bindings for electric self-inserting keys.
5811 (prog-mode): Assume it's defined.
5812 (prolog-post-self-insert): New function.
5813 (prolog-mode): Use it.
5814 (prolog-indent-line, prolog-indent-level)
5815 (prolog-find-indent-of-matching-paren)
5816 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5817 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5818 (prolog-goto-next-paren, prolog-in-string-or-comment)
5819 (prolog-tokenize, prolog-inside-mline-comment)
5820 (prolog-find-start-of-mline-comment): Remove functions.
5821 (prolog-find-unmatched-paren, prolog-clause-end)
5822 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5823 (prolog-electric--if-then-else): Rename from
5824 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5825 (prolog-tokenize-searchkey): Remove const.
5826 (prolog-clause-info): Use forward-sexp.
5827 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5828 (prolog-electric-if-then-else): Remove commands.
5829 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5830 for use in post-self-insert-hook.
5831 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5832 for use in post-self-insert-hook.
5833 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5834 for use in post-self-insert-hook.
5835 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5836 adapt it for use in post-self-insert-hook.
5837
5838 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5839
5840 * emacs-lisp/ert.el (ert-run-tests-interactively):
5841 Use `completing-read'. (Bug#9756)
5842
5843 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5844
5845 * simple.el (line-move): Call line-move-1 instead of
5846 line-move-visual when the current window hscroll is zero, but
5847 temporary-goal-column indicates we will need to hscroll as result
5848 of the movement. (Bug#15712)
5849
5850 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5851
5852 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5853 capitalization. Use :visible instead of :active.
5854 Fix `ruby-indent-exp' reference. Add menu items for the generic
5855 commands that are used with SMIE.
5856 (ruby-do-end-to-brace): Insert space after `{'.
5857
5858 2013-10-25 John Anthony <john@jo.hnanthony.com>
5859
5860 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5861
5862 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5863
5864 2013-10-25 Glenn Morris <rgm@gnu.org>
5865
5866 * vc/vc.el (vc-print-log): Don't use a working revision unless
5867 one was explicitly specified. (Bug#15322)
5868
5869 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * subr.el (add-to-list): Preserve return value in compiler-macro
5872 (bug#15692).
5873
5874 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5875
5876 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5877 result. Ask user to retry using '-all' flag. (Bug#15701)
5878
5879 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5880
5881 * emacs-lisp/smie.el: New smie-config system.
5882 (smie-config): New defcustom.
5883 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5884 (smie-config-guess, smie-config-save): New commands.
5885 (smie-config--mode-local, smie-config--buffer-local)
5886 (smie-config--trace, smie-config--modefuns): New vars.
5887 (smie-config--advice, smie-config--mode-hook)
5888 (smie-config--setter, smie-config-local, smie-config--get-trace)
5889 (smie-config--guess-value, smie-config--guess): New functions.
5890 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5891 text properties. Treat "string fence" syntax like string syntax.
5892
5893 * progmodes/sh-script.el (sh-use-smie): Change default.
5894 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5895 (sh-var-value): Simplify by CSE.
5896 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5897 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5898 is used.
5899 (sh-guess-basic-offset): Use cl-incf.
5900 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5901
5902 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5903
5904 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5905 (bug#15699).
5906
5907 2013-10-24 Glenn Morris <rgm@gnu.org>
5908
5909 * Makefile.in (abs_top_srcdir): Remove.
5910 (update-subdirs): Use relative path to update-subdirs.
5911
5912 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5913
5914 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5915 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5916 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5917 Call unmsys--file-name before expand-file-name, not after it.
5918
5919 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5920
5921 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5922 (ert-test-skipped): New error.
5923 (ert-skip, ert-stats-skipped): New defuns.
5924 (ert--skip-unless): New macro.
5925 (ert-test-skipped): New struct.
5926 (ert--run-test-debugger, ert-test-result-type-p)
5927 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5928 (ert--stats-set-test-and-result, ert-char-for-test-result)
5929 (ert-string-for-test-result, ert-run-tests-batch)
5930 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5931 Handle skipped tests. (Bug#9803)
5932
5933 2013-10-24 Glenn Morris <rgm@gnu.org>
5934
5935 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5936
5937 * Makefile.in (abs_top_srcdir): New, set by configure.
5938 (update-subdirs): Correct build-aux location.
5939
5940 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5941
5942 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5943 value, whether we could auto-deduce `backend', or not.
5944
5945 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5946 with parameters" example. Simplify the "is it block or is it
5947 hash" check, but also make it more thorough.
5948
5949 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5950
5951 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5952
5953 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5956 { if it is hanging.
5957
5958 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5959 :before ";".
5960
5961 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5962
5963 * progmodes/compile.el (compilation-directory-matcher)
5964 (compilation-page-delimiter):
5965 Support GNU Make-4.0 directory quoting. (Bug#15678)
5966
5967 2013-10-23 Leo Liu <sdl.web@gmail.com>
5968
5969 * ido.el (ido-tidy): Handle read-only text.
5970
5971 2013-10-23 Glenn Morris <rgm@gnu.org>
5972
5973 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5974 (emacs, compile, compile-always):
5975 Quote entities that might contain whitespace.
5976 (custom-deps, finder-data, autoloads): Use abs_lisp.
5977 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5978 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5979 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5980
5981 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5982
5983 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5984 Use `following-char'.
5985
5986 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5989 * progmodes/ruby-mode.el (ruby-smie-rules):
5990 Remove corresponding workaround. Fix indentation rule of ";" so it
5991 also applies when ";" is the parent.
5992
5993 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5994
5995 * frame.el (display-screens, display-pixel-height)
5996 (display-pixel-width, display-mm-width, display-backing-store)
5997 (display-save-under, display-planes, display-color-cells)
5998 (display-visual-class, display-monitor-attributes-list):
5999 Mention the optional ‘display’ argument in doc strings.
6000
6001 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6002
6003 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6004 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6005
6006 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6007
6008 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6009 TODO. Add "." after " @ ".
6010 (ruby-smie--at-dot-call): New function. Checks if point at method
6011 call with explicit target.
6012 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6013 to the method name tokens when it precedes them.
6014 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6015 (ruby-smie-rules): Add rule for indentation before and after "."
6016 token.
6017
6018 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * textmodes/remember.el (remember-diary-extract-entries):
6021 Avoid add-to-list.
6022
6023 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6024 an instruction.
6025
6026 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6027
6028 * progmodes/ruby-mode.el (ruby-smie-grammar):
6029 Add (almost) all infix operators.
6030 (ruby-smie--implicit-semi-p): Add new operator chars.
6031
6032 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6033 `smie-down-list'.
6034 (ruby-smie--args-separator-p): Check that there's no newline
6035 between method call and its arguments.
6036
6037 2013-10-20 Alan Mackenzie <acm@muc.de>
6038
6039 Allow comma separated lists after Java "implements".
6040
6041 * progmodes/cc-engine.el (c-backward-over-enum-header):
6042 Parse commas.
6043 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6044 from a "disallowed" list in enum fontification.
6045
6046 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6047
6048 * startup.el (default-frame-background-mode): Remove unused defvar.
6049
6050 * progmodes/verilog-mode.el (verilog-mode): Don't set
6051 comment-indent-function globally.
6052
6053 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6054
6055 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6056 Move Info menu item creation to ns-win.el.
6057
6058 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6059 in menu bar.
6060
6061 * menu-bar.el: Move GNUstep specific menus...
6062
6063 * term/ns-win.el (ns-initialize-window-system): ... to here.
6064
6065 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * simple.el (newline): Only run post-self-insert-hook when
6068 called interactively.
6069
6070 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6071
6072 * icomplete.el (icomplete-with-completion-tables): Add :version.
6073
6074 2013-10-19 Alan Mackenzie <acm@muc.de>
6075
6076 Fix fontification bugs with constructors and const.
6077
6078 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6079 CASE 2) Remove the check for the absence of a suffix construct
6080 after a function declaration with only types (no identifiers) in
6081 the parentheses. Also, accept a function declaration with just a
6082 type inside the parentheses, if this type can be positively
6083 recognised as such, or if a prefix keyword like "explicit" nails
6084 down the construct as a declaration.
6085
6086 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6087
6088 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6089 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6090 the problem whereby selecting a menu item that leads to a
6091 minibuffer prompt moves the cursor out of the minibuffer window,
6092 making it hard to type at the prompt. Suggested by Stefan Monnier
6093 <monnier@iro.umontreal.ca>.
6094
6095 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6096
6097 * menu-bar.el: Don't make Services menu.
6098
6099 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6100
6101 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6102 (ffap-alist): Use ffap-c++-mode for c++-mode.
6103 (ffap-c++-path): New variable.
6104 (ffap-c++-mode): New function.
6105
6106 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6107
6108 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6109
6110 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6111
6112 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6113 introduced on 2013-09-08, which results in an infinite loop
6114 requesting a password.
6115
6116 2013-10-18 Glenn Morris <rgm@gnu.org>
6117
6118 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6119
6120 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6121
6122 Sync with upstream verilog-mode revision 1a6ecec7.
6123 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6124 (verilog-mode-release-date): Remove.
6125 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6126 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6127 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6128 (verilog-auto-tieoff-ignore-regexp)
6129 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6130 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6131 (verilog-signals-with, verilog-dir-cache-preserving)
6132 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6133 Doc fixes.
6134 (verilog-case-fold): New option, to control case folding in
6135 regexp searches, bug597.
6136 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6137 (verilog-string-match-fold, verilog-in-paren-count)
6138 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6139 (verilog-at-close-struct-p): New functions.
6140 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6141 (verilog-forward-sexp, verilog-set-auto-endcomments)
6142 (verilog-leap-to-case-head): Handle "unique0" case.
6143 (verilog-in-constraint-re): New constant.
6144 (verilog-keywords, verilog-type-font-keywords):
6145 Add some SystemVerilog 1800-2012 keywords.
6146 (verilog-label-be): Remove unimplemented argument, bug669.
6147 (verilog-batch-execute-func): When batch expanding clear
6148 create-lockfiles to prevent spurious user locks when a file ends
6149 up not changing.
6150 (verilog-calculate-indent, verilog-calc-1)
6151 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6152 (verilog-do-indent): Fix indentation of nested constraints
6153 and structures.
6154 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6155 (verilog-auto-inst-param): Use verilog-string-match-fold.
6156 (verilog-read-inst-module-matcher):
6157 Fix AUTOINST on gate primitives with #1.
6158 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6159 Reads all user-defined typed variables.
6160 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6161 (verilog-signals-matching-regexp)
6162 (verilog-signals-not-matching-regexp, verilog-auto):
6163 Respect verilog-case-fold.
6164 (verilog-diff-report): Fix line count.
6165 (verilog-auto-assign-modport): Remove unused local `modi'.
6166 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6167 better handle multidimensional arrays.
6168 Fix packed array ports misadding bit index in AUTOINST, bug637.
6169 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6170 to not double-declare existing outputs and inputs, respectively.
6171 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6172 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6173 (verilog-sk-uvm-component): New skeleton.
6174 (verilog-submit-bug-report): Add verilog-case-fold,
6175 remove verilog-mode-release-date.
6176
6177 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6178
6179 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6180 as before.
6181
6182 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6183
6184 * textmodes/remember.el (remember): Set buffer-offer-save in
6185 remember buffers (bug#13566).
6186
6187 2013-10-18 Daniel Colascione <dancol@dancol.org>
6188
6189 When evaluating forms in ielm, direct standard output to ielm
6190 buffer. Add new ielm-return-for-effect command. Remove trailing
6191 whitespace throughout.
6192
6193 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6194 (ielm-return-for-effect): New command.
6195 (ielm-send-input): Accept optional `for-effect' parameter.
6196 (ielm-eval-input): Accept optional `for-effect' parameter.
6197 Bind `standard-output' to stream we create using
6198 `ielm-standard-output-impl'. Suppress printing result when
6199 `for-effect'.
6200 (ielm-standard-output-impl): New function.
6201 (inferior-emacs-lisp-mode): Explain new features in documentation.
6202
6203 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6204
6205 Code cleanup.
6206
6207 * net/tramp.el (tramp-debug-message): Do not check for connection
6208 buffer.
6209 (tramp-message): Use "vector" connection property.
6210
6211 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6212 (tramp-equal-remote, tramp-eshell-directory-change)
6213 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6214 (tramp-adb-handle-rename-file)
6215 * net/tramp-cmds.el (tramp-list-remote-buffers)
6216 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6217 * net/tramp-compat.el (tramp-compat-process-running-p)
6218 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6219 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6220 (tramp-gvfs-handle-rename-file)
6221 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6222 (tramp-set-file-uid-gid)
6223 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6224 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6225 of `file-remote-p'.
6226
6227 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6228 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6229 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6230 (tramp-gw-open-network-stream): Suppress unrelated traces.
6231
6232 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6233 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6234 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6235 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6236 connection property.
6237
6238 * net/tramp-cache.el (top): Suppress traces when reading
6239 persistency file.
6240
6241 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6242 Refactor common code. Improve debug message.
6243 (tramp-maybe-open-connection)
6244 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6245 connection buffer too early.
6246
6247 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6248 from `tramp-smb-actions-with-acl'.
6249 (tramp-smb-actions-set-acl): New defconst.
6250 (tramp-smb-handle-copy-directory)
6251 (tramp-smb-action-get-acl): New defun, renamed from
6252 `tramp-smb-action-with-acl'.
6253 (tramp-smb-action-set-acl): New defun.
6254 (tramp-smb-handle-set-file-acl): Rewrite.
6255
6256 2013-10-17 Glenn Morris <rgm@gnu.org>
6257
6258 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6259
6260 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6261
6262 * skeleton.el (skeleton-newline): Remove.
6263 (skeleton-internal-1): Use (insert "\n") instead.
6264
6265 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6266 let-bindings.
6267
6268 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6269 forward-sexp-function while we redo its job (bug#15613).
6270
6271 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6272
6273 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6274 represented by lists.
6275
6276 2013-10-16 Glenn Morris <rgm@gnu.org>
6277
6278 * tmm.el (tmm--history): New dynamic variable.
6279 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6280
6281 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6282
6283 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6284 (tramp-smb-errors): Add error messages.
6285 (tramp-smb-actions-with-acl): New defconst.
6286 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6287 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6288 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6289 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6290 (tramp-smb-get-stat-capability): Fix tests.
6291
6292 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6293
6294 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6295 (bug#15580).
6296
6297 2013-10-16 Glenn Morris <rgm@gnu.org>
6298
6299 * ansi-color.el (ansi-color-drop-regexp):
6300 Add 1J, 1K, 2K. (Bug#15617)
6301
6302 * files.el (hack-local-variables--warned-lexical): New.
6303 (hack-local-variables):
6304 Warn about misplaced lexical-binding. (Bug#15616)
6305
6306 * net/eww.el (eww-render): Always set eww-current-url,
6307 and update header line. (Bug#15622)
6308 (eww-display-html): ... Rather than just doing it here.
6309
6310 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6311
6312 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6313 menu navigations commands.
6314
6315 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6316
6317 * progmodes/subword.el (subword-capitalize): Be careful when
6318 the search for [[:alpha:]] fails (bug#15580).
6319
6320 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6321
6322 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6323 to commands that scroll the menu.
6324
6325 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6326
6327 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6328 Handle methods ending with `?' and `!'.
6329
6330 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6331
6332 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6333 `japanese-cp932' to `cp932' to fix the problem where saving a
6334 source file written in Shift_JIS twice would end up having
6335 `coding: japanese-cp932' which Ruby could not recognize.
6336 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6337 in `ruby-encoding-map'.
6338 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6339 doesn't need to be explicitly declared in magic comment.
6340 (ruby-encoding-map): Add type declaration for better customize UI.
6341
6342 2013-10-13 Glenn Morris <rgm@gnu.org>
6343
6344 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6345 Occur buffers are read-only. http://bugs.debian.org/720775
6346
6347 * emacs-lisp/authors.el (authors-fixed-entries):
6348 Comment out old alpha stuff.
6349
6350 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6351
6352 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6353 to `after-save-hook' instead of `before-save-hook'.
6354 (ruby-mode-set-encoding): Use the value of coding system used to
6355 write the file. Call `basic-save-buffer-1' after modifying the
6356 buffer.
6357
6358 2013-10-13 Alan Mackenzie <acm@muc.de>
6359
6360 Fix indentation/fontification of Java enum with
6361 "implements"/generic.
6362
6363 * progmodes/cc-engine.el (c-backward-over-enum-header):
6364 Extracted from the three other places and enhanced to handle generics.
6365 (c-inside-bracelist-p): Uses new function above.
6366 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6367 function above.
6368 (c-font-lock-enum-tail): Uses new function above.
6369
6370 2013-10-13 Kenichi Handa <handa@gnu.org>
6371
6372 * international/mule-cmds.el (select-safe-coding-system): Remove a
6373 superfluous condition in chekcing whether a coding system is safe
6374 or not.
6375
6376 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6377
6378 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6379
6380 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6381
6382 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6383
6384 2013-10-13 Glenn Morris <rgm@gnu.org>
6385
6386 * menu-bar.el (menu-bar-update-buffers):
6387 Unify Buffers menu prompt string. (Bug#15576)
6388
6389 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6390
6391 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6392 Add some entries.
6393 (authors-fixed-entries): Use accented form of name.
6394
6395 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6398 method calls (bug#15594).
6399 (ruby-smie--args-separator-p): New function.
6400 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6401 recognize paren-free method calls.
6402
6403 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6404 internals of universal-argument.
6405
6406 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6407
6408 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6409 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6410 dropped menu on second mouse click on the menu bar.
6411
6412 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6413
6414 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6415 (explicit-shell-file-name): Declare.
6416 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6417 (sh-completion-at-point-function): New function.
6418 (sh-mode): Use it.
6419 (sh-smie--keyword-p): Remove unused argument.
6420 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6421 vars.
6422 (sh-set-shell): Always setup SMIE, even if we use the
6423 old indentation code.
6424
6425 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6426
6427 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6428 cases of ? and =.
6429 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6430 predicate would return nil are almost non-existent.
6431 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6432
6433 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6434 cache also after commands that modify the buffer but don't move
6435 point.
6436
6437 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6438
6439 * env.el (substitute-env-in-file-name): New function.
6440 (substitute-env-vars): Extend the meaning of the optional arg.
6441
6442 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6443
6444 * term/w32-win.el (dynamic-library-alist): Define separate lists
6445 of GIF DLLs for versions before and after 5.0.0 of giflib.
6446 (Bug#15531)
6447
6448 2013-10-10 João Távora <joaotavora@gmail.com>
6449
6450 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6451 not locked, use last revision and current source as
6452 defaults. (Bug#15569)
6453
6454 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6455
6456 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6457 menu-bar is hidden.
6458
6459 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6460
6461 * window.el (pop-to-buffer-same-window): Fix doc-string.
6462 (Bug#15492)
6463
6464 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6467
6468 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6469
6470 * calendar/icalendar.el (icalendar-import-file):
6471 Fix interactive spec. (Bug#15482)
6472
6473 2013-10-10 Glenn Morris <rgm@gnu.org>
6474
6475 * desktop.el (desktop-save): Default to saving in .emacs.d,
6476 since PWD is no longer in desktop-path by default. (Bug#15319)
6477
6478 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6479 now that text mode has a menu with the same entry.
6480 (menu-bar-text-mode-auto-fill): Remove now unused func.
6481 * textmodes/text-mode.el (text-mode-map):
6482 Use auto-fill help text from menu-bar.el.
6483
6484 2013-10-10 John Anthony <john@jo.hnanthony.com>
6485
6486 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6487
6488 2013-10-09 Juri Linkov <juri@jurta.org>
6489
6490 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6491 instead of this-command-keys. Add universal-argument-more and
6492 universal-argument-minus to the list of prefix commands. (Bug#15568)
6493
6494 2013-10-09 Glenn Morris <rgm@gnu.org>
6495
6496 * vc/vc-svn.el (vc-svn-create-repo):
6497 Expand paths in file://... url. (Bug#15446)
6498
6499 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6500 Add some entries.
6501 (authors): Remove unused local variables.
6502
6503 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6504
6505 * profiler.el: Create a more coherent calltree from partial backtraces.
6506 (profiler-format): Hide the tail with `invisible' so that C-s can still
6507 find the hidden elements.
6508 (profiler-calltree-depth): Don't recurse so enthusiastically.
6509 (profiler-function-equal): New hash-table-test.
6510 (profiler-calltree-build-unified): New function.
6511 (profiler-calltree-build): Use it.
6512 (profiler-report-make-name-part): Indent the calltree less.
6513 (profiler-report-mode): Add visibility specs for profiler-format.
6514 (profiler-report-expand-entry, profiler-report-toggle-entry):
6515 Expand the whole subtree when provided with a prefix arg.
6516
6517 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6518
6519 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6520 iuwu-mod token.
6521 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6522 hanging iuwu-mod token.
6523 (ruby-smie--forward-token): Do not include a dot after a token in
6524 that token.
6525 (ruby-smie--backward-token): Likewise.
6526
6527 2013-10-08 Juri Linkov <juri@jurta.org>
6528
6529 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6530 to isearch-other-control-char.
6531 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6532 and isearch-post-command-hook to post-command-hook.
6533 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6534 and isearch-post-command-hook from post-command-hook.
6535 (isearch-unread-key-sequence)
6536 (isearch-reread-key-sequence-naturally)
6537 (isearch-lookup-scroll-key, isearch-other-control-char)
6538 (isearch-other-meta-char): Remove functions.
6539 (isearch-pre-command-hook, isearch-post-command-hook):
6540 New functions based on isearch-other-meta-char rewritten
6541 relying on the new behavior of overriding-terminal-local-map
6542 that does not replace the local keymaps any more. (Bug#15200)
6543
6544 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6545
6546 Support menus on text-mode terminals.
6547 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6548 functionality.
6549
6550 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6551
6552 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6553 Move here from mouse.el.
6554 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6555 and arrow keys.
6556 (tty-menu-navigation-map): New map for TTY menu navigation.
6557
6558 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6559
6560 * frame.el (display-mouse-p): Report text-mode mouse as available
6561 on w32.
6562 (display-popup-menus-p): Report availability if mouse is
6563 available; don't condition on window-system.
6564
6565 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6566 (tty-menu-selected-face): New faces.
6567
6568 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6569
6570 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6571 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6572 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6573 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6574 New constants.
6575 (lisp-mode-variables): New `elisp' argument.
6576 (emacs-lisp-mode): Use it.
6577 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6578 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6579
6580 * indent.el: Use lexical-binding.
6581 (indent-region): Add progress reporter.
6582 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6583 last step.
6584 (indent--next-tab-stop): New function to implement this behavior.
6585 (tab-to-tab-stop, move-to-tab-stop): Use it.
6586
6587 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6588
6589 * indent.el (indent-rigidly--current-indentation): New function.
6590 (indent-rigidly-map): New var.
6591 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6592
6593 2013-10-08 Bastien Guerry <bzg@gnu.org>
6594
6595 * register.el (insert-register): Fix 2013-10-07 change.
6596
6597 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * progmodes/perl-mode.el: Use lexical-binding.
6600 Remove redundant :group args.
6601 (perl-nochange): Change default to be closer to other major modes's
6602 standard behavior.
6603 (perl-indent-line): Don't consider text on current line as a
6604 valid beginning of function from which to indent.
6605
6606 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6607 with more than one argument (bug#15538).
6608
6609 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6610
6611 * vc/pcvs.el: Use lexical-binding.
6612 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6613 environment of `eval'.
6614 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6615 than a list of expressions. Adjust callers.
6616 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6617
6618 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6619
6620 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6621 case of the dot in a chained method call being on the following line.
6622
6623 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * electric.el (electric-indent-inhibit): New var.
6626 (electric-indent-post-self-insert-function): Use it.
6627 * progmodes/python.el (python-mode): Set it.
6628
6629 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6630 open braces.
6631
6632 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6633
6634 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6635 (css-mode): Use electric-indent-chars.
6636
6637 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6638 (font-lock-beg, font-lock-end): Move before first use.
6639 (nxml-mode): Use syntax-propertize-function.
6640 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6641 (nxml-extend-after-change-region): Remove.
6642 * nxml/xmltok.el: Use lexical-binding.
6643 (xmltok-save): Use `declare'.
6644 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6645 * nxml/nxml-util.el: Use lexical-binding.
6646 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6647 Use `declare'.
6648 * nxml/nxml-ns.el: Use lexical-binding.
6649 (nxml-ns-save): Use `declare'.
6650 (nxml-ns-prefixes-for): Avoid add-to-list.
6651 * nxml/rng-match.el: Use lexical-binding.
6652 (rng--ipattern): Use cl-defstruct.
6653 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6654 (rng-cons-group-after, rng-subst-group-after)
6655 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6656 Use closures instead of `(lambda...).
6657
6658 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6659
6660 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6661 of BEG and END.
6662
6663 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6664 Use `tramp-handle-insert-file-contents'.
6665 (tramp-gvfs-handle-insert-file-contents): Remove function.
6666
6667 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6668 Use `save-restriction' in order to keep markers.
6669
6670 * net/trampver.el: Update release number.
6671
6672 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6673
6674 * progmodes/compile.el (compilation-parse-errors):
6675 Use compilation--put-prop.
6676 (compilation--ensure-parse): Check compilation-multiline.
6677
6678 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6679
6680 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6681 lexical-binding.
6682
6683 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6684
6685 * progmodes/ruby-mode.el: Fix recently added tests.
6686 (ruby-smie-grammar): Add - and +.
6687 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6688 (ruby-smie--backward-id): New functions.
6689 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6690 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6691 any more.
6692
6693 2013-10-07 Leo Liu <sdl.web@gmail.com>
6694
6695 * register.el (register-preview-delay)
6696 (register-preview-functions): New variables.
6697 (register-read-with-preview, register-preview)
6698 (register-describe-oneline): New functions.
6699 (point-to-register, window-configuration-to-register)
6700 (frame-configuration-to-register, jump-to-register)
6701 (number-to-register, view-register, insert-register)
6702 (copy-to-register, append-to-register, prepend-to-register)
6703 (copy-rectangle-to-register): Use register-read-with-preview to
6704 read register. (Bug#15525)
6705
6706 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6707
6708 * net/network-stream.el (network-stream-open-starttls): Don't add
6709 --insecure if it's already present, because that gnutls-cli
6710 rejects getting that parameter twice.
6711
6712 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6713
6714 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6715 keyword, too.
6716
6717 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6718
6719 * newcomment.el (comment-use-global-state): Change default value
6720 to t, mark obsolete (Bug#15251).
6721 (comment-beginning): In addition to `comment-to-syntax', check the
6722 value of `comment-use-global-state'.
6723
6724 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6727 (ruby-comment-column): Follow the global default, by default.
6728 (ruby-smie-grammar): Add assignment syntax.
6729 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6730 open-paren, a comma, or a \.
6731 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6732 and line continuations.
6733 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6734 followed by implicit semi-colons. Add rule for string concatenation
6735 and for indentation at BOB.
6736 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6737
6738 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6739 calling next-sexp, since next-token may have skipped chars which
6740 next-sexp doesn't know should be skipped!
6741
6742 2013-10-05 Leo Liu <sdl.web@gmail.com>
6743
6744 * progmodes/octave.el (octave-send-region):
6745 Call compilation-forget-errors.
6746
6747 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6748
6749 * vc/vc-svn.el (vc-svn-find-admin-dir):
6750 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6751 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6752 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6753 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6754
6755 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6758
6759 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * subr.el (read-passwd): Hide chars even when called within a context
6762 where after-change-functions is disabled (bug#15501).
6763 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6764 until we removed ourself from overriding-terminal-local-map.
6765
6766 2013-10-04 Leo Liu <sdl.web@gmail.com>
6767
6768 * progmodes/octave.el (inferior-octave-mode):
6769 Call compilation-forget-errors.
6770
6771 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6772
6773 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6774
6775 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6776
6777 * net/secrets.el (secrets-create-collection): Add optional
6778 argument ALIAS. Use proper Label keyword. Append ALIAS as
6779 dbus-call-method argument. (Bug#15516)
6780
6781 2013-10-04 Leo Liu <sdl.web@gmail.com>
6782
6783 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6784 (inferior-octave-compilation-font-lock-keywords): New variables.
6785 (compilation-error-regexp-alist)
6786 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6787 (inferior-octave-mode): Use compilation-shell-minor-mode.
6788
6789 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6790
6791 * minibuffer.el (completion--replace): Be careful that `end' might be
6792 a marker.
6793
6794 2013-10-03 Daiki Ueno <ueno@gnu.org>
6795
6796 Add support for package signature checking.
6797 * emacs-lisp/package.el (url-http-file-exists-p)
6798 (epg-make-context, epg-context-set-home-directory)
6799 (epg-verify-string, epg-context-result-for)
6800 (epg-signature-status, epg-signature-to-string)
6801 (epg-check-configuration, epg-configuration)
6802 (epg-import-keys-from-file): Declare.
6803 (package-check-signature): New user option.
6804 (package-unsigned-archives): New user option.
6805 (package-desc): Add `signed' field.
6806 (package-load-descriptor): Set `signed' field if .signed file exists.
6807 (package--archive-file-exists-p): New function.
6808 (package--check-signature): New function.
6809 (package-install-from-archive): Check package signature.
6810 (package--download-one-archive): Check archive signature.
6811 (package-delete): Remove .signed file.
6812 (package-import-keyring): New command.
6813 (package-refresh-contents): Import default keyring.
6814 (package-desc-status): Add "unsigned" status.
6815 (describe-package-1, package-menu--print-info)
6816 (package-menu-mark-delete, package-menu--find-upgrades)
6817 (package-menu--status-predicate): Support "unsigned" status.
6818
6819 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6822 the new compilation scheme using the new byte-codes.
6823
6824 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6825 (byte-pophandler): New byte codes.
6826 (byte-goto-ops): Adjust accordingly.
6827 (byte-compile--use-old-handlers): New var.
6828 (byte-compile-catch): Use new byte codes depending on
6829 byte-compile--use-old-handlers.
6830 (byte-compile-condition-case--old): Rename from
6831 byte-compile-condition-case.
6832 (byte-compile-condition-case--new): New function.
6833 (byte-compile-condition-case): New function that dispatches depending
6834 on byte-compile--use-old-handlers.
6835 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6836 when we can.
6837
6838 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6839 Optimize under `condition-case' and `catch' if
6840 byte-compile--use-old-handlers is nil.
6841 (disassemble-offset): Handle new bytecodes.
6842
6843 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * subr.el (error): Use `declare'.
6846 (decode-char, encode-char): Use advertised-calling-convention instead
6847 of the docstring to discourage use of the `restriction' arg.
6848
6849 2013-10-03 Daiki Ueno <ueno@gnu.org>
6850
6851 * epg.el (epg-verify-file): Add a comment saying that it does not
6852 notify verification error as a return value nor a signal.
6853 (epg-verify-string): Ditto.
6854
6855 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6856
6857 * progmodes/compile.el (compilation-start): Try globbing the arg to
6858 `cd' (bug#15417).
6859
6860 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6861
6862 Sync with Tramp 2.2.8.
6863
6864 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6865 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6866 * net/trampver.el: Update release number.
6867
6868 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6869
6870 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6871 and default-process-coding-system for darwin only.
6872
6873 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6874
6875 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6876
6877 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6878
6879 * vc/vc-git.el (vc-git-grep): Disable pager.
6880
6881 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6882
6883 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6884 Use :url instead of :homepage, as per
6885 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6886
6887 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6888 non-nil, use `syntax-ppss' (Bug#15251).
6889
6890 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6891
6892 * progmodes/octave.el (inferior-octave-startup-file):
6893 Prefer ~/.emacs.d/init_octave.m.
6894
6895 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6896
6897 * emacs-lisp/package.el (package-desc-from-define):
6898 Accept additional arguments as plist, convert them to an alist and store
6899 them in the `extras' slot.
6900 (package-generate-description-file): Convert extras alist back to
6901 plist and append to the `define-package' form arguments.
6902 (package--alist-to-plist): New function.
6903 (package--ac-desc): Add `extras' slot.
6904 (package--add-to-archive-contents): Check if the archive-contents
6905 vector is long enough, and if it is, pass its `extras' slot value
6906 to `package-desc-create'.
6907 (package-buffer-info): Call `lm-homepage', pass the returned value
6908 to `package-desc-from-define'.
6909 (describe-package-1): Render the homepage button (Bug#13291).
6910
6911 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6912 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6913
6914 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6915
6916 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6917 and default-process-coding-system to utf-8-unix (Bug#15402).
6918
6919 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6920
6921 * subr.el (looking-back): Do not recommend using looking-back.
6922
6923 2013-09-28 Alan Mackenzie <acm@muc.de>
6924
6925 Fix indentation/fontification of Java enum with "implements".
6926
6927 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6928 regexp which matches "implements", etc., in Java.
6929 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6930 specifier clauses coming after "enum".
6931 * progmodes/cc-fonts.el (c-font-lock-declarations)
6932 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6933 after "enum".
6934
6935 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6936
6937 * faces.el (region): Change ns_selection_color to
6938 ns_selection_fg_color, add ns_selection_bg_color.
6939
6940 2013-09-28 Leo Liu <sdl.web@gmail.com>
6941
6942 * progmodes/octave.el (inferior-octave-completion-table)
6943 (inferior-octave-completion-at-point): Minor tweaks.
6944
6945 * textmodes/ispell.el (ispell-lookup-words): Rename from
6946 lookup-words. (Bug#15460)
6947 (lookup-words): Obsolete.
6948 (ispell-complete-word, ispell-command-loop): All uses changed.
6949
6950 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6951
6952 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6953 (octave-mode-menu): Add octave-send-buffer.
6954 (octave-send-buffer): New function.
6955
6956 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6957
6958 * progmodes/octave.el (octave-mode-map): Add key binding for
6959 octave-lookfor.
6960 (octave-mode-menu): Add octave-lookfor.
6961 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6962 octave-lookfor.
6963 (octave-lookfor): New function.
6964
6965 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6966
6967 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6968 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6969 its convention.
6970 (cl--loop-set-iterator-function): New function.
6971 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6972 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6973 Bind `it' with `let' instead of substituting it with `cl-subst'.
6974 (cl--unused-var-p): New function.
6975 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6976 Eliminate some unused variable warnings (bug#15326).
6977
6978 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6979
6980 * doc-view.el (doc-view-scale-reset): Rename from
6981 `doc-view-reset-zoom-level'.
6982 (doc-view-scale-adjust): New command.
6983 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6984 `doc-view-scale-adjust'.
6985
6986 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6987
6988 * doc-view.el (doc-view-reset-zoom-level): New command.
6989 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6990 zoom commands (bug#15466).
6991
6992 2013-09-26 Kenichi Handa <handa@gnu.org>
6993
6994 * international/quail.el (quail-help): Make it not a command.
6995
6996 2013-09-26 Leo Liu <sdl.web@gmail.com>
6997
6998 * minibuffer.el (completion-all-sorted-completions): Make args
6999 optional as they are.
7000
7001 2013-09-25 Daniel Colascione <dancol@dancol.org>
7002
7003 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7004 specs are and that they're not evaluated.
7005
7006 2013-09-24 Sam Steingold <sds@gnu.org>
7007
7008 * midnight.el (clean-buffer-list-kill-regexps)
7009 (clean-buffer-list-kill-buffer-names): Update for the new Man
7010 buffer naming which includes the object name.
7011
7012 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7015 (eshell-parse-command, eshell-parse-pipeline): Use it since
7016 eshell-separate-commands requires a dynamic scoped var.
7017 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7018
7019 2013-09-23 Leo Liu <sdl.web@gmail.com>
7020
7021 * autoinsert.el (auto-insert-alist): Make the value of
7022 lexical-binding match its file setting.
7023
7024 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7025
7026 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7027
7028 * autoarg.el (autoarg-kp-digit-argument):
7029 * electric.el (Electric-command-loop):
7030 * kmacro.el (kmacro-step-edit-insert):
7031 Do not set universal-argument-num-events.
7032
7033 2013-09-22 Leo Liu <sdl.web@gmail.com>
7034
7035 * files.el (interpreter-mode-alist): Add octave.
7036
7037 2013-09-21 Alan Mackenzie <acm@muc.de>
7038
7039 C++: fontify identifier in declaration following "public:" correctly.
7040 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7041 to match "public", etc.
7042 (c-decl-prefix-re): Add ":" into the C++ value.
7043 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7044 bit. Add a check for a ":" preceded by "public", etc.
7045
7046 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7047
7048 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7049 recognized by GDB 7.5 and later.
7050
7051 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7052
7053 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7054
7055 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7056
7057 * subr.el (internal--call-interactively): New const.
7058 (called-interactively-p): Use it (bug#3984).
7059
7060 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7061
7062 * vc/pcvs.el (cvs-mode-ignore):
7063 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7064 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7065
7066 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7069 (eshell-ls-orig-insert-directory): Remove.
7070 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7071 (eshell-ls-use-in-dired): Use advice-add/remove.
7072 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7073 Add `orig-fun' arg for use in :around advice.
7074 Make it check (redundantly) eshell-ls-use-in-dired.
7075
7076 2013-09-19 Glenn Morris <rgm@gnu.org>
7077
7078 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7079
7080 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7081
7082 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7083
7084 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7085
7086 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7087 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7088 (tramp-get-remote-python): New defuns.
7089 (tramp-get-remote-uid-with-perl)
7090 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7091 contributed by yary <not.com@gmail.com> (tiny change).
7092 (tramp-get-remote-uid-with-python)
7093 (tramp-get-remote-gid-with-python): New defuns. Python code
7094 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7095 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7096
7097 2013-09-19 Glenn Morris <rgm@gnu.org>
7098
7099 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7100
7101 * eshell/em-unix.el (eshell-remove-entries):
7102 Rename argument to avoid name-clash with global `top-level'.
7103
7104 * eshell/esh-proc.el (eshell-kill-process-function):
7105 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7106 (eshell-reset-after-proc): Remove unused arg `proc'.
7107
7108 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7109 (directory-files-and-attributes): Mark unused arg.
7110
7111 * eshell/em-unix.el (eshell-remove-entries):
7112 Remove unused arg `path'. Update callers.
7113
7114 * eshell/em-hist.el (eshell-hist-parse-arguments):
7115 Remove unused arg `silent'. Update callers.
7116
7117 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7118 Fix (f)boundp mix-up.
7119
7120 * eshell/em-smart.el (eshell-smart-scroll-window)
7121 (eshell-disable-after-change):
7122 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7123
7124 2013-09-18 Alan Mackenzie <acm@muc.de>
7125
7126 Fix fontification of type when followed by "const".
7127 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7128 "known" types from fontification.
7129
7130 2013-09-18 Glenn Morris <rgm@gnu.org>
7131
7132 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7133 (chart-face-list): Drop Emacsen without display-color-p.
7134
7135 * net/eww.el (libxml-parse-html-region): Declare.
7136 (eww-display-html): Explicit error if no libxml2 support.
7137
7138 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7139
7140 * image.el (image-type-from-buffer, image-multi-frame-p):
7141 Remove --without-x warning/error.
7142
7143 * mouse.el (mouse-yank-primary):
7144 * term.el (term-mouse-paste):
7145 Reorder to silence --without-x compilation.
7146
7147 * mpc.el (doc-view-mode): Silence --without-x compilation.
7148
7149 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7150 Silence --without-x compilation.
7151
7152 * progmodes/gud.el (gud-find-file, gud-mode):
7153 Silence --without-x compilation.
7154 (tooltip-mode): Declare.
7155
7156 * wdired.el (dired-backup-overwrite): Remove declaration.
7157 (wdired-mode-map): Add doc string.
7158
7159 * custom.el (x-get-resource): Declare.
7160
7161 * eshell/em-glob.el (ange-cache):
7162 * eshell/em-unix.el (ange-cache): Declare.
7163
7164 * faces.el (x-display-list, x-open-connection, x-get-resource):
7165 Declare.
7166
7167 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7168 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7169 Declare.
7170
7171 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7172
7173 * net/gnutls.el (gnutls-log-level): Declare.
7174
7175 * net/shr.el (image-size, image-animate): Declare.
7176
7177 * simple.el (font-info): Declare.
7178
7179 * subr.el (x-popup-dialog): Declare.
7180
7181 * term/common-win.el (x-select-enable-primary)
7182 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7183 Declare.
7184
7185 * term/ns-win.el (x-handle-args): Declare.
7186
7187 * term/x-win.el (x-select-enable-clipboard): Declare.
7188
7189 * term/w32-win.el (create-default-fontset): Declare.
7190
7191 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7192 Declare.
7193
7194 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7195 (fit-frame-to-buffer): Explicit error if --without-x.
7196 (mouse-autoselect-window-select): Silence compiler.
7197
7198 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7199
7200 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7201 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7202 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7203 * eshell/esh-util.el (eshell-sublist):
7204 Remove unused local variables.
7205
7206 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7207
7208 * textmodes/two-column.el: Make 2C-split work for --without-x.
7209 (scroll-bar-columns): Autoload.
7210 (top-level): Require fringe when compiling.
7211
7212 2013-09-18 Leo Liu <sdl.web@gmail.com>
7213
7214 * subr.el (add-hook): Robustify to handle closure as well.
7215
7216 2013-09-17 Glenn Morris <rgm@gnu.org>
7217
7218 * simple.el (messages-buffer-mode-map): Unbind "g".
7219
7220 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7221
7222 * help-mode.el (help-mode-finish): Use derived-mode-p.
7223 Remove obsolete highlighting.
7224
7225 * play/life.el (life-mode): Use define-derived-mode. Derive from
7226 special-mode.
7227 (life): Let-bind inhibit-read-only.
7228 (life-setup): Avoid `setq'. Use `life-mode'.
7229
7230 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7231 which should not be needed any more.
7232 (package-menu-refresh, package-menu-describe-package): Use user-error.
7233
7234 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7235 (eshell-post-rewrite-command-hook): Make obsolete.
7236 (eshell-parse-command): Simplify.
7237 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7238 (eshell--cmd): Declare.
7239 (eshell-parse-pipeline): Remove unused var `final-p'.
7240 Pass a dynvar to eshell-post-rewrite-command-hook.
7241 Implement the new eshell-post-rewrite-command-function.
7242 (eshell-invoke-directly): Remove unused arg `input'.
7243 * eshell/esh-io.el (eshell-io-initialize):
7244 Use eshell-post-rewrite-command-function (bug#15399).
7245 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7246 adjust to new calling convention.
7247 (eshell-create-handles): Rename args to avoid clashing with dynvar
7248 `standard-output'.
7249
7250 2013-09-17 Glenn Morris <rgm@gnu.org>
7251
7252 * simple.el (messages-buffer-mode): New major mode.
7253 (messages-buffer): New function.
7254 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7255 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7256 (ert-run-test): Use `messages-buffer' function.
7257 (ert--force-message-log-buffer-truncation): Ignore read-only.
7258 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7259 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7260
7261 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7264
7265 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7266
7267 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7268
7269 * icomplete.el (icomplete-in-buffer): New var.
7270 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7271 vars and replace them with functions.
7272 (icomplete-minibuffer-setup): Adjust accordingly.
7273 (icomplete--completion-table, icomplete--completion-predicate)
7274 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7275 New functions.
7276 (icomplete-forward-completions, icomplete-backward-completions)
7277 (icomplete-simple-completing-p, icomplete-exhibit)
7278 (icomplete-completions): Use them.
7279 (icomplete--in-region-buffer): New var.
7280 (icomplete--in-region-setup): New function.
7281 (icomplete-mode): Use it.
7282
7283 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7284 (bug#15379).
7285 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7286 return args and options.
7287 (eshell-eval-using-options): Use the new return value of
7288 eshell--do-opts to set the options's vars in their scope.
7289 (eshell--set-option): Rename from eshell-set-option.
7290 Add arg `opt-vals'.
7291 (eshell--process-option): Rename from eshell-process-option.
7292 Add arg `opt-vals'.
7293 (eshell--process-args): Use an `opt-vals' alist to store the options's
7294 values during their processing and return them additionally to the
7295 remaining args.
7296
7297 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7298
7299 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7300 continuation character an operator, as far as indentation is
7301 concerned (Bug#15369).
7302
7303 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7304
7305 * window.el (window--state-put-2): Don't process buffer state
7306 when buffer doesn't exist any more (Bug#15382).
7307
7308 2013-09-15 Glenn Morris <rgm@gnu.org>
7309
7310 * eshell/em-unix.el (eshell/rm):
7311 Make -f ignore missing files. (Bug#15373)
7312
7313 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7314 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7315 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7316
7317 2013-09-14 Glenn Morris <rgm@gnu.org>
7318
7319 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7320
7321 2013-09-13 Glenn Morris <rgm@gnu.org>
7322
7323 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7324 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7325
7326 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7327
7328 * frame.el (x-focus-frame): Mark as declared in frame.c.
7329
7330 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7331
7332 * ls-lisp.el: Use advice-add.
7333 (original-insert-directory): Remove.
7334 (ls-lisp--insert-directory): Rename from insert-directory; add
7335 `orig-fun' argument.
7336 (insert-directory): Advise.
7337
7338 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7339
7340 * term.el (term-emulate-terminal): Decode the command string
7341 before passing it to term-command-hook. (Bug#15337)
7342
7343 2013-09-13 Glenn Morris <rgm@gnu.org>
7344
7345 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7346
7347 * eshell/esh-ext.el (eshell-search-path): Declare.
7348
7349 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7350 Otherwise an error occurs if eshell-dirs module not loaded.
7351
7352 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7353
7354 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7355
7356 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7357 `tramp-check-proper-host'. Check for a valid method name.
7358
7359 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7360 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7361 * net/tramp-sh.el (tramp-maybe-open-connection):
7362 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7363
7364 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7365 also for hash values.
7366
7367 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7368
7369 * term/ns-win.el (parameters): Don't declare as dynamic.
7370 (before-make-frame-hook): Don't add ineffective function.
7371
7372 * eshell/*.el: Use lexical-binding (bug#15231).
7373
7374 2013-09-12 Kenichi Handa <handa@gnu.org>
7375
7376 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7377
7378 2013-09-12 Glenn Morris <rgm@gnu.org>
7379
7380 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7381 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7382
7383 * subr.el (do-after-load-evaluation): Also give compiler warnings
7384 when obsolete files are used (except by obsolete files).
7385
7386 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7387 in the status output, assume `filename' is the first. (Bug#15322)
7388
7389 * vc/vc.el (vc-deduce-fileset): Doc fix.
7390
7391 * calc/calc-help.el (Info-goto-node):
7392 * progmodes/cperl-mode.el (Info-find-node):
7393 * vc/ediff.el (Info-goto-node): Update declarations.
7394
7395 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7396
7397 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7398 (vc-bzr-pull): Require vc-dispatcher.
7399 * vc/vc-git.el (vc-compilation-mode): Declare.
7400 (vc-git-pull): Require vc-dispatcher.
7401
7402 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7403
7404 * progmodes/octave.el (help-button-action): Declare.
7405
7406 * shell.el (shell-directory-tracker): Output error as a message
7407 rather than just returning it as a string.
7408 (shell-process-pushd): Remove useless use of message.
7409
7410 * dframe.el (dframe-timer-fn):
7411 * files.el (dir-locals-read-from-file):
7412 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7413 (mpc-format):
7414 * reveal.el (reveal-post-command):
7415 * saveplace.el (load-save-place-alist-from-file):
7416 * shell.el (shell-resync-dirs):
7417 * w32-common-fns.el (x-get-selection-value):
7418 * emacs-lisp/copyright.el (copyright-find-copyright):
7419 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7420 * emulation/tpu-edt.el (tpu-copy-keyfile):
7421 * play/bubbles.el (bubbles--mark-neighbourhood):
7422 * progmodes/executable.el
7423 (executable-make-buffer-file-executable-if-script-p):
7424 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7425
7426 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7427
7428 Cleanup Eshell to rely less on dynamic scoping.
7429 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7430 last-value, and ext-command here. Bind `args' closer to `body'.
7431 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7432 (eshell--args): Declare new dynamic var.
7433 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7434 last-value, and ext-command. Pass `args' to `body'.
7435 (eshell-process-args): Bind eshell--args.
7436 (eshell-set-option): Use eshell--args.
7437 * eshell/eshell.el (eshell): Use derived-mode-p.
7438 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7439 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7440 (eshell-glob-function): Declare.
7441 * eshell/esh-util.el: Require cl-lib.
7442 (eshell-read-hosts-file): Avoid add-to-list.
7443 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7444 `err'.
7445 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7446 Declare.
7447 (eshell/diff): Remove unused var `err'.
7448 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7449 `killflag'.
7450 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7451 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7452 first use.
7453 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7454 Move declaration before first use.
7455 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7456 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7457 rely on cl-return.
7458
7459 2013-09-12 Glenn Morris <rgm@gnu.org>
7460
7461 * term/ns-win.el (global-map): Remove binding for ispell-next,
7462 deleted 1999-05-29. (Bug#15357)
7463
7464 2013-09-11 Glenn Morris <rgm@gnu.org>
7465
7466 * echistory.el (electric-command-history): Remove call to deleted func.
7467
7468 * play/landmark.el (landmark-mode): Fix typos.
7469
7470 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7471 Check cvs-sort-ignore-file is bound.
7472
7473 * savehist.el: No need for cl when compiling on Emacs.
7474
7475 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7478 (bug#15338).
7479 (eshell-self-insert-command, eshell-send-invisible):
7480 Remove unused argument.
7481 (eshell-handle-control-codes): Remove unused var `orig'.
7482 Avoid delete-backward-char.
7483
7484 * files.el (set-auto-mode): Simplify a bit further.
7485
7486 2013-09-11 Glenn Morris <rgm@gnu.org>
7487
7488 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7489 (set-auto-mode): Don't regexp-quote elements.
7490 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7491 * progmodes/cc-mode.el (interpreter-mode-alist):
7492 * progmodes/ruby-mode.el (interpreter-mode-alist):
7493 Revert previous change.
7494
7495 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * play/snake.el (snake-mode):
7498 * play/mpuz.el (mpuz-mode):
7499 * play/landmark.el (lm-mode):
7500 * play/blackbox.el (blackbox-mode):
7501 * play/5x5.el (5x5-mode):
7502 * obsolete/options.el (Edit-options-mode):
7503 * net/quickurl.el (quickurl-list-mode):
7504 * net/newst-treeview.el (newsticker-treeview-mode):
7505 * mail/rmailsum.el (rmail-summary-mode):
7506 * mail/mspools.el (mspools-mode):
7507 * locate.el (locate-mode):
7508 * ibuffer.el (ibuffer-mode):
7509 * emulation/ws-mode.el (wordstar-mode):
7510 * emacs-lisp/debug.el (debugger-mode):
7511 * array.el (array-mode):
7512 * net/eudc.el (eudc-mode): Use define-derived-mode.
7513 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7514 Move initialization into declaration.
7515 (mairix-searches-mode): Use define-derived-mode.
7516 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7517 (eudc-edit-hotlist): Use dolist.
7518 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7519 (Man-mode): Use define-derived-mode.
7520 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7521 (Info-edit-mode): Use define-derived-mode.
7522 (Info-cease-edit): Use Info-mode.
7523 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7524 into declaration.
7525 (eshell-mode): Use define-derived-mode.
7526 * chistory.el (command-history-mode-map): Rename from
7527 command-history-map.
7528 (command-history-mode): Use define-derived-mode.
7529 (Command-history-setup): Remove function.
7530 * calc/calc.el (calc-trail-mode-map): New var.
7531 (calc-trail-mode): Use define-derived-mode.
7532 (calc-trail-buffer): Set calc-main-buffer manually.
7533 * bookmark.el (bookmark-insert-annotation): New function.
7534 (bookmark-edit-annotation): Use it.
7535 (bookmark-edit-annotation-mode): Make it a proper major mode.
7536 (bookmark-send-edited-annotation): Use derived-mode-p.
7537 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7538 closer to its ideal place. Use \' to match EOS.
7539
7540 * profiler.el (profiler-calltree-find): Use function-equal.
7541
7542 2013-09-10 Glenn Morris <rgm@gnu.org>
7543
7544 * files.el (interpreter-mode-alist): Convert to regexps.
7545 (set-auto-mode): Adapt for this. (Bug#15306)
7546 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7547 Comment out unused variable.
7548 * progmodes/cc-mode.el (interpreter-mode-alist):
7549 * progmodes/python.el (interpreter-mode-alist):
7550 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7551 * progmodes/sh-script.el (sh-set-shell):
7552 No longer use interpreter-mode-alist to get list of shells.
7553
7554 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7555
7556 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7557
7558 * simple.el: Use set-temporary-overlay-map for universal-argument.
7559 (universal-argument-map): Don't use default-bindings (bug#15317).
7560 Bind switch-frame explicitly. Replace universal-argument-minus with
7561 a conditional binding.
7562 (universal-argument-num-events, saved-overriding-map): Remove.
7563 (restore-overriding-map): Remove.
7564 (universal-argument--mode): Rename from save&set-overriding-map,
7565 and rewrite.
7566 (universal-argument, universal-argument-more, negative-argument)
7567 (digit-argument): Adjust accordingly.
7568 (universal-argument-minus): Remove.
7569 (universal-argument-other-key): Remove.
7570
7571 * subr.el (with-demoted-errors): Add `format' argument.
7572
7573 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7574
7575 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7576 `tramp-cleanup-connection'.
7577
7578 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7579 parameters KEEP-DEBUG and KEEP-PASSWORD.
7580
7581 * net/tramp.el (tramp-file-name-handler):
7582 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7583 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7584 (tramp-maybe-open-connection):
7585 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7586 Use `tramp-cleanup-connection'.
7587
7588 * net/tramp-sh.el (tramp-maybe-open-connection):
7589 Catch 'uname-changed inside the progress reporter.
7590
7591 2013-09-10 Glenn Morris <rgm@gnu.org>
7592
7593 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7594
7595 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7596 returns "alternate access method" in mode (eg "-rw-r--r--.").
7597
7598 2013-09-08 Glenn Morris <rgm@gnu.org>
7599
7600 * saveplace.el (load-save-place-alist-from-file):
7601 Demote errors. (Bug#15305)
7602
7603 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7604
7605 Improve compatibility with older Emacsen, and XEmacs.
7606
7607 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7608 only if it is bound. It isn't for XEmacs.
7609 (with-tramp-progress-reporter): Do not let-bind `result'.
7610 This yields to scoping errors in XEmacs.
7611 (tramp-handle-make-auto-save-file-name): New function, moved from
7612 tramp-sh.el.
7613
7614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7615 for `make-auto-save-file-name'.
7616 (tramp-adb--gnu-switches-to-ash):
7617 Use `tramp-compat-replace-regexp-in-string'.
7618
7619 * net/tramp-cache.el (tramp-cache-print): Call
7620 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7621
7622 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7623 bound. It isn't for XEmacs.
7624
7625 * net/tramp-compat.el (tramp-compat-copy-file):
7626 Catch `wrong-number-of-arguments' error.
7627 (tramp-compat-replace-regexp-in-string): New defun.
7628
7629 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7630 for `make-auto-save-file-name'.
7631 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7632 `copy-file'.
7633 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7634 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7635 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7636
7637 * net/tramp-gw.el (tramp-gw-open-network-stream):
7638 Use `tramp-compat-replace-regexp-in-string'.
7639
7640 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7641 Call `tramp-handle-make-auto-save-file-name'.
7642 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7643 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7644 (tramp-sh-file-inotifywait-process-filter):
7645 Use `tramp-compat-replace-regexp-in-string'.
7646 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7647
7648 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7649 for `make-auto-save-file-name'.
7650 (tramp-smb-handle-copy-directory):
7651 Call `tramp-compat-replace-regexp-in-string'.
7652 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7653 (tramp-smb-handle-copy-file): Improve error message.
7654 (tramp-smb-handle-rename-file): Rename directly only in case
7655 `newname' does not exist yet. This is a restriction of smbclient.
7656 (tramp-smb-maybe-open-connection): Rerun the function only when
7657 `auth-sources' is non-nil.
7658
7659 2013-09-08 Kenichi Handa <handa@gnu.org>
7660
7661 * international/characters.el: Set category "^" (Combining) for
7662 more characters.
7663
7664 2013-09-07 Alan Mackenzie <acm@muc.de>
7665
7666 Correctly fontify Java class constructors.
7667 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7668 in Java Mode.
7669 (c-recognize-typeless-decls): Set the Java value to t.
7670 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7671 While handling a "(", add a check for, effectively, Java, and handle a
7672 "typeless" declaration there.
7673
7674 2013-09-07 Roland Winkler <winkler@gnu.org>
7675
7676 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7677 field subtitle for entry type book.
7678
7679 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * minibuffer.el: Make minibuffer-complete call completion-in-region
7682 rather than other way around.
7683 (completion--some, completion-pcm--find-all-completions):
7684 Don't delay signals when debugging.
7685 (minibuffer-completion-contents): Beware fields within the
7686 minibuffer contents.
7687 (completion-all-sorted-completions): Use defvar-local.
7688 (completion--do-completion, completion--cache-all-sorted-completions)
7689 (completion-all-sorted-completions, minibuffer-force-complete):
7690 Add args `beg' and `end'.
7691 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7692 (minibuffer-complete): Use completion-in-region.
7693 (completion-complete-and-exit): New fun, extracted from
7694 minibuffer-complete-and-exit.
7695 (minibuffer-complete-and-exit): Use it.
7696 (completion--complete-and-exit): Rename from
7697 minibuffer--complete-and-exit.
7698 (completion-in-region--single-word): New function, extracted from
7699 minibuffer-complete-word.
7700 (minibuffer-complete-word): Use it.
7701 (display-completion-list): Make `common-substring' argument obsolete.
7702 (completion--in-region): Call completion--in-region-1 instead of
7703 minibuffer-complete.
7704 (completion-help-at-point): Pass boundaries to
7705 minibuffer-completion-help as args rather than via an overlay.
7706 (completion-pcm--string->pattern): Use `any-delim'.
7707 (completion-pcm--optimize-pattern): New function.
7708 (completion-pcm--pattern->regex): Handle `any-delim'.
7709 * icomplete.el (icomplete-forward-completions)
7710 (icomplete-backward-completions, icomplete-completions):
7711 Adjust calls to completion-all-sorted-completions and
7712 completion--cache-all-sorted-completions.
7713 (icomplete-with-completion-tables): Default to t.
7714 * emacs-lisp/crm.el (crm--current-element): Rename from
7715 crm--select-current-element. Don't put an overlay but return the
7716 boundaries instead.
7717 (crm--completion-command): Take two new args to bind to the boundaries.
7718 (crm-completion-help): Adjust accordingly.
7719 (crm-complete): Use completion-in-region.
7720 (crm-complete-word): Use completion-in-region--single-word.
7721 (crm-complete-and-exit): Use completion-complete-and-exit.
7722
7723 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7726 than dynamically.
7727
7728 2013-09-06 Juri Linkov <juri@jurta.org>
7729
7730 * info.el (Info-display-images-node): When image file doesn't exist
7731 display text version of the image if it's provided in the Info file.
7732 Otherwise, display the location of missing image from SRC attribute.
7733 Add help-echo text property from ALT attribute. (Bug#15279)
7734
7735 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7738 (edit-abbrevs-mode): Use define-derived-mode.
7739
7740 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7741 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7742 that it's defined.
7743 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7744 Use define-derived-mode.
7745
7746 * epg.el (epg-start-encrypt): Minor CSE simplification.
7747
7748 2013-09-06 William Xu <william.xwl@gmail.com>
7749
7750 * arc-mode.el: Add support for 7za (bug#15264).
7751 (archive-7z-program): New var.
7752 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7753 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7754 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7755
7756 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7757
7758 Remove URL syntax.
7759
7760 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7761 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7762 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7763 (tramp-postfix-host-format, tramp-file-name-regexp)
7764 (tramp-completion-file-name-regexp)
7765 (tramp-completion-dissect-file-name)
7766 (tramp-handle-substitute-in-file-name): Remove 'url case.
7767 (tramp-file-name-regexp-url)
7768 (tramp-completion-file-name-regexp-url): Remove constants.
7769
7770 2013-09-06 Glenn Morris <rgm@gnu.org>
7771
7772 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7773
7774 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7775
7776 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7777 keywords" below "here-doc beginnings" (Bug#15270).
7778
7779 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7780
7781 * subr.el (pop): Use `car-safe'.
7782 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7783 to detect unused `pop' return value.
7784
7785 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7786 var `block-regexp'.
7787 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7788 (python-fill-string): Remove unused var `marker'.
7789 (python-skeleton-add-menu-items): Remove unused var `items'.
7790
7791 * international/mule-cmds.el: Require CL.
7792 (find-coding-systems-for-charsets): Avoid add-to-list.
7793 (sanitize-coding-system-list): New function, extracted from
7794 select-safe-coding-system-interactively.
7795 (select-safe-coding-system-interactively): Use it.
7796 (read-input-method-name): Accept symbols for `default'.
7797
7798 * emacs-lisp/advice.el (defadvice): Add indent rule.
7799
7800 2013-09-05 Daniel Hackney <dan@haxney.org>
7801
7802 * dired-x.el:
7803 * net/ange-ftp.el:
7804 * net/browse-url.el:
7805 * net/dbus.el:
7806 * net/eudc.el:
7807 * net/eudcb-ldap.el:
7808 * net/eww.el:
7809 * net/imap.el:
7810 * printing.el:
7811 * vc/ediff-diff.el:
7812 * vc/ediff-init.el:
7813 * vc/ediff-merg.el:
7814 * vc/ediff-mult.el:
7815 * vc/ediff-util.el:
7816 * vc/ediff-wind.el:
7817 * vc/ediff.el:
7818 * vc/emerge.el:
7819 * vc/pcvs.el:
7820 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7821 byte compiler. Remove some unused let-bound variables.
7822
7823 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7824
7825 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7826 a "ref-cell", since it gets better optimized (bug#14883).
7827
7828 2013-09-05 Glenn Morris <rgm@gnu.org>
7829
7830 * progmodes/cc-awk.el (c-forward-sws): Declare.
7831
7832 2013-09-04 Glenn Morris <rgm@gnu.org>
7833
7834 * generic-x.el [rul-generic-mode]: Require cc-mode.
7835 (c++-mode-syntax-table): Declare.
7836 (rul-generic-mode-syntax-table): Init in the defvar.
7837
7838 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7841 (vc-do-command, vc-set-async-update):
7842 * vc/vc-mtn.el (vc-mtn-dir-status):
7843 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7844 (vc-hg-pull, vc-hg-merge-branch):
7845 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7846 (vc-git-merge-branch):
7847 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7848 (vc-cvs-dir-status-files):
7849 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7850 (vc-bzr-dir-status-files):
7851 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7852 * vc/vc-annotate.el: Use lexical-binding.
7853 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7854 (vc-sentinel-movepoint): Declare.
7855 (vc-annotate): Don't use `goto-line'.
7856 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7857 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7858 (vc-sentinel-movepoint): Declare.
7859 * vc/vc-svn.el: Use lexical-binding.
7860 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7861 * vc/vc-sccs.el:
7862 * vc/vc-rcs.el: Use lexical-binding.
7863
7864 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7865 `deleted'. Don't drop errors silently.
7866
7867 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7868
7869 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7870
7871 * vc/vc.el (vc-ignore): Rewrite.
7872 (vc-default-ignore): New function.
7873 (vc-default-ignore-completion-table): Use find-ignore-file.
7874
7875 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7876 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7877 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7878 Remove. Most code moved to vc.el.
7879
7880 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7883 * net/tramp-smb.el (tramp-smb-get-file-entries):
7884 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7885 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7886
7887 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7888 Update call to it.
7889 (eww-change-select): Remove unused var `properties'.
7890 (eww-make-unique-file-name): Remove unused var `base'.
7891
7892 * finder.el (finder-compile-keywords): Don't mess with windows.
7893
7894 * calculator.el (calculator-funcall): Fix typo in last change.
7895
7896 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7897
7898 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7899 <pkg>-autoloads.el file stop us.
7900
7901 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7902 warnings, and factor out common code.
7903
7904 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7905
7906 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7907 two-character operators and whether the character preceding them
7908 changes their meaning (Bug#15208).
7909
7910 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7911
7912 Format code sent to Python shell for robustness.
7913 * progmodes/python.el (python-shell-buffer-substring):
7914 New function.
7915 (python-shell-send-region, python-shell-send-buffer): Use it.
7916
7917 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7918
7919 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7920 * net/tramp.el (tramp-user-error): ... here.
7921 (tramp-find-method, tramp-check-proper-host)
7922 (tramp-dissect-file-name, tramp-debug-message)
7923 (tramp-handle-shell-command):
7924 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7925 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7926
7927 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7928
7929 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7930
7931 * avoid.el (mouse-avoidance-point-position)
7932 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7933 returns nil.
7934
7935 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7936
7937 * progmodes/python.el (python-shell-completion-get-completions):
7938 Drop use of deleted `comint-last-prompt-overlay'.
7939 (python-nav-if-name-main): New command.
7940
7941 2013-09-01 Glenn Morris <rgm@gnu.org>
7942
7943 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7944 Avoid leading space in $wins. Otherwise the sed command used by
7945 eg compile-main ends up containing "/*.el". (Bug#15170)
7946
7947 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7948
7949 2013-08-30 Glenn Morris <rgm@gnu.org>
7950
7951 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7952 Fix is-this-a-directory logic. (Bug#15220)
7953
7954 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * textmodes/css-mode.el: Use SMIE.
7957 (css-smie-grammar): New var.
7958 (css-smie--forward-token, css-smie--backward-token)
7959 (css-smie-rules): New functions.
7960 (css-mode): Use them.
7961 (css-navigation-syntax-table): Remove var.
7962 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7963 (css-indent-calculate, css-indent-line): Remove functions.
7964
7965 Misc changes to reduce use of `(lambda...); and other cleanups.
7966 * cus-edit.el: Use lexical-binding.
7967 (customize-push-and-save, customize-apropos)
7968 (custom-buffer-create-internal): Use closures.
7969 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7970 * progmodes/ada-xref.el: Use setq.
7971 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7972 * dframe.el: Use lexical-binding.
7973 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7974 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7975 * descr-text.el: Use lexical-binding.
7976 (describe-text-widget, describe-text-sexp, describe-property-list):
7977 Use closures.
7978 * comint.el (comint-history-isearch-push-state): Use a closure.
7979 * calculator.el: Use lexical-binding.
7980 (calculator-number-to-string): Make it work with lexical-binding.
7981 (calculator-funcall): Same and use cl-letf.
7982
7983 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7984 (lisp--company-doc-string, lisp--company-location): New functions.
7985 (lisp-completion-at-point): Use them to improve Company support.
7986
7987 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7988 params of lambda expressions.
7989 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7990 (ruby-smie--opening-pipe-p): New function.
7991 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7992 symbols and matched |...| for formal params.
7993 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7994 from being treated as hanging. Handle "rescue".
7995
7996 2013-08-29 Glenn Morris <rgm@gnu.org>
7997
7998 * progmodes/cc-engine.el (c-pull-open-brace):
7999 Move definition before use.
8000
8001 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8004 are immutable. Don't use `unsafe' any more.
8005 (cl--defsubst-expand): Don't substitute at the same time as keeping
8006 a residual unused let-binding. Don't use `unsafe' any more.
8007
8008 2013-08-29 Glenn Morris <rgm@gnu.org>
8009
8010 * calendar/cal-china.el (calendar-chinese-year-cache):
8011 Recenter on 2015.
8012
8013 * nxml/nxml-util.el (nxml-debug-clear-inside):
8014 Use cl-loop rather than loop.
8015
8016 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8017
8018 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8019
8020 2013-08-28 Glenn Morris <rgm@gnu.org>
8021
8022 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8023
8024 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8025
8026 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8027
8028 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * simple.el (repeat-complex-command--called-interactively-skip):
8031 New function.
8032 (repeat-complex-command): Use it (bug#14136).
8033
8034 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8035 (c-define-abbrev-table): Add `doc' argument.
8036 (c-mode-abbrev-table, c++-mode-abbrev-table)
8037 (objc-mode-abbrev-table, java-mode-abbrev-table)
8038 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8039 (awk-mode-abbrev-table): Use it.
8040 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8041 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8042 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8043 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8044 Move initialization into the declaration; and remove any
8045 autoload cookie.
8046
8047 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8048 and dynamic let binding.
8049
8050 * vc/smerge-mode.el: Remove redundant :group args.
8051
8052 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8053 to load-path.
8054
8055 2013-08-28 Juri Linkov <juri@jurta.org>
8056
8057 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8058 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8059 (isearch-other-meta-char): Handle an undefined shifted printing
8060 character by downshifting it. (Bug#15200)
8061
8062 2013-08-28 Juri Linkov <juri@jurta.org>
8063
8064 * isearch.el (isearch-search): Change regexp error message for
8065 non-regexp searches. (Bug#15166)
8066
8067 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8068
8069 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8070 for portability to hosts where /bin/sh has problems.
8071
8072 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8075
8076 2013-08-27 Juri Linkov <juri@jurta.org>
8077
8078 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8079 in the keyboard macro. (Bug#15126)
8080
8081 2013-08-27 Juri Linkov <juri@jurta.org>
8082
8083 * isearch.el (isearch-quote-char): Comment out converting unibyte
8084 to multibyte, thus syncing with its `quoted-insert' counterpart.
8085 (Bug#15166)
8086
8087 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8088
8089 * window.el (display-buffer-use-some-window): Add missing
8090 argument in call of get-largest-window (Bug#15185).
8091 Reported by Stephen Leake.
8092
8093 2013-08-27 Glenn Morris <rgm@gnu.org>
8094
8095 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8096
8097 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8098
8099 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8100 from a matcher-function unless there's no more matches (bug#15161).
8101
8102 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8103
8104 * minibuffer.el: Revert change from 2013-08-20.
8105
8106 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8107 with text property `tramp-default', if appropriate.
8108 (tramp-check-proper-host): New defun.
8109 (tramp-dissect-file-name): Do not check hostname. Revert change
8110 of 2013-03-18.
8111 (tramp-backtrace): Make VEC-OR-PROC optional.
8112
8113 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8114 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8115 * net/tramp-sh.el (tramp-maybe-open-connection):
8116 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8117 Apply `tramp-check-proper-host'.
8118
8119 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8120
8121 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8122 lambda expression in order to have `describe-variable' display it.
8123
8124 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8125
8126 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8127 BUF can be optional. (Bug#15186)
8128
8129 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8130
8131 * progmodes/flymake.el (flymake-get-real-file-name-function):
8132 Fix broken customization. (Bug#15184)
8133
8134 2013-08-25 Alan Mackenzie <acm@muc.de>
8135
8136 Improve indentation of bracelists defined by macros (without "=").
8137
8138 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8139 expansion begins with "{", regard it as bracelist when it doesn't
8140 contain a ";".
8141
8142 Parse C++ inher-intro when there's a template split over 2 lines.
8143
8144 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8145 rigorously the search for "class" etc. followed by ":".
8146
8147 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8148 random languages a regexp which never matches rather than nil.
8149
8150 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8151
8152 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8153 (c-awk-regexp-one-line-possibly-open-char-list-re)
8154 (c-awk-one-line-possibly-open-regexp-re)
8155 (c-awk-one-line-non-syn-ws*-re): Remove.
8156 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8157 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8158 (c-awk-space*-unclosed-regexp-/-re): New constants.
8159 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8160 aren't regexp delimiters.
8161
8162 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8163 handling for a rare situation in AWK Mode involving unterminated
8164 strings/regexps.
8165
8166 2013-08-23 Glenn Morris <rgm@gnu.org>
8167
8168 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8169
8170 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8171
8172 * files.el (create-file-buffer): If the result would begin with
8173 spaces, prepend a "|" instead of removing them. (Bug#15162)
8174
8175 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8178 text-properties (bug#15155).
8179
8180 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8181 exist any more.
8182 (calc-keypad-redraw): Remove unused var `pad'.
8183 (calc-keypad-press): Remove unused var `menu'.
8184
8185 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8186
8187 * window.el (display-buffer-pop-up-frame):
8188 Call pop-up-frame-function with BUFFER current so `make-frame' will
8189 use it as the new frame's buffer (Bug#15133).
8190
8191 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * calendar/timeclock.el: Minor cleanups.
8194 (timeclock-ask-before-exiting, timeclock-use-display-time):
8195 Use `symbol'.
8196 (timeclock-modeline-display): Define as alias before the
8197 actual definition.
8198 (timeclock-mode-line-display): Use define-minor-mode.
8199 (timeclock-day-list-template): Make it a function, add an argument.
8200 (timeclock-day-list-required, timeclock-day-list-length)
8201 (timeclock-day-list-debt, timeclock-day-list-span)
8202 (timeclock-day-list-break): Adjust calls accordingly.
8203
8204 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8207 Use read--expression so that completion works again.
8208
8209 2013-08-21 Sam Steingold <sds@gnu.org>
8210
8211 Add rudimentary inferior shell interaction
8212 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8213 (sh-set-shell): Reset it.
8214 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8215 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8216
8217 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8218
8219 * align.el: Use lexical-binding.
8220 (align-region): Simplify accordingly.
8221
8222 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8223
8224 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8225
8226 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8227 `non-essential' up.
8228
8229 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8230
8231 * net/tramp.el:
8232 * net/tramp-adb.el:
8233 * net/tramp-cmds.el:
8234 * net/tramp-ftp.el:
8235 * net/tramp-gvfs.el:
8236 * net/tramp-gw.el:
8237 * net/tramp-sh.el: Don't wrap external variable declarations by
8238 `eval-when-compile'.
8239
8240 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8241
8242 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8243 now that Emacs supports ImageMagick animations.
8244
8245 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8246
8247 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8248 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8249
8250 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8251
8252 * window.el (mouse-autoselect-window-select): Do autoselect when
8253 mouse pointer is on margin.
8254
8255 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8256
8257 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8258
8259 2013-08-16 Glenn Morris <rgm@gnu.org>
8260
8261 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8262 Handle "Remote Directory" response of some clients. (Bug#15058)
8263
8264 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8265 Tweak warning. (Bug#14926)
8266
8267 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8268 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8269
8270 * image-mode.el (image-mode-map): Add menu items to reverse,
8271 increase, decrease, reset animation speed.
8272 (image--set-speed, image-increase-speed, image-decrease-speed)
8273 (image-reverse-speed, image-reset-speed): New functions.
8274 (image-mode-map): Add bindings for speed commands.
8275
8276 * image.el (image-animate-get-speed, image-animate-set-speed):
8277 New functions.
8278 (image-animate-timeout): Respect image :speed property.
8279
8280 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8283 previous line (bug#15101).
8284 (debugger-eval-expression, debugger-record-expression):
8285 Use read--expression (bug#15102).
8286
8287 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8288
8289 Remove byte compiler warnings, visible when compiling with
8290 `byte-compile-force-lexical-warnings' set to t.
8291
8292 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8293 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8294 (tramp-handle-unhandled-file-name-directory)
8295 (tramp-handle-file-notify-add-watch, tramp-action-login)
8296 (tramp-action-succeed, tramp-action-permission-denied)
8297 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8298 arguments with "_".
8299
8300 * net/tramp-adb.el (tramp-adb-parse-device-names)
8301 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8302 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8303 (tramp-adb-handle-file-truename): Remove unused arguments.
8304
8305 * net/tramp-cache.el (tramp-flush-directory-property)
8306 (tramp-flush-connection-property, tramp-list-connections)
8307 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8308
8309 * net/tramp-compat.el (tramp-compat-make-temp-file):
8310 Rename FILENAME to F.
8311
8312 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8313 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8314 (tramp-zeroconf-parse-workstation-device-names)
8315 (tramp-zeroconf-parse-webdav-device-names)
8316 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8317
8318 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8319 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8320
8321 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8322 arguments.
8323 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8324 (tramp-sh-handle-insert-file-contents-literally)
8325 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8326 with "_".
8327 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8328 Remove unused variables.
8329
8330 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8331 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8332 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8333
8334 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8335 Make them a defconst.
8336 (tramp-uuencode-region): Remove unused variable.
8337
8338 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8339
8340 * frameset.el (frameset--prop-setter): New function.
8341 (frameset-prop): Add gv-setter declaration.
8342 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8343 parameter was already set in FILTERED. Doc fix.
8344 (frameset--record-minibuffer-relationships): Allow saving a
8345 minibufferless frame without its corresponding minibuffer frame.
8346 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8347 frame, if the frame id matches.
8348 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8349 frames before orphaned ones.
8350 (frameset-restore): Warn about orphaned windows, instead of error out.
8351
8352 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8353
8354 * window.el (window-make-atom): Don't overwrite parameter
8355 already present.
8356 (display-buffer-in-atom-window): Handle special case where we
8357 split an already atomic window.
8358 (window--major-non-side-window, display-buffer-in-side-window)
8359 (window--side-check): Ignore minibuffer window when walking
8360 window tree.
8361 (window-deletable-p): Return 'frame only if no other frame uses
8362 our minibuffer window.
8363 (record-window-buffer): Run buffer-list-update-hook.
8364 (split-window): Make sure window--check-frame won't destroy an
8365 existing atomic window in case the new window gets nested
8366 inside.
8367 (display-buffer-at-bottom): Ignore minibuffer window when
8368 walking window tree. Don't split a side window.
8369 (pop-to-buffer): Don't set-buffer here, the select-window call
8370 should do that.
8371 (mouse-autoselect-window-select): Autoselect only if we are in the
8372 text portion of the window.
8373
8374 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8375
8376 * net/shr.el (shr-parse-image-data): New function to grab both the
8377 data itself and the Content-Type.
8378 (shr-put-image): Use it.
8379
8380 * net/eww.el (eww-display-image): Ditto.
8381
8382 * image.el (image-content-type-suffixes): New variable.
8383
8384 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8385
8386 * progmodes/python.el (python-imenu--build-tree)
8387 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8388
8389 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8390
8391 * simple.el (backward-word): Mention the optional argument.
8392
8393 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * frameset.el (frameset--make): Rename constructor from make-frameset.
8396 (frameset-p, frameset-valid-p): Don't autoload.
8397 (frameset-valid-p): Use normal accessors.
8398
8399 2013-08-13 Glenn Morris <rgm@gnu.org>
8400
8401 * progmodes/compile.el (compile-command): Tweak example in doc.
8402 * obsolete/scribe.el (scribe-mode):
8403 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8404
8405 * mail/feedmail.el (feedmail-confirm-outgoing)
8406 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8407
8408 * cus-start.el (truncate-partial-width-windows): Fix type.
8409
8410 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8411
8412 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8413
8414 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8415
8416 * emacs-lisp/timer.el (timer--time-setter): New function.
8417 (timer--time): Use it as gv-setter.
8418
8419 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8420 setter is not a symbol.
8421
8422 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8423
8424 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8425 if sending fails. This makes debugging easier.
8426
8427 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8428
8429 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8430 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8431 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8432
8433 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8434
8435 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8436
8437 2013-08-12 Glenn Morris <rgm@gnu.org>
8438
8439 * format.el (format-annotate-function):
8440 Handle read-only text properties in the source. (Bug#14887)
8441
8442 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8443
8444 * net/eww.el (eww-display-html): Ignore coding system errors.
8445 One web site uses "utf-8lias" as the coding system.
8446
8447 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8448
8449 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8450
8451 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8452
8453 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8454 (tutorial--detailed-help): Remove unused local variables.
8455 (tutorial--save-tutorial-to): Use ignore-errors.
8456 (help-with-tutorial): Use looking-at-p.
8457
8458 * view.el (view-buffer-other-window, view-buffer-other-frame):
8459 Mark unused arguments.
8460
8461 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8462 (woman-select-symbol-fonts, woman, woman-find-file)
8463 (woman-insert-file-contents, woman-non-underline-faces):
8464 Use string-match-p.
8465 (woman1-unquote): Move declaration.
8466
8467 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8468 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8469 argument. Remove unused local variable.
8470 (xml-parse-elem-type): Use string-match-p.
8471 (xml-substitute-numeric-entities): Use ignore-errors.
8472
8473 * calculator.el (calculator): Mark unused argument.
8474 (calculator-paste, calculator-quit, calculator-integer-p):
8475 Use ignore-errors.
8476 (calculator-string-to-number, calculator-decimal, calculator-exp)
8477 (calculator-op-or-exp): Use string-match-p.
8478
8479 * dired.el (dired-buffer-more-recently-used-p): Declare.
8480 (dired-insert-set-properties, dired-insert-old-subdirs):
8481 Use ignore-errors.
8482
8483 * dired-aux.el (dired-compress): Use ignore-errors.
8484 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8485 (dired-do-async-shell-command, dired-do-shell-command)
8486 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8487 (dired-insert-subdir-validate): Use string-match-p.
8488 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8489 (dired-add-entry): Use string-match-p, looking-at-p.
8490 (dired-insert-subdir-newpos): Remove unused local variable.
8491
8492 * filenotify.el (file-notify-callback): Remove unused local variable.
8493
8494 * filesets.el (filesets-error): Mark unused argument.
8495 (filesets-which-command-p, filesets-filter-dir-names)
8496 (filesets-directory-files, filesets-get-external-viewer)
8497 (filesets-ingroup-get-data): Use string-match-p.
8498
8499 * find-file.el (ff-other-file-name, ff-other-file-name)
8500 (ff-find-the-other-file, ff-cc-hh-converter):
8501 Remove unused local variables.
8502 (ff-get-file-name): Use string-match-p.
8503 (ff-all-dirs-under): Use ignore-errors.
8504
8505 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8506 (follow-select-if-visible): Remove unused local variable.
8507
8508 * forms.el (read-file-filter): Move declaration.
8509 (forms--make-format, forms--make-parser, forms-insert-record):
8510 Quote function with #'.
8511 (forms--update): Use string-match-p. Quote function with #'.
8512
8513 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8514 (help-make-xrefs): Use looking-at-p.
8515 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8516
8517 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8518 (ibuffer-confirm-operation-on): Use string-match-p.
8519
8520 * msb.el (msb-item-handler, msb-dired-item-handler):
8521 Mark unused arguments.
8522
8523 * ses.el (ses-decode-cell-symbol)
8524 (ses-kill-override): Remove unused local variable.
8525 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8526 (ses-load): Use ignore-errors, looking-at-p.
8527 (ses-jump-safe): Use ignore-errors.
8528 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8529
8530 * tabify.el (untabify, tabify): Mark unused arguments.
8531
8532 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8533 Mark unused argument.
8534 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8535 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8536
8537 * emacs-lisp/timer.el (timer--time): Define setter with
8538 gv-define-setter to avoid deprecation warning.
8539
8540 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8541 (*record-cmpl-statistics-p*): Remove (was commented out).
8542 (cmpl-statistics-block): Remove (body was commented out).
8543 All callers changed.
8544 (add-completions-from-buffer, load-completions-from-file):
8545 Remove unused variables.
8546
8547 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8548
8549 * filecache.el (file-cache-delete-file-list):
8550 Print message only when told so.
8551 (file-cache-files-matching): Use #' in mapconcat argument.
8552
8553 * ffap.el (ffap-url-at-point): Fix reference to variable
8554 thing-at-point-default-mail-uri-scheme.
8555
8556 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * subr.el (define-error): New function.
8559 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8560 error-file-not-found and define with define-error.
8561 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8562 and define with define-error.
8563 * userlock.el (file-locked, file-supersession):
8564 * simple.el (mark-inactive):
8565 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8566 * progmodes/ada-mode.el (ada-mode-errors):
8567 * play/life.el (life-extinct):
8568 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8569 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8570 * nxml/rng-util.el (rng-error):
8571 * nxml/rng-uri.el (rng-uri-error):
8572 * nxml/rng-match.el (rng-compile-error):
8573 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8574 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8575 * nxml/nxml-rap.el (nxml-scan-error):
8576 * nxml/nxml-outln.el (nxml-outline-error):
8577 * net/soap-client.el (soap-error):
8578 * net/gnutls.el (gnutls-error):
8579 * net/ange-ftp.el (ftp-error):
8580 * mpc.el (mpc-proc-error):
8581 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8582 (json-number-format, json-string-escape, json-string-format)
8583 (json-key-format, json-object-format):
8584 * jka-compr.el (compression-error):
8585 * international/quail.el (quail-error):
8586 * international/kkc.el (kkc-error):
8587 * emacs-lisp/ert.el (ert-test-failed):
8588 * calc/calc.el (calc-error, inexact-result, math-overflow)
8589 (math-underflow):
8590 * bookmark.el (bookmark-error-no-filename):
8591 * epg.el (epg-error): Define with define-error.
8592
8593 * time.el (display-time-event-handler)
8594 (display-time-next-load-average): Don't call sit-for since it seems
8595 unnecessary (bug#15045).
8596
8597 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8598 Use #' instead of ' to quote functions.
8599 (checkdoc-output-mode): Use setq-local.
8600 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8601 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8602 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8603 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8604 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8605 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8606 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8607 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8608
8609 * ido.el (ido-completion-help): Fix up compiler warning.
8610
8611 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8612
8613 * frameset.el (frameset-p): Add autoload cookie.
8614 (frameset--jump-to-register): New function, based on code moved from
8615 register.el.
8616 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8617
8618 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8619 (frameset-restore, frameset-save, frameset-session-filter-alist):
8620 Remove declarations.
8621 (register-alist): Doc fix.
8622 (frameset-to-register): Move to frameset.el.
8623 (jump-to-register, describe-register-1): Remove frameset-specific code.
8624
8625 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8626
8627 * allout-widgets.el (allout-widgets-pre-command-business)
8628 (allout-widgets-post-command-business)
8629 (allout-widgets-after-change-handler)
8630 (allout-decorate-item-and-context, allout-set-boundary-marker)
8631 (allout-body-modification-handler)
8632 (allout-graphics-modification-handler): Mark ignored arguments.
8633 (allout-widgets-post-command-business)
8634 (allout-widgets-exposure-change-processor)
8635 (allout-widgets-exposure-undo-processor)
8636 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8637 (allout-parse-item-at-point, allout-decorate-item-guides)
8638 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8639 * allout.el (epa-passphrase-callback-function): Declare.
8640 (allout-overlay-insert-in-front-handler)
8641 (allout-overlay-interior-modification-handler)
8642 (allout-isearch-end-handler, allout-chart-siblings)
8643 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8644 (allout-yank-processing, allout-process-exposed)
8645 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8646 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8647 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8648 (lisp-indent-defform): Mark ignored arguments.
8649 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8650 (calculate-lisp-indent): Remove unused variables.
8651 * international/characters.el (indian-2-column, arabic-2-column)
8652 (tibetan): Mark ignored arguments.
8653 (use-cjk-char-width-table): Mark ignored arguments.
8654 Remove unused variables.
8655 * international/fontset.el (build-default-fontset-data)
8656 (x-compose-font-name, create-fontset-from-fontset-spec):
8657 Mark ignored arguments.
8658 (fontset-plain-name): Remove unused variables.
8659 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8660 (keyboard-coding-system): Mark ignored arguments.
8661 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8662 * help.el (resize-temp-buffer-window):
8663 * window.el (display-buffer-in-major-side-window)
8664 (display-buffer-in-side-window, display-buffer-in-previous-window):
8665 Remove unused variables.
8666 * isearch.el (isearch-forward-symbol):
8667 * version.el (emacs-bzr-version-bzr):
8668 * international/mule-cmds.el (current-language-environment):
8669 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8670 (x-handle-display):
8671 * term/pc-win.el (x-list-fonts, x-display-planes)
8672 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8673 (x-server-version, x-display-screens, x-display-mm-height)
8674 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8675 (x-selection-owner-p, x-own-selection-internal)
8676 (x-disown-selection-internal, x-get-selection-internal)
8677 (msdos-initialize-window-system):
8678 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8679 * term/x-win.el (x-handle-no-bitmap-icon):
8680 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8681 (vc-default-find-file-hook, vc-default-extra-menu):
8682 Mark ignored arguments.
8683
8684 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8687 break-condition in the context of the debugged code (bug#12685).
8688
8689 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8690
8691 * comint.el:
8692 Do not use an overlay to highlight the last prompt. (Bug#14744)
8693 (comint-mode): Make comint-last-prompt buffer local.
8694 (comint-last-prompt): New variable.
8695 (comint-last-prompt-overlay): Remove. Superseded by
8696 comint-last-prompt.
8697 (comint-snapshot-last-prompt, comint-output-filter):
8698 Use comint-last-prompt.
8699
8700 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8703 (frameset-save): Check validity of the resulting frameset.
8704
8705 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8706
8707 * ido.el (ido-record-command): Add doc string.
8708
8709 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8710
8711 * frameset.el (frameset): Do not disable creation of the default
8712 frameset-p predicate. Doc fix.
8713 (frameset-valid-p): New function, copied from the old predicate-p.
8714 Add additional checks.
8715 (frameset-restore): Check with frameset-valid-p.
8716 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8717 (frameset-name, frameset-description, frameset-properties)
8718 (frameset-states): Add docstring.
8719 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8720 (frameset-filter-alist): Doc fixes.
8721
8722 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8725
8726 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8729 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8730 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8731 (byte-compile-normal-call): Remove obsolescence check.
8732
8733 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8734
8735 * frameset.el (frameset-restore): Doc fix.
8736
8737 * register.el (frameset-frame-id, frameset-frame-with-id)
8738 (frameset-p, frameset-restore, frameset-save): Declare.
8739 (register-alist): Document framesets.
8740 (frameset-session-filter-alist): Declare.
8741 (frameset-to-register): New function.
8742 (jump-to-register): Implement jumping to framesets. Doc fix.
8743 (describe-register-1): Describe framesets.
8744
8745 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8746
8747 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8748
8749 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8750 Use lexical-binding.
8751
8752 * frameset.el (frameset): Use type vector, not list (incompatible
8753 change). Do not declare a new constructor, use the default one.
8754 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8755 `name' and `description', respectively, and add read-only slot
8756 `timestamp'. Doc fixes.
8757 (frameset-copy, frameset-persistent-filter-alist)
8758 (frameset-filter-alist, frameset-switch-to-gui-p)
8759 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8760 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8761 (frameset-filter-iconified, frameset-keep-original-display-p):
8762 Doc fixes.
8763 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8764 Rename from frameset-filter-(save|restore)-param. All callers changed.
8765 Doc fix.
8766 (frameset-p): Adapt to change to vector and be more thorough.
8767 Change arg name to OBJECT. Doc fix.
8768 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8769 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8770 All callers changed.
8771 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8772 All callers changed.
8773 (frameset--record-minibuffer-relationships): Rename from
8774 frameset--process-minibuffer-frames. All callers changed.
8775 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8776 Use new default constructor (again). Doc fix.
8777 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8778 All callers changed.
8779 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8780 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8781 Doc fix.
8782 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8783 PARAMETERS and WINDOW-STATE, respectively.
8784 (frameset-restore): Add new keyword argument PREDICATE.
8785 Reset frameset--target-display to nil. Doc fix.
8786
8787 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8790 (bat-mode): Use it.
8791 (bat-mode-syntax-table): Mark \n as end-of-comment.
8792 (bat-font-lock-keywords): Remove comment rule.
8793
8794 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8795 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8796
8797 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8798 (byte-compile-callargs-warn): Use `push'.
8799 (byte-compile-arglist-warn): Ignore higher-order "calls".
8800 (byte-compile-file-form-autoload): Use `pcase'.
8801 (byte-compile-function-form): If quoting a symbol, check that it exists.
8802
8803 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8804
8805 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8806 and add a few popular commands found in batch files.
8807 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8808 (dos-mode): Doc fixes.
8809
8810 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8811
8812 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8813 (dos-mode): Use setq-local. Add space after "rem".
8814 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8815 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8816
8817 2013-08-07 Arni Magnusson <arnima@hafro.is>
8818
8819 * progmodes/dos.el: New file.
8820 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8821 dos-mode.
8822
8823 2013-08-06 Glenn Morris <rgm@gnu.org>
8824
8825 * calendar/calendar.el: Add new faces, and day-header-array.
8826 (calendar-weekday-header, calendar-weekend-header)
8827 (calendar-month-header): New faces.
8828 (calendar-day-header-construct): New function.
8829 (calendar-day-header-width): Also :set calendar-day-header-array.
8830 (calendar-american-month-header, calendar-european-month-header)
8831 (calendar-iso-month-header): Use calendar- faces.
8832 (calendar-generate-month):
8833 Use calendar-day-header-array for day headers; apply faces to them.
8834 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8835 (calendar-abbrev-construct): Add optional maxlen argument.
8836 (calendar-day-name-array): Doc fix.
8837 (calendar-day-name-array, calendar-abbrev-length)
8838 (calendar-day-abbrev-array):
8839 Also :set calendar-day-header-array, and maybe redraw.
8840 (calendar-day-header-array): New option. (Bug#15007)
8841 (calendar-font-lock-keywords): Set to nil and make obsolete.
8842 (calendar-day-name): Add option to use header array.
8843
8844 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8845
8846 * net/shr.el (shr-render-td): Remove debugging.
8847 (shr-render-td): Make width computation consistent by defaulting
8848 all zero-width columns to 10 characters. This may not be optimal,
8849 but it's at least consistent.
8850 (shr-make-table-1): Redo last change to fix the real problem in
8851 colspan handling.
8852
8853 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8854
8855 * files.el (cache-long-line-scans):
8856 Make obsolete alias to `cache-long-scans'.
8857
8858 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8859
8860 * frameset.el (frameset, frameset-filter-alist)
8861 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8862 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8863 (frameset-compute-pos): Rename from frameset--compute-pos,
8864 and add docstring.
8865 (frameset-move-onscreen): Use frameset-compute-pos.
8866 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8867
8868 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8869 Fix typos in docstrings.
8870
8871 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8872
8873 * frame.el (get-other-frame): Tiny cleanup.
8874
8875 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8876
8877 * vc/vc.el (vc-default-ignore-completion-table):
8878 Silence byte-compiler warning.
8879
8880 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8881 slot, which can indeed be nil.
8882 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8883 Move entry for `left' from persistent to live filter alist.
8884 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8885 Doc fixes.
8886 (frameset-filter-params): When restoring a frame, copy items added to
8887 `filtered', to avoid unwittingly modifying the original parameters.
8888 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8889 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8890
8891 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8892 to use looking-at-p instead of looking-at. (Bug#15028)
8893
8894 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8895
8896 Revert introduction of isearch-filter-predicates (bug#14714).
8897 Rely on add-function instead.
8898 * isearch.el (isearch-filter-predicates): Rename it back to
8899 isearch-filter-predicate.
8900 (isearch-message-prefix): Use advice-function-mapc and advice
8901 properties to get the isearch-message-prefix.
8902 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8903 instead of run-hook-with-args-until-failure.
8904 (isearch-filter-visible): Not obsolete any more.
8905 * loadup.el: Preload nadvice.
8906 * replace.el (perform-replace): Revert to funcall
8907 instead of run-hook-with-args-until-failure.
8908 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8909 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8910 dired-isearch-filenames-toggle; make it into a proper minor mode.
8911 Use add/remove-function.
8912 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8913 Call the minor-mode rather than add/remove-hook.
8914 (dired-isearch-filter-filenames):
8915 Remove isearch-message-prefix property.
8916 * info.el (Info--search-loop): New function, extracted from Info-search.
8917 Funcall isearch-filter-predicate instead of
8918 run-hook-with-args-until-failure isearch-filter-predicates.
8919 (Info-search): Use it.
8920 (Info-mode): Use isearch-filter-predicate instead of
8921 isearch-filter-predicates.
8922
8923 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8924
8925 Do not call to `selected-window' where it is assumed by default.
8926 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8927 `window-hscroll', `window-width', `window-height', `window-buffer',
8928 `window-frame', `window-start', `window-point', `next-window'
8929 and `window-display-table'.
8930 * abbrev.el (abbrev--default-expand):
8931 * bs.el (bs--show-with-configuration):
8932 * buff-menu.el (Buffer-menu-mouse-select):
8933 * calc/calc.el (calc):
8934 * calendar/calendar.el (calendar-generate-window):
8935 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8936 (diary-make-entry):
8937 * comint.el (send-invisible, comint-dynamic-complete-filename)
8938 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8939 * completion.el (complete):
8940 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8941 * disp-table.el (describe-current-display-table):
8942 * doc-view.el (doc-view-insert-image):
8943 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8944 * ehelp.el (with-electric-help):
8945 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8946 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8947 * emacs-lisp/helper.el (Helper-help-scroller):
8948 * emulation/cua-base.el (cua--post-command-handler-1):
8949 * eshell/esh-mode.el (eshell-output-filter):
8950 * ffap.el (ffap-gnus-wrapper):
8951 * help-macro.el (make-help-screen):
8952 * hilit-chg.el (highlight-compare-buffers):
8953 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8954 * hl-line.el (global-hl-line-highlight):
8955 * icomplete.el (icomplete-simple-completing-p):
8956 * isearch.el (isearch-done):
8957 * jit-lock.el (jit-lock-stealth-fontify):
8958 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8959 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8960 * mpc.el (mpc-tagbrowser, mpc):
8961 * net/rcirc.el (rcirc-any-buffer):
8962 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8963 * play/landmark.el (landmark-max-width, landmark-max-height):
8964 * play/zone.el (zone):
8965 * progmodes/compile.el (compilation-goto-locus):
8966 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8967 * progmodes/etags.el (find-tag-other-window):
8968 * progmodes/fortran.el (fortran-column-ruler):
8969 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8970 * progmodes/verilog-mode.el (verilog-point-text):
8971 * reposition.el (reposition-window):
8972 * rot13.el (toggle-rot13-mode):
8973 * server.el (server-switch-buffer):
8974 * shell.el (shell-dynamic-complete-command)
8975 (shell-dynamic-complete-environment-variable):
8976 * simple.el (insert-buffer, set-selective-display)
8977 (delete-completion-window):
8978 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8979 (speedbar-recenter):
8980 * startup.el (fancy-splash-head):
8981 * textmodes/ispell.el (ispell-command-loop):
8982 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8983 * tutorial.el (help-with-tutorial):
8984 * vc/add-log.el (add-change-log-entry):
8985 * vc/compare-w.el (compare-windows):
8986 * vc/ediff-help.el (ediff-indent-help-message):
8987 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8988 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8989 (ediff-setup-control-frame):
8990 * vc/emerge.el (emerge-position-region):
8991 * vc/pcvs-util.el (cvs-bury-buffer):
8992 * window.el (walk-windows, mouse-autoselect-window-select):
8993 * winner.el (winner-set-conf, winner-undo): Related users changed.
8994
8995 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8996
8997 * frameset.el (frameset--set-id): Doc fix.
8998 (frameset-frame-id, frameset-frame-id-equal-p)
8999 (frameset-locate-frame-id): New functions.
9000 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9001 (frameset-restore): Use them.
9002
9003 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9004
9005 Do not call to `selected-frame' where it is assumed by default.
9006 Affected functions are `raise-frame', `redraw-frame',
9007 `frame-first-window', `frame-terminal' and `delete-frame'.
9008 * calendar/appt.el (appt-disp-window):
9009 * epg.el (epg-wait-for-completion):
9010 * follow.el (follow-delete-other-windows-and-split)
9011 (follow-avoid-tail-recenter):
9012 * international/mule.el (set-terminal-coding-system):
9013 * mail/rmail.el (rmail-mail-return):
9014 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9015 * progmodes/f90.el (f90-add-imenu-menu):
9016 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9017 * server.el (server-switch-buffer):
9018 * simple.el (delete-completion-window):
9019 * talk.el (talk):
9020 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9021 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9022 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9023 * vc/ediff.el (ediff-documentation): Related users changed.
9024 * frame.el (selected-terminal): Remove the leftover.
9025
9026 2013-08-05 Glenn Morris <rgm@gnu.org>
9027
9028 * calendar/calendar.el (calendar-generate-month):
9029 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9030 (calendar-generate-month, calendar-font-lock-keywords):
9031 Fix for calendar-day-header-width > length of any day name.
9032
9033 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9034
9035 * desktop.el (desktop-clear): Use new name of sort predicate.
9036
9037 * frameset.el (frameset): Add docstring. Move :version property to its
9038 own `version' slot.
9039 (frameset-copy): Rename from copy-frameset.
9040 (frameset-p): Check more thoroughly.
9041 (frameset-prop): Do not check for :version, which is no longer a prop.
9042 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9043 Use new :never value instead of t.
9044 (frameset-filter-alist): Expand and clarify docstring.
9045 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9046 (frameset-filter-minibuffer, frameset-filter-save-param)
9047 (frameset-filter-restore-param, frameset-filter-iconified):
9048 Add pointer to docstring of frameset-filter-alist.
9049 (frameset-filter-params): Rename filter values to be more meaningful:
9050 :never instead of t, and reverse the meanings of :save and :restore.
9051 (frameset--process-minibuffer-frames): Clarify error message.
9052 (frameset-save): Avoid unnecessary and confusing call to framep.
9053 Use new BOA constructor for framesets.
9054 (frameset--reuse-list): Doc fix.
9055 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9056 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9057 (frameset-minibufferless-first-p): Doc fix.
9058 Rename from frameset-sort-frames-for-deletion.
9059 (frameset-restore): Doc fixes. Use new function names.
9060 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9061
9062 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9063
9064 * desktop.el (desktop-restore-forces-onscreen)
9065 (desktop-restore-reuses-frames): Document :keyword constant values.
9066 (desktop-filter-parameters-alist): Remove, now identical to
9067 frameset-filter-alist.
9068 (desktop--filter-tty*): Remove, moved to frameset.el.
9069 (desktop-save-frameset, desktop-restore-frameset):
9070 Do not pass :filters argument.
9071
9072 * frameset.el (frameset-live-filter-alist)
9073 (frameset-persistent-filter-alist): New variables.
9074 (frameset-filter-alist): Use them. Add autoload cookie.
9075 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9076 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9077 `frameset--id' (it's supposed to be internal to frameset.el).
9078 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9079 (frameset--initial-params): New function.
9080 (frameset--get-frame): Use it. Doc fix.
9081 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9082 Accept :all, not 'all.
9083 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9084 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9085 with fbound symbols. Fix frame id matching, and remove matching ids if
9086 the frame being restored is deleted. Obey :delete.
9087
9088 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9089
9090 * subr.el (macrop): New function.
9091 (text-clone--maintaining): New var.
9092 (text-clone--maintain): Rename from text-clone-maintain. Use it
9093 instead of inhibit-modification-hooks.
9094
9095 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9096 a proxy, so as handle autoloads and redefinitions of the target.
9097 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9098
9099 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9100 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9101 (pcase--mutually-exclusive-p): New function.
9102 (pcase--split-consp): Use it.
9103 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9104 mutually exclusive with the current predicate.
9105
9106 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9107 (edebug-macrop): Remove. Use `macrop' instead.
9108 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9109 (ad-macro-p):
9110 * eshell/esh-cmd.el (eshell-macrop):
9111 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9112
9113 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9114
9115 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9116 (advice-mapc): New function, using it.
9117 (advice-function-member-p): New function.
9118 (advice--normalize): Store the cdr in advice--saved-rewrite since
9119 that's the part that will be changed.
9120 (advice--symbol-function): New function.
9121 (advice-remove): Handle removal before the function is defined.
9122 Adjust to new advice--saved-rewrite.
9123 (advice-member-p): Use advice-function-member-p and
9124 advice--symbol-function.
9125
9126 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9127
9128 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9129 (frameset-filter-minibuffer): Doc fix.
9130 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9131 (frameset--set-id, frameset--process-minibuffer-frames)
9132 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9133 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9134
9135 * desktop.el (desktop-clear): Only delete frames when called
9136 interactively and desktop-restore-frames is non-nil. Doc fix.
9137 (desktop-read): Set desktop-saved-frameset to nil.
9138
9139 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9140
9141 * vc/vc.el (vc-ignore): Rewrite.
9142 (vc-default-ignore-completion-table, vc--read-lines)
9143 (vc--add-line, vc--remove-regexp): New functions.
9144
9145 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9146 (vc-svn-ignore-completion-table): New function.
9147
9148 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9149 (vc-hg-ignore-completion-table)
9150 (vc-hg-find-ignore-file): New functions.
9151
9152 * vc/vc-git.el (vc-git-ignore): Rewrite.
9153 (vc-git-ignore-completion-table)
9154 (vc-git-find-ignore-file): New functions.
9155
9156 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9157
9158 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9159 (vc-bzr-ignore-completion-table)
9160 (vc-bzr-find-ignore-file): New functions.
9161
9162 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9163
9164 * frameset.el (frameset-prop): New function and setter.
9165 (frameset-save): Do not modify frame list passed by the caller.
9166
9167 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9170
9171 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9172
9173 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9174 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9175
9176 * custom.el (custom-initialize-default, custom-initialize-set)
9177 (custom-initialize-reset, custom-initialize-changed): Affect the
9178 toplevel-default-value (bug#6275, bug#14586).
9179 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9180 for bug#6275.
9181
9182 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9183
9184 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9185 Add cl-def* expressions.
9186
9187 * frameset.el (frameset-filter-params): Fix order of arguments.
9188
9189 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9190
9191 Move code related to saving frames to frameset.el.
9192 * desktop.el: Require frameset.
9193 (desktop-restore-frames): Doc fix.
9194 (desktop-restore-reuses-frames): Rename from
9195 desktop-restoring-reuses-frames.
9196 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9197 (desktop-clear): Clear frames too.
9198 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9199 (desktop--filter-tty*, desktop-save, desktop-read):
9200 Use frameset functions.
9201 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9202 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9203 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9204 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9205 (desktop--process-minibuffer-frames, desktop-save-frames)
9206 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9207 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9208 (desktop--sort-states, desktop-restoring-frames-p)
9209 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9210 (desktop-restoring-frameset-p, desktop-restore-frameset)
9211 (desktop--check-dont-save, desktop-save-frameset): New functions.
9212 (desktop--app-id): New constant.
9213 (desktop-first-buffer, desktop-buffer-ok-count)
9214 (desktop-buffer-fail-count): Move before first use.
9215 * frameset.el: New file.
9216
9217 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * files.el: Use lexical-binding.
9220 (dir-locals-read-from-file): Remove unused `err' variable.
9221 (hack-dir-local-variables--warned-coding): New var.
9222 (hack-dir-local-variables): Use it to avoid repeated warnings.
9223 (make-backup-file-name--default-function): New function.
9224 (make-backup-file-name-function): Use it as default.
9225 (buffer-stale--default-function): New function.
9226 (buffer-stale-function): Use it as default.
9227 (revert-buffer-insert-file-contents--default-function): New function.
9228 (revert-buffer-insert-file-contents-function): Use it as default.
9229 (insert-directory): Avoid add-to-list.
9230
9231 * autorevert.el (auto-revert-handler): Simplify.
9232 Use buffer-stale--default-function.
9233
9234 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9235
9236 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9237
9238 * whitespace.el (whitespace-ensure-local-variables): New function.
9239 (whitespace-cleanup-region): Call it.
9240 (whitespace-turn-on): Call it.
9241
9242 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9243
9244 Complete file name handlers.
9245
9246 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9247 (tramp-handle-verify-visited-file-modtime)
9248 (tramp-handle-file-notify-rm-watch): New functions.
9249 (tramp-call-process): Do not bind `default-directory'.
9250
9251 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9252 Order alphabetically.
9253 <access-file, add-name-to-file, dired-call-process>:
9254 <dired-compress-file, file-acl, file-notify-rm-watch>:
9255 <file-ownership-preserved-p, file-selinux-context>:
9256 <make-directory-internal, make-symbolic-link, set-file-acl>:
9257 <set-file-selinux-context, set-visited-file-modtime>:
9258 <verify-visited-file-modtime>: Add handler.
9259 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9260
9261 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9262 <file-notify-add-watch, file-notify-rm-watch>:
9263 <set-file-times, set-visited-file-modtime>:
9264 <verify-visited-file-modtime>: Add handler.
9265 (with-tramp-gvfs-error-message)
9266 (tramp-gvfs-handle-set-visited-file-modtime)
9267 (tramp-gvfs-fuse-file-name): Remove.
9268 (tramp-gvfs-handle-file-notify-add-watch)
9269 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9270 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9271
9272 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9273 Order alphabetically.
9274 <file-notify-rm-watch>: Use default Tramp handler.
9275 <executable-find>: Remove private handler.
9276 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9277 `default-directory'.
9278 (tramp-sh-handle-executable-find)
9279 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9280 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9281 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9282 Do not use `format' in `tramp-message'.
9283
9284 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9285 <file-notify-rm-watch, set-visited-file-modtime>:
9286 <verify-visited-file-modtime>: Add handler.
9287 (tramp-smb-call-winexe): Do not bind `default-directory'.
9288
9289 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9290
9291 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9292
9293 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9294
9295 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9296 use it.
9297 (log-view-diff-changeset): Same.
9298 (log-view-diff-common): Call backend command `previous-revision'
9299 to find out the previous revision, in both cases. Swap the
9300 variables `to' and `fr', so that `fr' usually refers to the
9301 earlier revision (Bug#14989).
9302
9303 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9304
9305 * ibuf-ext.el (ibuffer-filter-by-filename):
9306 Make it work with dired buffers too.
9307
9308 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9309
9310 * emacs-lisp/re-builder.el (reb-color-display-p):
9311 * files.el (save-buffers-kill-terminal):
9312 * net/browse-url.el (browse-url):
9313 * server.el (server-save-buffers-kill-terminal):
9314 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9315 Prefer nil to selected-frame for the first arg of frame-parameter.
9316
9317 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9318
9319 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9320
9321 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9322
9323 * minibuffer.el (completion--twq-all): Try and preserve each
9324 completion's case choice (bug#14907).
9325
9326 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
9328 * net/network-stream.el (open-network-stream): Mention the new
9329 :nogreeting parameter.
9330 (network-stream-open-starttls): Use the :nogreeting parameter
9331 (bug#14938).
9332
9333 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9334
9335 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9336 more natural than popping.
9337
9338 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9339 (shr-urlify): Highlight under mouse.
9340
9341 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9342
9343 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9344
9345 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9346
9347 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9348 buffer for output.
9349
9350 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9351 point-min==1. Fix search string. Fix parentheses missing.
9352
9353 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9354 assume point-min==1. Fix search string. Fix parentheses missing.
9355
9356 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9357
9358 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9359 buffer for output.
9360
9361 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9362
9363 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9364 initial frame is minibuffer-less. (Bug#14841)
9365
9366 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9367
9368 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9369 option.
9370
9371 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9372 (tramp-maybe-open-connection): Use it.
9373
9374 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9375
9376 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9377 minimal set of parameters passed when creating a frame, because
9378 the minibuffer status of a frame cannot be changed later.
9379
9380 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9381
9382 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9383 replace-regexp-in-string and inadvertent omissions in previous change.
9384 (todo-filter-items): Ensure only file names are comma-separated in
9385 name of filtered items buffer.
9386
9387 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9388
9389 * desktop.el: Optionally force offscreen frames back onscreen.
9390 (desktop-restoring-reuses-frames): New option.
9391 (desktop--compute-pos, desktop--move-onscreen): New functions.
9392 (desktop--make-frame): Use desktop--move-onscreen.
9393
9394 2013-07-27 Alan Mackenzie <acm@muc.de>
9395
9396 Fontify a Java generic method as a function.
9397 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9398 value to t.
9399
9400 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9401
9402 * calendar/todo-mode.el: Add command to rename todo files.
9403 (todo-rename-file): New command.
9404 (todo-key-bindings-t): Add key binding for it. Change the
9405 bindings of todo-filter-regexp-items(-multifile) to use `x'
9406 instead of `r', since the latter is better suited to the new
9407 renaming command.
9408
9409 2013-07-27 Alan Mackenzie <acm@muc.de>
9410
9411 Make Java try-with-resources statement parse properly.
9412 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9413 (c-block-stmt-1-2-key): New language constants/variables.
9414 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9415 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9416 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9417 with c-block-stmt-1-2-key.
9418
9419 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9420
9421 * desktop.el (desktop--make-frame): Apply most frame parameters after
9422 creating the frame to force (partially or totally) offscreen frames to
9423 be restored as such.
9424
9425 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9426
9427 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9428 (Bug#14948)
9429
9430 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9431
9432 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9433 `base' arg of backtrace-frame.
9434
9435 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9436
9437 * simple.el (list-processes): Doc fix.
9438
9439 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9440
9441 * desktop.el (desktop--select-frame):
9442 Try harder to reuse existing frames.
9443
9444 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9447 (edebug-eval): Use backtrace-eval.
9448 (edebug--display, edebug--recursive-edit): Don't let-bind the
9449 edebug-outer-* vars that keep track of variables we locally let-bind.
9450 (edebug-outside-excursion): Don't restore outside values of locally
9451 let-bound vars.
9452 (edebug--display): Use user-error.
9453 (cl-lexical-debug, cl-debug-env): Remove.
9454
9455 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9456
9457 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9458 are restored to be sure that they are visible before deleting any
9459 remaining ones.
9460
9461 2013-07-26 Matthias Meulien <orontee@gmail.com>
9462
9463 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9464 vc-print-root-log. (Bug#14948)
9465
9466 2013-07-26 Richard Stallman <rms@gnu.org>
9467
9468 Add aliases for encrypting mail.
9469 * epa.el (epa-mail-aliases): New option.
9470 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9471 Bind inhibit-read-only so read-only text doesn't ruin everything.
9472 (epa-mail-default-recipients): New subroutine broken out.
9473 Handle epa-mail-aliases.
9474
9475 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9476
9477 Add support for lexical variables to the debugger's `e' command.
9478 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9479 vars, except for debugger-outer-match-data.
9480 (debugger-frame-number): Move check for "on a function call" from
9481 callers into it. Add `skip-base' argument.
9482 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9483 (debugger-env-macro): Only reset the state stored in non-variables,
9484 i.e. current-buffer and match-data.
9485 (debugger-eval-expression): Rewrite using backtrace-eval.
9486 * subr.el (internal--called-interactively-p--get-frame): Remove.
9487 (called-interactively-p):
9488 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9489 `base' arg of backtrace-frame instead.
9490
9491 2013-07-26 Glenn Morris <rgm@gnu.org>
9492
9493 * align.el (align-regexp): Doc fix. (Bug#14857)
9494 (align-region): Explicit error if subexpression missing/does not match.
9495
9496 * simple.el (global-visual-line-mode):
9497 Do not duplicate the mode lighter. (Bug#14858)
9498
9499 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9500
9501 * window.el (display-buffer): In display-buffer bind
9502 split-window-keep-point to t, bug#14829.
9503
9504 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9505
9506 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9507 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9508 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9509 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9510 Change accordingly.
9511 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9512 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9513
9514 2013-07-25 Glenn Morris <rgm@gnu.org>
9515
9516 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9517
9518 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9519
9520 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9521 parameter to modify-frame-parameters if the value has not changed;
9522 this is a workaround for bug#14949.
9523 (desktop--make-frame): On cl-delete-if call, check parameter name,
9524 not full parameter.
9525
9526 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9527
9528 * vc/vc.el (vc-ignore): New function.
9529
9530 * vc/vc-svn.el (vc-svn-ignore): New function.
9531
9532 * vc/vc-hg.el (vc-hg-ignore): New function.
9533
9534 * vc/vc-git.el (vc-git-ignore): New function.
9535
9536 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9537 (vc-dir-ignore): New function.
9538
9539 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9540 (cvs-append-to-ignore): Move here from pcvs.el.
9541
9542 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9543
9544 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9545
9546 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9547
9548 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9549 (desktop-restore-frames): Warn when deleting an existing frame failed.
9550
9551 2013-07-24 Glenn Morris <rgm@gnu.org>
9552
9553 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9554
9555 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9556
9557 * filenotify.el (file-notify-supported-p):
9558 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9559 Remove functions.
9560
9561 * autorevert.el (auto-revert-use-notify)
9562 (auto-revert-notify-add-watch):
9563 * net/tramp.el (tramp-file-name-for-operation):
9564 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9565 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9566 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9567 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9568 Remove `file-notify-supported-p' entry.
9569
9570 2013-07-24 Glenn Morris <rgm@gnu.org>
9571
9572 * printing.el: Replace all uses of deleted ps-windows-system,
9573 ps-lp-system, ps-flatten-list with lpr- versions.
9574
9575 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9578 checked with memq (bug#14935).
9579
9580 * files.el (revert-buffer-function): Use a non-nil default.
9581 (revert-buffer-preserve-modes): Declare var to
9582 provide access to the `preserve-modes' argument.
9583 (revert-buffer): Let-bind it.
9584 (revert-buffer--default): New function, extracted from revert-buffer.
9585
9586 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * lpr.el: Signal print errors more prominently.
9589 (print-region-function): Don't default to nil.
9590 (lpr-print-region): New function, extracted from print-region-1.
9591 Check lpr's return value and signal an error in case of problem.
9592 (print-region-1): Use it.
9593 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9594 versions instead.
9595 (ps-printer-name): Default to nil.
9596 (ps-printer-name-option): Default to lpr-printer-switch.
9597 (ps-print-region-function): Don't default to nil.
9598 (ps-postscript-code-directory): Simplify default.
9599 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9600 (ps-string-list, ps-eval-switch, ps-flatten-list)
9601 (ps-flatten-list-1): Remove.
9602 (ps-multibyte-buffer): Avoid setq.
9603 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9604 (print-region-function, ps-print-region-function): Don't set them here.
9605
9606 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9607
9608 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9609 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9610 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9611 (ido-decorations): Doc fix.
9612
9613 * ansi-color.el: Fix old URL.
9614
9615 2013-07-23 Michael R. Mauger <michael@mauger.com>
9616
9617 * progmodes/sql.el: Version 3.3
9618 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9619 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9620 (sql-interactive-remove-continuation-prompt): Rewrite, use
9621 functions above. Fix continuation prompt and complete output line
9622 handling.
9623 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9624 redirected output buffer.
9625 (sql-mode): Restore deleted code (Bug#13591).
9626
9627 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9628
9629 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9630
9631 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9632
9633 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9634
9635 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9636 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9637 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9638
9639 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9640
9641 * desktop.el (desktop-clear): Simplify; remove useless checks
9642 against invalid buffer names.
9643 (desktop-list*): Use cl-list*.
9644 (desktop-buffer-info, desktop-create-buffer): Simplify.
9645
9646 2013-07-23 Leo Liu <sdl.web@gmail.com>
9647
9648 * bookmark.el (bookmark-make-record): Restore NAME as a default
9649 value. (Bug#14933)
9650
9651 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9654 extracted from autoload--insert-text.
9655 (autoload--insert-text): Remove.
9656 (autoload--print-cookie-text): New function, extracted from
9657 autoload--insert-cookie-text.
9658 (autoload--insert-cookie-text): Remove.
9659 (autoload-generate-file-autoloads): Adjust calls accordingly.
9660
9661 * winner.el (winner-hook-installed-p): Remove.
9662 (winner-mode): Simplify accordingly.
9663
9664 * subr.el (add-to-list): Fix compiler-macro when `append' is
9665 not constant. Don't use `cl-member' for the base case.
9666
9667 * progmodes/subword.el: Fix boundary case (bug#13758).
9668 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9669 own group.
9670 (subword-backward-regexp): Make it a constant.
9671 (subword-forward-internal): Don't treat a trailing capital as the
9672 beginning of a word.
9673
9674 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9675
9676 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9677 global value of tabulated-list-revert-hook (bug#14930).
9678
9679 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9680
9681 * desktop.el: Require 'cl-lib.
9682 (desktop-before-saving-frames-functions): New hook.
9683 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9684 for frames being saved. Rename from desktop--save-minibuffer-frames.
9685 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9686 Do not save frames with non-nil `desktop-dont-save' parameter.
9687 Filter out deleted frames.
9688 (desktop--find-frame): Use cl-find-if.
9689 (desktop--select-frame): Use cl-(first|second|third) to access values
9690 of desktop-mini.
9691 (desktop--make-frame): Use cl-delete-if.
9692 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9693 (desktop-restore-frames): Use cl-(first|second|third) to access values
9694 of desktop-mini. Look for visible frame at the end, not while
9695 restoring frames.
9696
9697 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9698 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9699 Use string-match-p, looking-at-p (bug#14927).
9700
9701 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9702
9703 * desktop.el (desktop-saved-frame-states):
9704 Rename from desktop--saved-states; all users changed.
9705 (desktop-save-frames): Rename from desktop--save-frames.
9706 Do not save state to desktop file.
9707 (desktop-save): Save desktop-saved-frame-states to desktop file
9708 and reset to nil.
9709 (desktop-restoring-frames-p): New function.
9710 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9711 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9712 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9713
9714 * desktop.el: Correctly restore iconified frames.
9715 (desktop--filter-iconified-position): New function.
9716 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9717
9718 2013-07-20 Glenn Morris <rgm@gnu.org>
9719
9720 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9721 Let `message' do the formatting.
9722 (def-gdb-preempt-display-buffer): Add explicit format.
9723
9724 * image-dired.el (image-dired-track-original-file):
9725 Use with-current-buffer.
9726 (image-dired-track-thumbnail): Use with-current-buffer.
9727 Avoid changing point of wrong window.
9728
9729 * image-dired.el (image-dired-track-original-file):
9730 Avoid changing point of wrong window. (Bug#14909)
9731
9732 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9733
9734 * progmodes/gdb-mi.el (gdb-done-or-error):
9735 Guard against "%" in gdb output. (Bug#14127)
9736
9737 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9738
9739 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9740 (Bug#14826)
9741
9742 * international/mule.el (coding-system-iso-2022-flags): Fix last
9743 change.
9744
9745 2013-07-20 Kenichi Handa <handa@gnu.org>
9746
9747 * international/mule.el (coding-system-iso-2022-flags):
9748 Add `8-bit-level-4'. (Bug#8522)
9749
9750 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9751
9752 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9753 (bug#14815).
9754
9755 * net/eww.el (eww-process-text-input): Allow inputting when the
9756 point is at the start of the line, as the properties aren't
9757 front-sticky.
9758
9759 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9760 degenerate widths.
9761
9762 2013-07-19 Richard Stallman <rms@gnu.org>
9763
9764 * epa.el (epa-popup-info-window): Doc fix.
9765
9766 * subr.el (split-string): New arg TRIM.
9767
9768 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9769
9770 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9771 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9772
9773 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9774
9775 * filenotify.el (file-notify--library): Rename from
9776 `file-notify-support'. Do not autoload. Adapt all uses.
9777 (file-notify-supported-p): New defun.
9778
9779 * autorevert.el (auto-revert-use-notify):
9780 Use `file-notify-supported-p' instead of `file-notify-support'.
9781 Adapt docstring.
9782 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9783
9784 * net/tramp.el (tramp-file-name-for-operation):
9785 Add `file-notify-supported-p'.
9786
9787 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9788 New defun.
9789 (tramp-sh-file-name-handler-alist): Add it as handler for
9790 `file-notify-supported-p '.
9791
9792 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9793 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9794 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9795 Add `ignore' as handler for `file-notify-*' functions.
9796
9797 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9798
9799 * simple.el (line-move-partial, line-move): Don't start vscroll or
9800 scroll-up if the current line is not taller than the window.
9801 (Bug#14881)
9802
9803 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9804
9805 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9806 highlight question marks in the method names as strings.
9807 (ruby-block-beg-keywords): Inline.
9808 (ruby-font-lock-keyword-beg-re): Extract from
9809 `ruby-font-lock-keywords'.
9810
9811 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9812
9813 * frame.el (blink-cursor-blinks): New defcustom.
9814 (blink-cursor-blinks-done): New defvar.
9815 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9816 (blink-cursor-timer-function): Check if number of blinks has been
9817 done on X and NS.
9818 (blink-cursor-suspend, blink-cursor-check): New defuns.
9819
9820 2013-07-15 Glenn Morris <rgm@gnu.org>
9821
9822 * edmacro.el (edmacro-format-keys): Fix previous change.
9823
9824 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9825
9826 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9827 The hack didn't work outside English locales anyway.
9828
9829 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9830
9831 * simple.el (define-alternatives): Rename from alternatives-define,
9832 per RMS' suggestion.
9833
9834 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9835
9836 * desktop.el (desktop-restore-frames): Change default to t.
9837 (desktop-restore-in-current-display): Now offer more options.
9838 (desktop-restoring-reuses-frames): New customization option.
9839 (desktop--saved-states): Doc fix.
9840 (desktop-filter-parameters-alist): New variable, renamed and expanded
9841 from desktop--excluded-frame-parameters.
9842 (desktop--target-display): New variable.
9843 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9844 (desktop--filter-tty*, desktop--filter-*-color)
9845 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9846 (desktop--filter-save-desktop-parm)
9847 (desktop-restore-in-original-display-p): New functions.
9848 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9849 (desktop--save-minibuffer-frames): New function, inspired by a similar
9850 function from Martin Rudalics.
9851 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9852 (desktop--restore-in-this-display-p): Remove.
9853 (desktop--find-frame): Rename from desktop--find-frame-in-display
9854 and add predicate argument.
9855 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9856 (desktop--reuse-list): New variable.
9857 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9858 New functions.
9859 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9860
9861 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9862
9863 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9864
9865 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9866
9867 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9868 Highlight conversion methods on Kernel.
9869
9870 2013-07-13 Alan Mackenzie <acm@muc.de>
9871
9872 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9873 and comment it out. This out-commenting enables certain C++
9874 declarations to be parsed correctly.
9875
9876 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9877
9878 * international/mule.el (define-coding-system): Doc fix.
9879
9880 * simple.el (default-font-height): Don't call font-info if the
9881 frame's default font didn't change since the frame was created.
9882 (Bug#14838)
9883
9884 2013-07-13 Leo Liu <sdl.web@gmail.com>
9885
9886 * ido.el (ido-read-file-name): Guard against non-symbol value.
9887
9888 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9889
9890 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9891 in nested defuns.
9892
9893 2013-07-13 Leo Liu <sdl.web@gmail.com>
9894
9895 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9896 ido-set-matches call. (Bug#6852)
9897
9898 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9899
9900 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9901 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9902 Ruby 2.0.
9903 (ruby-font-lock-keywords): Distinguish calls to functions with
9904 module-like names from module references. Highlight character
9905 literals.
9906
9907 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9908
9909 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9910 (gdb-send): Handle continued commands. (Bug#14847)
9911
9912 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9913
9914 * desktop.el (desktop--v2s): Remove unused local variable.
9915 (desktop-save-buffer): Make defvar-local; adjust docstring.
9916 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9917 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9918
9919 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9920
9921 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9922
9923 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9924
9925 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9926 (Bug#14842)
9927
9928 2013-07-12 Glenn Morris <rgm@gnu.org>
9929
9930 * doc-view.el: Require cl-lib at runtime too.
9931 (doc-view-remove-if): Remove.
9932 (doc-view-search-next-match, doc-view-search-previous-match):
9933 Use cl-remove-if.
9934
9935 * edmacro.el: Require cl-lib at runtime too.
9936 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9937 (edmacro-mismatch, edmacro-subseq): Remove.
9938
9939 * shadowfile.el: Require cl-lib.
9940 (shadow-remove-if): Remove.
9941 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9942 Use cl-remove-if.
9943
9944 * wid-edit.el: Require cl-lib.
9945 (widget-choose): Use cl-remove-if.
9946 (widget-remove-if): Remove.
9947
9948 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9949 (ebrowse-delete-if-not): Remove.
9950 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9951 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9952 Use cl-delete-if-not.
9953
9954 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9955
9956 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9957 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9958
9959 2013-07-12 Leo Liu <sdl.web@gmail.com>
9960
9961 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9962
9963 2013-07-11 Glenn Morris <rgm@gnu.org>
9964
9965 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9966 (edebug-gensym-index, edebug-gensym):
9967 Remove reimplementation of cl-gensym.
9968 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9969
9970 * thumbs.el: Require cl-lib at run-time too.
9971 (thumbs-gensym-counter, thumbs-gensym):
9972 Remove reimplementation of cl-gensym.
9973 (thumbs-temp-file): Use cl-gensym.
9974
9975 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9976 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9977 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9978 (ert--union, ert--gensym-counter, ert--gensym-counter)
9979 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9980 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9981 (ert-make-test-unbound, ert--expand-should-1)
9982 (ert--expand-should, ert--should-error-handle-error)
9983 (should-error, ert--explain-equal-rec)
9984 (ert--plist-difference-explanation, ert-select-tests)
9985 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9986 Use cl-lib functions rather than reimplementations.
9987
9988 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9989
9990 * net/tramp.el (tramp-methods): Extend docstring.
9991 (tramp-connection-timeout): New defcustom.
9992 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9993 (with-tramp-progress-reporter): Simplify.
9994 (tramp-process-actions): Improve messages.
9995
9996 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9997 * net/tramp-sh.el (tramp-maybe-open-connection):
9998 Use `tramp-connection-timeout'.
9999 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10000 (Bug#14808)
10001
10002 2013-07-11 Leo Liu <sdl.web@gmail.com>
10003
10004 * ido.el (ido-read-file-name): Conform to the requirements of
10005 read-file-name. (Bug#11861)
10006 (ido-read-directory-name): Conform to the requirements of
10007 read-directory-name.
10008
10009 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10010
10011 * subr.el (delay-warning): New function.
10012
10013 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10014
10015 * simple.el (default-line-height): New function.
10016 (line-move-partial, line-move): Use it instead of computing the
10017 line height inline.
10018 (line-move-partial): Always compute ROWH. If the last line is
10019 partially-visible, but its text is completely visible, allow
10020 cursor to enter such a partially-visible line.
10021
10022 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10023
10024 Improve error messages. (Bug#14808)
10025
10026 * net/tramp.el (tramp-current-connection): New defvar, moved from
10027 tramp-sh.el.
10028 (tramp-message-show-progress-reporter-message): Remove, not
10029 needed anymore.
10030 (tramp-error-with-buffer): Show message in minibuffer.
10031 Discard input before waiting. Reset connection timestamp.
10032 (with-tramp-progress-reporter): Improve messages.
10033 (tramp-process-actions): Use progress reporter. Delete process in
10034 case of error. Improve messages.
10035
10036 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10037 Call `tramp-error-with-buffer' with vector and buffer.
10038 (tramp-current-connection): Remove.
10039 (tramp-maybe-open-connection): The car of
10040 `tramp-current-connection' are the first 3 slots of the vector.
10041
10042 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10043
10044 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10045 inside continued strings.
10046
10047 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10048
10049 Timestamp fixes for undo (Bug#14824).
10050 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10051
10052 2013-07-10 Leo Liu <sdl.web@gmail.com>
10053
10054 * files.el (require-final-newline): Allow safe local value.
10055 (Bug#14834)
10056
10057 2013-07-09 Leo Liu <sdl.web@gmail.com>
10058
10059 * ido.el (ido-read-directory-name): Handle fallback.
10060 (ido-read-file-name): Update DIR to ido-current-directory.
10061 (Bug#1516)
10062 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10063
10064 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10065
10066 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10067 "autoload". Remove "warn lower camel case" section, previously
10068 commented out. Highlight negation char. Do not highlight the
10069 target in singleton method definitions.
10070
10071 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10072
10073 * faces.el (tty-setup-hook): Declare the hook.
10074
10075 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10076 and detect when a guard/pred depends on local vars (bug#14773).
10077 (pcase--u1): Adjust caller.
10078
10079 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10080
10081 * simple.el (line-move-partial, line-move): Account for
10082 line-spacing.
10083 (line-move-partial): Avoid setting vscroll when the last
10084 partially-visible line in window is of default height.
10085
10086 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10087
10088 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10089 been used a while.
10090
10091 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10092
10093 * subr.el (read-quoted-char): Remove unused local variable `char'.
10094
10095 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10096
10097 * ediff.el (ediff-version): Version update.
10098 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10099 (ediff-merge-with-ancestor-command, ediff-directories-command)
10100 (ediff-directories3-command, ediff-merge-directories-command)
10101 (ediff-merge-directories-with-ancestor-command): New functions.
10102 All are command-line interfaces to ediff: to facilitate calling
10103 Emacs with the appropriate ediff functions invoked.
10104
10105 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10106 (viper-save-kill-buffer): Check if buffer is modified.
10107
10108 * viper.el (viper-version): Version update.
10109 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10110
10111 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10112
10113 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10114 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10115 (viper-intercept-ESC-key): Simplify.
10116 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10117 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10118 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10119 (viper-setup-ESC-to-escape): New functions.
10120 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10121 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10122
10123 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10124
10125 * simple.el (default-font-height, window-screen-lines):
10126 New functions.
10127 (line-move, line-move-partial): Use them instead of
10128 frame-char-height and window-text-height. This makes scrolling
10129 text smoother when the buffer's default face uses a font that is
10130 different from the frame's default font.
10131
10132 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10133
10134 * files.el (write-file): Do not display confirm dialog for NS,
10135 it does its own dialog, which can't be canceled (Bug#14578).
10136
10137 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10138
10139 * simple.el (line-move-partial): Adjust the row returned by
10140 posn-at-point for the current window-vscroll. (Bug#14567)
10141
10142 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10143
10144 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10145 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10146 spaces.
10147
10148 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10149
10150 * window.el (window-state-put-stale-windows): New variable.
10151 (window--state-put-2): Save list of windows without matching buffer.
10152 (window-state-put): Remove "bufferless" windows if possible.
10153
10154 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10155
10156 * simple.el (alternatives-define): Remove leftover :group keyword.
10157 Tweak docstring.
10158
10159 2013-07-06 Leo Liu <sdl.web@gmail.com>
10160
10161 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10162 (ido-enable-virtual-buffers): New variable.
10163 (ido-buffer-internal, ido-toggle-virtual-buffers)
10164 (ido-make-buffer-list): Use it.
10165 (ido-exhibit): Support turning on and off virtual buffers
10166 automatically.
10167
10168 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10169
10170 * simple.el (alternatives-define): New macro.
10171
10172 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10173
10174 * subr.el (read-quoted-char): Use read-key.
10175 (sit-for): Let read-event decode tty input (bug#14782).
10176
10177 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10178
10179 * calendar/todo-mode.el: Add handling of file deletion, both by
10180 mode command and externally. Fix various related bugs.
10181 Clarify Commentary and improve some documentation strings and code.
10182 (todo-delete-file): New command.
10183 (todo-check-file): New function.
10184 (todo-show): Handle external deletion of the file we're trying to
10185 show (bug#14688). Replace called-interactively-p by an optional
10186 prefix argument to avoid problematic interaction with catch form
10187 when byte compiled (bug#14702).
10188 (todo-quit): Handle external deletion of the archive's todo file.
10189 Make sure the buffer that was visiting the archive file is still
10190 live before trying to bury it.
10191 (todo-category-completions): Handle external deletion of any
10192 category completion files.
10193 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10194 of todo files, in case of external deletion.
10195 (todo-add-file): Replace unnecessary setq by let-binding.
10196 (todo-find-archive): Check whether there are any archives.
10197 Replace unnecessary setq by let-binding.
10198 (todo-archive-done-item): Use find-file-noselect to get the
10199 archive buffer whether or not the archive already exists.
10200 Remove superfluous code. Use file size instead of buffer-file-name to
10201 check if the archive is new; if it is, update list of archives.
10202 (todo-default-todo-file): Allow nil to be a valid value for when
10203 there are no todo files.
10204 (todo-reevaluate-default-file-defcustom): Use corrected definition
10205 of todo-default-todo-file.
10206 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10207 (todo-delete-category, todo-show-categories-table)
10208 (todo-category-number): Clarify comment.
10209 (todo-filter-items): Clarify documentation string.
10210 (todo-show-current-file, todo-display-as-todo-file)
10211 (todo-reset-and-enable-done-separator): Tweak documentation string.
10212 (todo-done-separator): Make separator length window-width, since
10213 bug#2749 is now fixed.
10214
10215 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10216
10217 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10218 Support both "gvfs-monitor-dir" and "inotifywait".
10219 (tramp-sh-file-inotifywait-process-filter): Rename from
10220 `tramp-sh-file-notify-process-filter'.
10221 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10222 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10223
10224 2013-07-05 Leo Liu <sdl.web@gmail.com>
10225
10226 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10227
10228 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10229
10230 * frame.el (display-pixel-height, display-pixel-width)
10231 (display-mm-height, display-mm-width): Mention behavior on
10232 multi-monitor setups in docstrings.
10233 (w32-display-monitor-attributes-list): Declare function.
10234 (display-monitor-attributes-list): Use it.
10235
10236 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10237
10238 * filenotify.el: New package.
10239
10240 * autorevert.el (top): Require filenotify.el.
10241 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10242 instead.
10243 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10244 (auto-revert-notify-handler): Use `file-notify-*' functions.
10245
10246 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10247
10248 * net/tramp.el (tramp-file-name-for-operation):
10249 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10250
10251 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10252 for `file-notify-add-watch' and `file-notify-rm-watch'.
10253 (tramp-process-sentinel): Improve trace.
10254 (tramp-sh-handle-file-notify-add-watch)
10255 (tramp-sh-file-notify-process-filter)
10256 (tramp-sh-handle-file-notify-rm-watch)
10257 (tramp-get-remote-inotifywait): New defuns.
10258
10259 2013-07-03 Juri Linkov <juri@jurta.org>
10260
10261 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10262 call of `occur-read-primary-args' to interactive spec.
10263
10264 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10265 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10266
10267 2013-07-03 Matthias Meulien <orontee@gmail.com>
10268
10269 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10270 `Buffer-menu-multi-occur'. Add it to the menu.
10271 (Buffer-menu-mode): Document it in docstring.
10272 (Buffer-menu-multi-occur): New command. (Bug#14673)
10273
10274 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10275
10276 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10277 keywords and built-ins.
10278
10279 2013-07-03 Glenn Morris <rgm@gnu.org>
10280
10281 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10282
10283 Make info-xref checks case-sensitive by default
10284 * info.el (Info-find-node, Info-find-in-tag-table)
10285 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10286 Add option for exact case matching of nodes.
10287 * info-xref.el (info-xref): New custom group.
10288 (info-xref-case-fold): New option.
10289 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10290
10291 2013-07-03 Leo Liu <sdl.web@gmail.com>
10292
10293 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10294
10295 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10296
10297 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10298 middle of block statement initially, lower the depth. Remove
10299 FIXME comment, not longer valid. Remove middle of block statement
10300 detection, no need to do that anymore since we've been using
10301 `ruby-parse-region' here.
10302
10303 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10304
10305 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10306
10307 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10308
10309 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10310
10311 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10312
10313 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10314 (desktop-restore-in-current-display): New customization option.
10315 (desktop--excluded-frame-parameters): Add `font'.
10316 (desktop--save-frames): Rename from desktop--save-windows.
10317 (desktop--restore-in-this-display-p): New function.
10318 (desktop--make-full-frame): Remove unwanted width/height from
10319 full(width|height) frames.
10320 (desktop--restore-frames): Rename from desktop--restore-windows.
10321 Obey desktop-restore-current-display. Do not delete old frames or
10322 select a new frame unless we were able to restore at least one frame.
10323
10324 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10325
10326 * files.el (find-file-noselect): Simplify conditional expression.
10327
10328 * textmodes/remember.el (remember-append-to-file):
10329 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10330
10331 Add `remember-notes' function to store random notes across Emacs
10332 restarts.
10333 * textmodes/remember.el (remember-data-file): Add :set callback to
10334 affect notes buffer (if any).
10335 (remember-notes): New command.
10336 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10337 New defcustoms for the `remember-notes' function.
10338 (remember-notes-save-and-bury-buffer): New command.
10339 (remember-notes-mode-map): New variable.
10340 (remember-mode): New minor mode.
10341 (remember-notes--kill-buffer-query): New function.
10342 * startup.el (initial-buffer-choice): Add notes to custom type.
10343
10344 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10345
10346 * bindings.el (right-char, left-char): Don't call sit-for, this is
10347 no longer needed. Use arithmetic comparison only for numerical
10348 arguments.
10349
10350 * international/mule-cmds.el (select-safe-coding-system):
10351 Handle the case of FROM being a string correctly. (Bug#14755)
10352
10353 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10354
10355 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10356 progression on degenerate tables.
10357 (shr-rescale-image): ImageMagick animated images currently don't work.
10358
10359 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10360
10361 Some fixes and improvements for desktop frame restoration.
10362 It is still experimental and disabled by default.
10363 * desktop.el (desktop--save-windows): Put the selected frame at
10364 the head of the list.
10365 (desktop--make-full-frame): New function.
10366 (desktop--restore-windows): Try to re-select the frame that was
10367 selected upon saving. Do not abort if some frames fail to restore,
10368 just show an error message and continue. Set up maximized frames
10369 so they have default non-maximized dimensions.
10370
10371 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10372
10373 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10374 Don't start heredoc inside a string or comment.
10375
10376 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10377
10378 * bindings.el (visual-order-cursor-movement): New defcustom.
10379 (right-char, left-char): Provide visual-order cursor motion by
10380 calling move-point-visually. Update the doc strings.
10381
10382 2013-06-28 Kenichi Handa <handa@gnu.org>
10383
10384 * international/mule.el (define-coding-system): New coding system
10385 properties :inhibit-null-byte-detection,
10386 :inhibit-iso-escape-detection, and :prefer-utf-8.
10387 (set-buffer-file-coding-system): If :charset-list property of
10388 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10389 appropriate for setting.
10390
10391 * international/mule-cmds.el (select-safe-coding-system):
10392 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10393 multibyte characters, return utf-8 (or one of its siblings).
10394
10395 * international/mule-conf.el (prefer-utf-8): New coding system.
10396 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10397 files.
10398
10399 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10400
10401 * net/shr.el (shr-render-region): New function.
10402
10403 * net/eww.el: Autoload `eww-browse-url'.
10404
10405 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10406
10407 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10408 Adapt to `package-desc-version' being a list.
10409 Use `package--ac-desc-version' to retrieve version from a package
10410 archive element.
10411
10412 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10413
10414 New experimental feature to save&restore window and frame setup.
10415 * desktop.el (desktop-save-windows): New defcustom.
10416 (desktop--saved-states): New var.
10417 (desktop--excluded-frame-parameters): New defconst.
10418 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10419 (desktop--restore-windows, desktop--save-windows): New functions.
10420 (desktop-save): Call `desktop--save-windows'.
10421 (desktop-read): Call `desktop--restore-windows'.
10422
10423 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10424
10425 * net/shr.el (add-face-text-property): Remove compat definition.
10426
10427 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10428
10429 * info.el (Info-try-follow-nearest-node): Move search for footnote
10430 above search for node name to prevent missing a footnote (bug#14717).
10431
10432 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10433
10434 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10435
10436 2013-06-27 Leo Liu <sdl.web@gmail.com>
10437
10438 * net/eww.el (eww-read-bookmarks): Check file size.
10439
10440 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10441
10442 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10443 advice--pending if newdef is nil or an autoload (bug#13820).
10444 (advice-mapc): New function.
10445
10446 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10447
10448 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10449 probably.
10450 (eww-mode-map): Add a menu bar.
10451 (eww-add-bookmark): New command.
10452 (eww-bookmark-mode): New mode and commands.
10453 (eww-add-bookmark): Remove newlines from the title.
10454 (eww-bookmark-browse): Don't bug out if it's the only window.
10455
10456 2013-06-26 Glenn Morris <rgm@gnu.org>
10457
10458 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10459 (hfy-size): Handle ttys. (Bug#14668)
10460
10461 * info-xref.el: Update for Texinfo 5 change in *note format.
10462 (info-xref-node-re, info-xref-note-re): New constants.
10463 (info-xref-check-buffer): Use info-xref-note-re.
10464
10465 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10468
10469 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10470 nil terminate the loop (bug#14718).
10471
10472 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10473
10474 * net/eww.el: Rework history traversal. When going forward/back,
10475 put these actions into the history, too, so that they can be
10476 replayed.
10477 (eww-render): Move the history reset to the correct buffer.
10478
10479 2013-06-25 Juri Linkov <juri@jurta.org>
10480
10481 * files-x.el (modify-dir-local-variable): Change the header comment
10482 in the file with directory local variables. (Bug#14692)
10483
10484 * files-x.el (read-file-local-variable-value): Add `default'.
10485 (Bug#14710)
10486
10487 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10488
10489 * net/eww.el (eww-make-unique-file-name): Create a unique file
10490 name before saving to entering `y' accidentally asynchronously.
10491
10492 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10493
10494 * net/eww.el (eww-download): New command and keystroke.
10495
10496 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10497
10498 * net/eww.el (eww-copy-page-url): Change name of command.
10499
10500 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10501 be more consistent with Info and dired.
10502
10503 * net/eww.el (eww-mode-map): Ditto.
10504
10505 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10506
10507 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10508 packages from archives.
10509 (package-archive-contents): Change format; include obsolete packages.
10510 (package-desc): Use `dir' to mark builtin packages.
10511 (package--from-builtin): Set the `dir' field to `builtin'.
10512 (generated-autoload-file, version-control): Declare.
10513 (package-compute-transaction): Change first arg and return value to be
10514 lists of package-descs. Adjust to new package-archive-contents format.
10515 (package--add-to-archive-contents): Adjust to new
10516 package-archive-contents format.
10517 (package-download-transaction): Arg is now a list of package-descs.
10518 (package-install): If `pkg' is a package name, pass it as
10519 a requirement, so it is subject to the usual (e.g. disabled) checks.
10520 (describe-package): Accept package-desc as well.
10521 (describe-package-1): Describe a specific package-desc. Add links to
10522 other package-descs for the same package name.
10523 (package-menu-describe-package): Pass the actual package-desc.
10524 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10525 works correctly.
10526 (package-desc-status): New function.
10527 (package-menu--refresh): New function, extracted
10528 from package-menu--generate.
10529 (package-menu--generate): Use it.
10530 (package-delete): Update package-alist.
10531 (package-menu-execute): Don't call package-initialize.
10532
10533 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10534 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10535 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10536 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10537 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10538 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10539
10540 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10541
10542 * window.el (window--state-get-1): Workaround for bug#14527.
10543 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10544
10545 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10546
10547 * net/eww.el (eww-back-url): Implement the history by stashing all
10548 the data into a list.
10549 (eww-forward-url): Allow going forward in the history, too.
10550
10551 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10552
10553 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10554 for values and use read--expression for expressions (bug#14710).
10555 (read-file-local-variable): Avoid setq.
10556 (read-file-local-variable-mode): Use minor-mode-list.
10557
10558 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10559
10560 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10561 for DOI URLs.
10562
10563 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10564
10565 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10566 Update imenu-support when dialect changes.
10567
10568 2013-06-25 Leo Liu <sdl.web@gmail.com>
10569
10570 * ido.el (ido-read-internal): Allow forward slash on windows.
10571
10572 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573
10574 * net/eww.el (eww): Start of strings is \\`, not ^.
10575
10576 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10577
10578 * net/shr.el (shr-browse-url): Fix interactive spec.
10579
10580 * net/eww.el (eww): Add a trailing slash to domain names.
10581
10582 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10583
10584 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10585
10586 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10587
10588 * net/shr.el (shr-browse-url): Use an external browser if given a
10589 prefix.
10590
10591 * net/eww.el (eww-external-browser): Move to shr.
10592
10593 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10594
10595 * net/eww.el (eww): Work more correctly for file: URLs.
10596 (eww-detect-charset): Allow quoted charsets.
10597 (eww-yank-page-url): New command and keystroke.
10598
10599 2013-06-24 Daiki Ueno <ueno@gnu.org>
10600
10601 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10602 file name of gpg executable.
10603 (epg-context-program): New function.
10604 (epg-context-home-directory): New function.
10605 (epg-context-set-program): New function.
10606 (epg-context-set-home-directory): New function.
10607 (epg--start): Use `epg-context-program' instead of
10608 'epg-gpg-program'.
10609 (epg--list-keys-1): Likewise.
10610
10611 2013-06-24 Leo Liu <sdl.web@gmail.com>
10612
10613 * ido.el (ido-read-internal): Fix bug#14620.
10614
10615 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10616
10617 * faces.el (face-documentation): Simplify.
10618 (read-face-attribute, tty-find-type, x-resolve-font-name):
10619 Use `string-match-p'.
10620 (list-faces-display): Use `string-match-p'. Simplify.
10621 (face-spec-recalc): Check face to avoid face alias loops.
10622 (read-color): Use `string-match-p' and non-capturing parenthesis.
10623
10624 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10625
10626 * net/shr.el (shr-rescale-image): Use the new
10627 :max-width/:max-height functionality.
10628
10629 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10630
10631 * net/eww.el (eww-search-prefix): New variable.
10632 (eww): Use it.
10633 (eww-external-browser): New variable.
10634 (eww-mode-map): New keystroke.
10635 (eww-browse-with-external-browser): New command.
10636
10637 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10638
10639 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10640
10641 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10642 Don't skip aligning the next header field when padding is 0;
10643 otherwise, field width is not respected unless the title is as
10644 wide as the field.
10645
10646 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * emacs-lisp/package.el (package-el-version): Remove.
10649 (package-process-define-package): Fix inf-loop.
10650 (package-install): Allow symbols as arguments again.
10651
10652 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10653
10654 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10655 add some more keyword-like methods.
10656 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10657
10658 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10659
10660 * bs.el (bs-buffer-show-mark): Make defvar-local.
10661 (bs-mode): Use setq-local.
10662
10663 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10664 (emacs-lock--try-unlocking): Make defvar-local.
10665
10666 2013-06-22 Glenn Morris <rgm@gnu.org>
10667
10668 * play/cookie1.el (cookie-apropos): Minor simplification.
10669
10670 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10671
10672 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10673
10674 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10675 `regexp-opt', it breaks the build during dumping.
10676
10677 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10678
10679 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10680 Highlight keyword-like methods on Kernel and Module with
10681 font-lock-builtin-face.
10682 (auto-mode-alist): Consolidate different entries into one regexp
10683 and add more *file-s.
10684
10685 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10686
10687 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10688
10689 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10690 (diary-entry): Use it in the action of this button type instead of
10691 diary-goto-entry.
10692
10693 * calendar/todo-mode.el: New version.
10694 (todo-add-category): Append new category to end of file and give
10695 it the highest number, instead of putting it at the beginning and
10696 giving it 0. Incorporate noninteractive functionality.
10697 (todo-forward-category): Adapt to 1-based category numbering.
10698 Allow skipping over archived categories.
10699 (todo-backward-category): Derive from todo-forward-category.
10700 (todo-backward-item, todo-forward-item): Make noninteractive and
10701 delegate interactive part to new commands. Make sensitive to done items.
10702 (todo-categories): Make value an alist of category names and
10703 vectors of item counts.
10704 (todo-category-beg): Make a defconst.
10705 (todo-category-number): Use 1 instead of 0 as initial value.
10706 (todo-category-select): Make sensitive to overlays, optional item
10707 highlighting and done items.
10708 (todo-delete-item): Make sensitive to overlays and marked and done items.
10709 (todo-edit-item): Make sensitive to overlays and editing of
10710 date/time header optional. Add format checks.
10711 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10712 no-op if point is not on an item. Advertise using todo-edit-quit.
10713 (todo-edit-mode): Make sensitive to new format, font-locking, and
10714 multiple todo files.
10715 (todo-insert-item, todo-insert-item-here): Derive from
10716 todo-basic-insert-item and extend functionality.
10717 (todo-item-end, todo-item-start): Make sensitive to done items.
10718 (todo-item-string): Don't return text properties. Restore point.
10719 (todo-jump-to-category): Make sensitive to multiple todo files and
10720 todo archives. Use extended category completion.
10721 (todo-lower-item, todo-raise-item): Rename to *-priority and
10722 derive from todo-set-item-priority.
10723 (todo-mode): Derive from special-mode. Make sensitive to new
10724 format, font-locking and multiple todo files. Make read-only.
10725 (todo-mode-map): Don't suppress digit keys, so they can supply
10726 prefix arguments. Add many new key bindings.
10727 (todo-prefix): Insert as an overlay instead of file text.
10728 Change semantics from diary date expression to purely visual mark.
10729 (todo-print): Rename to todo-print-buffer. Make buffer display
10730 features printable. Remove option to restrict number of items
10731 printed. Add option to print to file.
10732 (todo-print-function): Rename to todo-print-buffer-function.
10733 (todo-quit): Extend to handle exiting new todo modes.
10734 (todo-remove-item): Make sensitive to overlays.
10735 (todo-save): Extend to buffers of filtered items.
10736 (todo-show): Make sensitive to done items, multiple todo files and
10737 new todo modes. Offer to convert legacy todo file before creating
10738 first new todo file.
10739 (todo-show-priorities): Rename to todo-top-priorities.
10740 Change semantics of value 0.
10741 (todo-top-priorities): Rename to todo-filter-top-priorities,
10742 derive from todo-filter-items and extend functionality.
10743 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10744 and extend functionality to other types of filtered items.
10745 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10746 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10747 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10748 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10749 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10750 (todo-edit-mode-hook, todo-entry-prefix-function)
10751 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10752 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10753 (todo-initials, todo-insert-threshold, todo-item-string-start)
10754 (todo-line-string, todo-menu, todo-mode-hook)
10755 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10756 (todo-print-priorities, todo-remove-separator)
10757 (todo-save-top-priorities-too, todo-string-count-lines)
10758 (todo-string-multiline-p, todo-time-string-format)
10759 (todo-tmp-buffer-name): Remove.
10760 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10761 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10762 (todo-edit-category-diary-inclusion)
10763 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10764 (todo-edit-file, todo-edit-item-date-day)
10765 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10766 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10767 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10768 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10769 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10770 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10771 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10772 (todo-filter-top-priorities-multifile, todo-find-archive)
10773 (todo-find-filtered-items-file, todo-go-to-source-item)
10774 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10775 (todo-jump-to-archive-category, todo-lower-category)
10776 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10777 (todo-move-category, todo-move-item, todo-next-button)
10778 (todo-next-item, todo-padded-string, todo-powerset)
10779 (todo-previous-button, todo-previous-item)
10780 (todo-print-buffer-to-file, todo-raise-category)
10781 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10782 (todo-set-category-number, todo-set-item-priority)
10783 (todo-set-top-priorities-in-category)
10784 (todo-set-top-priorities-in-file, todo-show-categories-table)
10785 (todo-sort-categories-alphabetically-or-numerically)
10786 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10787 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10788 (todo-toggle-item-header, todo-toggle-item-highlighting)
10789 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10790 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10791 (todo-unarchive-items, todo-unmark-category): New commands.
10792 (todo-absolute-file-name, todo-add-to-buffer-list)
10793 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10794 (todo-basic-insert-item, todo-category-completions)
10795 (todo-category-number, todo-category-string-matcher-1)
10796 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10797 (todo-check-format, todo-clear-matches)
10798 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10799 (todo-current-category, todo-date-string-matcher)
10800 (todo-define-insertion-command, todo-diary-expired-matcher)
10801 (todo-diary-goto-entry, todo-diary-item-p)
10802 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10803 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10804 (todo-done-item-section-p, todo-done-separator)
10805 (todo-done-string-matcher, todo-files, todo-filter-items)
10806 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10807 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10808 (todo-insert-category-line, todo-insert-item-from-calendar)
10809 (todo-insert-sort-button, todo-insert-with-overlays)
10810 (todo-insertion-command-name, todo-insertion-key-bindings)
10811 (todo-label-to-key, todo-longest-category-name-length)
10812 (todo-make-categories-list, todo-mode-external-set)
10813 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10814 (todo-modes-set-3, todo-multiple-filter-files)
10815 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10816 (todo-read-category, todo-read-date, todo-read-dayname)
10817 (todo-read-file-name, todo-read-time)
10818 (todo-reevaluate-category-completions-files-defcustom)
10819 (todo-reevaluate-default-file-defcustom)
10820 (todo-reevaluate-filelist-defcustoms)
10821 (todo-reevaluate-filter-files-defcustom)
10822 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10823 (todo-reset-done-separator, todo-reset-done-separator-string)
10824 (todo-reset-done-string, todo-reset-global-current-todo-file)
10825 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10826 (todo-reset-prefix, todo-set-categories)
10827 (todo-set-date-from-calendar, todo-set-show-current-file)
10828 (todo-set-top-priorities, todo-short-file-name)
10829 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10830 (todo-total-item-counts, todo-update-buffer-list)
10831 (todo-update-categories-display, todo-update-categories-sexp)
10832 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10833 New functions.
10834 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10835 New major modes.
10836 (todo-categories, todo-display, todo-edit, todo-faces)
10837 (todo-filtered): New defgroups.
10838 (todo-archived-only, todo-button, todo-category-string, todo-date)
10839 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10840 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10841 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10842 (todo-add-item-if-new-category, todo-always-add-time-string)
10843 (todo-categories-align, todo-categories-archived-label)
10844 (todo-categories-category-label, todo-categories-diary-label)
10845 (todo-categories-done-label, todo-categories-number-separator)
10846 (todo-categories-todo-label, todo-categories-totals-label)
10847 (todo-category-completions-files, todo-completion-ignore-case)
10848 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10849 (todo-done-separator-string, todo-done-string)
10850 (todo-files-function, todo-filter-done-items, todo-filter-files)
10851 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10852 (todo-initial-category, todo-initial-file, todo-item-mark)
10853 (todo-legacy-date-time-regexp, todo-mode-line-function)
10854 (todo-nondiary-marker, todo-number-prefix)
10855 (todo-print-buffer-function, todo-show-current-file)
10856 (todo-show-done-only, todo-show-first, todo-show-with-done)
10857 (todo-skip-archived-categories, todo-top-priorities-overrides)
10858 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10859 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10860 New defcustoms.
10861 (todo-category-done, todo-date-pattern, todo-date-string-start)
10862 (todo-diary-items-buffer, todo-done-string-start)
10863 (todo-filtered-items-buffer, todo-item-start)
10864 (todo-month-abbrev-array, todo-month-name-array)
10865 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10866 (todo-top-priorities-buffer): New defconsts.
10867 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10868 (todo-categories-with-marks, todo-category-string-face)
10869 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10870 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10871 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10872 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10873 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10874 (todo-font-lock-keywords, todo-global-current-todo-file)
10875 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10876 (todo-insertion-commands-args)
10877 (todo-insertion-commands-args-genlist)
10878 (todo-insertion-commands-names, todo-insertion-map)
10879 (todo-key-bindings-t, todo-key-bindings-t+a)
10880 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10881 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10882 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10883 (todo-visited): New variables.
10884
10885 2013-06-21 Glenn Morris <rgm@gnu.org>
10886
10887 * play/cookie1.el (cookie-apropos): Add optional display argument.
10888 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10889 (psychoanalyze-pinhead): Use cookie-doctor.
10890
10891 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10892
10893 * emacs-lisp/package.el (tar-get-file-descriptor)
10894 (tar--extract): Declare.
10895
10896 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10897
10898 Extend flymake's warning predicate to be a function (bug#14217).
10899 * progmodes/flymake.el (flymake-warning-predicate): New.
10900 (flymake-parse-line): Use it.
10901 (flymake-warning-re): Make obsolete alias to
10902 `flymake-warning-predicate'.
10903
10904 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10907 (package-obsolete-list): Remove.
10908 (package-activate): Remove min-version argument. Add `force' argument.
10909 Adjust to new package-alist format.
10910 (package-mark-obsolete): Remove.
10911 (package-unpack): Force reload of the package's autoloads.
10912 (package-installed-p): Check builtins if the installed package is not
10913 recent enough.
10914 (package-initialize): Don't reset package-obsolete-list.
10915 Don't specify which package version to activate.
10916 (package-process-define-package, describe-package-1)
10917 (package-menu--generate): Adjust to new package-alist format.
10918
10919 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10920
10921 * allout-widgets.el (allout-widgets-mode-off)
10922 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10923 (allout-widgets-post-command-business)
10924 (allout-widgets-after-copy-or-kill-function)
10925 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10926 (allout-decorate-item-and-context)
10927 (allout-graphics-modification-handler): Fix typos in docstrings.
10928 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10929
10930 * cmuscheme.el (scheme-start-file): Doc fix.
10931 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10932 (scheme-input-filter): Use `string-match-p'.
10933
10934 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10935
10936 * dired-x.el: Use Dired consistently in docstrings.
10937
10938 * dired.el: Use Dired consistently in docstrings.
10939 (dired-readin, dired-mode): Use `setq-local'.
10940 (dired-switches-alist): Make defvar-local.
10941 (dired-buffers-for-dir): Use `zerop'.
10942 (dired-safe-switches-p, dired-switches-escape-p)
10943 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10944 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10945 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10946 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10947 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10948 (dired-toggle-marks, dired-mark-files-containing-regexp)
10949 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10950 (dired-flag-auto-save-files, dired-flag-backup-files):
10951 Use `looking-at-p'.
10952 (dired-mark-files-regexp, dired-build-subdir-alist):
10953 Use `string-match-p', `looking-at-p'.
10954
10955 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10956 (direct-print-region-helper): Use `string-match-p'.
10957
10958 2013-06-21 Leo Liu <sdl.web@gmail.com>
10959
10960 * comint.el (comint-redirect-results-list-from-process):
10961 Fix infinite loop.
10962
10963 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10964
10965 * net/eww.el (eww-update-header-line-format): Quote % characters.
10966
10967 2013-06-21 Glenn Morris <rgm@gnu.org>
10968
10969 * play/cookie1.el (cookie): New custom group.
10970 (cookie-file): New option.
10971 (cookie-check-file): New function.
10972 (cookie): Make it interactive. Make start and end messages optional.
10973 Interactively, display the result. Default to cookie-file.
10974 (cookie-insert): Default to cookie-file.
10975 (cookie-snarf): Make start and end messages optional.
10976 Default to cookie-file. Use with-temp-buffer.
10977 (cookie-read): Rename from read-cookie.
10978 Make start and end messages optional. Default to cookie-file.
10979 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10980 Do not autoload it.
10981 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10982 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10983
10984 2013-06-21 Leo Liu <sdl.web@gmail.com>
10985
10986 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10987
10988 2013-06-21 Glenn Morris <rgm@gnu.org>
10989
10990 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10991
10992 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10993 Daniel Hackney <dan@haxney.org>
10994
10995 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10996 Consolidate the single-file vs tarball code.
10997 (package-desc-suffix): New function.
10998 (package-desc-full-name): Don't bother inlining it.
10999 (package-load-descriptor): Return the new package-desc.
11000 (package-mark-obsolete): Remove unused arg `package'.
11001 (package-unpack): Make it work for single files as well.
11002 Make it update package-alist.
11003 (package--make-autoloads-and-stuff): Rename from
11004 package--make-autoloads-and-compile. Don't compile any more.
11005 (package--compile): New function.
11006 (package-generate-description-file): New function, extracted from
11007 package-unpack-single.
11008 (package-unpack-single): Remove.
11009 (package--with-work-buffer): Add indentation and debugging info.
11010 (package-download-single): Remove.
11011 (package-install-from-archive): Rename from package-download-tar, make
11012 it take a pkg-desc, and make it work for single files as well.
11013 (package-download-transaction): Simplify.
11014 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11015 external tar program.
11016 (package-install-from-buffer): Remove `pkg-desc' argument.
11017 Use package-tar-file-info for tar-mode buffers.
11018 (package-install-file): Simplify accordingly.
11019 (package-archive-base): Change to take a pkg-desc.
11020 * tar-mode.el (tar--check-descriptor): New function, extracted from
11021 tar-get-descriptor.
11022 (tar-get-descriptor): Use it.
11023 (tar-get-file-descriptor): New function.
11024 (tar--extract): New function, extracted from tar-extract.
11025 (tar--extract): Use it.
11026 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11027 case the summary uses non-ascii. Adjust to new calling convention of
11028 package-tar-file-info.
11029
11030 2013-06-21 Leo Liu <sdl.web@gmail.com>
11031
11032 * comint.el (comint-redirect-results-list-from-process):
11033 Fix random delay. (Bug#14681)
11034
11035 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11036
11037 * profiler.el (profiler-format-number): Use log, not log10.
11038
11039 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11040
11041 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11042
11043 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11046 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11047 yet available.
11048 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11049 (AUTOGENEL): ... here.
11050 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11051 (cl--defsubst-expand): Use it.
11052
11053 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11054
11055 * subr.el (log10): Move here from C code, and declare as obsolete.
11056 All uses of (log10 X) replaced with (log X 10).
11057
11058 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11059
11060 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11061 Declare with `defvar-local'.
11062 (tabulated-list-use-header-line, tabulated-list-entries)
11063 (tabulated-list-padding, tabulated-list-printer)
11064 (tabulated-list-sort-key): Declare with `defvar-local'.
11065 (tabulated-list-init-header, tabulated-list-print-fake-header):
11066 Use `setq-local'.
11067
11068 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11069
11070 * arc-mode.el (archive-mode): Add `archive-write-file' to
11071 `write-contents-functions' also for remote files. (Bug#14652)
11072
11073 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11074
11075 * cus-edit.el (custom-commands): Fix typos.
11076 (custom-display): Fix tooltip text.
11077 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11078 Fix typos in docstrings.
11079 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11080 (custom-unlispify-menu-entry, custom-magic-value-create)
11081 (custom-add-see-also, custom-group-value-create): Use ?\s.
11082 (custom-guess-type, customize-apropos, editable-field)
11083 (custom-face-value-create): Use `string-match-p'.
11084 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11085
11086 * custom.el (custom-load-symbol): Use `string-match-p'.
11087
11088 * ansi-color.el: Convert to lexical binding.
11089 (ansi-colors): Fix URL.
11090 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11091 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11092 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11093
11094 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11095
11096 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11097
11098 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11099
11100 2013-06-19 Tom Tromey <tromey@redhat.com>
11101
11102 * net/eww.el (eww-top-url): Remove.
11103 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11104 (eww-render): Set new variables. Don't set eww-top-url.
11105 (eww-handle-link): Handle "prev", "home", and "contents".
11106 Downcase the rel text.
11107 (eww-top-url): Choose best top URL.
11108
11109 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11110
11111 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11112 relying in widget.el. Using widget.el leads to too many
11113 user interface inconsistencies.
11114 (eww-self-insert): Implement entering commands in text fields.
11115 (eww-process-text-input): New function to make text input field editing
11116 work.
11117 (eww-submit): Rewrite to use the new-style form methods.
11118 (eww-select-display): Display the correct selected item.
11119 (eww-change-select): Implement changing the select value.
11120 (eww-toggle-checkbox): Implement radio/checkboxes.
11121 (eww-update-field): Fix compilation error.
11122 (eww-tag-textarea): Implement <textarea>.
11123
11124 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11125 we don't shadow mode-specific bindings.
11126
11127 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11128 nothing to push.
11129
11130 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11131
11132 2013-06-19 Glenn Morris <rgm@gnu.org>
11133
11134 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11135
11136 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11137
11138 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11139 not needed.
11140
11141 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11142
11143 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11144
11145 * net/browse-url.el (browse-url-browser-function):
11146 `eww-browse-url' has the right calling signature, `eww' does not.
11147
11148 2013-06-19 Glenn Morris <rgm@gnu.org>
11149
11150 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11151 Only eval autoloaded macros.
11152 (byte-compile-autoload): Only give the macro warning for macros.
11153
11154 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11155 (ps-underlined-faces): Declare.
11156
11157 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11158 (speedbar-add-supported-extension): Declare.
11159
11160 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11161 Don't include a date stamp in the header of the generated file;
11162 it leads to needless differences between output files.
11163
11164 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11165
11166 * net/secrets.el (secrets-struct-secret-content-type):
11167 Replace check of introspection data by a test call of "CreateItem".
11168 Some servers do not offer introspection.
11169
11170 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * electric.el (electric-pair-mode): Improve interaction with
11173 electric-layout-mode.
11174 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11175 (electric-pair-syntax): Use text-mode-syntax-table in comments
11176 and strings.
11177 (electric-pair--insert): New function.
11178 (electric-pair-post-self-insert-function): Use it and
11179 electric--after-char-pos.
11180
11181 2013-06-19 Leo Liu <sdl.web@gmail.com>
11182
11183 * progmodes/octave.el (octave-help): Fix regexp.
11184
11185 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11186
11187 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11188 (shr-table-horizontal-line): Allow nil as a value, and change the
11189 default.
11190 (shr-insert-table-ruler): Respect the nil value.
11191
11192 2013-06-18 Tom Tromey <tromey@barimba>
11193
11194 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11195 New defvars.
11196 (eww-open-file): New defun.
11197 (eww-render): Initialize new variables.
11198 (eww-display-html): Handle "link" and "a".
11199 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11200 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11201 (eww-back-url): Rename from eww-previous-url.
11202 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11203 New defuns.
11204
11205 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11206
11207 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11208 Distinguish ternary operator tokens from slash symbol and slash
11209 char literal.
11210
11211 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11212
11213 Convert symbol prettification into minor mode and global minor mode.
11214
11215 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11216 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11217 (prettify-symbols--keywords): Rename from
11218 `prog-prettify-symbols-alist' and make a local defvar.
11219 (prettify-symbols--compose-symbol): Rename from
11220 `prog--prettify-font-lock-compose-symbol'.
11221 (prettify-symbols--make-keywords): Rename from
11222 `prog-prettify-font-lock-symbols-keywords' and simplify.
11223 (prog-prettify-install): Remove.
11224 (prettify-symbols-mode): New minor mode, based on
11225 `prog-prettify-install'.
11226 (turn-on-prettify-symbols-mode): New function.
11227 (global-prettify-symbols-mode): New globalized minor mode.
11228
11229 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11230 * progmodes/cfengine.el (cfengine3-mode):
11231 * progmodes/perl-mode.el (perl-mode): Don't call
11232 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11233
11234 2013-06-18 Juri Linkov <juri@jurta.org>
11235
11236 * files-x.el (modify-file-local-variable-message): New function.
11237 (modify-file-local-variable)
11238 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11239 and call `modify-file-local-variable-message' when it's non-nil.
11240 (add-file-local-variable, delete-file-local-variable)
11241 (add-file-local-variable-prop-line)
11242 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11243 and use it. (Bug#9820)
11244
11245 2013-06-18 Juri Linkov <juri@jurta.org>
11246
11247 * emulation/vi.el (vi-shell-op):
11248 * emulation/vip.el (vip-execute-com, ex-command):
11249 * emulation/viper-cmd.el (viper-exec-bang):
11250 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11251 the call of `shell-command-on-region'. (Bug#14637)
11252
11253 * simple.el (shell-command-on-region): Doc fix.
11254
11255 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11258 (bug#14633).
11259
11260 2013-06-18 Glenn Morris <rgm@gnu.org>
11261
11262 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11263
11264 * newcomment.el (comment-search-forward, comment-search-backward):
11265 Doc fix. (Bug#14376)
11266
11267 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11268
11269 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11270 (buffer-face-mode-invoke): Doc fix.
11271
11272 2013-06-18 Matthias Meulien <orontee@gmail.com>
11273
11274 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11275 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11276
11277 2013-06-18 Glenn Morris <rgm@gnu.org>
11278
11279 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11280 Replace obsolete function generic-make-keywords with its expansion.
11281
11282 * progmodes/python.el (ffap-alist): Declare.
11283
11284 * textmodes/reftex.el (bibtex-mode-map): Declare.
11285
11286 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11287
11288 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11289 (package-unpack, package-unpack-single): Return the pkg-dir.
11290 (package-download-transaction): Use it to update package-alist.
11291
11292 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11293
11294 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11295 possible choice.
11296
11297 2013-06-17 Juri Linkov <juri@jurta.org>
11298
11299 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11300
11301 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11302
11303 * emacs-lisp/package.el (package-load-descriptor):
11304 Remove `with-syntax-table' call, `read' doesn't need it.
11305 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11306
11307 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11308
11309 * startup.el (command-line): Expand package name returned by
11310 `package--description-file' (bug#14639).
11311
11312 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11313
11314 * emacs-lisp/package.el (package-load-descriptor): Do not call
11315 `emacs-lisp-mode', just use its syntax table.
11316
11317 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11318
11319 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11320 `font-lock-extra-managed-props' if any prettifying keyword is added.
11321 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11322 (prog-mode): Use `setq-local'.
11323
11324 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * international/characters.el (standard-case-table): Set syntax of ?»
11327 and ?« to punctuation.
11328
11329 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11330
11331 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11332 Save relevant match data before calling `syntax-ppss' (bug#14595).
11333
11334 2013-06-15 Juri Linkov <juri@jurta.org>
11335
11336 * files-x.el (modify-file-local-variable-prop-line): Add local
11337 variables to the end of the existing comment on the first line.
11338 Use `file-auto-mode-skip' to skip interpreter magic line,
11339 and also skip XML declaration.
11340
11341 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * startup.el (package--builtin-versions): New var.
11344 (package-subdirectory-regexp): Remove.
11345 (package--description-file): Hard code its value instead.
11346
11347 * emacs-lisp/package.el: Don't activate packages older than builtin.
11348 (package-obsolete-list): Rename from package-obsolete-alist, and make
11349 it into a simple list of package-desc.
11350 (package-strip-version): Remove.
11351 (package-built-in-p): Use package--builtin-versions.
11352 (package-mark-obsolete): Simplify.
11353 (package-process-define-package): Mark it obsolete if older than the
11354 builtin version.
11355 (package-handle-response): Use line-end-position.
11356 (package-read-archive-contents, package--download-one-archive):
11357 Simplify.
11358 (package--add-to-archive-contents): Skip if older than the builtin or
11359 installed version.
11360 (package-menu-describe-package): Fix last change.
11361 (package-list-unversioned): New var.
11362 (package-menu--generate): Use it.
11363
11364 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11365 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11366 (autoload-builtin-package-versions): New variable.
11367 (autoload-generate-file-autoloads): Use them.
11368 Remove the list of autoloaded functions/macros from the
11369 (autoload...) comments.
11370
11371 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11372
11373 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11374
11375 * simple.el (line-move-partial): Don't jump to the next screen
11376 line as soon as it becomes visible. Instead, continue enlarging
11377 the vscroll until the portion of a tall screen line that's left on
11378 display is about the height of the frame's default font.
11379 (Bug#14567)
11380
11381 2013-06-15 Glenn Morris <rgm@gnu.org>
11382
11383 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11384 compilation-error-regexp-alist void, or local while let-bound.
11385
11386 * progmodes/make-mode.el (makefile-mode-syntax-table):
11387 Treat "=" as punctuation. (Bug#14614)
11388
11389 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11390
11391 * help-fns.el (describe-variable):
11392 Add extra line for permanent-local variables.
11393
11394 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11395
11396 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11397 Add export, import, library. (Bug#9164)
11398 (library): Set indent function.
11399
11400 2013-06-14 Glenn Morris <rgm@gnu.org>
11401
11402 * term/xterm.el (xterm--query):
11403 Stop after first matching handler. (Bug#14615)
11404
11405 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11406
11407 Add support for dired in saveplace.
11408 * dired.el (dired-initial-position-hook): New variable.
11409 (dired-initial-position): Call hook to place cursor position.
11410 * saveplace.el (save-place-to-alist): Add dired position.
11411 (save-place-dired-hook): New function.
11412
11413 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11414
11415 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11416 through a symbol rather than letrec.
11417
11418 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11419 (package-desc): Add `dir' field.
11420 (package-desc-full-name): New function.
11421 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11422 (package-maybe-load-descriptor): Remove.
11423 (package-load-all-descriptors): Just call package-load-descriptor.
11424 (package--disabled-p): New function.
11425 (package-desc-vers, package-desc-doc): Remove aliases.
11426 (package--dir): Remove function.
11427 (package-activate): Check if a package is disabled.
11428 (package-process-define-package): New function, extracted from
11429 define-package.
11430 (define-package): Turn into a place holder.
11431 (package-unpack-single, package-tar-file-info):
11432 Use package--description-file.
11433 (package-compute-transaction): Use package--disabled-p.
11434 (package-download-transaction): Don't call
11435 package-maybe-load-descriptor since they're all loaded anyway.
11436 (package-install): Change argument to be a pkg-desc.
11437 (package-delete): Use a single pkg-desc argument.
11438 (describe-package-1): Use package-desc-dir instead of package--dir.
11439 Use package-desc property instead of package-symbol.
11440 (package-install-button-action): Adjust accordingly.
11441 (package--push): Rewrite.
11442 (package-menu--print-info): Adjust accordingly. Change the ID format
11443 to be a pkg-desc.
11444 (package-menu-describe-package, package-menu-get-status)
11445 (package-menu--find-upgrades, package-menu-mark-upgrades)
11446 (package-menu-execute, package-menu--name-predicate):
11447 Adjust accordingly.
11448 * startup.el (package--description-file): New function.
11449 (command-line): Use it.
11450 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11451 Use package-desc-version.
11452
11453 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11454 (byte-compile-preprocess): Use it.
11455 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11456 can't quite recognize.
11457 (byte-compile-add-to-list): Remove.
11458 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11459 (cconv-closure-convert): Add assertion.
11460
11461 * emacs-lisp/map-ynp.el: Use lexical-binding.
11462 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11463 Factor out some repeated code.
11464
11465 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * subr.el (with-eval-after-load): New macro.
11468 (eval-after-load): Allow form to be a function.
11469 take advantage of lexical-binding.
11470 (do-after-load-evaluation): Use dolist and adjust to new format.
11471 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11472
11473 2013-06-13 Juri Linkov <juri@jurta.org>
11474
11475 * replace.el (perform-replace): Display "symbol " and other search
11476 modes from `isearch-message-prefix' in the *Help* buffer.
11477
11478 * isearch.el (isearch-query-replace): Add " symbol" and other
11479 possible search modes from `isearch-message-prefix' to the prompt.
11480 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11481 when reading a regexp to collect.
11482
11483 2013-06-13 Juri Linkov <juri@jurta.org>
11484
11485 * isearch.el (word-search-regexp): Match whitespace if the search
11486 string begins or ends in whitespace. The LAX arg is applied to
11487 both ends of the search string. Use `regexp-quote' and explicit
11488 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11489 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11490 boundaries are replaced with symbol boundaries, and characters
11491 between symbols match non-word non-symbol syntax. (Bug#14602)
11492
11493 2013-06-13 Juri Linkov <juri@jurta.org>
11494
11495 * isearch.el (isearch-del-char): Don't exceed the length of
11496 `isearch-string' by the prefix arg. (Bug#14563)
11497
11498 2013-06-13 Juri Linkov <juri@jurta.org>
11499
11500 * isearch.el (isearch-yank-word, isearch-yank-line)
11501 (isearch-char-by-name, isearch-quote-char)
11502 (isearch-printing-char, isearch-process-search-char):
11503 Add optional count prefix arg. (Bug#14563)
11504
11505 * international/isearch-x.el
11506 (isearch-process-search-multibyte-characters):
11507 Add optional count prefix arg.
11508
11509 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11510
11511 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11512 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11513 lexical-binding.
11514
11515 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11516
11517 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11518
11519 2013-06-13 Glenn Morris <rgm@gnu.org>
11520
11521 * startup.el (tty-handle-args):
11522 Don't just discard "--" and anything after. (Bug#14608)
11523
11524 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11525
11526 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11527
11528 Implement changes in Secret Service API. Make it backward compatible.
11529 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11530 (secrets-create-item): Use it. Prefix properties with interface.
11531
11532 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11533
11534 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11535 (term-emulate-terminal): Respect term-suppress-hard-newline.
11536
11537 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11538
11539 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11540 Only remove a `thumb-file' overlay. (Bug#14548)
11541
11542 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11543
11544 * mail/reporter.el (reporter-submit-bug-report):
11545 Handle missing package-name. (Bug#14600)
11546
11547 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11548
11549 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11550 (reftex-citation-prompt, reftex-default-bibliography)
11551 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11552 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11553 (reftex-bib-sort-author, reftex-bib-sort-year)
11554 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11555 (reftex-extract-bib-entries-from-thebibliography)
11556 (reftex-get-bibkey-default, reftex-get-bib-names)
11557 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11558 (reftex-format-bib-entry, reftex-parse-bibitem)
11559 (reftex-format-bibitem, reftex-do-citation)
11560 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11561 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11562 (reftex-insert-bib-matches, reftex-format-citation)
11563 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11564 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11565 existing comments into docstrings.
11566
11567 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11568
11569 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11570
11571 2013-06-12 Andreas Schwab <schwab@suse.de>
11572
11573 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11574 for auto-save files.
11575
11576 2013-06-12 Glenn Morris <rgm@gnu.org>
11577
11578 * ido.el (ido-delete-ignored-files): Remove.
11579 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11580 Go back to calling ido-ignore-item-p directly.
11581
11582 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11583
11584 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11585
11586 * ido.el (ido-delete-ignored-files): New function,
11587 split from ido-make-file-list-1.
11588 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11589 (ido-make-file-list-1): Use ido-delete-ignored-files.
11590
11591 2013-06-12 Leo Liu <sdl.web@gmail.com>
11592
11593 * progmodes/octave.el (inferior-octave-startup)
11594 (inferior-octave-completion-table)
11595 (inferior-octave-track-window-width-change)
11596 (octave-eldoc-function-signatures, octave-help)
11597 (octave-find-definition): Use single quoted strings.
11598 (inferior-octave-startup-args): Change default value.
11599 (inferior-octave-startup): Do not hard code "-i" and
11600 "--no-line-editing".
11601 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11602 (inferior-octave-directory-tracker): Use it.
11603 (octave-goto-function-definition): Robustify.
11604 (octave-help): Support highlighting operators in 'See also'.
11605 (octave-find-definition): Find subfunctions only in Octave mode.
11606
11607 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11608
11609 * help-fns.el (help-fns--compiler-macro): If the handler function is
11610 named, then put a link to it.
11611 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11612 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11613 (cl-typep): Use it.
11614 (cl-eval-when): Simplify debug spec.
11615 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11616 compiler-macro function instead of setting `compiler-macro-file'.
11617
11618 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11619
11620 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11621 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11622
11623 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11624 Daniel Hackney <dan@haxney.org>
11625
11626 First part of Daniel Hackney's patch to package.el.
11627 * emacs-lisp/package.el: Use defstruct.
11628 (package-desc): New, main struct.
11629 (package--bi-desc, package--ac-desc): New structs, used to describe the
11630 format in external files.
11631 (package-desc-vers): Replace with package-desc-version accessor.
11632 (package-desc-doc): Replace with package-desc-summary accessor.
11633 (package-activate-1): Remove `package' arg since the pkg-vec now
11634 includes the name.
11635 (define-package): Use package-desc-from-define.
11636 (package-unpack-single): Change file-name arg to be a symbol.
11637 (package--add-to-archive-contents): Use package-desc-create and new
11638 accessor functions to package--ac-desc.
11639 (package-buffer-info, package-tar-file-info): Return a package-desc.
11640 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11641 arg to be a package-desc.
11642 (package-install-file): Adjust accordingly. Use \' to match EOS.
11643 (package--from-builtin): New function.
11644 (describe-package-1, package-menu--generate): Use it.
11645 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11646 (package-generate-autoloads): Idem and return the name of the file.
11647 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11648 Change pkg-info arg to be a package-desc.
11649 Use package-make-ac-desc.
11650 (package-upload-file): Use \' to match EOS.
11651 * finder.el (finder-compile-keywords): Use package-make-builtin.
11652
11653 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11654
11655 * vc/vc.el (vc-deduce-fileset): Change error message.
11656 (vc-read-backend): New function.
11657 (vc-next-action): Use it.
11658
11659 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11660
11661 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11662 (prolog-font-lock-keywords): Use regexp-opt instead.
11663 Don't manually highlight strings.
11664 (prolog-mode-variables): Simplify comment-start-skip.
11665 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11666
11667 * emacs-lisp/generic.el (generic--normalise-comments)
11668 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11669 (generic-mode-set-comments): Use them.
11670 (generic-bracket-support): Use setq-local.
11671 (generic-make-keywords-list): Declare obsolete.
11672
11673 2013-06-11 Glenn Morris <rgm@gnu.org>
11674
11675 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11676 Prettify after setting font-lock-defaults. (Bug#14574)
11677
11678 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11679
11680 * replace.el (query-replace, occur-read-regexp-defaults-function)
11681 (replace-search):
11682 * subr.el (declare-function, number-sequence, local-set-key)
11683 (substitute-key-definition, locate-user-emacs-file)
11684 (with-silent-modifications, split-string, eval-after-load):
11685 Fix typos, remove unneeded backslashes and reflow some docstrings.
11686
11687 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11690 default for Elisp files.
11691
11692 2013-06-11 Glenn Morris <rgm@gnu.org>
11693
11694 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11695 although define-derived-mode was doing this anyway. (Bug#14583)
11696
11697 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11698
11699 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11700 Fix make-variable-buffer-local call to refer to the correct variable.
11701
11702 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11703
11704 * eshell/em-term.el (eshell-visual-commands)
11705 (eshell-visual-subcommands, eshell-visual-options):
11706 Add summary line to docstrings. Add cross-references.
11707
11708 2013-06-10 Glenn Morris <rgm@gnu.org>
11709
11710 * epa.el (epa-read-file-name): New function. (Bug#14510)
11711 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11712
11713 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11714
11715 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11716 output redirection to be ignored with visual commands.
11717
11718 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11719
11720 * eshell/em-term.el (eshell-visual-command-p): New function.
11721 (eshell-term-initialize): Move long lambda to separate function
11722 eshell-visual-command-p.
11723 * eshell/em-dirs.el (eshell-dirs-initialize):
11724 * eshell/em-script.el (eshell-script-initialize):
11725 Add missing #' to lambda.
11726
11727 2013-06-08 Leo Liu <sdl.web@gmail.com>
11728
11729 * progmodes/octave.el (octave-add-log-current-defun): New function.
11730 (octave-mode): Set add-log-current-defun-function.
11731 (octave-goto-function-definition): Do not move point if not found.
11732 (octave-find-definition): Enhance to try subfunctions first.
11733
11734 2013-06-08 Glenn Morris <rgm@gnu.org>
11735
11736 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11737 (byte-compile-backward-char, byte-compile-backward-word):
11738 Improve previous change, to handle non-explicit nil.
11739
11740 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11741
11742 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11743 (smie--opener/closer-at-point): New function.
11744 (smie--matching-block-data): Use it. Don't match from right after an
11745 opener or right before a closer. Obey smie-blink-matching-inners.
11746 Don't signal a mismatch for repeated inners like "switch..case..case".
11747
11748 2013-06-07 Leo Liu <sdl.web@gmail.com>
11749
11750 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11751 to t. (Bug#14303)
11752 (octave-function-header-regexp): Fix. (Bug#14570)
11753 (octave-help-mode-finish-hook, octave-help-mode-finish):
11754 Remove. Just use temp-buffer-show-hook.
11755
11756 * newcomment.el (comment-search-backward): Revert last change.
11757 (Bug#14434)
11758
11759 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11760
11761 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11762
11763 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11764 through xargs, to avoid failure due to MS-Windows limitations on
11765 command-line length.
11766
11767 2013-06-06 Glenn Morris <rgm@gnu.org>
11768
11769 * font-lock.el (lisp-font-lock-keywords-2):
11770 Treat user-error like error.
11771
11772 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11773 (byte-compile-backward-char, byte-compile-backward-word):
11774 Handle explicit nil arguments. (Bug#14565)
11775
11776 2013-06-05 Alan Mackenzie <acm@muc.de>
11777
11778 * isearch.el (isearch-allow-prefix): New user option.
11779 (isearch-other-meta-char): Don't exit isearch when a prefix
11780 argument is typed whilst `isearch-allow-prefix' is non-nil.
11781 (Bug#9706)
11782
11783 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * autorevert.el (auto-revert-notify-handler): Use memq.
11786 Hide assertion failure.
11787
11788 * skeleton.el: Use cl-lib.
11789 (skeleton-further-elements): Use defvar-local.
11790 (skeleton-insert): Use cl-progv.
11791
11792 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11793
11794 * progmodes/prog-mode.el (prog-prettify-symbols)
11795 (prog-prettify-install): Update docstrings.
11796
11797 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 * simple.el: Move all the prog-mode code to prog-mode.el.
11800 * progmodes/prog-mode.el: New file.
11801 * loadup.el: Add prog-mode.el.
11802
11803 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11804
11805 * simple.el (prog-prettify-symbols): Add version.
11806 (prog-prettify-install): Add convenience function to prettify symbols.
11807
11808 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11809 (perl--augmented-font-lock-keywords-1)
11810 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11811 variables and use it.
11812
11813 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11814 (cfengine3-mode): Remove unneeded variable and use it.
11815
11816 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11817 (lisp--augmented-font-lock-keywords-1)
11818 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11819 Remove unneeded variables and use it.
11820
11821 2013-06-05 João Távora <joaotavora@gmail.com>
11822
11823 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11824 to point when opening the connection. (Bug#14380)
11825
11826 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11827
11828 * subr.el (load-history-regexp, load-history-filename-element)
11829 (eval-after-load, after-load-functions, do-after-load-evaluation)
11830 (eval-next-after-load, display-delayed-warnings)
11831 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11832 definition of save-match-data.
11833 (overriding-local-map): Remove accidental obsolescence declaration.
11834
11835 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11836
11837 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11838
11839 Generalize symbol prettify support to prog-mode and implement it
11840 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11841 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11842 (prog--prettify-font-lock-compose-symbol)
11843 (prog-prettify-font-lock-symbols-keywords): New variables and
11844 functions to support symbol prettification.
11845 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11846 (lisp--augmented-font-lock-keywords-1)
11847 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11848 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11849 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11850 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11851 Implement prettify of -> => :: strings.
11852 * progmodes/perl-mode.el (perl-prettify-symbols)
11853 (perl--font-lock-compose-symbol)
11854 (perl--font-lock-symbols-keywords): Move to prog-mode.
11855 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11856 (perl-font-lock-keywords-1)
11857 (perl-font-lock-keywords-2): Remove explicit prettify support.
11858 (perl--augmented-font-lock-keywords)
11859 (perl--augmented-font-lock-keywords-1)
11860 (perl--augmented-font-lock-keywords-2, perl-mode):
11861 Implement prettify support.
11862
11863 2013-06-05 Leo Liu <sdl.web@gmail.com>
11864
11865 Re-implement SMIE matching block highlight using
11866 show-paren-data-function. (Bug#14395)
11867 * emacs-lisp/smie.el (smie-matching-block-highlight)
11868 (smie--highlight-matching-block-overlay)
11869 (smie--highlight-matching-block-lastpos)
11870 (smie-highlight-matching-block)
11871 (smie-highlight-matching-block-mode): Remove.
11872 (smie--matching-block-data-cache): New variable.
11873 (smie--matching-block-data): New function.
11874 (smie-setup): Use smie--matching-block-data for
11875 show-paren-data-function.
11876
11877 * progmodes/octave.el (octave-mode-menu): Fix.
11878 (octave-find-definition): Skip garbage lines.
11879
11880 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 Fix compilation error with simultaneous dynamic+lexical scoping.
11883 Add warning when a defvar appears after the first let-binding.
11884 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11885 (byte-compile-close-variables): Initialize it.
11886 (byte-compile--declare-var): New function.
11887 (byte-compile-file-form-defvar)
11888 (byte-compile-file-form-define-abbrev-table)
11889 (byte-compile-file-form-custom-declare-variable): Use it.
11890 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11891 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11892 (byte-compile-bind): Handle dynamic bindings that shadow
11893 lexical bindings.
11894 (byte-compile-unbind): Make arg non-optional.
11895 (byte-compile-let): Simplify.
11896 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11897 (cconv--analyse-function, cconv-analyse-form): Populate it.
11898 Protect byte-compile-bound-variables to limit the scope of defvars.
11899 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11900 Remove unneeded rule for `declare'.
11901
11902 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11903 so as to avoid depending on cl-adjoin at run-time.
11904 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11905
11906 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11907 (macroexp--warn-and-return): Use it.
11908
11909 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11910
11911 * subr.el: Convert to lexical binding.
11912 (overriding-local-map): Make obsolete.
11913 (add-to-list): Doc fix. Add compiler macro.
11914 (read-key): Swap values of local maps.
11915
11916 2013-06-05 Leo Liu <sdl.web@gmail.com>
11917
11918 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11919
11920 2013-06-04 Leo Liu <sdl.web@gmail.com>
11921
11922 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11923 (compilation-auto-jump): Suppress the "Mark set" message to give
11924 way to exit message.
11925
11926 2013-06-04 Alan Mackenzie <acm@muc.de>
11927
11928 Remove faulty optimisation from indentation calculation.
11929 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11930 search limit based on 2000 characters back from indent-point.
11931
11932 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11933
11934 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11935
11936 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * emacs-lisp/lisp.el: Use lexical-binding.
11939 (lisp--local-variables-1, lisp--local-variables): New functions.
11940 (lisp--local-variables-completion-table): New var.
11941 (lisp-completion-at-point): Use it complete let-bound vars.
11942
11943 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11944 eagerly (bug#14422).
11945
11946 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11947
11948 * autorevert.el (auto-revert-notify-enabled)
11949 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11950 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11951 (auto-revert-notify-handler): Handle also gfilenotify.
11952
11953 * subr.el (file-notify-handle-event): New defun. Replacing ...
11954 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11955 Remove.
11956
11957 2013-06-03 Juri Linkov <juri@jurta.org>
11958
11959 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11960 `M-s h .'. (Bug#14427)
11961
11962 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11963 command `hi-lock-face-symbol-at-point'.
11964 (hi-lock-face-symbol-at-point): New command.
11965 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11966 (hi-lock-menu): Add `highlight-symbol-at-point'.
11967 (hi-lock-mode): Doc fix.
11968
11969 * isearch.el (isearch-forward-symbol-at-point): New command.
11970 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11971 (isearch-highlight-regexp): Add a regexp which matches
11972 words/symbols for word/symbol mode.
11973
11974 * subr.el (find-tag-default-bounds): New function with the body
11975 mostly moved from `find-tag-default'.
11976 (find-tag-default): Move most code to `find-tag-default-bounds',
11977 call it and apply `buffer-substring-no-properties' afterwards.
11978
11979 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11980
11981 * eshell/em-term.el (eshell-term-initialize):
11982 Use `cl-intersection' rather than `intersection'.
11983
11984 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11985
11986 * vc/log-view.el: Doc fix.
11987 (log-view-mode-map): Copy keymap from `special-mode-map'.
11988
11989 2013-06-02 Eric Ludlam <zappo@gnu.org>
11990
11991 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11992 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11993 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11994 (eieio-unbound, eieio-default-superclass)
11995 (eieio--define-field-accessors, method-static, method-before)
11996 (method-primary, method-after, method-num-lists)
11997 (method-generic-before, method-generic-primary)
11998 (method-generic-after, method-num-slots)
11999 (eieio-specialized-key-to-generic-key)
12000 (eieio--check-type, class-v, class-p)
12001 (eieio-class-name, define-obsolete-function-alias)
12002 (eieio-class-parents-fast, eieio-class-children-fast)
12003 (same-class-fast-p, class-constructor, generic-p)
12004 (generic-primary-only-p, generic-primary-only-one-p)
12005 (class-option-assoc, class-option, eieio-object-p)
12006 (class-abstract-p, class-method-invocation-order)
12007 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12008 (eieio-class-un-autoload, eieio-defclass)
12009 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12010 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12011 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12012 (eieio-defgeneric-reset-generic-form)
12013 (eieio-defgeneric-form-primary-only)
12014 (eieio-defgeneric-reset-generic-form-primary-only)
12015 (eieio-defgeneric-form-primary-only-one)
12016 (eieio-defgeneric-reset-generic-form-primary-only-one)
12017 (eieio-unbind-method-implementations)
12018 (eieio--defmethod, eieio--typep)
12019 (eieio-perform-slot-validation, eieio-validate-slot-value)
12020 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12021 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12022 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12023 (eieio-slot-name-index, eieio-class-slot-name-index)
12024 (eieio-set-defaults, eieio-initarg-to-attribute)
12025 (eieio-attribute-to-initarg, eieio-c3-candidate)
12026 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12027 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12028 (eieio-class-precedence-list, eieio-generic-call-methodname)
12029 (eieio-generic-call-arglst, eieio-generic-call-key)
12030 (eieio-generic-call-next-method-list)
12031 (eieio-pre-method-execution-functions, eieio-generic-call)
12032 (eieio-generic-call-primary-only, eieiomt-method-list)
12033 (eieiomt-optimizing-obarray, eieiomt-install)
12034 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12035 (eieio-generic-form, eieio-defmethod, make-obsolete)
12036 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12037 (defclass): Remove `eval-and-compile' from macro.
12038 (call-next-method, shared-initialize): Instead of using
12039 `scoped-class' variable, use new eieio--scoped-class, and
12040 eieio--with-scoped-class.
12041 (initialize-instance): Rename local variable 'scoped-class' to
12042 'this-class' to remove ambiguitity from old global.
12043
12044 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12045 eieio.el.
12046 (eieio--scoped-class-stack): New variable.
12047 (eieio--scoped-class): New fcn.
12048 (eieio--with-scoped-class): New scoping macro.
12049 (eieio-defclass): Use pushnew instead of add-to-list.
12050 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12051 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12052 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12053 `scoped-class' variable, use new eieio--scoped-class, and
12054 eieio--with-scoped-class.
12055
12056 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12057
12058 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12059
12060 * eshell/esh-ext.el (eshell-external-command): Pass args to
12061 `eshell-find-interpreter'.
12062 (eshell-find-interpreter): Add new second parameter ARGS.
12063
12064 * eshell/em-script.el (eshell-script-initialize): Add second arg
12065 to the function added as MATCH to `eshell-interpreter-alist'.
12066
12067 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12068 the function added as MATCH to `eshell-interpreter-alist'.
12069
12070 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12071 (eshell-visual-options): New defcustom.
12072 (eshell-escape-control-x): Adapt docstring.
12073 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12074 `eshell-visual-options' in addition to `eshell-visual-commands'.
12075 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12076
12077 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12078
12079 * progmodes/python.el (python-indent-block-enders): Add break,
12080 continue and raise keywords.
12081
12082 2013-06-01 Glenn Morris <rgm@gnu.org>
12083
12084 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12085
12086 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12087 * progmodes/cc-cmds.el (delete-forward-p):
12088 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12089 * progmodes/cc-engine.el (buffer-syntactic-context):
12090 * progmodes/cc-fonts.el (face-property-instance):
12091 * progmodes/cc-mode.el (set-keymap-parents):
12092 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12093 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12094 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12095 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12096 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12097
12098 * progmodes/cc-vars.el (other): Emacs has this widget since
12099 at least 21.1, so don't (re)define it.
12100
12101 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12102 Replace the obsolete alias pcomplete-arg-quote-list.
12103
12104 2013-06-01 Leo Liu <sdl.web@gmail.com>
12105
12106 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12107 punctuation syntax.
12108 (inferior-octave-minimal-columns)
12109 (inferior-octave-last-column-width): New variables.
12110 (inferior-octave-track-window-width-change): New function.
12111 (inferior-octave-mode): Adjust column width so that Octave output,
12112 for example from 'ls', can fit into the window nicely.
12113
12114 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12115
12116 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12117 Highlight expansions inside regexp literals.
12118
12119 2013-05-31 Glenn Morris <rgm@gnu.org>
12120
12121 * obsolete/sym-comp.el (symbol-complete):
12122 Replace obsolete completion-annotate-function.
12123
12124 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12125
12126 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12127
12128 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12129 New function, checks if point is inside a literal that allows
12130 expression expansion.
12131 (ruby-syntax-propertize-expansion): Use it.
12132 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12133 around the body.
12134
12135 2013-05-30 Juri Linkov <juri@jurta.org>
12136
12137 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12138 to "\M-si".
12139 (isearch-invisible): New variable.
12140 (isearch-forward): Doc fix.
12141 (isearch-mode): Set `isearch-invisible'
12142 to the value of `search-invisible'.
12143 (isearch-toggle-case-fold): Doc fix.
12144 (isearch-toggle-invisible): New command.
12145 (isearch-query-replace): Let-bind `search-invisible'
12146 to the value of `isearch-invisible'.
12147 (isearch-search): Use `isearch-invisible' instead of
12148 `search-invisible'. Let-bind `search-invisible'
12149 to the value of `isearch-invisible'. (Bug#11378)
12150
12151 2013-05-30 Juri Linkov <juri@jurta.org>
12152
12153 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12154 call when `query-flag' is nil and `search-invisible' is non-nil.
12155 (Bug#11746)
12156
12157 2013-05-30 Glenn Morris <rgm@gnu.org>
12158
12159 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12160
12161 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12162 (cc-require): Suppress spurious "noruntime" warnings.
12163 (cc-require-when-compile): Use fboundp, for sake of compiler.
12164
12165 * progmodes/cc-mode.el: Move load of cc-vars before that of
12166 cc-langs (which in turn loads cc-vars), to quieten compiler.
12167
12168 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12169
12170 * paren.el: Simplify the code.
12171 (show-paren-mode): Always start the timer.
12172 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12173 (show-paren--overlay, show-paren--overlay-1): Rename from
12174 show-paren-overlay and show-paren-overlay-1, and initialize to an
12175 overlay rather than to nil.
12176 (show-paren-function): Misc cleanup and simplifications.
12177
12178 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12179
12180 * paren.el (show-paren-data-function): New hook.
12181 (show-paren--default): New function, extracted from show-paren-function.
12182 (show-paren-function): Use show-paren-data-function.
12183
12184 2013-05-30 Glenn Morris <rgm@gnu.org>
12185
12186 * ielm.el (ielm-map, ielm-complete-symbol):
12187 Use completion-at-point rather than obsolete functions.
12188 (inferior-emacs-lisp-mode): Doc fix.
12189 Set completion-at-point-functions, rather than
12190 comint-dynamic-complete-functions.
12191
12192 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12193 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12194 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12195
12196 * image.el (image-animated-p): Tweak definition.
12197
12198 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12199 (rlogin-process-connection-type): Tweak default. Add set-after.
12200 (rlogin-host): Doc fix.
12201 (rlogin): Tweak prompt.
12202 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12203
12204 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12205 * progmodes/tcl.el (inferior-tcl-mode-map):
12206 Use completion-at-point rather than obsolete alias.
12207
12208 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12209
12210 * minibuffer.el (read-file-name-completion-ignore-case):
12211 Move before completion--in-region, for eager macro expansion.
12212
12213 2013-05-29 Juri Linkov <juri@jurta.org>
12214
12215 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12216 for total count of matching lines. Add `global-matches' for total
12217 count of matches. Rename `matches' to `lines' for count of
12218 matching lines. Add `matches' for count of matches.
12219 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12220 to `prev-line' for line number of prev match endpt.
12221 Increment `matches' for every match. Print the number of
12222 matching lines in the header.
12223 (occur-context-lines): Rename `lines' to `curr-line'.
12224 Rename `prev-lines' to `prev-line'. (Bug#14017)
12225
12226 2013-05-29 Juri Linkov <juri@jurta.org>
12227
12228 * replace.el (perform-replace): Add `skip-read-only-count',
12229 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12230 Increment them for corresponding conditions and report the number
12231 of skipped occurrences in the final message. (Bug#11746)
12232 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12233 (replace-string, replace-regexp): Doc fix.
12234
12235 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12238
12239 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12240 prog-mode-map (bug#14504).
12241
12242 2013-05-29 Leo Liu <sdl.web@gmail.com>
12243
12244 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12245 (octave-help): Small simplification.
12246
12247 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12248 off the highlight first.
12249
12250 2013-05-29 Glenn Morris <rgm@gnu.org>
12251
12252 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12253 Handle idlwave-last-system-routine-info-cons-cell being nil.
12254
12255 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12256 (idlwave-write-paths): Simplify via with-temp-buffer.
12257
12258 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12259 * emulation/cua-rect.el: Also load cua-base at run time.
12260
12261 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12262 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12263 (cperl-imenu-on-info): Require imenu.
12264
12265 2013-05-28 Alan Mackenzie <acm@muc.de>
12266
12267 Handle "capitalised keywords" correctly.
12268 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12269
12270 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12271
12272 * eshell/em-unix.el: Add -r option to cp.
12273
12274 2013-05-28 Glenn Morris <rgm@gnu.org>
12275
12276 * vc/vc-arch.el (vc-exec-after): Declare.
12277 (vc-switches): Autoload.
12278 * vc/vc-bzr.el: No need to require vc when compiling.
12279 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12280 (vc-resynch-buffer, vc-dir-refresh): Declare.
12281 (vc-setup-buffer, vc-switches): Autoload.
12282 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12283 (vc-resynch-buffer): Declare.
12284 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12285 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12286 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12287 (grep-read-regexp, grep-read-files, grep-expand-template)
12288 (vc-dir-refresh): Declare.
12289 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12290 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12291 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12292 * vc/vc-mtn.el (vc-exec-after): Declare.
12293 (vc-switches): Autoload.
12294 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12295 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12296 (vc-file-tree-walk): Declare.
12297 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12298 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12299 (vc-tag-precondition, vc-rename-master): Autoload.
12300 * vc/vc-svn.el (vc-exec-after): Declare.
12301 (vc-switches, vc-setup-buffer): Autoload.
12302 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12303 Autoload.
12304 (vc-resynch-buffer): Declare.
12305
12306 * obsolete/fast-lock.el (byte-compile-warnings):
12307 Don't warn about obsolete features in this obsolete file.
12308
12309 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12310 Move definition before use.
12311
12312 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12313 (dun-unix-verbs): Remove dun-zippy.
12314 (dun-zippy): Remove function.
12315
12316 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12317
12318 2013-05-27 Juri Linkov <juri@jurta.org>
12319
12320 * replace.el (replace-search): New function with code moved out
12321 from `perform-replace'.
12322 (replace-highlight, replace-dehighlight): Move function definitions
12323 up closer to `replace-search'. (Bug#11746)
12324
12325 2013-05-27 Juri Linkov <juri@jurta.org>
12326
12327 * replace.el (perform-replace): Ignore invisible matches.
12328 In addition to checking `query-replace-skip-read-only', also
12329 filter out matches by calling `run-hook-with-args-until-failure'
12330 on `isearch-filter-predicates', and also check `search-invisible'
12331 for t or call `isearch-range-invisible'.
12332 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12333
12334 2013-05-27 Juri Linkov <juri@jurta.org>
12335
12336 * isearch.el (isearch-filter-predicates): Rename from
12337 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12338 (isearch-message-prefix): Display text from the property
12339 `isearch-message-prefix' of the currently active filters.
12340 (isearch-search): Don't compare `isearch-filter-predicate' with
12341 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12342 on `isearch-filter-predicates'. Also check `search-invisible' for t
12343 or call `isearch-range-invisible'.
12344 (isearch-filter-visible): Make obsolete.
12345 (isearch-lazy-highlight-search):
12346 Call `run-hook-with-args-until-failure' on
12347 `isearch-filter-predicates' and use `isearch-range-invisible'.
12348
12349 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12350 `isearch-filter-predicates' instead of `funcall'ing
12351 `isearch-filter-predicate'.
12352 (Info-mode): Set `Info-isearch-filter' to
12353 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12354
12355 * dired-aux.el (dired-isearch-filter-predicate-orig):
12356 Remove variable.
12357 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12358 (dired-isearch-filenames-end): Add and remove
12359 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12360 instead of changing the value of `isearch-filter-predicate'.
12361 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12362 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12363 Put property `isearch-message-prefix' to "filename " on
12364 `dired-isearch-filter-filenames'.
12365
12366 * wdired.el (wdired-change-to-wdired-mode):
12367 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12368 locally instead of changing `isearch-filter-predicate'.
12369 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12370
12371 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12372
12373 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12374 return the commit hash (Bug#14459). Also set the
12375 `vc-git-detached' property.
12376 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12377 (vc-git-mode-line-string): Use the same help-echo format whether
12378 in detached mode or not, because we know the actual revision now.
12379 When in detached mode, shorten the revision to 7 chars.
12380
12381 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 * emacs-lisp/easy-mmode.el (define-minor-mode):
12384 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12385 mode hook and provide a docstring.
12386
12387 2013-05-27 Alan Mackenzie <acm@muc.de>
12388
12389 Remove spurious syntax-table text properties inserted by C-y.
12390 * progmodes/cc-mode.el (c-after-change): Also clear hard
12391 syntax-table property with value nil.
12392
12393 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12394
12395 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12396 when reading the events; the buffer layout shall not be changed.
12397
12398 2013-05-27 Leo Liu <sdl.web@gmail.com>
12399
12400 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12401 New variable.
12402 (inferior-octave-directory-tracker): Automatically re-sync
12403 default-directory.
12404 (octave-help): Improve handling of 'See also'.
12405
12406 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12407
12408 * doc-view.el: Minor naming convention tweaks.
12409 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12410
12411 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12412 even if there's no `display' property yet (bug#14435).
12413
12414 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12415
12416 * subr.el (unmsys--file-name): Rename from reveal-filename.
12417
12418 * Makefile.in (custom-deps, finder-data, autoloads)
12419 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12420 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12421 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12422
12423 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12426 error-completion on the first 2 args of condition-case (bug#14446).
12427 Don't burp at EOB.
12428
12429 2013-05-25 Leo Liu <sdl.web@gmail.com>
12430
12431 * comint.el (comint-previous-matching-input): Do not flood the
12432 *Messages* buffer with trivial messages.
12433
12434 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12435
12436 * progmodes/flymake.el (flymake-nop): Don't return a string.
12437 (flymake-set-at): Fix typo.
12438
12439 * simple.el (read--expression): New function, extracted from
12440 eval-expression. Set completion-at-point-functions (bug#14465).
12441 (eval-expression, eval-minibuffer): Use it.
12442
12443 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12444
12445 * progmodes/flymake.el (flymake-save-buffer-in-file)
12446 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12447 (flymake-selected-frame, flymake-log, flymake-ins-after)
12448 (flymake-set-at, flymake-get-buildfile-from-cache)
12449 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12450 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12451 Refine the doc string.
12452 (flymake-get-file-name-mode-and-masks): Reformat.
12453 (flymake-get-real-file-name-function): Fix a minor bug.
12454
12455 2013-05-24 Juri Linkov <juri@jurta.org>
12456
12457 * progmodes/grep.el (grep-mode-font-lock-keywords):
12458 Support =linenumber= format used by git-grep for lines with
12459 function names. (Bug#13549)
12460
12461 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12462
12463 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12464 0 after a semi-colon; it works better for smie-auto-fill.
12465 (octave--indent-new-comment-line): New function.
12466 (octave-indent-new-comment-line): Use it (indirectly).
12467 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12468 modify comment-line-break-function.
12469
12470 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12471 (smie-setup): Use add-function to set it.
12472
12473 2013-05-24 Sam Steingold <sds@gnu.org>
12474
12475 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12476 argument (before the `interactive' argument).
12477
12478 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * image-mode.el (image-mode-winprops): Add winprops to
12481 image-mode-winprops-alist before running
12482 image-mode-new-window-functions.
12483 * doc-view.el (doc-view-new-window-function): Don't delay
12484 doc-view-goto-page via timers (bug#14435).
12485
12486 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12487
12488 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12489 (doc-view-desktop-save-buffer): New function.
12490 (doc-view-restore-desktop-buffer): New function.
12491 (desktop-buffer-mode-handlers):
12492 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12493 handler.
12494 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12495 `desktop-save-buffer' function.
12496
12497 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12498
12499 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12500 (tramp-gvfs-file-name-handler): Raise a user error when
12501 `tramp-gvfs-enabled' is nil.
12502 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12503 Do not raise a user error when loading package. (Bug#14447)
12504
12505 * net/xesam.el: Move to obsolete/.
12506
12507 2013-05-24 Glenn Morris <rgm@gnu.org>
12508
12509 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12510
12511 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12512
12513 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12514 (Info-find-node, Man-getpage-in-background): Declare.
12515
12516 * mail/unrmail.el (unrmail):
12517 Replace obsolete detect-coding-with-priority.
12518
12519 * net/socks.el (socks-split-string): Use this rather than split-string.
12520 (socks-nslookup-host): Update for above change.
12521 (dynamic-choice, s5-dynamic-choice-match)
12522 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12523 Comment out unused code.
12524
12525 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12526 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12527 (gud-tooltip-echo-area): Make obsolete.
12528 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12529
12530 * progmodes/js.el (js--optimize-arglist): Declare.
12531
12532 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12533
12534 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12535 (ediff-window-C): Declare.
12536
12537 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12538 Tweak requires to silence compiler.
12539
12540 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12541 (he-search-string, he-tried-table, he-expand-list)
12542 (he-init-string, he-string-member, he-substitute-string)
12543 (he-reset-string): Declare.
12544
12545 * obsolete/options.el (list-options): Use custom-variable-p,
12546 rather than obsolete alias.
12547
12548 2013-05-23 Sam Steingold <sds@gnu.org>
12549
12550 * simple.el (shell-command-on-region): Pass the `replace' argument
12551 down to `call-process-region' to comply with the doc as reported on
12552 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12553
12554 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * emacs-lisp/smie.el (smie-indent-forward-token)
12557 (smie-indent-backward-token): Handle string tokens (bug#14381).
12558
12559 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12560
12561 * ielm.el (ielm-menu): New menu.
12562 (inferior-emacs-lisp-mode): Set comment-start.
12563
12564 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12565
12566 * textmodes/reftex.el (reftex-ref-style-toggle):
12567 Fix deactivate action.
12568
12569 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12570 Add cleveref macros.
12571
12572 * textmodes/reftex-parse.el
12573 (reftex-locate-bibliography-files): Accept options for
12574 bibliography commands.
12575 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12576 Add addbibresource. Basic Biblatex support.
12577
12578 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12579
12580 * net/tramp-gvfs.el (top):
12581 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12582 when loading package. (Bug#14447)
12583
12584 2013-05-23 Glenn Morris <rgm@gnu.org>
12585
12586 * progmodes/js.el: No need to load comint when compiling.
12587 (ring-insert, comint-send-string, comint-send-input)
12588 (comint-last-input-end, ido-chop): Declare.
12589
12590 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12591 * vc/ediff-mult.el: Adjust requires.
12592 (ediff-directories-internal, ediff-directory-revisions-internal)
12593 (ediff-patch-file-internal): Declare.
12594 * vc/ediff-ptch.el: Adjust requires.
12595 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12596 (ediff-find-file): Autoload.
12597 * vc/ediff-util.el: No need to load ediff when compiling.
12598 (ediff-regions-internal): Declare.
12599 * vc/ediff-wind.el: Adjust requires.
12600 (ediff-compute-toolbar-width): Define when compiling.
12601 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12602 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12603 (dired-get-filename, dired-get-marked-files)
12604 (ediff-last-dir-patch, ediff-patch-default-directory)
12605 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12606 (ediff-patch-buffer-internal): Declare.
12607
12608 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12609 (ispell-process, ispell-buffer-local-words, lm-summary)
12610 (lm-section-start, lm-section-end): Declare.
12611 (checkdoc-ispell-init): Simplify.
12612
12613 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12614 (he-string-member, he-reset-string, he-substitute-string): Declare.
12615
12616 * eshell/em-ls.el: Adjust requires.
12617 (eshell-glob-regexp): Declare.
12618 * eshell/em-tramp.el: Adjust requires.
12619 (eshell-parse-command): Autoload.
12620 * eshell/em-xtra.el: Adjust requires.
12621 (eshell-parse-command): Autoload.
12622 * eshell/esh-ext.el: Adjust requires.
12623 (eshell-parse-command, eshell-close-handles): Autoload.
12624 * eshell/esh-io.el: Adjust requires.
12625 (eshell-output-filter): Autoload.
12626 * eshell/esh-util.el: No need to load tramp when compiling.
12627 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12628 Declare.
12629 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12630 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12631 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12632 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12633 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12634 * eshell/esh-opt.el, eshell/esh-proc.el:
12635 * eshell/esh-var.el: Adjust requires.
12636 * eshell/eshell.el: Do not require esh-util twice.
12637 (eshell-add-input-to-history): Declare.
12638 (eshell-command): Check history module is active before using it.
12639
12640 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12641
12642 2013-05-22 Leo Liu <sdl.web@gmail.com>
12643
12644 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12645
12646 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12647
12648 * autorevert.el (auto-revert-notify-add-watch)
12649 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12650 it indicates changes in file modification time.
12651
12652 2013-05-22 Glenn Morris <rgm@gnu.org>
12653
12654 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12655 Always delete the autoloaded function from the noruntime and
12656 unresolved functions lists.
12657
12658 * allout.el: No need to load epa, epg, overlay when compiling.
12659 (epg-context-set-passphrase-callback, epg-list-keys)
12660 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12661 (epg-key-user-id-list): Declare.
12662
12663 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12664 (viper-set-parsing-style-toggling-macro)
12665 (viper-set-emacs-state-searchstyle-macros):
12666 Use called-interactively-p on Emacs.
12667 (viper-looking-back): Make it an obsolete alias. Update callers.
12668 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12669 Use looking-back rather than viper-looking-back.
12670 (viper-tmp-insert-at-eob, viper-enlarge-region)
12671 (viper-read-string-with-history, viper-register-to-point)
12672 (viper-append-to-register, viper-change-state-to-vi)
12673 (viper-backward-char-carefully, viper-forward-char-carefully)
12674 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12675 (viper-change-state-to-emacs): Declare.
12676 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12677 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12678 * emulation/viper-mous.el: Do not load viper-cmd.
12679 (viper-backward-char-carefully, viper-forward-char-carefully)
12680 (viper-forward-word, viper-adjust-window): Declare.
12681
12682 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12683
12684 * progmodes/idlw-help.el (idlwave-help-fontify):
12685 Use called-interactively-p.
12686
12687 * term/w32console.el (w32-get-console-codepage)
12688 (w32-get-console-output-codepage): Declare.
12689
12690 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12691 Remove unnecessary declarations.
12692 (dframe-message): Doc fix.
12693
12694 * info.el (dframe-select-attached-frame, dframe-current-frame):
12695 Declare.
12696
12697 * speedbar.el (speedbar-message): Make it an obsolete alias.
12698 Update all callers.
12699 (speedbar-with-attached-buffer)
12700 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12701 (speedbar-with-writable): Use backquote.
12702 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12703 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12704 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12705 rather than speedbar- aliases.
12706 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12707 (speedbar-make-specialized-keymap, speedbar-insert-button)
12708 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12709 (speedbar-do-function-pointer): Declare.
12710 (rmail-speedbar-button, rmail-speedbar-find-file)
12711 (rmail-speedbar-move-message):
12712 Use dframe-with-attached-buffer rather than speedbar- alias.
12713 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12714 (dframe-message, speedbar-make-specialized-keymap)
12715 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12716 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12717 (speedbar-insert-button, dframe-select-attached-frame)
12718 (dframe-maybee-jump-to-attached-frame)
12719 (speedbar-change-initial-expansion-list)
12720 (speedbar-previously-used-expansion-list-name): Declare.
12721 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12722 Use dframe-message, dframe-with-attached-buffer rather than
12723 speedbar- aliases.
12724 (gud-sentinel): Silence compiler.
12725 * progmodes/vhdl-mode.el (speedbar-refresh)
12726 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12727 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12728 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12729 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12730 (speedbar-file-lists, speedbar-make-tag-line)
12731 (speedbar-line-directory, speedbar-goto-this-file)
12732 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12733 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12734 (speedbar-make-button, speedbar-reset-scanners)
12735 (speedbar-files-item-info, speedbar-line-text)
12736 (speedbar-find-file-in-frame, speedbar-set-timer)
12737 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12738 (speedbar-with-writable): Do not (re)define it.
12739 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12740 rather than speedbar- alias.
12741
12742 2013-05-21 Leo Liu <sdl.web@gmail.com>
12743
12744 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12745 menu items.
12746 (octave-mode): Tweak fill-nobreak-predicate.
12747 (inferior-octave-startup): Check process to avoid infinite loop.
12748 (inferior-octave): Pop to buffer first to show abornmal process
12749 exit information.
12750
12751 2013-05-21 Glenn Morris <rgm@gnu.org>
12752
12753 * printing.el (pr-menu-bar): Define when compiling.
12754
12755 2013-05-21 Leo Liu <sdl.web@gmail.com>
12756
12757 * progmodes/octave.el (octave-auto-fill): Remove.
12758 (octave-indent-new-comment-line): Improve.
12759 (octave-mode): Use auto fill mode through
12760 comment-line-break-function and fill-nobreak-predicate.
12761 (octave-goto-function-definition): Support DEFUN_DLD.
12762 (octave-beginning-of-defun): Small tweak.
12763 (octave-help): Show parent directory.
12764
12765 2013-05-21 Glenn Morris <rgm@gnu.org>
12766
12767 * files.el (dired-unmark):
12768 * progmodes/gud.el (gdb-input): Update declarations.
12769
12770 * calculator.el (electric, ehelp): No need to load when compiling.
12771 (Electric-command-loop, electric-describe-mode): Declare.
12772
12773 * doc-view.el (doc-view-current-converter-processes): Move before use.
12774
12775 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12776 Move MODE-set-explicitly definition before use.
12777
12778 * international/mule-diag.el (mule-diag):
12779 Don't use obsolete window-system-version.
12780
12781 * mail/feedmail.el (smtpmail): No need to load when compiling.
12782 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12783
12784 * mail/mail-utils.el (rfc822): No need to load when compiling.
12785 (rfc822-addresses): Autoload it.
12786 (mail-strip-quoted-names): Trivial simplification.
12787
12788 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12789 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12790
12791 * net/snmp-mode.el (tempo): Don't duplicate requires.
12792
12793 * progmodes/prolog.el (info): No need to load when compiling.
12794 (comint): Require before shell requires it.
12795 (Info-goto-node): Autoload it.
12796 (Info-follow-nearest-node): Declare.
12797 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12798
12799 * textmodes/artist.el (picture-mode-exit): Declare.
12800
12801 * textmodes/reftex-parse.el (reftex-parse-from-file):
12802 Trivial rewrite so the compiler can parse it better.
12803
12804 2013-05-20 Leo Liu <sdl.web@gmail.com>
12805
12806 * progmodes/octave.el (octave-help-mode-map)
12807 (octave-help-mode-finish-hook): New variables.
12808 (octave-help-mode, octave-help-mode-finish): New functions.
12809 (octave-help): Use octave-help-mode.
12810
12811 2013-05-20 Glenn Morris <rgm@gnu.org>
12812
12813 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12814
12815 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12816
12817 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12818 start at point, so that expansion starting right after opening
12819 slash in a regexp is recognized.
12820 (ruby-syntax-before-regexp-re): New defvar, extracted from
12821 ruby-syntax-propertize-function. Since the value of this regexp
12822 is looked up at runtime now, we should be able to turn
12823 `ruby-syntax-methods-before-regexp' into a defcustom later.
12824 (ruby-syntax-propertize-function): Split regexp matching into two
12825 parts, for opening and closing slashes. That allows us to skip
12826 over string interpolations and support multiline regexps.
12827 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12828 for them, which calls `ruby-syntax-propertize-expansion'.
12829 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12830 call to `ruby-syntax-propertize-function'.
12831 (ruby-syntax-propertize-expansion): Extracted from
12832 `ruby-syntax-propertize-expansions'. Handles one expansion.
12833 (ruby-syntax-propertize-percent-literal): Leave point right after
12834 the percent symbol, so that the expression expansion rule can
12835 propertize the contents.
12836 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12837 heredoc openers.
12838 (ruby-syntax-propertize-expansions): Remove.
12839
12840 2013-05-18 Juri Linkov <juri@jurta.org>
12841
12842 * man.el (Man-default-man-entry): Remove `-' from the end
12843 of the default value. (Bug#14400)
12844
12845 2013-05-18 Glenn Morris <rgm@gnu.org>
12846
12847 * comint.el (comint-password-prompt-regexp):
12848 Allow "password for XXX" where XXX contains colons (eg https://...).
12849
12850 2013-05-18 Leo Liu <sdl.web@gmail.com>
12851
12852 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12853 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12854 (octave-source-directories): Don't check process.
12855 (octave-source-directories, octave-find-definition): Doc fix.
12856
12857 2013-05-18 Glenn Morris <rgm@gnu.org>
12858
12859 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12860 Remove backspace/delete bindings. (Bug#14392)
12861
12862 * cus-dep.el (custom-make-dependencies): Sort the output.
12863 (custom-versions-load-alist): Convert comment to doc.
12864
12865 2013-05-17 Leo Liu <sdl.web@gmail.com>
12866
12867 * newcomment.el (comment-search-backward): Stricter in finding
12868 comment start. (Bug#14303)
12869
12870 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12871 (octave-comment-start-skip): Properly anchored.
12872
12873 2013-05-17 Leo Liu <sdl.web@gmail.com>
12874
12875 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12876 Clean up when turned off. (Bug#14395)
12877 (smie--highlight-matching-block-overlay): No longer buffer-local.
12878 (smie-highlight-matching-block): Adjust.
12879
12880 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12881
12882 Doc string fix for "nanoseconds" (Bug#14406).
12883 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12884 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12885
12886 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12887
12888 * calc/calc-units.el (math-extract-units): Preserve powers
12889 of units.
12890
12891 2013-05-17 Leo Liu <sdl.web@gmail.com>
12892
12893 * subr.el (delete-consecutive-dups): New function.
12894 * ido.el (ido-set-matches-1): Use it.
12895 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12896 * ido.el (ido-remove-consecutive-dups): Remove.
12897
12898 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12901 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12902 regexp-opt's `words'.
12903
12904 2013-05-16 Leo Liu <sdl.web@gmail.com>
12905
12906 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12907 (smie--highlight-matching-block-overlay)
12908 (smie--highlight-matching-block-lastpos)
12909 (smie--highlight-matching-block-timer): New variables.
12910 (smie-highlight-matching-block): New function.
12911 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12912 (smie-setup): Conditionally enable smie-blink-matching-open.
12913
12914 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12915
12916 Sync with upstream verilog-mode r840.
12917 * progmodes/verilog-mode.el (verilog-mode-version)
12918 (verilog-mode-release-date): Update.
12919 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12920 (verilog-sig-tieoff): Fix string error on
12921 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12922 (verilog-read-decls): Fix parameters confusing
12923 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12924
12925 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12926
12927 * subr.el (reveal-filename): New function.
12928
12929 * loadup.el: Compute Emacs executable versions on MS-Windows,
12930 where executables have the .exe extension. Add a hard link
12931 emacs-XX.YY.ZZ.exe on MS-Windows.
12932
12933 * Makefile.in (XARGS_LIMIT): New variable.
12934 (custom-deps, finder-data, autoloads)
12935 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12936 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12937 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12938 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12939
12940 2013-05-16 Leo Liu <sdl.web@gmail.com>
12941
12942 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12943 (octave-mode-menu, octave-mode-map): Remove its uses.
12944
12945 2013-05-16 Reto Zimmermann <reto@gnu.org>
12946
12947 Sync with upstream vhdl mode v3.34.2.
12948 * progmodes/vhdl-mode.el: Use `push' throughout.
12949 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12950 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12951 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12952 (vhdl-actual-generic-name): New option to derive actual generic name.
12953 (vhdl-port-paste-signals): Replace formal by actual generics.
12954 (vhdl-beautify): New name for old group vhdl-align. Update users.
12955 (vhdl-beautify-options): New option.
12956 (vhdl-last-input-event): New compat alias. Use throughout.
12957 (vhdl-goto-line): Replace user level function `goto-line'.
12958 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12959 vhdl-fix-statement-buffer.
12960 (vhdl-create-mode-menu): Add some entries.
12961 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12962 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12963 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12964 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12965 to force statements on one line.
12966 (vhdl-remove-trailing-spaces-region):
12967 New, split from vhdl-remove-trailing-spaces.
12968 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12969 Respect vhdl-beautify-options.
12970 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12971 (vhdl-update-sensitivity-list): Not add with index if exists without.
12972 Not include array index with signal. Ignore keywords in comments.
12973 (vhdl-get-visible-signals): Regexp tweaks.
12974 (vhdl-template-component-inst): Handle empty library.
12975 (vhdl-template-type): Add template for 'enum' type.
12976 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12977 Use vhdl-replace-string.
12978 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12979 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12980 (vhdl-speedbar-initialize): Update for above name change.
12981 (vhdl-compose-wire-components): Fix in handling of constants.
12982 (vhdl-error-regexp-emacs-alist): New variable.
12983 (vhdl-error-regexp-add-emacs): New function;
12984 adds support for new compile.el (Emacs 22+)
12985 (vhdl-generate-makefile-1): Change target order for single lib. units.
12986 Allow use of absolute file names.
12987
12988 2013-05-16 Leo Liu <sdl.web@gmail.com>
12989
12990 * simple.el (prog-indent-sexp): Indent enclosing defun.
12991
12992 2013-05-15 Glenn Morris <rgm@gnu.org>
12993
12994 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12995 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12996 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12997 (whitespace-highlight): Move to whitespace group.
12998
12999 * comint.el (comint-source):
13000 * pcmpl-linux.el (pcmpl-linux):
13001 * shell.el (shell-faces):
13002 * eshell/esh-opt.el (eshell-opt):
13003 * international/ccl.el (ccl): Remove empty custom groups.
13004
13005 * completion.el (dynamic-completion-mode):
13006 * jit-lock.el (jit-lock-debug-mode):
13007 * minibuffer.el (completion-in-region-mode):
13008 * type-break.el (type-break-mode-line-message-mode)
13009 (type-break-query-mode):
13010 * emulation/tpu-edt.el (tpu-edt-mode):
13011 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13012 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13013 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13014
13015 * term/xterm.el (xterm): Change parent group to terminals.
13016
13017 * master.el (master): Remove empty custom group.
13018 (master-mode): Remove unused :group argument.
13019 * textmodes/refill.el (refill): Remove empty custom group.
13020 (refill-mode): Remove unused :group argument.
13021
13022 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13023
13024 * cus-dep.el: Provide a feature.
13025 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13026 Don't mistakenly ignore files whose basenames match a basename
13027 from preloaded-file-list (eg cedet/ede/simple.el).
13028 Add a fallback method for getting :group.
13029
13030 2013-05-15 Juri Linkov <juri@jurta.org>
13031
13032 * isearch.el (isearch-char-by-name): Rename from
13033 `isearch-insert-char-by-name'. Doc fix.
13034 (isearch-forward): Mention `isearch-char-by-name' in
13035 the docstring. (Bug#13348)
13036
13037 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13038 `exit-minibuffer' instead of
13039 `isearch-nonincremental-exit-minibuffer'.
13040 (isearch-edit-string): Remove mention of
13041 `isearch-nonincremental-exit-minibuffer' from docstring.
13042 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13043 (isearch-forward-exit-minibuffer)
13044 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13045
13046 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13047
13048 * loadup.el: Just use unversioned DOC.
13049
13050 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13051 literals as extending to EOB.
13052 (nxml-last-fontify-end): Remove unused variable.
13053 (nxml-after-change1): Use with-silent-modifications.
13054 (nxml-extend-after-change-region): Simplify.
13055 (nxml-extend-after-change-region1): Remove function.
13056 (nxml-after-change1): Don't adjust for dependent regions.
13057 (nxml-fontify-matcher): Simplify.
13058 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13059 (xmltok-add-dependent): Remove function.
13060 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13061 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13062 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13063 unclosed <[[, <?, comment, and other literals as extending to EOB.
13064 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13065 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13066 Remove functions.
13067 (rng-do-some-validation-1): Don't mark dependent regions.
13068 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13069 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13070 (nxml-clear-dependent-regions): Remove functions.
13071 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13072 (nxml-ensure-scan-up-to-date):
13073 Don't clear&mark dependent regions.
13074
13075 2013-05-15 Leo Liu <sdl.web@gmail.com>
13076
13077 * progmodes/octave.el (octave-goto-function-definition):
13078 Improve and fix callers.
13079
13080 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13083 the setter (bug#14387).
13084
13085 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13086 surrounding group (bug#14402).
13087
13088 2013-05-14 Juri Linkov <juri@jurta.org>
13089
13090 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13091 (Bug#14390)
13092
13093 2013-05-14 Glenn Morris <rgm@gnu.org>
13094
13095 * progmodes/f90.el (f90-imenu-generic-expression):
13096 Fix typo in 2013-05-08 change. (Bug#14402)
13097
13098 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13099
13100 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13101 Remove signals for which replies are never received.
13102
13103 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13104
13105 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13106 (gdb-handler-alist, gdb-handler-number): Remove variables.
13107 (gdb-handler-list): New variable.
13108 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13109 (gdb-pending-handler-p, gdb-handle-reply)
13110 (gdb-remove-all-pending-triggers): New functions.
13111 (gdb-discard-unordered-replies): New defcustom.
13112 (gdb-handler): New defstruct.
13113 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13114 instead of gdb-pending-triggers. Update docstring.
13115 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13116 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13117 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13118 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13119 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13120 (gdb-frame-handler): Pending triggers are now automatically managed.
13121 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13122 Remove argument.
13123 (gdb-input): Automatically handles pending triggers. Update docstring.
13124 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13125 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13126 Update comments.
13127 (gdb-done-or-error): Now use gdb-handle-reply.
13128
13129 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13130
13131 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13132 gdb-debug-log.
13133
13134 2013-05-14 Glenn Morris <rgm@gnu.org>
13135
13136 * subr.el (user-emacs-directory-warning): New option.
13137 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13138
13139 2013-05-14 Leo Liu <sdl.web@gmail.com>
13140
13141 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13142 during redisplay.
13143 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13144 (octave-font-lock-texinfo-comment): Fix invalid search bound
13145 error: wrong side of point.
13146
13147 2013-05-14 Glenn Morris <rgm@gnu.org>
13148
13149 * progmodes/flymake.el (flymake-xml-program): New option.
13150 (flymake-xml-init): Use it.
13151
13152 * term/xterm.el: Provide a feature.
13153
13154 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13155
13156 2013-05-13 Glenn Morris <rgm@gnu.org>
13157
13158 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13159 Add compat aliases as a hack workaround. (Bug#14384)
13160
13161 2013-05-13 Leo Liu <sdl.web@gmail.com>
13162
13163 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13164 ###, and %!.
13165 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13166 C-M-q.
13167 (octave-comment-start-skip): Include %!.
13168 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13169
13170 2013-05-12 Leo Liu <sdl.web@gmail.com>
13171
13172 * progmodes/octave.el (inferior-octave-startup): Store the value
13173 of __octave_srcdir__ for octave-source-directories.
13174 (inferior-octave-check-process): New function refactored out of
13175 inferior-octave-send-list-and-digest.
13176 (octave-source-directories)
13177 (octave-find-definition-filename-function): New variables.
13178 (octave-source-directories)
13179 (octave-find-definition-default-filename): New functions.
13180 (octave-find-definition): Improve to find functions implemented in C++.
13181
13182 2013-05-12 Glenn Morris <rgm@gnu.org>
13183
13184 * calendar/diary-lib.el (diary-outlook-format-1):
13185 Don't include dayname in the output. (Bug#14349)
13186
13187 2013-05-11 Glenn Morris <rgm@gnu.org>
13188
13189 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13190
13191 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13192 Treat cc-provide like provide.
13193
13194 2013-05-11 Kevin Ryde <user42@zip.com.au>
13195
13196 * cus-dep.el (custom-make-dependencies):
13197 Use generated-autoload-load-name for the sake of files such
13198 such cedet/semantic/bovine/c.el, where the base file name
13199 is not in load-path. (Bug#5277)
13200
13201 2013-05-11 Glenn Morris <rgm@gnu.org>
13202
13203 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13204 Provide features.
13205
13206 2013-05-11 Leo Liu <sdl.web@gmail.com>
13207
13208 * progmodes/octave.el (octave-indent-comment): Improve.
13209 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13210 (octave-eldoc-function-signatures, octave-eldoc-function):
13211 New functions.
13212 (octave-mode, inferior-octave-mode): Add eldoc support.
13213
13214 2013-05-11 Richard Stallman <rms@gnu.org>
13215
13216 * epa.el (epa-decrypt-file): Take output file name as argument
13217 and read it using `interactive'.
13218
13219 2013-05-11 Leo Liu <sdl.web@gmail.com>
13220
13221 * progmodes/octave.el (octave-beginning-of-line)
13222 (octave-end-of-line): Check before using up-list because it jumps
13223 out of more syntactic contructs since moving to smie.
13224 (octave-indent-comment): New function.
13225 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13226 (octave-begin-keywords, octave-end-keywords)
13227 (octave-reserved-words, octave-smie-bnf-table)
13228 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13229
13230 2013-05-11 Glenn Morris <rgm@gnu.org>
13231
13232 * faces.el (internal-face-x-get-resource):
13233 * frame.el (ns-display-monitor-attributes-list):
13234 * calc/calc-aent.el (math-to-radians-2):
13235 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13236 Fix declarations.
13237
13238 * calc/calc-menu.el: Make it loadable in isolation.
13239
13240 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13241 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13242 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13243 (eudc-bbdb-query-internal): Require 'bbdb.
13244
13245 * lpr.el (lpr-headers-switches):
13246 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13247
13248 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13249
13250 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13251
13252 * term.el (term-set-escape-char): Make it idempotent.
13253
13254 2013-05-10 Leo Liu <sdl.web@gmail.com>
13255
13256 * progmodes/octave.el (inferior-octave-completion-table):
13257 No longer a function and all uses changed. Use cache to speed up
13258 completion due to bug#11906.
13259 (octave-beginning-of-defun): Re-write to be more general.
13260
13261 2013-05-10 Glenn Morris <rgm@gnu.org>
13262
13263 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13264
13265 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13266
13267 * comint.el (comint-redirect-send-command-to-process): Use :around
13268 rather than :override for comint-redirect-filter.
13269 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13270 Call it instead of comint-redirect-original-filter-function (which
13271 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13272
13273 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13274
13275 * frame.el (display-monitor-attributes-list): Add NS case.
13276 (ns-display-monitor-attributes-list): Declare.
13277
13278 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13279
13280 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13281
13282 2013-05-09 Glenn Morris <rgm@gnu.org>
13283
13284 * international/fontset.el (vertical-centering-font-regexp):
13285 Set standard-value.
13286
13287 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13288
13289 * bookmark.el (bookmark-search-delay):
13290 * cus-start.el (vertical-centering-font-regexp):
13291 * ps-mule.el (ps-mule-font-info-database-default):
13292 * ps-print.el (ps-default-fg, ps-default-bg):
13293 * type-break.el (type-break-good-break-interval):
13294 * whitespace.el (whitespace-indentation-regexp)
13295 (whitespace-space-after-tab-regexp):
13296 * emacs-lisp/testcover.el (testcover-1value-functions)
13297 (testcover-noreturn-functions, testcover-progn-functions)
13298 (testcover-prog1-functions):
13299 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13300 * eshell/em-glob.el (eshell-glob-translate-alist):
13301 * play/tetris.el (tetris-tty-colors):
13302 * progmodes/cpp.el (cpp-face-default-list):
13303 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13304 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13305 (idlwave-help-browser-generic-args):
13306 * progmodes/make-mode.el (makefile-special-targets-list):
13307 * progmodes/python.el (python-shell-virtualenv-path):
13308 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13309 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13310 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13311 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13312 * textmodes/reftex-vars.el (reftex-format-label-function):
13313 * textmodes/remember.el (remember-diary-file): Fix custom types.
13314
13315 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13316 Add :version.
13317
13318 2013-05-09 Leo Liu <sdl.web@gmail.com>
13319
13320 * progmodes/octave.el (inferior-octave-completion-at-point):
13321 Restore file completion. (Bug#14300)
13322 (inferior-octave-startup): Fix incorrect highlighting for the
13323 first prompt.
13324
13325 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13326
13327 * progmodes/ruby-mode.el: First cut at SMIE support.
13328 (ruby-use-smie): New var.
13329 (ruby-smie-grammar): New constant.
13330 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13331 (ruby-smie--forward-token, ruby-smie--backward-token)
13332 (ruby-smie-rules): New functions.
13333 (ruby-mode-variables): Setup SMIE if applicable.
13334
13335 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13336
13337 * simple.el (line-move-visual): Signal beginning/end of buffer
13338 only if vertical-motion moved less than it was requested. Avoids
13339 silly incorrect error messages when there are display strings with
13340 multiple newlines at EOL.
13341
13342 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13343
13344 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13345 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13346 (prolog-char-quote-workaround):
13347 * progmodes/cperl-mode.el (cperl-under-as-char):
13348 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13349 Mark as obsolete.
13350 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13351 their declaration.
13352 (vhdl-mode-syntax-table-init): Remove.
13353
13354 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13355 last change.
13356
13357 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13358 syntax for "_".
13359 (ld-script-font-lock-keywords):
13360 Change regexps to use things like \_< and \_>.
13361
13362 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13363 Change all regexps to use things like \_< and \_>.
13364
13365 * progmodes/autoconf.el (autoconf-definition-regexp)
13366 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13367 Handle a _ with symbol syntax.
13368 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13369
13370 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13371 Consolidate declaration.
13372 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13373 the declaration.
13374 (ada-create-syntax-table): Remove.
13375 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13376 already has the right syntax nowadays.
13377 (ada-goto-next-word): Don't change the syntax of "_".
13378
13379 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13380 with-wrapper-hook.
13381
13382 2013-05-08 Sam Steingold <sds@gnu.org>
13383
13384 * thingatpt.el (thing-at-point): Accept optional second argument
13385 NO-PROPERTIES to strip the text properties from the return value.
13386 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13387 to `thing-at-point' instead of stripping the properties ourselves.
13388 Also, when `thing-at-point' fails to find a url, prepend "http://"
13389 to the filename at point on the assumption that the user is
13390 pointing at something like gnu.org/gnu.
13391
13392 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13393
13394 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13395 * faces.el (crm-separator):
13396 Silence byte-compiler.
13397
13398 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13399 (tool-bar-map): Remove unneeded defvars.
13400
13401 2013-05-08 Leo Liu <sdl.web@gmail.com>
13402
13403 Re-work a fix for bug#10994 based on Le Wang's patch.
13404 * ido.el (ido-remove-consecutive-dups): New helper.
13405 (ido-completing-read): Use it.
13406 (ido-chop): Revert fix for bug#10994.
13407
13408 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13409
13410 * cus-edit.el (custom-save-variables):
13411 Pretty-print long values. (Bug#14187)
13412
13413 2013-05-08 Glenn Morris <rgm@gnu.org>
13414
13415 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13416 (m4-mode-syntax-table): Init in the defvar.
13417 (m4-mode-abbrev-table): Let define-derived-mode define it.
13418
13419 2013-05-08 Tom Tromey <tromey@redhat.com>
13420
13421 * progmodes/m4-mode.el (m4-mode-syntax-table):
13422 Do not treat "_" as word constituent. (Bug#14167)
13423
13424 2013-05-07 Glenn Morris <rgm@gnu.org>
13425
13426 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13427 Remove explicit eshell-isearch-cancel-map.
13428
13429 * progmodes/f90.el (f90-smart-end-names): New option.
13430 (f90-smart-end): Doc fix.
13431 (f90-end-block-optional-name): New constant.
13432 (f90-block-match): Respect f90-smart-end-names.
13433
13434 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13435
13436 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13437 about implicit semi-colons (bug#14218).
13438
13439 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13440
13441 * frame.el (display-monitor-attributes-list)
13442 (frame-monitor-attributes): New functions.
13443
13444 2013-05-06 Leo Liu <sdl.web@gmail.com>
13445
13446 * progmodes/octave.el (octave-syntax-propertize-function): Change
13447 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13448 (octave-font-lock-keywords): Use octave-operator-regexp.
13449 (octave-completion-at-point): Rename from
13450 octave-completion-at-point-function.
13451 (inferior-octave-directory-tracker): Robustify.
13452 (octave-text-functions): Remove and fix its uses. No such things
13453 any more.
13454
13455 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13456
13457 * emacs-lisp/trace.el (trace--display-buffer): New function.
13458 (trace-make-advice): Use it.
13459
13460 2013-05-06 Juri Linkov <juri@jurta.org>
13461
13462 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13463 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13464 Doc fix.
13465 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13466 in the help string. (Bug#12985)
13467
13468 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13469
13470 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13471
13472 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13473
13474 * progmodes/perl-mode.el: Add support for here documents.
13475 (perl-syntax-propertize-function): Match here-doc markers.
13476 (perl-syntax-propertize-special-constructs): Find their end.
13477 (perl-imenu-generic-expression): Use [:alnum:].
13478
13479 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13480 (advice--add-function): Refresh the advice if already present
13481 (bug#14317).
13482
13483 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13484
13485 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13486
13487 2013-05-06 Glenn Morris <rgm@gnu.org>
13488
13489 * w32-fns.el (w32-charset-info-alist): Declare.
13490
13491 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13492 of its defcustom properties.
13493 (eshell-cmpl-initialize): No need to load pcomplete.
13494
13495 * generic-x.el: No need to require comint when compiling.
13496
13497 * net/eudc-export.el: Make it loadable without bbdb.
13498 (top-level): Use require rather than load-library.
13499 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13500 (eudc-batch-export-records-to-bbdb)
13501 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13502 Require bbdb.
13503
13504 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13507 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13508 some tweaks, instead.
13509
13510 2013-05-05 Leo Liu <sdl.web@gmail.com>
13511
13512 * progmodes/octave.el (octave-font-lock-keywords)
13513 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13514 (inferior-octave-send-list-and-digest): Improve error message.
13515 (octave-mode, inferior-octave-mode): Use setq-local.
13516 (octave-help): Set info-lookup-mode.
13517
13518 2013-05-05 Richard Stallman <rms@gnu.org>
13519
13520 * vc/compare-w.el (compare-windows-whitespace):
13521 Treat no-break space as whitespace.
13522
13523 * mail/rmailsum.el (rmail-summary-rmail-update):
13524 Detect empty summary and don't change selected message.
13525 (rmail-summary-goto-msg): Likewise.
13526
13527 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13528 Doc fixes, rename args.
13529
13530 2013-05-05 Alan Mackenzie <acm@muc.de>
13531
13532 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13533
13534 2013-05-05 Juri Linkov <juri@jurta.org>
13535
13536 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13537 to not add the length of the summary segment to the return value.
13538 (Bug#14125)
13539
13540 2013-05-05 Leo Liu <sdl.web@gmail.com>
13541
13542 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13543 (inferior-octave-output-filter): Remove.
13544 (octave-send-region, inferior-octave-startup): Fix callers.
13545 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13546 (octave-binary-file-extensions): New user variable.
13547 (octave-find-definition): Confirm if opening binary files.
13548 (octave-help-file): Use octave-find-definition to get the binary
13549 confirmation.
13550 (octave-help): Adjust for octave-help-file change.
13551
13552 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13555 Merge the two entries that handle function definitions.
13556 (pascal--syntax-propertize): New const.
13557 (pascal-mode): Use it. Use setq-local.
13558
13559 2013-05-04 Glenn Morris <rgm@gnu.org>
13560
13561 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13562 (diary-from-outlook): Respect diary-from-outlook-function.
13563
13564 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13565
13566 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13567 Move the declaration from C.
13568 (read-minibuffer, eval-minibuffer): Move from C.
13569 (completion-setup-function): Avoid minibuffer-completion-contents.
13570
13571 2013-05-03 Leo Liu <sdl.web@gmail.com>
13572
13573 * progmodes/octave.el (octave-font-lock-keywords): Do not
13574 dehighlight 'end' in comments or strings.
13575 (octave-completing-read, octave-goto-function-definition):
13576 New helpers.
13577 (octave-help-buffer): New user variable.
13578 (octave-help-file, octave-help-function): New button types.
13579 (octave-help): New command and bind it to C-h ;.
13580 (octave-find-definition): New command and bind it to M-.
13581 (user-error): Alias to error if not defined.
13582
13583 2013-05-02 Leo Liu <sdl.web@gmail.com>
13584
13585 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13586 for \. (bug#14332)
13587 (octave-font-lock-keywords): Include [ and {.
13588
13589 2013-05-02 Leo Liu <sdl.web@gmail.com>
13590
13591 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13592 (inferior-octave): Remove calling comint-mode and return the buffer.
13593 (inferior-octave-startup): Cosmetic changes.
13594
13595 2013-05-02 Leo Liu <sdl.web@gmail.com>
13596
13597 * progmodes/octave.el (octave-syntax-propertize-function):
13598 Include the case when ' is at line beginning. (Bug#14336)
13599
13600 2013-05-02 Glenn Morris <rgm@gnu.org>
13601
13602 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13603 * desktop.el (vc-dir-mode): Just autoload it here.
13604
13605 2013-05-02 Alan Mackenzie <acm@muc.de>
13606
13607 Eliminate variable c-standard-font-lock-fontify-region-function.
13608 * progmodes/cc-mode.el
13609 (c-standard-font-lock-fontify-region-function): Remove.
13610 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13611
13612 2013-05-01 Leo Liu <sdl.web@gmail.com>
13613
13614 * progmodes/octave.el: Compatible with older emacs-24 releases.
13615 (inferior-octave-has-built-in-variables): Remove. Built-in
13616 variables were removed from Octave in 2007.
13617 (inferior-octave-startup): Fix uses.
13618 (comint-line-beginning-position): Remove compatibility code for
13619 emacs 21.
13620
13621 2013-05-01 Juri Linkov <juri@jurta.org>
13622
13623 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13624
13625 2013-05-01 Juri Linkov <juri@jurta.org>
13626
13627 * comint.el (comint-previous-matching-input): Don't print message
13628 "History item: %d" when `isearch-mode' is active.
13629 (comint-history-isearch-message): Print message "History item: %d"
13630 when `comint-input-ring-index' is not empty and this function is
13631 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13632
13633 2013-05-01 Leo Liu <sdl.web@gmail.com>
13634
13635 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13636 definitions. Use completion-at-point to insert keywords.
13637 (octave-abbrev-start): Remove.
13638 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13639
13640 2013-04-30 Leo Liu <sdl.web@gmail.com>
13641
13642 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13643 change.
13644
13645 2013-04-30 Alan Mackenzie <acm@muc.de>
13646
13647 Handle arbitrarily long C++ member initialisation lists.
13648 * progmodes/cc-engine.el (c-back-over-member-initializers):
13649 new function.
13650 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13651 (most) member init lists.
13652
13653 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13654
13655 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13656 variable.
13657
13658 2013-04-30 Leo Liu <sdl.web@gmail.com>
13659
13660 * progmodes/octave.el (octave-variables): Remove. No builtin
13661 variables any more. All converted to functions.
13662 (octave-font-lock-keywords, octave-completion-at-point-function):
13663 Fix uses.
13664 (octave-font-lock-texinfo-comment): New user variable.
13665 (octave-texinfo-font-lock-keywords): New variable for texinfo
13666 comment block.
13667 (octave-function-comment-block): New face.
13668 (octave-font-lock-texinfo-comment): New function.
13669 (octave-mode): Font lock texinfo comment block.
13670
13671 2013-04-29 Leo Liu <sdl.web@gmail.com>
13672
13673 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13674 indexing expression.
13675 (octave-continuation-string): Do not use \.
13676 (inferior-octave-complete-impossible): Remove.
13677 (inferior-octave-completion-table)
13678 (inferior-octave-completion-at-point): Remove its uses.
13679 (inferior-octave-startup): completion_matches was introduced to
13680 Octave in 1996 so safe to assume it.
13681 (octave-function-file-comment): Improve to follow how Octave does it.
13682 (octave-update-function-file-comment): Tweak.
13683
13684 2013-04-29 Leo Liu <sdl.web@gmail.com>
13685
13686 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13687 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13688 (octave-function-file-comment): Fix typo.
13689 (octave-sync-function-file-names): Use read-char-choice.
13690
13691 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13692
13693 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13694 to t for the less important warnings.
13695
13696 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13697
13698 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13699
13700 2013-04-27 Glenn Morris <rgm@gnu.org>
13701
13702 * vc/log-view.el (log-view-current-entry):
13703 Treat "---" separator lines as part of the following rev. (Bug#14169)
13704
13705 2013-04-27 Juri Linkov <juri@jurta.org>
13706
13707 * subr.el (read-number): Doc fix about using it by interactive
13708 code letter `n'. (Bug#14254)
13709
13710 2013-04-27 Juri Linkov <juri@jurta.org>
13711
13712 * desktop.el (desktop-auto-save-timeout): New option.
13713 (desktop-file-checksum): New variable.
13714 (desktop-save): Add optional arg `auto-save' and don't auto-save
13715 if nothing changed.
13716 (desktop-auto-save-timer): New variable.
13717 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13718 (after-init-hook): Call `desktop-auto-save-set-timer'.
13719 Suggested by Reuben Thomas <rrt@sc3d.org> in
13720 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13721
13722 2013-04-27 Leo Liu <sdl.web@gmail.com>
13723
13724 * progmodes/octave.el (octave-function-file-p)
13725 (octave-skip-comment-forward, octave-function-file-comment)
13726 (octave-update-function-file-comment): New functions.
13727 (octave-mode-map): Bind C-c ; to
13728 octave-update-function-file-comment.
13729 (octave-mode-menu): Add octave-update-function-file-comment.
13730 (octave-mode, inferior-octave-mode): Fix doc-string.
13731 (octave-insert-defun): Conform to Octave's coding convention.
13732 (Bug#14285)
13733
13734 * files.el (basic-save-buffer): Don't let errors in
13735 before-save-hook prevent saving buffer.
13736
13737 2013-04-20 Roland Winkler <winkler@gnu.org>
13738
13739 * faces.el (read-face-name): Use completing-read if arg multiple
13740 is nil.
13741
13742 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13743
13744 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13745 displayed, move point to after the totals line.
13746 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13747 for the details.
13748
13749 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13752 Add current dir to the load-path.
13753 (package-generate-autoloads): Don't rely on
13754 autoload-ensure-default-file.
13755
13756 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13757
13758 * textmodes/remember.el (remember-store-in-files): Document that
13759 the file name format is passed to `format-time-string'.
13760
13761 2013-04-26 Leo Liu <sdl.web@gmail.com>
13762
13763 * progmodes/octave.el (octave-sync-function-file-names): New function.
13764 (octave-mode): Use it in before-save-hook.
13765
13766 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13769 (bug#14274).
13770
13771 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13772 \n and comment, even if it's not an implicit ; (bug#14218).
13773
13774 2013-04-26 Glenn Morris <rgm@gnu.org>
13775
13776 * subr.el (read-number): Once more use `read' rather than
13777 `string-to-number', to trap non-numeric input. (Bug#14254)
13778
13779 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13780
13781 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13782 Use `syntax-multiline' text property consistently instead of
13783 `font-lock-multiline'. (Bug#14237)
13784
13785 2013-04-26 Glenn Morris <rgm@gnu.org>
13786
13787 * emacs-lisp/shadow.el (list-load-path-shadows):
13788 No longer necessary to check for duplicate simple.el, since
13789 2012-07-07 change to init_lread to not include installation lisp
13790 directories in load-path when running uninstalled. (Bug#14270)
13791
13792 2013-04-26 Leo Liu <sdl.web@gmail.com>
13793
13794 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13795 (octave-mode, inferior-octave-mode): Use setq-local.
13796 (octave-not-in-string-or-comment-p): Rename to
13797 octave-in-string-or-comment-p.
13798 (octave-in-comment-p, octave-in-string-p)
13799 (octave-in-string-or-comment-p): Replace defsubst with defun.
13800
13801 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13802
13803 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13804
13805 2013-04-25 Bastien Guerry <bzg@gnu.org>
13806
13807 * textmodes/remember.el (remember-data-directory)
13808 (remember-directory-file-name-format): Fix custom types.
13809
13810 2013-04-25 Leo Liu <sdl.web@gmail.com>
13811
13812 * progmodes/octave.el (octave-completion-at-point-function):
13813 Make use of inferior octave process.
13814 (octave-initialize-completions): Remove.
13815 (inferior-octave-completion-table): New function.
13816 (inferior-octave-completion-at-point): Use it.
13817 (octave-completion-alist): Remove.
13818
13819 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13822 (opascal-mode-syntax-table): New var.
13823 (opascal-literal-kind, opascal-is-literal-end)
13824 (opascal-literal-token-at): Rewrite.
13825 (opascal--literal-start-re, opascal-font-lock-keywords)
13826 (opascal--syntax-propertize): New constants.
13827 (opascal-font-lock-defaults): Adjust.
13828 (opascal-mode): Use them. Set comment-<foo> variables as well.
13829 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13830 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13831 (delphi-other-face, opascal-other-face): Remove face variables.
13832 (opascal-save-state): Remove macro.
13833 (opascal-fontifying-progress-step): Remove constant.
13834 (opascal--ignore-changes): Remove var.
13835 (opascal-set-token-property, opascal-parse-next-literal)
13836 (opascal-is-stable-literal, opascal-complete-literal)
13837 (opascal-is-literal-start, opascal-face-of)
13838 (opascal-parse-region, opascal-parse-region-until-stable)
13839 (opascal-fontify-region, opascal-after-change)
13840 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13841 (opascal-debug-parse-region, opascal-debug-parse-window)
13842 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13843 (opascal-debug-fontify-buffer): Remove.
13844 (opascal-debug-mode-map): Adjust accordingly.
13845
13846 2013-04-25 Leo Liu <sdl.web@gmail.com>
13847
13848 Merge octave-mod.el and octave-inf.el into octave.el with some
13849 cleanups.
13850 * progmodes/octave.el: New file renamed from octave-mod.el.
13851 * progmodes/octave-inf.el: Merged into octave.el.
13852 * progmodes/octave-mod.el: Renamed to octave.el.
13853
13854 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13855
13856 * textmodes/reftex-vars.el
13857 (reftex-label-ignored-macros-and-environments): New defcustom.
13858
13859 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13860
13861 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13862
13863 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13864 (smie-indent-keyword): Improve the check to ensure that the next
13865 comment is really on the same line.
13866 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13867
13868 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13869 semi-colons if the line is not otherwise empty (bug#14218).
13870
13871 2013-04-25 Glenn Morris <rgm@gnu.org>
13872
13873 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13874
13875 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13876
13877 * progmodes/opascal.el (opascal-set-token-property): Rename from
13878 opascal-set-text-properties and only set `token' (bug#14134).
13879 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13880 (opascal-literal-text-properties): Remove.
13881 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13882 Adjust callers.
13883
13884 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13885
13886 * textmodes/remember.el (remember-handler-functions): Add an
13887 option for a new handler `remember-store-in-files'.
13888 (remember-data-directory, remember-directory-file-name-format):
13889 New options.
13890 (remember-store-in-files): New function to store remember notes
13891 as separate files within a directory.
13892
13893 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13894
13895 * progmodes/compile.el (compilation-next-error-function):
13896 Pass "formats" to compilation-find-file (bug#11777).
13897
13898 2013-04-24 Glenn Morris <rgm@gnu.org>
13899
13900 * vc/vc-bzr.el (vc-bzr-print-log):
13901 * vc/vc-hg.el (vc-hg-print-log):
13902 * vc/vc-svn.el (vc-svn-print-log):
13903 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13904
13905 * vc/vc-bzr.el (vc-bzr-print-log):
13906 * vc/vc-cvs.el (vc-cvs-print-log):
13907 * vc/vc-git.el (vc-git-print-log):
13908 * vc/vc-hg.el (vc-hg-print-log):
13909 * vc/vc-mtn.el (vc-mtn-print-log):
13910 * vc/vc-rcs.el (vc-rcs-print-log):
13911 * vc/vc-sccs.el (vc-sccs-print-log):
13912 * vc/vc-svn.el (vc-svn-print-log):
13913 * vc/vc.el (vc-print-log-internal): Doc fixes.
13914
13915 2013-04-23 Glenn Morris <rgm@gnu.org>
13916
13917 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13918 Remove venerable code attempting to avoid substitute-command-keys.
13919
13920 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13921
13922 * textmodes/reftex-vars.el (reftex-label-regexps):
13923 Call `reftex-compile-variables' after changes to this variable.
13924
13925 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13928 Use lexical-binding.
13929 (jit-lock-force-redisplay): Use markers, check buffer's continued
13930 existence and beware narrowed buffers.
13931 (jit-lock-fontify-now): Adjust call accordingly.
13932
13933 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13936 to avoid misleading the user.
13937
13938 2013-04-22 Leo Liu <sdl.web@gmail.com>
13939
13940 * info-look.el: Prefer latex2e.info. (Bug#14240)
13941
13942 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13943
13944 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13945
13946 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13947 * net/tramp.el (tramp-call-process): ... here.
13948 (tramp-set-completion-function, tramp-parse-putty):
13949 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13950 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13951 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13952 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13953 (tramp-call-local-coding-command): Use `tramp-call-process'
13954 instead of `tramp-compat-call-process'.
13955
13956 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13957 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13958 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13959 (tramp-find-inline-compress): Improve traces.
13960 (tramp-maybe-send-script): Check for Perl binary.
13961 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13962
13963 2013-04-22 Daiki Ueno <ueno@gnu.org>
13964
13965 * epg.el (epg-context-pinentry-mode): New function.
13966 (epg-context-set-pinentry-mode): New function.
13967 (epg--start): Pass --pinentry-mode option to gpg command.
13968
13969 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13970
13971 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13972 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13973 `completion-at-point'. (Bug#13774)
13974
13975 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13976 default key binding for `describe-distribution' has been moved to
13977 `C-h C-o'. (Bug#13970)
13978
13979 2013-04-21 Glenn Morris <rgm@gnu.org>
13980
13981 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13982 Add doc strings.
13983 (vc-print-log): Clarify interactive prompt.
13984
13985 2013-04-20 Glenn Morris <rgm@gnu.org>
13986
13987 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13988 No longer include timestamp etc information.
13989
13990 2013-04-20 Roland Winkler <winkler@gnu.org>
13991
13992 * faces.el (read-face-name): Bug fix, return just one face if arg
13993 multiple is nil. (Bug#14209)
13994
13995 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13998 (remove-function): Autoload.
13999
14000 * comint.el (comint-redirect-original-filter-function): Remove.
14001 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14002 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14003 (vc-cvs-annotate-command):
14004 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14005 * progmodes/prolog.el (prolog-consult-compile):
14006 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14007 Use add/remove-function instead.
14008 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14009 (gud-tooltip-process-output, gud-tooltip-tips):
14010 Use add/remove-function instead.
14011 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14012 (scheme-interaction-mode, exit-scheme-interaction-mode):
14013 Use add/remove-function instead.
14014
14015 * vc/vc-dispatcher.el: Use lexical-binding.
14016 (vc--process-sentinel): Rename from vc-process-sentinel.
14017 Change last arg to be the code to run. Don't use vc-previous-sentinel
14018 and vc-sentinel-commands any more.
14019 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14020 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14021
14022 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14023
14024 * progmodes/sh-script.el (sh-imenu-generic-expression):
14025 Handle function names with a single character. (Bug#14111)
14026
14027 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14028
14029 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14030 for subroutines defined in an eval (bug#14182).
14031
14032 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14033
14034 * bookmark.el (bookmark-completing-read): Improve handling of empty
14035 string (bug#14176).
14036
14037 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14038
14039 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14040
14041 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14042
14043 New faster Imenu implementation (bug#14058).
14044 * progmodes/python.el:
14045 (python-imenu-prev-index-position):
14046 (python-imenu-format-item-label-function)
14047 (python-imenu-format-parent-item-label-function)
14048 (python-imenu-format-parent-item-jump-label-function):
14049 New vars.
14050 (python-imenu-format-item-label)
14051 (python-imenu-format-parent-item-label)
14052 (python-imenu-format-parent-item-jump-label)
14053 (python-imenu--put-parent, python-imenu--build-tree)
14054 (python-imenu-create-index, python-imenu-create-flat-index)
14055 (python-util-popn): New functions.
14056 (python-mode): Set imenu-create-index-function to
14057 python-imenu-create-index.
14058
14059 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14060
14061 * winner.el (winner-active-region): Use region-active-p, activate-mark
14062 and deactivate-mark (bug#14225).
14063
14064 * simple.el (deactivate-mark): Don't inline it.
14065
14066 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14067
14068 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14069
14070 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14071
14072 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14073 file extensions from the archive-mode entry in order to prefer
14074 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14075
14076 2013-04-18 Leo Liu <sdl.web@gmail.com>
14077
14078 * bindings.el (help-event-list): Add ?\?.
14079
14080 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 * subr.el (with-wrapper-hook): Declare obsolete.
14083 * simple.el (filter-buffer-substring-function): New hook.
14084 (filter-buffer-substring): Use it.
14085 (filter-buffer-substring-functions): Mark obsolete.
14086 * minibuffer.el (completion-in-region-function): New hook.
14087 (completion-in-region): Use it.
14088 (completion-in-region-functions): Mark obsolete.
14089 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14090 * abbrev.el (abbrev-expand-function): New hook.
14091 (expand-abbrev): Use it.
14092 (abbrev-expand-functions): Mark obsolete.
14093 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14094 and :filter-return.
14095
14096 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14097
14098 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14099 and do not care about match data.
14100
14101 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14102
14103 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14104 completion tables when completing error conditions and
14105 `declare' arguments.
14106 (lisp-complete-symbol, field-complete): Mark as obsolete.
14107 (check-parens): Unmatched parens are user errors.
14108 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14109
14110 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14111
14112 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14113 command changed buffer (ie. `flyspell-pre-buffer' is not current
14114 buffer), which prevents making decisions based on invalid value of
14115 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14116 cause an error when `flyspell-pre-point' was nil after switching
14117 buffers.
14118 (flyspell-post-command-hook): No longer needs to change buffers when
14119 checking pre-word. While at it remove unnecessary progn.
14120
14121 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14122
14123 * textmodes/ispell.el (ispell-add-per-file-word-list):
14124 Fix `flyspell-correct-word-before-point' error when accepting
14125 words and `coment-padding' is an integer by using
14126 `comment-normalize-vars' (Bug #14214).
14127
14128 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14129
14130 New defun movement commands.
14131 * progmodes/python.el (python-nav--syntactically)
14132 (python-nav--forward-defun, python-nav-backward-defun)
14133 (python-nav-forward-defun): New functions.
14134
14135 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14136
14137 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14138 (python-syntax-context): Use named compiler-macro for backwards
14139 compatibility with Emacs 24.x.
14140
14141 2013-04-17 Leo Liu <sdl.web@gmail.com>
14142
14143 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14144 octave-hide-process-buffer.
14145
14146 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14147
14148 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14149 (bug#14216).
14150
14151 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14152
14153 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14154 Fix adjustment of offset when receiving incomplete responses from GDB
14155 (bug#14129).
14156
14157 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14158
14159 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14160 python-mode-abbrev-table.
14161 (python-skeleton-define): Adjust accordingly.
14162 (python-mode-abbrev-table): New table that inherits from it so that
14163 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14164
14165 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14166 (abbrev-symbol): Use it.
14167 (abbrev--before-point): Use it since we already handle inheritance.
14168
14169 2013-04-16 Leo Liu <sdl.web@gmail.com>
14170
14171 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14172 binding to info-lookup-symbol.
14173
14174 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14175
14176 * minibuffer.el (completion--twq-all):
14177 * term/ns-win.el (ns-initialize-window-system):
14178 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14179
14180 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14181
14182 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14183 global bindings.
14184
14185 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14186
14187 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14188
14189 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14190 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14191 to nil.
14192 (ruby-end-of-defun): Remove the unused arg, change the docstring
14193 to reflect that this function is only used as the value of
14194 `end-of-defun-function'.
14195 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14196 to reflect an earlier change that beginning/end-of-defun functions
14197 jump between methods in a class definition, as well as top-level
14198 functions.
14199
14200 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14201
14202 * minibuffer.el (minibuffer-complete): Don't just scroll
14203 a *Completions* that's been iconified.
14204 (minibuffer-force-complete): Make sure repetitions do cycle when going
14205 through completion-in-region -> minibuffer-complete.
14206
14207 2013-04-15 Alan Mackenzie <acm@muc.de>
14208
14209 Correct the placement of c-cpp-delimiters when there're #s not at
14210 col 0.
14211
14212 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14213 place a submatch around the #.
14214 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14215 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14216 on the #, not BOL.
14217
14218 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14221 (advice--member-p): New arg `name'.
14222 (advice--add-function, advice-member-p): Use it (bug#14202).
14223
14224 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14225
14226 Reformulate java imenu-generic-expression.
14227 The old expression contained ill formed regexps.
14228
14229 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14230 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14231 (cc-imenu-java-method-arg-regexp): New defconsts.
14232 (cc-imenu-java-build-type-args-regex): New defun.
14233 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14234 handling of spaces in the regexp.
14235
14236 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14237
14238 * textmodes/ispell.el (ispell-command-loop): Remove
14239 flyspell highlight of a word when ispell accepts it (bug #14178).
14240
14241 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14242
14243 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14244 uses code from the previous `ange-ftp-run-real-handler'.
14245 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14246 only in case that function exist. This is needed for proper
14247 unloading of Tramp.
14248
14249 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14250
14251 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14252
14253 * textmodes/reftex.el (reftex-compile-variables): Use it.
14254
14255 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * files.el (normal-mode): Only use default major-mode if no other mode
14258 was specified.
14259
14260 * emacs-lisp/trace.el (trace-values): New function.
14261
14262 * files.el: Allow : in local variables (bug#14089).
14263 (hack-local-variable-regexp): New var.
14264 (hack-local-variables-prop-line, hack-local-variables): Use it.
14265
14266 2013-04-13 Roland Winkler <winkler@gnu.org>
14267
14268 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14269 data before it gets modified by bibtex-beginning-of-entry.
14270
14271 2013-04-13 Roland Winkler <winkler@gnu.org>
14272
14273 * textmodes/bibtex.el (bibtex-url): Doc fix.
14274
14275 2013-04-13 Roland Winkler <winkler@gnu.org>
14276
14277 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14278 does not visit a BibTeX file, exclude it from the list of buffers
14279 returned by bibtex-initialize.
14280
14281 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14282
14283 * window.el (split-window): Remove interactive form, since as a
14284 command this function is a special case of split-window-below.
14285 Correct doc string.
14286
14287 2013-04-12 Roland Winkler <winkler@gnu.org>
14288
14289 * faces.el (read-face-name): Do not override value of arg default.
14290 Allow single faces and strings as default values. Remove those
14291 elements from return value that are not faces.
14292 (describe-face): Simplify.
14293 (face-at-point): New optional args thing and multiple so that this
14294 function can provide the same functionality previously provided by
14295 read-face-name.
14296 (make-face-bold, make-face-unbold, make-face-italic)
14297 (make-face-unitalic, make-face-bold-italic, invert-face)
14298 (modify-face, read-face-and-attribute): Use face-at-point.
14299
14300 * cus-edit.el (customize-face, customize-face-other-window)
14301 * cus-theme.el (custom-theme-add-face)
14302 * face-remap.el (buffer-face-set)
14303 * facemenu.el (facemenu-set-face): Use face-at-point.
14304
14305 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14306
14307 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14308
14309 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14310
14311 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14312 off leading { and trailing } from field values.
14313
14314 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14315
14316 * emacs-lisp/timer.el (timer--check): New function.
14317 (timer--time, timer-set-function, timer-event-handler): Use it.
14318 (timer-set-idle-time): Simplify.
14319 (timer--activate): CSE.
14320 (timer-event-handler): Give more info in error message.
14321 (internal-timer-start-idle): New function, moved from C.
14322
14323 * mpc.el (mpc-proc): Add `restart' argument.
14324 (mpc-proc-cmd): Use it.
14325 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14326 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14327 less often.
14328
14329 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14330
14331 * progmodes/sh-script.el: Implement `sh-mode' own
14332 `add-log-current-defun-function' (bug#14112).
14333 (sh-current-defun-name): New function.
14334 (sh-mode): Use the function.
14335
14336 2013-04-09 Bastien Guerry <bzg@gnu.org>
14337
14338 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14339
14340 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14341
14342 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14343
14344 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14345 timer (bug#14156).
14346
14347 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14348
14349 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14350 declaration.
14351
14352 2013-04-07 Leo Liu <sdl.web@gmail.com>
14353
14354 * pcmpl-x.el: New file.
14355
14356 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14357
14358 Do not set x-display-name until X connection is established.
14359 This is needed to prevent from weird situation described at
14360 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14361 * frame.el (make-frame): Set x-display-name after call to
14362 window system initialization function, not before.
14363 * term/x-win.el (x-initialize-window-system): Add optional
14364 display argument and use it.
14365 * term/w32-win.el (w32-initialize-window-system):
14366 * term/ns-win.el (ns-initialize-window-system):
14367 * term/pc-win.el (msdos-initialize-window-system):
14368 Add compatible optional display argument.
14369
14370 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14371
14372 * files.el (normal-backup-enable-predicate): On MS-Windows and
14373 MS-DOS compare truenames of temporary-file-directory and of the
14374 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14375 don't fail comparison by compare-strings. Also, compare file
14376 names case-insensitively on MS-Windows and MS-DOS.
14377
14378 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14379
14380 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14381 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14382
14383 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14384
14385 * whitespace.el (whitespace-color-on, whitespace-color-off):
14386 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14387
14388 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14389
14390 * ispell.el (ispell-set-spellchecker-params):
14391 Really set `ispell-args' for all equivs.
14392
14393 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14394
14395 * ido.el (ido-completions): Use extra elements of ido-decorations
14396 (bug#14143).
14397 (ido-decorations): Update docstring.
14398
14399 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14400
14401 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14402 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14403 nil during initialization, in order not to miss changes since the
14404 file was opened. (Bug#14140)
14405
14406 2013-04-05 Leo Liu <sdl.web@gmail.com>
14407
14408 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14409
14410 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14411
14412 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14413
14414 2013-04-04 Glenn Morris <rgm@gnu.org>
14415
14416 * electric.el (electric-pair-inhibit-predicate): Add :version.
14417
14418 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14421 when a package is required several times (bug#14082).
14422
14423 2013-04-04 Roland Winkler <winkler@gnu.org>
14424
14425 * faces.el (read-face-name): Behave as promised by the docstring.
14426 Assume that arg default is a list of faces.
14427 (describe-face): Call read-face-name with list of default faces.
14428
14429 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14430
14431 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14432 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14433 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14434 the header.
14435 (bookmark-exit-hook-internal): Save even if list is empty.
14436
14437 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14438
14439 * emacs-lisp/package.el (package-pinned-packages): New var.
14440 (package--add-to-archive-contents): Obey it (bug#14118).
14441
14442 2013-04-03 Alan Mackenzie <acm@muc.de>
14443
14444 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14445 Also adapt to the new values of element 7 of a parse state.
14446
14447 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14448 parameter `not-in-delimiter'. Handle being inside comment opener.
14449 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14450 character in case we're typing a '*' after a '/'.
14451 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14452 instead by passing the parameter to c-state-pp-to-literal.
14453
14454 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14455 for elt. 7 of a parse state.
14456
14457 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14458
14459 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14460 * international/latin1-disp.el, international/mule-util.el:
14461 * language/cyril-util.el, language/european.el, language/ind-util.el:
14462 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14463 * language/tibetan.el, language/viet-util.el:
14464 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14465
14466 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14469 (electric-pair-post-self-insert-function): Use it.
14470 (electric-pair-default-inhibit): New function, extracted from
14471 electric-pair-post-self-insert-function.
14472
14473 2013-03-31 Roland Winkler <winkler@gnu.org>
14474
14475 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14476
14477 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14478
14479 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14480
14481 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14482
14483 Un-indent after "pass" and "return" statements (Bug#13888)
14484 * progmodes/python.el (python-indent-block-enders): New var.
14485 (python-indent-calculate-indentation): Use it.
14486
14487 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14488
14489 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14490 defun. Defining it as defalias could introduce too eager
14491 byte-compiler optimization. (Bug#14030)
14492
14493 2013-03-30 Chong Yidong <cyd@gnu.org>
14494
14495 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14496
14497 2013-03-30 Leo Liu <sdl.web@gmail.com>
14498
14499 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14500 (kmacro-execute-from-register): Pass the keyboard macro to
14501 kmacro-call-macro or repeating won't work correctly.
14502
14503 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14504
14505 * progmodes/subword.el: Back to using `forward-symbol'.
14506
14507 * subr.el (forward-whitespace, forward-symbol)
14508 (forward-same-syntax): Move from thingatpt.el.
14509
14510 2013-03-29 Leo Liu <sdl.web@gmail.com>
14511
14512 * kmacro.el (kmacro-to-register): New command.
14513 (kmacro-execute-from-register): New function.
14514 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14515
14516 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * mpc.el: Use defvar-local and setq-local.
14519 (mpc--proc-connect): Connection failures are not bugs.
14520 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14521 (mpc-volume-map): Bind to the up-events.
14522
14523 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14524
14525 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14526 instead of `forward-symbol'.
14527
14528 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14531 (edebug--recursive-edit): Use it.
14532 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14533 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14534
14535 2013-03-28 Leo Liu <sdl.web@gmail.com>
14536
14537 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14538
14539 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14540
14541 * facemenu.el (list-colors-callback): New defvar.
14542 (list-colors-redisplay): New function.
14543 (list-colors-display): Install list-colors-redisplay as the
14544 revert-buffer-function. (Bug#14063)
14545
14546 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14547
14548 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14549 and suffixes don't overlap (bug#14061).
14550
14551 * case-table.el: Use lexical-binding.
14552 (case-table-get-table): New function.
14553 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14554
14555 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14556
14557 * progmodes/subword.el: Add `superword-mode' to do word motion
14558 over symbol_words (parallels and leverages `subword-mode' which
14559 does word motion inside MixedCaseWords).
14560
14561 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14562
14563 * eshell/em-unix.el: Move su and sudo to...
14564 * eshell/em-tramp.el: ...Eshell tramp module.
14565
14566 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14567
14568 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14569 Change return value to be a sexp. Delay `get-buffer' to after
14570 restoring the desktop (bug#13951).
14571
14572 2013-03-26 Leo Liu <sdl.web@gmail.com>
14573
14574 * register.el: Move semantic tag handling back to
14575 cedet/semantic/senator.el. (Bug#14052)
14576
14577 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14578
14579 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14580 into the prompt either (bug#13963).
14581
14582 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14583
14584 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14585 part of "(error-foo)".
14586
14587 2013-03-24 Juri Linkov <juri@jurta.org>
14588
14589 * replace.el (list-matching-lines-prefix-face): New defcustom.
14590 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14591 `occur-engine' if `face-differs-from-default-p' returns t.
14592 (occur-engine): Add `,' inside backquote construct to evaluate
14593 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14594 Pass `prefix-face' to the functions `occur-context-lines' and
14595 `occur-engine-add-prefix'.
14596 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14597 `prefix-face' and propertize the prefix with `prefix-face'.
14598 (Bug#14017)
14599
14600 2013-03-24 Leo Liu <sdl.web@gmail.com>
14601
14602 * nxml/rng-valid.el (rng-validate-while-idle)
14603 (rng-validate-quick-while-idle): Guard against deleted buffer.
14604 (Bug#13999)
14605
14606 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14607 is the last entry in kill-buffer-hook.
14608
14609 * files.el (kill-buffer-hook): Doc fix.
14610
14611 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14612
14613 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14614 Make it safe-local.
14615
14616 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14617
14618 2013-03-23 Leo Liu <sdl.web@gmail.com>
14619
14620 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14621 Remove.
14622
14623 * nxml/rng-valid.el (rng-validate-mode)
14624 (rng-after-change-function, rng-do-some-validation):
14625 * nxml/rng-maint.el (rng-validate-buffer):
14626 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14627 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14628 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14629 (nxml-extend-after-change-region): Use with-silent-modifications.
14630
14631 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14632 timer-idle-list.
14633
14634 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14635 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14636 timer-idle-list. (Bug#13999)
14637
14638 2013-03-23 Juri Linkov <juri@jurta.org>
14639
14640 * info.el (info-index-match): New face.
14641 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14642 main pattern and add text properties with the new face to matches
14643 in index entries relative to the beginning of the index entry.
14644 (Bug#14015)
14645
14646 2013-03-21 Eric Ludlam <zappo@gnu.org>
14647
14648 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14649 Inhibit read only while inserting objects.
14650
14651 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14652
14653 * progmodes/cfengine.el: Update docs to mention
14654 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14655 symbol motion. Remove "_" from the word syntax.
14656
14657 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14658
14659 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14660 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14661
14662 2013-03-20 Juri Linkov <juri@jurta.org>
14663
14664 * info.el (Info-next-reference-or-link)
14665 (Info-prev-reference-or-link): New functions.
14666 (Info-next-reference, Info-prev-reference): Use them.
14667 (Info-try-follow-nearest-node): Handle footnote navigation.
14668 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14669
14670 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14671
14672 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14673 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14674
14675 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14676
14677 Suppress unnecessary non-ASCII chatter during build process.
14678 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14679 (batch-skkdic-convert): Suppress most of the chatter.
14680 It's not needed so much now that machines are faster,
14681 and its non-ASCII component was confusing; see Dmitry Gutov in
14682 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14683
14684 2013-03-20 Leo Liu <sdl.web@gmail.com>
14685
14686 * ido.el (ido-chop): Fix bug#10994.
14687
14688 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14689
14690 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14691 Remove vars.
14692 (whitespace-color-on, whitespace-color-off):
14693 Use `font-lock-fontify-buffer' (Bug#13817).
14694
14695 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14696
14697 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14698 remapping in mode-line.
14699 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14700
14701 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14702
14703 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14704 value for `whitespace-line' face (Bug#13875).
14705 (whitespace-font-lock-keywords): Change description.
14706 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14707 the constructed keywords instead.
14708 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14709
14710 2013-03-19 Leo Liu <sdl.web@gmail.com>
14711
14712 * progmodes/compile.el (compilation-display-error): New command.
14713 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14714 C-o. (Bug#13992)
14715
14716 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14717
14718 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14719
14720 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14721
14722 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14723
14724 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14725
14726 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14727
14728 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14729 * net/tramp-gvfs.el (top):
14730 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14731 (tramp-handle-shell-command): Use it.
14732 (tramp-dissect-file-name): Raise an error when hostname is a
14733 method name, and neither method nor user is specified.
14734
14735 * net/trampver.el: Update release number.
14736
14737 2013-03-18 Leo Liu <sdl.web@gmail.com>
14738
14739 Make sure eldoc can be turned off properly.
14740 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14741 eldoc-mode.
14742 (eldoc-display-message-p): Revert last change.
14743 (eldoc-display-message-no-interference-p)
14744 (eldoc-print-current-symbol-info): Tweak.
14745
14746 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14747
14748 * doc-view.el (doc-view-new-window-function): Check the new window
14749 overlay's display property instead the char property of the
14750 buffer's first char. Use `with-selected-window' instead of
14751 `save-window-excursion' with `select-window'.
14752 (doc-view-document->bitmap): Check the current doc-view overlay's
14753 display property instead the char property of the buffer's first char.
14754
14755 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14756
14757 Automate the build of ja-dic.el (Bug#13984).
14758 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14759 from the input, rather than assume that it's been done for us by the
14760 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14761 the current date into a ja-dic.el comment, as that complicates
14762 regression testing.
14763
14764 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14765
14766 * whitespace.el: Fix double evaluation.
14767 (whitespace-space, whitespace-hspace, whitespace-tab)
14768 (whitespace-newline, whitespace-trailing, whitespace-line)
14769 (whitespace-space-before-tab, whitespace-indentation)
14770 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14771 obsolete defvars.
14772 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14773 (whitespace-color-on): Use a single font-lock-add-keywords call.
14774 Fix double-evaluation of face variables.
14775
14776 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14777
14778 * net/tramp-adb.el (tramp-adb-parse-device-names):
14779 Use `start-process' instead of `call-process'. Otherwise, the
14780 function might be blocked under MS Windows. (Bug#13299)
14781
14782 2013-03-17 Leo Liu <sdl.web@gmail.com>
14783
14784 Extend eldoc to display info in the mode-line. (Bug#13978)
14785 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14786 (eldoc-mode-line-string): New variable.
14787 (eldoc-minibuffer-message): New function.
14788 (eldoc-message-function): New variable.
14789 (eldoc-message): Use it.
14790 (eldoc-display-message-p)
14791 (eldoc-display-message-no-interference-p):
14792 Support eldoc-post-insert-mode.
14793
14794 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14795 (eval-expression): Run it.
14796
14797 2013-03-17 Roland Winkler <winkler@gnu.org>
14798
14799 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14800 strings in the list of return values.
14801
14802 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14803
14804 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14805 radix before checking for HMS forms.
14806
14807 2013-03-16 Leo Liu <sdl.web@gmail.com>
14808
14809 * progmodes/scheme.el: Add indentation and font-locking for λ.
14810 (Bug#13975)
14811
14812 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14813
14814 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14815 token before point (bug#13942).
14816
14817 2013-03-16 Leo Liu <sdl.web@gmail.com>
14818
14819 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14820
14821 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14822
14823 * startup.el (command-line-normalize-file-name): Fix handling of
14824 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14825 <xfq.free@gmail.com> in
14826 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14827
14828 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14829
14830 Sync with Tramp 2.2.7.
14831
14832 * net/trampver.el: Update release number.
14833
14834 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14835
14836 * doc-view.el: Fix bug#13887.
14837 (doc-view-insert-image): Don't modify overlay associated to
14838 non-live windows, and implement horizontal centering of image in
14839 case it's smaller than the window.
14840 (doc-view-new-window-function): Force redisplay of new windows on
14841 doc-view buffers.
14842
14843 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14844
14845 * saveplace.el (save-place-alist-to-file): Don't sort
14846 `save-place-alist', just pretty-print it (bug#13882).
14847
14848 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14849
14850 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14851 Check whether `default-file-name-coding-system' is bound.
14852 It isn't in XEmacs.
14853
14854 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14855
14856 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14857 backquotes for `obsolete' (bug#13929).
14858
14859 * international/mule.el (find-auto-coding): Include file name in
14860 obsolescence warning (bug#13922).
14861
14862 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14863
14864 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14865 for CFEngine 3-specific indentation.
14866 (cfengine3-indent-line): Use it. Fix up category regex.
14867 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14868
14869 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14870
14871 * type-break.el (type-break-file-name):
14872 * textmodes/remember.el (remember-data-file):
14873 * strokes.el (strokes-file):
14874 * shadowfile.el (shadow-initialize):
14875 * saveplace.el (save-place-file):
14876 * ps-bdf.el (bdf-cache-file):
14877 * progmodes/idlwave.el (idlwave-config-directory):
14878 * net/quickurl.el (quickurl-url-file):
14879 * international/kkc.el (kkc-init-file-name):
14880 * ido.el (ido-save-directory-list-file):
14881 * emulation/viper.el (viper-custom-file-name):
14882 * emulation/vip.el (vip-startup-file):
14883 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14884 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14885
14886 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14887
14888 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14889 * language/thai-word.el: Switch to UTF-8.
14890
14891 See ChangeLog.16 for earlier changes.
14892
14893 ;; Local Variables:
14894 ;; coding: utf-8
14895 ;; End:
14896
14897 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14898
14899 This file is part of GNU Emacs.
14900
14901 GNU Emacs is free software: you can redistribute it and/or modify
14902 it under the terms of the GNU General Public License as published by
14903 the Free Software Foundation, either version 3 of the License, or
14904 (at your option) any later version.
14905
14906 GNU Emacs is distributed in the hope that it will be useful,
14907 but WITHOUT ANY WARRANTY; without even the implied warranty of
14908 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14909 GNU General Public License for more details.
14910
14911 You should have received a copy of the GNU General Public License
14912 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.