Add a warning and a menu.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
4 (todo-menu): Uncomment and update.
5
6 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
7
8 * calendar/todo-mode.el: Reimplement item editing to have the same
9 basic user interface as item insertion, and make small UI and
10 larger internal improvements to the latter.
11 (todo-insert-item): Add reference to the Todo mode user manual to
12 the documentation string.
13 (todo-insert-item--basic): Rename from todo-basic-insert-item and
14 adjust all callers. Change signature to combine diary and
15 nonmarking arguments. Incorporate functionality of deleted item
16 copying command and add error checking. Remove detailed
17 descriptions of the arguments from the documentation string, since
18 this is treated in the Todo mode user manual.
19 (todo-copy-item, todo-edit-multiline-item)
20 (todo-edit-done-item-comment, todo-edit-item-header)
21 (todo-edit-item-time, todo-edit-item-date-from-calendar)
22 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
23 (todo-edit-item-date-year, todo-edit-item-date-month)
24 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
25 Remove.
26 (todo-edit-item): Reimplement as wrapper command for
27 todo-edit-item--next-key and make it distinguish done and not done
28 todo items.
29 (todo-edit-item--text): New function, replacing old command
30 todo-edit-item and incorporating deleted commands
31 todo-edit-multiline-item and todo-edit-done-item-comment.
32 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
33 Use only numeric value of prefix argument. Remove detailed
34 descriptions of the arguments from the documentation string, since
35 this is treated in the Todo mode user manual.
36 (todo-edit-item--diary-inclusion): New function, replacing old
37 command todo-edit-item-diary-inclusion and incorporating and fixing
38 functionality of deleted command todo-edit-item-diary-nonmarking,
39 making sure to remove todo-nondiary-marker when adding
40 diary-nonmarking-symbol.
41 (todo-edit-category-diary-inclusion): Make sure to delete
42 diary-nonmarking-symbol when adding todo-nondiary-marker.
43 (todo-edit-category-diary-nonmarking): Fix indentation.
44 (todo-insert-item--parameters): Group diary and nonmarking
45 parameters together.
46 (todo-insert-item--apply-args): Adjust to signature of
47 todo-insert-item--basic and incorporate copy parameter.
48 Make small code improvements.
49 (todo-insert-item--next-param): Improve prompt and adjust it to
50 new parameter grouping. Remove obsolete code.
51 (todo-edit-item--param-key-alist)
52 (todo-edit-item--date-param-key-alist)
53 (todo-edit-done-item--param-key-alist): New defconsts.
54 (todo-edit-item--prompt): New variable.
55 (todo-edit-item--next-key): New function.
56 (todo-key-bindings-t): Bind "e" to todo-edit-item. Remove
57 bindings of deleted commands.
58
59 2014-05-02 Leo Liu <sdl.web@gmail.com>
60
61 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
62
63 2014-05-01 Glenn Morris <rgm@gnu.org>
64
65 * allout-widgets.el (allout-widgets-tally)
66 (allout-decorate-item-guides):
67 * menu-bar.el (menu-bar-positive-p):
68 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
69 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
70 * progmodes/js.el (js--inside-param-list-p)
71 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
72 * progmodes/prolog.el (region-exists-p):
73 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
74 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
75 Doc fixes (replace `iff').
76
77 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
80
81 2014-04-30 Eli Zaretskii <eliz@gnu.org>
82
83 * dired.el (dired-initial-position-hook, dired-initial-position):
84 Doc string fixes.
85
86 2014-04-29 Glenn Morris <rgm@gnu.org>
87
88 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
89
90 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
91
92 * faces.el (face-spec-recalc): Apply X resources only after the
93 defface spec has been applied. Thus, X resources are no longer
94 overriden by the defface spec which also fixes issues on win32 where
95 the toolbar coloring was wrong because it is set through X resources
96 and was (wrongfully) overriden. (Bug#16694)
97
98 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * textmodes/rst.el (electric-pair-pairs): Declare.
101 (rst-mode): Set it (bug#17131).
102
103 2014-04-27 Juri Linkov <juri@jurta.org>
104
105 * desktop.el (desktop-value-to-string): Let-bind `print-length'
106 and `print-level' to nil. (Bug#17351)
107
108 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
109
110 * battery.el (battery-update): Handle the case where battery
111 status is "N/A" (bug#17319).
112
113 2014-04-24 Eli Zaretskii <eliz@gnu.org>
114
115 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
116 Use equal-including-properties to compare help-echo strings (bug#17331).
117
118 2014-04-24 Leo Liu <sdl.web@gmail.com>
119
120 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
121 Fix syntax for @. (Bug#17325)
122
123 2014-04-24 Daniel Colascione <dancol@dancol.org>
124
125 * emacs-lisp/cl.el (gv): Require gv early to break eager
126 macro-expansion cycles.
127
128 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * simple.el (region-active-p): Check there's a mark (bug#17324).
131
132 * simple.el (completion-list-mode-map): Use choose-completion for the
133 mouse binding as well (bug#17302).
134 (completion-list-mode, completion-setup-function): Adjust docstring and
135 echo area message accordingly.
136 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
137 calling convention of choose-completion.
138 * comint.el (comint-dynamic-list-completions):
139 * term.el (term-dynamic-list-completions): Accept choose-completion.
140
141 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
142 &, |, +, - and * can't be a division (bug#17317).
143
144 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * term/xterm.el (xterm--version-handler): Don't use modern xterm
147 features on gnome-terminal (bug#16988).
148
149 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
150
151 * dired.el (dired-insert-set-properties): Do not consider
152 subdirectory headings and empty lines to be information that
153 `dired-hide-details-mode' should hide. (Bug#17228)
154
155 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
156
157 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
158 Remove test messages.
159 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
160 and `target' twice.
161
162 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
165 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
166
167 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
168
169 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
170
171 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
172 Set "IFS=" when using read builtin, in order to preserve spaces in
173 the file name. Add test messages for hunting a bug on hydra.
174 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
175
176 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
179 Don't prettify a word within a symbol.
180
181 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
182
183 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
184 possible.
185
186 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
189 assignments such as "case=hello" (bug#17297).
190
191 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
192
193 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
194 Do not autoload.
195 (tramp-file-name-handler, tramp-completion-file-name-handler):
196 Revert patch from 2014-04-10, it isn't necessary anymore.
197 (tramp-autoload-file-name-handler)
198 (tramp-register-autoload-file-name-handlers): New defuns.
199 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
200 (tramp-register-file-name-handlers): Remove also
201 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
202 Do not autoload its invocation, but eval it after loading of 'tramp.
203
204 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
205
206 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
207
208 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
211 was done (bug#17264).
212 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
213 comment to EOB.
214
215 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
216 here-documents (bug#17262).
217
218 2014-04-16 Eli Zaretskii <eliz@gnu.org>
219
220 * term/pc-win.el (x-list-fonts, x-get-selection-value):
221 Provide doc strings, as required by snarf-documentation.
222
223 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
226 arg of overlays-at. Use `invisible-p'.
227
228 * obsolete/lucid.el (extent-at):
229 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
230 overlays-at.
231 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
232
233 2014-04-14 João Távora <joaotavora@gmail.com>
234
235 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
236 links. (Bug#17217).
237
238 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
239
240 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
241 Use mapc to loop over a vector. (Bug#17257).
242
243 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
244
245 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
246 patch, there are new problems with file names containing spaces.
247 Get rid of backticks. (Bug#17238)
248
249 2014-04-13 João Távora <joaotavora@gmail.com>
250
251 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
252 possible bug.
253
254 2014-04-13 Eli Zaretskii <eliz@gnu.org>
255
256 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
257 (blink-cursor-mode): Mention customization variables and the
258 effect of 'blink-cursor-blinks'.
259
260 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
261
262 * simple.el (undo): Prevent insertion of identity mapping into
263 undo-equiv-table so as undo-only does not inf loop in the presence
264 of consecutive nils in undo list.
265
266 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
267
268 * faces.el (make-face): Deprecate optional argument as it is no
269 longer needed/used since the conditional X resources handling
270 has been pushed down to make-face-x-resource-internal itself.
271 (make-empty-face): Don't pass optional argument to make-face.
272
273 2014-04-12 Eli Zaretskii <eliz@gnu.org>
274
275 * international/characters.el <standard-case-table>: Add entries
276 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
277 Set category of Coptic characters be 'g' (Greek).
278
279 2014-04-12 Leo Liu <sdl.web@gmail.com>
280
281 * progmodes/octave.el (completion-table-with-cache): Define if not
282 available.
283 (octave-goto-function-definition)
284 (octave-sync-function-file-names)
285 (octave-find-definition-default-filename): Backquote upattern for
286 compatibility.
287
288 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
289
290 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
291 name twice due to backticks. (Bug#17238)
292
293 2014-04-11 Glenn Morris <rgm@gnu.org>
294
295 * term/w32-win.el (x-win-suspend-error):
296 * term/x-win.el (x-win-suspend-error): Sync docs.
297
298 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 Ediff's overlay priorities cause more trouble than they solve.
301 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
302 (ediff-highest-priority): Remove function (bug#17234).
303 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
304 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
305 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
306 overlay priorities.
307
308 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
309
310 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
311 entry; use symbol boundaries to avoid mis-matches.
312
313 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
314
315 * net/tramp.el (tramp-file-name-handler)
316 (tramp-completion-file-name-handler): Avoid recursive loading.
317
318 * net/tramp-sh.el (tramp-make-copy-program-file-name):
319 Quote result also locally.
320
321 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
322
323 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
324 Module methods. (Bug#17216)
325
326 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
327
328 * help.el (describe-bindings): Fix buffer handling (bug#17210).
329 (describe-bindings-internal): Mark obsolete.
330
331 2014-04-07 João Távora <joaotavora@gmail.com>
332
333 * elec-pair.el:
334 (electric-pair--syntax-ppss): When inside comments parse from
335 comment beginning.
336 (electric-pair--balance-info): Fix typo in comment.
337 (electric-pair--in-unterminated-string-p): Delete.
338 (electric-pair--unbalanced-strings-p): New function.
339 (electric-pair-string-bound-function): New var.
340 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
341 according to `electric-pair--in-unterminated-string-p'
342
343 2014-04-07 João Távora <joaotavora@gmail.com>
344
345 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
346 Inhibit quote pairing if point-max is inside an unterminated string.
347 (electric-pair--looking-at-unterminated-string-p): Delete.
348 (electric-pair--in-unterminated-string-p): New function.
349
350 2014-04-07 Glenn Morris <rgm@gnu.org>
351
352 * shell.el (shell-directory-tracker):
353 Go back to just ignoring failures. (Bug#17159)
354
355 2014-04-06 João Távora <joaotavora@gmail.com>
356
357 Fix `electric-pair-delete-adjacent-pairs' in modes binding
358 backspace. (bug#16981)
359 * elec-pair.el (electric-pair-backward-delete-char): Delete.
360 (electric-pair-backward-delete-char-untabify): Delete.
361 (electric-pair-mode-map): Bind backspace to a menu item filtering
362 a new `electric-pair-delete-pair' command.
363 (electric-pair-delete-pair): New command.
364
365 2014-04-06 João Távora <joaotavora@gmail.com>
366
367 * progmodes/python.el (python-electric-pair-string-delimiter):
368 Fix triple-quoting electricity. (Bug#17192)
369
370 2014-04-06 João Távora <joaotavora@gmail.com>
371
372 * elec-pair.el (electric-pair-post-self-insert-function):
373 Don't skip whitespace when `electric-pair-text-pairs' and
374 `electric-pair-pairs' were used. syntax to
375 electric-pair--skip-whitespace. (Bug#17183)
376
377 2014-04-06 Eli Zaretskii <eliz@gnu.org>
378
379 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
380 "<F>". (Bug#17199)
381
382 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
385 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
386
387 2014-04-05 Glenn Morris <rgm@gnu.org>
388
389 * help.el (view-lossage): Doc tweak.
390
391 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
392
393 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
394 only when inhibit-x-resources is nil, and do that earlier in the
395 function. Doc fix. (Bug#16694)
396 (face-spec-choose): Accept additional optional argument, whose
397 value is returned if no matching attributes are found.
398 (face-spec-recalc): Use the new optional argument when calling
399 face-spec-choose. (Bug#16378)
400 (make-face-x-resource-internal): Do nothing when
401 inhibit-x-resources is non-nil. Don't touch the default face if
402 reversed video is given--as was done in previous versions of Emacs.
403 (face-set-after-frame-default): Don't call
404 make-face-x-resource-internal here. (Bug#16434)
405
406 2014-04-04 Tassilo Horn <tsdh@gnu.org>
407
408 * doc-view.el (doc-view-bookmark-jump):
409 Use `bookmark-after-jump-hook' to jump to the right page after the
410 buffer is shown in a window. (bug#16090)
411
412 2014-04-04 Eli Zaretskii <eliz@gnu.org>
413
414 * international/characters.el (mirroring): Fix last change:
415 instead of loading uni-mirrored.el explicitly, do that implicitly
416 by creating the 'mirroring' uniprop table. This avoids announcing
417 the loading of uni-mirrored.el.
418
419 2014-04-04 Glenn Morris <rgm@gnu.org>
420
421 * files.el (buffer-stale--default-function)
422 (buffer-stale-function, revert-buffer--default):
423 * autorevert.el (auto-revert-buffers): Doc tweaks.
424
425 2014-04-03 Eli Zaretskii <eliz@gnu.org>
426
427 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
428
429 2014-04-03 Glenn Morris <rgm@gnu.org>
430
431 * files.el (make-backup-file-name-function)
432 (make-backup-file-name, make-backup-file-name--default-function)
433 (make-backup-file-name-1, find-backup-file-name)
434 (revert-buffer-function, revert-buffer-insert-file-contents-function)
435 (buffer-stale--default-function, buffer-stale-function)
436 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
437 (revert-buffer, revert-buffer--default)
438 (revert-buffer-insert-file-contents--default-function):
439 Doc fixes related to defaults no longer being nil.
440 (make-backup-file-name-function): Bump :version.
441 Restore nil as a valid but deprecated custom type.
442
443 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
446 used as a variable (bug#17174).
447
448 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * progmodes/perl-mode.el (perl-indent-new-calculate):
451 Handle forward-sexp failure (bug#16985).
452 (perl-syntax-propertize-function): Add "foreach" and "for" statement
453 modifiers introducing expressions (bug#17116).
454
455 2014-04-02 Glenn Morris <rgm@gnu.org>
456
457 * menu-bar.el (menu-bar-file-menu):
458 * vc/ediff.el (ediff-current-file):
459 Update for revert-buffer-function no longer being nil by default.
460
461 * simple.el (command-execute): Respect nil disabled-command-function.
462
463 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
464
465 * simple.el (command-execute): Do not execute the command when it
466 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
467
468 2014-03-29 Juri Linkov <juri@jurta.org>
469
470 * dired-aux.el (dired-compress-file): Don't use string-match-p
471 because its match data is used afterwards.
472
473 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
476 0 like nil.
477
478 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
479
480 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
481 Highlight special globals with font-lock-builtin-face. (Bug#17057)
482
483 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
484 Don't propertize `?' or `!' as symbol constituent when after
485 colon. (Bug#17097)
486
487 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
488
489 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
490 which is no longer needed and causes trouble in GTK builds (bug#17046).
491
492 * emacs-lisp/package-x.el (package--archive-contents-from-url):
493 Use url-insert-file-contents; package-handle-response no longer exists.
494
495 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
496
497 * emacs-lisp/package.el: Fix bug#16733 (again).
498 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
499 (url-http-target-url): Remove unused declarations.
500 (package-handle-response): Remove.
501 (package--with-work-buffer): Use url-insert-file-contents and simplify.
502 (package--download-one-archive): Use current-buffer instead of
503 dynamic binding of `buffer'.
504 (describe-package-1): Do not decode readme-string.
505
506 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
507
508 * simple.el (primitive-undo): Correction to 2014-03-24 change.
509
510 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
511
512 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
513
514 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
515 from 2014-03-07, it decreases performance unnecessarily. Let-bind
516 `remote-file-name-inhibit-cache' to nil in the second pass.
517 (tramp-find-executable): Do not call "which" on SunOS.
518 (tramp-send-command-and-check): Fix docstring.
519 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
520 check whether source directory has set the sticky bit.
521
522 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
523
524 * simple.el (primitive-undo): Only process marker adjustments
525 validated against their corresponding (TEXT . POS). Issue warning
526 for lone marker adjustments in undo history. (Bug#16818)
527 (undo-make-selective-list): Add marker adjustments to selective
528 undo list based on whether their corresponding (TEXT . POS) is in
529 the region. Remove variable adjusted-markers, which was unused
530 and only non nil during undo-make-selective-list.
531 (undo-elt-in-region): Return nil when passed a marker adjustment
532 and explain in function doc.
533
534 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
535
536 * emacs-lisp/package.el (package--add-to-archive-contents):
537 Include already installed and built-in packages in
538 `package-archive-contents'.
539 (package-install): Don't include already installed packages in the
540 options during interactive invocation. (Bug#16762)
541
542 2014-03-24 Daniel Colascione <dancol@dancol.org>
543
544 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
545 instead of cl-loop search function.
546
547 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
548
549 * frameset.el (frameset--initial-params): Fix typo in parameter name.
550
551 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
552
553 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
554
555 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
556
557 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
558 Match special global variables without curlies, too.
559 (ruby-font-lock-keywords): Simplify the matcher for special global
560 variables. Don't require a non-word character after the variable.
561 (Bug#17057)
562
563 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * simple.el (redisplay-highlight-region-function): Increase priority of
566 overlay to make sure boundaries are visible (bug#15899).
567
568 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
569
570 * frameset.el (frameset-restore): Compare display strings with equal.
571
572 * frame.el (make-frame): Don't quote display name in error message,
573 it is already a string.
574
575 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
576
577 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
578 the password.
579
580 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
581
582 * emacs-lisp/package.el (package-show-package-list): If the buffer
583 is already displayed in another window, switch to that window.
584
585 2014-03-21 Daniel Colascione <dancol@dancol.org>
586
587 * mail/emacsbug.el (report-emacs-bug): Include memory usage
588 information in bug reports.
589
590 2014-03-23 Daniel Colascione <dancol@dancol.org>
591
592 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
593 list to look for keyword arguments instead of `memq', fixing
594 (Bug#3647) --- unfortunately, only for freshly-compiled code.
595 Please make bootstrap.
596
597 2014-03-23 Richard Stallman <rms@gnu.org>
598
599 * battery.el (battery-linux-sysfs): Search for each field
600 from the beginning of the buffer.
601
602 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
603
604 * emacs-lisp/package.el (package-desc): Use the contents of the
605 quoted form, not its cdr. (Bug#16873)
606
607 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
608
609 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
610 benefit of doc.c; change parameter profile to match the X function.
611
612 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
613
614 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
615 and `tramp-copy-env'.
616
617 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
618 (tramp-maybe-open-connection): Handle `tramp-login-env'.
619
620 2014-03-21 Glenn Morris <rgm@gnu.org>
621
622 * electric.el (electric-indent-post-self-insert-function): Add doc.
623
624 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
625
626 * emacs-lisp/package.el (package-compute-transaction):
627 Use `version-list-<=' to compare the requirement version against
628 the version of package already to be installed. Update the error
629 message. (Bug#16826)
630
631 * progmodes/ruby-mode.el (ruby-smie-rules):
632 Add indentation rule for ` @ '. (Bug#17050)
633
634 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
635
636 * align.el (align-regexp): Remove superfluous backslash.
637
638 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
639 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
640 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
641 Fix docstring typos.
642 (ffap-next): Use C-u in docstring.
643 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
644 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
645 Remove superfluous backslashes.
646 (ffap-string-at-point): Reflow docstring.
647
648 * server.el (server-host): Reflow docstring.
649 (server-unload-function): Fix docstring typo.
650 (server-eval-at): Remove superfluous backslash.
651
652 * skeleton.el (skeleton-insert): Remove superfluous backslash.
653 (skeleton-insert): Doc fix.
654 (skeleton-insert): Reflow docstring.
655
656 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
657 (tty-color-approximate, tty-color-by-index, tty-color-values)
658 (tty-color-desc): Remove superfluous backslashes.
659
660 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * electric.el (electric-newline-and-maybe-indent): New command.
663 Bind it globally to C-j.
664 (electric-indent-mode): Don't mess with the global map any more.
665 Don't drop the post-self-insert-hook is some buffer is still using it
666 (bug#16770).
667
668 * bindings.el (global-map): Remove C-j binding.
669
670 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
671 the docstring of functions advised before dumping (bug#16993).
672
673 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
674
675 * ps-print.el (ps-generate-postscript-with-faces):
676 Explicitly deactivate the mark (bug#16866).
677 * simple.el (deactivate-mark): Update region highlight.
678
679 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
680
681 * emacs-lisp/package.el (describe-package-1):
682 Decode commentary (bug#16733).
683
684 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
685
686 * custom.el (defcustom): Doc fix: recommend avoiding destructive
687 modification of the value argument of :set (bug#16755).
688
689 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * simple.el (newline-and-indent): Do autofill (bug#17031).
692
693 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
694
695 * newcomment.el (comment-normalize-vars): Only add escaping check
696 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
697 (comment-beginning): Use `narrow-to-region' instead of moving back
698 one character.
699 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
700 (comment-start-skip): Update the docstring.
701
702 2014-03-18 Richard Stallman <rms@gnu.org>
703
704 * dired.el (dired-display-file): Force use of other window.
705
706 2014-03-18 Daniel Colascione <dancol@dancol.org>
707
708 * startup.el (tty-handle-args): Remove debug message from 2007.
709
710 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
713 (advice--make-interactive-form): Use it to avoid (auto)loading function.
714 (advice--make-1, advice-add, advice-remove):
715 Remove braindead :advice-pending hack.
716
717 2014-03-17 Glenn Morris <rgm@gnu.org>
718
719 * calendar/calendar.el (calendar-generate-month): Apply weekend
720 face to the right days; fixes 2013-08-06 change. (Bug#17028)
721
722 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
723
724 * net/tramp.el (tramp-action-out-of-band): Read pending output.
725 (tramp-call-process): Trace also DESTINATION.
726
727 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
728 Quote file names when they are local. Remove superfluous trace.
729
730 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
731
732 * newcomment.el (comment-beginning): If `comment-start-skip'
733 doesn't match, move back one char and try again. (Bug#16971)
734
735 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
736 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
737 Set `comment-start-skip' to a simpler value that doesn't try to
738 check if the semicolon is escaped (this is handled by
739 `syntax-ppss' now). (Bug#16971)
740
741 * progmodes/scheme.el (scheme-mode-variables): Same.
742
743 2014-03-16 Martin Rudalics <rudalics@gmx.at>
744
745 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
746 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
747 current (Bug#16816, Bug#17007).
748 (with-current-buffer-window): New macro doing the same as
749 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
750 * help.el (help-print-return-message): Warn in doc-string to not
751 use this in `with-help-window'.
752 (describe-bindings-internal): Call `describe-buffer-bindings'
753 from within help buffer. See Juanma's scenario in (Bug#16816).
754 (with-help-window): Update doc-string.
755 * dired.el (dired-mark-pop-up):
756 * files.el (save-buffers-kill-emacs):
757 * register.el (register-preview): Use `with-current-buffer-window'
758 instead of `with-temp-buffer-window'.
759
760 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
761
762 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
763 Implement inserting into current buffer, documented in their docstrings.
764 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
765 (rst-section-tree-point, rst-forward-section, rst-indent)
766 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
767 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
768 (rst-font-lock-handle-adornment-pre-match-form)
769 (rst-repeat-last-character): Reflow docstrings.
770 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
771 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
772 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
773 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
774 Fix docstring typos.
775 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
776 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
777 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
778
779 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
780
781 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
782 for compatibility with other ports.
783 (ns-initialize-window-system): Use it. It is set in term/common-win.el
784 from the -xrm command line argument, but in the Nextstep port its value
785 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
786
787 * progmodes/python.el (defconst, python-syntax-count-quotes)
788 (python-indent-region, python-indent-shift-right)
789 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
790 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
791 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
792 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
793 (inferior-python-mode, python-shell-make-comint, run-python-internal)
794 (python-shell-buffer-substring, python-shell-send-buffer)
795 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
796 (python-completion-complete-at-point, python-fill-docstring-style)
797 (python-eldoc-function, python-imenu-format-item-label)
798 (python-imenu-format-parent-item-label)
799 (python-imenu-format-parent-item-jump-label)
800 (python-imenu--build-tree, python-imenu-create-index)
801 (python-imenu-create-flat-index): Fix docstring typos.
802 (python-indent-context, python-shell-prompt-regexp, run-python):
803 Remove superfluous backslashes.
804 (python-indent-line, python-nav-beginning-of-defun)
805 (python-shell-get-buffer, python-shell-get-process)
806 (python-info-current-defun, python-info-current-line-comment-p)
807 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
808 (python-indent-post-self-insert-function, python-shell-send-file)
809 (python-shell-completion-get-completions)
810 (python-shell-completion-complete-or-indent)
811 (python-eldoc--get-doc-at-point): Reflow docstrings.
812
813 2014-03-14 Glenn Morris <rgm@gnu.org>
814
815 * emacs-lisp/package.el (package-menu-mode-map):
816 Replace use of obsolete function alias. Tweak menu item text.
817
818 * info.el (Info-finder-find-node):
819 Ignore the `emacs' metapackage. (Bug#10813)
820
821 * finder.el (finder-list-matches): Include unversioned packages
822 in the result of a keyword search.
823
824 * finder.el (finder--builtins-descriptions): New constant.
825 (finder-compile-keywords): Use finder--builtins-descriptions.
826
827 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
828
829 * simple.el (blink-matching-paren): Describe the new value,
830 `jump', enabling the old behavior.
831 (blink-matching-open): Use that value. (Bug#17008)
832
833 2014-03-14 Glenn Morris <rgm@gnu.org>
834
835 * finder.el (finder-no-scan-regexp): Add leim-list.
836 (finder-compile-keywords):
837 Don't skip files with same basename. (Bug#14010)
838 * Makefile.in (setwins_finder): New, excluding leim.
839 (finder-data): Use setwins_finder.
840
841 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
842 (help-function-arglist, help-make-usage): Move from here...
843 * help.el (help-split-fundoc, help-add-fundoc-usage)
844 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
845 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
846
847 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
848
849 * net/socks.el (socks, socks-override-functions)
850 (socks-find-services-entry):
851 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
852 (hif-find-ifdef-block):
853 * progmodes/modula2.el (m2-indent): Fix docstring typos.
854
855 * net/tls.el (tls-program): Reflow docstring.
856
857 * progmodes/pascal.el (pascal-mode-abbrev-table)
858 (pascal-imenu-generic-expression, pascal-auto-endcomments)
859 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
860 (pascal-outline-mode): Fix docstring typos.
861 (pascal-mode): Let define-derived-mode document mode hook.
862 (pascal-uncomment-area): Reflow.
863 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
864
865 * progmodes/opascal.el (opascal-compound-block-indent)
866 (opascal-case-label-indent): Fix docstring typos.
867 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
868
869 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
870
871 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
872 Fontify multiple adjacent negation chars. (Bug#17004)
873
874 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
875
876 * emacs-lisp/package.el (package--prepare-dependencies):
877 Accept requirements without explicit version (bug#14941).
878
879 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
880
881 * register.el (register-separator, copy-to-register): Doc fixes.
882 (register-preview-default): Remove unnecessary call to concat.
883
884 * frameset.el (frameset-restore): When checking for a visible frame,
885 use the action map instead of calling visible-frame-list.
886
887 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
888
889 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
890
891 2014-03-12 Martin Rudalics <rudalics@gmx.at>
892
893 * window.el (fit-frame-to-buffer): Get maximum width from
894 display's width instead of height.
895
896 2014-03-12 Glenn Morris <rgm@gnu.org>
897
898 * desktop.el (desktop-restore-frames)
899 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
900 (desktop-restore-reuses-frames): Doc tweaks.
901
902 * electric.el (electric-indent-mode): Doc fix.
903
904 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
905
906 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
907 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
908 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
909 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
910 (cvs-dired-use-hook): Fix docstring typos.
911 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
912 Doc fixes.
913
914 * vc/pcvs-defs.el (cvs-auto-remove-handled)
915 (cvs-auto-remove-directories, cvs-default-ignore-marks)
916 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
917 (cvs-execute-single-dir): Fix docstring typos.
918
919 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
920 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
921
922 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
923
924 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
925 Fix docstring typos.
926
927 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
928
929 * frameset.el (frameset--jump-to-register): Add autoload; it could be
930 called from jump-to-register after unloading the frameset package.
931
932 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
935 (bug#16975). Deactivate the mark before setting it to nil.
936 (activate-mark): Do nothing if region is already active.
937
938 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
939
940 * frameset.el (frameset--target-display): Remove definition; declare.
941 (frameset-save, frameset-restore): Let-bind frameset--target-display.
942
943 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
946 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
947 when the advice is pending.
948 (advice-remove): Remove this marker when not needed any more.
949
950 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
951
952 * frameset.el: Separate options for reusing frames and cleaning up.
953 (frameset--reuse-list): Remove definition; declare.
954 (frameset--action-map): Declare.
955 (frameset--find-frame-if): Doc fix.
956 (frameset--restore-frame): Cache frame action.
957 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
958 how to clean up the frame list after restoring. Remove cleaning
959 options from REUSE-FRAMES. Change all keyword values to symbols.
960 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
961
962 * desktop.el (desktop-restore-forces-onscreen)
963 (desktop-restore-reuses-frames): Use non-keyword values.
964 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
965
966 2014-03-10 Glenn Morris <rgm@gnu.org>
967
968 * files.el (find-file): Doc fix: update info node name.
969
970 * emacs-lisp/advice.el (ad-add-advice, defadvice):
971 Doc fix: remove references to deleted info nodes.
972
973 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
974
975 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
976 Do not add `nil' to the environment, when there's no remote `locale'.
977 (tramp-find-inline-encoding): Check, that the remote host has
978 installed perl, before sending scripts.
979
980 2014-03-10 Leo Liu <sdl.web@gmail.com>
981
982 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
983 Clear eldoc-last-message. (Bug#16920)
984
985 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
986
987 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
988 (bug#14430).
989
990 2014-03-09 Juri Linkov <juri@jurta.org>
991
992 * ansi-color.el (ansi-color-names-vector): Copy default colors
993 from `xterm-standard-colors' that look well on the default white
994 background (and also on the black background) to avoid illegible
995 color combinations like yellow-on-white and white-on-white.
996 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
997
998 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
999
1000 * frameset.el (frameset-restore): When no frame is visible, do not
1001 generate a list of frames, just make visible the selected one.
1002
1003 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1004
1005 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1006 it only contains the repository root. (Bug#16897)
1007
1008 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1009
1010 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1011 only when `remote-file-name-inhibit-cache' is nil.
1012 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1013
1014 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1015
1016 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1017 Fix doc-strings.
1018 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1019 fit-frame-to-buffer variable. Fix doc-string.
1020 (fit-window-to-buffer): Set ONLY argument in call of
1021 fit-frame-to-buffer. Fix doc-string.
1022
1023 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1024
1025 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1026 (tramp-action-password): Clear password cache if needed.
1027 (tramp-read-passwd): Do not clear password cache.
1028
1029 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1030 cache unless it is the first password request.
1031
1032 2014-03-06 Glenn Morris <rgm@gnu.org>
1033
1034 * simple.el (newline): Doc tweak.
1035
1036 * emacs-lisp/shadow.el (load-path-shadows-find):
1037 Ignore dir-locals. (Bug#12357)
1038
1039 2014-03-05 Glenn Morris <rgm@gnu.org>
1040
1041 * files.el (interpreter-mode-alist):
1042 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1043
1044 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1045
1046 * frameset.el (frameset--initial-params): Filter out null entries.
1047
1048 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1049
1050 * window.el (window-min-height, window-min-width):
1051 Rewrite doc-strings.
1052 (window-body-size): Add PIXELWISE argument to make it consistent
1053 with its callees.
1054
1055 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1056
1057 * finder.el (finder-mode-map, finder-mode-syntax-table):
1058 Revert part of 2014-02-28 change.
1059
1060 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1061
1062 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1063 (eww-setup-buffer): Clear next/prev/etc more reliably.
1064 (eww-textarea-map): [tab] doesn't work on tty.
1065 Reported by Mario Lang.
1066
1067 * net/shr.el (shr-map): Ditto.
1068
1069 2014-03-04 Glenn Morris <rgm@gnu.org>
1070
1071 * minibuffer.el (completion-hilit-commonality):
1072 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1073
1074 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1075
1076 * hilit-chg.el (hilit-chg-unload-function): New function.
1077 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1078 (hilit-chg-map-changes): Prefer cardinal number to digit.
1079 (hilit-chg-display-changes): Reflow docstring.
1080 (highlight-changes-rotate-faces): Remove superfluous backslash.
1081
1082 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1083
1084 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1085 `tramp-send-command-and-check'.
1086
1087 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1088
1089 * hexl.el (hexl-address-region, hexl-ascii-region)
1090 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1091 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1092 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1093 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1094 (hexl-mode): Doc fix.
1095 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1096 (hexl-mode-ruler): Fix typos in docstrings.
1097
1098 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1099 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1100 Remove superfluous backslashes.
1101 (strokes-last-stroke, strokes-global-map, strokes-mode):
1102 Reflow docstrings.
1103 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1104 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1105 (strokes-distance-squared, strokes-global-set-stroke)
1106 (strokes-global-set-stroke-string): Doc fixes.
1107 (strokes-help): Fix typos; reflow docstring.
1108
1109 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1110
1111 * window.el (window-in-direction): Fix doc-string.
1112
1113 2014-03-04 Glenn Morris <rgm@gnu.org>
1114
1115 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1116 Explicit error if no grammar.
1117 (smie-config-save): Doc fix. Fix quote typo.
1118
1119 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1122 electric-indent-mode-hook if we obey electric-indent-mode.
1123 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1124 decide whether we obey electric-indent-mode.
1125 (c-change-set-fl-decl-start, c-extend-after-change-region):
1126 Silence warnings.
1127 (c-electric-indent-mode-hook): Assume we do want to obey
1128 electric-indent-mode.
1129
1130 * electric.el (electric-indent-mode-has-been-called): Remove.
1131 (electric-indent-mode): Fix accordingly.
1132
1133 * files.el (hack-local-variables): Mention file name in warning.
1134
1135 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1136
1137 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1138
1139 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1140 * simple.el (delete-forward-char): Mark as interactive-only.
1141
1142 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1143
1144 * icomplete.el (icomplete-completions):
1145 Follow-up to 2014-03-01 change.
1146
1147 * icomplete.el: Miscellaneous doc fixes.
1148 Use Icomplete everywhere instead of icomplete for consistency.
1149 (icomplete-max-delay-chars): Fix typo.
1150 (icomplete-mode): Use \[].
1151 (icomplete-tidy, icomplete-exhibit): Reflow.
1152 (icomplete-minibuffer-setup-hook, icomplete-completions):
1153 Remove superfluous backlashes.
1154
1155 * ido.el: Miscellaneous doc fixes.
1156 Use Ido everywhere instead of ido or `ido' for consistency.
1157 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1158 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1159 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1160 (ido-separator): Extract obsolescence info from docstring and declare
1161 with make-obsolete-variable.
1162 (ido-minibuffer-setup-hook): Simplify example.
1163 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1164 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1165 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1166 (ido-everywhere): Reflow docstring.
1167 (ido-toggle-vc): Doc fix.
1168 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1169 of long list of keybindings.
1170
1171 2014-03-03 Glenn Morris <rgm@gnu.org>
1172
1173 * frame.el (display-pixel-height, display-pixel-width)
1174 (display-mm-dimensions-alist, display-mm-height)
1175 (display-mm-width): Doc tweaks.
1176
1177 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1178
1179 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1180 case of undo in region.
1181
1182 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1183
1184 * window.el (fit-window-to-buffer): Fix argument in window-size
1185 call when window is horizontally combined.
1186
1187 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1188
1189 * icomplete.el (icomplete-completions): Use string-width.
1190 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1191
1192 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1193
1194 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1195 Highlight regexp options. (Bug#16914)
1196
1197 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1198
1199 * window.el (window--max-delta-1): Round down when calculating
1200 how many lines/columns we can get from a window.
1201
1202 2014-03-01 Glenn Morris <rgm@gnu.org>
1203
1204 * isearch.el (search-invisible): Doc fix.
1205
1206 * minibuffer.el (completion-hilit-commonality):
1207 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1208 * comint.el (comint-dynamic-list-completions): Doc fix.
1209 * comint.el (comint-dynamic-list-completions):
1210 * filecache.el (file-cache-minibuffer-complete):
1211 * tempo.el (tempo-display-completions):
1212 * eshell/em-hist.el (eshell-list-history):
1213 Replace use of obsolete argument of display-completion-list.
1214
1215 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1216
1217 * icomplete.el (icomplete-completions):
1218 Revert back to using "..." when ?… cannot be displayed.
1219
1220 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1221
1222 * finder.el (finder-unload-function): New function.
1223
1224 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1225
1226 * dframe.el (dframe-detach):
1227 * find-dired.el (find-dired, find-name-dired):
1228 * finder.el (finder-mode-map, finder-mode-syntax-table)
1229 (finder-headmark, finder-select, finder-mouse-select):
1230 Fix docstring typos.
1231
1232 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1233
1234 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1235 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1236 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1237 Fix doc-string based on a suggestion by Nicolas Richard
1238 <theonewiththeevillook@yahoo.fr>.
1239 * help.el (with-help-window): Fix doc-string.
1240
1241 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1242
1243 * net/shr.el (shr-image-animate): New option.
1244 (shr-put-image): Respect shr-image-animate.
1245
1246 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1247
1248 * net/tramp-adb.el (tramp-adb-parse-device-names):
1249 Use `accept-process-output'.
1250 (tramp-adb-handle-file-truename): Cache the localname only.
1251 (tramp-adb-handle-make-directory)
1252 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1253 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1254 modes cannot be changed.
1255
1256 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1257 file properties of symlinks.
1258
1259 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1260
1261 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1262 required/optional fields to match development biblatex. (Bug#16781)
1263
1264 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1265
1266 * saveplace.el (toggle-save-place):
1267 Fix argument handling. (Bug#16673)
1268
1269 2014-02-28 Glenn Morris <rgm@gnu.org>
1270
1271 * minibuffer.el (completions-first-difference)
1272 (completions-common-part, completion-hilit-commonality): Doc fixes.
1273
1274 2014-02-28 Karl Berry <karl@gnu.org>
1275
1276 * info.el (Info-mode-map): Add H for describe-mode,
1277 to synchronize with standalone Info.
1278
1279 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1280
1281 * progmodes/sql.el (sql-interactive-mode):
1282 Avoid setting global comint-input-ring-separator. (Bug#16814)
1283
1284 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1285
1286 * net/dbus.el (dbus--init-bus): Declare function.
1287 (dbus-path-local, dbus-interface-local): New defconst.
1288 (dbus-init-bus): Use them.
1289 (dbus-return-values-table): Extend doc.
1290 (dbus-handle-bus-disconnect): Extend error message.
1291
1292 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1293
1294 * subr.el (y-or-n-p): Fix double space issue in message.
1295
1296 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1297
1298 * net/tramp.el (tramp-call-process): Improve trace message.
1299 (tramp-handle-insert-file-contents): Trace error case.
1300
1301 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1302 <insert-directory>: Use `tramp-handle-insert-directory'.
1303 (tramp-adb-handle-insert-directory): Remove function.
1304 (tramp-adb-send-command-and-check): New defun, replacing
1305 `tramp-adb-command-exit-status'. Change all callees.
1306 (tramp-adb-handle-file-attributes)
1307 (tramp-adb-handle-directory-files-and-attributes): Use it.
1308 (tramp-adb-ls-output-name-less-p):
1309 Use `directory-listing-before-filename-regexp'.
1310 (tramp-adb-handle-delete-directory): Flush also file properties of
1311 the truename of directory.
1312 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1313 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1314 (tramp-adb-handle-write-region): Implement APPEND.
1315 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1316 properties correctly.
1317 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1318 variables. Check for connected devices only when needed.
1319
1320 2014-02-27 Glenn Morris <rgm@gnu.org>
1321
1322 * minibuffer.el (completion-table-dynamic)
1323 (completion-table-with-cache): Doc fixes.
1324
1325 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1326 (completing-read-multiple): Doc fixes.
1327
1328 2014-02-27 Daniel Colascione <dancol@dancol.org>
1329
1330 * minibuffer.el (completion--nth-completion): Fix indentation.
1331
1332 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1333 explicit tramp path is empty.
1334
1335 2014-02-27 Glenn Morris <rgm@gnu.org>
1336
1337 * emacs-lisp/crm.el (completing-read-multiple):
1338 Empower help-enable-auto-load.
1339
1340 2014-02-26 Glenn Morris <rgm@gnu.org>
1341
1342 * startup.el (command-line): Don't init the tty in daemon mode.
1343
1344 Avoid calling tty-setup-hook twice, eg if a term file
1345 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1346 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1347 (tty-create-frame-with-faces): Use it.
1348 * startup.el (command-line): Pass run-hook argument
1349 to tty-run-terminal-initialization.
1350
1351 * dired.el (dired-restore-desktop-buffer): Demote errors;
1352 eg in case a glob match fails. (Bug#16884)
1353
1354 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1355
1356 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1357 error from `read-from-string'. (Bug#16850)
1358
1359 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1360 result of `completing-read' in the interactive form. (Bug#16854)
1361
1362 2014-02-25 Glenn Morris <rgm@gnu.org>
1363
1364 * image.el (image-animate, image-animate-timeout):
1365 Stop animating images in dead buffers. (Bug#16878)
1366
1367 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1368
1369 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1370 Doc fixes.
1371 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1372 * term/sun.el (sun-raw-prefix-hooks):
1373 Use tty-setup-hook instead of term-setup-hook.
1374 (terminal-init-sun): Construct message from bytecomp plist.
1375 * term/wyse50.el (enable-arrow-keys): Doc fix.
1376
1377 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1378
1379 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1380 Fix docstring typos.
1381
1382 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1383
1384 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1385
1386 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1387
1388 * minibuffer.el (completion--try-word-completion):
1389 Fix error when completing M-x commands (bug#16808).
1390
1391 2014-02-24 Leo Liu <sdl.web@gmail.com>
1392
1393 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1394
1395 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1396
1397 * apropos.el (apropos-print): Avoid formatting error when
1398 apropos-do-all and apropos-compact-layout are both t.
1399
1400 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1401
1402 * apropos.el (apropos-property, apropos-all-words-regexp)
1403 (apropos-true-hit, apropos-variable, apropos-print):
1404 Fix docstring typos, and remove obsolete comment.
1405
1406 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1407
1408 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1409 Preserve trailing "/". (Bug#16851)
1410
1411 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1412
1413 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1414 after `=>' (bug#16811).
1415 (ruby-smie-rules): Handle the inconsistent second element of the
1416 list returned by `smie-indent--parent'.
1417 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1418 method call.
1419
1420 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1421
1422 * elec-pair.el (electric-pair-text-syntax-table)
1423 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1424 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1425 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1426 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1427
1428 2014-02-22 Glenn Morris <rgm@gnu.org>
1429
1430 * imenu.el (imenu--generic-function): Doc fix.
1431
1432 * register.el (frame-configuration-to-register): Make obsolete.
1433
1434 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1435
1436 * desktop.el (desktop-save-buffer-p): Do not fail when
1437 desktop-files-not-to-save is nil. Return t for true result
1438 as the doc says.
1439
1440 2014-02-22 Daniel Colascione <dancol@dancol.org>
1441
1442 * net/secrets.el (secrets-create-item, secrets-search-items):
1443 Check that attribute values are strings, avoiding the construction
1444 of invalid dbus messages.
1445
1446 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1447
1448 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1449 defun-declarations-alist.
1450
1451 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1454 (bug#16829).
1455
1456 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1457
1458 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1459 (whitespace-newline, whitespace-trailing, whitespace-line)
1460 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1461 (whitespace-space-after-tab): Fix typo in docstrings.
1462
1463 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1464
1465 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1466
1467 * electric.el (electric-indent-functions-without-reindent):
1468 Add `yaml-indent-line'.
1469
1470 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1471
1472 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1473 It has done nothing for years; should be removed after the release.
1474
1475 * simple.el (choose-completion): Fix docstring typo.
1476 (read-quoted-char-radix): Remove unneeded * in docstring.
1477 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1478 Don't escape parentheses unnecessarily in docstrings.
1479
1480 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1481
1482 Fix handling of window-min-height/-width (Bug#16738).
1483 * window.el (window--dump-window, window--dump-frame):
1484 New functions.
1485 (window--min-size-1): Account for window dividers.
1486 When window-resize-pixelwise is nil, delay rounding till after the
1487 sum of the window components has been calculated.
1488 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1489 nil make sure at least one text line and two text columns remain
1490 fully visible.
1491 (window-resize): Signal an error when window-resize-apply fails.
1492 (window--resize-child-windows): Fix calculation of by how many
1493 pixels a window can still be shrunk via window-new-normal.
1494 (adjust-window-trailing-edge): Call window--resizable with
1495 correct TRAIL argument.
1496
1497 (with-temp-buffer-window): Don't evaluate BODY within
1498 with-current-buffer (Bug#16816).
1499
1500 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1501
1502 * net/tramp.el (tramp-check-cached-permissions):
1503 Call `file-attributes' with `suffix' being a symbol but a string.
1504
1505 2014-02-21 Daniel Colascione <dancol@dancol.org>
1506
1507 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1508 (dbus-init-bus): New function: call into dbus-init-bus-1
1509 and installs a handler for the disconnect signal.
1510 (dbus-call-method): Rewrite to look for result in cons.
1511 (dbus-call-method-handler): Store result in cons.
1512 (dbus-check-event): Recognize events with nil sender as valid.
1513 (dbus-handle-bus-disconnect): New function. React to bus
1514 disconnection signal by synthesizing dbus error for each
1515 pending synchronous or asynchronous call.
1516 (dbus-notice-synchronous-call-errors): New function.
1517 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1518 is true, not all the time.
1519
1520 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1521
1522 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1523 Remove obsolescence declarations, these variables do not exist anymore.
1524
1525 * savehist.el (savehist-save-minibuffer-history)
1526 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1527 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1528 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1529 mostly, refer to "Savehist mode" when talking about the mode,
1530 and not the function.
1531
1532 * saveplace.el (save-place): Remove redundant info in docstring.
1533 (save-place-forget-unreadable-files, toggle-save-place)
1534 (save-place-forget-unreadable-files, save-place-dired-hook):
1535 Fix typos and remove unneeded backslashes.
1536
1537 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1538
1539 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1540 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1541
1542 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1543 <insert-directory>: Use `tramp-handle-insert-directory'.
1544 (tramp-gvfs-handle-insert-directory): Remove function.
1545
1546 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1547 Call `tramp-handle-insert-directory'.
1548
1549 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1550
1551 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1552 before the start of buffer/region (bug#16799).
1553
1554 2014-02-20 Glenn Morris <rgm@gnu.org>
1555
1556 * isearch.el (search-invisible): Doc fix.
1557
1558 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1559
1560 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1561 (bug#16657).
1562
1563 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1564
1565 * frameset.el (frameset-restore): Delay removing an old frame's
1566 duplicate id until the new frame has been correctly created.
1567
1568 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1569
1570 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1571 (tramp-check-cached-permissions): Call `file-attributes' if the
1572 cache is empty.
1573
1574 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1575 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1576
1577 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1578 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1579 (tramp-gvfs-maybe-open-connection): Set always connection
1580 properties, even if target is mounted already.
1581
1582 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1583 Set tramp-autoload cookie.
1584 (tramp-get-remote-touch): New defun.
1585 (tramp-sh-handle-set-file-times): Use it.
1586 (tramp-sh-handle-directory-files-and-attributes):
1587 Use `tramp-handle-directory-files-and-attributes' if neither stat
1588 nor perl are available on the remote host.
1589
1590 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1591 "/". Write long listing only when "l" belongs to the switches.
1592
1593 * net/trampver.el: Update release number.
1594
1595 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1596
1597 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1598
1599 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1600
1601 * window.el (window-state-put): Allow WINDOW to refer to an
1602 internal window (Bug#16793).
1603
1604 2014-02-19 Glenn Morris <rgm@gnu.org>
1605
1606 * textmodes/remember.el: Move provide statement to end.
1607 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1608 (remember-notes): Doc fixes.
1609
1610 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * delsel.el (delete-char): Restore incorrectly erased property
1613 (bug#16795).
1614
1615 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1616
1617 * frameset.el (frameset--restore-frame): When a frame is being reused
1618 and its root window is not alive, delete all the frame's windows before
1619 restoring the window state. This works around the issue in bug#16793.
1620
1621 2014-02-18 Glenn Morris <rgm@gnu.org>
1622
1623 * textmodes/remember.el (remember-data-directory)
1624 (remember-directory-file-name-format, remember-store-in-files)
1625 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1626 (remember-notes-save-and-bury-buffer)
1627 (remember-notes--kill-buffer-query): Doc fixes.
1628
1629 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1630
1631 2014-02-17 Alan Mackenzie <acm@muc.de>
1632
1633 Connect electric-indent-mode up with CC Mode. Bug #15478.
1634 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1635 to electric-indent-{,local-}-mode.
1636 (c-basic-common-init): Set electric-indent-inhibit.
1637 Initialise c-electric-flag from electric-indent-mode.
1638 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1639 New hook functions which propagate electric-indent-mode to CC mode.
1640
1641 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1642 hit, toggle electric-indent-local-mode.
1643
1644 * electric.el (electric-indent-mode-has-been-called):
1645 New variable.
1646
1647 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1648
1649 * frameset.el (frameset-cfg-id): New function.
1650 (frameset--reuse-frame, frameset-restore): Use it.
1651 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1652
1653 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1654
1655 * ido.el (ido-file-internal): Remove unused var `d'.
1656 Use \` for to match BoS. Fit within 80n columns.
1657
1658 2014-02-17 Daniel Colascione <dancol@dancol.org>
1659
1660 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1661 dbus-call-method check for completion using a busy-wait loop with
1662 gradual backoff.
1663
1664 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1665
1666 Sync with Tramp 2.2.9.
1667
1668 * net/trampver.el: Update release number.
1669
1670 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1671
1672 * ido.el (ido-file-internal): Don't add the name of an existing
1673 directory twice. (Bug#16747)
1674
1675 2014-02-16 Glenn Morris <rgm@gnu.org>
1676
1677 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1678 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1679
1680 2014-02-15 Michael R. Mauger <michael@mauger.com>
1681
1682 * progmodes/sql.el: Version 3.4
1683 (sql-oracle-options): New default value ("-L").
1684 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1685 (sql-placeholders-filter): Correct placeholder pattern.
1686 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1687 (sql-login-delay): New variable.
1688 (sql-product-interactive): Use it.
1689
1690 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1691
1692 * frameset.el (frameset--jump-to-register): Check that buffer is live
1693 (bug#16749).
1694
1695 2014-02-15 Glenn Morris <rgm@gnu.org>
1696
1697 * info.el (info-initialize): Revert 2014-01-10 change.
1698
1699 2014-02-14 Glenn Morris <rgm@gnu.org>
1700
1701 * replace.el (map-query-replace-regexp)
1702 (read-regexp-defaults-function, read-regexp): Doc fixes.
1703
1704 * dired.el (dired-read-regexp):
1705 * faces.el (list-faces-display):
1706 * misearch.el (multi-isearch-read-matching-buffers)
1707 (multi-isearch-read-matching-files):
1708 * play/cookie1.el (cookie-apropos):
1709 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1710
1711 * textmodes/remember.el (remember): Use frameset-to-register
1712 rather than frame-configuration-to-register.
1713
1714 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1715
1716 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1717 incorrect keybinding.
1718
1719 2014-02-13 Daniel Colascione <dancol@dancol.org>
1720
1721 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1722 when adding overlays so that line numbers from compiler match line
1723 numbers we use.
1724
1725 2014-02-13 Glenn Morris <rgm@gnu.org>
1726
1727 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1728
1729 * jit-lock.el (jit-lock-mode): Doc fix.
1730
1731 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1732
1733 * apropos.el (apropos-read-pattern): When the user passes an empty
1734 string, give a more helpful error message than "Wrong type
1735 argument: stringp, nil".
1736
1737 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1740
1741 2014-02-13 Glenn Morris <rgm@gnu.org>
1742
1743 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1744
1745 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1748 shift-select commands.
1749
1750 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1751
1752 * progmodes/js.el (js-indent-line): Don't widen.
1753 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1754
1755 2014-02-12 Glenn Morris <rgm@gnu.org>
1756
1757 * icomplete.el (icomplete): Add info-link to defgroup.
1758 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1759 (icomplete-minibuffer-map, icomplete-mode)
1760 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1761
1762 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1763 (package-menu-filter): Rename from package-menu-filter-interactive.
1764 Doc fix.
1765
1766 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1767
1768 * frameset.el (frameset--jump-to-register): Select the required
1769 window and buffer before restoring position (bug#16696).
1770
1771 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1772
1773 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1774
1775 2014-02-10 Glenn Morris <rgm@gnu.org>
1776
1777 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1778
1779 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1780
1781 * w32-common-fns.el (x-get-selection): Doc fix.
1782 * select.el (x-get-selection): Doc fix. (Bug#15109)
1783
1784 * face-remap.el (face-remap-add-relative)
1785 (face-remap-remove-relative, face-remap-reset-base)
1786 (face-remap-set-base): Call force-mode-line-update to redisplay
1787 the current buffer due to potential change in faces. (Bug#16709)
1788
1789 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1790
1791 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1792 script more robustly.
1793
1794 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1795
1796 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1797
1798 * simple.el (choose-completion): Doc fix (bug#14160).
1799
1800 * subr.el (event-start): Say what a nil EVENT value means.
1801
1802 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1803 (bug#14197).
1804
1805 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1806
1807 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1808
1809 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1810
1811 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1812 predicate function (bug#15455).
1813
1814 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1815
1816 * ielm.el (inferior-emacs-lisp-mode): Instead of
1817 `comment-use-global-state', set `comment-use-syntax'.
1818
1819 2014-02-10 Glenn Morris <rgm@gnu.org>
1820
1821 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1822
1823 2014-02-09 Alan Mackenzie <acm@muc.de>
1824
1825 Fix c-invalidate-state-cache on narrowed buffers.
1826 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1827 Widen when setting and clearing the CPP delimiter properties.
1828
1829 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1830
1831 * help.el (describe-bindings): Doc fix (bug#9888).
1832
1833 * files.el (save-buffer): Use ARG as the parameter name for
1834 consistency (bug#10346).
1835 (save-buffer): Clarify the 0 argument (bug#10346).
1836
1837 * cus-edit.el (customize-apropos): Fix error string.
1838 (custom-buffer-create): Doc fix (bug#11122).
1839 (custom-sort-items): Doc fix (bug#11121).
1840
1841 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1842
1843 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1844 (icomplete-simple-completing-p): Mention the previous variable.
1845
1846 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1847 meaning of the parameter (bug#12282).
1848
1849 * files.el (find-file-noselect): Clarify prompt when changing
1850 readedness (bug#13261).
1851 (locate-file): Suffixes aren't returned, so don't say that they
1852 are (bug#12674).
1853 (backup-inhibited): Doc clarification (bug#12525).
1854
1855 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1856 before we actually start to delete things (bug#16331).
1857
1858 * subr.el (event-start): Doc fix (bug#14228).
1859 (event-end): Ditto.
1860
1861 2014-02-09 Glenn Morris <rgm@gnu.org>
1862
1863 * emacs-lisp/warnings.el (lwarn):
1864 Empower help-enable-auto-load. (Bug#15940)
1865
1866 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1867
1868 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1869 (Bug#16690)
1870
1871 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1872
1873 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1874 Insert output at end of buffer. (Bug#16120)
1875
1876 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1877
1878 * simple.el (choose-completion-string-functions): Document new
1879 calling convention (bug#14153).
1880 (execute-extended-command): Clarify doc string (bug#13373).
1881
1882 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1883
1884 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1885 (find-grep-dired): Doc fix (bug#14288).
1886
1887 2014-02-08 Juri Linkov <juri@jurta.org>
1888
1889 * isearch.el (isearch-quote-char): Check character validity
1890 like in `quoted-insert' (bug#16677).
1891
1892 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1893
1894 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1895
1896 * isearch.el (isearch-hide-immediately): Doc clarification
1897 (bug#14723).
1898
1899 * simple.el (line-move): Document utility function used many
1900 places in the Emacs sources (bug#14843).
1901
1902 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1903 (dired-prev-marked-file): Doc fix (bug#14855).
1904 (dired-up-directory): Doc fix (bug#14848).
1905
1906 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1907
1908 * files.el (file-relative-name): Doc fix (bug#15159).
1909
1910 * fringe.el (fringe-styles): Doc fix (bug#15239).
1911
1912 * isearch.el (isearch-filter-predicate): Documentation typo fix
1913 (bug#15474).
1914
1915 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1916
1917 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1918
1919 * replace.el (replace-match-maybe-edit): Doc clarification
1920 (bug#15632).
1921
1922 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1923
1924 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1925
1926 2014-02-08 Glenn Morris <rgm@gnu.org>
1927
1928 * help-fns.el (describe-variable):
1929 Check {file,dir}-local-variables-alist, and buffer-file-name,
1930 in the correct buffer.
1931
1932 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1933
1934 * help-fns.el (describe-variable): Fix the case where
1935 a value is directory-local with no dir-locals file. (Bug#16635)
1936
1937 2014-02-08 Glenn Morris <rgm@gnu.org>
1938
1939 * abbrev.el (edit-abbrevs-mode):
1940 Derive from fundamental-mode. (Bug#16682)
1941
1942 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1943
1944 * simple.el (quoted-insert): Check character validity (bug#16677).
1945
1946 2014-02-07 Juri Linkov <juri@jurta.org>
1947
1948 * desktop.el (desktop-read): Claim the lock when the owner is not
1949 the current process. (Bug#16157)
1950
1951 2014-02-07 Juri Linkov <juri@jurta.org>
1952
1953 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1954 to "\\` ". (Bug#16651)
1955
1956 2014-02-07 Juri Linkov <juri@jurta.org>
1957
1958 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1959 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1960 (desktop-auto-save-cancel-timer): New function with some code from
1961 `desktop-auto-save-set-timer'.
1962 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1963 Instead of setting `desktop-save-mode' to nil, call
1964 `desktop-save-mode' with arg 0. (Bug#16630)
1965
1966 2014-02-07 Glenn Morris <rgm@gnu.org>
1967
1968 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1969 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1970 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1971
1972 * obsolete/iswitchb.el: Move to obsolete/.
1973 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1974 since obsolete/ is not scanned for autoloads.
1975 * emacs-lisp/authors.el (authors-valid-file-names):
1976 Add iswitchb.el.
1977
1978 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1979 Disable now non-functional find-file-hook.
1980
1981 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1982
1983 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1984 instead of ";" in order to avoid additional prompts. Let heredoc
1985 scripts read from tty. (Bug#16582)
1986 (tramp-send-command): No special handling of heredocs, it isn't
1987 necessary anymore.
1988
1989 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1992 with a space (bug#16664). Limit the symbols considered to the ones
1993 that are bound or fbound (bug#16646).
1994
1995 2014-02-06 Glenn Morris <rgm@gnu.org>
1996
1997 * epa.el (epa-mail-aliases): Doc fix.
1998
1999 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2000
2001 * emacs-lisp/lisp.el (lisp-completion-at-point):
2002 Use `completion-table-merge' instead of `completion-table-in-turn'
2003 (bug#16604).
2004
2005 * minibuffer.el (completion-table-merge): New function.
2006
2007 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2008
2009 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2010 (tramp-sh-handle-set-file-acl)
2011 (tramp-sh-handle-start-file-process)
2012 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2013 (tramp-find-executable, tramp-send-command): Use it.
2014
2015 2014-02-05 Glenn Morris <rgm@gnu.org>
2016
2017 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2018
2019 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2020
2021 * progmodes/python.el (python-shell-send-string)
2022 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2023
2024 2014-02-04 Anders Lindgren <andlind@gmail.com>
2025
2026 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2027 the names (bug#16620).
2028
2029 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2030
2031 * faces.el (window-divider): New default value. Rewrite doc-string.
2032 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2033
2034 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2035
2036 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2037 `protected' and `public' can also be called without arguments.
2038
2039 2014-02-03 Glenn Morris <rgm@gnu.org>
2040
2041 * register.el (window-configuration-to-register)
2042 (frame-configuration-to-register): Unadvertise unused argument.
2043 * frameset.el (frameset-to-register): Remove unused argument.
2044
2045 * frameset.el (frameset-to-register):
2046 * kmacro.el (kmacro-to-register):
2047 * register.el (increment-register):
2048 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2049 (calc-append-to-register, calc-prepend-to-register):
2050 * play/gametree.el (gametree-layout-to-register)
2051 (gametree-apply-register-layout):
2052 * textmodes/picture.el (picture-clear-rectangle-to-register)
2053 (picture-yank-rectangle-from-register):
2054 * vc/emerge.el (emerge-combine-versions-register):
2055 Use register-read-with-preview to read registers.
2056
2057 2014-02-03 João Távora <joaotavora@gmail.com>
2058
2059 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2060 when at beginning of (possibly narrowed) buffer.
2061
2062 2014-02-02 Daniel Colascione <dancol@dancol.org>
2063
2064 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2065 Also try to display local help from just before point.
2066
2067 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2068
2069 c-parse-state. Don't "append-lower-brace-pair" in certain
2070 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2071 recognised as a comment.
2072
2073 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2074 as well as normal comment starter.
2075 (c-parse-state-get-strategy): Extra return possibility
2076 'back-and-forward.
2077 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2078 return value list to indicate replacement of a brace-pair cons
2079 with its car.
2080 (c-parse-state-1): With 'back-and-forward, only call
2081 c-append-lower-brace-pair-to state-cache when cons-separated.
2082
2083 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2084
2085 * term/ns-win.el (ns-suspend-error): New function.
2086 (ns-initialize-window-system): Add ns-suspend-error to
2087 suspend-hook (Bug#16612).
2088
2089 2014-02-02 Daniel Colascione <dancol@dancol.org>
2090
2091 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2092 Make loading cc-mode silent.
2093
2094 2014-02-02 Daniel Colascione <dancol@dancol.org>
2095
2096 * comint.el (comint-prompt-read-only): Change doc to suggest
2097 remap keybinding.
2098
2099 2014-02-02 Glenn Morris <rgm@gnu.org>
2100
2101 * register.el (register-read-with-preview, point-to-register)
2102 (window-configuration-to-register, frame-configuration-to-register)
2103 (jump-to-register, number-to-register, view-register, insert-register)
2104 (copy-to-register, append-to-register, prepend-to-register)
2105 (copy-rectangle-to-register): Doc fixes.
2106
2107 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2110 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2111 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2112 * help-fns.el (describe-function-1): Use it.
2113
2114 2014-02-02 Glenn Morris <rgm@gnu.org>
2115
2116 * register.el (register-preview-default): New function,
2117 split from register-preview.
2118 (register-preview-function): Rename from register-preview-functions,
2119 make it not a hook.
2120 (register-preview): Use register-preview-function.
2121 (register-read-with-preview): Error on non-character event. (Bug#16595)
2122
2123 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2124
2125 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2126 `:' before binary operators (bug#16609). Don't check for `:'
2127 before `[' and `(', or their syntax status. A percent literal
2128 can't end with either.
2129 (ruby-font-lock-keywords): For built-ins that require arguments,
2130 check that they're followed by something that looks like argument
2131 (bug#16610).
2132
2133 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2134
2135 * subr.el (butlast): Document what an omitted N means (bug#13437).
2136 (nbutlast): Ditto.
2137
2138 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2139
2140 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2141 depth shallower (bug#16587).
2142 (shr-tag-svg): Respect `shr-inhibit-images'.
2143 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2144
2145 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2146
2147 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2148 (ruby-smie-grammar): Make "." right-associative. Make its priority
2149 lower than the ternary and all binary operators.
2150 (ruby-smie-rules): Indent "(" relative to the first non-"."
2151 parent, or the first "." parent at indentation.
2152 Use `ruby-align-chained-calls' for indentation of "." tokens.
2153 (Bug#16593)
2154
2155 2014-01-31 Juri Linkov <juri@jurta.org>
2156
2157 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2158 from `make-hash-table'.
2159
2160 * textmodes/ispell.el (ispell-init-process): Change message format
2161 to be consistent with other messages.
2162
2163 2014-01-31 Glenn Morris <rgm@gnu.org>
2164
2165 * delsel.el (delete-selection-mode): Doc fix.
2166
2167 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2168 (trace-function-background): Doc fixes.
2169
2170 * ido.el (ido-use-virtual-buffers): Doc fix.
2171 Reset :version, since the default value has not changed.
2172
2173 * register.el (register-preview-delay, register-read-with-preview):
2174 Doc fixes.
2175
2176 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2177 do not mess with mail-buffer position (fixes 2009-11-03 change).
2178 * progmodes/cc-mode.el (c-submit-bug-report):
2179 Check auto-fill-mode is bound. (Bug#16592)
2180
2181 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2182
2183 * startup.el (fancy-splash-image-file): New function,
2184 split from fancy-splash-head.
2185 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2186 so that we are both using the same image. (Bug#16574)
2187
2188 2014-01-30 Glenn Morris <rgm@gnu.org>
2189
2190 * simple.el (eval-expression): Doc fix.
2191
2192 * hexl.el (hexl-mode-hook):
2193 * ielm.el (ielm-mode-hook):
2194 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2195 (lisp-interaction-mode-hook):
2196 * progmodes/cfengine.el (cfengine3-documentation-function):
2197 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2198
2199 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2200
2201 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2202 is a symbol (bug#16584).
2203
2204 2014-01-30 Glenn Morris <rgm@gnu.org>
2205
2206 * help.el (help-for-help-internal): Add "P" to text.
2207
2208 2014-01-29 Glenn Morris <rgm@gnu.org>
2209
2210 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2211
2212 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2213
2214 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2215 height constraints.
2216
2217 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2218
2219 * progmodes/hideif.el: Extend to full CPP expression syntax.
2220 (hif-token-alist): Add missing tokens.
2221 (hif-token-regexp): Add support for float/octal/hex immediates.
2222 (hif-string-literal-regexp): New const.
2223 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2224 (hif-exprlist): New function.
2225 (hif-parse-if-exp): Use it.
2226 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2227 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2228 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2229 (hif-logxor, hif-comma): New functions.
2230
2231 2014-01-28 Glenn Morris <rgm@gnu.org>
2232
2233 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2234
2235 * indent.el (tab-stop-list): Doc fix. Add :version.
2236
2237 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2238 (cvs-append-to-ignore): Add compatibility alias.
2239
2240 2014-01-27 Glenn Morris <rgm@gnu.org>
2241
2242 * dired.el (dired-hide-details-mode): Don't autoload it,
2243 since it cannot be used outside Dired buffers anyway.
2244
2245 * emulation/cua-base.el (cua-mode): Doc fix.
2246
2247 * dired.el (dired-hide-details-hide-symlink-targets)
2248 (dired-hide-details-hide-information-lines)
2249 (dired-hide-details-mode): Doc fixes.
2250
2251 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2252 * strokes.el (strokes-file): Doc fix. Bump :version.
2253 (strokes-help): Doc fix.
2254 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2255 * emulation/viper.el (viper): Doc fix for custom group.
2256 (top-level): Remove oh-so-no-longer-relevant text about vip.
2257 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2258
2259 * ido.el (ido-save-directory-list-file):
2260 * saveplace.el (save-place-file):
2261 * calendar/timeclock.el (timeclock-file):
2262 * net/quickurl.el (quickurl-url-file):
2263 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2264 * progmodes/idlwave.el (idlwave-config-directory):
2265 * textmodes/remember.el (remember-data-file):
2266 Bump :version.
2267
2268 2014-01-26 Glenn Morris <rgm@gnu.org>
2269
2270 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2271 Doc fix. Make obsolete.
2272 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2273
2274 * sort.el (delete-duplicate-lines): Doc fix.
2275
2276 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2277
2278 * progmodes/ada-mode.el (ada):
2279 * woman.el (woman): Link to info manual and Commentary section.
2280
2281 * progmodes/flymake.el (flymake):
2282 * nxml/nxml-mode.el (nxml):
2283 * net/eww.el (eww):
2284 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2285 * htmlfontify.el (htmlfontify):
2286 * ses.el (ses):
2287 * epa.el (epa):
2288 * ido.el (ido): Link to info manual.
2289
2290 2014-01-25 Leo Liu <sdl.web@gmail.com>
2291
2292 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2293
2294 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2295
2296 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2297 (bug#16537).
2298
2299 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2300
2301 * net/eww.el (eww-download-callback):
2302 Fix reference to eww-download-directory.
2303
2304 * emacs-lisp/bytecomp.el (byte-compile-file):
2305 Remove unused local variable `file-name'.
2306
2307 2014-01-24 Glenn Morris <rgm@gnu.org>
2308
2309 * woman.el (woman-default-faces, woman-monochrome-faces):
2310 Fix obsolescence specification.
2311
2312 * subr.el (with-demoted-errors): Doc fix.
2313
2314 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2317 (cl--macroexp-fboundp): New function.
2318 (cl--make-type-test): Use it.
2319
2320 2014-01-23 Glenn Morris <rgm@gnu.org>
2321
2322 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2323 * simple.el (eval-expression): Doc fixes.
2324
2325 2014-01-22 Glenn Morris <rgm@gnu.org>
2326
2327 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2328
2329 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * emacs-lisp/package.el: Write files silently.
2332 (package-autoload-ensure-default-file, package--write-file-no-coding)
2333 (package-generate-description-file, package--download-one-archive)
2334 (package-install-from-archive): Tell `write-region' to stay quiet.
2335 (package-menu-mode, package-menu--print-info): Omit the Archive column
2336 if there's only one archive.
2337 (package-all-keywords, package--has-keyword-p): Remove dead code.
2338
2339 2014-01-22 Glenn Morris <rgm@gnu.org>
2340
2341 * version.el (emacs-bzr-version-bzr): Fix typo.
2342
2343 * version.el (emacs-repository-get-version):
2344 Check either .bzr or .git, but not both.
2345 Make the git case actually use the DIR argument, and return nil
2346 rather than the empty string.
2347 Avoid error if .git exists but the git executable is not found.
2348
2349 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2350
2351 Fixes in window size functions around Bug#16430 and Bug#16470.
2352 * window.el (window-total-size, window-size): New argument ROUND.
2353 (window--min-delta-1, window-min-delta, window--max-delta-1):
2354 Be more conservative when calculating the numbers of lines or
2355 columns a window can shrink (Bug#16430).
2356 (fit-window-to-buffer): Simplify code.
2357 * term.el (term-window-width): Call window-body-width again.
2358
2359 2014-01-22 Glenn Morris <rgm@gnu.org>
2360
2361 * image.el (image-format-suffixes): Doc fix.
2362
2363 * international/quail.el (quail-define-package): Doc fix.
2364
2365 * emacs-lisp/authors.el (authors-valid-file-names)
2366 (authors-renamed-files-alist): Additions.
2367
2368 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2369 reverts 2014-01-09 change. (Bug#16422)
2370
2371 * calc/calc-embed.el (thing-at-point-looking-at):
2372 * emacs-lisp/map-ynp.el (x-popup-dialog):
2373 * obsolete/lmenu.el (x-popup-dialog):
2374 * emacs-lisp/package.el (url-recreate-url):
2375 * mail/mailclient.el (clipboard-kill-ring-save):
2376 * subr.el (x-popup-dialog): Update declaration.
2377 * mail/rmail.el (rmail-mime-message-p):
2378 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2379
2380 2014-01-21 Daniel Colascione <dancol@dancol.org>
2381
2382 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2383 Correctly detect when we're inside an arithmetic expansion form
2384 containing nested parenthesis.
2385 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2386 to detect cases where we shouldn't expand "<<" to a heredoc
2387 skeleton.
2388
2389 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2392 (eldoc--message-command-p): New function.
2393 (eldoc-display-message-p): Use it.
2394 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2395 message is not automatically erased for us.
2396 (eldoc-print-current-symbol-info): Erase previous message, if any.
2397
2398 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2399
2400 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2401 specify it's an interactive function.
2402
2403 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2404 Fix regex used for scanning for citation keys which failed for
2405 citations with optional arguments.
2406
2407 2014-01-21 Leo Liu <sdl.web@gmail.com>
2408
2409 * simple.el (read--expression): Don't enable eldoc-mode.
2410
2411 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * simple.el (move-beginning-of-line): Make sure we don't move forward
2414 (bug#16497).
2415
2416 2014-01-20 Juri Linkov <juri@jurta.org>
2417
2418 * saveplace.el (toggle-save-place, save-place-to-alist)
2419 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2420 'dired-mode) before checking for dired-directory. (Bug#16477)
2421
2422 2014-01-20 Juri Linkov <juri@jurta.org>
2423
2424 * indent.el (indent-line-to): Use backward-to-indentation
2425 instead of back-to-indentation. (Bug#16461)
2426
2427 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2428
2429 Revert some of the CANNOT_DUMP fix (Bug#16494).
2430 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2431 but fixing this can wait until after the next release.
2432 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2433
2434 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2435
2436 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2437 Use `password-word-equivalents'.
2438 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2439 to t. (Bug#5664, Bug#13124)
2440
2441 2014-01-19 Alan Mackenzie <acm@muc.de>
2442
2443 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2444 points.
2445 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2446 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2447 * progmodes/cc-mode.el (c-before-change, c-after-change)
2448 (c-font-lock-fontify-region): Bind it here.
2449
2450 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2451
2452 * term.el (term-window-width): Call window-text-width instead of
2453 window-width (Bug#16470).
2454
2455 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2456
2457 * simple.el (password-word-equivalents): Remove duplicates.
2458 Sort, to make this easier next time.
2459 Downcase. Omit ": " after "jelszó".
2460
2461 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2462
2463 * term/common-win.el (saved-region-selection): Defvar it.
2464 (x-select-text): Set saved-region-selection (Bug#16382).
2465
2466 2014-01-18 Glenn Morris <rgm@gnu.org>
2467
2468 * emacs-lisp/authors.el (authors-aliases)
2469 (authors-renamed-files-alist): Add some entries.
2470
2471 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2472
2473 * net/tramp.el (tramp-password-prompt-regexp):
2474 Use `password-word-equivalents' if available.
2475 (tramp-action-password, tramp-process-one-action)
2476 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2477
2478 2014-01-17 Chong Yidong <cyd@gnu.org>
2479
2480 * simple.el (password-word-equivalents): New defcustom.
2481 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2482 to 24.4.
2483 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2484 to t. (Bug#13124)
2485
2486 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2487
2488 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2489 (ruby-align-to-stmt-keywords): Change the default value.
2490 Use `ruby-alignable-keywords' to generate the possible customization
2491 choices.
2492 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2493 keywords, check against the value of `ruby-alignable-keywords'
2494 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2495
2496 2014-01-17 Glenn Morris <rgm@gnu.org>
2497
2498 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2499
2500 Make M-x authors return zero *Authors Errors* from current logs.
2501 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2502 (authors-ignored-files): Add some entries, remove others.
2503 (authors-ambiguous-files, authors-valid-file-names):
2504 Add some entries.
2505 (authors-renamed-files-alist): Add, remove, and adjust entries.
2506 (authors-renamed-files-regexps): Add some entries.
2507 Remove some very broad ones. Make some entries `lax'.
2508 (authors-lax-changelogs): New constant.
2509 (authors-disambiguate-file-name): Treat top-level specially.
2510 (authors-lax-changelog-p): New function.
2511 (authors-canonical-file-name): Check file as written against
2512 authors-valid-file-names. Do not special-case etc/.
2513 Handle `lax' logs and authors-renamed-files-regexps elements.
2514
2515 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2516
2517 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2518 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2519 callers.
2520
2521 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2524 Assume we're already in the proper buffer.
2525 Inspired by Anders Lindgren <andlind@gmail.com>.
2526 (follow-post-command-hook): Call it from the right buffer.
2527 (follow-comint-scroll-to-bottom): Adjust call.
2528 (follow-all-followers): Use get-buffer-window-list.
2529
2530 2014-01-15 Daniel Colascione <dancol@dancol.org>
2531
2532 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2533 `buffer-file-name' in interactive-form so that we don't leave
2534 pathless file names in `file-name-history'.
2535
2536 2014-01-15 Juri Linkov <juri@jurta.org>
2537
2538 * indent.el (indent-rigidly): Set deactivate-mark to nil
2539 in transient indentation mode. (Bug#16438)
2540
2541 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2542
2543 * emacs-lisp/package.el (package-desc-keywords): New function
2544 (Bug#16222).
2545 (describe-package-1, package-all-keywords)
2546 (package--has-keyword-p): Use it.
2547
2548 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2549
2550 * simple.el (define-alternatives): When creating the
2551 COMMAND-alternatives variable, assign COMMAND as its definition
2552 name so that `describe-variable' can relocate it.
2553
2554 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2555
2556 * font-lock.el (font-lock-keywords): Fix typo in docstring
2557 (bug#16307).
2558
2559 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2560
2561 * ispell.el (ispell-region): Reset `in-comment' for new line
2562 instead of wrongly reset `add-coment' (bug#13577).
2563
2564 2014-01-14 Daiki Ueno <ueno@gnu.org>
2565
2566 * epa-file.el (epa-file-write-region): Encode the region according
2567 to `buffer-file-format'. Problem reported at:
2568 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2569
2570 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2573 so it applies in the right buffer (bug#16410).
2574
2575 2014-01-13 Daniel Colascione <dancol@dancol.org>
2576
2577 * textmodes/rst.el (rst-define-key): Provide deprecated
2578 keybindings through named functions instead of anonymous ones so
2579 that "??" doesn't appear in describe-mode output.
2580
2581 2014-01-13 Bastien Guerry <bzg@gnu.org>
2582
2583 * simple.el (define-alternatives): Call the selected command
2584 interactively. When setting `COMMAND--implementation' for the
2585 first time, tell the user how to chose another implementation.
2586 Enhance the docstring.
2587
2588 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2589
2590 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2591 (log-edit--match-first-line): New function.
2592 (log-edit-font-lock-keywords): Use it.
2593 (log-edit-mode): Make jit-lock-defer-multiline work.
2594
2595 2014-01-13 Bastien Guerry <bzg@gnu.org>
2596
2597 * rect.el (rectangle-mark-mode): When the region is not active,
2598 display a message saying that the mark as been set and that
2599 rectangle mode is in use.
2600 (rectangle--highlight-for-redisplay): Only put an overlay with a
2601 visible vertical bar when (display-graphic-p) is non-nil.
2602 This partially fixes Bug#16403.
2603
2604 2014-01-13 Juri Linkov <juri@jurta.org>
2605
2606 * info.el (Info-find-file): Go to DIR before displaying the error
2607 about a nonexistent file if no previous Info file is visited.
2608 Use `user-error' instead of `error' for "Info file %s does not exist".
2609 (Info-find-node-2): In case of a nonexistent node in unwind forms
2610 go to the Top node if there is no previous node to revert to.
2611 (Bug#16405)
2612
2613 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2614
2615 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2616 * window.el (fit-frame-to-buffer): Fix doc-string.
2617 Respect window-min-height/-width. Fit pixelwise when
2618 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2619 when avoiding that frame goes partially off-screen.
2620 (fit-window-to-buffer): Respect window-min-height/-width
2621 (Bug#14096).
2622
2623 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2626 after an empty line.
2627
2628 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * net/shr.el (shr-render-region): Autoload.
2631
2632 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2633
2634 * net/eww.el (eww-download-directory): Rename from
2635 `eww-download-path' (Bug#16419).
2636
2637 2014-01-12 Leo Liu <sdl.web@gmail.com>
2638
2639 * dired-x.el (dired-mode-map): Fix last change.
2640
2641 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2642
2643 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2644
2645 Spelling fixes.
2646 * emacs-lisp/generic.el (generic--normalize-comments):
2647 Rename from generic--normalise-comments. All uses changed.
2648 * play/bubbles.el (bubbles--neighborhood-score)
2649 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2650 (bubbles--neighborhood-available)
2651 (bubbles--update-neighborhood-score):
2652 Rename from names with 'neighbourhood'. All uses changed.
2653
2654 2014-01-12 Leo Liu <sdl.web@gmail.com>
2655
2656 Re-implement the feature of showing eldoc info after editing.
2657 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2658 (eldoc-edit-message-commands): New function.
2659 (eldoc-print-after-edit): New variable.
2660 (eldoc-pre-command-refresh-echo-area): Emit message only by
2661 eldoc-message-commands.
2662 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2663 if eldoc-print-after-edit is set. (Bug#16346)
2664 * simple.el (read--expression): Enable eldoc-mode.
2665 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2666
2667 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2668 Eric S. Raymond <esr@thyrsus.com>
2669
2670 * version.el (emacs-repository-get-version): Enhance so the
2671 function works correctly in either a Bazaar or Git repo.
2672
2673 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2674
2675 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2676 Goes with removal of the joke manpages from /etc.
2677
2678 2014-01-10 Kenichi Handa <handa@gnu.org>
2679
2680 * mail/rmail.el (rmail-get-coding-system):
2681 Check rmail-get-coding-function before "funcall"ing it.
2682
2683 2014-01-10 Glenn Morris <rgm@gnu.org>
2684
2685 * emacs-lisp/authors.el (authors-fixed-entries):
2686 Update for files that no longer exist.
2687
2688 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2689
2690 * version.el (emacs-bzr-get-version): Restore compatibilty with
2691 24.3 (Tested).
2692
2693 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2694
2695 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2696 and Podfile.
2697
2698 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2699
2700 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2701
2702 2014-01-10 Chong Yidong <cyd@gnu.org>
2703
2704 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2705
2706 2014-01-10 Anders Lindgren <andlind@gmail.com>
2707
2708 * follow.el (follow-cache-command-list): Include right-char and
2709 left-char.
2710
2711 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2712
2713 Spelling fixes.
2714 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2715 * woman.el (woman-mark-horizontal-position):
2716 Rename from woman-mark-horizonal-position. Use changed.
2717
2718 2014-01-10 Glenn Morris <rgm@gnu.org>
2719
2720 * info.el (info-initialize): If running uninstalled, ensure our
2721 own info files are always found first, even if INFOPATH is set.
2722
2723 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2724
2725 2014-01-09 David Engster <deng@randomsample.de>
2726
2727 * emacs-lisp/eieio-custom.el:
2728 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2729 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2730 * emacs-lisp/eieio.el: Regenerate autoloads.
2731
2732 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2733
2734 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2735 following renames. (Bug#8756)
2736
2737 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2740 (bug#16382).
2741 (activate-mark): Add `no-tmm' argument.
2742 (set-mark, push-mark-command): Use it instead of running
2743 activate-mark-hook by hand.
2744
2745 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2746
2747 In preparation for the move to git, sanitize out some
2748 Bazaar-specific names.
2749
2750 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2751
2752 * version.el (emacs-bzr-version): Name changed to
2753 emacs-repository-version. Obsolete-variable alias made.
2754 * loadup.el: Follow through on this name change.
2755 * mail/emacsbug.el (report-emacs-bug): Factor out any
2756 assumption about the version control system in use.
2757
2758 2014-01-08 David Engster <deng@randomsample.de>
2759
2760 * help-fns.el (help-fns-describe-function-functions):
2761 New variable to call functions for augmenting help buffers.
2762 (describe-function-1): Remove explicit calls to
2763 `help-fns--compiler-macro', `help-fns--parent-mode' and
2764 `help-fns--obsolete'. Put them in above new variable instead, and
2765 call them through `run-hook-with-args'.
2766 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2767 `eieio-describe-class'. Not meant for interactive use anymore,
2768 but to augment existing help buffers. Remove optional second
2769 argument. Create proper button for file location.
2770 Rewrite function to use `insert' instead of `princ' and `prin1' where
2771 possible.
2772 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2773 (eieio-method-def, eieio-class-def): Move further up.
2774 (describe-method, describe-generic, eieio-describe-method):
2775 Remove aliases.
2776 (eieio-help-constructor, eieio-help-generic): Rename from
2777 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2778 Rewrite to use `insert' in the current buffer and use proper help
2779 buttons.
2780 (eieio-help-find-method-definition)
2781 (eieio-help-find-class-definition): Also accept symbols as
2782 arguments.
2783 (eieio-help-mode-augmentation-maybee): Remove.
2784 (eieio-describe-class-sb): Use `describe-function'.
2785 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2786 Add `eieio-help-generic' and `eieio-help-constructor'.
2787
2788 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2789
2790 Spelling fixes.
2791 * language/china-util.el (hz-ascii-designation):
2792 Rename from hz-ascii-designnation.
2793 (hz-ascii-designation): Rename from hz-ascii-designnation.
2794 All uses changed.
2795
2796 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2799 package-alist.
2800
2801 2014-01-08 Bastien Guerry <bzg@gnu.org>
2802
2803 * emacs-lisp/package.el (package-delete):
2804 Correctly delete the package from package-alist.
2805
2806 2014-01-08 Daiki Ueno <ueno@gnu.org>
2807
2808 * emacs-lisp/package.el (url-recreate-url): Declare.
2809 (url-http-target-url): Declare.
2810 (package-handle-response): Include requested URL in the error message.
2811 (package--check-signature): Don't re-signal errors from
2812 package--with-work-buffer. Suggested by Stefan Monnier.
2813
2814 2014-01-07 Bastien Guerry <bzg@gnu.org>
2815
2816 * minibuffer.el (completion--try-word-completion): When both a
2817 hyphen and a space are possible candidates for the character
2818 following a word, display both candidates. (Bug#15980)
2819
2820 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2821
2822 * window.el (balance-windows-2): While rounding don't give a
2823 window more than the remainder. Bug#16351, bug#16383.
2824
2825 2014-01-07 Glenn Morris <rgm@gnu.org>
2826
2827 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2828 (menu-bar-help-menu): Use view-external-packages instead.
2829
2830 2014-01-07 Bastien Guerry <bzg@gnu.org>
2831
2832 * emacs-lisp/package.el (package-delete): Also delete the package
2833 name from `package-alist', not its description only.
2834
2835 2014-01-07 Glenn Morris <rgm@gnu.org>
2836
2837 * help.el (view-external-packages):
2838 * menu-bar.el (menu-bar-help-extra-packages):
2839 Visit efaq.info rather than etc/MORE.STUFF.
2840
2841 2014-01-07 Juri Linkov <juri@jurta.org>
2842
2843 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2844 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2845
2846 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2847 that shadows RET. (Bug#16342)
2848
2849 2014-01-07 Chong Yidong <cyd@gnu.org>
2850
2851 * isearch.el (isearch-yank-char, isearch-yank-word)
2852 (isearch-yank-line): Doc fix.
2853
2854 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2857 * emacs-lisp/elint.el (elint-find-builtins):
2858 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2859 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2860 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2861 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2862 * apropos.el (apropos-safe-documentation):
2863 * subr.el (symbol-file): Remove redundant fboundp.
2864 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2865
2866 2014-01-06 Bastien Guerry <bzg@gnu.org>
2867
2868 * hl-line.el (global-hl-line-overlay): Make a local variable.
2869 (global-hl-line-overlays): New variable to store all overlays.
2870 (global-hl-line-mode): Don't delete overlays from the current
2871 buffer when `global-hl-line-sticky-flag' is non-nil.
2872 (global-hl-line-highlight): Add new overlays to
2873 `global-hl-line-overlays'.
2874 (global-hl-line-unhighlight-all): New function to delete all
2875 overlays when turning off `global-hl-line-mode'.
2876 This fixes Bug#16183.
2877
2878 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * subr.el (set-transient-map): Fix nested case and docstring.
2881
2882 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2883
2884 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2885 `Texinfo' entry.
2886
2887 2014-01-06 Daniel Colascione <dancol@dancol.org>
2888
2889 Fix defun navigation in vc log view.
2890
2891 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2892 like `beginning-of-defun'.
2893 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2894 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2895 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2896 (log-view-extract-comment): Call `log-view-current-entry' directly
2897 instead of relying on broken `log-view-beginning-of-defun' behavior.
2898
2899 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2900
2901 Spelling fixes.
2902 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2903 * emacs-lisp/debug.el (cancel-debug-on-entry):
2904 * epg.el (epg-error-to-string):
2905 * files.el (recover-file):
2906 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2907 * mail/emacsbug.el (report-emacs-bug-hook):
2908 * mail/sendmail.el (mail-recover):
2909 * ses.el (ses-yank-resize):
2910 * term/ns-win.el (ns-print-buffer):
2911 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2912 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2913 All uses changed.
2914 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2915
2916 2014-01-06 Leo Liu <sdl.web@gmail.com>
2917
2918 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2919 to avoid shadowing global key. (Bug#16354)
2920
2921 2014-01-06 Daniel Colascione <dancol@dancol.org>
2922
2923 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2924 rst-mode.
2925
2926 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2927
2928 * window.el (balance-windows): Add mising t to fix Bug#16351.
2929
2930 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2931
2932 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2933 (bug#16285).
2934 (shr-insert): If we have a word that's longer than `shr-width',
2935 break after it anyway. Otherwise we'll do no breaking once we get
2936 such a long word.
2937
2938 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2939
2940 * net/eww.el (eww): Support single/double quote for search.
2941 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2942 (eww-history-quit): Delete and use quit-window.
2943 (eww-history-kill): Delete, because it doesn't work well and
2944 not necessary.
2945 (eww-history-mode-map): Delete some keys and add easy-menu.
2946
2947 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2948
2949 Fix misspelling of 'chinese' in rx (Bug#16237).
2950 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2951 chinese-two-byte.
2952
2953 Change subword regexps back to vars (Bug#16296).
2954 * progmodes/subword.el (subword-forward-regexp)
2955 (subword-backward-regexp): Change these back to variables.
2956
2957 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2960 syntax-begin-function (bug#16247).
2961
2962 2014-01-03 Chong Yidong <cyd@gnu.org>
2963
2964 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2965 (advice--docstring): Delete variable.
2966 (advice--make-1): Leave the docstring empty.
2967 (advice-add): Use function-documentation for advised docstring.
2968
2969 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2970 Ignore function-documentation property when getting documentation.
2971 (ad-activate-advised-definition): Use function-documentation
2972 generate the docstring.
2973 (ad-make-advised-definition): Don't call
2974 ad-make-advised-definition-docstring.
2975 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2976 Delete functions.
2977
2978 * progmodes/sql.el (sql-help): Use function-documentation instead
2979 of dynamic-docstring-function property. No need to autoload now.
2980 (sql--help-docstring): New variable.
2981 (sql--make-help-docstring): Use it.
2982
2983 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * ielm.el (ielm-tab): Retarget.
2986 (ielm-map): Use ielm-tab for tab.
2987 (ielm-complete-filename): Use comint-filename-completion.
2988 (ielm-complete-symbol): Remove.
2989 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2990 remove ielm-tab from completion-at-point-functions (bug#16224).
2991
2992 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2993 Beware signals raised by predicates (bug#16201).
2994
2995 2014-01-02 Richard Stallman <rms@gnu.org>
2996
2997 * dired-aux.el (dired-do-print): Handle printer-name.
2998
2999 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3000 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3001 (rmail-epa-decrypt): Turn off mime processing.
3002
3003 * mail/rmail.el (rmail-make-in-reply-to-field):
3004 Add parens in message-id.
3005
3006 * mail/rmail.el (rmail-get-coding-function): Variable.
3007 (rmail-get-coding-system): Use it.
3008
3009 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3010
3011 * international/mule-conf.el: Unify the charset indian-is13194.
3012 (indian-is13194): Specify unify-map.
3013
3014 2013-12-31 Leo Liu <sdl.web@gmail.com>
3015
3016 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3017
3018 2013-12-30 Daniel Colascione <dancol@dancol.org>
3019
3020 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3021 of printing a useless when we resume from sleep.
3022
3023 * progmodes/sh-script.el
3024 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3025 in indentation code. (Bug#16233)
3026
3027 2013-12-28 João Távora <joaotavora@gmail.com>
3028
3029 * elec-pair.el (electric-pair-post-self-insert-function):
3030 Don't open extra newlines at beginning of buffer. (Bug#16272)
3031
3032 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3033
3034 * frame.el (window-system-for-display): Don't allow to create a
3035 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3036
3037 2013-12-28 Glenn Morris <rgm@gnu.org>
3038
3039 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3040 Update callers.
3041
3042 * apropos.el (apropos-match-face):
3043 * calculator.el (calculator-displayer):
3044 * dabbrev.el (dabbrev-search-these-buffers-only):
3045 * face-remap.el (buffer-face-mode-face):
3046 * simple.el (yank-handled-properties):
3047 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3048 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3049 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3050 (hashcash-double-spend-database):
3051 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3052 (ruby-deep-indent-paren-style):
3053 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3054 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3055 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3056 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3057 Specify custom types.
3058
3059 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3060 * bookmark.el (bookmark-bmenu-use-header-line):
3061 * doc-view.el (doc-view-scale-internally):
3062 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3063 * register.el (register-preview-delay):
3064 * net/shr.el (shr-bullet):
3065 * progmodes/cfengine.el (cfengine-cf-promises)
3066 (cfengine-parameters-indent):
3067 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3068 * textmodes/reftex-vars.el (reftex-label-regexps):
3069 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3070
3071 * net/tls.el (tls-certtool-program): Fix default value.
3072
3073 * desktop.el (desktop-restore-in-current-display):
3074 * newcomment.el (comment-empty-lines):
3075 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3076 (idlwave-pad-keyword):
3077 * progmodes/tcl.el (tcl-tab-always-indent):
3078 * textmodes/reftex-vars.el (reftex-index-default-tag):
3079 * elec-pair.el (electric-pair-skip-whitespace):
3080 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3081
3082 * emacs-lisp/authors.el (authors-ignored-files)
3083 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3084
3085 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3086
3087 * shell.el (shell-dynamic-complete-command): Doc fix.
3088 (shell--command-completion-data): Shell completion now matches
3089 executable filenames from the current buffer's directory, on
3090 systems in which this behavior is the default (windows-nt, ms-dos).
3091
3092 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3093
3094 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3095
3096 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3099 (bug#16251).
3100
3101 * electric.el: Move all electric-pair-* to elec-pair.el.
3102 * elec-pair.el: New file, split from electric.el.
3103
3104 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3105
3106 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3107 indentation level is larger than the width, because that will
3108 infloop.
3109 (shr-insert): Fill repeatedly long texts, so that Japanese is
3110 formatted correctly (bug#16263).
3111 (shr-find-fill-point): Off by one error in comparison with the
3112 indentation.
3113
3114 2013-12-26 João Távora <joaotavora@gmail.com>
3115
3116 * electric.el (electric-pair-mode): More flexible engine for skip-
3117 and inhibit predicates, new options for pairing-related functionality.
3118 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3119 if that keeps or improves their balance in buffers.
3120 (electric-pair-delete-adjacent-pairs): Delete the pair when
3121 backspacing over adjacent matched delimiters.
3122 (electric-pair-open-extra-newline): Open extra newline when
3123 inserting newlines between adjacent matched delimiters.
3124 (electric--sort-post-self-insertion-hook):
3125 Sort post-self-insert-hook according to priority values when
3126 minor-modes are activated.
3127 * simple.el (newline-and-indent): Call newline with interactive
3128 set to t.
3129 (blink-paren-post-self-insert-function): Set priority to 100.
3130 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3131 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3132 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3133 electric-pair-open-newline-between-pairs to nil.
3134
3135 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3136
3137 * progmodes/python.el: Use lexical-binding.
3138 (python-nav-beginning-of-defun): Stop searching ASAP.
3139
3140 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3141
3142 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3143 Fix interactive spec. Doc fix. (Bug#15754)
3144
3145 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3146
3147 * emacs-lisp/byte-run.el (eval-when-compile):
3148 * progmodes/cc-defs.el (cc-eval-when-compile):
3149 Fix edebug spec (bug#16184).
3150
3151 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3152
3153 * net/shr.el (shr-visit-file): Remove debugging function.
3154 (shr-insert): Don't infloop if we can't find a good place to break
3155 the line (bug#16256).
3156
3157 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3158
3159 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3160 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3161 python-nav-lisp-forward-sexp-safe.
3162 (python-nav--forward-sexp): New argument SAFE allows switching
3163 forward sexp movement behavior for parens.
3164 (python-nav-forward-sexp): Throw errors on unterminated parens
3165 (Bug#16191).
3166 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3167 (python-nav-backward-sexp-safe): New functions.
3168 (python-shell-buffer-substring):
3169 Use `python-nav-forward-sexp-safe'.
3170
3171 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3172
3173 * net/shr.el (shr-find-fill-point): Don't break lines before a
3174 quotation mark.
3175 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3176 (shr-find-fill-point): Remove the special checks for the quotation
3177 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3178
3179 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3180
3181 * net/eww.el (eww-form-textarea): Use a different face for
3182 textareas than text input since they have different keymaps
3183 (bug#16142).
3184
3185 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3186
3187 * progmodes/python.el (python-nav-beginning-of-statement):
3188 Speed up (Bug#15295).
3189
3190 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3191
3192 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3193 the window configuration.
3194
3195 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3196
3197 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3198 we run on MS-Windows or MS-DOS.
3199
3200 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3201
3202 * window.el (balance-windows-area): Call window-size instead of
3203 window-height and window-width. Bug#16241.
3204
3205 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3206
3207 * net/eww.el (eww-bookmark-quit): Remove.
3208 (eww-bookmark-browse): Restore the window configuration when you
3209 choose a bookmark (bug#16144).
3210
3211 2013-12-24 Daniel Colascione <dancol@dancol.org>
3212
3213 * icomplete.el: Remove redundant :group arguments to `defcustom'
3214 throughout.
3215 (icomplete-show-matches-on-no-input): New customizable variable.
3216 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3217 we have something to show.
3218 (icomplete-exhibit): Compute completions even if we have no user input.
3219
3220 2013-12-23 Daniel Colascione <dancol@dancol.org>
3221
3222 * icomplete.el: Move `provide' to end of file.
3223
3224 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3225
3226 * net/gnutls.el (gnutls-verify-error): Add version tag.
3227
3228 2013-12-23 Chong Yidong <cyd@gnu.org>
3229
3230 * subr.el (set-transient-map): Rename from
3231 set-temporary-overlay-map. Doc fix.
3232
3233 * face-remap.el (text-scale-adjust):
3234 * indent.el (indent-rigidly):
3235 * kmacro.el (kmacro-call-macro):
3236 * minibuffer.el (minibuffer-force-complete):
3237 * repeat.el (repeat):
3238 * simple.el (universal-argument--mode):
3239 * calendar/todo-mode.el (todo-insert-item--next-param):
3240 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3241
3242 * indent.el (indent-rigidly): Use substitute-command-keys.
3243
3244 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3245
3246 * net/eww.el (eww-tag-select): Add text-property to jump to next
3247 select field.
3248 (eww): Add non-supported ftp error.
3249
3250 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3251
3252 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3253 comments. Handle electric indent after typing `?' and `!'.
3254
3255 2013-12-22 Chong Yidong <cyd@gnu.org>
3256
3257 * faces.el (face-spec-recalc): If the theme specs are not
3258 applicable to a frame, fall back on the defface spec.
3259 This prevents themes from obliterating faces on low-color terminals.
3260
3261 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3262
3263 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3264 after `{'. We need it after block openers, and it doesn't seem
3265 to hurt after hash openers.
3266
3267 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3268
3269 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3270 extracted from `ruby-smie-rules'.
3271 (ruby--electric-indent-chars): New variable.
3272 (ruby--electric-indent-p): New function.
3273 (ruby-mode): Use `electric-indent-functions' instead of
3274 `electric-indent-chars'.
3275
3276 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3277
3278 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3279 docstring.
3280 (ruby-smie-rules): Indent plus one level after `=>'.
3281
3282 2013-12-21 Richard Stallman <rms@gnu.org>
3283
3284 * simple.el (newline): Doc fix.
3285
3286 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3287
3288 * net/eww.el (eww-list-histories, eww-list-histories)
3289 (eww-history-browse, eww-history-quit, eww-history-kill)
3290 (eww-history-mode-map, eww-history-mode): New command and
3291 functions to list browser histories.
3292 (eww-form-text): Support text form with disabled
3293 and readonly attributes.
3294 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3295
3296 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3297
3298 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3299 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3300 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3301 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3302 Use `user-error'.
3303 (eww-bookmark-mode-map): Add menu.
3304 (eww-render, eww-mode): Use `setq-local'.
3305 (eww-tool-bar-map): New variable.
3306 (eww-mode): Set `tool-bar-map'.
3307 (eww-view-source): Check for `html-mode' with `fboundp'.
3308
3309 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3310
3311 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3312 elements with text inside. Also remove debugging.
3313
3314 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3315
3316 * cus-start.el (all): Add ns-use-srgb-colorspace.
3317
3318 2013-12-21 Chong Yidong <cyd@gnu.org>
3319
3320 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3321 undefined. Thus, theme settings for undefined faces do not take
3322 effect until the faces are defined with defface, the same as with
3323 theme variables.
3324
3325 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3326 (face-spec-reset-face): Don't assign extra properties in temacs.
3327 (face-spec-recalc): Apply X resources too.
3328
3329 2013-12-21 Chong Yidong <cyd@gnu.org>
3330
3331 * faces.el (face-spec-set):
3332 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3333 * custom.el (defface): Doc fixes (Bug#16203).
3334
3335 * indent.el (indent-rigidly-map): Add docstring, and move commands
3336 into named functions.
3337 (indent-rigidly-left, indent-rigidly-right)
3338 (indent-rigidly-left-to-tab-stop)
3339 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3340 indentation direction based on bidi direction, and accumulate
3341 sequential commands in a single undo boundary.
3342 (indent-rigidly--pop-undo): New utility function.
3343
3344 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3345
3346 * faces.el (read-face-name): Require crm.el when using crm-separator.
3347
3348 2013-12-20 Daniel Colascione <dancol@dancol.org>
3349
3350 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3351 so that we don't reflow comments into the shebang line.
3352
3353 2013-12-20 Juri Linkov <juri@jurta.org>
3354
3355 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3356 a position when `dired-directory' is non-nil. Check integer
3357 positions with `integerp'.
3358 (toggle-save-place, save-places-to-alist): Add check for
3359 `dired-directory'.
3360 (save-place-find-file-hook): Check integer positions with
3361 `integerp'.
3362 (save-place-dired-hook): Use `dired-goto-file' when
3363 `dired-filename' is found in the assoc list. Check integer
3364 positions with `integerp'.
3365 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3366
3367 * dired.el (dired-initial-position-hook): Rename back from
3368 `dired-initial-point-hook'.
3369 (dired-initial-position): Rename `dired-initial-point-hook' to
3370 `dired-initial-position-hook'.
3371 (dired-file-name-at-point): Doc fix. (Bug#15329)
3372
3373 2013-12-20 Juri Linkov <juri@jurta.org>
3374
3375 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3376 (read-regexp-suggestions): New function.
3377 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3378 Use `read-regexp-suggestions'. Add non-empty default to history
3379 for empty input.
3380 (occur-read-regexp-defaults-function): Remove function.
3381 (occur-read-primary-args): Use `regexp-history-last' instead of
3382 `occur-read-regexp-defaults-function'.
3383
3384 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3385 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3386 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3387 `hi-lock-read-regexp-defaults-function'. Doc fix.
3388 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3389 with `find-tag-default-as-symbol-regexp'. Doc fix.
3390 (hi-lock-read-regexp-defaults): Remove function.
3391 (hi-lock-regexp-okay): Add check for null.
3392
3393 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3394 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3395
3396 * subr.el (find-tag-default-as-symbol-regexp): New function.
3397 (find-tag-default-as-regexp): Move symbol regexp formatting to
3398 `find-tag-default-as-symbol-regexp'.
3399
3400 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3401
3402 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3403 (Bug#14179)
3404
3405 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3406
3407 * calendar/todo-mode.el: New implementation of item insertion
3408 commands and key bindings.
3409 (todo-key-prompt): New face.
3410 (todo-insert-item): New command.
3411 (todo-insert-item--parameters): New defconst, replacing defvar
3412 todo-insertion-commands-args-genlist.
3413 (todo-insert-item--param-key-alist): New defconst, replacing
3414 defvar todo-insertion-commands-arg-key-list.
3415 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3416 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3417 (todo-insert-item--next-param): New functions.
3418 (todo-insert-item--args, todo-insert-item--argleft)
3419 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3420 New variables.
3421 (todo-key-bindings-t): Change binding of "i" from
3422 todo-insertion-map to todo-insert-item.
3423 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3424 (todo-insertion-command-name, todo-insertion-commands-names)
3425 (todo-define-insertion-command, todo-insertion-commands)
3426 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3427
3428 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3429
3430 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3431 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3432 eval-when-compile.
3433 (todo-move-category): Allow choosing a non-existing todo file to
3434 move the category to, and create that file.
3435 (todo-default-priority): New user option.
3436 (todo-set-item-priority): Use it.
3437 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3438 (desktop-restore-file-buffer): Declare.
3439 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3440 (todo-modes-set-2): Locally set desktop-save-buffer to
3441 todo-desktop-save-buffer.
3442 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3443 (auto-mode-alist): Add autoload cookie.
3444
3445 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3446
3447 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3448 helpers.el was a poor choice of name.
3449 (string-remove-prefix): New function.
3450 (string-remove-suffix): New function.
3451
3452 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3453
3454 Fix assignment for new window total sizes.
3455 * window.el (window--pixel-to-size): Remove function.
3456 (window--pixel-to-total-1, window--pixel-to-total):
3457 Fix calculation of new total sizes.
3458
3459 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3460
3461 * comint.el (comint-output-filter): Fix rear-nonsticky property
3462 placement (Bug#16010).
3463
3464 2013-12-20 Chong Yidong <cyd@gnu.org>
3465
3466 * faces.el (read-color): Minor fix for completion function.
3467
3468 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3469
3470 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3471 New option. (Bug#16182)
3472 (ruby-smie--indent-to-stmt-p): Use it.
3473 (ruby-smie-rules): Revert the logic in the handling of `when'.
3474 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3475 (ruby-deep-arglist, ruby-deep-indent-paren)
3476 (ruby-deep-indent-paren-style): Update docstrings to note that the
3477 vars don't have any effect with SMIE.
3478
3479 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3480
3481 * calc/calc.el (calc-enter, calc-pop): Use the variable
3482 `calc-context-sensitive-enter'.
3483
3484 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3485
3486 * net/shr.el (shr-insert): Protect against infloops in degenerate
3487 tables.
3488
3489 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3490
3491 * progmodes/octave.el (octave): Add link to manual and octave
3492 homepage.
3493 (octave-mode-menu): Link to octave-mode manual.
3494
3495 2013-12-20 Leo Liu <sdl.web@gmail.com>
3496
3497 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3498 insertion using skeleton-end-newline. (Bug#16138)
3499
3500 2013-12-20 Juri Linkov <juri@jurta.org>
3501
3502 * replace.el (occur-engine): Use `add-face-text-property'
3503 to add the face property to matches and titles. (Bug#14645)
3504
3505 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3506 the palette of other hi-lock colors.
3507 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3508
3509 2013-12-19 Juri Linkov <juri@jurta.org>
3510
3511 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3512 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3513 (minibuffer-history-symbol): Move variable declaration closer to
3514 its usage.
3515
3516 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3517 (Bug#14785)
3518
3519 2013-12-19 Juri Linkov <juri@jurta.org>
3520
3521 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3522 New function.
3523 (log-edit-hook): Add it to :options. (Bug#16170)
3524
3525 2013-12-19 Juri Linkov <juri@jurta.org>
3526
3527 * simple.el (eval-expression-print-format): Don't check for
3528 command names and the last command. Always display additional
3529 formats of the integer result in the echo area, and insert them
3530 to the current buffer only with a zero prefix arg.
3531 Display character when char-displayable-p is non-nil.
3532 (eval-expression): With a zero prefix arg, set `print-length' and
3533 `print-level' to nil, and insert the integer values from
3534 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3535
3536 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3537 `eval-last-sexp-arg-internal'. Doc fix.
3538 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3539 `eval-last-sexp-print-value'. Doc fix.
3540 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3541 Set `print-length' and `print-level' to nil when arg is zero.
3542 (eval-last-sexp): Doc fix.
3543 (eval-defun-2): Print the integer values from
3544 `eval-expression-print-format' at the end.
3545
3546 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3547 values from `eval-expression-print-format' at the end.
3548
3549 * ielm.el (ielm-eval-input): Print the integer
3550 values from `eval-expression-print-format' at the end.
3551
3552 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3553
3554 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3555 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3556
3557 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3560 (hl-line-highlight, global-hl-line-highlight): Use it.
3561 (hl-line-overlay): Use defvar-local.
3562
3563 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3564
3565 * term/ns-win.el: Require dnd.
3566 (global-map): Remove drag items.
3567 (ns-insert-text, ns-set-foreground-at-mouse)
3568 (ns-set-background-at-mouse):
3569 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3570 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3571 New functions.
3572
3573 2013-12-19 Glenn Morris <rgm@gnu.org>
3574
3575 * emacs-lisp/ert.el (ert-select-tests):
3576 Fix string/symbol mixup. (Bug#16121)
3577
3578 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3579
3580 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3581 keywords to their parent.
3582
3583 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3584
3585 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3586 first arg to be a string (fixed dead code), or an operator symbol.
3587 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3588 operator symbols.
3589 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3590 did nothing. Don't respond to `(:after ".")', it will be called
3591 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3592 change anything. Only return indentation for binary operators
3593 when they are hanging. De-dent opening paren when its parent is
3594 `.', otherwise it looks bad when the dot is not at bol or eol
3595 (bug#16182).
3596
3597 2013-12-19 Juri Linkov <juri@jurta.org>
3598
3599 * replace.el (query-replace-read-args): Split a non-negative arg
3600 and a negative arg into separate elements.
3601 (query-replace, query-replace-regexp, replace-string)
3602 (replace-regexp): Add arg `backward'. Doc fix.
3603 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3604 move point to the beginning of the match.
3605 (replace-search, replace-highlight): Use new arg `backward'
3606 to set the value of `isearch-forward'.
3607 (perform-replace): Add arg `backward' and use it to perform
3608 replacement backward. (Bug#14979)
3609
3610 * isearch.el (isearch-query-replace): Use a negative prefix arg
3611 to call `perform-replace' with a non-nil arg `backward'.
3612
3613 2013-12-18 Juri Linkov <juri@jurta.org>
3614
3615 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3616 to the default list. Move `log-edit-show-files' to the end.
3617 Add more available functions to options.
3618 (log-edit): Move default specific settings to
3619 `log-edit-insert-message-template'. Don't move point.
3620 (log-edit-insert-message-template): New function.
3621 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3622 (Bug#16170)
3623
3624 2013-12-18 Juri Linkov <juri@jurta.org>
3625
3626 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3627 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3628
3629 2013-12-18 Leo Liu <sdl.web@gmail.com>
3630
3631 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3632 (Bug#16186)
3633
3634 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3635
3636 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3637 formats for displaying file sizes when the -s switch is given.
3638 Instead, compute a separate format for displaying the size in
3639 blocks, which is displayed in addition to the "regular" size.
3640 When -h is given in addition to -s, produce size in blocks in
3641 human-readable form as well. (Bug#16179)
3642
3643 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3644
3645 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3646 Reference tables with ~\ref{...} instead of only \ref{...}.
3647
3648 2013-12-18 Chong Yidong <cyd@gnu.org>
3649
3650 * cus-edit.el (custom-magic-alist): Fix "themed" description
3651 (Bug#14348).
3652
3653 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3654 is non-nil, do not create a new entry in the symbol's theme-value
3655 or theme-face property; update theme-settings only (Bug#14664).
3656 (custom-available-themes): Doc fix.
3657
3658 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3659 (Bug#15674).
3660
3661 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3662
3663 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3664
3665 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3666 (Bug#13914).
3667
3668 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3669
3670 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3671
3672 2013-12-18 Glenn Morris <rgm@gnu.org>
3673
3674 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3675 * cus-start.el (load-prefer-newer): New option.
3676
3677 2013-12-18 Le Wang <l26wang@gmail.com>
3678
3679 * comint.el (comint-previous-matching-input-from-input):
3680 Retain point (Bug#13404).
3681
3682 2013-12-18 Chong Yidong <cyd@gnu.org>
3683
3684 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3685
3686 2013-12-18 Glenn Morris <rgm@gnu.org>
3687
3688 * mail/emacsbug.el (report-emacs-bug):
3689 Only mention enable-multibyte-characters if non-standard.
3690
3691 2013-12-17 Juri Linkov <juri@jurta.org>
3692
3693 * arc-mode.el (archive-extract-by-file): Check if directory exists
3694 before deletion to not show irrelevant errors if it doesn't exist.
3695
3696 2013-12-17 Juri Linkov <juri@jurta.org>
3697
3698 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3699 (Bug#14751)
3700
3701 * net/eww.el (browse-web): Add alias to `eww'.
3702 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3703 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3704
3705 * net/browse-url.el (browse-url-browser-function): Move `eww'
3706 closer to similar functions.
3707
3708 * startup.el (fancy-startup-screen, fancy-about-screen):
3709 Set browse-url-browser-function to eww-browse-url locally.
3710 (Bug#14751)
3711
3712 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * window.el (window--pixel-to-total): Remove unused `mini' var.
3715 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3716 (split-window): Remove unused `new' var.
3717 (window--display-buffer): Remove unused `frame' and `delta' vars.
3718 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3719 and display-width'.
3720
3721 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3722
3723 * dired.el (dired-mark-pop-up):
3724 * register.el (register-preview): Don't bind
3725 split-height-threshold here since it's now done in
3726 display-buffer-below-selected.
3727
3728 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3729
3730 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3731 xterm-rgb-convert-to-16bit.
3732 (rxvt-register-default-colors): Standardize with
3733 xterm-register-default-colors (Bug#14078).
3734
3735 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3736
3737 * simple.el (kill-region): Pass mark first, then point, so that
3738 kill-append works right (Bug#12819).
3739 (copy-region-as-kill, kill-ring-save): Likewise.
3740
3741 2013-12-17 Leo Liu <sdl.web@gmail.com>
3742
3743 * net/rcirc.el (rcirc-add-face):
3744 * eshell/em-prompt.el (eshell-emit-prompt):
3745 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3746 (Bug#16167)
3747
3748 2013-12-17 Chong Yidong <cyd@gnu.org>
3749
3750 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3751 Suggested by Xue Fuqiao.
3752
3753 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3754
3755 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3756
3757 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * net/shr.el (shr-insert-document): Remove unused var
3760 `shr-preliminary-table-render'.
3761 (shr-rescale-image): Remove unused arg `force'.
3762 (shr-put-image): Update calls accordingly.
3763 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3764
3765 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3766
3767 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3768 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3769 :close-all, to see which indentation method to use (Bug#16116).
3770 (smie-rules-function): Document the method :close-all.
3771
3772 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3773
3774 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3775
3776 * net/eww.el (eww-display-html): If we can't find the anchor we're
3777 looking for, then go to point-min.
3778
3779 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3780
3781 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3782 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3783 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3784 Expand dir too, in case it's relative.
3785
3786 2013-12-16 Juri Linkov <juri@jurta.org>
3787
3788 * desktop.el (desktop-auto-save-timeout): Change default to
3789 `auto-save-timeout'. Doc fix.
3790 (desktop-save): Skip the timestamp in desktop-saved-frameset
3791 when checking for auto-save changes.
3792 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3793 `desktop-auto-save' is called repeatedly by the idle timer.
3794 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3795 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3796 (Bug#15331)
3797
3798 2013-12-16 Juri Linkov <juri@jurta.org>
3799
3800 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3801 (Bug#16035)
3802 (isearch-pre-command-hook): Check `this-command' for symbolp.
3803
3804 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3807
3808 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3809
3810 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3811 (cfengine3--current-function): Bring in the current-function
3812 functionality from `cfengine3--current-word'.
3813 (cfengine3-completion-function): Bring in the
3814 bounds-of-current-word functionality from
3815 `cfengine3--current-word'.
3816
3817 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3818
3819 * window.el (display-buffer-below-selected):
3820 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3821
3822 2013-12-16 Leo Liu <sdl.web@gmail.com>
3823
3824 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3825 Remove NOMSG arg and all uses changed.
3826
3827 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3830 (cua--deactivate-rectangle): Don't deactivate the mark.
3831 (cua-set-rectangle-mark): Don't set mark-active since
3832 cua--activate-rectangle already does it for us.
3833 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3834 non-rectangular region.
3835
3836 * emulation/cua-base.el (cua-repeat-replace-region):
3837 Use with-current-buffer.
3838
3839 * net/gnutls.el: Use cl-lib.
3840 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3841
3842 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3843
3844 * emacs-lisp/package.el (package-built-in-p): Support both
3845 built-in and the package.el converted package descriptions.
3846 (package-show-package-list): Allow keywords.
3847 (package-keyword-button-action): Use it instead of
3848 `finder-list-matches'.
3849 (package-menu-filter-interactive): Interactive filtering (by
3850 keyword) function.
3851 (package-menu--generate): Support keywords and change keymappings
3852 and headers when they are given.
3853 (package--has-keyword-p): Helper function.
3854 (package-menu--refresh): Use it.
3855 (package--mapc): Helper function.
3856 (package-all-keywords): Use it.
3857 (package-menu-mode-map): Set up menu items and keybindings to
3858 provide a filtering UI.
3859
3860 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3861
3862 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3863 the behavior when a certificate fails validation. Defaults to
3864 old behavior: never abort, just warn.
3865 (gnutls-negotiate): Use it.
3866
3867 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3868
3869 * window.el (display-buffer-below-selected): Never split window
3870 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3871
3872 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3873
3874 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3875 (package-buffer-info): Use it (bug#15108).
3876
3877 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3878
3879 * icomplete.el (icomplete-completions): Make sure the prefix is already
3880 displayed elsewhere before hiding it (bug#16219).
3881
3882 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3883
3884 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3885 open-paren tokens when preceded by a open-paren, too.
3886 (ruby-smie-rules): Handle virtual indentation after open-paren
3887 tokens specially. If there is code between it and eol, return the
3888 column where is starts (Bug#16118).
3889
3890 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3891
3892 * progmodes/cfengine.el: Fix `add-hook' doc.
3893 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3894 (cfengine3--current-word): Fix parameters.
3895 (cfengine3-make-syntax-cache): Simplify further.
3896 (cfengine3-completion-function, cfengine3--current-function):
3897 Use `assq' for symbols.
3898 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3899
3900 2013-12-13 Glenn Morris <rgm@gnu.org>
3901
3902 * loadup.el (load-path): Warn if site-load or site-init changes it.
3903 No more need to reset it when bootstrapping.
3904
3905 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3906
3907 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3908 locations for cf-promises.
3909 (cfengine-mode-syntax-functions-regex): New caching variable.
3910 (cfengine3-fallback-syntax): Fallback syntax for cases where
3911 cf-promises doesn't run.
3912 (cfengine3--current-word): Reimplement using
3913 `cfengine-mode-syntax-functions-regex'.
3914 (cfengine3-completion-function, cfengine3--current-function):
3915 Use `cfengine3-make-syntax-cache' directly.
3916 (cfengine3-clear-syntax-cache): New function.
3917 (cfengine3-make-syntax-cache): Simplify and create
3918 `cfengine-mode-syntax-functions-regex' on demand.
3919 (cfengine3-format-function-docstring): Don't call
3920 `cfengine3-make-syntax-cache' explicitly.
3921
3922 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3923
3924 Fix windmove-find-other-window broken after pixelwise resizing
3925 (Bug#16017).
3926 * windmove.el (windmove-other-window-loc): Revert change from
3927 2013-12-04.
3928 (windmove-find-other-window): Call window-in-direction.
3929 * window.el (window-in-direction): New arguments SIGN, WRAP and
3930 MINI to emulate original windmove-find-other-window behavior.
3931
3932 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3933
3934 * simple.el (blink-matching--overlay): New variable.
3935 (blink-matching-open): Instead of moving point, highlight the
3936 matching paren with an overlay
3937 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3938
3939 * faces.el (paren-showing-faces, show-paren-match)
3940 (show-paren-mismatch): Move from paren.el.
3941
3942 2013-12-13 Leo Liu <sdl.web@gmail.com>
3943
3944 * indent.el (indent-region): Disable progress reporter in
3945 minibuffer. (Bug#16108)
3946
3947 * bindings.el (visual-order-cursor-movement): Fix version.
3948
3949 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3950
3951 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3952 Also match after beginning of line.
3953 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3954 files. Thanks to Russell Sim. (Bug#15378)
3955
3956 2013-12-13 Juri Linkov <juri@jurta.org>
3957
3958 * simple.el <Keypad support>: Remove key bindings duplicated
3959 with bindings.el. (Bug#14397)
3960
3961 2013-12-13 Juri Linkov <juri@jurta.org>
3962
3963 * comint.el (comint-mode-map): Replace `delete-char' with
3964 `delete-forward-char'. (Bug#16109)
3965
3966 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3967
3968 * progmodes/python.el (python-indent-calculate-indentation):
3969 Fix de-denters cornercase. (Bug#15731)
3970
3971 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3972
3973 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3974 (advice--make): Pay attention to `depth'.
3975 (advice--make-1): Don't autoload commands eagerly.
3976 * emacs-lisp/elp.el (elp-instrument-function):
3977 * emacs-lisp/trace.el (trace-function-internal):
3978 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3979
3980 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3981
3982 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3983
3984 * term/w32-win.el (w32-handle-dropped-file):
3985 * startup.el (normal-top-level):
3986 * net/browse-url.el (browse-url-file-url):
3987 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3988 decode file names using 'utf-8' rather than
3989 file-name-coding-system.
3990
3991 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3992
3993 * progmodes/python.el (python-indent-context)
3994 (python-indent-calculate-indentation): Fix auto-identation
3995 behavior for comment blocks. (Bug#15916)
3996
3997 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3998
3999 * progmodes/python.el (python-indent-calculate-indentation):
4000 When determining indentation, don't treat "return", "pass", etc., as
4001 operators when they are just string constituents. (Bug#15812)
4002
4003 2013-12-12 Juri Linkov <juri@jurta.org>
4004
4005 * uniquify.el (uniquify-buffer-name-style): Change default to
4006 `post-forward-angle-brackets'.
4007
4008 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4009 `uniquify'. Change default to `post-forward-angle-brackets'.
4010
4011 2013-12-11 Glenn Morris <rgm@gnu.org>
4012
4013 * emacs-lisp/package.el (finder-list-matches):
4014 Autoload rather than falsely declaring.
4015
4016 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4017
4018 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4019 (eww-mode-map): Use them.
4020
4021 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4022
4023 * window.el (display-buffer-in-side-window): Fix doc-string
4024 (Bug#16115).
4025
4026 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4027
4028 * vc/vc-git.el: Silence byte-compiler warnings.
4029 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4030 (log-edit-set-header): Declare.
4031
4032 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4033
4034 * Makefile.in (custom-deps, finder-data): Run output file names
4035 through unmsys--file-name. (Bug#16099)
4036
4037 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4038
4039 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4040 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4041
4042 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4043 instead of deleting the selection "by hand" (bug#16098).
4044 Rely on insert-for-yank to yank rectangles.
4045 (cua-highlight-region-shift-only): Mark obsolete.
4046 (cua-mode): Don't enable/disable transient-mark-mode,
4047 shift-select-mode (cua-mode works both with and without them), and
4048 pc-selection-mode (obsolete).
4049 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4050 (cua--deactivate-rectangle): Deactivate it.
4051
4052 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4053 (delete-selection-helper): Make sure yank starts at the top of the
4054 deleted region.
4055 (minibuffer-keyboard-quit): Use region-active-p.
4056
4057 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4058
4059 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4060 to `delete' (bug#16109).
4061
4062 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4063
4064 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4065 info manual and show keybindings and set `:group' keyword.
4066
4067 2013-12-11 Juri Linkov <juri@jurta.org>
4068
4069 * delsel.el (delete-active-region): Let-bind `this-command'
4070 to prevent `kill-region' from changing its original value.
4071 (delete-selection-helper): Handle `overwrite-mode' for the type
4072 `kill' exactly the same way as for the type `t'.
4073 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4074 Support more commands. (Bug#13312)
4075
4076 2013-12-11 Juri Linkov <juri@jurta.org>
4077
4078 * bindings.el: Map kp keys to non-kp keys systematically
4079 with basic modifiers control, meta and shift. (Bug#14397)
4080
4081 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4082
4083 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4084 "Close browser" menu items. Fix wrong function of "List
4085 bookmarks".
4086
4087 2013-12-11 Juri Linkov <juri@jurta.org>
4088
4089 * misearch.el (multi-isearch-buffers): Set the value of
4090 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4091 arg of isearch-forward to t.
4092 (multi-isearch-buffers-regexp): Set the value of
4093 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4094 arg of isearch-forward-regexp to t.
4095 (multi-isearch-files): Set the value of
4096 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4097 arg of isearch-forward to t.
4098 (multi-isearch-files-regexp): Set the value of
4099 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4100 arg of isearch-forward-regexp to t. (Bug#16035)
4101
4102 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4103 arg of isearch-forward to t.
4104 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4105 arg of isearch-forward-regexp to t.
4106 (dired-isearch-filter-filenames): Remove unnecessary check for
4107 `dired-isearch-filenames'.
4108
4109 * comint.el (comint-history-isearch-backward):
4110 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4111 (comint-history-isearch-backward-regexp):
4112 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4113
4114 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4115
4116 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4117 unmsys--file-name. (Bug#16099)
4118
4119 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4120
4121 * emacs-lisp/package.el (package-keyword-button-action):
4122 Remove finder.el require dependency.
4123
4124 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4125
4126 * emacs-lisp/package.el: Require finder.el.
4127 (describe-package-1): Add keyword buttons.
4128 (package-make-button): New convenience function.
4129 (package-keyword-button-action): Keyword button action using
4130 `finder-list-matches'.
4131
4132 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4133
4134 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4135 last commit.
4136
4137 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4138
4139 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4140 symlinked files.
4141
4142 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4143
4144 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4145 after the end of a percent literal.
4146
4147 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4148
4149 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4150 Handle caret-delimited strings (Bug#16079).
4151
4152 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4153
4154 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4155 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4156 `ruby-parse-partial' (Bug#16078).
4157
4158 2013-12-09 Leo Liu <sdl.web@gmail.com>
4159
4160 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4161
4162 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4163
4164 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4165 (js-switch-indent-offset): New option.
4166 (js--proper-indentation): Use it. And handle the case when
4167 "default" is actually a key in an object literal.
4168 (js--same-line): New function.
4169 (js--multi-line-declaration-indentation): Use it.
4170 (js--indent-in-array-comp, js--array-comp-indentation):
4171 New functions.
4172 (js--proper-indentation): Use them, to handle array comprehension
4173 continuations.
4174
4175 2013-12-08 Leo Liu <sdl.web@gmail.com>
4176
4177 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4178 (flymake-make-overlay): Remove arg MOUSE-FACE.
4179 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4180
4181 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4182
4183 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4184 New function.
4185 (redisplay-highlight-region-function): Use it.
4186
4187 * emulation/cua-base.el (cua--explicit-region-start)
4188 (cua--last-region-shifted): Remove.
4189 (cua--deactivate): Use deactivate-mark.
4190 (cua--pre-command-handler-1): Don't handle shift-selection.
4191 (cua--post-command-handler-1): Don't change transient-mark-mode.
4192 (cua--select-keymaps): Use region-active-p rather than
4193 cua--explicit-region-start or cua--last-region-shifted.
4194 (cua-mode): Enable shift-select-mode.
4195
4196 2013-12-08 Leo Liu <sdl.web@gmail.com>
4197
4198 * progmodes/flymake.el (flymake-popup-current-error-menu):
4199 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4200 (flymake-posn-at-point-as-event, flymake-popup-menu)
4201 (flymake-make-emacs-menu): Remove. (Bug#16077)
4202
4203 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * rect.el (rectangle-mark-mode): Activate mark even if
4206 transient-mark-mode is off (bug#16066).
4207 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4208 is > mark and at bolp.
4209
4210 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4211 (region-extract-function): Use it.
4212 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4213 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4214 Delete functions.
4215 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4216 kill-ring-save, kill-region, delete-char, delete-forward-char.
4217 Ignore self-insert-iso.
4218
4219 * emulation/cua-gmrk.el (cua--init-global-mark):
4220 Ignore `self-insert-iso'.
4221
4222 * emulation/cua-base.el (cua--prefix-copy-handler)
4223 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4224 checking cua--rectangle.
4225 (cua-delete-region): Use region-extract-function.
4226 (cua-replace-region): Delete function.
4227 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4228 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4229 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4230 (cua--init-keymaps): Don't remap delete-selection commands.
4231 (cua-mode): Use delete-selection-mode instead of rolling our own
4232 (bug#16085).
4233
4234 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4235 Obey region-extract-function.
4236
4237 Make registers and delete-selection-mode work on rectangles.
4238 * register.el (describe-register-1): Don't modify the register's value.
4239 (copy-to-register): Obey region-extract-function.
4240 * delsel.el (delete-active-region): Obey region-extract-function.
4241
4242 2013-12-08 Leo Liu <sdl.web@gmail.com>
4243
4244 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4245 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4246 (flymake-compilation-prevents-syntax-check)
4247 (flymake-start-syntax-check-on-newline)
4248 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4249 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4250 (flymake-xml-program, flymake-master-file-dirs)
4251 (flymake-master-file-count-limit)
4252 (flymake-allowed-file-name-masks): Relocate.
4253 (flymake-makehash, flymake-float-time)
4254 (flymake-replace-regexp-in-string, flymake-split-string)
4255 (flymake-get-temp-dir): Remove.
4256 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4257 (flymake-current-row, flymake-selected-frame)
4258 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4259 related functions. (Bug#16077)
4260
4261 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4262
4263 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4264
4265 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4266
4267 * help-fns.el (describe-function-1): Use new advice-* functions
4268 rather than old ad-* functions. Fix function type description and
4269 source links for advised functions and subrs.
4270
4271 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4272
4273 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4274
4275 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4276
4277 * progmodes/compile.el (compilation-start):
4278 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4279
4280 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4281 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4282
4283 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4284
4285 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4286 Touch up the last change.
4287
4288 2013-12-06 Leo Liu <sdl.web@gmail.com>
4289
4290 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4291 (inferior-octave-startup): Always use "octave> " for prompt.
4292 (octave-goto-function-definition)
4293 (octave-sync-function-file-names)
4294 (octave-find-definition-default-filename): Remove redundant backquotes.
4295
4296 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4297
4298 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4299 syntax for `?'.
4300 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4301 where appropriate already.
4302 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4303 end of method names (Bug#15874).
4304
4305 2013-12-06 Juri Linkov <juri@jurta.org>
4306
4307 * isearch.el (isearch--saved-overriding-local-map):
4308 New internal variable.
4309 (isearch-mode): Set it to the initial value of
4310 `overriding-terminal-local-map'.
4311 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4312 with `isearch--saved-overriding-local-map'. (Bug#16035)
4313
4314 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4315
4316 * progmodes/octave.el (inferior-octave-completion-table):
4317 Turn back into function, use `completion-table-with-cache'
4318 (Bug#11906). Update all references.
4319
4320 * minibuffer.el (completion-table-with-cache): New function.
4321
4322 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4323
4324 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4325
4326 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4327
4328 * net/eww.el (eww-current-source): New variable to store page
4329 source.
4330 (eww-display-html, eww-mode, eww-save-history)
4331 (eww-restore-history): Use it.
4332 (eww-view-source): New command to view page source.
4333 Opportunistically uses `html-mode' to highlight the buffer.
4334 (eww-mode-map): Install it.
4335
4336 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4337
4338 * net/dbus.el (dbus-unregister-service)
4339 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4340 Fix docstring.
4341 (dbus-unregister-service): Skip :serial entries in
4342 `dbus-registered-objects-table'.
4343 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4344
4345 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4346
4347 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4348 around keywords with extra `split-string' argument.
4349
4350 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4351
4352 * windmove.el (windmove-other-window-loc): Handle navigation
4353 between windows (excluding the minibuffer window - Bug#16017).
4354
4355 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4356
4357 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4358 in D-Bus type syntax.
4359 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4360 preserve unibyte strings. (Bug#16048)
4361
4362 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4365 Call force-mode-line-update is the proper buffer (bug#16042).
4366
4367 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4368
4369 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4370 `log-edit-remember-comment', make argument optional. Adjust all
4371 callers.
4372 (log-edit-mode): Add `log-edit-remember-comment' to
4373 `kill-buffer-hook' locally.
4374 (log-edit-kill-buffer): Don't remember comment explicitly since
4375 the buffer is killed anyway.
4376
4377 2013-12-04 Juri Linkov <juri@jurta.org>
4378
4379 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4380 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4381
4382 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4383
4384 * notifications.el (notifications-close-notification): Call the
4385 D-Bus method with ID being a `:uint32'. (Bug#16030)
4386
4387 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4388
4389 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4390
4391 2013-12-03 Juri Linkov <juri@jurta.org>
4392
4393 * progmodes/compile.el (compilation-start): Rename window alist
4394 entry `no-display-ok' to `allow-no-window'.
4395
4396 * simple.el (shell-command): Add window alist entry
4397 `allow-no-window' to `display-buffer'.
4398 (async-shell-command): Doc fix.
4399
4400 * window.el (display-buffer-no-window): New action function.
4401 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4402
4403 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4404
4405 * vc/log-edit.el (log-edit-set-header): Extract from
4406 `log-edit-toggle-header'.
4407 (log-edit-extract-headers): Separate the summary, when extracted
4408 from header, from the rest of the message with an empty line.
4409
4410 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4411 line, if present, to the Summary header.
4412
4413 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4414
4415 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4416 in current-buffer (bug#16029).
4417
4418 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4419
4420 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4421 (debugger-mode-map): Bind it.
4422 (debugger--backtrace-base): New function.
4423 (debugger-eval-expression): Use it.
4424 (debugger-frame-number): Skip local vars when present.
4425 (debugger--locals-visible-p, debugger--insert-locals)
4426 (debugger--show-locals, debugger--hide-locals): New functions.
4427
4428 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4429
4430 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4431 "LC_ALL".
4432 (tramp-get-remote-locale): New defun.
4433 (tramp-open-connection-setup-interactive-shell): Use it.
4434
4435 2013-12-02 Leo Liu <sdl.web@gmail.com>
4436
4437 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4438
4439 * progmodes/sh-script.el (sh-shell-process):
4440 * progmodes/octave.el (inferior-octave-process-live-p):
4441 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4442 (gdb-inferior-io-sentinel):
4443 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4444
4445 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4446
4447 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4448 `save-selected-window' to `log-edit-hide-buf'. This makes
4449 `log-edit-show-files' idempotent.
4450 (log-edit-show-files): Mark the new window as dedicated.
4451
4452 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4453
4454 * vc/log-edit.el (log-edit-mode-map): Add binding for
4455 `log-edit-kill-biffer'.
4456 (log-edit-hide-buf): Add a FIXME comment.
4457 (log-edit-add-new-comment): New function, extracted from
4458 `log-edit-done'.
4459 (log-edit-done, log-edit-add-to-changelog): Use it.
4460 (log-edit-kill-buffer): New command.
4461
4462 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4463
4464 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4465 instead of killing the buffer.
4466
4467 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4470
4471 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4472
4473 * net/eww.el (eww-form-checkbox-selected-symbol)
4474 (eww-form-checkbox-symbol): New customizable variable.
4475 (eww-form-checkbox, eww-toggle-checkbox):
4476 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4477
4478 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4479 (shr--get-media-pref, shr--extract-best-source): New function.
4480 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4481 no :src tag was specified.
4482
4483 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4484 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4485 Use \\` to match beginning of string instead of ^.
4486 (eww-browse-with-external-browser): Provide optional URL parameter.
4487 (eww-render): Set `eww-current-title' back to "".
4488
4489 * net/shr.el (shr-tag-video): Display content for video if no
4490 poster is available.
4491 (shr-tag-audio): Add support for <audio> tag.
4492
4493 * net/eww.el (eww-text-input-types): New const.
4494 (eww-process-text-input): Treat input types in
4495 `eww-text-input-types' as text.
4496
4497 * net/shr.el (shr-tag-table): Fix comment typo.
4498
4499 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4500
4501 * net/eww.el (eww-follow-link): New command to avoid reloading
4502 pages when we follow #target links (bug#15243).
4503 (eww-quit): Special mode buffers shouldn't query before exiting.
4504
4505 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4506
4507 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4508 forms.
4509
4510 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4511
4512 * net/eww.el (eww-restore-history): Update the window title after
4513 moving in the history.
4514 (eww-current-dom): New variable used to save the current DOM.
4515
4516 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4517
4518 * vc/log-edit.el (log-edit-mode-map): Add binding for
4519 `log-edit-beginning-of-line'.
4520 (log-edit-setup-add-author): New user option.
4521 (log-edit-beginning-of-line): New command.
4522 (log-edit): Move major mode call above the contents setup so that
4523 the local variable values are already applied.
4524 (log-edit): Only insert "Author: " when
4525 `log-edit-setup-add-author' is non-nil.
4526 (log-edit): When SETUP is non-nil, position point after ": "
4527 instead of point-min.
4528
4529 2013-12-01 Glenn Morris <rgm@gnu.org>
4530
4531 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4532
4533 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4534
4535 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4536 redisplay to make sure the initial frame gets a chance to become
4537 visible. (Bug#16014)
4538
4539 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4540
4541 Support resizing frames and windows pixelwise.
4542 * cus-start.el (frame-resize-pixelwise)
4543 (window-resize-pixelwise): New entries.
4544 * emacs-lisp/debug.el (debug): Use window-total-height instead
4545 of window-total-size.
4546 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4547 * help.el (describe-bindings-internal): Use help-buffer as
4548 argument for with-help-window.
4549 (temp-buffer-max-width): New option.
4550 (resize-temp-buffer-window, help-window-setup)
4551 (with-help-window): Rewrite.
4552 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4553 dragging dividers.
4554 * window.el (frame-char-size, window-min-pixel-height)
4555 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4556 (window-min-pixel-width, window-safe-min-pixel-size)
4557 (window-combination-p, window-safe-min-size)
4558 (window-resizable-p, window--size-to-pixel)
4559 (window--pixel-to-size, window--resize-apply-p): New functions.
4560 (window-safe-min-height): Fix doc-string.
4561 (window-size, window-min-size, window--min-size-1)
4562 (window-sizable, window-sizable-p, window--min-delta-1)
4563 (window-min-delta, window--max-delta-1, window-max-delta)
4564 (window--resizable, window--resizable-p, window-resizable)
4565 (window-full-height-p, window-full-width-p, window-at-side-p)
4566 (window--in-direction-2, window-in-direction)
4567 (window--resize-reset-1, window--resize-mini-window)
4568 (window-resize, window-resize-no-error)
4569 (window--resize-child-windows-normal)
4570 (window--resize-child-windows, window--resize-siblings)
4571 (window--resize-this-window, window--resize-root-window)
4572 (window--resize-root-window-vertically)
4573 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4574 (maximize-window, minimize-window, delete-window)
4575 (quit-restore-window, window-split-min-size, split-window)
4576 (balance-windows-2, balance-windows)
4577 (balance-windows-area-adjust, balance-windows-area)
4578 (window--state-get-1, window-state-get, window--state-put-1)
4579 (window--state-put-2, window-state-put)
4580 (display-buffer-record-window, window--display-buffer):
4581 Make functions handle pixelwise sizing of windows.
4582 (display-buffer--action-function-custom-type)
4583 (display-buffer-fallback-action):
4584 Add display-buffer-in-previous-window.
4585 (display-buffer-use-some-window): Resize window to height it had
4586 before.
4587 (fit-window-to-buffer-horizontally): New option.
4588 (fit-frame-to-buffer): Describe new values.
4589 (fit-frame-to-buffer-bottom-margin): Replace with
4590 fit-frame-to-buffer-margins.
4591 (window--sanitize-margin): New function.
4592 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4593 using window-text-pixel-size.
4594
4595 2013-11-30 Glenn Morris <rgm@gnu.org>
4596
4597 * emacs-lisp/bytecomp.el (byte-compile-form):
4598 Make the `interactive-only' warning like the `obsolete' one.
4599 * comint.el (comint-run):
4600 * files.el (insert-file-literally, insert-file):
4601 * replace.el (replace-string, replace-regexp):
4602 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4603 (goto-line, insert-buffer, next-line, previous-line):
4604 Tweak `interactive-only' spec.
4605
4606 Stop keeping (most) generated cedet grammar files in the repository.
4607 * Makefile.in (semantic): New.
4608 (compile-main): Depend on semantic.
4609
4610 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4611
4612 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4613 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4614
4615 * uniquify.el (uniquify-buffer-name-style): Change default.
4616
4617 * loadup.el: Preload "uniquify".
4618
4619 * time.el (display-time-update): Update all mode lines (bug#15999).
4620
4621 * electric.el (electric-indent-mode): Enable by default.
4622 * loadup.el: Preload "electric".
4623
4624 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4625
4626 * emacs-lisp/helpers.el (string-empty-p): New function.
4627 (string-blank-p): New function.
4628
4629 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4630
4631 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4632 (Bug#14029).
4633
4634 2013-11-29 Andreas Politz <politza@fh-trier.de>
4635 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4636 allow non-lambda lists as functions.
4637 (imenu--in-alist): Don't recurse into non-subalists.
4638 (imenu): Don't pass function itself as an argument (Bug#14029).
4639
4640 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * progmodes/python.el (python-mode-map): Remove binding for ":".
4643 (python-indent-electric-colon): Remove command.
4644 (python-indent-post-self-insert-function): Integrate the previous code
4645 of python-indent-electric-colon. Make it conditional on
4646 electric-indent-mode.
4647 (python-mode): Add ?: to electric-indent-chars.
4648 Move python-indent-post-self-insert-function to the end of
4649 post-self-insert-hook.
4650
4651 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * doc-view.el (doc-view-goto-page): Update mode-line.
4654
4655 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4656
4657 2013-11-27 Glenn Morris <rgm@gnu.org>
4658
4659 * international/charprop.el, international/uni-bidi.el:
4660 * international/uni-category.el, international/uni-combining.el:
4661 * international/uni-comment.el, international/uni-decimal.el:
4662 * international/uni-decomposition.el, international/uni-digit.el:
4663 * international/uni-lowercase.el, international/uni-mirrored.el:
4664 * international/uni-name.el, international/uni-numeric.el:
4665 * international/uni-old-name.el, international/uni-titlecase.el:
4666 * international/uni-uppercase.el:
4667 Remove generated files from VCS repository.
4668
4669 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4670
4671 * filenotify.el (file-notify-add-watch): Don't special-case
4672 w32notify when computing the directory to watch.
4673
4674 2013-11-27 Glenn Morris <rgm@gnu.org>
4675
4676 Make bootstrap without generated uni-*.el files possible again.
4677 * loadup.el: Update command-line-args checking for unidata-gen.
4678 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4679 * composite.el, international/characters.el:
4680 Handle unicode tables being undefined.
4681
4682 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4683 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4684 (compile-main): Depend on leim rule.
4685 (leim): New rule.
4686 * loadup.el: Move leim-list.el to leim/ subdirectory.
4687 * startup.el (normal-top-level): No more leim directory.
4688 * international/ja-dic-cnv.el (skkdic-convert):
4689 Disable version-control and autoloads in output files.
4690 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4691 Disable version-control and autoloads in output files.
4692 * leim/quail: Move here from ../leim.
4693 * leim/quail/hangul.el (hangul-input-method-activate):
4694 Add autoload cookie.
4695 (generated-autoload-load-name): Set file-local value.
4696 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4697 (generated-autoload-load-name): Set file-local value.
4698
4699 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4700
4701 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4702 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4703 (eww-quit): Ask confirmation before quitting eww.
4704
4705 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4706
4707 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4708 reading output from Diff on MS-Windows and MS-DOS.
4709
4710 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4711
4712 * emacs-lisp/helpers.el (string-reverse): New function.
4713
4714 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4715
4716 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4717 names on MS Windows, like "/[::1]:".
4718
4719 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4720 SWITCHES.
4721
4722 2013-11-26 Glenn Morris <rgm@gnu.org>
4723
4724 * progmodes/python.el (python-indent-guess-indent-offset):
4725 Avoid corner-case error. (Bug#15975)
4726
4727 Preload leim-list.el. (Bug#4789)
4728 * loadup.el: Load leim-list.el when found.
4729 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4730
4731 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4732
4733 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4734
4735 * emacs-lisp/helpers.el (string-join): New function.
4736
4737 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4738
4739 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4740 Mark as obsolete and replace it with a symbol property.
4741 (byte-compile-form): Use new 'interactive-only property.
4742 * comint.el, files.el, replace.el, simple.el:
4743 Apply new 'interactive-only properly.
4744
4745 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4746
4747 * window.el (display-buffer-at-bottom): Make sure that
4748 split-window-sensibly creates the new window on bottom
4749 (Bug#15961).
4750
4751 2013-11-23 David Kastrup <dak@gnu.org>
4752
4753 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4754 on the conflict markers when available.
4755 (smerge--get-marker): New function.
4756 (smerge-end-re, smerge-base-re): Add subgroup.
4757
4758 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * frame.el (handle-focus-in, handle-focus-out): Add missing
4761 interactive spec.
4762
4763 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4764
4765 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4766 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4767
4768 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4769
4770 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4771 (gomoku--last-pos): New var.
4772 (gomoku--intangible-chars): New const.
4773 (gomoku--intangible): New function.
4774 (gomoku-mode): Use it. Derive from special-mode.
4775 (gomoku-move-up): Adjust line count.
4776 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4777 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4778 Simplify accordingly.
4779
4780 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4781 Remove blink-cursor code.
4782 (blink-cursor-timer-function, blink-cursor-suspend):
4783 Don't special-case GUIs.
4784 (blink-cursor-mode): Use focus-in/out-hook.
4785
4786 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4787
4788 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4789 work when annotation is invisible (Bug#13886).
4790
4791 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4792
4793 * json.el (json-alist-p): Only return non-nil if the alist has
4794 simple keys (Bug#13518).
4795
4796 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4797
4798 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4799 when control-statement is the first statement in a buffer (Bug#15956).
4800
4801 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * imenu.el (imenu-generic-skip-comments-and-strings):
4804 New option (Bug#15560).
4805 (imenu--generic-function): Use it.
4806
4807 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4808
4809 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4810 (Bug#13898)
4811
4812 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4813
4814 * emacs-lisp/helpers.el: Add some string helpers.
4815 (string-trim-left): Removes leading whitespace.
4816 (string-trim-right): Removes trailing whitespace.
4817 (string-trim): Removes leading and trailing whitespace.
4818
4819 * subr.el (string-suffix-p): New function.
4820
4821 2013-11-23 Glenn Morris <rgm@gnu.org>
4822
4823 * progmodes/python.el (python-shell-send-file):
4824 Add option to delete file when done. (Bug#15647)
4825 (python-shell-send-string, python-shell-send-region): Use it.
4826
4827 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4828
4829 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4830 to set buffer-read-only to t, never to nil. (Bug#15938)
4831
4832 * textmodes/tex-mode.el (latex-noindent-environments):
4833 Add safe-local-variable property. (Bug#15936)
4834
4835 2013-11-23 Glenn Morris <rgm@gnu.org>
4836
4837 * textmodes/enriched.el (enriched-mode): Doc fix.
4838 * emacs-lisp/authors.el (authors-renamed-files-alist):
4839 Add enriched.doc -> enriched.txt.
4840
4841 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4842
4843 2013-11-22 Leo Liu <sdl.web@gmail.com>
4844
4845 * progmodes/octave.el (inferior-octave-startup): Spit out error
4846 message.
4847
4848 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4849
4850 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4851 Improve docstring.
4852 Add :version.
4853 (ruby-encoding-magic-comment-style): Add :version.
4854
4855 2013-11-22 Leo Liu <sdl.web@gmail.com>
4856
4857 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4858 (Bug#15076)
4859 (octave-help-mode): Adapt to change to help-mode-finish to use
4860 derived-mode-p on 2013-09-17.
4861 (inferior-octave-prompt): Also match octave-gui.
4862 (octave-kill-process): Don't ask twice. (Bug#10564)
4863
4864 2013-11-22 Leo Liu <sdl.web@gmail.com>
4865
4866 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4867 (inferior-octave-startup, inferior-octave-check-process)
4868 (inferior-octave-track-window-width-change)
4869 (octave-completion-at-point, octave-eldoc-function): Use it.
4870 (octave-kill-process): Provide confirmation. (Bug#10564)
4871
4872 2013-11-21 Leo Liu <sdl.web@gmail.com>
4873
4874 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4875 Fix obsolete variable comment-use-global-state.
4876
4877 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4878
4879 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4880 Add `octave-source-file'.
4881 (octave-source-file): New function. (Bug#15935)
4882
4883 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4884
4885 * net/eww.el (eww-local-regex): New variable.
4886 (eww): Use it to detect localhost and similar.
4887
4888 2013-11-21 Leo Liu <sdl.web@gmail.com>
4889
4890 Add completion for command `ag'.
4891 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4892 (pcomplete/ag): New function.
4893 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4894
4895 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4898 (bug#14646).
4899 (make-obsolete): Remove interactive spec.
4900
4901 2013-11-21 Glenn Morris <rgm@gnu.org>
4902
4903 * startup.el (command-line-1): Use path-separator with -L.
4904
4905 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4906
4907 * emacs-lisp/package.el (describe-package-1): Add package archive
4908 to shown fields.
4909
4910 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4911
4912 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4913 Change default to "# encoding: %s" to differentiate it from the
4914 default Ruby encoding comment template.
4915
4916 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4917
4918 * ses.el (ses-mode): Doc fix. (Bug#14748)
4919
4920 2013-11-20 Leo Liu <sdl.web@gmail.com>
4921
4922 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4923
4924 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4925
4926 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4927 when rebase or bisect are in progress.
4928
4929 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4930
4931 * filenotify.el (file-notify-add-watch): Doc fix.
4932
4933 2013-11-19 Leo Liu <sdl.web@gmail.com>
4934
4935 * obsolete/rcompile.el: Mark obsolete.
4936
4937 * progmodes/compile.el (compilation-start)
4938 (compilation-goto-locus, compilation-find-file):
4939 Pass no-display-ok and handle nil value from display-buffer.
4940 (Bug#13594)
4941
4942 * window.el (display-buffer-alist, display-buffer): Document the
4943 new parameter no-display-ok. Return either a window or nil
4944 but never a non-window value.
4945
4946 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4947
4948 * electric.el (electric-indent-mode-map): Remove.
4949 (electric-indent-mode): Change the global-map instead (bug#15915).
4950
4951 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4952 Use add-function.
4953
4954 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4955
4956 * emacs-lisp/nadvice.el (remove-function): Align with
4957 add-function's behavior.
4958
4959 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4960 (gdb--string-regexp): New constant.
4961 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4962 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4963 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4964 submatch 1.
4965 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4966 Adjust use accordingly.
4967 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4968
4969 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4970
4971 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4972 interpolation curlies (Bug#15914).
4973
4974 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4975
4976 * calc/calc.el (calc-context-sensitive-enter): New variable.
4977 (calc-enter): Use `calc-context-sensitive-enter'.
4978
4979 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4980
4981 * progmodes/cfengine.el: Version bump.
4982 (cfengine-cf-promises): New defcustom to locate cf-promises.
4983 (cfengine3-vartypes): Add new "data" type.
4984 (cfengine3--current-word): New function to get current name-like
4985 word or its bounds.
4986 (cfengine3--current-function): New function to look up a CFEngine
4987 function's definition.
4988 (cfengine3-format-function-docstring): New function.
4989 (cfengine3-make-syntax-cache): New function.
4990 (cfengine3-documentation-function): New function: ElDoc glue.
4991 (cfengine3-completion-function): New function: completion glue.
4992 (cfengine3-mode): Set `compile-command',
4993 `eldoc-documentation-function', and add to
4994 `completion-at-point-functions'.
4995
4996 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4999 `tramp-current-connection'.
5000
5001 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5002
5003 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5004 nil/self/true/false with "end of symbol".
5005
5006 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5007
5008 * subr.el (version-regexp-alist): Fix a typo.
5009
5010 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5011
5012 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5013 "en_US.utf8" and "LC_CTYPE" to "".
5014 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5015 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5016
5017 2013-11-15 Leo Liu <sdl.web@gmail.com>
5018
5019 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5020
5021 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * progmodes/gud.el (ctl-x-map):
5024 Remove C-x SPC binding. (Bug#12342)
5025 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5026
5027 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5028
5029 * subr.el (version-regexp-alist):
5030 Recognize hg, svn and darcs versions as snapshot versions.
5031
5032 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5033 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5034 (ruby--encoding-comment-required-p): Extract from
5035 `ruby-mode-set-encoding'.
5036 (ruby-mode-set-encoding): Add the ability to always insert an
5037 utf-8 encoding comment. Fix and simplify coding comment update
5038 logic.
5039
5040 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5041
5042 * net/tramp-gvfs.el (top): Run init code only when
5043 `tramp-gvfs-enabled' is not nil.
5044 (tramp-gvfs-enabled): Check also :system bus.
5045
5046 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 Sync with upstream verilog-mode revision 78e66ba.
5049 * progmodes/verilog-mode.el (verilog-end-of-defun)
5050 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5051 (verilog-get-end-of-defun): Remove unused argument.
5052 (verilog-comment-depth): Remove unused local `e'.
5053 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5054 Don't pass arg to verilog-get-end-of-defun.
5055
5056 2013-11-14 Glenn Morris <rgm@gnu.org>
5057
5058 * obsolete/assoc.el (aget): Prefix dynamic variable.
5059
5060 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5061
5062 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 * widget.el, hfy-cmap.el: Remove bogus package version number.
5065
5066 2013-11-13 Glenn Morris <rgm@gnu.org>
5067
5068 * replace.el (replace-eval-replacement):
5069 Try to give more helpful error message. (Bug#15836)
5070
5071 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5072 (archive-7z-update): Avoid custom type mismatches.
5073
5074 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5075
5076 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5077
5078 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5079 address can be empty.
5080
5081 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5082 Accept nil SWITCHES.
5083 (tramp-gvfs-handle-write-region): Implement APPEND.
5084
5085 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5086
5087 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5088 binary "|" operator and closing block args delimiter.
5089 Remove FIXME comment referring to Ruby 1.8-only syntax.
5090 (ruby-smie--implicit-semi-p): Not after "|" operator.
5091 (ruby-smie--closing-pipe-p): New function.
5092 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5093 (ruby-smie-rules): Indent after "|".
5094
5095 2013-11-12 Glenn Morris <rgm@gnu.org>
5096
5097 * ps-print.el (ps-face-attribute-list):
5098 Handle anonymous faces. (Bug#15827)
5099
5100 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5101
5102 * window.el (display-buffer-other-frame): Fix doc-string.
5103 (Bug#15868)
5104
5105 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5108
5109 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5110
5111 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5112 (tramp-sh-handle-file-local-copy): Don't write a message when
5113 saving temporary files.
5114
5115 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5116 both directories are remote.
5117 (tramp-smb-handle-directory-files): Do not return double entries.
5118 Do not expand full file names.
5119 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5120 (tramp-smb-handle-write-region): Implement APPEND.
5121 (tramp-smb-get-stat-capability): Fix a stupid bug.
5122
5123 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5126
5127 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5128
5129 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5130 throwing error over malformed let/let* (bug#15814).
5131
5132 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * iswitchb.el (iswitchb-mode): Mark obsolete.
5135
5136 2013-11-11 Glenn Morris <rgm@gnu.org>
5137
5138 * international/uni-bidi.el, international/uni-category.el:
5139 * international/uni-name.el, international/uni-numeric.el:
5140 Regenerate for Unicode 6.3.0.
5141
5142 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5143
5144 * net/tramp.el (tramp-methods):
5145 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5146 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5147
5148 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5149
5150 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5151 Force highlighting text after Summary keyword in doc face for rpm.
5152
5153 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5154
5155 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5156 available and the word has no wildcards, append one to the grep pattern.
5157 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5158 (ispell-complete-word): Call `ispell-lookup-words' with the value
5159 independent of `ispell-look-p'.
5160
5161 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5162
5163 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5164 Not after "||".
5165 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5166 their parent.
5167
5168 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5171 (ruby-font-lock-keywords): Use backquote.
5172
5173 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5174
5175 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5176 (ruby-smie--backward-token): Only consider full-string matches.
5177
5178 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5179
5180 * faces.el (describe-face): Add distant-foreground.
5181
5182 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5183
5184 * progmodes/ruby-mode.el: Improve encoding comment handling.
5185 (ruby-encoding-magic-comment-style): New option.
5186 (ruby-custom-encoding-magic-comment-template): New option.
5187 (ruby--insert-coding-comment, ruby--detect-encoding):
5188 New functions extracted from `ruby-mode-set-encoding'.
5189 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5190 to control the style of the auto-inserted encoding comment.
5191
5192 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5193
5194 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5195 Use `smie-backward-sexp' with token argument.
5196
5197 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5198
5199 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5200 Remove instrumentation code.
5201
5202 2013-11-08 Glenn Morris <rgm@gnu.org>
5203
5204 * progmodes/autoconf.el (autoconf-mode):
5205 Tweak comment-start-skip. (Bug#15822)
5206
5207 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5210 at bobp (bug#15826).
5211 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5212
5213 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5214
5215 * man.el (Man-start-calling): New macro, extracted from
5216 Man-getpage-in-background.
5217 (Man-getpage-in-background): Use it.
5218 (Man-update-manpage): New command.
5219 (Man-mode-map): Bind it.
5220
5221 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5222
5223 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5224 of "and", "or", "&&" and "||".
5225 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5226 argument. Prohibit opening curly brace because it could only be a
5227 block opener in that position.
5228 (ruby-smie--forward-token, ruby-smie--backward-token):
5229 Separate "|" from "&" or "*" going after it. That can happen in block
5230 arguments.
5231 (ruby-smie--indent-to-stmt): New function, seeks the end of
5232 previous statement or beginning of buffer.
5233 (ruby-smie-rules): Use it.
5234 (ruby-smie-rules): Check if there's a ":" before a curly block
5235 opener candidate; if there is, it's a hash.
5236
5237 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5240 (cl--block-wrapper): Fix last accidental change.
5241
5242 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5243
5244 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5245 Instrument, in order to hunt failure on hydra.
5246
5247 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5248
5249 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5250 malformed bindings form (bug#15814).
5251
5252 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5253
5254 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5255 "." compared to " @ ". This incidentally fixes some indentation
5256 examples with "do".
5257 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5258 (ruby-smie-grammar): New tokens: "and" and "or".
5259 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5260 Exclude "and" and "or". Remove "do" in order to work around token
5261 priorities.
5262 (ruby-smie-rules): Add all infix tokens. Handle the case of
5263 beginning-of-buffer.
5264
5265 2013-11-06 Glenn Morris <rgm@gnu.org>
5266
5267 * Makefile.in (setwins_almost, setwins_for_subdirs):
5268 Avoid accidental matches.
5269
5270 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * menu-bar.el (popup-menu): Use key-binding.
5273
5274 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5275
5276 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5277 menus, support also the menus produced by minor modes.
5278 (Bug#15817)
5279
5280 2013-11-06 Leo Liu <sdl.web@gmail.com>
5281
5282 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5283 DISTANCE to bound the search. All uses changed. (Bug#15808)
5284
5285 2013-11-06 Glenn Morris <rgm@gnu.org>
5286
5287 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5288 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5289 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5290
5291 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5292
5293 * electric.el (electric-indent-just-newline): New command.
5294 (electric-indent-mode-map): New keymap.
5295 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5296 Re-add :group which weren't redundant.
5297
5298 * electric.el (electric-indent-local-mode): New minor mode.
5299 (electric-indent-functions-without-reindent): New var.
5300 (electric-indent-post-self-insert-function): Use it.
5301 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5302
5303 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5304
5305 * international/quail.el (quail-help): Be more explicit about the
5306 meaning of the labels shown on the keys. (Bug#15800)
5307
5308 * startup.el (normal-top-level): Load the subdirs.el files before
5309 setting the locale environment. (Bug#15805)
5310
5311 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5314 via arguments so as to get the right ones (bug#15418).
5315
5316 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5317
5318 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5319
5320 Fix problems found while writing a test suite.
5321
5322 * net/tramp-compat.el (tramp-compat-load): New defun.
5323 * net/tramp.el (tramp-handle-load): Use it.
5324
5325 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5326 "(numberp ok-if-already-exists)" correctly.
5327
5328 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5329
5330 * international/characters.el (glyphless-char-display-control):
5331 Add usage note.
5332
5333 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5334
5335 * progmodes/python.el (python-mode):
5336 * progmodes/scheme.el (scheme-mode):
5337 * progmodes/prolog.el (prolog-mode):
5338 * progmodes/ruby-mode.el (ruby-mode):
5339 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5340 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5341
5342 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * rect.el (rectangle--highlight-for-redisplay):
5345 * emacs-lisp/smie.el (smie--next-indent-change):
5346 Use buffer-chars-modified-tick.
5347
5348 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5349
5350 * electric.el (electric-indent-post-self-insert-function):
5351 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5352
5353 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5354
5355 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5356
5357 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5358
5359 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5360 (bug#15786).
5361
5362 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5365
5366 * progmodes/python.el: Fix up last change.
5367 (python-shell--save-temp-file): New function.
5368 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5369 `string' comes from the current buffer.
5370 (python-shell-send-string-no-output): Remove `msg' arg.
5371 (python--use-fake-loc): New var.
5372 (python-shell-buffer-substring): Obey it. Try to compensate for the
5373 extra coding line added by python-shell--save-temp-file.
5374 (python-shell-send-region): Use python-shell--save-temp-file and
5375 python-shell-send-file directly. Add `nomain' argument.
5376 (python-shell-send-buffer): Use python-shell-send-region.
5377 (python-electric-pair-string-delimiter): New function.
5378 (python-mode): Use it.
5379
5380 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5381
5382 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5383 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5384 environment and decoding all of the default-directory's to here
5385 from command-line.
5386 (command-line): Decode also argv[0].
5387
5388 * loadup.el: Error out if default-directory is a multibyte string
5389 when we are dumping.
5390
5391 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5392
5393 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5394
5395 * emacs-lisp/package.el (package-menu-mode)
5396 (package-menu--print-info, package-menu--archive-predicate):
5397 Add Archive column to package list.
5398
5399 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5400
5401 Fix problems found while writing a test suite.
5402
5403 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5404 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5405 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5406 to nil when running original file name handler. Otherwise,
5407 there are problems with constructs like "$$FOO".
5408
5409 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5410 for `localname'.
5411
5412 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5413
5414 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5415
5416 * subr.el (version<, version<=, version=):
5417 Update docstrings with information for snapshot versions.
5418
5419 * helpers.el: New library for misc helper functions.
5420 (hash-table-keys): New function returning a list of hash keys.
5421 (hash-table-values): New function returning a list of hash values.
5422
5423 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5424
5425 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5426 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5427
5428 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5429
5430 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5431 checking whether point is after a 1-letter word.
5432
5433 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5434
5435 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5436 Don't infloop when expanding region over `multiline' syntax-type that
5437 begins a line (bug#15778).
5438
5439 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5442 Make it into a proper minor mode.
5443 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5444 (rectangle-mark-mode-map): New keymap.
5445 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5446
5447 2013-11-04 Glenn Morris <rgm@gnu.org>
5448
5449 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5450
5451 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5454 (ruby-smie-rules): Use smie-rule-parent instead.
5455
5456 * emacs-lisp/smie.el (smie-rule-parent): Always call
5457 smie-indent-virtual rather than only for hanging tokens.
5458 (smie--next-indent-change): New helper command.
5459
5460 2013-11-03 Glenn Morris <rgm@gnu.org>
5461
5462 * Makefile.in (abs_srcdir): Remove.
5463 (emacs): Unset EMACSLOADPATH.
5464
5465 2013-11-02 Glenn Morris <rgm@gnu.org>
5466
5467 * Makefile.in (EMACS): Use a relative filename.
5468 (abs_top_builddir): Remove.
5469 (custom-deps, finder-data, autoloads): Use --chdir.
5470
5471 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5472
5473 Use relative filenames in TAGS files.
5474 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5475 (lisptagsfiles4, TAGS): Use relative file names.
5476 (TAGS-LISP): Remove.
5477 (maintainer-clean): No more TAGS-LISP file.
5478
5479 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5480 (lisptagsfiles4): Use absolute filenames again.
5481 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5482 Remove all *loaddefs files, not just the first. Remove esh-groups.
5483 (maintainer-clean): Delete TAGS, TAGS-LISP.
5484
5485 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5486
5487 * emacs-lisp/package.el (package-version-join):
5488 Recognize snapshot versions.
5489
5490 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5491
5492 * subr.el (version-regexp-alist): Add support for snapshot versions.
5493
5494 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5495
5496 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5497 New function, replacement for `smie-rule-parent' for when we want to
5498 skip over our direct parent if it's an assignment token..
5499 (ruby-smie-rules): Use it.
5500
5501 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5502
5503 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5504 unconditionally. Remove now unnecessary forward declarations.
5505 Remove XEmacs-specific setup.
5506 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5507 (ruby-font-lock-syntactic-keywords)
5508 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5509 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5510 (ruby-here-doc-end-syntax): Remove.
5511 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5512 defined as function.
5513
5514 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5515
5516 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5517
5518 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5519
5520 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5521 table and abbrev table, `define-derived-mode' does that for us
5522 anyway.
5523
5524 2013-11-01 Glenn Morris <rgm@gnu.org>
5525
5526 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5527 files is atomic for some time, so no parallel compilation issues).
5528
5529 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5530
5531 * faces.el (face-x-resources): Add :distant-foreground.
5532 (region): Use :distant-foreground for gtk and ns.
5533
5534 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5535
5536 Allow multiple bibliographies when BibLaTeX is used rather than
5537 BibTeX.
5538 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5539 (reftex-locate-bibliography-files): Us it.
5540
5541 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5542
5543 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5544 allow comments in pbm files.
5545
5546 * term/w32-win.el (dynamic-library-alist): Support newer versions
5547 of libjpeg starting with v7: look only for the DLL from the
5548 version against which Emacs was built.
5549 Support versions of libpng beyond 1.4.x.
5550 Support libtiff v4.x.
5551
5552 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5553
5554 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5555 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5556 Add property :safe.
5557 (ruby-deep-arglist): Add property :type.
5558
5559 2013-10-31 Glenn Morris <rgm@gnu.org>
5560
5561 * Makefile.in (custom-deps, finder-data): No need to setq the target
5562 variables, we are in the right directory and the defaults work fine.
5563
5564 2013-10-30 Glenn Morris <rgm@gnu.org>
5565
5566 * Makefile.in (autoloads): Do not use abs_lisp.
5567
5568 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5569 `newline' does not respect `standard-output', so use `princ'.
5570
5571 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5572
5573 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5574 * buff-menu.el (Buffer-menu--unmark): New function.
5575 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5576
5577 2013-10-30 Glenn Morris <rgm@gnu.org>
5578
5579 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5580
5581 * emacs-lisp/package.el (lm-homepage): Declare.
5582
5583 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5584 Fix doc typos.
5585
5586 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5587
5588 * Makefile.in (finder-data, autoloads, update-subdirs)
5589 (compile-main, compile-clean, compile-always, bootstrap-clean):
5590 Check return value of cd.
5591 (compile-calc): Remove.
5592
5593 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5596
5597 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5598 (byte-compile-and-folded): New function.
5599 (=, <, >, <=, >=): Use it.
5600
5601 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5602 (path-separator, null-device, buffer-file-coding-system)
5603 (lpr-headers-switches): Check system-type before modifying them.
5604 (find-buffer-file-type-coding-system): Mark obsolete.
5605 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5606 find-file-not-found-set-buffer-file-coding-system.
5607 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5608 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5609 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5610 (w32-direct-print-region-helper, w32-direct-print-region-function)
5611 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5612 * startup.el (normal-top-level-add-subdirs-to-load-path):
5613 * ps-print.el (ps-print-region-function):
5614 * lpr.el (print-region-function): Use new name.
5615
5616 * subr.el (custom-declare-variable-early): Remove function.
5617 (custom-declare-variable-list): Remove var.
5618 (error, user-error): Remove `while' loop.
5619 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5620 (user-emacs-directory-warning, locate-user-emacs-file):
5621 Move to files.el.
5622 * simple.el (read-quoted-char-radix, read-quoted-char):
5623 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5624 Move from subr.el.
5625 * custom.el (custom-declare-variable-list): Don't process
5626 custom-declare-variable-list.
5627
5628 * progmodes/python.el (python-shell-get-buffer): New function.
5629 (python-shell-get-process): Use it.
5630 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5631 Python which encoding was used. Don't split-string since we only care
5632 about the first line. Return the temp-file, if applicable.
5633 (python-shell-send-region): Tell compile.el how to turn locations in
5634 the temp-file into locations in the source buffer.
5635
5636 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * subr.el (undefined): Add missing behavior from the C code for
5639 unbound keys.
5640
5641 * rect.el: Use lexical-binding. Add new rectangular region support.
5642 (rectangle-mark): New command.
5643 (rectangle--region): New var.
5644 (deactivate-mark-hook): Reset rectangle--region.
5645 (rectangle--extract-region, rectangle--insert-for-yank)
5646 (rectangle--highlight-for-redisplay)
5647 (rectangle--unhighlight-for-redisplay): New functions.
5648 (region-extract-function, redisplay-unhighlight-region-function)
5649 (redisplay-highlight-region-function): Use them to handle
5650 rectangular region.
5651 * simple.el (region-extract-function): New var.
5652 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5653 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5654 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5655 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5656 (redisplay-unhighlight-region-function)
5657 (redisplay-highlight-region-function): New vars.
5658 (redisplay--update-region-highlight): New function.
5659 (pre-redisplay-function): Use it.
5660 (exchange-point-and-mark): Don't deactivate the mark before
5661 reactivate-it anyway.
5662 * comint.el (comint-kill-region): Remove yank-handler argument.
5663 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5664 (delete-char): Remove property, since it's now part of their
5665 default behavior.
5666 (self-insert-iso): Remove property since this command doesn't exist.
5667
5668 * emacs-lisp/package.el (package--download-one-archive)
5669 (describe-package-1): Don't query the user about final newline.
5670
5671 2013-10-29 Daniel Colascione <dancol@dancol.org>
5672
5673 * net/tramp.el (tramp-methods): Document new functionality.
5674 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5675 tramp-hostname-checker if method provides one instead of scanning
5676 argument list for "%h" to decide hostname acceptability.
5677
5678 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5679
5680 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5681 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5682 Handle COPY-CONTENTS. (Bug#15737)
5683
5684 2013-10-28 Daiki Ueno <ueno@gnu.org>
5685
5686 * epa-file.el
5687 (epa-file-cache-passphrase-for-symmetric-encryption):
5688 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5689
5690 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5691
5692 * image.el (defimage, image-load-path): Doc fixes.
5693
5694 2013-10-27 Alan Mackenzie <acm@muc.de>
5695
5696 Indent statements in macros following "##" correctly.
5697 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5698 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5699
5700 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5701
5702 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5703
5704 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5705
5706 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5707 after `=' is probably a new expression.
5708
5709 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5710
5711 * man.el (man-imenu-title): New option.
5712 (Man-mode-map): Add menu. (Bug#15722)
5713 (Man-mode): Add imenu to menu.
5714
5715 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5716
5717 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5718 specific in what the first arg can be: a non-keyword word,
5719 string/regexp/percent literal opener, opening paren, or unary
5720 operator followed directly by word.
5721
5722 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5725 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5726 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5727 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5728 Remove vars, they do not apply any more.
5729 (prolog-mode-abbrev-table): Remove redundant declaration.
5730 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5731 (prolog-use-smie): Remove.
5732 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5733 supported by prolog-electric-if-then-else-flag.
5734 (prolog-mode-variables, prolog-menu): Use setq-local.
5735 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5736 Remove binding to `Backspace' since this key doesn't exist anyway.
5737 Remove bindings for electric self-inserting keys.
5738 (prog-mode): Assume it's defined.
5739 (prolog-post-self-insert): New function.
5740 (prolog-mode): Use it.
5741 (prolog-indent-line, prolog-indent-level)
5742 (prolog-find-indent-of-matching-paren)
5743 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5744 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5745 (prolog-goto-next-paren, prolog-in-string-or-comment)
5746 (prolog-tokenize, prolog-inside-mline-comment)
5747 (prolog-find-start-of-mline-comment): Remove functions.
5748 (prolog-find-unmatched-paren, prolog-clause-end)
5749 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5750 (prolog-electric--if-then-else): Rename from
5751 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5752 (prolog-tokenize-searchkey): Remove const.
5753 (prolog-clause-info): Use forward-sexp.
5754 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5755 (prolog-electric-if-then-else): Remove commands.
5756 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5757 for use in post-self-insert-hook.
5758 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5759 for use in post-self-insert-hook.
5760 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5761 for use in post-self-insert-hook.
5762 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5763 adapt it for use in post-self-insert-hook.
5764
5765 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5766
5767 * emacs-lisp/ert.el (ert-run-tests-interactively):
5768 Use `completing-read'. (Bug#9756)
5769
5770 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5771
5772 * simple.el (line-move): Call line-move-1 instead of
5773 line-move-visual when the current window hscroll is zero, but
5774 temporary-goal-column indicates we will need to hscroll as result
5775 of the movement. (Bug#15712)
5776
5777 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5778
5779 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5780 capitalization. Use :visible instead of :active.
5781 Fix `ruby-indent-exp' reference. Add menu items for the generic
5782 commands that are used with SMIE.
5783 (ruby-do-end-to-brace): Insert space after `{'.
5784
5785 2013-10-25 John Anthony <john@jo.hnanthony.com>
5786
5787 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5788
5789 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5790
5791 2013-10-25 Glenn Morris <rgm@gnu.org>
5792
5793 * vc/vc.el (vc-print-log): Don't use a working revision unless
5794 one was explicitly specified. (Bug#15322)
5795
5796 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * subr.el (add-to-list): Preserve return value in compiler-macro
5799 (bug#15692).
5800
5801 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5802
5803 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5804 result. Ask user to retry using '-all' flag. (Bug#15701)
5805
5806 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * emacs-lisp/smie.el: New smie-config system.
5809 (smie-config): New defcustom.
5810 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5811 (smie-config-guess, smie-config-save): New commands.
5812 (smie-config--mode-local, smie-config--buffer-local)
5813 (smie-config--trace, smie-config--modefuns): New vars.
5814 (smie-config--advice, smie-config--mode-hook)
5815 (smie-config--setter, smie-config-local, smie-config--get-trace)
5816 (smie-config--guess-value, smie-config--guess): New functions.
5817 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5818 text properties. Treat "string fence" syntax like string syntax.
5819
5820 * progmodes/sh-script.el (sh-use-smie): Change default.
5821 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5822 (sh-var-value): Simplify by CSE.
5823 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5824 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5825 is used.
5826 (sh-guess-basic-offset): Use cl-incf.
5827 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5828
5829 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5830
5831 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5832 (bug#15699).
5833
5834 2013-10-24 Glenn Morris <rgm@gnu.org>
5835
5836 * Makefile.in (abs_top_srcdir): Remove.
5837 (update-subdirs): Use relative path to update-subdirs.
5838
5839 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5840
5841 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5842 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5843 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5844 Call unmsys--file-name before expand-file-name, not after it.
5845
5846 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5847
5848 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5849 (ert-test-skipped): New error.
5850 (ert-skip, ert-stats-skipped): New defuns.
5851 (ert--skip-unless): New macro.
5852 (ert-test-skipped): New struct.
5853 (ert--run-test-debugger, ert-test-result-type-p)
5854 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5855 (ert--stats-set-test-and-result, ert-char-for-test-result)
5856 (ert-string-for-test-result, ert-run-tests-batch)
5857 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5858 Handle skipped tests. (Bug#9803)
5859
5860 2013-10-24 Glenn Morris <rgm@gnu.org>
5861
5862 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5863
5864 * Makefile.in (abs_top_srcdir): New, set by configure.
5865 (update-subdirs): Correct build-aux location.
5866
5867 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5868
5869 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5870 value, whether we could auto-deduce `backend', or not.
5871
5872 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5873 with parameters" example. Simplify the "is it block or is it
5874 hash" check, but also make it more thorough.
5875
5876 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5877
5878 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5879
5880 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5883 { if it is hanging.
5884
5885 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5886 :before ";".
5887
5888 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5889
5890 * progmodes/compile.el (compilation-directory-matcher)
5891 (compilation-page-delimiter):
5892 Support GNU Make-4.0 directory quoting. (Bug#15678)
5893
5894 2013-10-23 Leo Liu <sdl.web@gmail.com>
5895
5896 * ido.el (ido-tidy): Handle read-only text.
5897
5898 2013-10-23 Glenn Morris <rgm@gnu.org>
5899
5900 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5901 (emacs, compile, compile-always):
5902 Quote entities that might contain whitespace.
5903 (custom-deps, finder-data, autoloads): Use abs_lisp.
5904 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5905 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5906 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5907
5908 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5909
5910 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5911 Use `following-char'.
5912
5913 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5916 * progmodes/ruby-mode.el (ruby-smie-rules):
5917 Remove corresponding workaround. Fix indentation rule of ";" so it
5918 also applies when ";" is the parent.
5919
5920 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5921
5922 * frame.el (display-screens, display-pixel-height)
5923 (display-pixel-width, display-mm-width, display-backing-store)
5924 (display-save-under, display-planes, display-color-cells)
5925 (display-visual-class, display-monitor-attributes-list):
5926 Mention the optional ‘display’ argument in doc strings.
5927
5928 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5929
5930 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5931 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5932
5933 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5934
5935 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5936 TODO. Add "." after " @ ".
5937 (ruby-smie--at-dot-call): New function. Checks if point at method
5938 call with explicit target.
5939 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5940 to the method name tokens when it precedes them.
5941 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5942 (ruby-smie-rules): Add rule for indentation before and after "."
5943 token.
5944
5945 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5946
5947 * textmodes/remember.el (remember-diary-extract-entries):
5948 Avoid add-to-list.
5949
5950 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5951 an instruction.
5952
5953 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5954
5955 * progmodes/ruby-mode.el (ruby-smie-grammar):
5956 Add (almost) all infix operators.
5957 (ruby-smie--implicit-semi-p): Add new operator chars.
5958
5959 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5960 `smie-down-list'.
5961 (ruby-smie--args-separator-p): Check that there's no newline
5962 between method call and its arguments.
5963
5964 2013-10-20 Alan Mackenzie <acm@muc.de>
5965
5966 Allow comma separated lists after Java "implements".
5967
5968 * progmodes/cc-engine.el (c-backward-over-enum-header):
5969 Parse commas.
5970 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5971 from a "disallowed" list in enum fontification.
5972
5973 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5974
5975 * startup.el (default-frame-background-mode): Remove unused defvar.
5976
5977 * progmodes/verilog-mode.el (verilog-mode): Don't set
5978 comment-indent-function globally.
5979
5980 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5981
5982 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5983 Move Info menu item creation to ns-win.el.
5984
5985 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5986 in menu bar.
5987
5988 * menu-bar.el: Move GNUstep specific menus...
5989
5990 * term/ns-win.el (ns-initialize-window-system): ... to here.
5991
5992 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * simple.el (newline): Only run post-self-insert-hook when
5995 called interactively.
5996
5997 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5998
5999 * icomplete.el (icomplete-with-completion-tables): Add :version.
6000
6001 2013-10-19 Alan Mackenzie <acm@muc.de>
6002
6003 Fix fontification bugs with constructors and const.
6004
6005 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6006 CASE 2) Remove the check for the absence of a suffix construct
6007 after a function declaration with only types (no identifiers) in
6008 the parentheses. Also, accept a function declaration with just a
6009 type inside the parentheses, if this type can be positively
6010 recognised as such, or if a prefix keyword like "explicit" nails
6011 down the construct as a declaration.
6012
6013 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6014
6015 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6016 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6017 the problem whereby selecting a menu item that leads to a
6018 minibuffer prompt moves the cursor out of the minibuffer window,
6019 making it hard to type at the prompt. Suggested by Stefan Monnier
6020 <monnier@iro.umontreal.ca>.
6021
6022 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6023
6024 * menu-bar.el: Don't make Services menu.
6025
6026 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6027
6028 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6029 (ffap-alist): Use ffap-c++-mode for c++-mode.
6030 (ffap-c++-path): New variable.
6031 (ffap-c++-mode): New function.
6032
6033 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6034
6035 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6036
6037 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6038
6039 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6040 introduced on 2013-09-08, which results in an infinite loop
6041 requesting a password.
6042
6043 2013-10-18 Glenn Morris <rgm@gnu.org>
6044
6045 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6046
6047 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6048
6049 Sync with upstream verilog-mode revision 1a6ecec7.
6050 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6051 (verilog-mode-release-date): Remove.
6052 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6053 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6054 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6055 (verilog-auto-tieoff-ignore-regexp)
6056 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6057 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6058 (verilog-signals-with, verilog-dir-cache-preserving)
6059 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6060 Doc fixes.
6061 (verilog-case-fold): New option, to control case folding in
6062 regexp searches, bug597.
6063 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6064 (verilog-string-match-fold, verilog-in-paren-count)
6065 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6066 (verilog-at-close-struct-p): New functions.
6067 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6068 (verilog-forward-sexp, verilog-set-auto-endcomments)
6069 (verilog-leap-to-case-head): Handle "unique0" case.
6070 (verilog-in-constraint-re): New constant.
6071 (verilog-keywords, verilog-type-font-keywords):
6072 Add some SystemVerilog 1800-2012 keywords.
6073 (verilog-label-be): Remove unimplemented argument, bug669.
6074 (verilog-batch-execute-func): When batch expanding clear
6075 create-lockfiles to prevent spurious user locks when a file ends
6076 up not changing.
6077 (verilog-calculate-indent, verilog-calc-1)
6078 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6079 (verilog-do-indent): Fix indentation of nested constraints
6080 and structures.
6081 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6082 (verilog-auto-inst-param): Use verilog-string-match-fold.
6083 (verilog-read-inst-module-matcher):
6084 Fix AUTOINST on gate primitives with #1.
6085 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6086 Reads all user-defined typed variables.
6087 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6088 (verilog-signals-matching-regexp)
6089 (verilog-signals-not-matching-regexp, verilog-auto):
6090 Respect verilog-case-fold.
6091 (verilog-diff-report): Fix line count.
6092 (verilog-auto-assign-modport): Remove unused local `modi'.
6093 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6094 better handle multidimensional arrays.
6095 Fix packed array ports misadding bit index in AUTOINST, bug637.
6096 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6097 to not double-declare existing outputs and inputs, respectively.
6098 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6099 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6100 (verilog-sk-uvm-component): New skeleton.
6101 (verilog-submit-bug-report): Add verilog-case-fold,
6102 remove verilog-mode-release-date.
6103
6104 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6105
6106 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6107 as before.
6108
6109 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6110
6111 * textmodes/remember.el (remember): Set buffer-offer-save in
6112 remember buffers (bug#13566).
6113
6114 2013-10-18 Daniel Colascione <dancol@dancol.org>
6115
6116 When evaluating forms in ielm, direct standard output to ielm
6117 buffer. Add new ielm-return-for-effect command. Remove trailing
6118 whitespace throughout.
6119
6120 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6121 (ielm-return-for-effect): New command.
6122 (ielm-send-input): Accept optional `for-effect' parameter.
6123 (ielm-eval-input): Accept optional `for-effect' parameter.
6124 Bind `standard-output' to stream we create using
6125 `ielm-standard-output-impl'. Suppress printing result when
6126 `for-effect'.
6127 (ielm-standard-output-impl): New function.
6128 (inferior-emacs-lisp-mode): Explain new features in documentation.
6129
6130 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6131
6132 Code cleanup.
6133
6134 * net/tramp.el (tramp-debug-message): Do not check for connection
6135 buffer.
6136 (tramp-message): Use "vector" connection property.
6137
6138 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6139 (tramp-equal-remote, tramp-eshell-directory-change)
6140 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6141 (tramp-adb-handle-rename-file)
6142 * net/tramp-cmds.el (tramp-list-remote-buffers)
6143 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6144 * net/tramp-compat.el (tramp-compat-process-running-p)
6145 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6146 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6147 (tramp-gvfs-handle-rename-file)
6148 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6149 (tramp-set-file-uid-gid)
6150 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6151 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6152 of `file-remote-p'.
6153
6154 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6155 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6156 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6157 (tramp-gw-open-network-stream): Suppress unrelated traces.
6158
6159 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6160 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6161 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6162 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6163 connection property.
6164
6165 * net/tramp-cache.el (top): Suppress traces when reading
6166 persistency file.
6167
6168 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6169 Refactor common code. Improve debug message.
6170 (tramp-maybe-open-connection)
6171 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6172 connection buffer too early.
6173
6174 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6175 from `tramp-smb-actions-with-acl'.
6176 (tramp-smb-actions-set-acl): New defconst.
6177 (tramp-smb-handle-copy-directory)
6178 (tramp-smb-action-get-acl): New defun, renamed from
6179 `tramp-smb-action-with-acl'.
6180 (tramp-smb-action-set-acl): New defun.
6181 (tramp-smb-handle-set-file-acl): Rewrite.
6182
6183 2013-10-17 Glenn Morris <rgm@gnu.org>
6184
6185 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6186
6187 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * skeleton.el (skeleton-newline): Remove.
6190 (skeleton-internal-1): Use (insert "\n") instead.
6191
6192 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6193 let-bindings.
6194
6195 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6196 forward-sexp-function while we redo its job (bug#15613).
6197
6198 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6199
6200 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6201 represented by lists.
6202
6203 2013-10-16 Glenn Morris <rgm@gnu.org>
6204
6205 * tmm.el (tmm--history): New dynamic variable.
6206 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6207
6208 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6209
6210 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6211 (tramp-smb-errors): Add error messages.
6212 (tramp-smb-actions-with-acl): New defconst.
6213 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6214 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6215 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6216 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6217 (tramp-smb-get-stat-capability): Fix tests.
6218
6219 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6220
6221 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6222 (bug#15580).
6223
6224 2013-10-16 Glenn Morris <rgm@gnu.org>
6225
6226 * ansi-color.el (ansi-color-drop-regexp):
6227 Add 1J, 1K, 2K. (Bug#15617)
6228
6229 * files.el (hack-local-variables--warned-lexical): New.
6230 (hack-local-variables):
6231 Warn about misplaced lexical-binding. (Bug#15616)
6232
6233 * net/eww.el (eww-render): Always set eww-current-url,
6234 and update header line. (Bug#15622)
6235 (eww-display-html): ... Rather than just doing it here.
6236
6237 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6238
6239 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6240 menu navigations commands.
6241
6242 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6243
6244 * progmodes/subword.el (subword-capitalize): Be careful when
6245 the search for [[:alpha:]] fails (bug#15580).
6246
6247 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6248
6249 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6250 to commands that scroll the menu.
6251
6252 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6253
6254 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6255 Handle methods ending with `?' and `!'.
6256
6257 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6258
6259 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6260 `japanese-cp932' to `cp932' to fix the problem where saving a
6261 source file written in Shift_JIS twice would end up having
6262 `coding: japanese-cp932' which Ruby could not recognize.
6263 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6264 in `ruby-encoding-map'.
6265 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6266 doesn't need to be explicitly declared in magic comment.
6267 (ruby-encoding-map): Add type declaration for better customize UI.
6268
6269 2013-10-13 Glenn Morris <rgm@gnu.org>
6270
6271 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6272 Occur buffers are read-only. http://bugs.debian.org/720775
6273
6274 * emacs-lisp/authors.el (authors-fixed-entries):
6275 Comment out old alpha stuff.
6276
6277 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6278
6279 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6280 to `after-save-hook' instead of `before-save-hook'.
6281 (ruby-mode-set-encoding): Use the value of coding system used to
6282 write the file. Call `basic-save-buffer-1' after modifying the
6283 buffer.
6284
6285 2013-10-13 Alan Mackenzie <acm@muc.de>
6286
6287 Fix indentation/fontification of Java enum with
6288 "implements"/generic.
6289
6290 * progmodes/cc-engine.el (c-backward-over-enum-header):
6291 Extracted from the three other places and enhanced to handle generics.
6292 (c-inside-bracelist-p): Uses new function above.
6293 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6294 function above.
6295 (c-font-lock-enum-tail): Uses new function above.
6296
6297 2013-10-13 Kenichi Handa <handa@gnu.org>
6298
6299 * international/mule-cmds.el (select-safe-coding-system): Remove a
6300 superfluous condition in chekcing whether a coding system is safe
6301 or not.
6302
6303 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6304
6305 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6306
6307 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6308
6309 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6310
6311 2013-10-13 Glenn Morris <rgm@gnu.org>
6312
6313 * menu-bar.el (menu-bar-update-buffers):
6314 Unify Buffers menu prompt string. (Bug#15576)
6315
6316 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6317
6318 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6319 Add some entries.
6320 (authors-fixed-entries): Use accented form of name.
6321
6322 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6325 method calls (bug#15594).
6326 (ruby-smie--args-separator-p): New function.
6327 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6328 recognize paren-free method calls.
6329
6330 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6331 internals of universal-argument.
6332
6333 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6334
6335 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6336 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6337 dropped menu on second mouse click on the menu bar.
6338
6339 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6342 (explicit-shell-file-name): Declare.
6343 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6344 (sh-completion-at-point-function): New function.
6345 (sh-mode): Use it.
6346 (sh-smie--keyword-p): Remove unused argument.
6347 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6348 vars.
6349 (sh-set-shell): Always setup SMIE, even if we use the
6350 old indentation code.
6351
6352 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6353
6354 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6355 cases of ? and =.
6356 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6357 predicate would return nil are almost non-existent.
6358 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6359
6360 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6361 cache also after commands that modify the buffer but don't move
6362 point.
6363
6364 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6365
6366 * env.el (substitute-env-in-file-name): New function.
6367 (substitute-env-vars): Extend the meaning of the optional arg.
6368
6369 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6370
6371 * term/w32-win.el (dynamic-library-alist): Define separate lists
6372 of GIF DLLs for versions before and after 5.0.0 of giflib.
6373 (Bug#15531)
6374
6375 2013-10-10 João Távora <joaotavora@gmail.com>
6376
6377 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6378 not locked, use last revision and current source as
6379 defaults. (Bug#15569)
6380
6381 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6382
6383 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6384 menu-bar is hidden.
6385
6386 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6387
6388 * window.el (pop-to-buffer-same-window): Fix doc-string.
6389 (Bug#15492)
6390
6391 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6394
6395 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6396
6397 * calendar/icalendar.el (icalendar-import-file):
6398 Fix interactive spec. (Bug#15482)
6399
6400 2013-10-10 Glenn Morris <rgm@gnu.org>
6401
6402 * desktop.el (desktop-save): Default to saving in .emacs.d,
6403 since PWD is no longer in desktop-path by default. (Bug#15319)
6404
6405 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6406 now that text mode has a menu with the same entry.
6407 (menu-bar-text-mode-auto-fill): Remove now unused func.
6408 * textmodes/text-mode.el (text-mode-map):
6409 Use auto-fill help text from menu-bar.el.
6410
6411 2013-10-10 John Anthony <john@jo.hnanthony.com>
6412
6413 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6414
6415 2013-10-09 Juri Linkov <juri@jurta.org>
6416
6417 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6418 instead of this-command-keys. Add universal-argument-more and
6419 universal-argument-minus to the list of prefix commands. (Bug#15568)
6420
6421 2013-10-09 Glenn Morris <rgm@gnu.org>
6422
6423 * vc/vc-svn.el (vc-svn-create-repo):
6424 Expand paths in file://... url. (Bug#15446)
6425
6426 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6427 Add some entries.
6428 (authors): Remove unused local variables.
6429
6430 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * profiler.el: Create a more coherent calltree from partial backtraces.
6433 (profiler-format): Hide the tail with `invisible' so that C-s can still
6434 find the hidden elements.
6435 (profiler-calltree-depth): Don't recurse so enthusiastically.
6436 (profiler-function-equal): New hash-table-test.
6437 (profiler-calltree-build-unified): New function.
6438 (profiler-calltree-build): Use it.
6439 (profiler-report-make-name-part): Indent the calltree less.
6440 (profiler-report-mode): Add visibility specs for profiler-format.
6441 (profiler-report-expand-entry, profiler-report-toggle-entry):
6442 Expand the whole subtree when provided with a prefix arg.
6443
6444 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6445
6446 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6447 iuwu-mod token.
6448 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6449 hanging iuwu-mod token.
6450 (ruby-smie--forward-token): Do not include a dot after a token in
6451 that token.
6452 (ruby-smie--backward-token): Likewise.
6453
6454 2013-10-08 Juri Linkov <juri@jurta.org>
6455
6456 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6457 to isearch-other-control-char.
6458 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6459 and isearch-post-command-hook to post-command-hook.
6460 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6461 and isearch-post-command-hook from post-command-hook.
6462 (isearch-unread-key-sequence)
6463 (isearch-reread-key-sequence-naturally)
6464 (isearch-lookup-scroll-key, isearch-other-control-char)
6465 (isearch-other-meta-char): Remove functions.
6466 (isearch-pre-command-hook, isearch-post-command-hook):
6467 New functions based on isearch-other-meta-char rewritten
6468 relying on the new behavior of overriding-terminal-local-map
6469 that does not replace the local keymaps any more. (Bug#15200)
6470
6471 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6472
6473 Support menus on text-mode terminals.
6474 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6475 functionality.
6476
6477 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6478
6479 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6480 Move here from mouse.el.
6481 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6482 and arrow keys.
6483 (tty-menu-navigation-map): New map for TTY menu navigation.
6484
6485 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6486
6487 * frame.el (display-mouse-p): Report text-mode mouse as available
6488 on w32.
6489 (display-popup-menus-p): Report availability if mouse is
6490 available; don't condition on window-system.
6491
6492 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6493 (tty-menu-selected-face): New faces.
6494
6495 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6498 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6499 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6500 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6501 New constants.
6502 (lisp-mode-variables): New `elisp' argument.
6503 (emacs-lisp-mode): Use it.
6504 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6505 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6506
6507 * indent.el: Use lexical-binding.
6508 (indent-region): Add progress reporter.
6509 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6510 last step.
6511 (indent--next-tab-stop): New function to implement this behavior.
6512 (tab-to-tab-stop, move-to-tab-stop): Use it.
6513
6514 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6515
6516 * indent.el (indent-rigidly--current-indentation): New function.
6517 (indent-rigidly-map): New var.
6518 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6519
6520 2013-10-08 Bastien Guerry <bzg@gnu.org>
6521
6522 * register.el (insert-register): Fix 2013-10-07 change.
6523
6524 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * progmodes/perl-mode.el: Use lexical-binding.
6527 Remove redundant :group args.
6528 (perl-nochange): Change default to be closer to other major modes's
6529 standard behavior.
6530 (perl-indent-line): Don't consider text on current line as a
6531 valid beginning of function from which to indent.
6532
6533 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6534 with more than one argument (bug#15538).
6535
6536 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6537
6538 * vc/pcvs.el: Use lexical-binding.
6539 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6540 environment of `eval'.
6541 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6542 than a list of expressions. Adjust callers.
6543 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6544
6545 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6546
6547 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6548 case of the dot in a chained method call being on the following line.
6549
6550 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * electric.el (electric-indent-inhibit): New var.
6553 (electric-indent-post-self-insert-function): Use it.
6554 * progmodes/python.el (python-mode): Set it.
6555
6556 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6557 open braces.
6558
6559 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6560
6561 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6562 (css-mode): Use electric-indent-chars.
6563
6564 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6565 (font-lock-beg, font-lock-end): Move before first use.
6566 (nxml-mode): Use syntax-propertize-function.
6567 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6568 (nxml-extend-after-change-region): Remove.
6569 * nxml/xmltok.el: Use lexical-binding.
6570 (xmltok-save): Use `declare'.
6571 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6572 * nxml/nxml-util.el: Use lexical-binding.
6573 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6574 Use `declare'.
6575 * nxml/nxml-ns.el: Use lexical-binding.
6576 (nxml-ns-save): Use `declare'.
6577 (nxml-ns-prefixes-for): Avoid add-to-list.
6578 * nxml/rng-match.el: Use lexical-binding.
6579 (rng--ipattern): Use cl-defstruct.
6580 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6581 (rng-cons-group-after, rng-subst-group-after)
6582 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6583 Use closures instead of `(lambda...).
6584
6585 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6586
6587 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6588 of BEG and END.
6589
6590 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6591 Use `tramp-handle-insert-file-contents'.
6592 (tramp-gvfs-handle-insert-file-contents): Remove function.
6593
6594 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6595 Use `save-restriction' in order to keep markers.
6596
6597 * net/trampver.el: Update release number.
6598
6599 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * progmodes/compile.el (compilation-parse-errors):
6602 Use compilation--put-prop.
6603 (compilation--ensure-parse): Check compilation-multiline.
6604
6605 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6606
6607 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6608 lexical-binding.
6609
6610 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6611
6612 * progmodes/ruby-mode.el: Fix recently added tests.
6613 (ruby-smie-grammar): Add - and +.
6614 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6615 (ruby-smie--backward-id): New functions.
6616 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6617 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6618 any more.
6619
6620 2013-10-07 Leo Liu <sdl.web@gmail.com>
6621
6622 * register.el (register-preview-delay)
6623 (register-preview-functions): New variables.
6624 (register-read-with-preview, register-preview)
6625 (register-describe-oneline): New functions.
6626 (point-to-register, window-configuration-to-register)
6627 (frame-configuration-to-register, jump-to-register)
6628 (number-to-register, view-register, insert-register)
6629 (copy-to-register, append-to-register, prepend-to-register)
6630 (copy-rectangle-to-register): Use register-read-with-preview to
6631 read register. (Bug#15525)
6632
6633 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6634
6635 * net/network-stream.el (network-stream-open-starttls): Don't add
6636 --insecure if it's already present, because that gnutls-cli
6637 rejects getting that parameter twice.
6638
6639 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6640
6641 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6642 keyword, too.
6643
6644 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6645
6646 * newcomment.el (comment-use-global-state): Change default value
6647 to t, mark obsolete (Bug#15251).
6648 (comment-beginning): In addition to `comment-to-syntax', check the
6649 value of `comment-use-global-state'.
6650
6651 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6652
6653 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6654 (ruby-comment-column): Follow the global default, by default.
6655 (ruby-smie-grammar): Add assignment syntax.
6656 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6657 open-paren, a comma, or a \.
6658 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6659 and line continuations.
6660 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6661 followed by implicit semi-colons. Add rule for string concatenation
6662 and for indentation at BOB.
6663 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6664
6665 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6666 calling next-sexp, since next-token may have skipped chars which
6667 next-sexp doesn't know should be skipped!
6668
6669 2013-10-05 Leo Liu <sdl.web@gmail.com>
6670
6671 * progmodes/octave.el (octave-send-region):
6672 Call compilation-forget-errors.
6673
6674 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6675
6676 * vc/vc-svn.el (vc-svn-find-admin-dir):
6677 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6678 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6679 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6680 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6681
6682 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6685
6686 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * subr.el (read-passwd): Hide chars even when called within a context
6689 where after-change-functions is disabled (bug#15501).
6690 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6691 until we removed ourself from overriding-terminal-local-map.
6692
6693 2013-10-04 Leo Liu <sdl.web@gmail.com>
6694
6695 * progmodes/octave.el (inferior-octave-mode):
6696 Call compilation-forget-errors.
6697
6698 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6699
6700 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6701
6702 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6703
6704 * net/secrets.el (secrets-create-collection): Add optional
6705 argument ALIAS. Use proper Label keyword. Append ALIAS as
6706 dbus-call-method argument. (Bug#15516)
6707
6708 2013-10-04 Leo Liu <sdl.web@gmail.com>
6709
6710 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6711 (inferior-octave-compilation-font-lock-keywords): New variables.
6712 (compilation-error-regexp-alist)
6713 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6714 (inferior-octave-mode): Use compilation-shell-minor-mode.
6715
6716 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6717
6718 * minibuffer.el (completion--replace): Be careful that `end' might be
6719 a marker.
6720
6721 2013-10-03 Daiki Ueno <ueno@gnu.org>
6722
6723 Add support for package signature checking.
6724 * emacs-lisp/package.el (url-http-file-exists-p)
6725 (epg-make-context, epg-context-set-home-directory)
6726 (epg-verify-string, epg-context-result-for)
6727 (epg-signature-status, epg-signature-to-string)
6728 (epg-check-configuration, epg-configuration)
6729 (epg-import-keys-from-file): Declare.
6730 (package-check-signature): New user option.
6731 (package-unsigned-archives): New user option.
6732 (package-desc): Add `signed' field.
6733 (package-load-descriptor): Set `signed' field if .signed file exists.
6734 (package--archive-file-exists-p): New function.
6735 (package--check-signature): New function.
6736 (package-install-from-archive): Check package signature.
6737 (package--download-one-archive): Check archive signature.
6738 (package-delete): Remove .signed file.
6739 (package-import-keyring): New command.
6740 (package-refresh-contents): Import default keyring.
6741 (package-desc-status): Add "unsigned" status.
6742 (describe-package-1, package-menu--print-info)
6743 (package-menu-mark-delete, package-menu--find-upgrades)
6744 (package-menu--status-predicate): Support "unsigned" status.
6745
6746 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6749 the new compilation scheme using the new byte-codes.
6750
6751 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6752 (byte-pophandler): New byte codes.
6753 (byte-goto-ops): Adjust accordingly.
6754 (byte-compile--use-old-handlers): New var.
6755 (byte-compile-catch): Use new byte codes depending on
6756 byte-compile--use-old-handlers.
6757 (byte-compile-condition-case--old): Rename from
6758 byte-compile-condition-case.
6759 (byte-compile-condition-case--new): New function.
6760 (byte-compile-condition-case): New function that dispatches depending
6761 on byte-compile--use-old-handlers.
6762 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6763 when we can.
6764
6765 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6766 Optimize under `condition-case' and `catch' if
6767 byte-compile--use-old-handlers is nil.
6768 (disassemble-offset): Handle new bytecodes.
6769
6770 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 * subr.el (error): Use `declare'.
6773 (decode-char, encode-char): Use advertised-calling-convention instead
6774 of the docstring to discourage use of the `restriction' arg.
6775
6776 2013-10-03 Daiki Ueno <ueno@gnu.org>
6777
6778 * epg.el (epg-verify-file): Add a comment saying that it does not
6779 notify verification error as a return value nor a signal.
6780 (epg-verify-string): Ditto.
6781
6782 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6783
6784 * progmodes/compile.el (compilation-start): Try globbing the arg to
6785 `cd' (bug#15417).
6786
6787 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6788
6789 Sync with Tramp 2.2.8.
6790
6791 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6792 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6793 * net/trampver.el: Update release number.
6794
6795 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6796
6797 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6798 and default-process-coding-system for darwin only.
6799
6800 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6801
6802 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6803
6804 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6805
6806 * vc/vc-git.el (vc-git-grep): Disable pager.
6807
6808 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6809
6810 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6811 Use :url instead of :homepage, as per
6812 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6813
6814 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6815 non-nil, use `syntax-ppss' (Bug#15251).
6816
6817 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6818
6819 * progmodes/octave.el (inferior-octave-startup-file):
6820 Prefer ~/.emacs.d/init_octave.m.
6821
6822 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6823
6824 * emacs-lisp/package.el (package-desc-from-define):
6825 Accept additional arguments as plist, convert them to an alist and store
6826 them in the `extras' slot.
6827 (package-generate-description-file): Convert extras alist back to
6828 plist and append to the `define-package' form arguments.
6829 (package--alist-to-plist): New function.
6830 (package--ac-desc): Add `extras' slot.
6831 (package--add-to-archive-contents): Check if the archive-contents
6832 vector is long enough, and if it is, pass its `extras' slot value
6833 to `package-desc-create'.
6834 (package-buffer-info): Call `lm-homepage', pass the returned value
6835 to `package-desc-from-define'.
6836 (describe-package-1): Render the homepage button (Bug#13291).
6837
6838 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6839 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6840
6841 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6842
6843 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6844 and default-process-coding-system to utf-8-unix (Bug#15402).
6845
6846 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6847
6848 * subr.el (looking-back): Do not recommend using looking-back.
6849
6850 2013-09-28 Alan Mackenzie <acm@muc.de>
6851
6852 Fix indentation/fontification of Java enum with "implements".
6853
6854 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6855 regexp which matches "implements", etc., in Java.
6856 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6857 specifier clauses coming after "enum".
6858 * progmodes/cc-fonts.el (c-font-lock-declarations)
6859 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6860 after "enum".
6861
6862 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6863
6864 * faces.el (region): Change ns_selection_color to
6865 ns_selection_fg_color, add ns_selection_bg_color.
6866
6867 2013-09-28 Leo Liu <sdl.web@gmail.com>
6868
6869 * progmodes/octave.el (inferior-octave-completion-table)
6870 (inferior-octave-completion-at-point): Minor tweaks.
6871
6872 * textmodes/ispell.el (ispell-lookup-words): Rename from
6873 lookup-words. (Bug#15460)
6874 (lookup-words): Obsolete.
6875 (ispell-complete-word, ispell-command-loop): All uses changed.
6876
6877 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6878
6879 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6880 (octave-mode-menu): Add octave-send-buffer.
6881 (octave-send-buffer): New function.
6882
6883 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6884
6885 * progmodes/octave.el (octave-mode-map): Add key binding for
6886 octave-lookfor.
6887 (octave-mode-menu): Add octave-lookfor.
6888 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6889 octave-lookfor.
6890 (octave-lookfor): New function.
6891
6892 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6895 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6896 its convention.
6897 (cl--loop-set-iterator-function): New function.
6898 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6899 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6900 Bind `it' with `let' instead of substituting it with `cl-subst'.
6901 (cl--unused-var-p): New function.
6902 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6903 Eliminate some unused variable warnings (bug#15326).
6904
6905 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6906
6907 * doc-view.el (doc-view-scale-reset): Rename from
6908 `doc-view-reset-zoom-level'.
6909 (doc-view-scale-adjust): New command.
6910 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6911 `doc-view-scale-adjust'.
6912
6913 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6914
6915 * doc-view.el (doc-view-reset-zoom-level): New command.
6916 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6917 zoom commands (bug#15466).
6918
6919 2013-09-26 Kenichi Handa <handa@gnu.org>
6920
6921 * international/quail.el (quail-help): Make it not a command.
6922
6923 2013-09-26 Leo Liu <sdl.web@gmail.com>
6924
6925 * minibuffer.el (completion-all-sorted-completions): Make args
6926 optional as they are.
6927
6928 2013-09-25 Daniel Colascione <dancol@dancol.org>
6929
6930 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6931 specs are and that they're not evaluated.
6932
6933 2013-09-24 Sam Steingold <sds@gnu.org>
6934
6935 * midnight.el (clean-buffer-list-kill-regexps)
6936 (clean-buffer-list-kill-buffer-names): Update for the new Man
6937 buffer naming which includes the object name.
6938
6939 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6942 (eshell-parse-command, eshell-parse-pipeline): Use it since
6943 eshell-separate-commands requires a dynamic scoped var.
6944 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6945
6946 2013-09-23 Leo Liu <sdl.web@gmail.com>
6947
6948 * autoinsert.el (auto-insert-alist): Make the value of
6949 lexical-binding match its file setting.
6950
6951 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6952
6953 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6954
6955 * autoarg.el (autoarg-kp-digit-argument):
6956 * electric.el (Electric-command-loop):
6957 * kmacro.el (kmacro-step-edit-insert):
6958 Do not set universal-argument-num-events.
6959
6960 2013-09-22 Leo Liu <sdl.web@gmail.com>
6961
6962 * files.el (interpreter-mode-alist): Add octave.
6963
6964 2013-09-21 Alan Mackenzie <acm@muc.de>
6965
6966 C++: fontify identifier in declaration following "public:" correctly.
6967 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6968 to match "public", etc.
6969 (c-decl-prefix-re): Add ":" into the C++ value.
6970 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6971 bit. Add a check for a ":" preceded by "public", etc.
6972
6973 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6974
6975 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6976 recognized by GDB 7.5 and later.
6977
6978 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6979
6980 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6981
6982 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * subr.el (internal--call-interactively): New const.
6985 (called-interactively-p): Use it (bug#3984).
6986
6987 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6988
6989 * vc/pcvs.el (cvs-mode-ignore):
6990 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6991 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6992
6993 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6994
6995 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6996 (eshell-ls-orig-insert-directory): Remove.
6997 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6998 (eshell-ls-use-in-dired): Use advice-add/remove.
6999 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7000 Add `orig-fun' arg for use in :around advice.
7001 Make it check (redundantly) eshell-ls-use-in-dired.
7002
7003 2013-09-19 Glenn Morris <rgm@gnu.org>
7004
7005 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7006
7007 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7008
7009 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7010
7011 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7012
7013 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7014 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7015 (tramp-get-remote-python): New defuns.
7016 (tramp-get-remote-uid-with-perl)
7017 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7018 contributed by yary <not.com@gmail.com> (tiny change).
7019 (tramp-get-remote-uid-with-python)
7020 (tramp-get-remote-gid-with-python): New defuns. Python code
7021 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7022 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7023
7024 2013-09-19 Glenn Morris <rgm@gnu.org>
7025
7026 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7027
7028 * eshell/em-unix.el (eshell-remove-entries):
7029 Rename argument to avoid name-clash with global `top-level'.
7030
7031 * eshell/esh-proc.el (eshell-kill-process-function):
7032 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7033 (eshell-reset-after-proc): Remove unused arg `proc'.
7034
7035 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7036 (directory-files-and-attributes): Mark unused arg.
7037
7038 * eshell/em-unix.el (eshell-remove-entries):
7039 Remove unused arg `path'. Update callers.
7040
7041 * eshell/em-hist.el (eshell-hist-parse-arguments):
7042 Remove unused arg `silent'. Update callers.
7043
7044 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7045 Fix (f)boundp mix-up.
7046
7047 * eshell/em-smart.el (eshell-smart-scroll-window)
7048 (eshell-disable-after-change):
7049 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7050
7051 2013-09-18 Alan Mackenzie <acm@muc.de>
7052
7053 Fix fontification of type when followed by "const".
7054 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7055 "known" types from fontification.
7056
7057 2013-09-18 Glenn Morris <rgm@gnu.org>
7058
7059 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7060 (chart-face-list): Drop Emacsen without display-color-p.
7061
7062 * net/eww.el (libxml-parse-html-region): Declare.
7063 (eww-display-html): Explicit error if no libxml2 support.
7064
7065 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7066
7067 * image.el (image-type-from-buffer, image-multi-frame-p):
7068 Remove --without-x warning/error.
7069
7070 * mouse.el (mouse-yank-primary):
7071 * term.el (term-mouse-paste):
7072 Reorder to silence --without-x compilation.
7073
7074 * mpc.el (doc-view-mode): Silence --without-x compilation.
7075
7076 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7077 Silence --without-x compilation.
7078
7079 * progmodes/gud.el (gud-find-file, gud-mode):
7080 Silence --without-x compilation.
7081 (tooltip-mode): Declare.
7082
7083 * wdired.el (dired-backup-overwrite): Remove declaration.
7084 (wdired-mode-map): Add doc string.
7085
7086 * custom.el (x-get-resource): Declare.
7087
7088 * eshell/em-glob.el (ange-cache):
7089 * eshell/em-unix.el (ange-cache): Declare.
7090
7091 * faces.el (x-display-list, x-open-connection, x-get-resource):
7092 Declare.
7093
7094 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7095 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7096 Declare.
7097
7098 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7099
7100 * net/gnutls.el (gnutls-log-level): Declare.
7101
7102 * net/shr.el (image-size, image-animate): Declare.
7103
7104 * simple.el (font-info): Declare.
7105
7106 * subr.el (x-popup-dialog): Declare.
7107
7108 * term/common-win.el (x-select-enable-primary)
7109 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7110 Declare.
7111
7112 * term/ns-win.el (x-handle-args): Declare.
7113
7114 * term/x-win.el (x-select-enable-clipboard): Declare.
7115
7116 * term/w32-win.el (create-default-fontset): Declare.
7117
7118 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7119 Declare.
7120
7121 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7122 (fit-frame-to-buffer): Explicit error if --without-x.
7123 (mouse-autoselect-window-select): Silence compiler.
7124
7125 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7126
7127 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7128 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7129 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7130 * eshell/esh-util.el (eshell-sublist):
7131 Remove unused local variables.
7132
7133 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7134
7135 * textmodes/two-column.el: Make 2C-split work for --without-x.
7136 (scroll-bar-columns): Autoload.
7137 (top-level): Require fringe when compiling.
7138
7139 2013-09-18 Leo Liu <sdl.web@gmail.com>
7140
7141 * subr.el (add-hook): Robustify to handle closure as well.
7142
7143 2013-09-17 Glenn Morris <rgm@gnu.org>
7144
7145 * simple.el (messages-buffer-mode-map): Unbind "g".
7146
7147 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7148
7149 * help-mode.el (help-mode-finish): Use derived-mode-p.
7150 Remove obsolete highlighting.
7151
7152 * play/life.el (life-mode): Use define-derived-mode. Derive from
7153 special-mode.
7154 (life): Let-bind inhibit-read-only.
7155 (life-setup): Avoid `setq'. Use `life-mode'.
7156
7157 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7158 which should not be needed any more.
7159 (package-menu-refresh, package-menu-describe-package): Use user-error.
7160
7161 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7162 (eshell-post-rewrite-command-hook): Make obsolete.
7163 (eshell-parse-command): Simplify.
7164 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7165 (eshell--cmd): Declare.
7166 (eshell-parse-pipeline): Remove unused var `final-p'.
7167 Pass a dynvar to eshell-post-rewrite-command-hook.
7168 Implement the new eshell-post-rewrite-command-function.
7169 (eshell-invoke-directly): Remove unused arg `input'.
7170 * eshell/esh-io.el (eshell-io-initialize):
7171 Use eshell-post-rewrite-command-function (bug#15399).
7172 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7173 adjust to new calling convention.
7174 (eshell-create-handles): Rename args to avoid clashing with dynvar
7175 `standard-output'.
7176
7177 2013-09-17 Glenn Morris <rgm@gnu.org>
7178
7179 * simple.el (messages-buffer-mode): New major mode.
7180 (messages-buffer): New function.
7181 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7182 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7183 (ert-run-test): Use `messages-buffer' function.
7184 (ert--force-message-log-buffer-truncation): Ignore read-only.
7185 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7186 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7187
7188 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7191
7192 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7193
7194 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * icomplete.el (icomplete-in-buffer): New var.
7197 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7198 vars and replace them with functions.
7199 (icomplete-minibuffer-setup): Adjust accordingly.
7200 (icomplete--completion-table, icomplete--completion-predicate)
7201 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7202 New functions.
7203 (icomplete-forward-completions, icomplete-backward-completions)
7204 (icomplete-simple-completing-p, icomplete-exhibit)
7205 (icomplete-completions): Use them.
7206 (icomplete--in-region-buffer): New var.
7207 (icomplete--in-region-setup): New function.
7208 (icomplete-mode): Use it.
7209
7210 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7211 (bug#15379).
7212 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7213 return args and options.
7214 (eshell-eval-using-options): Use the new return value of
7215 eshell--do-opts to set the options's vars in their scope.
7216 (eshell--set-option): Rename from eshell-set-option.
7217 Add arg `opt-vals'.
7218 (eshell--process-option): Rename from eshell-process-option.
7219 Add arg `opt-vals'.
7220 (eshell--process-args): Use an `opt-vals' alist to store the options's
7221 values during their processing and return them additionally to the
7222 remaining args.
7223
7224 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7225
7226 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7227 continuation character an operator, as far as indentation is
7228 concerned (Bug#15369).
7229
7230 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7231
7232 * window.el (window--state-put-2): Don't process buffer state
7233 when buffer doesn't exist any more (Bug#15382).
7234
7235 2013-09-15 Glenn Morris <rgm@gnu.org>
7236
7237 * eshell/em-unix.el (eshell/rm):
7238 Make -f ignore missing files. (Bug#15373)
7239
7240 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7241 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7242 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7243
7244 2013-09-14 Glenn Morris <rgm@gnu.org>
7245
7246 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7247
7248 2013-09-13 Glenn Morris <rgm@gnu.org>
7249
7250 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7251 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7252
7253 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7254
7255 * frame.el (x-focus-frame): Mark as declared in frame.c.
7256
7257 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * ls-lisp.el: Use advice-add.
7260 (original-insert-directory): Remove.
7261 (ls-lisp--insert-directory): Rename from insert-directory; add
7262 `orig-fun' argument.
7263 (insert-directory): Advise.
7264
7265 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7266
7267 * term.el (term-emulate-terminal): Decode the command string
7268 before passing it to term-command-hook. (Bug#15337)
7269
7270 2013-09-13 Glenn Morris <rgm@gnu.org>
7271
7272 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7273
7274 * eshell/esh-ext.el (eshell-search-path): Declare.
7275
7276 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7277 Otherwise an error occurs if eshell-dirs module not loaded.
7278
7279 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7280
7281 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7282
7283 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7284 `tramp-check-proper-host'. Check for a valid method name.
7285
7286 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7287 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7288 * net/tramp-sh.el (tramp-maybe-open-connection):
7289 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7290
7291 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7292 also for hash values.
7293
7294 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * term/ns-win.el (parameters): Don't declare as dynamic.
7297 (before-make-frame-hook): Don't add ineffective function.
7298
7299 * eshell/*.el: Use lexical-binding (bug#15231).
7300
7301 2013-09-12 Kenichi Handa <handa@gnu.org>
7302
7303 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7304
7305 2013-09-12 Glenn Morris <rgm@gnu.org>
7306
7307 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7308 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7309
7310 * subr.el (do-after-load-evaluation): Also give compiler warnings
7311 when obsolete files are used (except by obsolete files).
7312
7313 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7314 in the status output, assume `filename' is the first. (Bug#15322)
7315
7316 * vc/vc.el (vc-deduce-fileset): Doc fix.
7317
7318 * calc/calc-help.el (Info-goto-node):
7319 * progmodes/cperl-mode.el (Info-find-node):
7320 * vc/ediff.el (Info-goto-node): Update declarations.
7321
7322 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7323
7324 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7325 (vc-bzr-pull): Require vc-dispatcher.
7326 * vc/vc-git.el (vc-compilation-mode): Declare.
7327 (vc-git-pull): Require vc-dispatcher.
7328
7329 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7330
7331 * progmodes/octave.el (help-button-action): Declare.
7332
7333 * shell.el (shell-directory-tracker): Output error as a message
7334 rather than just returning it as a string.
7335 (shell-process-pushd): Remove useless use of message.
7336
7337 * dframe.el (dframe-timer-fn):
7338 * files.el (dir-locals-read-from-file):
7339 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7340 (mpc-format):
7341 * reveal.el (reveal-post-command):
7342 * saveplace.el (load-save-place-alist-from-file):
7343 * shell.el (shell-resync-dirs):
7344 * w32-common-fns.el (x-get-selection-value):
7345 * emacs-lisp/copyright.el (copyright-find-copyright):
7346 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7347 * emulation/tpu-edt.el (tpu-copy-keyfile):
7348 * play/bubbles.el (bubbles--mark-neighbourhood):
7349 * progmodes/executable.el
7350 (executable-make-buffer-file-executable-if-script-p):
7351 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7352
7353 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 Cleanup Eshell to rely less on dynamic scoping.
7356 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7357 last-value, and ext-command here. Bind `args' closer to `body'.
7358 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7359 (eshell--args): Declare new dynamic var.
7360 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7361 last-value, and ext-command. Pass `args' to `body'.
7362 (eshell-process-args): Bind eshell--args.
7363 (eshell-set-option): Use eshell--args.
7364 * eshell/eshell.el (eshell): Use derived-mode-p.
7365 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7366 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7367 (eshell-glob-function): Declare.
7368 * eshell/esh-util.el: Require cl-lib.
7369 (eshell-read-hosts-file): Avoid add-to-list.
7370 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7371 `err'.
7372 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7373 Declare.
7374 (eshell/diff): Remove unused var `err'.
7375 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7376 `killflag'.
7377 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7378 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7379 first use.
7380 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7381 Move declaration before first use.
7382 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7383 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7384 rely on cl-return.
7385
7386 2013-09-12 Glenn Morris <rgm@gnu.org>
7387
7388 * term/ns-win.el (global-map): Remove binding for ispell-next,
7389 deleted 1999-05-29. (Bug#15357)
7390
7391 2013-09-11 Glenn Morris <rgm@gnu.org>
7392
7393 * echistory.el (electric-command-history): Remove call to deleted func.
7394
7395 * play/landmark.el (landmark-mode): Fix typos.
7396
7397 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7398 Check cvs-sort-ignore-file is bound.
7399
7400 * savehist.el: No need for cl when compiling on Emacs.
7401
7402 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7405 (bug#15338).
7406 (eshell-self-insert-command, eshell-send-invisible):
7407 Remove unused argument.
7408 (eshell-handle-control-codes): Remove unused var `orig'.
7409 Avoid delete-backward-char.
7410
7411 * files.el (set-auto-mode): Simplify a bit further.
7412
7413 2013-09-11 Glenn Morris <rgm@gnu.org>
7414
7415 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7416 (set-auto-mode): Don't regexp-quote elements.
7417 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7418 * progmodes/cc-mode.el (interpreter-mode-alist):
7419 * progmodes/ruby-mode.el (interpreter-mode-alist):
7420 Revert previous change.
7421
7422 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * play/snake.el (snake-mode):
7425 * play/mpuz.el (mpuz-mode):
7426 * play/landmark.el (lm-mode):
7427 * play/blackbox.el (blackbox-mode):
7428 * play/5x5.el (5x5-mode):
7429 * obsolete/options.el (Edit-options-mode):
7430 * net/quickurl.el (quickurl-list-mode):
7431 * net/newst-treeview.el (newsticker-treeview-mode):
7432 * mail/rmailsum.el (rmail-summary-mode):
7433 * mail/mspools.el (mspools-mode):
7434 * locate.el (locate-mode):
7435 * ibuffer.el (ibuffer-mode):
7436 * emulation/ws-mode.el (wordstar-mode):
7437 * emacs-lisp/debug.el (debugger-mode):
7438 * array.el (array-mode):
7439 * net/eudc.el (eudc-mode): Use define-derived-mode.
7440 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7441 Move initialization into declaration.
7442 (mairix-searches-mode): Use define-derived-mode.
7443 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7444 (eudc-edit-hotlist): Use dolist.
7445 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7446 (Man-mode): Use define-derived-mode.
7447 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7448 (Info-edit-mode): Use define-derived-mode.
7449 (Info-cease-edit): Use Info-mode.
7450 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7451 into declaration.
7452 (eshell-mode): Use define-derived-mode.
7453 * chistory.el (command-history-mode-map): Rename from
7454 command-history-map.
7455 (command-history-mode): Use define-derived-mode.
7456 (Command-history-setup): Remove function.
7457 * calc/calc.el (calc-trail-mode-map): New var.
7458 (calc-trail-mode): Use define-derived-mode.
7459 (calc-trail-buffer): Set calc-main-buffer manually.
7460 * bookmark.el (bookmark-insert-annotation): New function.
7461 (bookmark-edit-annotation): Use it.
7462 (bookmark-edit-annotation-mode): Make it a proper major mode.
7463 (bookmark-send-edited-annotation): Use derived-mode-p.
7464 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7465 closer to its ideal place. Use \' to match EOS.
7466
7467 * profiler.el (profiler-calltree-find): Use function-equal.
7468
7469 2013-09-10 Glenn Morris <rgm@gnu.org>
7470
7471 * files.el (interpreter-mode-alist): Convert to regexps.
7472 (set-auto-mode): Adapt for this. (Bug#15306)
7473 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7474 Comment out unused variable.
7475 * progmodes/cc-mode.el (interpreter-mode-alist):
7476 * progmodes/python.el (interpreter-mode-alist):
7477 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7478 * progmodes/sh-script.el (sh-set-shell):
7479 No longer use interpreter-mode-alist to get list of shells.
7480
7481 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7482
7483 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * simple.el: Use set-temporary-overlay-map for universal-argument.
7486 (universal-argument-map): Don't use default-bindings (bug#15317).
7487 Bind switch-frame explicitly. Replace universal-argument-minus with
7488 a conditional binding.
7489 (universal-argument-num-events, saved-overriding-map): Remove.
7490 (restore-overriding-map): Remove.
7491 (universal-argument--mode): Rename from save&set-overriding-map,
7492 and rewrite.
7493 (universal-argument, universal-argument-more, negative-argument)
7494 (digit-argument): Adjust accordingly.
7495 (universal-argument-minus): Remove.
7496 (universal-argument-other-key): Remove.
7497
7498 * subr.el (with-demoted-errors): Add `format' argument.
7499
7500 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7501
7502 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7503 `tramp-cleanup-connection'.
7504
7505 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7506 parameters KEEP-DEBUG and KEEP-PASSWORD.
7507
7508 * net/tramp.el (tramp-file-name-handler):
7509 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7510 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7511 (tramp-maybe-open-connection):
7512 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7513 Use `tramp-cleanup-connection'.
7514
7515 * net/tramp-sh.el (tramp-maybe-open-connection):
7516 Catch 'uname-changed inside the progress reporter.
7517
7518 2013-09-10 Glenn Morris <rgm@gnu.org>
7519
7520 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7521
7522 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7523 returns "alternate access method" in mode (eg "-rw-r--r--.").
7524
7525 2013-09-08 Glenn Morris <rgm@gnu.org>
7526
7527 * saveplace.el (load-save-place-alist-from-file):
7528 Demote errors. (Bug#15305)
7529
7530 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7531
7532 Improve compatibility with older Emacsen, and XEmacs.
7533
7534 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7535 only if it is bound. It isn't for XEmacs.
7536 (with-tramp-progress-reporter): Do not let-bind `result'.
7537 This yields to scoping errors in XEmacs.
7538 (tramp-handle-make-auto-save-file-name): New function, moved from
7539 tramp-sh.el.
7540
7541 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7542 for `make-auto-save-file-name'.
7543 (tramp-adb--gnu-switches-to-ash):
7544 Use `tramp-compat-replace-regexp-in-string'.
7545
7546 * net/tramp-cache.el (tramp-cache-print): Call
7547 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7548
7549 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7550 bound. It isn't for XEmacs.
7551
7552 * net/tramp-compat.el (tramp-compat-copy-file):
7553 Catch `wrong-number-of-arguments' error.
7554 (tramp-compat-replace-regexp-in-string): New defun.
7555
7556 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7557 for `make-auto-save-file-name'.
7558 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7559 `copy-file'.
7560 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7561 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7562 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7563
7564 * net/tramp-gw.el (tramp-gw-open-network-stream):
7565 Use `tramp-compat-replace-regexp-in-string'.
7566
7567 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7568 Call `tramp-handle-make-auto-save-file-name'.
7569 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7570 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7571 (tramp-sh-file-inotifywait-process-filter):
7572 Use `tramp-compat-replace-regexp-in-string'.
7573 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7574
7575 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7576 for `make-auto-save-file-name'.
7577 (tramp-smb-handle-copy-directory):
7578 Call `tramp-compat-replace-regexp-in-string'.
7579 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7580 (tramp-smb-handle-copy-file): Improve error message.
7581 (tramp-smb-handle-rename-file): Rename directly only in case
7582 `newname' does not exist yet. This is a restriction of smbclient.
7583 (tramp-smb-maybe-open-connection): Rerun the function only when
7584 `auth-sources' is non-nil.
7585
7586 2013-09-08 Kenichi Handa <handa@gnu.org>
7587
7588 * international/characters.el: Set category "^" (Combining) for
7589 more characters.
7590
7591 2013-09-07 Alan Mackenzie <acm@muc.de>
7592
7593 Correctly fontify Java class constructors.
7594 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7595 in Java Mode.
7596 (c-recognize-typeless-decls): Set the Java value to t.
7597 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7598 While handling a "(", add a check for, effectively, Java, and handle a
7599 "typeless" declaration there.
7600
7601 2013-09-07 Roland Winkler <winkler@gnu.org>
7602
7603 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7604 field subtitle for entry type book.
7605
7606 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * minibuffer.el: Make minibuffer-complete call completion-in-region
7609 rather than other way around.
7610 (completion--some, completion-pcm--find-all-completions):
7611 Don't delay signals when debugging.
7612 (minibuffer-completion-contents): Beware fields within the
7613 minibuffer contents.
7614 (completion-all-sorted-completions): Use defvar-local.
7615 (completion--do-completion, completion--cache-all-sorted-completions)
7616 (completion-all-sorted-completions, minibuffer-force-complete):
7617 Add args `beg' and `end'.
7618 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7619 (minibuffer-complete): Use completion-in-region.
7620 (completion-complete-and-exit): New fun, extracted from
7621 minibuffer-complete-and-exit.
7622 (minibuffer-complete-and-exit): Use it.
7623 (completion--complete-and-exit): Rename from
7624 minibuffer--complete-and-exit.
7625 (completion-in-region--single-word): New function, extracted from
7626 minibuffer-complete-word.
7627 (minibuffer-complete-word): Use it.
7628 (display-completion-list): Make `common-substring' argument obsolete.
7629 (completion--in-region): Call completion--in-region-1 instead of
7630 minibuffer-complete.
7631 (completion-help-at-point): Pass boundaries to
7632 minibuffer-completion-help as args rather than via an overlay.
7633 (completion-pcm--string->pattern): Use `any-delim'.
7634 (completion-pcm--optimize-pattern): New function.
7635 (completion-pcm--pattern->regex): Handle `any-delim'.
7636 * icomplete.el (icomplete-forward-completions)
7637 (icomplete-backward-completions, icomplete-completions):
7638 Adjust calls to completion-all-sorted-completions and
7639 completion--cache-all-sorted-completions.
7640 (icomplete-with-completion-tables): Default to t.
7641 * emacs-lisp/crm.el (crm--current-element): Rename from
7642 crm--select-current-element. Don't put an overlay but return the
7643 boundaries instead.
7644 (crm--completion-command): Take two new args to bind to the boundaries.
7645 (crm-completion-help): Adjust accordingly.
7646 (crm-complete): Use completion-in-region.
7647 (crm-complete-word): Use completion-in-region--single-word.
7648 (crm-complete-and-exit): Use completion-complete-and-exit.
7649
7650 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7651
7652 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7653 than dynamically.
7654
7655 2013-09-06 Juri Linkov <juri@jurta.org>
7656
7657 * info.el (Info-display-images-node): When image file doesn't exist
7658 display text version of the image if it's provided in the Info file.
7659 Otherwise, display the location of missing image from SRC attribute.
7660 Add help-echo text property from ALT attribute. (Bug#15279)
7661
7662 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7665 (edit-abbrevs-mode): Use define-derived-mode.
7666
7667 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7668 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7669 that it's defined.
7670 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7671 Use define-derived-mode.
7672
7673 * epg.el (epg-start-encrypt): Minor CSE simplification.
7674
7675 2013-09-06 William Xu <william.xwl@gmail.com>
7676
7677 * arc-mode.el: Add support for 7za (bug#15264).
7678 (archive-7z-program): New var.
7679 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7680 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7681 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7682
7683 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7684
7685 Remove URL syntax.
7686
7687 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7688 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7689 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7690 (tramp-postfix-host-format, tramp-file-name-regexp)
7691 (tramp-completion-file-name-regexp)
7692 (tramp-completion-dissect-file-name)
7693 (tramp-handle-substitute-in-file-name): Remove 'url case.
7694 (tramp-file-name-regexp-url)
7695 (tramp-completion-file-name-regexp-url): Remove constants.
7696
7697 2013-09-06 Glenn Morris <rgm@gnu.org>
7698
7699 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7700
7701 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7702
7703 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7704 keywords" below "here-doc beginnings" (Bug#15270).
7705
7706 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7707
7708 * subr.el (pop): Use `car-safe'.
7709 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7710 to detect unused `pop' return value.
7711
7712 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7713 var `block-regexp'.
7714 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7715 (python-fill-string): Remove unused var `marker'.
7716 (python-skeleton-add-menu-items): Remove unused var `items'.
7717
7718 * international/mule-cmds.el: Require CL.
7719 (find-coding-systems-for-charsets): Avoid add-to-list.
7720 (sanitize-coding-system-list): New function, extracted from
7721 select-safe-coding-system-interactively.
7722 (select-safe-coding-system-interactively): Use it.
7723 (read-input-method-name): Accept symbols for `default'.
7724
7725 * emacs-lisp/advice.el (defadvice): Add indent rule.
7726
7727 2013-09-05 Daniel Hackney <dan@haxney.org>
7728
7729 * dired-x.el:
7730 * net/ange-ftp.el:
7731 * net/browse-url.el:
7732 * net/dbus.el:
7733 * net/eudc.el:
7734 * net/eudcb-ldap.el:
7735 * net/eww.el:
7736 * net/imap.el:
7737 * printing.el:
7738 * vc/ediff-diff.el:
7739 * vc/ediff-init.el:
7740 * vc/ediff-merg.el:
7741 * vc/ediff-mult.el:
7742 * vc/ediff-util.el:
7743 * vc/ediff-wind.el:
7744 * vc/ediff.el:
7745 * vc/emerge.el:
7746 * vc/pcvs.el:
7747 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7748 byte compiler. Remove some unused let-bound variables.
7749
7750 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7753 a "ref-cell", since it gets better optimized (bug#14883).
7754
7755 2013-09-05 Glenn Morris <rgm@gnu.org>
7756
7757 * progmodes/cc-awk.el (c-forward-sws): Declare.
7758
7759 2013-09-04 Glenn Morris <rgm@gnu.org>
7760
7761 * generic-x.el [rul-generic-mode]: Require cc-mode.
7762 (c++-mode-syntax-table): Declare.
7763 (rul-generic-mode-syntax-table): Init in the defvar.
7764
7765 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7766
7767 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7768 (vc-do-command, vc-set-async-update):
7769 * vc/vc-mtn.el (vc-mtn-dir-status):
7770 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7771 (vc-hg-pull, vc-hg-merge-branch):
7772 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7773 (vc-git-merge-branch):
7774 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7775 (vc-cvs-dir-status-files):
7776 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7777 (vc-bzr-dir-status-files):
7778 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7779 * vc/vc-annotate.el: Use lexical-binding.
7780 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7781 (vc-sentinel-movepoint): Declare.
7782 (vc-annotate): Don't use `goto-line'.
7783 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7784 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7785 (vc-sentinel-movepoint): Declare.
7786 * vc/vc-svn.el: Use lexical-binding.
7787 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7788 * vc/vc-sccs.el:
7789 * vc/vc-rcs.el: Use lexical-binding.
7790
7791 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7792 `deleted'. Don't drop errors silently.
7793
7794 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7795
7796 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7797
7798 * vc/vc.el (vc-ignore): Rewrite.
7799 (vc-default-ignore): New function.
7800 (vc-default-ignore-completion-table): Use find-ignore-file.
7801
7802 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7803 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7804 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7805 Remove. Most code moved to vc.el.
7806
7807 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7810 * net/tramp-smb.el (tramp-smb-get-file-entries):
7811 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7812 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7813
7814 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7815 Update call to it.
7816 (eww-change-select): Remove unused var `properties'.
7817 (eww-make-unique-file-name): Remove unused var `base'.
7818
7819 * finder.el (finder-compile-keywords): Don't mess with windows.
7820
7821 * calculator.el (calculator-funcall): Fix typo in last change.
7822
7823 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7824
7825 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7826 <pkg>-autoloads.el file stop us.
7827
7828 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7829 warnings, and factor out common code.
7830
7831 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7832
7833 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7834 two-character operators and whether the character preceding them
7835 changes their meaning (Bug#15208).
7836
7837 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7838
7839 Format code sent to Python shell for robustness.
7840 * progmodes/python.el (python-shell-buffer-substring):
7841 New function.
7842 (python-shell-send-region, python-shell-send-buffer): Use it.
7843
7844 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7845
7846 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7847 * net/tramp.el (tramp-user-error): ... here.
7848 (tramp-find-method, tramp-check-proper-host)
7849 (tramp-dissect-file-name, tramp-debug-message)
7850 (tramp-handle-shell-command):
7851 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7852 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7853
7854 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7855
7856 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7857
7858 * avoid.el (mouse-avoidance-point-position)
7859 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7860 returns nil.
7861
7862 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7863
7864 * progmodes/python.el (python-shell-completion-get-completions):
7865 Drop use of deleted `comint-last-prompt-overlay'.
7866 (python-nav-if-name-main): New command.
7867
7868 2013-09-01 Glenn Morris <rgm@gnu.org>
7869
7870 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7871 Avoid leading space in $wins. Otherwise the sed command used by
7872 eg compile-main ends up containing "/*.el". (Bug#15170)
7873
7874 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7875
7876 2013-08-30 Glenn Morris <rgm@gnu.org>
7877
7878 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7879 Fix is-this-a-directory logic. (Bug#15220)
7880
7881 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 * textmodes/css-mode.el: Use SMIE.
7884 (css-smie-grammar): New var.
7885 (css-smie--forward-token, css-smie--backward-token)
7886 (css-smie-rules): New functions.
7887 (css-mode): Use them.
7888 (css-navigation-syntax-table): Remove var.
7889 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7890 (css-indent-calculate, css-indent-line): Remove functions.
7891
7892 Misc changes to reduce use of `(lambda...); and other cleanups.
7893 * cus-edit.el: Use lexical-binding.
7894 (customize-push-and-save, customize-apropos)
7895 (custom-buffer-create-internal): Use closures.
7896 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7897 * progmodes/ada-xref.el: Use setq.
7898 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7899 * dframe.el: Use lexical-binding.
7900 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7901 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7902 * descr-text.el: Use lexical-binding.
7903 (describe-text-widget, describe-text-sexp, describe-property-list):
7904 Use closures.
7905 * comint.el (comint-history-isearch-push-state): Use a closure.
7906 * calculator.el: Use lexical-binding.
7907 (calculator-number-to-string): Make it work with lexical-binding.
7908 (calculator-funcall): Same and use cl-letf.
7909
7910 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7911 (lisp--company-doc-string, lisp--company-location): New functions.
7912 (lisp-completion-at-point): Use them to improve Company support.
7913
7914 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7915 params of lambda expressions.
7916 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7917 (ruby-smie--opening-pipe-p): New function.
7918 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7919 symbols and matched |...| for formal params.
7920 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7921 from being treated as hanging. Handle "rescue".
7922
7923 2013-08-29 Glenn Morris <rgm@gnu.org>
7924
7925 * progmodes/cc-engine.el (c-pull-open-brace):
7926 Move definition before use.
7927
7928 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7931 are immutable. Don't use `unsafe' any more.
7932 (cl--defsubst-expand): Don't substitute at the same time as keeping
7933 a residual unused let-binding. Don't use `unsafe' any more.
7934
7935 2013-08-29 Glenn Morris <rgm@gnu.org>
7936
7937 * calendar/cal-china.el (calendar-chinese-year-cache):
7938 Recenter on 2015.
7939
7940 * nxml/nxml-util.el (nxml-debug-clear-inside):
7941 Use cl-loop rather than loop.
7942
7943 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7944
7945 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7946
7947 2013-08-28 Glenn Morris <rgm@gnu.org>
7948
7949 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7950
7951 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7952
7953 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7954
7955 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7956
7957 * simple.el (repeat-complex-command--called-interactively-skip):
7958 New function.
7959 (repeat-complex-command): Use it (bug#14136).
7960
7961 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7962 (c-define-abbrev-table): Add `doc' argument.
7963 (c-mode-abbrev-table, c++-mode-abbrev-table)
7964 (objc-mode-abbrev-table, java-mode-abbrev-table)
7965 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7966 (awk-mode-abbrev-table): Use it.
7967 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7968 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7969 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7970 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7971 Move initialization into the declaration; and remove any
7972 autoload cookie.
7973
7974 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7975 and dynamic let binding.
7976
7977 * vc/smerge-mode.el: Remove redundant :group args.
7978
7979 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7980 to load-path.
7981
7982 2013-08-28 Juri Linkov <juri@jurta.org>
7983
7984 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7985 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7986 (isearch-other-meta-char): Handle an undefined shifted printing
7987 character by downshifting it. (Bug#15200)
7988
7989 2013-08-28 Juri Linkov <juri@jurta.org>
7990
7991 * isearch.el (isearch-search): Change regexp error message for
7992 non-regexp searches. (Bug#15166)
7993
7994 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7995
7996 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7997 for portability to hosts where /bin/sh has problems.
7998
7999 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8000
8001 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8002
8003 2013-08-27 Juri Linkov <juri@jurta.org>
8004
8005 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8006 in the keyboard macro. (Bug#15126)
8007
8008 2013-08-27 Juri Linkov <juri@jurta.org>
8009
8010 * isearch.el (isearch-quote-char): Comment out converting unibyte
8011 to multibyte, thus syncing with its `quoted-insert' counterpart.
8012 (Bug#15166)
8013
8014 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8015
8016 * window.el (display-buffer-use-some-window): Add missing
8017 argument in call of get-largest-window (Bug#15185).
8018 Reported by Stephen Leake.
8019
8020 2013-08-27 Glenn Morris <rgm@gnu.org>
8021
8022 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8023
8024 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8025
8026 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8027 from a matcher-function unless there's no more matches (bug#15161).
8028
8029 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8030
8031 * minibuffer.el: Revert change from 2013-08-20.
8032
8033 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8034 with text property `tramp-default', if appropriate.
8035 (tramp-check-proper-host): New defun.
8036 (tramp-dissect-file-name): Do not check hostname. Revert change
8037 of 2013-03-18.
8038 (tramp-backtrace): Make VEC-OR-PROC optional.
8039
8040 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8041 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8042 * net/tramp-sh.el (tramp-maybe-open-connection):
8043 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8044 Apply `tramp-check-proper-host'.
8045
8046 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8047
8048 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8049 lambda expression in order to have `describe-variable' display it.
8050
8051 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8052
8053 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8054 BUF can be optional. (Bug#15186)
8055
8056 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8057
8058 * progmodes/flymake.el (flymake-get-real-file-name-function):
8059 Fix broken customization. (Bug#15184)
8060
8061 2013-08-25 Alan Mackenzie <acm@muc.de>
8062
8063 Improve indentation of bracelists defined by macros (without "=").
8064
8065 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8066 expansion begins with "{", regard it as bracelist when it doesn't
8067 contain a ";".
8068
8069 Parse C++ inher-intro when there's a template split over 2 lines.
8070
8071 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8072 rigorously the search for "class" etc. followed by ":".
8073
8074 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8075 random languages a regexp which never matches rather than nil.
8076
8077 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8078
8079 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8080 (c-awk-regexp-one-line-possibly-open-char-list-re)
8081 (c-awk-one-line-possibly-open-regexp-re)
8082 (c-awk-one-line-non-syn-ws*-re): Remove.
8083 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8084 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8085 (c-awk-space*-unclosed-regexp-/-re): New constants.
8086 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8087 aren't regexp delimiters.
8088
8089 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8090 handling for a rare situation in AWK Mode involving unterminated
8091 strings/regexps.
8092
8093 2013-08-23 Glenn Morris <rgm@gnu.org>
8094
8095 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8096
8097 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8098
8099 * files.el (create-file-buffer): If the result would begin with
8100 spaces, prepend a "|" instead of removing them. (Bug#15162)
8101
8102 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8105 text-properties (bug#15155).
8106
8107 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8108 exist any more.
8109 (calc-keypad-redraw): Remove unused var `pad'.
8110 (calc-keypad-press): Remove unused var `menu'.
8111
8112 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8113
8114 * window.el (display-buffer-pop-up-frame):
8115 Call pop-up-frame-function with BUFFER current so `make-frame' will
8116 use it as the new frame's buffer (Bug#15133).
8117
8118 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8119
8120 * calendar/timeclock.el: Minor cleanups.
8121 (timeclock-ask-before-exiting, timeclock-use-display-time):
8122 Use `symbol'.
8123 (timeclock-modeline-display): Define as alias before the
8124 actual definition.
8125 (timeclock-mode-line-display): Use define-minor-mode.
8126 (timeclock-day-list-template): Make it a function, add an argument.
8127 (timeclock-day-list-required, timeclock-day-list-length)
8128 (timeclock-day-list-debt, timeclock-day-list-span)
8129 (timeclock-day-list-break): Adjust calls accordingly.
8130
8131 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8134 Use read--expression so that completion works again.
8135
8136 2013-08-21 Sam Steingold <sds@gnu.org>
8137
8138 Add rudimentary inferior shell interaction
8139 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8140 (sh-set-shell): Reset it.
8141 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8142 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8143
8144 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * align.el: Use lexical-binding.
8147 (align-region): Simplify accordingly.
8148
8149 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8150
8151 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8152
8153 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8154 `non-essential' up.
8155
8156 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8157
8158 * net/tramp.el:
8159 * net/tramp-adb.el:
8160 * net/tramp-cmds.el:
8161 * net/tramp-ftp.el:
8162 * net/tramp-gvfs.el:
8163 * net/tramp-gw.el:
8164 * net/tramp-sh.el: Don't wrap external variable declarations by
8165 `eval-when-compile'.
8166
8167 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8168
8169 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8170 now that Emacs supports ImageMagick animations.
8171
8172 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8173
8174 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8175 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8176
8177 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8178
8179 * window.el (mouse-autoselect-window-select): Do autoselect when
8180 mouse pointer is on margin.
8181
8182 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8183
8184 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8185
8186 2013-08-16 Glenn Morris <rgm@gnu.org>
8187
8188 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8189 Handle "Remote Directory" response of some clients. (Bug#15058)
8190
8191 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8192 Tweak warning. (Bug#14926)
8193
8194 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8195 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8196
8197 * image-mode.el (image-mode-map): Add menu items to reverse,
8198 increase, decrease, reset animation speed.
8199 (image--set-speed, image-increase-speed, image-decrease-speed)
8200 (image-reverse-speed, image-reset-speed): New functions.
8201 (image-mode-map): Add bindings for speed commands.
8202
8203 * image.el (image-animate-get-speed, image-animate-set-speed):
8204 New functions.
8205 (image-animate-timeout): Respect image :speed property.
8206
8207 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8210 previous line (bug#15101).
8211 (debugger-eval-expression, debugger-record-expression):
8212 Use read--expression (bug#15102).
8213
8214 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8215
8216 Remove byte compiler warnings, visible when compiling with
8217 `byte-compile-force-lexical-warnings' set to t.
8218
8219 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8220 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8221 (tramp-handle-unhandled-file-name-directory)
8222 (tramp-handle-file-notify-add-watch, tramp-action-login)
8223 (tramp-action-succeed, tramp-action-permission-denied)
8224 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8225 arguments with "_".
8226
8227 * net/tramp-adb.el (tramp-adb-parse-device-names)
8228 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8229 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8230 (tramp-adb-handle-file-truename): Remove unused arguments.
8231
8232 * net/tramp-cache.el (tramp-flush-directory-property)
8233 (tramp-flush-connection-property, tramp-list-connections)
8234 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8235
8236 * net/tramp-compat.el (tramp-compat-make-temp-file):
8237 Rename FILENAME to F.
8238
8239 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8240 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8241 (tramp-zeroconf-parse-workstation-device-names)
8242 (tramp-zeroconf-parse-webdav-device-names)
8243 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8244
8245 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8246 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8247
8248 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8249 arguments.
8250 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8251 (tramp-sh-handle-insert-file-contents-literally)
8252 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8253 with "_".
8254 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8255 Remove unused variables.
8256
8257 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8258 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8259 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8260
8261 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8262 Make them a defconst.
8263 (tramp-uuencode-region): Remove unused variable.
8264
8265 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8266
8267 * frameset.el (frameset--prop-setter): New function.
8268 (frameset-prop): Add gv-setter declaration.
8269 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8270 parameter was already set in FILTERED. Doc fix.
8271 (frameset--record-minibuffer-relationships): Allow saving a
8272 minibufferless frame without its corresponding minibuffer frame.
8273 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8274 frame, if the frame id matches.
8275 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8276 frames before orphaned ones.
8277 (frameset-restore): Warn about orphaned windows, instead of error out.
8278
8279 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8280
8281 * window.el (window-make-atom): Don't overwrite parameter
8282 already present.
8283 (display-buffer-in-atom-window): Handle special case where we
8284 split an already atomic window.
8285 (window--major-non-side-window, display-buffer-in-side-window)
8286 (window--side-check): Ignore minibuffer window when walking
8287 window tree.
8288 (window-deletable-p): Return 'frame only if no other frame uses
8289 our minibuffer window.
8290 (record-window-buffer): Run buffer-list-update-hook.
8291 (split-window): Make sure window--check-frame won't destroy an
8292 existing atomic window in case the new window gets nested
8293 inside.
8294 (display-buffer-at-bottom): Ignore minibuffer window when
8295 walking window tree. Don't split a side window.
8296 (pop-to-buffer): Don't set-buffer here, the select-window call
8297 should do that.
8298 (mouse-autoselect-window-select): Autoselect only if we are in the
8299 text portion of the window.
8300
8301 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8302
8303 * net/shr.el (shr-parse-image-data): New function to grab both the
8304 data itself and the Content-Type.
8305 (shr-put-image): Use it.
8306
8307 * net/eww.el (eww-display-image): Ditto.
8308
8309 * image.el (image-content-type-suffixes): New variable.
8310
8311 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8312
8313 * progmodes/python.el (python-imenu--build-tree)
8314 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8315
8316 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8317
8318 * simple.el (backward-word): Mention the optional argument.
8319
8320 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * frameset.el (frameset--make): Rename constructor from make-frameset.
8323 (frameset-p, frameset-valid-p): Don't autoload.
8324 (frameset-valid-p): Use normal accessors.
8325
8326 2013-08-13 Glenn Morris <rgm@gnu.org>
8327
8328 * progmodes/compile.el (compile-command): Tweak example in doc.
8329 * obsolete/scribe.el (scribe-mode):
8330 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8331
8332 * mail/feedmail.el (feedmail-confirm-outgoing)
8333 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8334
8335 * cus-start.el (truncate-partial-width-windows): Fix type.
8336
8337 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8338
8339 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8340
8341 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * emacs-lisp/timer.el (timer--time-setter): New function.
8344 (timer--time): Use it as gv-setter.
8345
8346 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8347 setter is not a symbol.
8348
8349 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8350
8351 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8352 if sending fails. This makes debugging easier.
8353
8354 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8355
8356 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8357 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8358 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8359
8360 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8361
8362 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8363
8364 2013-08-12 Glenn Morris <rgm@gnu.org>
8365
8366 * format.el (format-annotate-function):
8367 Handle read-only text properties in the source. (Bug#14887)
8368
8369 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8370
8371 * net/eww.el (eww-display-html): Ignore coding system errors.
8372 One web site uses "utf-8lias" as the coding system.
8373
8374 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8375
8376 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8377
8378 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8379
8380 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8381 (tutorial--detailed-help): Remove unused local variables.
8382 (tutorial--save-tutorial-to): Use ignore-errors.
8383 (help-with-tutorial): Use looking-at-p.
8384
8385 * view.el (view-buffer-other-window, view-buffer-other-frame):
8386 Mark unused arguments.
8387
8388 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8389 (woman-select-symbol-fonts, woman, woman-find-file)
8390 (woman-insert-file-contents, woman-non-underline-faces):
8391 Use string-match-p.
8392 (woman1-unquote): Move declaration.
8393
8394 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8395 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8396 argument. Remove unused local variable.
8397 (xml-parse-elem-type): Use string-match-p.
8398 (xml-substitute-numeric-entities): Use ignore-errors.
8399
8400 * calculator.el (calculator): Mark unused argument.
8401 (calculator-paste, calculator-quit, calculator-integer-p):
8402 Use ignore-errors.
8403 (calculator-string-to-number, calculator-decimal, calculator-exp)
8404 (calculator-op-or-exp): Use string-match-p.
8405
8406 * dired.el (dired-buffer-more-recently-used-p): Declare.
8407 (dired-insert-set-properties, dired-insert-old-subdirs):
8408 Use ignore-errors.
8409
8410 * dired-aux.el (dired-compress): Use ignore-errors.
8411 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8412 (dired-do-async-shell-command, dired-do-shell-command)
8413 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8414 (dired-insert-subdir-validate): Use string-match-p.
8415 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8416 (dired-add-entry): Use string-match-p, looking-at-p.
8417 (dired-insert-subdir-newpos): Remove unused local variable.
8418
8419 * filenotify.el (file-notify-callback): Remove unused local variable.
8420
8421 * filesets.el (filesets-error): Mark unused argument.
8422 (filesets-which-command-p, filesets-filter-dir-names)
8423 (filesets-directory-files, filesets-get-external-viewer)
8424 (filesets-ingroup-get-data): Use string-match-p.
8425
8426 * find-file.el (ff-other-file-name, ff-other-file-name)
8427 (ff-find-the-other-file, ff-cc-hh-converter):
8428 Remove unused local variables.
8429 (ff-get-file-name): Use string-match-p.
8430 (ff-all-dirs-under): Use ignore-errors.
8431
8432 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8433 (follow-select-if-visible): Remove unused local variable.
8434
8435 * forms.el (read-file-filter): Move declaration.
8436 (forms--make-format, forms--make-parser, forms-insert-record):
8437 Quote function with #'.
8438 (forms--update): Use string-match-p. Quote function with #'.
8439
8440 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8441 (help-make-xrefs): Use looking-at-p.
8442 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8443
8444 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8445 (ibuffer-confirm-operation-on): Use string-match-p.
8446
8447 * msb.el (msb-item-handler, msb-dired-item-handler):
8448 Mark unused arguments.
8449
8450 * ses.el (ses-decode-cell-symbol)
8451 (ses-kill-override): Remove unused local variable.
8452 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8453 (ses-load): Use ignore-errors, looking-at-p.
8454 (ses-jump-safe): Use ignore-errors.
8455 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8456
8457 * tabify.el (untabify, tabify): Mark unused arguments.
8458
8459 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8460 Mark unused argument.
8461 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8462 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8463
8464 * emacs-lisp/timer.el (timer--time): Define setter with
8465 gv-define-setter to avoid deprecation warning.
8466
8467 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8468 (*record-cmpl-statistics-p*): Remove (was commented out).
8469 (cmpl-statistics-block): Remove (body was commented out).
8470 All callers changed.
8471 (add-completions-from-buffer, load-completions-from-file):
8472 Remove unused variables.
8473
8474 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * filecache.el (file-cache-delete-file-list):
8477 Print message only when told so.
8478 (file-cache-files-matching): Use #' in mapconcat argument.
8479
8480 * ffap.el (ffap-url-at-point): Fix reference to variable
8481 thing-at-point-default-mail-uri-scheme.
8482
8483 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * subr.el (define-error): New function.
8486 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8487 error-file-not-found and define with define-error.
8488 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8489 and define with define-error.
8490 * userlock.el (file-locked, file-supersession):
8491 * simple.el (mark-inactive):
8492 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8493 * progmodes/ada-mode.el (ada-mode-errors):
8494 * play/life.el (life-extinct):
8495 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8496 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8497 * nxml/rng-util.el (rng-error):
8498 * nxml/rng-uri.el (rng-uri-error):
8499 * nxml/rng-match.el (rng-compile-error):
8500 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8501 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8502 * nxml/nxml-rap.el (nxml-scan-error):
8503 * nxml/nxml-outln.el (nxml-outline-error):
8504 * net/soap-client.el (soap-error):
8505 * net/gnutls.el (gnutls-error):
8506 * net/ange-ftp.el (ftp-error):
8507 * mpc.el (mpc-proc-error):
8508 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8509 (json-number-format, json-string-escape, json-string-format)
8510 (json-key-format, json-object-format):
8511 * jka-compr.el (compression-error):
8512 * international/quail.el (quail-error):
8513 * international/kkc.el (kkc-error):
8514 * emacs-lisp/ert.el (ert-test-failed):
8515 * calc/calc.el (calc-error, inexact-result, math-overflow)
8516 (math-underflow):
8517 * bookmark.el (bookmark-error-no-filename):
8518 * epg.el (epg-error): Define with define-error.
8519
8520 * time.el (display-time-event-handler)
8521 (display-time-next-load-average): Don't call sit-for since it seems
8522 unnecessary (bug#15045).
8523
8524 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8525 Use #' instead of ' to quote functions.
8526 (checkdoc-output-mode): Use setq-local.
8527 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8528 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8529 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8530 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8531 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8532 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8533 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8534 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8535
8536 * ido.el (ido-completion-help): Fix up compiler warning.
8537
8538 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8539
8540 * frameset.el (frameset-p): Add autoload cookie.
8541 (frameset--jump-to-register): New function, based on code moved from
8542 register.el.
8543 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8544
8545 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8546 (frameset-restore, frameset-save, frameset-session-filter-alist):
8547 Remove declarations.
8548 (register-alist): Doc fix.
8549 (frameset-to-register): Move to frameset.el.
8550 (jump-to-register, describe-register-1): Remove frameset-specific code.
8551
8552 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8553
8554 * allout-widgets.el (allout-widgets-pre-command-business)
8555 (allout-widgets-post-command-business)
8556 (allout-widgets-after-change-handler)
8557 (allout-decorate-item-and-context, allout-set-boundary-marker)
8558 (allout-body-modification-handler)
8559 (allout-graphics-modification-handler): Mark ignored arguments.
8560 (allout-widgets-post-command-business)
8561 (allout-widgets-exposure-change-processor)
8562 (allout-widgets-exposure-undo-processor)
8563 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8564 (allout-parse-item-at-point, allout-decorate-item-guides)
8565 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8566 * allout.el (epa-passphrase-callback-function): Declare.
8567 (allout-overlay-insert-in-front-handler)
8568 (allout-overlay-interior-modification-handler)
8569 (allout-isearch-end-handler, allout-chart-siblings)
8570 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8571 (allout-yank-processing, allout-process-exposed)
8572 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8573 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8574 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8575 (lisp-indent-defform): Mark ignored arguments.
8576 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8577 (calculate-lisp-indent): Remove unused variables.
8578 * international/characters.el (indian-2-column, arabic-2-column)
8579 (tibetan): Mark ignored arguments.
8580 (use-cjk-char-width-table): Mark ignored arguments.
8581 Remove unused variables.
8582 * international/fontset.el (build-default-fontset-data)
8583 (x-compose-font-name, create-fontset-from-fontset-spec):
8584 Mark ignored arguments.
8585 (fontset-plain-name): Remove unused variables.
8586 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8587 (keyboard-coding-system): Mark ignored arguments.
8588 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8589 * help.el (resize-temp-buffer-window):
8590 * window.el (display-buffer-in-major-side-window)
8591 (display-buffer-in-side-window, display-buffer-in-previous-window):
8592 Remove unused variables.
8593 * isearch.el (isearch-forward-symbol):
8594 * version.el (emacs-bzr-version-bzr):
8595 * international/mule-cmds.el (current-language-environment):
8596 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8597 (x-handle-display):
8598 * term/pc-win.el (x-list-fonts, x-display-planes)
8599 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8600 (x-server-version, x-display-screens, x-display-mm-height)
8601 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8602 (x-selection-owner-p, x-own-selection-internal)
8603 (x-disown-selection-internal, x-get-selection-internal)
8604 (msdos-initialize-window-system):
8605 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8606 * term/x-win.el (x-handle-no-bitmap-icon):
8607 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8608 (vc-default-find-file-hook, vc-default-extra-menu):
8609 Mark ignored arguments.
8610
8611 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8612
8613 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8614 break-condition in the context of the debugged code (bug#12685).
8615
8616 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8617
8618 * comint.el:
8619 Do not use an overlay to highlight the last prompt. (Bug#14744)
8620 (comint-mode): Make comint-last-prompt buffer local.
8621 (comint-last-prompt): New variable.
8622 (comint-last-prompt-overlay): Remove. Superseded by
8623 comint-last-prompt.
8624 (comint-snapshot-last-prompt, comint-output-filter):
8625 Use comint-last-prompt.
8626
8627 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8628
8629 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8630 (frameset-save): Check validity of the resulting frameset.
8631
8632 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8633
8634 * ido.el (ido-record-command): Add doc string.
8635
8636 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8637
8638 * frameset.el (frameset): Do not disable creation of the default
8639 frameset-p predicate. Doc fix.
8640 (frameset-valid-p): New function, copied from the old predicate-p.
8641 Add additional checks.
8642 (frameset-restore): Check with frameset-valid-p.
8643 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8644 (frameset-name, frameset-description, frameset-properties)
8645 (frameset-states): Add docstring.
8646 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8647 (frameset-filter-alist): Doc fixes.
8648
8649 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8650
8651 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8652
8653 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8654
8655 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8656 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8657 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8658 (byte-compile-normal-call): Remove obsolescence check.
8659
8660 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8661
8662 * frameset.el (frameset-restore): Doc fix.
8663
8664 * register.el (frameset-frame-id, frameset-frame-with-id)
8665 (frameset-p, frameset-restore, frameset-save): Declare.
8666 (register-alist): Document framesets.
8667 (frameset-session-filter-alist): Declare.
8668 (frameset-to-register): New function.
8669 (jump-to-register): Implement jumping to framesets. Doc fix.
8670 (describe-register-1): Describe framesets.
8671
8672 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8673
8674 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8675
8676 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8677 Use lexical-binding.
8678
8679 * frameset.el (frameset): Use type vector, not list (incompatible
8680 change). Do not declare a new constructor, use the default one.
8681 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8682 `name' and `description', respectively, and add read-only slot
8683 `timestamp'. Doc fixes.
8684 (frameset-copy, frameset-persistent-filter-alist)
8685 (frameset-filter-alist, frameset-switch-to-gui-p)
8686 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8687 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8688 (frameset-filter-iconified, frameset-keep-original-display-p):
8689 Doc fixes.
8690 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8691 Rename from frameset-filter-(save|restore)-param. All callers changed.
8692 Doc fix.
8693 (frameset-p): Adapt to change to vector and be more thorough.
8694 Change arg name to OBJECT. Doc fix.
8695 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8696 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8697 All callers changed.
8698 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8699 All callers changed.
8700 (frameset--record-minibuffer-relationships): Rename from
8701 frameset--process-minibuffer-frames. All callers changed.
8702 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8703 Use new default constructor (again). Doc fix.
8704 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8705 All callers changed.
8706 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8707 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8708 Doc fix.
8709 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8710 PARAMETERS and WINDOW-STATE, respectively.
8711 (frameset-restore): Add new keyword argument PREDICATE.
8712 Reset frameset--target-display to nil. Doc fix.
8713
8714 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8715
8716 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8717 (bat-mode): Use it.
8718 (bat-mode-syntax-table): Mark \n as end-of-comment.
8719 (bat-font-lock-keywords): Remove comment rule.
8720
8721 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8722 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8723
8724 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8725 (byte-compile-callargs-warn): Use `push'.
8726 (byte-compile-arglist-warn): Ignore higher-order "calls".
8727 (byte-compile-file-form-autoload): Use `pcase'.
8728 (byte-compile-function-form): If quoting a symbol, check that it exists.
8729
8730 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8731
8732 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8733 and add a few popular commands found in batch files.
8734 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8735 (dos-mode): Doc fixes.
8736
8737 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8738
8739 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8740 (dos-mode): Use setq-local. Add space after "rem".
8741 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8742 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8743
8744 2013-08-07 Arni Magnusson <arnima@hafro.is>
8745
8746 * progmodes/dos.el: New file.
8747 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8748 dos-mode.
8749
8750 2013-08-06 Glenn Morris <rgm@gnu.org>
8751
8752 * calendar/calendar.el: Add new faces, and day-header-array.
8753 (calendar-weekday-header, calendar-weekend-header)
8754 (calendar-month-header): New faces.
8755 (calendar-day-header-construct): New function.
8756 (calendar-day-header-width): Also :set calendar-day-header-array.
8757 (calendar-american-month-header, calendar-european-month-header)
8758 (calendar-iso-month-header): Use calendar- faces.
8759 (calendar-generate-month):
8760 Use calendar-day-header-array for day headers; apply faces to them.
8761 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8762 (calendar-abbrev-construct): Add optional maxlen argument.
8763 (calendar-day-name-array): Doc fix.
8764 (calendar-day-name-array, calendar-abbrev-length)
8765 (calendar-day-abbrev-array):
8766 Also :set calendar-day-header-array, and maybe redraw.
8767 (calendar-day-header-array): New option. (Bug#15007)
8768 (calendar-font-lock-keywords): Set to nil and make obsolete.
8769 (calendar-day-name): Add option to use header array.
8770
8771 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8772
8773 * net/shr.el (shr-render-td): Remove debugging.
8774 (shr-render-td): Make width computation consistent by defaulting
8775 all zero-width columns to 10 characters. This may not be optimal,
8776 but it's at least consistent.
8777 (shr-make-table-1): Redo last change to fix the real problem in
8778 colspan handling.
8779
8780 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8781
8782 * files.el (cache-long-line-scans):
8783 Make obsolete alias to `cache-long-scans'.
8784
8785 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8786
8787 * frameset.el (frameset, frameset-filter-alist)
8788 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8789 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8790 (frameset-compute-pos): Rename from frameset--compute-pos,
8791 and add docstring.
8792 (frameset-move-onscreen): Use frameset-compute-pos.
8793 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8794
8795 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8796 Fix typos in docstrings.
8797
8798 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8799
8800 * frame.el (get-other-frame): Tiny cleanup.
8801
8802 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8803
8804 * vc/vc.el (vc-default-ignore-completion-table):
8805 Silence byte-compiler warning.
8806
8807 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8808 slot, which can indeed be nil.
8809 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8810 Move entry for `left' from persistent to live filter alist.
8811 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8812 Doc fixes.
8813 (frameset-filter-params): When restoring a frame, copy items added to
8814 `filtered', to avoid unwittingly modifying the original parameters.
8815 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8816 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8817
8818 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8819 to use looking-at-p instead of looking-at. (Bug#15028)
8820
8821 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 Revert introduction of isearch-filter-predicates (bug#14714).
8824 Rely on add-function instead.
8825 * isearch.el (isearch-filter-predicates): Rename it back to
8826 isearch-filter-predicate.
8827 (isearch-message-prefix): Use advice-function-mapc and advice
8828 properties to get the isearch-message-prefix.
8829 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8830 instead of run-hook-with-args-until-failure.
8831 (isearch-filter-visible): Not obsolete any more.
8832 * loadup.el: Preload nadvice.
8833 * replace.el (perform-replace): Revert to funcall
8834 instead of run-hook-with-args-until-failure.
8835 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8836 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8837 dired-isearch-filenames-toggle; make it into a proper minor mode.
8838 Use add/remove-function.
8839 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8840 Call the minor-mode rather than add/remove-hook.
8841 (dired-isearch-filter-filenames):
8842 Remove isearch-message-prefix property.
8843 * info.el (Info--search-loop): New function, extracted from Info-search.
8844 Funcall isearch-filter-predicate instead of
8845 run-hook-with-args-until-failure isearch-filter-predicates.
8846 (Info-search): Use it.
8847 (Info-mode): Use isearch-filter-predicate instead of
8848 isearch-filter-predicates.
8849
8850 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8851
8852 Do not call to `selected-window' where it is assumed by default.
8853 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8854 `window-hscroll', `window-width', `window-height', `window-buffer',
8855 `window-frame', `window-start', `window-point', `next-window'
8856 and `window-display-table'.
8857 * abbrev.el (abbrev--default-expand):
8858 * bs.el (bs--show-with-configuration):
8859 * buff-menu.el (Buffer-menu-mouse-select):
8860 * calc/calc.el (calc):
8861 * calendar/calendar.el (calendar-generate-window):
8862 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8863 (diary-make-entry):
8864 * comint.el (send-invisible, comint-dynamic-complete-filename)
8865 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8866 * completion.el (complete):
8867 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8868 * disp-table.el (describe-current-display-table):
8869 * doc-view.el (doc-view-insert-image):
8870 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8871 * ehelp.el (with-electric-help):
8872 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8873 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8874 * emacs-lisp/helper.el (Helper-help-scroller):
8875 * emulation/cua-base.el (cua--post-command-handler-1):
8876 * eshell/esh-mode.el (eshell-output-filter):
8877 * ffap.el (ffap-gnus-wrapper):
8878 * help-macro.el (make-help-screen):
8879 * hilit-chg.el (highlight-compare-buffers):
8880 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8881 * hl-line.el (global-hl-line-highlight):
8882 * icomplete.el (icomplete-simple-completing-p):
8883 * isearch.el (isearch-done):
8884 * jit-lock.el (jit-lock-stealth-fontify):
8885 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8886 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8887 * mpc.el (mpc-tagbrowser, mpc):
8888 * net/rcirc.el (rcirc-any-buffer):
8889 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8890 * play/landmark.el (landmark-max-width, landmark-max-height):
8891 * play/zone.el (zone):
8892 * progmodes/compile.el (compilation-goto-locus):
8893 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8894 * progmodes/etags.el (find-tag-other-window):
8895 * progmodes/fortran.el (fortran-column-ruler):
8896 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8897 * progmodes/verilog-mode.el (verilog-point-text):
8898 * reposition.el (reposition-window):
8899 * rot13.el (toggle-rot13-mode):
8900 * server.el (server-switch-buffer):
8901 * shell.el (shell-dynamic-complete-command)
8902 (shell-dynamic-complete-environment-variable):
8903 * simple.el (insert-buffer, set-selective-display)
8904 (delete-completion-window):
8905 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8906 (speedbar-recenter):
8907 * startup.el (fancy-splash-head):
8908 * textmodes/ispell.el (ispell-command-loop):
8909 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8910 * tutorial.el (help-with-tutorial):
8911 * vc/add-log.el (add-change-log-entry):
8912 * vc/compare-w.el (compare-windows):
8913 * vc/ediff-help.el (ediff-indent-help-message):
8914 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8915 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8916 (ediff-setup-control-frame):
8917 * vc/emerge.el (emerge-position-region):
8918 * vc/pcvs-util.el (cvs-bury-buffer):
8919 * window.el (walk-windows, mouse-autoselect-window-select):
8920 * winner.el (winner-set-conf, winner-undo): Related users changed.
8921
8922 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8923
8924 * frameset.el (frameset--set-id): Doc fix.
8925 (frameset-frame-id, frameset-frame-id-equal-p)
8926 (frameset-locate-frame-id): New functions.
8927 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8928 (frameset-restore): Use them.
8929
8930 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8931
8932 Do not call to `selected-frame' where it is assumed by default.
8933 Affected functions are `raise-frame', `redraw-frame',
8934 `frame-first-window', `frame-terminal' and `delete-frame'.
8935 * calendar/appt.el (appt-disp-window):
8936 * epg.el (epg-wait-for-completion):
8937 * follow.el (follow-delete-other-windows-and-split)
8938 (follow-avoid-tail-recenter):
8939 * international/mule.el (set-terminal-coding-system):
8940 * mail/rmail.el (rmail-mail-return):
8941 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8942 * progmodes/f90.el (f90-add-imenu-menu):
8943 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8944 * server.el (server-switch-buffer):
8945 * simple.el (delete-completion-window):
8946 * talk.el (talk):
8947 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8948 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8949 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8950 * vc/ediff.el (ediff-documentation): Related users changed.
8951 * frame.el (selected-terminal): Remove the leftover.
8952
8953 2013-08-05 Glenn Morris <rgm@gnu.org>
8954
8955 * calendar/calendar.el (calendar-generate-month):
8956 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8957 (calendar-generate-month, calendar-font-lock-keywords):
8958 Fix for calendar-day-header-width > length of any day name.
8959
8960 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8961
8962 * desktop.el (desktop-clear): Use new name of sort predicate.
8963
8964 * frameset.el (frameset): Add docstring. Move :version property to its
8965 own `version' slot.
8966 (frameset-copy): Rename from copy-frameset.
8967 (frameset-p): Check more thoroughly.
8968 (frameset-prop): Do not check for :version, which is no longer a prop.
8969 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8970 Use new :never value instead of t.
8971 (frameset-filter-alist): Expand and clarify docstring.
8972 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8973 (frameset-filter-minibuffer, frameset-filter-save-param)
8974 (frameset-filter-restore-param, frameset-filter-iconified):
8975 Add pointer to docstring of frameset-filter-alist.
8976 (frameset-filter-params): Rename filter values to be more meaningful:
8977 :never instead of t, and reverse the meanings of :save and :restore.
8978 (frameset--process-minibuffer-frames): Clarify error message.
8979 (frameset-save): Avoid unnecessary and confusing call to framep.
8980 Use new BOA constructor for framesets.
8981 (frameset--reuse-list): Doc fix.
8982 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8983 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8984 (frameset-minibufferless-first-p): Doc fix.
8985 Rename from frameset-sort-frames-for-deletion.
8986 (frameset-restore): Doc fixes. Use new function names.
8987 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8988
8989 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8990
8991 * desktop.el (desktop-restore-forces-onscreen)
8992 (desktop-restore-reuses-frames): Document :keyword constant values.
8993 (desktop-filter-parameters-alist): Remove, now identical to
8994 frameset-filter-alist.
8995 (desktop--filter-tty*): Remove, moved to frameset.el.
8996 (desktop-save-frameset, desktop-restore-frameset):
8997 Do not pass :filters argument.
8998
8999 * frameset.el (frameset-live-filter-alist)
9000 (frameset-persistent-filter-alist): New variables.
9001 (frameset-filter-alist): Use them. Add autoload cookie.
9002 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9003 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9004 `frameset--id' (it's supposed to be internal to frameset.el).
9005 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9006 (frameset--initial-params): New function.
9007 (frameset--get-frame): Use it. Doc fix.
9008 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9009 Accept :all, not 'all.
9010 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9011 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9012 with fbound symbols. Fix frame id matching, and remove matching ids if
9013 the frame being restored is deleted. Obey :delete.
9014
9015 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * subr.el (macrop): New function.
9018 (text-clone--maintaining): New var.
9019 (text-clone--maintain): Rename from text-clone-maintain. Use it
9020 instead of inhibit-modification-hooks.
9021
9022 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9023 a proxy, so as handle autoloads and redefinitions of the target.
9024 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9025
9026 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9027 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9028 (pcase--mutually-exclusive-p): New function.
9029 (pcase--split-consp): Use it.
9030 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9031 mutually exclusive with the current predicate.
9032
9033 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9034 (edebug-macrop): Remove. Use `macrop' instead.
9035 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9036 (ad-macro-p):
9037 * eshell/esh-cmd.el (eshell-macrop):
9038 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9039
9040 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9043 (advice-mapc): New function, using it.
9044 (advice-function-member-p): New function.
9045 (advice--normalize): Store the cdr in advice--saved-rewrite since
9046 that's the part that will be changed.
9047 (advice--symbol-function): New function.
9048 (advice-remove): Handle removal before the function is defined.
9049 Adjust to new advice--saved-rewrite.
9050 (advice-member-p): Use advice-function-member-p and
9051 advice--symbol-function.
9052
9053 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9054
9055 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9056 (frameset-filter-minibuffer): Doc fix.
9057 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9058 (frameset--set-id, frameset--process-minibuffer-frames)
9059 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9060 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9061
9062 * desktop.el (desktop-clear): Only delete frames when called
9063 interactively and desktop-restore-frames is non-nil. Doc fix.
9064 (desktop-read): Set desktop-saved-frameset to nil.
9065
9066 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9067
9068 * vc/vc.el (vc-ignore): Rewrite.
9069 (vc-default-ignore-completion-table, vc--read-lines)
9070 (vc--add-line, vc--remove-regexp): New functions.
9071
9072 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9073 (vc-svn-ignore-completion-table): New function.
9074
9075 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9076 (vc-hg-ignore-completion-table)
9077 (vc-hg-find-ignore-file): New functions.
9078
9079 * vc/vc-git.el (vc-git-ignore): Rewrite.
9080 (vc-git-ignore-completion-table)
9081 (vc-git-find-ignore-file): New functions.
9082
9083 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9084
9085 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9086 (vc-bzr-ignore-completion-table)
9087 (vc-bzr-find-ignore-file): New functions.
9088
9089 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9090
9091 * frameset.el (frameset-prop): New function and setter.
9092 (frameset-save): Do not modify frame list passed by the caller.
9093
9094 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9097
9098 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9099
9100 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9101 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9102
9103 * custom.el (custom-initialize-default, custom-initialize-set)
9104 (custom-initialize-reset, custom-initialize-changed): Affect the
9105 toplevel-default-value (bug#6275, bug#14586).
9106 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9107 for bug#6275.
9108
9109 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9110
9111 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9112 Add cl-def* expressions.
9113
9114 * frameset.el (frameset-filter-params): Fix order of arguments.
9115
9116 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9117
9118 Move code related to saving frames to frameset.el.
9119 * desktop.el: Require frameset.
9120 (desktop-restore-frames): Doc fix.
9121 (desktop-restore-reuses-frames): Rename from
9122 desktop-restoring-reuses-frames.
9123 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9124 (desktop-clear): Clear frames too.
9125 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9126 (desktop--filter-tty*, desktop-save, desktop-read):
9127 Use frameset functions.
9128 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9129 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9130 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9131 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9132 (desktop--process-minibuffer-frames, desktop-save-frames)
9133 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9134 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9135 (desktop--sort-states, desktop-restoring-frames-p)
9136 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9137 (desktop-restoring-frameset-p, desktop-restore-frameset)
9138 (desktop--check-dont-save, desktop-save-frameset): New functions.
9139 (desktop--app-id): New constant.
9140 (desktop-first-buffer, desktop-buffer-ok-count)
9141 (desktop-buffer-fail-count): Move before first use.
9142 * frameset.el: New file.
9143
9144 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * files.el: Use lexical-binding.
9147 (dir-locals-read-from-file): Remove unused `err' variable.
9148 (hack-dir-local-variables--warned-coding): New var.
9149 (hack-dir-local-variables): Use it to avoid repeated warnings.
9150 (make-backup-file-name--default-function): New function.
9151 (make-backup-file-name-function): Use it as default.
9152 (buffer-stale--default-function): New function.
9153 (buffer-stale-function): Use it as default.
9154 (revert-buffer-insert-file-contents--default-function): New function.
9155 (revert-buffer-insert-file-contents-function): Use it as default.
9156 (insert-directory): Avoid add-to-list.
9157
9158 * autorevert.el (auto-revert-handler): Simplify.
9159 Use buffer-stale--default-function.
9160
9161 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9162
9163 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9164
9165 * whitespace.el (whitespace-ensure-local-variables): New function.
9166 (whitespace-cleanup-region): Call it.
9167 (whitespace-turn-on): Call it.
9168
9169 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9170
9171 Complete file name handlers.
9172
9173 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9174 (tramp-handle-verify-visited-file-modtime)
9175 (tramp-handle-file-notify-rm-watch): New functions.
9176 (tramp-call-process): Do not bind `default-directory'.
9177
9178 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9179 Order alphabetically.
9180 <access-file, add-name-to-file, dired-call-process>:
9181 <dired-compress-file, file-acl, file-notify-rm-watch>:
9182 <file-ownership-preserved-p, file-selinux-context>:
9183 <make-directory-internal, make-symbolic-link, set-file-acl>:
9184 <set-file-selinux-context, set-visited-file-modtime>:
9185 <verify-visited-file-modtime>: Add handler.
9186 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9187
9188 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9189 <file-notify-add-watch, file-notify-rm-watch>:
9190 <set-file-times, set-visited-file-modtime>:
9191 <verify-visited-file-modtime>: Add handler.
9192 (with-tramp-gvfs-error-message)
9193 (tramp-gvfs-handle-set-visited-file-modtime)
9194 (tramp-gvfs-fuse-file-name): Remove.
9195 (tramp-gvfs-handle-file-notify-add-watch)
9196 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9197 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9198
9199 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9200 Order alphabetically.
9201 <file-notify-rm-watch>: Use default Tramp handler.
9202 <executable-find>: Remove private handler.
9203 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9204 `default-directory'.
9205 (tramp-sh-handle-executable-find)
9206 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9207 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9208 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9209 Do not use `format' in `tramp-message'.
9210
9211 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9212 <file-notify-rm-watch, set-visited-file-modtime>:
9213 <verify-visited-file-modtime>: Add handler.
9214 (tramp-smb-call-winexe): Do not bind `default-directory'.
9215
9216 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9217
9218 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9219
9220 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9221
9222 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9223 use it.
9224 (log-view-diff-changeset): Same.
9225 (log-view-diff-common): Call backend command `previous-revision'
9226 to find out the previous revision, in both cases. Swap the
9227 variables `to' and `fr', so that `fr' usually refers to the
9228 earlier revision (Bug#14989).
9229
9230 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9231
9232 * ibuf-ext.el (ibuffer-filter-by-filename):
9233 Make it work with dired buffers too.
9234
9235 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9236
9237 * emacs-lisp/re-builder.el (reb-color-display-p):
9238 * files.el (save-buffers-kill-terminal):
9239 * net/browse-url.el (browse-url):
9240 * server.el (server-save-buffers-kill-terminal):
9241 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9242 Prefer nil to selected-frame for the first arg of frame-parameter.
9243
9244 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9245
9246 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9247
9248 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9249
9250 * minibuffer.el (completion--twq-all): Try and preserve each
9251 completion's case choice (bug#14907).
9252
9253 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9254
9255 * net/network-stream.el (open-network-stream): Mention the new
9256 :nogreeting parameter.
9257 (network-stream-open-starttls): Use the :nogreeting parameter
9258 (bug#14938).
9259
9260 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9261
9262 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9263 more natural than popping.
9264
9265 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9266 (shr-urlify): Highlight under mouse.
9267
9268 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9269
9270 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9271
9272 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9273
9274 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9275 buffer for output.
9276
9277 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9278 point-min==1. Fix search string. Fix parentheses missing.
9279
9280 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9281 assume point-min==1. Fix search string. Fix parentheses missing.
9282
9283 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9284
9285 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9286 buffer for output.
9287
9288 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9289
9290 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9291 initial frame is minibuffer-less. (Bug#14841)
9292
9293 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9294
9295 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9296 option.
9297
9298 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9299 (tramp-maybe-open-connection): Use it.
9300
9301 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9302
9303 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9304 minimal set of parameters passed when creating a frame, because
9305 the minibuffer status of a frame cannot be changed later.
9306
9307 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9308
9309 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9310 replace-regexp-in-string and inadvertent omissions in previous change.
9311 (todo-filter-items): Ensure only file names are comma-separated in
9312 name of filtered items buffer.
9313
9314 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * desktop.el: Optionally force offscreen frames back onscreen.
9317 (desktop-restoring-reuses-frames): New option.
9318 (desktop--compute-pos, desktop--move-onscreen): New functions.
9319 (desktop--make-frame): Use desktop--move-onscreen.
9320
9321 2013-07-27 Alan Mackenzie <acm@muc.de>
9322
9323 Fontify a Java generic method as a function.
9324 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9325 value to t.
9326
9327 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9328
9329 * calendar/todo-mode.el: Add command to rename todo files.
9330 (todo-rename-file): New command.
9331 (todo-key-bindings-t): Add key binding for it. Change the
9332 bindings of todo-filter-regexp-items(-multifile) to use `x'
9333 instead of `r', since the latter is better suited to the new
9334 renaming command.
9335
9336 2013-07-27 Alan Mackenzie <acm@muc.de>
9337
9338 Make Java try-with-resources statement parse properly.
9339 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9340 (c-block-stmt-1-2-key): New language constants/variables.
9341 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9342 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9343 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9344 with c-block-stmt-1-2-key.
9345
9346 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9347
9348 * desktop.el (desktop--make-frame): Apply most frame parameters after
9349 creating the frame to force (partially or totally) offscreen frames to
9350 be restored as such.
9351
9352 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9353
9354 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9355 (Bug#14948)
9356
9357 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9360 `base' arg of backtrace-frame.
9361
9362 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9363
9364 * simple.el (list-processes): Doc fix.
9365
9366 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9367
9368 * desktop.el (desktop--select-frame):
9369 Try harder to reuse existing frames.
9370
9371 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9374 (edebug-eval): Use backtrace-eval.
9375 (edebug--display, edebug--recursive-edit): Don't let-bind the
9376 edebug-outer-* vars that keep track of variables we locally let-bind.
9377 (edebug-outside-excursion): Don't restore outside values of locally
9378 let-bound vars.
9379 (edebug--display): Use user-error.
9380 (cl-lexical-debug, cl-debug-env): Remove.
9381
9382 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9383
9384 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9385 are restored to be sure that they are visible before deleting any
9386 remaining ones.
9387
9388 2013-07-26 Matthias Meulien <orontee@gmail.com>
9389
9390 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9391 vc-print-root-log. (Bug#14948)
9392
9393 2013-07-26 Richard Stallman <rms@gnu.org>
9394
9395 Add aliases for encrypting mail.
9396 * epa.el (epa-mail-aliases): New option.
9397 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9398 Bind inhibit-read-only so read-only text doesn't ruin everything.
9399 (epa-mail-default-recipients): New subroutine broken out.
9400 Handle epa-mail-aliases.
9401
9402 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 Add support for lexical variables to the debugger's `e' command.
9405 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9406 vars, except for debugger-outer-match-data.
9407 (debugger-frame-number): Move check for "on a function call" from
9408 callers into it. Add `skip-base' argument.
9409 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9410 (debugger-env-macro): Only reset the state stored in non-variables,
9411 i.e. current-buffer and match-data.
9412 (debugger-eval-expression): Rewrite using backtrace-eval.
9413 * subr.el (internal--called-interactively-p--get-frame): Remove.
9414 (called-interactively-p):
9415 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9416 `base' arg of backtrace-frame instead.
9417
9418 2013-07-26 Glenn Morris <rgm@gnu.org>
9419
9420 * align.el (align-regexp): Doc fix. (Bug#14857)
9421 (align-region): Explicit error if subexpression missing/does not match.
9422
9423 * simple.el (global-visual-line-mode):
9424 Do not duplicate the mode lighter. (Bug#14858)
9425
9426 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9427
9428 * window.el (display-buffer): In display-buffer bind
9429 split-window-keep-point to t, bug#14829.
9430
9431 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9432
9433 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9434 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9435 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9436 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9437 Change accordingly.
9438 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9439 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9440
9441 2013-07-25 Glenn Morris <rgm@gnu.org>
9442
9443 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9444
9445 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9446
9447 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9448 parameter to modify-frame-parameters if the value has not changed;
9449 this is a workaround for bug#14949.
9450 (desktop--make-frame): On cl-delete-if call, check parameter name,
9451 not full parameter.
9452
9453 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9454
9455 * vc/vc.el (vc-ignore): New function.
9456
9457 * vc/vc-svn.el (vc-svn-ignore): New function.
9458
9459 * vc/vc-hg.el (vc-hg-ignore): New function.
9460
9461 * vc/vc-git.el (vc-git-ignore): New function.
9462
9463 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9464 (vc-dir-ignore): New function.
9465
9466 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9467 (cvs-append-to-ignore): Move here from pcvs.el.
9468
9469 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9470
9471 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9472
9473 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9474
9475 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9476 (desktop-restore-frames): Warn when deleting an existing frame failed.
9477
9478 2013-07-24 Glenn Morris <rgm@gnu.org>
9479
9480 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9481
9482 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9483
9484 * filenotify.el (file-notify-supported-p):
9485 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9486 Remove functions.
9487
9488 * autorevert.el (auto-revert-use-notify)
9489 (auto-revert-notify-add-watch):
9490 * net/tramp.el (tramp-file-name-for-operation):
9491 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9492 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9493 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9494 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9495 Remove `file-notify-supported-p' entry.
9496
9497 2013-07-24 Glenn Morris <rgm@gnu.org>
9498
9499 * printing.el: Replace all uses of deleted ps-windows-system,
9500 ps-lp-system, ps-flatten-list with lpr- versions.
9501
9502 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9505 checked with memq (bug#14935).
9506
9507 * files.el (revert-buffer-function): Use a non-nil default.
9508 (revert-buffer-preserve-modes): Declare var to
9509 provide access to the `preserve-modes' argument.
9510 (revert-buffer): Let-bind it.
9511 (revert-buffer--default): New function, extracted from revert-buffer.
9512
9513 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * lpr.el: Signal print errors more prominently.
9516 (print-region-function): Don't default to nil.
9517 (lpr-print-region): New function, extracted from print-region-1.
9518 Check lpr's return value and signal an error in case of problem.
9519 (print-region-1): Use it.
9520 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9521 versions instead.
9522 (ps-printer-name): Default to nil.
9523 (ps-printer-name-option): Default to lpr-printer-switch.
9524 (ps-print-region-function): Don't default to nil.
9525 (ps-postscript-code-directory): Simplify default.
9526 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9527 (ps-string-list, ps-eval-switch, ps-flatten-list)
9528 (ps-flatten-list-1): Remove.
9529 (ps-multibyte-buffer): Avoid setq.
9530 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9531 (print-region-function, ps-print-region-function): Don't set them here.
9532
9533 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9534
9535 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9536 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9537 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9538 (ido-decorations): Doc fix.
9539
9540 * ansi-color.el: Fix old URL.
9541
9542 2013-07-23 Michael R. Mauger <michael@mauger.com>
9543
9544 * progmodes/sql.el: Version 3.3
9545 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9546 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9547 (sql-interactive-remove-continuation-prompt): Rewrite, use
9548 functions above. Fix continuation prompt and complete output line
9549 handling.
9550 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9551 redirected output buffer.
9552 (sql-mode): Restore deleted code (Bug#13591).
9553
9554 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9555
9556 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9557
9558 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9559
9560 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9561
9562 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9563 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9564 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9565
9566 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9567
9568 * desktop.el (desktop-clear): Simplify; remove useless checks
9569 against invalid buffer names.
9570 (desktop-list*): Use cl-list*.
9571 (desktop-buffer-info, desktop-create-buffer): Simplify.
9572
9573 2013-07-23 Leo Liu <sdl.web@gmail.com>
9574
9575 * bookmark.el (bookmark-make-record): Restore NAME as a default
9576 value. (Bug#14933)
9577
9578 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9581 extracted from autoload--insert-text.
9582 (autoload--insert-text): Remove.
9583 (autoload--print-cookie-text): New function, extracted from
9584 autoload--insert-cookie-text.
9585 (autoload--insert-cookie-text): Remove.
9586 (autoload-generate-file-autoloads): Adjust calls accordingly.
9587
9588 * winner.el (winner-hook-installed-p): Remove.
9589 (winner-mode): Simplify accordingly.
9590
9591 * subr.el (add-to-list): Fix compiler-macro when `append' is
9592 not constant. Don't use `cl-member' for the base case.
9593
9594 * progmodes/subword.el: Fix boundary case (bug#13758).
9595 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9596 own group.
9597 (subword-backward-regexp): Make it a constant.
9598 (subword-forward-internal): Don't treat a trailing capital as the
9599 beginning of a word.
9600
9601 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9602
9603 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9604 global value of tabulated-list-revert-hook (bug#14930).
9605
9606 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9607
9608 * desktop.el: Require 'cl-lib.
9609 (desktop-before-saving-frames-functions): New hook.
9610 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9611 for frames being saved. Rename from desktop--save-minibuffer-frames.
9612 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9613 Do not save frames with non-nil `desktop-dont-save' parameter.
9614 Filter out deleted frames.
9615 (desktop--find-frame): Use cl-find-if.
9616 (desktop--select-frame): Use cl-(first|second|third) to access values
9617 of desktop-mini.
9618 (desktop--make-frame): Use cl-delete-if.
9619 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9620 (desktop-restore-frames): Use cl-(first|second|third) to access values
9621 of desktop-mini. Look for visible frame at the end, not while
9622 restoring frames.
9623
9624 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9625 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9626 Use string-match-p, looking-at-p (bug#14927).
9627
9628 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9629
9630 * desktop.el (desktop-saved-frame-states):
9631 Rename from desktop--saved-states; all users changed.
9632 (desktop-save-frames): Rename from desktop--save-frames.
9633 Do not save state to desktop file.
9634 (desktop-save): Save desktop-saved-frame-states to desktop file
9635 and reset to nil.
9636 (desktop-restoring-frames-p): New function.
9637 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9638 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9639 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9640
9641 * desktop.el: Correctly restore iconified frames.
9642 (desktop--filter-iconified-position): New function.
9643 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9644
9645 2013-07-20 Glenn Morris <rgm@gnu.org>
9646
9647 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9648 Let `message' do the formatting.
9649 (def-gdb-preempt-display-buffer): Add explicit format.
9650
9651 * image-dired.el (image-dired-track-original-file):
9652 Use with-current-buffer.
9653 (image-dired-track-thumbnail): Use with-current-buffer.
9654 Avoid changing point of wrong window.
9655
9656 * image-dired.el (image-dired-track-original-file):
9657 Avoid changing point of wrong window. (Bug#14909)
9658
9659 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9660
9661 * progmodes/gdb-mi.el (gdb-done-or-error):
9662 Guard against "%" in gdb output. (Bug#14127)
9663
9664 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9665
9666 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9667 (Bug#14826)
9668
9669 * international/mule.el (coding-system-iso-2022-flags): Fix last
9670 change.
9671
9672 2013-07-20 Kenichi Handa <handa@gnu.org>
9673
9674 * international/mule.el (coding-system-iso-2022-flags):
9675 Add `8-bit-level-4'. (Bug#8522)
9676
9677 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9678
9679 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9680 (bug#14815).
9681
9682 * net/eww.el (eww-process-text-input): Allow inputting when the
9683 point is at the start of the line, as the properties aren't
9684 front-sticky.
9685
9686 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9687 degenerate widths.
9688
9689 2013-07-19 Richard Stallman <rms@gnu.org>
9690
9691 * epa.el (epa-popup-info-window): Doc fix.
9692
9693 * subr.el (split-string): New arg TRIM.
9694
9695 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9696
9697 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9698 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9699
9700 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9701
9702 * filenotify.el (file-notify--library): Rename from
9703 `file-notify-support'. Do not autoload. Adapt all uses.
9704 (file-notify-supported-p): New defun.
9705
9706 * autorevert.el (auto-revert-use-notify):
9707 Use `file-notify-supported-p' instead of `file-notify-support'.
9708 Adapt docstring.
9709 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9710
9711 * net/tramp.el (tramp-file-name-for-operation):
9712 Add `file-notify-supported-p'.
9713
9714 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9715 New defun.
9716 (tramp-sh-file-name-handler-alist): Add it as handler for
9717 `file-notify-supported-p '.
9718
9719 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9720 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9721 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9722 Add `ignore' as handler for `file-notify-*' functions.
9723
9724 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9725
9726 * simple.el (line-move-partial, line-move): Don't start vscroll or
9727 scroll-up if the current line is not taller than the window.
9728 (Bug#14881)
9729
9730 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9731
9732 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9733 highlight question marks in the method names as strings.
9734 (ruby-block-beg-keywords): Inline.
9735 (ruby-font-lock-keyword-beg-re): Extract from
9736 `ruby-font-lock-keywords'.
9737
9738 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9739
9740 * frame.el (blink-cursor-blinks): New defcustom.
9741 (blink-cursor-blinks-done): New defvar.
9742 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9743 (blink-cursor-timer-function): Check if number of blinks has been
9744 done on X and NS.
9745 (blink-cursor-suspend, blink-cursor-check): New defuns.
9746
9747 2013-07-15 Glenn Morris <rgm@gnu.org>
9748
9749 * edmacro.el (edmacro-format-keys): Fix previous change.
9750
9751 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9752
9753 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9754 The hack didn't work outside English locales anyway.
9755
9756 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9757
9758 * simple.el (define-alternatives): Rename from alternatives-define,
9759 per RMS' suggestion.
9760
9761 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9762
9763 * desktop.el (desktop-restore-frames): Change default to t.
9764 (desktop-restore-in-current-display): Now offer more options.
9765 (desktop-restoring-reuses-frames): New customization option.
9766 (desktop--saved-states): Doc fix.
9767 (desktop-filter-parameters-alist): New variable, renamed and expanded
9768 from desktop--excluded-frame-parameters.
9769 (desktop--target-display): New variable.
9770 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9771 (desktop--filter-tty*, desktop--filter-*-color)
9772 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9773 (desktop--filter-save-desktop-parm)
9774 (desktop-restore-in-original-display-p): New functions.
9775 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9776 (desktop--save-minibuffer-frames): New function, inspired by a similar
9777 function from Martin Rudalics.
9778 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9779 (desktop--restore-in-this-display-p): Remove.
9780 (desktop--find-frame): Rename from desktop--find-frame-in-display
9781 and add predicate argument.
9782 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9783 (desktop--reuse-list): New variable.
9784 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9785 New functions.
9786 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9787
9788 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9789
9790 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9791
9792 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9793
9794 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9795 Highlight conversion methods on Kernel.
9796
9797 2013-07-13 Alan Mackenzie <acm@muc.de>
9798
9799 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9800 and comment it out. This out-commenting enables certain C++
9801 declarations to be parsed correctly.
9802
9803 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9804
9805 * international/mule.el (define-coding-system): Doc fix.
9806
9807 * simple.el (default-font-height): Don't call font-info if the
9808 frame's default font didn't change since the frame was created.
9809 (Bug#14838)
9810
9811 2013-07-13 Leo Liu <sdl.web@gmail.com>
9812
9813 * ido.el (ido-read-file-name): Guard against non-symbol value.
9814
9815 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9816
9817 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9818 in nested defuns.
9819
9820 2013-07-13 Leo Liu <sdl.web@gmail.com>
9821
9822 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9823 ido-set-matches call. (Bug#6852)
9824
9825 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9826
9827 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9828 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9829 Ruby 2.0.
9830 (ruby-font-lock-keywords): Distinguish calls to functions with
9831 module-like names from module references. Highlight character
9832 literals.
9833
9834 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9835
9836 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9837 (gdb-send): Handle continued commands. (Bug#14847)
9838
9839 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9840
9841 * desktop.el (desktop--v2s): Remove unused local variable.
9842 (desktop-save-buffer): Make defvar-local; adjust docstring.
9843 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9844 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9845
9846 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9847
9848 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9849
9850 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9851
9852 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9853 (Bug#14842)
9854
9855 2013-07-12 Glenn Morris <rgm@gnu.org>
9856
9857 * doc-view.el: Require cl-lib at runtime too.
9858 (doc-view-remove-if): Remove.
9859 (doc-view-search-next-match, doc-view-search-previous-match):
9860 Use cl-remove-if.
9861
9862 * edmacro.el: Require cl-lib at runtime too.
9863 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9864 (edmacro-mismatch, edmacro-subseq): Remove.
9865
9866 * shadowfile.el: Require cl-lib.
9867 (shadow-remove-if): Remove.
9868 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9869 Use cl-remove-if.
9870
9871 * wid-edit.el: Require cl-lib.
9872 (widget-choose): Use cl-remove-if.
9873 (widget-remove-if): Remove.
9874
9875 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9876 (ebrowse-delete-if-not): Remove.
9877 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9878 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9879 Use cl-delete-if-not.
9880
9881 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9882
9883 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9884 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9885
9886 2013-07-12 Leo Liu <sdl.web@gmail.com>
9887
9888 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9889
9890 2013-07-11 Glenn Morris <rgm@gnu.org>
9891
9892 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9893 (edebug-gensym-index, edebug-gensym):
9894 Remove reimplementation of cl-gensym.
9895 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9896
9897 * thumbs.el: Require cl-lib at run-time too.
9898 (thumbs-gensym-counter, thumbs-gensym):
9899 Remove reimplementation of cl-gensym.
9900 (thumbs-temp-file): Use cl-gensym.
9901
9902 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9903 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9904 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9905 (ert--union, ert--gensym-counter, ert--gensym-counter)
9906 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9907 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9908 (ert-make-test-unbound, ert--expand-should-1)
9909 (ert--expand-should, ert--should-error-handle-error)
9910 (should-error, ert--explain-equal-rec)
9911 (ert--plist-difference-explanation, ert-select-tests)
9912 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9913 Use cl-lib functions rather than reimplementations.
9914
9915 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9916
9917 * net/tramp.el (tramp-methods): Extend docstring.
9918 (tramp-connection-timeout): New defcustom.
9919 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9920 (with-tramp-progress-reporter): Simplify.
9921 (tramp-process-actions): Improve messages.
9922
9923 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9924 * net/tramp-sh.el (tramp-maybe-open-connection):
9925 Use `tramp-connection-timeout'.
9926 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9927 (Bug#14808)
9928
9929 2013-07-11 Leo Liu <sdl.web@gmail.com>
9930
9931 * ido.el (ido-read-file-name): Conform to the requirements of
9932 read-file-name. (Bug#11861)
9933 (ido-read-directory-name): Conform to the requirements of
9934 read-directory-name.
9935
9936 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9937
9938 * subr.el (delay-warning): New function.
9939
9940 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9941
9942 * simple.el (default-line-height): New function.
9943 (line-move-partial, line-move): Use it instead of computing the
9944 line height inline.
9945 (line-move-partial): Always compute ROWH. If the last line is
9946 partially-visible, but its text is completely visible, allow
9947 cursor to enter such a partially-visible line.
9948
9949 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9950
9951 Improve error messages. (Bug#14808)
9952
9953 * net/tramp.el (tramp-current-connection): New defvar, moved from
9954 tramp-sh.el.
9955 (tramp-message-show-progress-reporter-message): Remove, not
9956 needed anymore.
9957 (tramp-error-with-buffer): Show message in minibuffer.
9958 Discard input before waiting. Reset connection timestamp.
9959 (with-tramp-progress-reporter): Improve messages.
9960 (tramp-process-actions): Use progress reporter. Delete process in
9961 case of error. Improve messages.
9962
9963 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9964 Call `tramp-error-with-buffer' with vector and buffer.
9965 (tramp-current-connection): Remove.
9966 (tramp-maybe-open-connection): The car of
9967 `tramp-current-connection' are the first 3 slots of the vector.
9968
9969 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9970
9971 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9972 inside continued strings.
9973
9974 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9975
9976 Timestamp fixes for undo (Bug#14824).
9977 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9978
9979 2013-07-10 Leo Liu <sdl.web@gmail.com>
9980
9981 * files.el (require-final-newline): Allow safe local value.
9982 (Bug#14834)
9983
9984 2013-07-09 Leo Liu <sdl.web@gmail.com>
9985
9986 * ido.el (ido-read-directory-name): Handle fallback.
9987 (ido-read-file-name): Update DIR to ido-current-directory.
9988 (Bug#1516)
9989 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9990
9991 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9992
9993 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9994 "autoload". Remove "warn lower camel case" section, previously
9995 commented out. Highlight negation char. Do not highlight the
9996 target in singleton method definitions.
9997
9998 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9999
10000 * faces.el (tty-setup-hook): Declare the hook.
10001
10002 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10003 and detect when a guard/pred depends on local vars (bug#14773).
10004 (pcase--u1): Adjust caller.
10005
10006 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10007
10008 * simple.el (line-move-partial, line-move): Account for
10009 line-spacing.
10010 (line-move-partial): Avoid setting vscroll when the last
10011 partially-visible line in window is of default height.
10012
10013 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10014
10015 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10016 been used a while.
10017
10018 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10019
10020 * subr.el (read-quoted-char): Remove unused local variable `char'.
10021
10022 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10023
10024 * ediff.el (ediff-version): Version update.
10025 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10026 (ediff-merge-with-ancestor-command, ediff-directories-command)
10027 (ediff-directories3-command, ediff-merge-directories-command)
10028 (ediff-merge-directories-with-ancestor-command): New functions.
10029 All are command-line interfaces to ediff: to facilitate calling
10030 Emacs with the appropriate ediff functions invoked.
10031
10032 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
10033 (viper-save-kill-buffer): Check if buffer is modified.
10034
10035 * viper.el (viper-version): Version update.
10036 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10037
10038 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10041 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
10042 (viper-intercept-ESC-key): Simplify.
10043 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
10044 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
10045 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10046 (viper-setup-ESC-to-escape): New functions.
10047 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10048 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10049
10050 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10051
10052 * simple.el (default-font-height, window-screen-lines):
10053 New functions.
10054 (line-move, line-move-partial): Use them instead of
10055 frame-char-height and window-text-height. This makes scrolling
10056 text smoother when the buffer's default face uses a font that is
10057 different from the frame's default font.
10058
10059 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10060
10061 * files.el (write-file): Do not display confirm dialog for NS,
10062 it does its own dialog, which can't be canceled (Bug#14578).
10063
10064 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10065
10066 * simple.el (line-move-partial): Adjust the row returned by
10067 posn-at-point for the current window-vscroll. (Bug#14567)
10068
10069 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10070
10071 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10072 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10073 spaces.
10074
10075 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10076
10077 * window.el (window-state-put-stale-windows): New variable.
10078 (window--state-put-2): Save list of windows without matching buffer.
10079 (window-state-put): Remove "bufferless" windows if possible.
10080
10081 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10082
10083 * simple.el (alternatives-define): Remove leftover :group keyword.
10084 Tweak docstring.
10085
10086 2013-07-06 Leo Liu <sdl.web@gmail.com>
10087
10088 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10089 (ido-enable-virtual-buffers): New variable.
10090 (ido-buffer-internal, ido-toggle-virtual-buffers)
10091 (ido-make-buffer-list): Use it.
10092 (ido-exhibit): Support turning on and off virtual buffers
10093 automatically.
10094
10095 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10096
10097 * simple.el (alternatives-define): New macro.
10098
10099 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * subr.el (read-quoted-char): Use read-key.
10102 (sit-for): Let read-event decode tty input (bug#14782).
10103
10104 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10105
10106 * calendar/todo-mode.el: Add handling of file deletion, both by
10107 mode command and externally. Fix various related bugs.
10108 Clarify Commentary and improve some documentation strings and code.
10109 (todo-delete-file): New command.
10110 (todo-check-file): New function.
10111 (todo-show): Handle external deletion of the file we're trying to
10112 show (bug#14688). Replace called-interactively-p by an optional
10113 prefix argument to avoid problematic interaction with catch form
10114 when byte compiled (bug#14702).
10115 (todo-quit): Handle external deletion of the archive's todo file.
10116 Make sure the buffer that was visiting the archive file is still
10117 live before trying to bury it.
10118 (todo-category-completions): Handle external deletion of any
10119 category completion files.
10120 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10121 of todo files, in case of external deletion.
10122 (todo-add-file): Replace unnecessary setq by let-binding.
10123 (todo-find-archive): Check whether there are any archives.
10124 Replace unnecessary setq by let-binding.
10125 (todo-archive-done-item): Use find-file-noselect to get the
10126 archive buffer whether or not the archive already exists.
10127 Remove superfluous code. Use file size instead of buffer-file-name to
10128 check if the archive is new; if it is, update list of archives.
10129 (todo-default-todo-file): Allow nil to be a valid value for when
10130 there are no todo files.
10131 (todo-reevaluate-default-file-defcustom): Use corrected definition
10132 of todo-default-todo-file.
10133 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10134 (todo-delete-category, todo-show-categories-table)
10135 (todo-category-number): Clarify comment.
10136 (todo-filter-items): Clarify documentation string.
10137 (todo-show-current-file, todo-display-as-todo-file)
10138 (todo-reset-and-enable-done-separator): Tweak documentation string.
10139 (todo-done-separator): Make separator length window-width, since
10140 bug#2749 is now fixed.
10141
10142 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10143
10144 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10145 Support both "gvfs-monitor-dir" and "inotifywait".
10146 (tramp-sh-file-inotifywait-process-filter): Rename from
10147 `tramp-sh-file-notify-process-filter'.
10148 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10149 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10150
10151 2013-07-05 Leo Liu <sdl.web@gmail.com>
10152
10153 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10154
10155 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10156
10157 * frame.el (display-pixel-height, display-pixel-width)
10158 (display-mm-height, display-mm-width): Mention behavior on
10159 multi-monitor setups in docstrings.
10160 (w32-display-monitor-attributes-list): Declare function.
10161 (display-monitor-attributes-list): Use it.
10162
10163 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10164
10165 * filenotify.el: New package.
10166
10167 * autorevert.el (top): Require filenotify.el.
10168 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10169 instead.
10170 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10171 (auto-revert-notify-handler): Use `file-notify-*' functions.
10172
10173 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10174
10175 * net/tramp.el (tramp-file-name-for-operation):
10176 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10177
10178 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10179 for `file-notify-add-watch' and `file-notify-rm-watch'.
10180 (tramp-process-sentinel): Improve trace.
10181 (tramp-sh-handle-file-notify-add-watch)
10182 (tramp-sh-file-notify-process-filter)
10183 (tramp-sh-handle-file-notify-rm-watch)
10184 (tramp-get-remote-inotifywait): New defuns.
10185
10186 2013-07-03 Juri Linkov <juri@jurta.org>
10187
10188 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10189 call of `occur-read-primary-args' to interactive spec.
10190
10191 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10192 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10193
10194 2013-07-03 Matthias Meulien <orontee@gmail.com>
10195
10196 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10197 `Buffer-menu-multi-occur'. Add it to the menu.
10198 (Buffer-menu-mode): Document it in docstring.
10199 (Buffer-menu-multi-occur): New command. (Bug#14673)
10200
10201 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10202
10203 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10204 keywords and built-ins.
10205
10206 2013-07-03 Glenn Morris <rgm@gnu.org>
10207
10208 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10209
10210 Make info-xref checks case-sensitive by default
10211 * info.el (Info-find-node, Info-find-in-tag-table)
10212 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10213 Add option for exact case matching of nodes.
10214 * info-xref.el (info-xref): New custom group.
10215 (info-xref-case-fold): New option.
10216 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10217
10218 2013-07-03 Leo Liu <sdl.web@gmail.com>
10219
10220 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10221
10222 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10223
10224 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10225 middle of block statement initially, lower the depth. Remove
10226 FIXME comment, not longer valid. Remove middle of block statement
10227 detection, no need to do that anymore since we've been using
10228 `ruby-parse-region' here.
10229
10230 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10231
10232 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10233
10234 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10235
10236 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10237
10238 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10239
10240 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10241 (desktop-restore-in-current-display): New customization option.
10242 (desktop--excluded-frame-parameters): Add `font'.
10243 (desktop--save-frames): Rename from desktop--save-windows.
10244 (desktop--restore-in-this-display-p): New function.
10245 (desktop--make-full-frame): Remove unwanted width/height from
10246 full(width|height) frames.
10247 (desktop--restore-frames): Rename from desktop--restore-windows.
10248 Obey desktop-restore-current-display. Do not delete old frames or
10249 select a new frame unless we were able to restore at least one frame.
10250
10251 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10252
10253 * files.el (find-file-noselect): Simplify conditional expression.
10254
10255 * textmodes/remember.el (remember-append-to-file):
10256 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10257
10258 Add `remember-notes' function to store random notes across Emacs
10259 restarts.
10260 * textmodes/remember.el (remember-data-file): Add :set callback to
10261 affect notes buffer (if any).
10262 (remember-notes): New command.
10263 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10264 New defcustoms for the `remember-notes' function.
10265 (remember-notes-save-and-bury-buffer): New command.
10266 (remember-notes-mode-map): New variable.
10267 (remember-mode): New minor mode.
10268 (remember-notes--kill-buffer-query): New function.
10269 * startup.el (initial-buffer-choice): Add notes to custom type.
10270
10271 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10272
10273 * bindings.el (right-char, left-char): Don't call sit-for, this is
10274 no longer needed. Use arithmetic comparison only for numerical
10275 arguments.
10276
10277 * international/mule-cmds.el (select-safe-coding-system):
10278 Handle the case of FROM being a string correctly. (Bug#14755)
10279
10280 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10281
10282 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10283 progression on degenerate tables.
10284 (shr-rescale-image): ImageMagick animated images currently don't work.
10285
10286 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10287
10288 Some fixes and improvements for desktop frame restoration.
10289 It is still experimental and disabled by default.
10290 * desktop.el (desktop--save-windows): Put the selected frame at
10291 the head of the list.
10292 (desktop--make-full-frame): New function.
10293 (desktop--restore-windows): Try to re-select the frame that was
10294 selected upon saving. Do not abort if some frames fail to restore,
10295 just show an error message and continue. Set up maximized frames
10296 so they have default non-maximized dimensions.
10297
10298 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10299
10300 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10301 Don't start heredoc inside a string or comment.
10302
10303 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10304
10305 * bindings.el (visual-order-cursor-movement): New defcustom.
10306 (right-char, left-char): Provide visual-order cursor motion by
10307 calling move-point-visually. Update the doc strings.
10308
10309 2013-06-28 Kenichi Handa <handa@gnu.org>
10310
10311 * international/mule.el (define-coding-system): New coding system
10312 properties :inhibit-null-byte-detection,
10313 :inhibit-iso-escape-detection, and :prefer-utf-8.
10314 (set-buffer-file-coding-system): If :charset-list property of
10315 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10316 appropriate for setting.
10317
10318 * international/mule-cmds.el (select-safe-coding-system):
10319 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10320 multibyte characters, return utf-8 (or one of its siblings).
10321
10322 * international/mule-conf.el (prefer-utf-8): New coding system.
10323 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10324 files.
10325
10326 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10327
10328 * net/shr.el (shr-render-region): New function.
10329
10330 * net/eww.el: Autoload `eww-browse-url'.
10331
10332 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10333
10334 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10335 Adapt to `package-desc-version' being a list.
10336 Use `package--ac-desc-version' to retrieve version from a package
10337 archive element.
10338
10339 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10340
10341 New experimental feature to save&restore window and frame setup.
10342 * desktop.el (desktop-save-windows): New defcustom.
10343 (desktop--saved-states): New var.
10344 (desktop--excluded-frame-parameters): New defconst.
10345 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10346 (desktop--restore-windows, desktop--save-windows): New functions.
10347 (desktop-save): Call `desktop--save-windows'.
10348 (desktop-read): Call `desktop--restore-windows'.
10349
10350 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10351
10352 * net/shr.el (add-face-text-property): Remove compat definition.
10353
10354 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10355
10356 * info.el (Info-try-follow-nearest-node): Move search for footnote
10357 above search for node name to prevent missing a footnote (bug#14717).
10358
10359 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10360
10361 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10362
10363 2013-06-27 Leo Liu <sdl.web@gmail.com>
10364
10365 * net/eww.el (eww-read-bookmarks): Check file size.
10366
10367 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10368
10369 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10370 advice--pending if newdef is nil or an autoload (bug#13820).
10371 (advice-mapc): New function.
10372
10373 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10374
10375 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10376 probably.
10377 (eww-mode-map): Add a menu bar.
10378 (eww-add-bookmark): New command.
10379 (eww-bookmark-mode): New mode and commands.
10380 (eww-add-bookmark): Remove newlines from the title.
10381 (eww-bookmark-browse): Don't bug out if it's the only window.
10382
10383 2013-06-26 Glenn Morris <rgm@gnu.org>
10384
10385 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10386 (hfy-size): Handle ttys. (Bug#14668)
10387
10388 * info-xref.el: Update for Texinfo 5 change in *note format.
10389 (info-xref-node-re, info-xref-note-re): New constants.
10390 (info-xref-check-buffer): Use info-xref-note-re.
10391
10392 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10393
10394 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10395
10396 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10397 nil terminate the loop (bug#14718).
10398
10399 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10400
10401 * net/eww.el: Rework history traversal. When going forward/back,
10402 put these actions into the history, too, so that they can be
10403 replayed.
10404 (eww-render): Move the history reset to the correct buffer.
10405
10406 2013-06-25 Juri Linkov <juri@jurta.org>
10407
10408 * files-x.el (modify-dir-local-variable): Change the header comment
10409 in the file with directory local variables. (Bug#14692)
10410
10411 * files-x.el (read-file-local-variable-value): Add `default'.
10412 (Bug#14710)
10413
10414 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10415
10416 * net/eww.el (eww-make-unique-file-name): Create a unique file
10417 name before saving to entering `y' accidentally asynchronously.
10418
10419 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10420
10421 * net/eww.el (eww-download): New command and keystroke.
10422
10423 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10424
10425 * net/eww.el (eww-copy-page-url): Change name of command.
10426
10427 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10428 be more consistent with Info and dired.
10429
10430 * net/eww.el (eww-mode-map): Ditto.
10431
10432 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10435 packages from archives.
10436 (package-archive-contents): Change format; include obsolete packages.
10437 (package-desc): Use `dir' to mark builtin packages.
10438 (package--from-builtin): Set the `dir' field to `builtin'.
10439 (generated-autoload-file, version-control): Declare.
10440 (package-compute-transaction): Change first arg and return value to be
10441 lists of package-descs. Adjust to new package-archive-contents format.
10442 (package--add-to-archive-contents): Adjust to new
10443 package-archive-contents format.
10444 (package-download-transaction): Arg is now a list of package-descs.
10445 (package-install): If `pkg' is a package name, pass it as
10446 a requirement, so it is subject to the usual (e.g. disabled) checks.
10447 (describe-package): Accept package-desc as well.
10448 (describe-package-1): Describe a specific package-desc. Add links to
10449 other package-descs for the same package name.
10450 (package-menu-describe-package): Pass the actual package-desc.
10451 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10452 works correctly.
10453 (package-desc-status): New function.
10454 (package-menu--refresh): New function, extracted
10455 from package-menu--generate.
10456 (package-menu--generate): Use it.
10457 (package-delete): Update package-alist.
10458 (package-menu-execute): Don't call package-initialize.
10459
10460 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10461 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10462 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10463 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10464 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10465 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10466
10467 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10468
10469 * window.el (window--state-get-1): Workaround for bug#14527.
10470 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10471
10472 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10473
10474 * net/eww.el (eww-back-url): Implement the history by stashing all
10475 the data into a list.
10476 (eww-forward-url): Allow going forward in the history, too.
10477
10478 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10479
10480 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10481 for values and use read--expression for expressions (bug#14710).
10482 (read-file-local-variable): Avoid setq.
10483 (read-file-local-variable-mode): Use minor-mode-list.
10484
10485 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10486
10487 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10488 for DOI URLs.
10489
10490 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10491
10492 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10493 Update imenu-support when dialect changes.
10494
10495 2013-06-25 Leo Liu <sdl.web@gmail.com>
10496
10497 * ido.el (ido-read-internal): Allow forward slash on windows.
10498
10499 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10500
10501 * net/eww.el (eww): Start of strings is \\`, not ^.
10502
10503 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10504
10505 * net/shr.el (shr-browse-url): Fix interactive spec.
10506
10507 * net/eww.el (eww): Add a trailing slash to domain names.
10508
10509 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10510
10511 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10512
10513 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10514
10515 * net/shr.el (shr-browse-url): Use an external browser if given a
10516 prefix.
10517
10518 * net/eww.el (eww-external-browser): Move to shr.
10519
10520 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10521
10522 * net/eww.el (eww): Work more correctly for file: URLs.
10523 (eww-detect-charset): Allow quoted charsets.
10524 (eww-yank-page-url): New command and keystroke.
10525
10526 2013-06-24 Daiki Ueno <ueno@gnu.org>
10527
10528 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10529 file name of gpg executable.
10530 (epg-context-program): New function.
10531 (epg-context-home-directory): New function.
10532 (epg-context-set-program): New function.
10533 (epg-context-set-home-directory): New function.
10534 (epg--start): Use `epg-context-program' instead of
10535 'epg-gpg-program'.
10536 (epg--list-keys-1): Likewise.
10537
10538 2013-06-24 Leo Liu <sdl.web@gmail.com>
10539
10540 * ido.el (ido-read-internal): Fix bug#14620.
10541
10542 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10543
10544 * faces.el (face-documentation): Simplify.
10545 (read-face-attribute, tty-find-type, x-resolve-font-name):
10546 Use `string-match-p'.
10547 (list-faces-display): Use `string-match-p'. Simplify.
10548 (face-spec-recalc): Check face to avoid face alias loops.
10549 (read-color): Use `string-match-p' and non-capturing parenthesis.
10550
10551 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10552
10553 * net/shr.el (shr-rescale-image): Use the new
10554 :max-width/:max-height functionality.
10555
10556 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10557
10558 * net/eww.el (eww-search-prefix): New variable.
10559 (eww): Use it.
10560 (eww-external-browser): New variable.
10561 (eww-mode-map): New keystroke.
10562 (eww-browse-with-external-browser): New command.
10563
10564 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10565
10566 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10567
10568 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10569 Don't skip aligning the next header field when padding is 0;
10570 otherwise, field width is not respected unless the title is as
10571 wide as the field.
10572
10573 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10574
10575 * emacs-lisp/package.el (package-el-version): Remove.
10576 (package-process-define-package): Fix inf-loop.
10577 (package-install): Allow symbols as arguments again.
10578
10579 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10580
10581 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10582 add some more keyword-like methods.
10583 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10584
10585 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10586
10587 * bs.el (bs-buffer-show-mark): Make defvar-local.
10588 (bs-mode): Use setq-local.
10589
10590 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10591 (emacs-lock--try-unlocking): Make defvar-local.
10592
10593 2013-06-22 Glenn Morris <rgm@gnu.org>
10594
10595 * play/cookie1.el (cookie-apropos): Minor simplification.
10596
10597 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10598
10599 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10600
10601 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10602 `regexp-opt', it breaks the build during dumping.
10603
10604 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10605
10606 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10607 Highlight keyword-like methods on Kernel and Module with
10608 font-lock-builtin-face.
10609 (auto-mode-alist): Consolidate different entries into one regexp
10610 and add more *file-s.
10611
10612 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10613
10614 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10615
10616 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10617 (diary-entry): Use it in the action of this button type instead of
10618 diary-goto-entry.
10619
10620 * calendar/todo-mode.el: New version.
10621 (todo-add-category): Append new category to end of file and give
10622 it the highest number, instead of putting it at the beginning and
10623 giving it 0. Incorporate noninteractive functionality.
10624 (todo-forward-category): Adapt to 1-based category numbering.
10625 Allow skipping over archived categories.
10626 (todo-backward-category): Derive from todo-forward-category.
10627 (todo-backward-item, todo-forward-item): Make noninteractive and
10628 delegate interactive part to new commands. Make sensitive to done items.
10629 (todo-categories): Make value an alist of category names and
10630 vectors of item counts.
10631 (todo-category-beg): Make a defconst.
10632 (todo-category-number): Use 1 instead of 0 as initial value.
10633 (todo-category-select): Make sensitive to overlays, optional item
10634 highlighting and done items.
10635 (todo-delete-item): Make sensitive to overlays and marked and done items.
10636 (todo-edit-item): Make sensitive to overlays and editing of
10637 date/time header optional. Add format checks.
10638 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10639 no-op if point is not on an item. Advertise using todo-edit-quit.
10640 (todo-edit-mode): Make sensitive to new format, font-locking, and
10641 multiple todo files.
10642 (todo-insert-item, todo-insert-item-here): Derive from
10643 todo-basic-insert-item and extend functionality.
10644 (todo-item-end, todo-item-start): Make sensitive to done items.
10645 (todo-item-string): Don't return text properties. Restore point.
10646 (todo-jump-to-category): Make sensitive to multiple todo files and
10647 todo archives. Use extended category completion.
10648 (todo-lower-item, todo-raise-item): Rename to *-priority and
10649 derive from todo-set-item-priority.
10650 (todo-mode): Derive from special-mode. Make sensitive to new
10651 format, font-locking and multiple todo files. Make read-only.
10652 (todo-mode-map): Don't suppress digit keys, so they can supply
10653 prefix arguments. Add many new key bindings.
10654 (todo-prefix): Insert as an overlay instead of file text.
10655 Change semantics from diary date expression to purely visual mark.
10656 (todo-print): Rename to todo-print-buffer. Make buffer display
10657 features printable. Remove option to restrict number of items
10658 printed. Add option to print to file.
10659 (todo-print-function): Rename to todo-print-buffer-function.
10660 (todo-quit): Extend to handle exiting new todo modes.
10661 (todo-remove-item): Make sensitive to overlays.
10662 (todo-save): Extend to buffers of filtered items.
10663 (todo-show): Make sensitive to done items, multiple todo files and
10664 new todo modes. Offer to convert legacy todo file before creating
10665 first new todo file.
10666 (todo-show-priorities): Rename to todo-top-priorities.
10667 Change semantics of value 0.
10668 (todo-top-priorities): Rename to todo-filter-top-priorities,
10669 derive from todo-filter-items and extend functionality.
10670 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10671 and extend functionality to other types of filtered items.
10672 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10673 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10674 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10675 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10676 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10677 (todo-edit-mode-hook, todo-entry-prefix-function)
10678 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10679 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10680 (todo-initials, todo-insert-threshold, todo-item-string-start)
10681 (todo-line-string, todo-menu, todo-mode-hook)
10682 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10683 (todo-print-priorities, todo-remove-separator)
10684 (todo-save-top-priorities-too, todo-string-count-lines)
10685 (todo-string-multiline-p, todo-time-string-format)
10686 (todo-tmp-buffer-name): Remove.
10687 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10688 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10689 (todo-edit-category-diary-inclusion)
10690 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10691 (todo-edit-file, todo-edit-item-date-day)
10692 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10693 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10694 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10695 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10696 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10697 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10698 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10699 (todo-filter-top-priorities-multifile, todo-find-archive)
10700 (todo-find-filtered-items-file, todo-go-to-source-item)
10701 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10702 (todo-jump-to-archive-category, todo-lower-category)
10703 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10704 (todo-move-category, todo-move-item, todo-next-button)
10705 (todo-next-item, todo-padded-string, todo-powerset)
10706 (todo-previous-button, todo-previous-item)
10707 (todo-print-buffer-to-file, todo-raise-category)
10708 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10709 (todo-set-category-number, todo-set-item-priority)
10710 (todo-set-top-priorities-in-category)
10711 (todo-set-top-priorities-in-file, todo-show-categories-table)
10712 (todo-sort-categories-alphabetically-or-numerically)
10713 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10714 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10715 (todo-toggle-item-header, todo-toggle-item-highlighting)
10716 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10717 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10718 (todo-unarchive-items, todo-unmark-category): New commands.
10719 (todo-absolute-file-name, todo-add-to-buffer-list)
10720 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10721 (todo-basic-insert-item, todo-category-completions)
10722 (todo-category-number, todo-category-string-matcher-1)
10723 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10724 (todo-check-format, todo-clear-matches)
10725 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10726 (todo-current-category, todo-date-string-matcher)
10727 (todo-define-insertion-command, todo-diary-expired-matcher)
10728 (todo-diary-goto-entry, todo-diary-item-p)
10729 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10730 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10731 (todo-done-item-section-p, todo-done-separator)
10732 (todo-done-string-matcher, todo-files, todo-filter-items)
10733 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10734 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10735 (todo-insert-category-line, todo-insert-item-from-calendar)
10736 (todo-insert-sort-button, todo-insert-with-overlays)
10737 (todo-insertion-command-name, todo-insertion-key-bindings)
10738 (todo-label-to-key, todo-longest-category-name-length)
10739 (todo-make-categories-list, todo-mode-external-set)
10740 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10741 (todo-modes-set-3, todo-multiple-filter-files)
10742 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10743 (todo-read-category, todo-read-date, todo-read-dayname)
10744 (todo-read-file-name, todo-read-time)
10745 (todo-reevaluate-category-completions-files-defcustom)
10746 (todo-reevaluate-default-file-defcustom)
10747 (todo-reevaluate-filelist-defcustoms)
10748 (todo-reevaluate-filter-files-defcustom)
10749 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10750 (todo-reset-done-separator, todo-reset-done-separator-string)
10751 (todo-reset-done-string, todo-reset-global-current-todo-file)
10752 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10753 (todo-reset-prefix, todo-set-categories)
10754 (todo-set-date-from-calendar, todo-set-show-current-file)
10755 (todo-set-top-priorities, todo-short-file-name)
10756 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10757 (todo-total-item-counts, todo-update-buffer-list)
10758 (todo-update-categories-display, todo-update-categories-sexp)
10759 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10760 New functions.
10761 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10762 New major modes.
10763 (todo-categories, todo-display, todo-edit, todo-faces)
10764 (todo-filtered): New defgroups.
10765 (todo-archived-only, todo-button, todo-category-string, todo-date)
10766 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10767 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10768 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10769 (todo-add-item-if-new-category, todo-always-add-time-string)
10770 (todo-categories-align, todo-categories-archived-label)
10771 (todo-categories-category-label, todo-categories-diary-label)
10772 (todo-categories-done-label, todo-categories-number-separator)
10773 (todo-categories-todo-label, todo-categories-totals-label)
10774 (todo-category-completions-files, todo-completion-ignore-case)
10775 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10776 (todo-done-separator-string, todo-done-string)
10777 (todo-files-function, todo-filter-done-items, todo-filter-files)
10778 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10779 (todo-initial-category, todo-initial-file, todo-item-mark)
10780 (todo-legacy-date-time-regexp, todo-mode-line-function)
10781 (todo-nondiary-marker, todo-number-prefix)
10782 (todo-print-buffer-function, todo-show-current-file)
10783 (todo-show-done-only, todo-show-first, todo-show-with-done)
10784 (todo-skip-archived-categories, todo-top-priorities-overrides)
10785 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10786 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10787 New defcustoms.
10788 (todo-category-done, todo-date-pattern, todo-date-string-start)
10789 (todo-diary-items-buffer, todo-done-string-start)
10790 (todo-filtered-items-buffer, todo-item-start)
10791 (todo-month-abbrev-array, todo-month-name-array)
10792 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10793 (todo-top-priorities-buffer): New defconsts.
10794 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10795 (todo-categories-with-marks, todo-category-string-face)
10796 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10797 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10798 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10799 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10800 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10801 (todo-font-lock-keywords, todo-global-current-todo-file)
10802 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10803 (todo-insertion-commands-args)
10804 (todo-insertion-commands-args-genlist)
10805 (todo-insertion-commands-names, todo-insertion-map)
10806 (todo-key-bindings-t, todo-key-bindings-t+a)
10807 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10808 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10809 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10810 (todo-visited): New variables.
10811
10812 2013-06-21 Glenn Morris <rgm@gnu.org>
10813
10814 * play/cookie1.el (cookie-apropos): Add optional display argument.
10815 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10816 (psychoanalyze-pinhead): Use cookie-doctor.
10817
10818 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10819
10820 * emacs-lisp/package.el (tar-get-file-descriptor)
10821 (tar--extract): Declare.
10822
10823 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10824
10825 Extend flymake's warning predicate to be a function (bug#14217).
10826 * progmodes/flymake.el (flymake-warning-predicate): New.
10827 (flymake-parse-line): Use it.
10828 (flymake-warning-re): Make obsolete alias to
10829 `flymake-warning-predicate'.
10830
10831 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10832
10833 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10834 (package-obsolete-list): Remove.
10835 (package-activate): Remove min-version argument. Add `force' argument.
10836 Adjust to new package-alist format.
10837 (package-mark-obsolete): Remove.
10838 (package-unpack): Force reload of the package's autoloads.
10839 (package-installed-p): Check builtins if the installed package is not
10840 recent enough.
10841 (package-initialize): Don't reset package-obsolete-list.
10842 Don't specify which package version to activate.
10843 (package-process-define-package, describe-package-1)
10844 (package-menu--generate): Adjust to new package-alist format.
10845
10846 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * allout-widgets.el (allout-widgets-mode-off)
10849 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10850 (allout-widgets-post-command-business)
10851 (allout-widgets-after-copy-or-kill-function)
10852 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10853 (allout-decorate-item-and-context)
10854 (allout-graphics-modification-handler): Fix typos in docstrings.
10855 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10856
10857 * cmuscheme.el (scheme-start-file): Doc fix.
10858 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10859 (scheme-input-filter): Use `string-match-p'.
10860
10861 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10862
10863 * dired-x.el: Use Dired consistently in docstrings.
10864
10865 * dired.el: Use Dired consistently in docstrings.
10866 (dired-readin, dired-mode): Use `setq-local'.
10867 (dired-switches-alist): Make defvar-local.
10868 (dired-buffers-for-dir): Use `zerop'.
10869 (dired-safe-switches-p, dired-switches-escape-p)
10870 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10871 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10872 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10873 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10874 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10875 (dired-toggle-marks, dired-mark-files-containing-regexp)
10876 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10877 (dired-flag-auto-save-files, dired-flag-backup-files):
10878 Use `looking-at-p'.
10879 (dired-mark-files-regexp, dired-build-subdir-alist):
10880 Use `string-match-p', `looking-at-p'.
10881
10882 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10883 (direct-print-region-helper): Use `string-match-p'.
10884
10885 2013-06-21 Leo Liu <sdl.web@gmail.com>
10886
10887 * comint.el (comint-redirect-results-list-from-process):
10888 Fix infinite loop.
10889
10890 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10891
10892 * net/eww.el (eww-update-header-line-format): Quote % characters.
10893
10894 2013-06-21 Glenn Morris <rgm@gnu.org>
10895
10896 * play/cookie1.el (cookie): New custom group.
10897 (cookie-file): New option.
10898 (cookie-check-file): New function.
10899 (cookie): Make it interactive. Make start and end messages optional.
10900 Interactively, display the result. Default to cookie-file.
10901 (cookie-insert): Default to cookie-file.
10902 (cookie-snarf): Make start and end messages optional.
10903 Default to cookie-file. Use with-temp-buffer.
10904 (cookie-read): Rename from read-cookie.
10905 Make start and end messages optional. Default to cookie-file.
10906 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10907 Do not autoload it.
10908 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10909 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10910
10911 2013-06-21 Leo Liu <sdl.web@gmail.com>
10912
10913 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10914
10915 2013-06-21 Glenn Morris <rgm@gnu.org>
10916
10917 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10918
10919 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10920 Daniel Hackney <dan@haxney.org>
10921
10922 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10923 Consolidate the single-file vs tarball code.
10924 (package-desc-suffix): New function.
10925 (package-desc-full-name): Don't bother inlining it.
10926 (package-load-descriptor): Return the new package-desc.
10927 (package-mark-obsolete): Remove unused arg `package'.
10928 (package-unpack): Make it work for single files as well.
10929 Make it update package-alist.
10930 (package--make-autoloads-and-stuff): Rename from
10931 package--make-autoloads-and-compile. Don't compile any more.
10932 (package--compile): New function.
10933 (package-generate-description-file): New function, extracted from
10934 package-unpack-single.
10935 (package-unpack-single): Remove.
10936 (package--with-work-buffer): Add indentation and debugging info.
10937 (package-download-single): Remove.
10938 (package-install-from-archive): Rename from package-download-tar, make
10939 it take a pkg-desc, and make it work for single files as well.
10940 (package-download-transaction): Simplify.
10941 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10942 external tar program.
10943 (package-install-from-buffer): Remove `pkg-desc' argument.
10944 Use package-tar-file-info for tar-mode buffers.
10945 (package-install-file): Simplify accordingly.
10946 (package-archive-base): Change to take a pkg-desc.
10947 * tar-mode.el (tar--check-descriptor): New function, extracted from
10948 tar-get-descriptor.
10949 (tar-get-descriptor): Use it.
10950 (tar-get-file-descriptor): New function.
10951 (tar--extract): New function, extracted from tar-extract.
10952 (tar--extract): Use it.
10953 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10954 case the summary uses non-ascii. Adjust to new calling convention of
10955 package-tar-file-info.
10956
10957 2013-06-21 Leo Liu <sdl.web@gmail.com>
10958
10959 * comint.el (comint-redirect-results-list-from-process):
10960 Fix random delay. (Bug#14681)
10961
10962 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10963
10964 * profiler.el (profiler-format-number): Use log, not log10.
10965
10966 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10967
10968 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10969
10970 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10971
10972 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10973 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10974 yet available.
10975 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10976 (AUTOGENEL): ... here.
10977 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10978 (cl--defsubst-expand): Use it.
10979
10980 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10981
10982 * subr.el (log10): Move here from C code, and declare as obsolete.
10983 All uses of (log10 X) replaced with (log X 10).
10984
10985 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10986
10987 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10988 Declare with `defvar-local'.
10989 (tabulated-list-use-header-line, tabulated-list-entries)
10990 (tabulated-list-padding, tabulated-list-printer)
10991 (tabulated-list-sort-key): Declare with `defvar-local'.
10992 (tabulated-list-init-header, tabulated-list-print-fake-header):
10993 Use `setq-local'.
10994
10995 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10996
10997 * arc-mode.el (archive-mode): Add `archive-write-file' to
10998 `write-contents-functions' also for remote files. (Bug#14652)
10999
11000 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11001
11002 * cus-edit.el (custom-commands): Fix typos.
11003 (custom-display): Fix tooltip text.
11004 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11005 Fix typos in docstrings.
11006 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11007 (custom-unlispify-menu-entry, custom-magic-value-create)
11008 (custom-add-see-also, custom-group-value-create): Use ?\s.
11009 (custom-guess-type, customize-apropos, editable-field)
11010 (custom-face-value-create): Use `string-match-p'.
11011 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11012
11013 * custom.el (custom-load-symbol): Use `string-match-p'.
11014
11015 * ansi-color.el: Convert to lexical binding.
11016 (ansi-colors): Fix URL.
11017 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11018 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11019 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11020
11021 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11022
11023 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11024
11025 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11026
11027 2013-06-19 Tom Tromey <tromey@redhat.com>
11028
11029 * net/eww.el (eww-top-url): Remove.
11030 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11031 (eww-render): Set new variables. Don't set eww-top-url.
11032 (eww-handle-link): Handle "prev", "home", and "contents".
11033 Downcase the rel text.
11034 (eww-top-url): Choose best top URL.
11035
11036 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11037
11038 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11039 relying in widget.el. Using widget.el leads to too many
11040 user interface inconsistencies.
11041 (eww-self-insert): Implement entering commands in text fields.
11042 (eww-process-text-input): New function to make text input field editing
11043 work.
11044 (eww-submit): Rewrite to use the new-style form methods.
11045 (eww-select-display): Display the correct selected item.
11046 (eww-change-select): Implement changing the select value.
11047 (eww-toggle-checkbox): Implement radio/checkboxes.
11048 (eww-update-field): Fix compilation error.
11049 (eww-tag-textarea): Implement <textarea>.
11050
11051 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11052 we don't shadow mode-specific bindings.
11053
11054 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11055 nothing to push.
11056
11057 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11058
11059 2013-06-19 Glenn Morris <rgm@gnu.org>
11060
11061 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11062
11063 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11064
11065 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11066 not needed.
11067
11068 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11069
11070 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11071
11072 * net/browse-url.el (browse-url-browser-function):
11073 `eww-browse-url' has the right calling signature, `eww' does not.
11074
11075 2013-06-19 Glenn Morris <rgm@gnu.org>
11076
11077 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11078 Only eval autoloaded macros.
11079 (byte-compile-autoload): Only give the macro warning for macros.
11080
11081 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11082 (ps-underlined-faces): Declare.
11083
11084 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11085 (speedbar-add-supported-extension): Declare.
11086
11087 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11088 Don't include a date stamp in the header of the generated file;
11089 it leads to needless differences between output files.
11090
11091 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11092
11093 * net/secrets.el (secrets-struct-secret-content-type):
11094 Replace check of introspection data by a test call of "CreateItem".
11095 Some servers do not offer introspection.
11096
11097 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11098
11099 * electric.el (electric-pair-mode): Improve interaction with
11100 electric-layout-mode.
11101 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11102 (electric-pair-syntax): Use text-mode-syntax-table in comments
11103 and strings.
11104 (electric-pair--insert): New function.
11105 (electric-pair-post-self-insert-function): Use it and
11106 electric--after-char-pos.
11107
11108 2013-06-19 Leo Liu <sdl.web@gmail.com>
11109
11110 * progmodes/octave.el (octave-help): Fix regexp.
11111
11112 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11113
11114 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11115 (shr-table-horizontal-line): Allow nil as a value, and change the
11116 default.
11117 (shr-insert-table-ruler): Respect the nil value.
11118
11119 2013-06-18 Tom Tromey <tromey@barimba>
11120
11121 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11122 New defvars.
11123 (eww-open-file): New defun.
11124 (eww-render): Initialize new variables.
11125 (eww-display-html): Handle "link" and "a".
11126 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11127 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11128 (eww-back-url): Rename from eww-previous-url.
11129 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11130 New defuns.
11131
11132 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11133
11134 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11135 Distinguish ternary operator tokens from slash symbol and slash
11136 char literal.
11137
11138 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11139
11140 Convert symbol prettification into minor mode and global minor mode.
11141
11142 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11143 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11144 (prettify-symbols--keywords): Rename from
11145 `prog-prettify-symbols-alist' and make a local defvar.
11146 (prettify-symbols--compose-symbol): Rename from
11147 `prog--prettify-font-lock-compose-symbol'.
11148 (prettify-symbols--make-keywords): Rename from
11149 `prog-prettify-font-lock-symbols-keywords' and simplify.
11150 (prog-prettify-install): Remove.
11151 (prettify-symbols-mode): New minor mode, based on
11152 `prog-prettify-install'.
11153 (turn-on-prettify-symbols-mode): New function.
11154 (global-prettify-symbols-mode): New globalized minor mode.
11155
11156 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11157 * progmodes/cfengine.el (cfengine3-mode):
11158 * progmodes/perl-mode.el (perl-mode): Don't call
11159 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11160
11161 2013-06-18 Juri Linkov <juri@jurta.org>
11162
11163 * files-x.el (modify-file-local-variable-message): New function.
11164 (modify-file-local-variable)
11165 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11166 and call `modify-file-local-variable-message' when it's non-nil.
11167 (add-file-local-variable, delete-file-local-variable)
11168 (add-file-local-variable-prop-line)
11169 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11170 and use it. (Bug#9820)
11171
11172 2013-06-18 Juri Linkov <juri@jurta.org>
11173
11174 * emulation/vi.el (vi-shell-op):
11175 * emulation/vip.el (vip-execute-com, ex-command):
11176 * emulation/viper-cmd.el (viper-exec-bang):
11177 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11178 the call of `shell-command-on-region'. (Bug#14637)
11179
11180 * simple.el (shell-command-on-region): Doc fix.
11181
11182 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11185 (bug#14633).
11186
11187 2013-06-18 Glenn Morris <rgm@gnu.org>
11188
11189 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11190
11191 * newcomment.el (comment-search-forward, comment-search-backward):
11192 Doc fix. (Bug#14376)
11193
11194 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11195
11196 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11197 (buffer-face-mode-invoke): Doc fix.
11198
11199 2013-06-18 Matthias Meulien <orontee@gmail.com>
11200
11201 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11202 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11203
11204 2013-06-18 Glenn Morris <rgm@gnu.org>
11205
11206 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11207 Replace obsolete function generic-make-keywords with its expansion.
11208
11209 * progmodes/python.el (ffap-alist): Declare.
11210
11211 * textmodes/reftex.el (bibtex-mode-map): Declare.
11212
11213 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11216 (package-unpack, package-unpack-single): Return the pkg-dir.
11217 (package-download-transaction): Use it to update package-alist.
11218
11219 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11220
11221 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11222 possible choice.
11223
11224 2013-06-17 Juri Linkov <juri@jurta.org>
11225
11226 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11227
11228 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11229
11230 * emacs-lisp/package.el (package-load-descriptor):
11231 Remove `with-syntax-table' call, `read' doesn't need it.
11232 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11233
11234 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11235
11236 * startup.el (command-line): Expand package name returned by
11237 `package--description-file' (bug#14639).
11238
11239 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11240
11241 * emacs-lisp/package.el (package-load-descriptor): Do not call
11242 `emacs-lisp-mode', just use its syntax table.
11243
11244 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11245
11246 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11247 `font-lock-extra-managed-props' if any prettifying keyword is added.
11248 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11249 (prog-mode): Use `setq-local'.
11250
11251 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11252
11253 * international/characters.el (standard-case-table): Set syntax of ?»
11254 and ?« to punctuation.
11255
11256 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11257
11258 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11259 Save relevant match data before calling `syntax-ppss' (bug#14595).
11260
11261 2013-06-15 Juri Linkov <juri@jurta.org>
11262
11263 * files-x.el (modify-file-local-variable-prop-line): Add local
11264 variables to the end of the existing comment on the first line.
11265 Use `file-auto-mode-skip' to skip interpreter magic line,
11266 and also skip XML declaration.
11267
11268 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * startup.el (package--builtin-versions): New var.
11271 (package-subdirectory-regexp): Remove.
11272 (package--description-file): Hard code its value instead.
11273
11274 * emacs-lisp/package.el: Don't activate packages older than builtin.
11275 (package-obsolete-list): Rename from package-obsolete-alist, and make
11276 it into a simple list of package-desc.
11277 (package-strip-version): Remove.
11278 (package-built-in-p): Use package--builtin-versions.
11279 (package-mark-obsolete): Simplify.
11280 (package-process-define-package): Mark it obsolete if older than the
11281 builtin version.
11282 (package-handle-response): Use line-end-position.
11283 (package-read-archive-contents, package--download-one-archive):
11284 Simplify.
11285 (package--add-to-archive-contents): Skip if older than the builtin or
11286 installed version.
11287 (package-menu-describe-package): Fix last change.
11288 (package-list-unversioned): New var.
11289 (package-menu--generate): Use it.
11290
11291 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11292 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11293 (autoload-builtin-package-versions): New variable.
11294 (autoload-generate-file-autoloads): Use them.
11295 Remove the list of autoloaded functions/macros from the
11296 (autoload...) comments.
11297
11298 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11299
11300 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11301
11302 * simple.el (line-move-partial): Don't jump to the next screen
11303 line as soon as it becomes visible. Instead, continue enlarging
11304 the vscroll until the portion of a tall screen line that's left on
11305 display is about the height of the frame's default font.
11306 (Bug#14567)
11307
11308 2013-06-15 Glenn Morris <rgm@gnu.org>
11309
11310 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11311 compilation-error-regexp-alist void, or local while let-bound.
11312
11313 * progmodes/make-mode.el (makefile-mode-syntax-table):
11314 Treat "=" as punctuation. (Bug#14614)
11315
11316 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11317
11318 * help-fns.el (describe-variable):
11319 Add extra line for permanent-local variables.
11320
11321 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11322
11323 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11324 Add export, import, library. (Bug#9164)
11325 (library): Set indent function.
11326
11327 2013-06-14 Glenn Morris <rgm@gnu.org>
11328
11329 * term/xterm.el (xterm--query):
11330 Stop after first matching handler. (Bug#14615)
11331
11332 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11333
11334 Add support for dired in saveplace.
11335 * dired.el (dired-initial-position-hook): New variable.
11336 (dired-initial-position): Call hook to place cursor position.
11337 * saveplace.el (save-place-to-alist): Add dired position.
11338 (save-place-dired-hook): New function.
11339
11340 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11341
11342 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11343 through a symbol rather than letrec.
11344
11345 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11346 (package-desc): Add `dir' field.
11347 (package-desc-full-name): New function.
11348 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11349 (package-maybe-load-descriptor): Remove.
11350 (package-load-all-descriptors): Just call package-load-descriptor.
11351 (package--disabled-p): New function.
11352 (package-desc-vers, package-desc-doc): Remove aliases.
11353 (package--dir): Remove function.
11354 (package-activate): Check if a package is disabled.
11355 (package-process-define-package): New function, extracted from
11356 define-package.
11357 (define-package): Turn into a place holder.
11358 (package-unpack-single, package-tar-file-info):
11359 Use package--description-file.
11360 (package-compute-transaction): Use package--disabled-p.
11361 (package-download-transaction): Don't call
11362 package-maybe-load-descriptor since they're all loaded anyway.
11363 (package-install): Change argument to be a pkg-desc.
11364 (package-delete): Use a single pkg-desc argument.
11365 (describe-package-1): Use package-desc-dir instead of package--dir.
11366 Use package-desc property instead of package-symbol.
11367 (package-install-button-action): Adjust accordingly.
11368 (package--push): Rewrite.
11369 (package-menu--print-info): Adjust accordingly. Change the ID format
11370 to be a pkg-desc.
11371 (package-menu-describe-package, package-menu-get-status)
11372 (package-menu--find-upgrades, package-menu-mark-upgrades)
11373 (package-menu-execute, package-menu--name-predicate):
11374 Adjust accordingly.
11375 * startup.el (package--description-file): New function.
11376 (command-line): Use it.
11377 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11378 Use package-desc-version.
11379
11380 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11381 (byte-compile-preprocess): Use it.
11382 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11383 can't quite recognize.
11384 (byte-compile-add-to-list): Remove.
11385 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11386 (cconv-closure-convert): Add assertion.
11387
11388 * emacs-lisp/map-ynp.el: Use lexical-binding.
11389 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11390 Factor out some repeated code.
11391
11392 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11393
11394 * subr.el (with-eval-after-load): New macro.
11395 (eval-after-load): Allow form to be a function.
11396 take advantage of lexical-binding.
11397 (do-after-load-evaluation): Use dolist and adjust to new format.
11398 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11399
11400 2013-06-13 Juri Linkov <juri@jurta.org>
11401
11402 * replace.el (perform-replace): Display "symbol " and other search
11403 modes from `isearch-message-prefix' in the *Help* buffer.
11404
11405 * isearch.el (isearch-query-replace): Add " symbol" and other
11406 possible search modes from `isearch-message-prefix' to the prompt.
11407 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11408 when reading a regexp to collect.
11409
11410 2013-06-13 Juri Linkov <juri@jurta.org>
11411
11412 * isearch.el (word-search-regexp): Match whitespace if the search
11413 string begins or ends in whitespace. The LAX arg is applied to
11414 both ends of the search string. Use `regexp-quote' and explicit
11415 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11416 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11417 boundaries are replaced with symbol boundaries, and characters
11418 between symbols match non-word non-symbol syntax. (Bug#14602)
11419
11420 2013-06-13 Juri Linkov <juri@jurta.org>
11421
11422 * isearch.el (isearch-del-char): Don't exceed the length of
11423 `isearch-string' by the prefix arg. (Bug#14563)
11424
11425 2013-06-13 Juri Linkov <juri@jurta.org>
11426
11427 * isearch.el (isearch-yank-word, isearch-yank-line)
11428 (isearch-char-by-name, isearch-quote-char)
11429 (isearch-printing-char, isearch-process-search-char):
11430 Add optional count prefix arg. (Bug#14563)
11431
11432 * international/isearch-x.el
11433 (isearch-process-search-multibyte-characters):
11434 Add optional count prefix arg.
11435
11436 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11437
11438 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11439 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11440 lexical-binding.
11441
11442 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11443
11444 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11445
11446 2013-06-13 Glenn Morris <rgm@gnu.org>
11447
11448 * startup.el (tty-handle-args):
11449 Don't just discard "--" and anything after. (Bug#14608)
11450
11451 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11452
11453 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11454
11455 Implement changes in Secret Service API. Make it backward compatible.
11456 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11457 (secrets-create-item): Use it. Prefix properties with interface.
11458
11459 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11460
11461 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11462 (term-emulate-terminal): Respect term-suppress-hard-newline.
11463
11464 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11465
11466 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11467 Only remove a `thumb-file' overlay. (Bug#14548)
11468
11469 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11470
11471 * mail/reporter.el (reporter-submit-bug-report):
11472 Handle missing package-name. (Bug#14600)
11473
11474 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11475
11476 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11477 (reftex-citation-prompt, reftex-default-bibliography)
11478 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11479 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11480 (reftex-bib-sort-author, reftex-bib-sort-year)
11481 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11482 (reftex-extract-bib-entries-from-thebibliography)
11483 (reftex-get-bibkey-default, reftex-get-bib-names)
11484 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11485 (reftex-format-bib-entry, reftex-parse-bibitem)
11486 (reftex-format-bibitem, reftex-do-citation)
11487 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11488 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11489 (reftex-insert-bib-matches, reftex-format-citation)
11490 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11491 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11492 existing comments into docstrings.
11493
11494 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11495
11496 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11497
11498 2013-06-12 Andreas Schwab <schwab@suse.de>
11499
11500 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11501 for auto-save files.
11502
11503 2013-06-12 Glenn Morris <rgm@gnu.org>
11504
11505 * ido.el (ido-delete-ignored-files): Remove.
11506 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11507 Go back to calling ido-ignore-item-p directly.
11508
11509 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11510
11511 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11512
11513 * ido.el (ido-delete-ignored-files): New function,
11514 split from ido-make-file-list-1.
11515 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11516 (ido-make-file-list-1): Use ido-delete-ignored-files.
11517
11518 2013-06-12 Leo Liu <sdl.web@gmail.com>
11519
11520 * progmodes/octave.el (inferior-octave-startup)
11521 (inferior-octave-completion-table)
11522 (inferior-octave-track-window-width-change)
11523 (octave-eldoc-function-signatures, octave-help)
11524 (octave-find-definition): Use single quoted strings.
11525 (inferior-octave-startup-args): Change default value.
11526 (inferior-octave-startup): Do not hard code "-i" and
11527 "--no-line-editing".
11528 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11529 (inferior-octave-directory-tracker): Use it.
11530 (octave-goto-function-definition): Robustify.
11531 (octave-help): Support highlighting operators in 'See also'.
11532 (octave-find-definition): Find subfunctions only in Octave mode.
11533
11534 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * help-fns.el (help-fns--compiler-macro): If the handler function is
11537 named, then put a link to it.
11538 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11539 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11540 (cl-typep): Use it.
11541 (cl-eval-when): Simplify debug spec.
11542 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11543 compiler-macro function instead of setting `compiler-macro-file'.
11544
11545 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11546
11547 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11548 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11549
11550 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11551 Daniel Hackney <dan@haxney.org>
11552
11553 First part of Daniel Hackney's patch to package.el.
11554 * emacs-lisp/package.el: Use defstruct.
11555 (package-desc): New, main struct.
11556 (package--bi-desc, package--ac-desc): New structs, used to describe the
11557 format in external files.
11558 (package-desc-vers): Replace with package-desc-version accessor.
11559 (package-desc-doc): Replace with package-desc-summary accessor.
11560 (package-activate-1): Remove `package' arg since the pkg-vec now
11561 includes the name.
11562 (define-package): Use package-desc-from-define.
11563 (package-unpack-single): Change file-name arg to be a symbol.
11564 (package--add-to-archive-contents): Use package-desc-create and new
11565 accessor functions to package--ac-desc.
11566 (package-buffer-info, package-tar-file-info): Return a package-desc.
11567 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11568 arg to be a package-desc.
11569 (package-install-file): Adjust accordingly. Use \' to match EOS.
11570 (package--from-builtin): New function.
11571 (describe-package-1, package-menu--generate): Use it.
11572 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11573 (package-generate-autoloads): Idem and return the name of the file.
11574 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11575 Change pkg-info arg to be a package-desc.
11576 Use package-make-ac-desc.
11577 (package-upload-file): Use \' to match EOS.
11578 * finder.el (finder-compile-keywords): Use package-make-builtin.
11579
11580 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11581
11582 * vc/vc.el (vc-deduce-fileset): Change error message.
11583 (vc-read-backend): New function.
11584 (vc-next-action): Use it.
11585
11586 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11587
11588 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11589 (prolog-font-lock-keywords): Use regexp-opt instead.
11590 Don't manually highlight strings.
11591 (prolog-mode-variables): Simplify comment-start-skip.
11592 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11593
11594 * emacs-lisp/generic.el (generic--normalise-comments)
11595 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11596 (generic-mode-set-comments): Use them.
11597 (generic-bracket-support): Use setq-local.
11598 (generic-make-keywords-list): Declare obsolete.
11599
11600 2013-06-11 Glenn Morris <rgm@gnu.org>
11601
11602 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11603 Prettify after setting font-lock-defaults. (Bug#14574)
11604
11605 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11606
11607 * replace.el (query-replace, occur-read-regexp-defaults-function)
11608 (replace-search):
11609 * subr.el (declare-function, number-sequence, local-set-key)
11610 (substitute-key-definition, locate-user-emacs-file)
11611 (with-silent-modifications, split-string, eval-after-load):
11612 Fix typos, remove unneeded backslashes and reflow some docstrings.
11613
11614 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11615
11616 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11617 default for Elisp files.
11618
11619 2013-06-11 Glenn Morris <rgm@gnu.org>
11620
11621 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11622 although define-derived-mode was doing this anyway. (Bug#14583)
11623
11624 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11625
11626 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11627 Fix make-variable-buffer-local call to refer to the correct variable.
11628
11629 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11630
11631 * eshell/em-term.el (eshell-visual-commands)
11632 (eshell-visual-subcommands, eshell-visual-options):
11633 Add summary line to docstrings. Add cross-references.
11634
11635 2013-06-10 Glenn Morris <rgm@gnu.org>
11636
11637 * epa.el (epa-read-file-name): New function. (Bug#14510)
11638 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11639
11640 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11641
11642 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11643 output redirection to be ignored with visual commands.
11644
11645 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11646
11647 * eshell/em-term.el (eshell-visual-command-p): New function.
11648 (eshell-term-initialize): Move long lambda to separate function
11649 eshell-visual-command-p.
11650 * eshell/em-dirs.el (eshell-dirs-initialize):
11651 * eshell/em-script.el (eshell-script-initialize):
11652 Add missing #' to lambda.
11653
11654 2013-06-08 Leo Liu <sdl.web@gmail.com>
11655
11656 * progmodes/octave.el (octave-add-log-current-defun): New function.
11657 (octave-mode): Set add-log-current-defun-function.
11658 (octave-goto-function-definition): Do not move point if not found.
11659 (octave-find-definition): Enhance to try subfunctions first.
11660
11661 2013-06-08 Glenn Morris <rgm@gnu.org>
11662
11663 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11664 (byte-compile-backward-char, byte-compile-backward-word):
11665 Improve previous change, to handle non-explicit nil.
11666
11667 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11670 (smie--opener/closer-at-point): New function.
11671 (smie--matching-block-data): Use it. Don't match from right after an
11672 opener or right before a closer. Obey smie-blink-matching-inners.
11673 Don't signal a mismatch for repeated inners like "switch..case..case".
11674
11675 2013-06-07 Leo Liu <sdl.web@gmail.com>
11676
11677 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11678 to t. (Bug#14303)
11679 (octave-function-header-regexp): Fix. (Bug#14570)
11680 (octave-help-mode-finish-hook, octave-help-mode-finish):
11681 Remove. Just use temp-buffer-show-hook.
11682
11683 * newcomment.el (comment-search-backward): Revert last change.
11684 (Bug#14434)
11685
11686 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11687
11688 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11689
11690 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11691 through xargs, to avoid failure due to MS-Windows limitations on
11692 command-line length.
11693
11694 2013-06-06 Glenn Morris <rgm@gnu.org>
11695
11696 * font-lock.el (lisp-font-lock-keywords-2):
11697 Treat user-error like error.
11698
11699 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11700 (byte-compile-backward-char, byte-compile-backward-word):
11701 Handle explicit nil arguments. (Bug#14565)
11702
11703 2013-06-05 Alan Mackenzie <acm@muc.de>
11704
11705 * isearch.el (isearch-allow-prefix): New user option.
11706 (isearch-other-meta-char): Don't exit isearch when a prefix
11707 argument is typed whilst `isearch-allow-prefix' is non-nil.
11708 (Bug#9706)
11709
11710 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11711
11712 * autorevert.el (auto-revert-notify-handler): Use memq.
11713 Hide assertion failure.
11714
11715 * skeleton.el: Use cl-lib.
11716 (skeleton-further-elements): Use defvar-local.
11717 (skeleton-insert): Use cl-progv.
11718
11719 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11720
11721 * progmodes/prog-mode.el (prog-prettify-symbols)
11722 (prog-prettify-install): Update docstrings.
11723
11724 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11725
11726 * simple.el: Move all the prog-mode code to prog-mode.el.
11727 * progmodes/prog-mode.el: New file.
11728 * loadup.el: Add prog-mode.el.
11729
11730 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11731
11732 * simple.el (prog-prettify-symbols): Add version.
11733 (prog-prettify-install): Add convenience function to prettify symbols.
11734
11735 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11736 (perl--augmented-font-lock-keywords-1)
11737 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11738 variables and use it.
11739
11740 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11741 (cfengine3-mode): Remove unneeded variable and use it.
11742
11743 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11744 (lisp--augmented-font-lock-keywords-1)
11745 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11746 Remove unneeded variables and use it.
11747
11748 2013-06-05 João Távora <joaotavora@gmail.com>
11749
11750 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11751 to point when opening the connection. (Bug#14380)
11752
11753 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * subr.el (load-history-regexp, load-history-filename-element)
11756 (eval-after-load, after-load-functions, do-after-load-evaluation)
11757 (eval-next-after-load, display-delayed-warnings)
11758 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11759 definition of save-match-data.
11760 (overriding-local-map): Remove accidental obsolescence declaration.
11761
11762 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11763
11764 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11765
11766 Generalize symbol prettify support to prog-mode and implement it
11767 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11768 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11769 (prog--prettify-font-lock-compose-symbol)
11770 (prog-prettify-font-lock-symbols-keywords): New variables and
11771 functions to support symbol prettification.
11772 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11773 (lisp--augmented-font-lock-keywords-1)
11774 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11775 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11776 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11777 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11778 Implement prettify of -> => :: strings.
11779 * progmodes/perl-mode.el (perl-prettify-symbols)
11780 (perl--font-lock-compose-symbol)
11781 (perl--font-lock-symbols-keywords): Move to prog-mode.
11782 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11783 (perl-font-lock-keywords-1)
11784 (perl-font-lock-keywords-2): Remove explicit prettify support.
11785 (perl--augmented-font-lock-keywords)
11786 (perl--augmented-font-lock-keywords-1)
11787 (perl--augmented-font-lock-keywords-2, perl-mode):
11788 Implement prettify support.
11789
11790 2013-06-05 Leo Liu <sdl.web@gmail.com>
11791
11792 Re-implement SMIE matching block highlight using
11793 show-paren-data-function. (Bug#14395)
11794 * emacs-lisp/smie.el (smie-matching-block-highlight)
11795 (smie--highlight-matching-block-overlay)
11796 (smie--highlight-matching-block-lastpos)
11797 (smie-highlight-matching-block)
11798 (smie-highlight-matching-block-mode): Remove.
11799 (smie--matching-block-data-cache): New variable.
11800 (smie--matching-block-data): New function.
11801 (smie-setup): Use smie--matching-block-data for
11802 show-paren-data-function.
11803
11804 * progmodes/octave.el (octave-mode-menu): Fix.
11805 (octave-find-definition): Skip garbage lines.
11806
11807 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11808
11809 Fix compilation error with simultaneous dynamic+lexical scoping.
11810 Add warning when a defvar appears after the first let-binding.
11811 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11812 (byte-compile-close-variables): Initialize it.
11813 (byte-compile--declare-var): New function.
11814 (byte-compile-file-form-defvar)
11815 (byte-compile-file-form-define-abbrev-table)
11816 (byte-compile-file-form-custom-declare-variable): Use it.
11817 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11818 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11819 (byte-compile-bind): Handle dynamic bindings that shadow
11820 lexical bindings.
11821 (byte-compile-unbind): Make arg non-optional.
11822 (byte-compile-let): Simplify.
11823 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11824 (cconv--analyse-function, cconv-analyse-form): Populate it.
11825 Protect byte-compile-bound-variables to limit the scope of defvars.
11826 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11827 Remove unneeded rule for `declare'.
11828
11829 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11830 so as to avoid depending on cl-adjoin at run-time.
11831 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11832
11833 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11834 (macroexp--warn-and-return): Use it.
11835
11836 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * subr.el: Convert to lexical binding.
11839 (overriding-local-map): Make obsolete.
11840 (add-to-list): Doc fix. Add compiler macro.
11841 (read-key): Swap values of local maps.
11842
11843 2013-06-05 Leo Liu <sdl.web@gmail.com>
11844
11845 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11846
11847 2013-06-04 Leo Liu <sdl.web@gmail.com>
11848
11849 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11850 (compilation-auto-jump): Suppress the "Mark set" message to give
11851 way to exit message.
11852
11853 2013-06-04 Alan Mackenzie <acm@muc.de>
11854
11855 Remove faulty optimisation from indentation calculation.
11856 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11857 search limit based on 2000 characters back from indent-point.
11858
11859 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11860
11861 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11862
11863 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11864
11865 * emacs-lisp/lisp.el: Use lexical-binding.
11866 (lisp--local-variables-1, lisp--local-variables): New functions.
11867 (lisp--local-variables-completion-table): New var.
11868 (lisp-completion-at-point): Use it complete let-bound vars.
11869
11870 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11871 eagerly (bug#14422).
11872
11873 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11874
11875 * autorevert.el (auto-revert-notify-enabled)
11876 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11877 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11878 (auto-revert-notify-handler): Handle also gfilenotify.
11879
11880 * subr.el (file-notify-handle-event): New defun. Replacing ...
11881 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11882 Remove.
11883
11884 2013-06-03 Juri Linkov <juri@jurta.org>
11885
11886 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11887 `M-s h .'. (Bug#14427)
11888
11889 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11890 command `hi-lock-face-symbol-at-point'.
11891 (hi-lock-face-symbol-at-point): New command.
11892 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11893 (hi-lock-menu): Add `highlight-symbol-at-point'.
11894 (hi-lock-mode): Doc fix.
11895
11896 * isearch.el (isearch-forward-symbol-at-point): New command.
11897 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11898 (isearch-highlight-regexp): Add a regexp which matches
11899 words/symbols for word/symbol mode.
11900
11901 * subr.el (find-tag-default-bounds): New function with the body
11902 mostly moved from `find-tag-default'.
11903 (find-tag-default): Move most code to `find-tag-default-bounds',
11904 call it and apply `buffer-substring-no-properties' afterwards.
11905
11906 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11907
11908 * eshell/em-term.el (eshell-term-initialize):
11909 Use `cl-intersection' rather than `intersection'.
11910
11911 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11912
11913 * vc/log-view.el: Doc fix.
11914 (log-view-mode-map): Copy keymap from `special-mode-map'.
11915
11916 2013-06-02 Eric Ludlam <zappo@gnu.org>
11917
11918 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11919 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11920 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11921 (eieio-unbound, eieio-default-superclass)
11922 (eieio--define-field-accessors, method-static, method-before)
11923 (method-primary, method-after, method-num-lists)
11924 (method-generic-before, method-generic-primary)
11925 (method-generic-after, method-num-slots)
11926 (eieio-specialized-key-to-generic-key)
11927 (eieio--check-type, class-v, class-p)
11928 (eieio-class-name, define-obsolete-function-alias)
11929 (eieio-class-parents-fast, eieio-class-children-fast)
11930 (same-class-fast-p, class-constructor, generic-p)
11931 (generic-primary-only-p, generic-primary-only-one-p)
11932 (class-option-assoc, class-option, eieio-object-p)
11933 (class-abstract-p, class-method-invocation-order)
11934 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11935 (eieio-class-un-autoload, eieio-defclass)
11936 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11937 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11938 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11939 (eieio-defgeneric-reset-generic-form)
11940 (eieio-defgeneric-form-primary-only)
11941 (eieio-defgeneric-reset-generic-form-primary-only)
11942 (eieio-defgeneric-form-primary-only-one)
11943 (eieio-defgeneric-reset-generic-form-primary-only-one)
11944 (eieio-unbind-method-implementations)
11945 (eieio--defmethod, eieio--typep)
11946 (eieio-perform-slot-validation, eieio-validate-slot-value)
11947 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11948 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11949 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11950 (eieio-slot-name-index, eieio-class-slot-name-index)
11951 (eieio-set-defaults, eieio-initarg-to-attribute)
11952 (eieio-attribute-to-initarg, eieio-c3-candidate)
11953 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11954 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11955 (eieio-class-precedence-list, eieio-generic-call-methodname)
11956 (eieio-generic-call-arglst, eieio-generic-call-key)
11957 (eieio-generic-call-next-method-list)
11958 (eieio-pre-method-execution-functions, eieio-generic-call)
11959 (eieio-generic-call-primary-only, eieiomt-method-list)
11960 (eieiomt-optimizing-obarray, eieiomt-install)
11961 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11962 (eieio-generic-form, eieio-defmethod, make-obsolete)
11963 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11964 (defclass): Remove `eval-and-compile' from macro.
11965 (call-next-method, shared-initialize): Instead of using
11966 `scoped-class' variable, use new eieio--scoped-class, and
11967 eieio--with-scoped-class.
11968 (initialize-instance): Rename local variable 'scoped-class' to
11969 'this-class' to remove ambiguitity from old global.
11970
11971 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11972 eieio.el.
11973 (eieio--scoped-class-stack): New variable.
11974 (eieio--scoped-class): New fcn.
11975 (eieio--with-scoped-class): New scoping macro.
11976 (eieio-defclass): Use pushnew instead of add-to-list.
11977 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11978 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11979 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11980 `scoped-class' variable, use new eieio--scoped-class, and
11981 eieio--with-scoped-class.
11982
11983 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11984
11985 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11986
11987 * eshell/esh-ext.el (eshell-external-command): Pass args to
11988 `eshell-find-interpreter'.
11989 (eshell-find-interpreter): Add new second parameter ARGS.
11990
11991 * eshell/em-script.el (eshell-script-initialize): Add second arg
11992 to the function added as MATCH to `eshell-interpreter-alist'.
11993
11994 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11995 the function added as MATCH to `eshell-interpreter-alist'.
11996
11997 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11998 (eshell-visual-options): New defcustom.
11999 (eshell-escape-control-x): Adapt docstring.
12000 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12001 `eshell-visual-options' in addition to `eshell-visual-commands'.
12002 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12003
12004 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12005
12006 * progmodes/python.el (python-indent-block-enders): Add break,
12007 continue and raise keywords.
12008
12009 2013-06-01 Glenn Morris <rgm@gnu.org>
12010
12011 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12012
12013 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12014 * progmodes/cc-cmds.el (delete-forward-p):
12015 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12016 * progmodes/cc-engine.el (buffer-syntactic-context):
12017 * progmodes/cc-fonts.el (face-property-instance):
12018 * progmodes/cc-mode.el (set-keymap-parents):
12019 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12020 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12021 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12022 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12023 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12024
12025 * progmodes/cc-vars.el (other): Emacs has this widget since
12026 at least 21.1, so don't (re)define it.
12027
12028 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12029 Replace the obsolete alias pcomplete-arg-quote-list.
12030
12031 2013-06-01 Leo Liu <sdl.web@gmail.com>
12032
12033 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12034 punctuation syntax.
12035 (inferior-octave-minimal-columns)
12036 (inferior-octave-last-column-width): New variables.
12037 (inferior-octave-track-window-width-change): New function.
12038 (inferior-octave-mode): Adjust column width so that Octave output,
12039 for example from 'ls', can fit into the window nicely.
12040
12041 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12042
12043 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12044 Highlight expansions inside regexp literals.
12045
12046 2013-05-31 Glenn Morris <rgm@gnu.org>
12047
12048 * obsolete/sym-comp.el (symbol-complete):
12049 Replace obsolete completion-annotate-function.
12050
12051 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12052
12053 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12054
12055 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12056 New function, checks if point is inside a literal that allows
12057 expression expansion.
12058 (ruby-syntax-propertize-expansion): Use it.
12059 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12060 around the body.
12061
12062 2013-05-30 Juri Linkov <juri@jurta.org>
12063
12064 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12065 to "\M-si".
12066 (isearch-invisible): New variable.
12067 (isearch-forward): Doc fix.
12068 (isearch-mode): Set `isearch-invisible'
12069 to the value of `search-invisible'.
12070 (isearch-toggle-case-fold): Doc fix.
12071 (isearch-toggle-invisible): New command.
12072 (isearch-query-replace): Let-bind `search-invisible'
12073 to the value of `isearch-invisible'.
12074 (isearch-search): Use `isearch-invisible' instead of
12075 `search-invisible'. Let-bind `search-invisible'
12076 to the value of `isearch-invisible'. (Bug#11378)
12077
12078 2013-05-30 Juri Linkov <juri@jurta.org>
12079
12080 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12081 call when `query-flag' is nil and `search-invisible' is non-nil.
12082 (Bug#11746)
12083
12084 2013-05-30 Glenn Morris <rgm@gnu.org>
12085
12086 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12087
12088 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12089 (cc-require): Suppress spurious "noruntime" warnings.
12090 (cc-require-when-compile): Use fboundp, for sake of compiler.
12091
12092 * progmodes/cc-mode.el: Move load of cc-vars before that of
12093 cc-langs (which in turn loads cc-vars), to quieten compiler.
12094
12095 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * paren.el: Simplify the code.
12098 (show-paren-mode): Always start the timer.
12099 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12100 (show-paren--overlay, show-paren--overlay-1): Rename from
12101 show-paren-overlay and show-paren-overlay-1, and initialize to an
12102 overlay rather than to nil.
12103 (show-paren-function): Misc cleanup and simplifications.
12104
12105 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12106
12107 * paren.el (show-paren-data-function): New hook.
12108 (show-paren--default): New function, extracted from show-paren-function.
12109 (show-paren-function): Use show-paren-data-function.
12110
12111 2013-05-30 Glenn Morris <rgm@gnu.org>
12112
12113 * ielm.el (ielm-map, ielm-complete-symbol):
12114 Use completion-at-point rather than obsolete functions.
12115 (inferior-emacs-lisp-mode): Doc fix.
12116 Set completion-at-point-functions, rather than
12117 comint-dynamic-complete-functions.
12118
12119 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12120 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12121 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12122
12123 * image.el (image-animated-p): Tweak definition.
12124
12125 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12126 (rlogin-process-connection-type): Tweak default. Add set-after.
12127 (rlogin-host): Doc fix.
12128 (rlogin): Tweak prompt.
12129 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12130
12131 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12132 * progmodes/tcl.el (inferior-tcl-mode-map):
12133 Use completion-at-point rather than obsolete alias.
12134
12135 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12136
12137 * minibuffer.el (read-file-name-completion-ignore-case):
12138 Move before completion--in-region, for eager macro expansion.
12139
12140 2013-05-29 Juri Linkov <juri@jurta.org>
12141
12142 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12143 for total count of matching lines. Add `global-matches' for total
12144 count of matches. Rename `matches' to `lines' for count of
12145 matching lines. Add `matches' for count of matches.
12146 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12147 to `prev-line' for line number of prev match endpt.
12148 Increment `matches' for every match. Print the number of
12149 matching lines in the header.
12150 (occur-context-lines): Rename `lines' to `curr-line'.
12151 Rename `prev-lines' to `prev-line'. (Bug#14017)
12152
12153 2013-05-29 Juri Linkov <juri@jurta.org>
12154
12155 * replace.el (perform-replace): Add `skip-read-only-count',
12156 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12157 Increment them for corresponding conditions and report the number
12158 of skipped occurrences in the final message. (Bug#11746)
12159 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12160 (replace-string, replace-regexp): Doc fix.
12161
12162 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12163
12164 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12165
12166 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12167 prog-mode-map (bug#14504).
12168
12169 2013-05-29 Leo Liu <sdl.web@gmail.com>
12170
12171 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12172 (octave-help): Small simplification.
12173
12174 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12175 off the highlight first.
12176
12177 2013-05-29 Glenn Morris <rgm@gnu.org>
12178
12179 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12180 Handle idlwave-last-system-routine-info-cons-cell being nil.
12181
12182 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12183 (idlwave-write-paths): Simplify via with-temp-buffer.
12184
12185 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12186 * emulation/cua-rect.el: Also load cua-base at run time.
12187
12188 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12189 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12190 (cperl-imenu-on-info): Require imenu.
12191
12192 2013-05-28 Alan Mackenzie <acm@muc.de>
12193
12194 Handle "capitalised keywords" correctly.
12195 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12196
12197 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12198
12199 * eshell/em-unix.el: Add -r option to cp.
12200
12201 2013-05-28 Glenn Morris <rgm@gnu.org>
12202
12203 * vc/vc-arch.el (vc-exec-after): Declare.
12204 (vc-switches): Autoload.
12205 * vc/vc-bzr.el: No need to require vc when compiling.
12206 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12207 (vc-resynch-buffer, vc-dir-refresh): Declare.
12208 (vc-setup-buffer, vc-switches): Autoload.
12209 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12210 (vc-resynch-buffer): Declare.
12211 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12212 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12213 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12214 (grep-read-regexp, grep-read-files, grep-expand-template)
12215 (vc-dir-refresh): Declare.
12216 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12217 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12218 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12219 * vc/vc-mtn.el (vc-exec-after): Declare.
12220 (vc-switches): Autoload.
12221 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12222 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12223 (vc-file-tree-walk): Declare.
12224 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12225 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12226 (vc-tag-precondition, vc-rename-master): Autoload.
12227 * vc/vc-svn.el (vc-exec-after): Declare.
12228 (vc-switches, vc-setup-buffer): Autoload.
12229 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12230 Autoload.
12231 (vc-resynch-buffer): Declare.
12232
12233 * obsolete/fast-lock.el (byte-compile-warnings):
12234 Don't warn about obsolete features in this obsolete file.
12235
12236 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12237 Move definition before use.
12238
12239 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12240 (dun-unix-verbs): Remove dun-zippy.
12241 (dun-zippy): Remove function.
12242
12243 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12244
12245 2013-05-27 Juri Linkov <juri@jurta.org>
12246
12247 * replace.el (replace-search): New function with code moved out
12248 from `perform-replace'.
12249 (replace-highlight, replace-dehighlight): Move function definitions
12250 up closer to `replace-search'. (Bug#11746)
12251
12252 2013-05-27 Juri Linkov <juri@jurta.org>
12253
12254 * replace.el (perform-replace): Ignore invisible matches.
12255 In addition to checking `query-replace-skip-read-only', also
12256 filter out matches by calling `run-hook-with-args-until-failure'
12257 on `isearch-filter-predicates', and also check `search-invisible'
12258 for t or call `isearch-range-invisible'.
12259 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12260
12261 2013-05-27 Juri Linkov <juri@jurta.org>
12262
12263 * isearch.el (isearch-filter-predicates): Rename from
12264 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12265 (isearch-message-prefix): Display text from the property
12266 `isearch-message-prefix' of the currently active filters.
12267 (isearch-search): Don't compare `isearch-filter-predicate' with
12268 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12269 on `isearch-filter-predicates'. Also check `search-invisible' for t
12270 or call `isearch-range-invisible'.
12271 (isearch-filter-visible): Make obsolete.
12272 (isearch-lazy-highlight-search):
12273 Call `run-hook-with-args-until-failure' on
12274 `isearch-filter-predicates' and use `isearch-range-invisible'.
12275
12276 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12277 `isearch-filter-predicates' instead of `funcall'ing
12278 `isearch-filter-predicate'.
12279 (Info-mode): Set `Info-isearch-filter' to
12280 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12281
12282 * dired-aux.el (dired-isearch-filter-predicate-orig):
12283 Remove variable.
12284 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12285 (dired-isearch-filenames-end): Add and remove
12286 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12287 instead of changing the value of `isearch-filter-predicate'.
12288 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12289 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12290 Put property `isearch-message-prefix' to "filename " on
12291 `dired-isearch-filter-filenames'.
12292
12293 * wdired.el (wdired-change-to-wdired-mode):
12294 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12295 locally instead of changing `isearch-filter-predicate'.
12296 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12297
12298 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12299
12300 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12301 return the commit hash (Bug#14459). Also set the
12302 `vc-git-detached' property.
12303 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12304 (vc-git-mode-line-string): Use the same help-echo format whether
12305 in detached mode or not, because we know the actual revision now.
12306 When in detached mode, shorten the revision to 7 chars.
12307
12308 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * emacs-lisp/easy-mmode.el (define-minor-mode):
12311 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12312 mode hook and provide a docstring.
12313
12314 2013-05-27 Alan Mackenzie <acm@muc.de>
12315
12316 Remove spurious syntax-table text properties inserted by C-y.
12317 * progmodes/cc-mode.el (c-after-change): Also clear hard
12318 syntax-table property with value nil.
12319
12320 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12321
12322 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12323 when reading the events; the buffer layout shall not be changed.
12324
12325 2013-05-27 Leo Liu <sdl.web@gmail.com>
12326
12327 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12328 New variable.
12329 (inferior-octave-directory-tracker): Automatically re-sync
12330 default-directory.
12331 (octave-help): Improve handling of 'See also'.
12332
12333 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * doc-view.el: Minor naming convention tweaks.
12336 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12337
12338 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12339 even if there's no `display' property yet (bug#14435).
12340
12341 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12342
12343 * subr.el (unmsys--file-name): Rename from reveal-filename.
12344
12345 * Makefile.in (custom-deps, finder-data, autoloads)
12346 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12347 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12348 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12349
12350 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12351
12352 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12353 error-completion on the first 2 args of condition-case (bug#14446).
12354 Don't burp at EOB.
12355
12356 2013-05-25 Leo Liu <sdl.web@gmail.com>
12357
12358 * comint.el (comint-previous-matching-input): Do not flood the
12359 *Messages* buffer with trivial messages.
12360
12361 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12362
12363 * progmodes/flymake.el (flymake-nop): Don't return a string.
12364 (flymake-set-at): Fix typo.
12365
12366 * simple.el (read--expression): New function, extracted from
12367 eval-expression. Set completion-at-point-functions (bug#14465).
12368 (eval-expression, eval-minibuffer): Use it.
12369
12370 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12371
12372 * progmodes/flymake.el (flymake-save-buffer-in-file)
12373 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12374 (flymake-selected-frame, flymake-log, flymake-ins-after)
12375 (flymake-set-at, flymake-get-buildfile-from-cache)
12376 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12377 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12378 Refine the doc string.
12379 (flymake-get-file-name-mode-and-masks): Reformat.
12380 (flymake-get-real-file-name-function): Fix a minor bug.
12381
12382 2013-05-24 Juri Linkov <juri@jurta.org>
12383
12384 * progmodes/grep.el (grep-mode-font-lock-keywords):
12385 Support =linenumber= format used by git-grep for lines with
12386 function names. (Bug#13549)
12387
12388 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12389
12390 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12391 0 after a semi-colon; it works better for smie-auto-fill.
12392 (octave--indent-new-comment-line): New function.
12393 (octave-indent-new-comment-line): Use it (indirectly).
12394 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12395 modify comment-line-break-function.
12396
12397 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12398 (smie-setup): Use add-function to set it.
12399
12400 2013-05-24 Sam Steingold <sds@gnu.org>
12401
12402 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12403 argument (before the `interactive' argument).
12404
12405 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12406
12407 * image-mode.el (image-mode-winprops): Add winprops to
12408 image-mode-winprops-alist before running
12409 image-mode-new-window-functions.
12410 * doc-view.el (doc-view-new-window-function): Don't delay
12411 doc-view-goto-page via timers (bug#14435).
12412
12413 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12414
12415 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12416 (doc-view-desktop-save-buffer): New function.
12417 (doc-view-restore-desktop-buffer): New function.
12418 (desktop-buffer-mode-handlers):
12419 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12420 handler.
12421 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12422 `desktop-save-buffer' function.
12423
12424 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12425
12426 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12427 (tramp-gvfs-file-name-handler): Raise a user error when
12428 `tramp-gvfs-enabled' is nil.
12429 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12430 Do not raise a user error when loading package. (Bug#14447)
12431
12432 * net/xesam.el: Move to obsolete/.
12433
12434 2013-05-24 Glenn Morris <rgm@gnu.org>
12435
12436 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12437
12438 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12439
12440 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12441 (Info-find-node, Man-getpage-in-background): Declare.
12442
12443 * mail/unrmail.el (unrmail):
12444 Replace obsolete detect-coding-with-priority.
12445
12446 * net/socks.el (socks-split-string): Use this rather than split-string.
12447 (socks-nslookup-host): Update for above change.
12448 (dynamic-choice, s5-dynamic-choice-match)
12449 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12450 Comment out unused code.
12451
12452 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12453 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12454 (gud-tooltip-echo-area): Make obsolete.
12455 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12456
12457 * progmodes/js.el (js--optimize-arglist): Declare.
12458
12459 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12460
12461 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12462 (ediff-window-C): Declare.
12463
12464 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12465 Tweak requires to silence compiler.
12466
12467 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12468 (he-search-string, he-tried-table, he-expand-list)
12469 (he-init-string, he-string-member, he-substitute-string)
12470 (he-reset-string): Declare.
12471
12472 * obsolete/options.el (list-options): Use custom-variable-p,
12473 rather than obsolete alias.
12474
12475 2013-05-23 Sam Steingold <sds@gnu.org>
12476
12477 * simple.el (shell-command-on-region): Pass the `replace' argument
12478 down to `call-process-region' to comply with the doc as reported on
12479 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12480
12481 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12482
12483 * emacs-lisp/smie.el (smie-indent-forward-token)
12484 (smie-indent-backward-token): Handle string tokens (bug#14381).
12485
12486 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12487
12488 * ielm.el (ielm-menu): New menu.
12489 (inferior-emacs-lisp-mode): Set comment-start.
12490
12491 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12492
12493 * textmodes/reftex.el (reftex-ref-style-toggle):
12494 Fix deactivate action.
12495
12496 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12497 Add cleveref macros.
12498
12499 * textmodes/reftex-parse.el
12500 (reftex-locate-bibliography-files): Accept options for
12501 bibliography commands.
12502 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12503 Add addbibresource. Basic Biblatex support.
12504
12505 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12506
12507 * net/tramp-gvfs.el (top):
12508 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12509 when loading package. (Bug#14447)
12510
12511 2013-05-23 Glenn Morris <rgm@gnu.org>
12512
12513 * progmodes/js.el: No need to load comint when compiling.
12514 (ring-insert, comint-send-string, comint-send-input)
12515 (comint-last-input-end, ido-chop): Declare.
12516
12517 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12518 * vc/ediff-mult.el: Adjust requires.
12519 (ediff-directories-internal, ediff-directory-revisions-internal)
12520 (ediff-patch-file-internal): Declare.
12521 * vc/ediff-ptch.el: Adjust requires.
12522 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12523 (ediff-find-file): Autoload.
12524 * vc/ediff-util.el: No need to load ediff when compiling.
12525 (ediff-regions-internal): Declare.
12526 * vc/ediff-wind.el: Adjust requires.
12527 (ediff-compute-toolbar-width): Define when compiling.
12528 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12529 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12530 (dired-get-filename, dired-get-marked-files)
12531 (ediff-last-dir-patch, ediff-patch-default-directory)
12532 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12533 (ediff-patch-buffer-internal): Declare.
12534
12535 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12536 (ispell-process, ispell-buffer-local-words, lm-summary)
12537 (lm-section-start, lm-section-end): Declare.
12538 (checkdoc-ispell-init): Simplify.
12539
12540 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12541 (he-string-member, he-reset-string, he-substitute-string): Declare.
12542
12543 * eshell/em-ls.el: Adjust requires.
12544 (eshell-glob-regexp): Declare.
12545 * eshell/em-tramp.el: Adjust requires.
12546 (eshell-parse-command): Autoload.
12547 * eshell/em-xtra.el: Adjust requires.
12548 (eshell-parse-command): Autoload.
12549 * eshell/esh-ext.el: Adjust requires.
12550 (eshell-parse-command, eshell-close-handles): Autoload.
12551 * eshell/esh-io.el: Adjust requires.
12552 (eshell-output-filter): Autoload.
12553 * eshell/esh-util.el: No need to load tramp when compiling.
12554 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12555 Declare.
12556 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12557 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12558 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12559 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12560 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12561 * eshell/esh-opt.el, eshell/esh-proc.el:
12562 * eshell/esh-var.el: Adjust requires.
12563 * eshell/eshell.el: Do not require esh-util twice.
12564 (eshell-add-input-to-history): Declare.
12565 (eshell-command): Check history module is active before using it.
12566
12567 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12568
12569 2013-05-22 Leo Liu <sdl.web@gmail.com>
12570
12571 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12572
12573 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12574
12575 * autorevert.el (auto-revert-notify-add-watch)
12576 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12577 it indicates changes in file modification time.
12578
12579 2013-05-22 Glenn Morris <rgm@gnu.org>
12580
12581 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12582 Always delete the autoloaded function from the noruntime and
12583 unresolved functions lists.
12584
12585 * allout.el: No need to load epa, epg, overlay when compiling.
12586 (epg-context-set-passphrase-callback, epg-list-keys)
12587 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12588 (epg-key-user-id-list): Declare.
12589
12590 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12591 (viper-set-parsing-style-toggling-macro)
12592 (viper-set-emacs-state-searchstyle-macros):
12593 Use called-interactively-p on Emacs.
12594 (viper-looking-back): Make it an obsolete alias. Update callers.
12595 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12596 Use looking-back rather than viper-looking-back.
12597 (viper-tmp-insert-at-eob, viper-enlarge-region)
12598 (viper-read-string-with-history, viper-register-to-point)
12599 (viper-append-to-register, viper-change-state-to-vi)
12600 (viper-backward-char-carefully, viper-forward-char-carefully)
12601 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12602 (viper-change-state-to-emacs): Declare.
12603 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12604 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12605 * emulation/viper-mous.el: Do not load viper-cmd.
12606 (viper-backward-char-carefully, viper-forward-char-carefully)
12607 (viper-forward-word, viper-adjust-window): Declare.
12608
12609 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12610
12611 * progmodes/idlw-help.el (idlwave-help-fontify):
12612 Use called-interactively-p.
12613
12614 * term/w32console.el (w32-get-console-codepage)
12615 (w32-get-console-output-codepage): Declare.
12616
12617 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12618 Remove unnecessary declarations.
12619 (dframe-message): Doc fix.
12620
12621 * info.el (dframe-select-attached-frame, dframe-current-frame):
12622 Declare.
12623
12624 * speedbar.el (speedbar-message): Make it an obsolete alias.
12625 Update all callers.
12626 (speedbar-with-attached-buffer)
12627 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12628 (speedbar-with-writable): Use backquote.
12629 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12630 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12631 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12632 rather than speedbar- aliases.
12633 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12634 (speedbar-make-specialized-keymap, speedbar-insert-button)
12635 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12636 (speedbar-do-function-pointer): Declare.
12637 (rmail-speedbar-button, rmail-speedbar-find-file)
12638 (rmail-speedbar-move-message):
12639 Use dframe-with-attached-buffer rather than speedbar- alias.
12640 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12641 (dframe-message, speedbar-make-specialized-keymap)
12642 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12643 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12644 (speedbar-insert-button, dframe-select-attached-frame)
12645 (dframe-maybee-jump-to-attached-frame)
12646 (speedbar-change-initial-expansion-list)
12647 (speedbar-previously-used-expansion-list-name): Declare.
12648 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12649 Use dframe-message, dframe-with-attached-buffer rather than
12650 speedbar- aliases.
12651 (gud-sentinel): Silence compiler.
12652 * progmodes/vhdl-mode.el (speedbar-refresh)
12653 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12654 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12655 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12656 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12657 (speedbar-file-lists, speedbar-make-tag-line)
12658 (speedbar-line-directory, speedbar-goto-this-file)
12659 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12660 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12661 (speedbar-make-button, speedbar-reset-scanners)
12662 (speedbar-files-item-info, speedbar-line-text)
12663 (speedbar-find-file-in-frame, speedbar-set-timer)
12664 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12665 (speedbar-with-writable): Do not (re)define it.
12666 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12667 rather than speedbar- alias.
12668
12669 2013-05-21 Leo Liu <sdl.web@gmail.com>
12670
12671 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12672 menu items.
12673 (octave-mode): Tweak fill-nobreak-predicate.
12674 (inferior-octave-startup): Check process to avoid infinite loop.
12675 (inferior-octave): Pop to buffer first to show abornmal process
12676 exit information.
12677
12678 2013-05-21 Glenn Morris <rgm@gnu.org>
12679
12680 * printing.el (pr-menu-bar): Define when compiling.
12681
12682 2013-05-21 Leo Liu <sdl.web@gmail.com>
12683
12684 * progmodes/octave.el (octave-auto-fill): Remove.
12685 (octave-indent-new-comment-line): Improve.
12686 (octave-mode): Use auto fill mode through
12687 comment-line-break-function and fill-nobreak-predicate.
12688 (octave-goto-function-definition): Support DEFUN_DLD.
12689 (octave-beginning-of-defun): Small tweak.
12690 (octave-help): Show parent directory.
12691
12692 2013-05-21 Glenn Morris <rgm@gnu.org>
12693
12694 * files.el (dired-unmark):
12695 * progmodes/gud.el (gdb-input): Update declarations.
12696
12697 * calculator.el (electric, ehelp): No need to load when compiling.
12698 (Electric-command-loop, electric-describe-mode): Declare.
12699
12700 * doc-view.el (doc-view-current-converter-processes): Move before use.
12701
12702 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12703 Move MODE-set-explicitly definition before use.
12704
12705 * international/mule-diag.el (mule-diag):
12706 Don't use obsolete window-system-version.
12707
12708 * mail/feedmail.el (smtpmail): No need to load when compiling.
12709 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12710
12711 * mail/mail-utils.el (rfc822): No need to load when compiling.
12712 (rfc822-addresses): Autoload it.
12713 (mail-strip-quoted-names): Trivial simplification.
12714
12715 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12716 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12717
12718 * net/snmp-mode.el (tempo): Don't duplicate requires.
12719
12720 * progmodes/prolog.el (info): No need to load when compiling.
12721 (comint): Require before shell requires it.
12722 (Info-goto-node): Autoload it.
12723 (Info-follow-nearest-node): Declare.
12724 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12725
12726 * textmodes/artist.el (picture-mode-exit): Declare.
12727
12728 * textmodes/reftex-parse.el (reftex-parse-from-file):
12729 Trivial rewrite so the compiler can parse it better.
12730
12731 2013-05-20 Leo Liu <sdl.web@gmail.com>
12732
12733 * progmodes/octave.el (octave-help-mode-map)
12734 (octave-help-mode-finish-hook): New variables.
12735 (octave-help-mode, octave-help-mode-finish): New functions.
12736 (octave-help): Use octave-help-mode.
12737
12738 2013-05-20 Glenn Morris <rgm@gnu.org>
12739
12740 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12741
12742 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12743
12744 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12745 start at point, so that expansion starting right after opening
12746 slash in a regexp is recognized.
12747 (ruby-syntax-before-regexp-re): New defvar, extracted from
12748 ruby-syntax-propertize-function. Since the value of this regexp
12749 is looked up at runtime now, we should be able to turn
12750 `ruby-syntax-methods-before-regexp' into a defcustom later.
12751 (ruby-syntax-propertize-function): Split regexp matching into two
12752 parts, for opening and closing slashes. That allows us to skip
12753 over string interpolations and support multiline regexps.
12754 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12755 for them, which calls `ruby-syntax-propertize-expansion'.
12756 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12757 call to `ruby-syntax-propertize-function'.
12758 (ruby-syntax-propertize-expansion): Extracted from
12759 `ruby-syntax-propertize-expansions'. Handles one expansion.
12760 (ruby-syntax-propertize-percent-literal): Leave point right after
12761 the percent symbol, so that the expression expansion rule can
12762 propertize the contents.
12763 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12764 heredoc openers.
12765 (ruby-syntax-propertize-expansions): Remove.
12766
12767 2013-05-18 Juri Linkov <juri@jurta.org>
12768
12769 * man.el (Man-default-man-entry): Remove `-' from the end
12770 of the default value. (Bug#14400)
12771
12772 2013-05-18 Glenn Morris <rgm@gnu.org>
12773
12774 * comint.el (comint-password-prompt-regexp):
12775 Allow "password for XXX" where XXX contains colons (eg https://...).
12776
12777 2013-05-18 Leo Liu <sdl.web@gmail.com>
12778
12779 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12780 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12781 (octave-source-directories): Don't check process.
12782 (octave-source-directories, octave-find-definition): Doc fix.
12783
12784 2013-05-18 Glenn Morris <rgm@gnu.org>
12785
12786 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12787 Remove backspace/delete bindings. (Bug#14392)
12788
12789 * cus-dep.el (custom-make-dependencies): Sort the output.
12790 (custom-versions-load-alist): Convert comment to doc.
12791
12792 2013-05-17 Leo Liu <sdl.web@gmail.com>
12793
12794 * newcomment.el (comment-search-backward): Stricter in finding
12795 comment start. (Bug#14303)
12796
12797 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12798 (octave-comment-start-skip): Properly anchored.
12799
12800 2013-05-17 Leo Liu <sdl.web@gmail.com>
12801
12802 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12803 Clean up when turned off. (Bug#14395)
12804 (smie--highlight-matching-block-overlay): No longer buffer-local.
12805 (smie-highlight-matching-block): Adjust.
12806
12807 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12808
12809 Doc string fix for "nanoseconds" (Bug#14406).
12810 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12811 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12812
12813 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12814
12815 * calc/calc-units.el (math-extract-units): Preserve powers
12816 of units.
12817
12818 2013-05-17 Leo Liu <sdl.web@gmail.com>
12819
12820 * subr.el (delete-consecutive-dups): New function.
12821 * ido.el (ido-set-matches-1): Use it.
12822 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12823 * ido.el (ido-remove-consecutive-dups): Remove.
12824
12825 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12826
12827 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12828 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12829 regexp-opt's `words'.
12830
12831 2013-05-16 Leo Liu <sdl.web@gmail.com>
12832
12833 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12834 (smie--highlight-matching-block-overlay)
12835 (smie--highlight-matching-block-lastpos)
12836 (smie--highlight-matching-block-timer): New variables.
12837 (smie-highlight-matching-block): New function.
12838 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12839 (smie-setup): Conditionally enable smie-blink-matching-open.
12840
12841 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12842
12843 Sync with upstream verilog-mode r840.
12844 * progmodes/verilog-mode.el (verilog-mode-version)
12845 (verilog-mode-release-date): Update.
12846 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12847 (verilog-sig-tieoff): Fix string error on
12848 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12849 (verilog-read-decls): Fix parameters confusing
12850 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12851
12852 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12853
12854 * subr.el (reveal-filename): New function.
12855
12856 * loadup.el: Compute Emacs executable versions on MS-Windows,
12857 where executables have the .exe extension. Add a hard link
12858 emacs-XX.YY.ZZ.exe on MS-Windows.
12859
12860 * Makefile.in (XARGS_LIMIT): New variable.
12861 (custom-deps, finder-data, autoloads)
12862 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12863 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12864 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12865 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12866
12867 2013-05-16 Leo Liu <sdl.web@gmail.com>
12868
12869 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12870 (octave-mode-menu, octave-mode-map): Remove its uses.
12871
12872 2013-05-16 Reto Zimmermann <reto@gnu.org>
12873
12874 Sync with upstream vhdl mode v3.34.2.
12875 * progmodes/vhdl-mode.el: Use `push' throughout.
12876 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12877 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12878 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12879 (vhdl-actual-generic-name): New option to derive actual generic name.
12880 (vhdl-port-paste-signals): Replace formal by actual generics.
12881 (vhdl-beautify): New name for old group vhdl-align. Update users.
12882 (vhdl-beautify-options): New option.
12883 (vhdl-last-input-event): New compat alias. Use throughout.
12884 (vhdl-goto-line): Replace user level function `goto-line'.
12885 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12886 vhdl-fix-statement-buffer.
12887 (vhdl-create-mode-menu): Add some entries.
12888 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12889 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12890 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12891 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12892 to force statements on one line.
12893 (vhdl-remove-trailing-spaces-region):
12894 New, split from vhdl-remove-trailing-spaces.
12895 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12896 Respect vhdl-beautify-options.
12897 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12898 (vhdl-update-sensitivity-list): Not add with index if exists without.
12899 Not include array index with signal. Ignore keywords in comments.
12900 (vhdl-get-visible-signals): Regexp tweaks.
12901 (vhdl-template-component-inst): Handle empty library.
12902 (vhdl-template-type): Add template for 'enum' type.
12903 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12904 Use vhdl-replace-string.
12905 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12906 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12907 (vhdl-speedbar-initialize): Update for above name change.
12908 (vhdl-compose-wire-components): Fix in handling of constants.
12909 (vhdl-error-regexp-emacs-alist): New variable.
12910 (vhdl-error-regexp-add-emacs): New function;
12911 adds support for new compile.el (Emacs 22+)
12912 (vhdl-generate-makefile-1): Change target order for single lib. units.
12913 Allow use of absolute file names.
12914
12915 2013-05-16 Leo Liu <sdl.web@gmail.com>
12916
12917 * simple.el (prog-indent-sexp): Indent enclosing defun.
12918
12919 2013-05-15 Glenn Morris <rgm@gnu.org>
12920
12921 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12922 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12923 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12924 (whitespace-highlight): Move to whitespace group.
12925
12926 * comint.el (comint-source):
12927 * pcmpl-linux.el (pcmpl-linux):
12928 * shell.el (shell-faces):
12929 * eshell/esh-opt.el (eshell-opt):
12930 * international/ccl.el (ccl): Remove empty custom groups.
12931
12932 * completion.el (dynamic-completion-mode):
12933 * jit-lock.el (jit-lock-debug-mode):
12934 * minibuffer.el (completion-in-region-mode):
12935 * type-break.el (type-break-mode-line-message-mode)
12936 (type-break-query-mode):
12937 * emulation/tpu-edt.el (tpu-edt-mode):
12938 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12939 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12940 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12941
12942 * term/xterm.el (xterm): Change parent group to terminals.
12943
12944 * master.el (master): Remove empty custom group.
12945 (master-mode): Remove unused :group argument.
12946 * textmodes/refill.el (refill): Remove empty custom group.
12947 (refill-mode): Remove unused :group argument.
12948
12949 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12950
12951 * cus-dep.el: Provide a feature.
12952 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12953 Don't mistakenly ignore files whose basenames match a basename
12954 from preloaded-file-list (eg cedet/ede/simple.el).
12955 Add a fallback method for getting :group.
12956
12957 2013-05-15 Juri Linkov <juri@jurta.org>
12958
12959 * isearch.el (isearch-char-by-name): Rename from
12960 `isearch-insert-char-by-name'. Doc fix.
12961 (isearch-forward): Mention `isearch-char-by-name' in
12962 the docstring. (Bug#13348)
12963
12964 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12965 `exit-minibuffer' instead of
12966 `isearch-nonincremental-exit-minibuffer'.
12967 (isearch-edit-string): Remove mention of
12968 `isearch-nonincremental-exit-minibuffer' from docstring.
12969 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12970 (isearch-forward-exit-minibuffer)
12971 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12972
12973 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * loadup.el: Just use unversioned DOC.
12976
12977 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12978 literals as extending to EOB.
12979 (nxml-last-fontify-end): Remove unused variable.
12980 (nxml-after-change1): Use with-silent-modifications.
12981 (nxml-extend-after-change-region): Simplify.
12982 (nxml-extend-after-change-region1): Remove function.
12983 (nxml-after-change1): Don't adjust for dependent regions.
12984 (nxml-fontify-matcher): Simplify.
12985 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12986 (xmltok-add-dependent): Remove function.
12987 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12988 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12989 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12990 unclosed <[[, <?, comment, and other literals as extending to EOB.
12991 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12992 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12993 Remove functions.
12994 (rng-do-some-validation-1): Don't mark dependent regions.
12995 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12996 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12997 (nxml-clear-dependent-regions): Remove functions.
12998 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12999 (nxml-ensure-scan-up-to-date):
13000 Don't clear&mark dependent regions.
13001
13002 2013-05-15 Leo Liu <sdl.web@gmail.com>
13003
13004 * progmodes/octave.el (octave-goto-function-definition):
13005 Improve and fix callers.
13006
13007 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13008
13009 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13010 the setter (bug#14387).
13011
13012 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13013 surrounding group (bug#14402).
13014
13015 2013-05-14 Juri Linkov <juri@jurta.org>
13016
13017 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13018 (Bug#14390)
13019
13020 2013-05-14 Glenn Morris <rgm@gnu.org>
13021
13022 * progmodes/f90.el (f90-imenu-generic-expression):
13023 Fix typo in 2013-05-08 change. (Bug#14402)
13024
13025 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13026
13027 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13028 Remove signals for which replies are never received.
13029
13030 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13031
13032 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13033 (gdb-handler-alist, gdb-handler-number): Remove variables.
13034 (gdb-handler-list): New variable.
13035 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13036 (gdb-pending-handler-p, gdb-handle-reply)
13037 (gdb-remove-all-pending-triggers): New functions.
13038 (gdb-discard-unordered-replies): New defcustom.
13039 (gdb-handler): New defstruct.
13040 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13041 instead of gdb-pending-triggers. Update docstring.
13042 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13043 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13044 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13045 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13046 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13047 (gdb-frame-handler): Pending triggers are now automatically managed.
13048 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13049 Remove argument.
13050 (gdb-input): Automatically handles pending triggers. Update docstring.
13051 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13052 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13053 Update comments.
13054 (gdb-done-or-error): Now use gdb-handle-reply.
13055
13056 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13057
13058 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13059 gdb-debug-log.
13060
13061 2013-05-14 Glenn Morris <rgm@gnu.org>
13062
13063 * subr.el (user-emacs-directory-warning): New option.
13064 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13065
13066 2013-05-14 Leo Liu <sdl.web@gmail.com>
13067
13068 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13069 during redisplay.
13070 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13071 (octave-font-lock-texinfo-comment): Fix invalid search bound
13072 error: wrong side of point.
13073
13074 2013-05-14 Glenn Morris <rgm@gnu.org>
13075
13076 * progmodes/flymake.el (flymake-xml-program): New option.
13077 (flymake-xml-init): Use it.
13078
13079 * term/xterm.el: Provide a feature.
13080
13081 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13082
13083 2013-05-13 Glenn Morris <rgm@gnu.org>
13084
13085 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13086 Add compat aliases as a hack workaround. (Bug#14384)
13087
13088 2013-05-13 Leo Liu <sdl.web@gmail.com>
13089
13090 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13091 ###, and %!.
13092 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13093 C-M-q.
13094 (octave-comment-start-skip): Include %!.
13095 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13096
13097 2013-05-12 Leo Liu <sdl.web@gmail.com>
13098
13099 * progmodes/octave.el (inferior-octave-startup): Store the value
13100 of __octave_srcdir__ for octave-source-directories.
13101 (inferior-octave-check-process): New function refactored out of
13102 inferior-octave-send-list-and-digest.
13103 (octave-source-directories)
13104 (octave-find-definition-filename-function): New variables.
13105 (octave-source-directories)
13106 (octave-find-definition-default-filename): New functions.
13107 (octave-find-definition): Improve to find functions implemented in C++.
13108
13109 2013-05-12 Glenn Morris <rgm@gnu.org>
13110
13111 * calendar/diary-lib.el (diary-outlook-format-1):
13112 Don't include dayname in the output. (Bug#14349)
13113
13114 2013-05-11 Glenn Morris <rgm@gnu.org>
13115
13116 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13117
13118 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13119 Treat cc-provide like provide.
13120
13121 2013-05-11 Kevin Ryde <user42@zip.com.au>
13122
13123 * cus-dep.el (custom-make-dependencies):
13124 Use generated-autoload-load-name for the sake of files such
13125 such cedet/semantic/bovine/c.el, where the base file name
13126 is not in load-path. (Bug#5277)
13127
13128 2013-05-11 Glenn Morris <rgm@gnu.org>
13129
13130 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13131 Provide features.
13132
13133 2013-05-11 Leo Liu <sdl.web@gmail.com>
13134
13135 * progmodes/octave.el (octave-indent-comment): Improve.
13136 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13137 (octave-eldoc-function-signatures, octave-eldoc-function):
13138 New functions.
13139 (octave-mode, inferior-octave-mode): Add eldoc support.
13140
13141 2013-05-11 Richard Stallman <rms@gnu.org>
13142
13143 * epa.el (epa-decrypt-file): Take output file name as argument
13144 and read it using `interactive'.
13145
13146 2013-05-11 Leo Liu <sdl.web@gmail.com>
13147
13148 * progmodes/octave.el (octave-beginning-of-line)
13149 (octave-end-of-line): Check before using up-list because it jumps
13150 out of more syntactic contructs since moving to smie.
13151 (octave-indent-comment): New function.
13152 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13153 (octave-begin-keywords, octave-end-keywords)
13154 (octave-reserved-words, octave-smie-bnf-table)
13155 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13156
13157 2013-05-11 Glenn Morris <rgm@gnu.org>
13158
13159 * faces.el (internal-face-x-get-resource):
13160 * frame.el (ns-display-monitor-attributes-list):
13161 * calc/calc-aent.el (math-to-radians-2):
13162 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13163 Fix declarations.
13164
13165 * calc/calc-menu.el: Make it loadable in isolation.
13166
13167 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13168 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13169 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13170 (eudc-bbdb-query-internal): Require 'bbdb.
13171
13172 * lpr.el (lpr-headers-switches):
13173 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13174
13175 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13176
13177 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13178
13179 * term.el (term-set-escape-char): Make it idempotent.
13180
13181 2013-05-10 Leo Liu <sdl.web@gmail.com>
13182
13183 * progmodes/octave.el (inferior-octave-completion-table):
13184 No longer a function and all uses changed. Use cache to speed up
13185 completion due to bug#11906.
13186 (octave-beginning-of-defun): Re-write to be more general.
13187
13188 2013-05-10 Glenn Morris <rgm@gnu.org>
13189
13190 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13191
13192 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 * comint.el (comint-redirect-send-command-to-process): Use :around
13195 rather than :override for comint-redirect-filter.
13196 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13197 Call it instead of comint-redirect-original-filter-function (which
13198 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13199
13200 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13201
13202 * frame.el (display-monitor-attributes-list): Add NS case.
13203 (ns-display-monitor-attributes-list): Declare.
13204
13205 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13206
13207 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13208
13209 2013-05-09 Glenn Morris <rgm@gnu.org>
13210
13211 * international/fontset.el (vertical-centering-font-regexp):
13212 Set standard-value.
13213
13214 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13215
13216 * bookmark.el (bookmark-search-delay):
13217 * cus-start.el (vertical-centering-font-regexp):
13218 * ps-mule.el (ps-mule-font-info-database-default):
13219 * ps-print.el (ps-default-fg, ps-default-bg):
13220 * type-break.el (type-break-good-break-interval):
13221 * whitespace.el (whitespace-indentation-regexp)
13222 (whitespace-space-after-tab-regexp):
13223 * emacs-lisp/testcover.el (testcover-1value-functions)
13224 (testcover-noreturn-functions, testcover-progn-functions)
13225 (testcover-prog1-functions):
13226 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13227 * eshell/em-glob.el (eshell-glob-translate-alist):
13228 * play/tetris.el (tetris-tty-colors):
13229 * progmodes/cpp.el (cpp-face-default-list):
13230 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13231 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13232 (idlwave-help-browser-generic-args):
13233 * progmodes/make-mode.el (makefile-special-targets-list):
13234 * progmodes/python.el (python-shell-virtualenv-path):
13235 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13236 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13237 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13238 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13239 * textmodes/reftex-vars.el (reftex-format-label-function):
13240 * textmodes/remember.el (remember-diary-file): Fix custom types.
13241
13242 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13243 Add :version.
13244
13245 2013-05-09 Leo Liu <sdl.web@gmail.com>
13246
13247 * progmodes/octave.el (inferior-octave-completion-at-point):
13248 Restore file completion. (Bug#14300)
13249 (inferior-octave-startup): Fix incorrect highlighting for the
13250 first prompt.
13251
13252 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13253
13254 * progmodes/ruby-mode.el: First cut at SMIE support.
13255 (ruby-use-smie): New var.
13256 (ruby-smie-grammar): New constant.
13257 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13258 (ruby-smie--forward-token, ruby-smie--backward-token)
13259 (ruby-smie-rules): New functions.
13260 (ruby-mode-variables): Setup SMIE if applicable.
13261
13262 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13263
13264 * simple.el (line-move-visual): Signal beginning/end of buffer
13265 only if vertical-motion moved less than it was requested. Avoids
13266 silly incorrect error messages when there are display strings with
13267 multiple newlines at EOL.
13268
13269 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13272 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13273 (prolog-char-quote-workaround):
13274 * progmodes/cperl-mode.el (cperl-under-as-char):
13275 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13276 Mark as obsolete.
13277 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13278 their declaration.
13279 (vhdl-mode-syntax-table-init): Remove.
13280
13281 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13282 last change.
13283
13284 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13285 syntax for "_".
13286 (ld-script-font-lock-keywords):
13287 Change regexps to use things like \_< and \_>.
13288
13289 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13290 Change all regexps to use things like \_< and \_>.
13291
13292 * progmodes/autoconf.el (autoconf-definition-regexp)
13293 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13294 Handle a _ with symbol syntax.
13295 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13296
13297 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13298 Consolidate declaration.
13299 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13300 the declaration.
13301 (ada-create-syntax-table): Remove.
13302 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13303 already has the right syntax nowadays.
13304 (ada-goto-next-word): Don't change the syntax of "_".
13305
13306 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13307 with-wrapper-hook.
13308
13309 2013-05-08 Sam Steingold <sds@gnu.org>
13310
13311 * thingatpt.el (thing-at-point): Accept optional second argument
13312 NO-PROPERTIES to strip the text properties from the return value.
13313 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13314 to `thing-at-point' instead of stripping the properties ourselves.
13315 Also, when `thing-at-point' fails to find a url, prepend "http://"
13316 to the filename at point on the assumption that the user is
13317 pointing at something like gnu.org/gnu.
13318
13319 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13320
13321 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13322 * faces.el (crm-separator):
13323 Silence byte-compiler.
13324
13325 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13326 (tool-bar-map): Remove unneeded defvars.
13327
13328 2013-05-08 Leo Liu <sdl.web@gmail.com>
13329
13330 Re-work a fix for bug#10994 based on Le Wang's patch.
13331 * ido.el (ido-remove-consecutive-dups): New helper.
13332 (ido-completing-read): Use it.
13333 (ido-chop): Revert fix for bug#10994.
13334
13335 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13336
13337 * cus-edit.el (custom-save-variables):
13338 Pretty-print long values. (Bug#14187)
13339
13340 2013-05-08 Glenn Morris <rgm@gnu.org>
13341
13342 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13343 (m4-mode-syntax-table): Init in the defvar.
13344 (m4-mode-abbrev-table): Let define-derived-mode define it.
13345
13346 2013-05-08 Tom Tromey <tromey@redhat.com>
13347
13348 * progmodes/m4-mode.el (m4-mode-syntax-table):
13349 Do not treat "_" as word constituent. (Bug#14167)
13350
13351 2013-05-07 Glenn Morris <rgm@gnu.org>
13352
13353 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13354 Remove explicit eshell-isearch-cancel-map.
13355
13356 * progmodes/f90.el (f90-smart-end-names): New option.
13357 (f90-smart-end): Doc fix.
13358 (f90-end-block-optional-name): New constant.
13359 (f90-block-match): Respect f90-smart-end-names.
13360
13361 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13362
13363 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13364 about implicit semi-colons (bug#14218).
13365
13366 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13367
13368 * frame.el (display-monitor-attributes-list)
13369 (frame-monitor-attributes): New functions.
13370
13371 2013-05-06 Leo Liu <sdl.web@gmail.com>
13372
13373 * progmodes/octave.el (octave-syntax-propertize-function): Change
13374 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13375 (octave-font-lock-keywords): Use octave-operator-regexp.
13376 (octave-completion-at-point): Rename from
13377 octave-completion-at-point-function.
13378 (inferior-octave-directory-tracker): Robustify.
13379 (octave-text-functions): Remove and fix its uses. No such things
13380 any more.
13381
13382 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13383
13384 * emacs-lisp/trace.el (trace--display-buffer): New function.
13385 (trace-make-advice): Use it.
13386
13387 2013-05-06 Juri Linkov <juri@jurta.org>
13388
13389 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13390 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13391 Doc fix.
13392 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13393 in the help string. (Bug#12985)
13394
13395 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13396
13397 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13398
13399 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * progmodes/perl-mode.el: Add support for here documents.
13402 (perl-syntax-propertize-function): Match here-doc markers.
13403 (perl-syntax-propertize-special-constructs): Find their end.
13404 (perl-imenu-generic-expression): Use [:alnum:].
13405
13406 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13407 (advice--add-function): Refresh the advice if already present
13408 (bug#14317).
13409
13410 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13411
13412 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13413
13414 2013-05-06 Glenn Morris <rgm@gnu.org>
13415
13416 * w32-fns.el (w32-charset-info-alist): Declare.
13417
13418 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13419 of its defcustom properties.
13420 (eshell-cmpl-initialize): No need to load pcomplete.
13421
13422 * generic-x.el: No need to require comint when compiling.
13423
13424 * net/eudc-export.el: Make it loadable without bbdb.
13425 (top-level): Use require rather than load-library.
13426 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13427 (eudc-batch-export-records-to-bbdb)
13428 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13429 Require bbdb.
13430
13431 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13432
13433 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13434 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13435 some tweaks, instead.
13436
13437 2013-05-05 Leo Liu <sdl.web@gmail.com>
13438
13439 * progmodes/octave.el (octave-font-lock-keywords)
13440 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13441 (inferior-octave-send-list-and-digest): Improve error message.
13442 (octave-mode, inferior-octave-mode): Use setq-local.
13443 (octave-help): Set info-lookup-mode.
13444
13445 2013-05-05 Richard Stallman <rms@gnu.org>
13446
13447 * vc/compare-w.el (compare-windows-whitespace):
13448 Treat no-break space as whitespace.
13449
13450 * mail/rmailsum.el (rmail-summary-rmail-update):
13451 Detect empty summary and don't change selected message.
13452 (rmail-summary-goto-msg): Likewise.
13453
13454 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13455 Doc fixes, rename args.
13456
13457 2013-05-05 Alan Mackenzie <acm@muc.de>
13458
13459 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13460
13461 2013-05-05 Juri Linkov <juri@jurta.org>
13462
13463 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13464 to not add the length of the summary segment to the return value.
13465 (Bug#14125)
13466
13467 2013-05-05 Leo Liu <sdl.web@gmail.com>
13468
13469 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13470 (inferior-octave-output-filter): Remove.
13471 (octave-send-region, inferior-octave-startup): Fix callers.
13472 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13473 (octave-binary-file-extensions): New user variable.
13474 (octave-find-definition): Confirm if opening binary files.
13475 (octave-help-file): Use octave-find-definition to get the binary
13476 confirmation.
13477 (octave-help): Adjust for octave-help-file change.
13478
13479 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13480
13481 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13482 Merge the two entries that handle function definitions.
13483 (pascal--syntax-propertize): New const.
13484 (pascal-mode): Use it. Use setq-local.
13485
13486 2013-05-04 Glenn Morris <rgm@gnu.org>
13487
13488 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13489 (diary-from-outlook): Respect diary-from-outlook-function.
13490
13491 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13492
13493 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13494 Move the declaration from C.
13495 (read-minibuffer, eval-minibuffer): Move from C.
13496 (completion-setup-function): Avoid minibuffer-completion-contents.
13497
13498 2013-05-03 Leo Liu <sdl.web@gmail.com>
13499
13500 * progmodes/octave.el (octave-font-lock-keywords): Do not
13501 dehighlight 'end' in comments or strings.
13502 (octave-completing-read, octave-goto-function-definition):
13503 New helpers.
13504 (octave-help-buffer): New user variable.
13505 (octave-help-file, octave-help-function): New button types.
13506 (octave-help): New command and bind it to C-h ;.
13507 (octave-find-definition): New command and bind it to M-.
13508 (user-error): Alias to error if not defined.
13509
13510 2013-05-02 Leo Liu <sdl.web@gmail.com>
13511
13512 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13513 for \. (bug#14332)
13514 (octave-font-lock-keywords): Include [ and {.
13515
13516 2013-05-02 Leo Liu <sdl.web@gmail.com>
13517
13518 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13519 (inferior-octave): Remove calling comint-mode and return the buffer.
13520 (inferior-octave-startup): Cosmetic changes.
13521
13522 2013-05-02 Leo Liu <sdl.web@gmail.com>
13523
13524 * progmodes/octave.el (octave-syntax-propertize-function):
13525 Include the case when ' is at line beginning. (Bug#14336)
13526
13527 2013-05-02 Glenn Morris <rgm@gnu.org>
13528
13529 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13530 * desktop.el (vc-dir-mode): Just autoload it here.
13531
13532 2013-05-02 Alan Mackenzie <acm@muc.de>
13533
13534 Eliminate variable c-standard-font-lock-fontify-region-function.
13535 * progmodes/cc-mode.el
13536 (c-standard-font-lock-fontify-region-function): Remove.
13537 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13538
13539 2013-05-01 Leo Liu <sdl.web@gmail.com>
13540
13541 * progmodes/octave.el: Compatible with older emacs-24 releases.
13542 (inferior-octave-has-built-in-variables): Remove. Built-in
13543 variables were removed from Octave in 2007.
13544 (inferior-octave-startup): Fix uses.
13545 (comint-line-beginning-position): Remove compatibility code for
13546 emacs 21.
13547
13548 2013-05-01 Juri Linkov <juri@jurta.org>
13549
13550 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13551
13552 2013-05-01 Juri Linkov <juri@jurta.org>
13553
13554 * comint.el (comint-previous-matching-input): Don't print message
13555 "History item: %d" when `isearch-mode' is active.
13556 (comint-history-isearch-message): Print message "History item: %d"
13557 when `comint-input-ring-index' is not empty and this function is
13558 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13559
13560 2013-05-01 Leo Liu <sdl.web@gmail.com>
13561
13562 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13563 definitions. Use completion-at-point to insert keywords.
13564 (octave-abbrev-start): Remove.
13565 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13566
13567 2013-04-30 Leo Liu <sdl.web@gmail.com>
13568
13569 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13570 change.
13571
13572 2013-04-30 Alan Mackenzie <acm@muc.de>
13573
13574 Handle arbitrarily long C++ member initialisation lists.
13575 * progmodes/cc-engine.el (c-back-over-member-initializers):
13576 new function.
13577 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13578 (most) member init lists.
13579
13580 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13581
13582 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13583 variable.
13584
13585 2013-04-30 Leo Liu <sdl.web@gmail.com>
13586
13587 * progmodes/octave.el (octave-variables): Remove. No builtin
13588 variables any more. All converted to functions.
13589 (octave-font-lock-keywords, octave-completion-at-point-function):
13590 Fix uses.
13591 (octave-font-lock-texinfo-comment): New user variable.
13592 (octave-texinfo-font-lock-keywords): New variable for texinfo
13593 comment block.
13594 (octave-function-comment-block): New face.
13595 (octave-font-lock-texinfo-comment): New function.
13596 (octave-mode): Font lock texinfo comment block.
13597
13598 2013-04-29 Leo Liu <sdl.web@gmail.com>
13599
13600 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13601 indexing expression.
13602 (octave-continuation-string): Do not use \.
13603 (inferior-octave-complete-impossible): Remove.
13604 (inferior-octave-completion-table)
13605 (inferior-octave-completion-at-point): Remove its uses.
13606 (inferior-octave-startup): completion_matches was introduced to
13607 Octave in 1996 so safe to assume it.
13608 (octave-function-file-comment): Improve to follow how Octave does it.
13609 (octave-update-function-file-comment): Tweak.
13610
13611 2013-04-29 Leo Liu <sdl.web@gmail.com>
13612
13613 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13614 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13615 (octave-function-file-comment): Fix typo.
13616 (octave-sync-function-file-names): Use read-char-choice.
13617
13618 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13619
13620 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13621 to t for the less important warnings.
13622
13623 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13624
13625 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13626
13627 2013-04-27 Glenn Morris <rgm@gnu.org>
13628
13629 * vc/log-view.el (log-view-current-entry):
13630 Treat "---" separator lines as part of the following rev. (Bug#14169)
13631
13632 2013-04-27 Juri Linkov <juri@jurta.org>
13633
13634 * subr.el (read-number): Doc fix about using it by interactive
13635 code letter `n'. (Bug#14254)
13636
13637 2013-04-27 Juri Linkov <juri@jurta.org>
13638
13639 * desktop.el (desktop-auto-save-timeout): New option.
13640 (desktop-file-checksum): New variable.
13641 (desktop-save): Add optional arg `auto-save' and don't auto-save
13642 if nothing changed.
13643 (desktop-auto-save-timer): New variable.
13644 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13645 (after-init-hook): Call `desktop-auto-save-set-timer'.
13646 Suggested by Reuben Thomas <rrt@sc3d.org> in
13647 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13648
13649 2013-04-27 Leo Liu <sdl.web@gmail.com>
13650
13651 * progmodes/octave.el (octave-function-file-p)
13652 (octave-skip-comment-forward, octave-function-file-comment)
13653 (octave-update-function-file-comment): New functions.
13654 (octave-mode-map): Bind C-c ; to
13655 octave-update-function-file-comment.
13656 (octave-mode-menu): Add octave-update-function-file-comment.
13657 (octave-mode, inferior-octave-mode): Fix doc-string.
13658 (octave-insert-defun): Conform to Octave's coding convention.
13659 (Bug#14285)
13660
13661 * files.el (basic-save-buffer): Don't let errors in
13662 before-save-hook prevent saving buffer.
13663
13664 2013-04-20 Roland Winkler <winkler@gnu.org>
13665
13666 * faces.el (read-face-name): Use completing-read if arg multiple
13667 is nil.
13668
13669 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13670
13671 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13672 displayed, move point to after the totals line.
13673 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13674 for the details.
13675
13676 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13677
13678 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13679 Add current dir to the load-path.
13680 (package-generate-autoloads): Don't rely on
13681 autoload-ensure-default-file.
13682
13683 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13684
13685 * textmodes/remember.el (remember-store-in-files): Document that
13686 the file name format is passed to `format-time-string'.
13687
13688 2013-04-26 Leo Liu <sdl.web@gmail.com>
13689
13690 * progmodes/octave.el (octave-sync-function-file-names): New function.
13691 (octave-mode): Use it in before-save-hook.
13692
13693 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13696 (bug#14274).
13697
13698 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13699 \n and comment, even if it's not an implicit ; (bug#14218).
13700
13701 2013-04-26 Glenn Morris <rgm@gnu.org>
13702
13703 * subr.el (read-number): Once more use `read' rather than
13704 `string-to-number', to trap non-numeric input. (Bug#14254)
13705
13706 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13707
13708 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13709 Use `syntax-multiline' text property consistently instead of
13710 `font-lock-multiline'. (Bug#14237)
13711
13712 2013-04-26 Glenn Morris <rgm@gnu.org>
13713
13714 * emacs-lisp/shadow.el (list-load-path-shadows):
13715 No longer necessary to check for duplicate simple.el, since
13716 2012-07-07 change to init_lread to not include installation lisp
13717 directories in load-path when running uninstalled. (Bug#14270)
13718
13719 2013-04-26 Leo Liu <sdl.web@gmail.com>
13720
13721 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13722 (octave-mode, inferior-octave-mode): Use setq-local.
13723 (octave-not-in-string-or-comment-p): Rename to
13724 octave-in-string-or-comment-p.
13725 (octave-in-comment-p, octave-in-string-p)
13726 (octave-in-string-or-comment-p): Replace defsubst with defun.
13727
13728 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13729
13730 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13731
13732 2013-04-25 Bastien Guerry <bzg@gnu.org>
13733
13734 * textmodes/remember.el (remember-data-directory)
13735 (remember-directory-file-name-format): Fix custom types.
13736
13737 2013-04-25 Leo Liu <sdl.web@gmail.com>
13738
13739 * progmodes/octave.el (octave-completion-at-point-function):
13740 Make use of inferior octave process.
13741 (octave-initialize-completions): Remove.
13742 (inferior-octave-completion-table): New function.
13743 (inferior-octave-completion-at-point): Use it.
13744 (octave-completion-alist): Remove.
13745
13746 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13747
13748 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13749 (opascal-mode-syntax-table): New var.
13750 (opascal-literal-kind, opascal-is-literal-end)
13751 (opascal-literal-token-at): Rewrite.
13752 (opascal--literal-start-re, opascal-font-lock-keywords)
13753 (opascal--syntax-propertize): New constants.
13754 (opascal-font-lock-defaults): Adjust.
13755 (opascal-mode): Use them. Set comment-<foo> variables as well.
13756 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13757 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13758 (delphi-other-face, opascal-other-face): Remove face variables.
13759 (opascal-save-state): Remove macro.
13760 (opascal-fontifying-progress-step): Remove constant.
13761 (opascal--ignore-changes): Remove var.
13762 (opascal-set-token-property, opascal-parse-next-literal)
13763 (opascal-is-stable-literal, opascal-complete-literal)
13764 (opascal-is-literal-start, opascal-face-of)
13765 (opascal-parse-region, opascal-parse-region-until-stable)
13766 (opascal-fontify-region, opascal-after-change)
13767 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13768 (opascal-debug-parse-region, opascal-debug-parse-window)
13769 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13770 (opascal-debug-fontify-buffer): Remove.
13771 (opascal-debug-mode-map): Adjust accordingly.
13772
13773 2013-04-25 Leo Liu <sdl.web@gmail.com>
13774
13775 Merge octave-mod.el and octave-inf.el into octave.el with some
13776 cleanups.
13777 * progmodes/octave.el: New file renamed from octave-mod.el.
13778 * progmodes/octave-inf.el: Merged into octave.el.
13779 * progmodes/octave-mod.el: Renamed to octave.el.
13780
13781 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13782
13783 * textmodes/reftex-vars.el
13784 (reftex-label-ignored-macros-and-environments): New defcustom.
13785
13786 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13787
13788 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13789
13790 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13791 (smie-indent-keyword): Improve the check to ensure that the next
13792 comment is really on the same line.
13793 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13794
13795 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13796 semi-colons if the line is not otherwise empty (bug#14218).
13797
13798 2013-04-25 Glenn Morris <rgm@gnu.org>
13799
13800 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13801
13802 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13803
13804 * progmodes/opascal.el (opascal-set-token-property): Rename from
13805 opascal-set-text-properties and only set `token' (bug#14134).
13806 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13807 (opascal-literal-text-properties): Remove.
13808 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13809 Adjust callers.
13810
13811 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13812
13813 * textmodes/remember.el (remember-handler-functions): Add an
13814 option for a new handler `remember-store-in-files'.
13815 (remember-data-directory, remember-directory-file-name-format):
13816 New options.
13817 (remember-store-in-files): New function to store remember notes
13818 as separate files within a directory.
13819
13820 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13821
13822 * progmodes/compile.el (compilation-next-error-function):
13823 Pass "formats" to compilation-find-file (bug#11777).
13824
13825 2013-04-24 Glenn Morris <rgm@gnu.org>
13826
13827 * vc/vc-bzr.el (vc-bzr-print-log):
13828 * vc/vc-hg.el (vc-hg-print-log):
13829 * vc/vc-svn.el (vc-svn-print-log):
13830 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13831
13832 * vc/vc-bzr.el (vc-bzr-print-log):
13833 * vc/vc-cvs.el (vc-cvs-print-log):
13834 * vc/vc-git.el (vc-git-print-log):
13835 * vc/vc-hg.el (vc-hg-print-log):
13836 * vc/vc-mtn.el (vc-mtn-print-log):
13837 * vc/vc-rcs.el (vc-rcs-print-log):
13838 * vc/vc-sccs.el (vc-sccs-print-log):
13839 * vc/vc-svn.el (vc-svn-print-log):
13840 * vc/vc.el (vc-print-log-internal): Doc fixes.
13841
13842 2013-04-23 Glenn Morris <rgm@gnu.org>
13843
13844 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13845 Remove venerable code attempting to avoid substitute-command-keys.
13846
13847 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13848
13849 * textmodes/reftex-vars.el (reftex-label-regexps):
13850 Call `reftex-compile-variables' after changes to this variable.
13851
13852 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13853
13854 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13855 Use lexical-binding.
13856 (jit-lock-force-redisplay): Use markers, check buffer's continued
13857 existence and beware narrowed buffers.
13858 (jit-lock-fontify-now): Adjust call accordingly.
13859
13860 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13863 to avoid misleading the user.
13864
13865 2013-04-22 Leo Liu <sdl.web@gmail.com>
13866
13867 * info-look.el: Prefer latex2e.info. (Bug#14240)
13868
13869 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13870
13871 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13872
13873 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13874 * net/tramp.el (tramp-call-process): ... here.
13875 (tramp-set-completion-function, tramp-parse-putty):
13876 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13877 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13878 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13879 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13880 (tramp-call-local-coding-command): Use `tramp-call-process'
13881 instead of `tramp-compat-call-process'.
13882
13883 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13884 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13885 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13886 (tramp-find-inline-compress): Improve traces.
13887 (tramp-maybe-send-script): Check for Perl binary.
13888 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13889
13890 2013-04-22 Daiki Ueno <ueno@gnu.org>
13891
13892 * epg.el (epg-context-pinentry-mode): New function.
13893 (epg-context-set-pinentry-mode): New function.
13894 (epg--start): Pass --pinentry-mode option to gpg command.
13895
13896 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13897
13898 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13899 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13900 `completion-at-point'. (Bug#13774)
13901
13902 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13903 default key binding for `describe-distribution' has been moved to
13904 `C-h C-o'. (Bug#13970)
13905
13906 2013-04-21 Glenn Morris <rgm@gnu.org>
13907
13908 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13909 Add doc strings.
13910 (vc-print-log): Clarify interactive prompt.
13911
13912 2013-04-20 Glenn Morris <rgm@gnu.org>
13913
13914 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13915 No longer include timestamp etc information.
13916
13917 2013-04-20 Roland Winkler <winkler@gnu.org>
13918
13919 * faces.el (read-face-name): Bug fix, return just one face if arg
13920 multiple is nil. (Bug#14209)
13921
13922 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13923
13924 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13925 (remove-function): Autoload.
13926
13927 * comint.el (comint-redirect-original-filter-function): Remove.
13928 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13929 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13930 (vc-cvs-annotate-command):
13931 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13932 * progmodes/prolog.el (prolog-consult-compile):
13933 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13934 Use add/remove-function instead.
13935 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13936 (gud-tooltip-process-output, gud-tooltip-tips):
13937 Use add/remove-function instead.
13938 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13939 (scheme-interaction-mode, exit-scheme-interaction-mode):
13940 Use add/remove-function instead.
13941
13942 * vc/vc-dispatcher.el: Use lexical-binding.
13943 (vc--process-sentinel): Rename from vc-process-sentinel.
13944 Change last arg to be the code to run. Don't use vc-previous-sentinel
13945 and vc-sentinel-commands any more.
13946 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13947 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13948
13949 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13950
13951 * progmodes/sh-script.el (sh-imenu-generic-expression):
13952 Handle function names with a single character. (Bug#14111)
13953
13954 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13955
13956 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13957 for subroutines defined in an eval (bug#14182).
13958
13959 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13960
13961 * bookmark.el (bookmark-completing-read): Improve handling of empty
13962 string (bug#14176).
13963
13964 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13965
13966 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13967
13968 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13969
13970 New faster Imenu implementation (bug#14058).
13971 * progmodes/python.el:
13972 (python-imenu-prev-index-position):
13973 (python-imenu-format-item-label-function)
13974 (python-imenu-format-parent-item-label-function)
13975 (python-imenu-format-parent-item-jump-label-function):
13976 New vars.
13977 (python-imenu-format-item-label)
13978 (python-imenu-format-parent-item-label)
13979 (python-imenu-format-parent-item-jump-label)
13980 (python-imenu--put-parent, python-imenu--build-tree)
13981 (python-imenu-create-index, python-imenu-create-flat-index)
13982 (python-util-popn): New functions.
13983 (python-mode): Set imenu-create-index-function to
13984 python-imenu-create-index.
13985
13986 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13987
13988 * winner.el (winner-active-region): Use region-active-p, activate-mark
13989 and deactivate-mark (bug#14225).
13990
13991 * simple.el (deactivate-mark): Don't inline it.
13992
13993 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13994
13995 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13996
13997 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13998
13999 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14000 file extensions from the archive-mode entry in order to prefer
14001 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14002
14003 2013-04-18 Leo Liu <sdl.web@gmail.com>
14004
14005 * bindings.el (help-event-list): Add ?\?.
14006
14007 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14008
14009 * subr.el (with-wrapper-hook): Declare obsolete.
14010 * simple.el (filter-buffer-substring-function): New hook.
14011 (filter-buffer-substring): Use it.
14012 (filter-buffer-substring-functions): Mark obsolete.
14013 * minibuffer.el (completion-in-region-function): New hook.
14014 (completion-in-region): Use it.
14015 (completion-in-region-functions): Mark obsolete.
14016 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14017 * abbrev.el (abbrev-expand-function): New hook.
14018 (expand-abbrev): Use it.
14019 (abbrev-expand-functions): Mark obsolete.
14020 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14021 and :filter-return.
14022
14023 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14024
14025 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14026 and do not care about match data.
14027
14028 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14029
14030 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14031 completion tables when completing error conditions and
14032 `declare' arguments.
14033 (lisp-complete-symbol, field-complete): Mark as obsolete.
14034 (check-parens): Unmatched parens are user errors.
14035 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14036
14037 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14038
14039 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14040 command changed buffer (ie. `flyspell-pre-buffer' is not current
14041 buffer), which prevents making decisions based on invalid value of
14042 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14043 cause an error when `flyspell-pre-point' was nil after switching
14044 buffers.
14045 (flyspell-post-command-hook): No longer needs to change buffers when
14046 checking pre-word. While at it remove unnecessary progn.
14047
14048 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14049
14050 * textmodes/ispell.el (ispell-add-per-file-word-list):
14051 Fix `flyspell-correct-word-before-point' error when accepting
14052 words and `coment-padding' is an integer by using
14053 `comment-normalize-vars' (Bug #14214).
14054
14055 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14056
14057 New defun movement commands.
14058 * progmodes/python.el (python-nav--syntactically)
14059 (python-nav--forward-defun, python-nav-backward-defun)
14060 (python-nav-forward-defun): New functions.
14061
14062 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14063
14064 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14065 (python-syntax-context): Use named compiler-macro for backwards
14066 compatibility with Emacs 24.x.
14067
14068 2013-04-17 Leo Liu <sdl.web@gmail.com>
14069
14070 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14071 octave-hide-process-buffer.
14072
14073 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14074
14075 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14076 (bug#14216).
14077
14078 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14079
14080 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14081 Fix adjustment of offset when receiving incomplete responses from GDB
14082 (bug#14129).
14083
14084 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14085
14086 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14087 python-mode-abbrev-table.
14088 (python-skeleton-define): Adjust accordingly.
14089 (python-mode-abbrev-table): New table that inherits from it so that
14090 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14091
14092 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14093 (abbrev-symbol): Use it.
14094 (abbrev--before-point): Use it since we already handle inheritance.
14095
14096 2013-04-16 Leo Liu <sdl.web@gmail.com>
14097
14098 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14099 binding to info-lookup-symbol.
14100
14101 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14102
14103 * minibuffer.el (completion--twq-all):
14104 * term/ns-win.el (ns-initialize-window-system):
14105 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14106
14107 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14108
14109 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14110 global bindings.
14111
14112 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14113
14114 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14115
14116 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14117 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14118 to nil.
14119 (ruby-end-of-defun): Remove the unused arg, change the docstring
14120 to reflect that this function is only used as the value of
14121 `end-of-defun-function'.
14122 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14123 to reflect an earlier change that beginning/end-of-defun functions
14124 jump between methods in a class definition, as well as top-level
14125 functions.
14126
14127 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14128
14129 * minibuffer.el (minibuffer-complete): Don't just scroll
14130 a *Completions* that's been iconified.
14131 (minibuffer-force-complete): Make sure repetitions do cycle when going
14132 through completion-in-region -> minibuffer-complete.
14133
14134 2013-04-15 Alan Mackenzie <acm@muc.de>
14135
14136 Correct the placement of c-cpp-delimiters when there're #s not at
14137 col 0.
14138
14139 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14140 place a submatch around the #.
14141 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14142 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14143 on the #, not BOL.
14144
14145 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14146
14147 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14148 (advice--member-p): New arg `name'.
14149 (advice--add-function, advice-member-p): Use it (bug#14202).
14150
14151 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14152
14153 Reformulate java imenu-generic-expression.
14154 The old expression contained ill formed regexps.
14155
14156 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14157 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14158 (cc-imenu-java-method-arg-regexp): New defconsts.
14159 (cc-imenu-java-build-type-args-regex): New defun.
14160 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14161 handling of spaces in the regexp.
14162
14163 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14164
14165 * textmodes/ispell.el (ispell-command-loop): Remove
14166 flyspell highlight of a word when ispell accepts it (bug #14178).
14167
14168 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14169
14170 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14171 uses code from the previous `ange-ftp-run-real-handler'.
14172 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14173 only in case that function exist. This is needed for proper
14174 unloading of Tramp.
14175
14176 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14177
14178 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14179
14180 * textmodes/reftex.el (reftex-compile-variables): Use it.
14181
14182 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14183
14184 * files.el (normal-mode): Only use default major-mode if no other mode
14185 was specified.
14186
14187 * emacs-lisp/trace.el (trace-values): New function.
14188
14189 * files.el: Allow : in local variables (bug#14089).
14190 (hack-local-variable-regexp): New var.
14191 (hack-local-variables-prop-line, hack-local-variables): Use it.
14192
14193 2013-04-13 Roland Winkler <winkler@gnu.org>
14194
14195 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14196 data before it gets modified by bibtex-beginning-of-entry.
14197
14198 2013-04-13 Roland Winkler <winkler@gnu.org>
14199
14200 * textmodes/bibtex.el (bibtex-url): Doc fix.
14201
14202 2013-04-13 Roland Winkler <winkler@gnu.org>
14203
14204 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14205 does not visit a BibTeX file, exclude it from the list of buffers
14206 returned by bibtex-initialize.
14207
14208 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14209
14210 * window.el (split-window): Remove interactive form, since as a
14211 command this function is a special case of split-window-below.
14212 Correct doc string.
14213
14214 2013-04-12 Roland Winkler <winkler@gnu.org>
14215
14216 * faces.el (read-face-name): Do not override value of arg default.
14217 Allow single faces and strings as default values. Remove those
14218 elements from return value that are not faces.
14219 (describe-face): Simplify.
14220 (face-at-point): New optional args thing and multiple so that this
14221 function can provide the same functionality previously provided by
14222 read-face-name.
14223 (make-face-bold, make-face-unbold, make-face-italic)
14224 (make-face-unitalic, make-face-bold-italic, invert-face)
14225 (modify-face, read-face-and-attribute): Use face-at-point.
14226
14227 * cus-edit.el (customize-face, customize-face-other-window)
14228 * cus-theme.el (custom-theme-add-face)
14229 * face-remap.el (buffer-face-set)
14230 * facemenu.el (facemenu-set-face): Use face-at-point.
14231
14232 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14233
14234 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14235
14236 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14237
14238 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14239 off leading { and trailing } from field values.
14240
14241 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14242
14243 * emacs-lisp/timer.el (timer--check): New function.
14244 (timer--time, timer-set-function, timer-event-handler): Use it.
14245 (timer-set-idle-time): Simplify.
14246 (timer--activate): CSE.
14247 (timer-event-handler): Give more info in error message.
14248 (internal-timer-start-idle): New function, moved from C.
14249
14250 * mpc.el (mpc-proc): Add `restart' argument.
14251 (mpc-proc-cmd): Use it.
14252 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14253 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14254 less often.
14255
14256 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14257
14258 * progmodes/sh-script.el: Implement `sh-mode' own
14259 `add-log-current-defun-function' (bug#14112).
14260 (sh-current-defun-name): New function.
14261 (sh-mode): Use the function.
14262
14263 2013-04-09 Bastien Guerry <bzg@gnu.org>
14264
14265 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14266
14267 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14268
14269 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14270
14271 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14272 timer (bug#14156).
14273
14274 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14275
14276 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14277 declaration.
14278
14279 2013-04-07 Leo Liu <sdl.web@gmail.com>
14280
14281 * pcmpl-x.el: New file.
14282
14283 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14284
14285 Do not set x-display-name until X connection is established.
14286 This is needed to prevent from weird situation described at
14287 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14288 * frame.el (make-frame): Set x-display-name after call to
14289 window system initialization function, not before.
14290 * term/x-win.el (x-initialize-window-system): Add optional
14291 display argument and use it.
14292 * term/w32-win.el (w32-initialize-window-system):
14293 * term/ns-win.el (ns-initialize-window-system):
14294 * term/pc-win.el (msdos-initialize-window-system):
14295 Add compatible optional display argument.
14296
14297 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14298
14299 * files.el (normal-backup-enable-predicate): On MS-Windows and
14300 MS-DOS compare truenames of temporary-file-directory and of the
14301 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14302 don't fail comparison by compare-strings. Also, compare file
14303 names case-insensitively on MS-Windows and MS-DOS.
14304
14305 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14306
14307 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14308 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14309
14310 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14311
14312 * whitespace.el (whitespace-color-on, whitespace-color-off):
14313 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14314
14315 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14316
14317 * ispell.el (ispell-set-spellchecker-params):
14318 Really set `ispell-args' for all equivs.
14319
14320 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14321
14322 * ido.el (ido-completions): Use extra elements of ido-decorations
14323 (bug#14143).
14324 (ido-decorations): Update docstring.
14325
14326 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14327
14328 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14329 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14330 nil during initialization, in order not to miss changes since the
14331 file was opened. (Bug#14140)
14332
14333 2013-04-05 Leo Liu <sdl.web@gmail.com>
14334
14335 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14336
14337 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14338
14339 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14340
14341 2013-04-04 Glenn Morris <rgm@gnu.org>
14342
14343 * electric.el (electric-pair-inhibit-predicate): Add :version.
14344
14345 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14346
14347 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14348 when a package is required several times (bug#14082).
14349
14350 2013-04-04 Roland Winkler <winkler@gnu.org>
14351
14352 * faces.el (read-face-name): Behave as promised by the docstring.
14353 Assume that arg default is a list of faces.
14354 (describe-face): Call read-face-name with list of default faces.
14355
14356 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14357
14358 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14359 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14360 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14361 the header.
14362 (bookmark-exit-hook-internal): Save even if list is empty.
14363
14364 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14365
14366 * emacs-lisp/package.el (package-pinned-packages): New var.
14367 (package--add-to-archive-contents): Obey it (bug#14118).
14368
14369 2013-04-03 Alan Mackenzie <acm@muc.de>
14370
14371 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14372 Also adapt to the new values of element 7 of a parse state.
14373
14374 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14375 parameter `not-in-delimiter'. Handle being inside comment opener.
14376 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14377 character in case we're typing a '*' after a '/'.
14378 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14379 instead by passing the parameter to c-state-pp-to-literal.
14380
14381 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14382 for elt. 7 of a parse state.
14383
14384 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14385
14386 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14387 * international/latin1-disp.el, international/mule-util.el:
14388 * language/cyril-util.el, language/european.el, language/ind-util.el:
14389 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14390 * language/tibetan.el, language/viet-util.el:
14391 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14392
14393 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14394
14395 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14396 (electric-pair-post-self-insert-function): Use it.
14397 (electric-pair-default-inhibit): New function, extracted from
14398 electric-pair-post-self-insert-function.
14399
14400 2013-03-31 Roland Winkler <winkler@gnu.org>
14401
14402 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14403
14404 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14405
14406 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14407
14408 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14409
14410 Un-indent after "pass" and "return" statements (Bug#13888)
14411 * progmodes/python.el (python-indent-block-enders): New var.
14412 (python-indent-calculate-indentation): Use it.
14413
14414 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14415
14416 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14417 defun. Defining it as defalias could introduce too eager
14418 byte-compiler optimization. (Bug#14030)
14419
14420 2013-03-30 Chong Yidong <cyd@gnu.org>
14421
14422 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14423
14424 2013-03-30 Leo Liu <sdl.web@gmail.com>
14425
14426 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14427 (kmacro-execute-from-register): Pass the keyboard macro to
14428 kmacro-call-macro or repeating won't work correctly.
14429
14430 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14431
14432 * progmodes/subword.el: Back to using `forward-symbol'.
14433
14434 * subr.el (forward-whitespace, forward-symbol)
14435 (forward-same-syntax): Move from thingatpt.el.
14436
14437 2013-03-29 Leo Liu <sdl.web@gmail.com>
14438
14439 * kmacro.el (kmacro-to-register): New command.
14440 (kmacro-execute-from-register): New function.
14441 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14442
14443 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14444
14445 * mpc.el: Use defvar-local and setq-local.
14446 (mpc--proc-connect): Connection failures are not bugs.
14447 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14448 (mpc-volume-map): Bind to the up-events.
14449
14450 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14451
14452 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14453 instead of `forward-symbol'.
14454
14455 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14456
14457 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14458 (edebug--recursive-edit): Use it.
14459 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14460 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14461
14462 2013-03-28 Leo Liu <sdl.web@gmail.com>
14463
14464 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14465
14466 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14467
14468 * facemenu.el (list-colors-callback): New defvar.
14469 (list-colors-redisplay): New function.
14470 (list-colors-display): Install list-colors-redisplay as the
14471 revert-buffer-function. (Bug#14063)
14472
14473 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14474
14475 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14476 and suffixes don't overlap (bug#14061).
14477
14478 * case-table.el: Use lexical-binding.
14479 (case-table-get-table): New function.
14480 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14481
14482 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14483
14484 * progmodes/subword.el: Add `superword-mode' to do word motion
14485 over symbol_words (parallels and leverages `subword-mode' which
14486 does word motion inside MixedCaseWords).
14487
14488 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14489
14490 * eshell/em-unix.el: Move su and sudo to...
14491 * eshell/em-tramp.el: ...Eshell tramp module.
14492
14493 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14496 Change return value to be a sexp. Delay `get-buffer' to after
14497 restoring the desktop (bug#13951).
14498
14499 2013-03-26 Leo Liu <sdl.web@gmail.com>
14500
14501 * register.el: Move semantic tag handling back to
14502 cedet/semantic/senator.el. (Bug#14052)
14503
14504 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14505
14506 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14507 into the prompt either (bug#13963).
14508
14509 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14510
14511 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14512 part of "(error-foo)".
14513
14514 2013-03-24 Juri Linkov <juri@jurta.org>
14515
14516 * replace.el (list-matching-lines-prefix-face): New defcustom.
14517 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14518 `occur-engine' if `face-differs-from-default-p' returns t.
14519 (occur-engine): Add `,' inside backquote construct to evaluate
14520 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14521 Pass `prefix-face' to the functions `occur-context-lines' and
14522 `occur-engine-add-prefix'.
14523 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14524 `prefix-face' and propertize the prefix with `prefix-face'.
14525 (Bug#14017)
14526
14527 2013-03-24 Leo Liu <sdl.web@gmail.com>
14528
14529 * nxml/rng-valid.el (rng-validate-while-idle)
14530 (rng-validate-quick-while-idle): Guard against deleted buffer.
14531 (Bug#13999)
14532
14533 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14534 is the last entry in kill-buffer-hook.
14535
14536 * files.el (kill-buffer-hook): Doc fix.
14537
14538 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14539
14540 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14541 Make it safe-local.
14542
14543 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14544
14545 2013-03-23 Leo Liu <sdl.web@gmail.com>
14546
14547 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14548 Remove.
14549
14550 * nxml/rng-valid.el (rng-validate-mode)
14551 (rng-after-change-function, rng-do-some-validation):
14552 * nxml/rng-maint.el (rng-validate-buffer):
14553 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14554 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14555 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14556 (nxml-extend-after-change-region): Use with-silent-modifications.
14557
14558 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14559 timer-idle-list.
14560
14561 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14562 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14563 timer-idle-list. (Bug#13999)
14564
14565 2013-03-23 Juri Linkov <juri@jurta.org>
14566
14567 * info.el (info-index-match): New face.
14568 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14569 main pattern and add text properties with the new face to matches
14570 in index entries relative to the beginning of the index entry.
14571 (Bug#14015)
14572
14573 2013-03-21 Eric Ludlam <zappo@gnu.org>
14574
14575 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14576 Inhibit read only while inserting objects.
14577
14578 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14579
14580 * progmodes/cfengine.el: Update docs to mention
14581 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14582 symbol motion. Remove "_" from the word syntax.
14583
14584 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14585
14586 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14587 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14588
14589 2013-03-20 Juri Linkov <juri@jurta.org>
14590
14591 * info.el (Info-next-reference-or-link)
14592 (Info-prev-reference-or-link): New functions.
14593 (Info-next-reference, Info-prev-reference): Use them.
14594 (Info-try-follow-nearest-node): Handle footnote navigation.
14595 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14596
14597 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14600 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14601
14602 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14603
14604 Suppress unnecessary non-ASCII chatter during build process.
14605 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14606 (batch-skkdic-convert): Suppress most of the chatter.
14607 It's not needed so much now that machines are faster,
14608 and its non-ASCII component was confusing; see Dmitry Gutov in
14609 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14610
14611 2013-03-20 Leo Liu <sdl.web@gmail.com>
14612
14613 * ido.el (ido-chop): Fix bug#10994.
14614
14615 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14616
14617 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14618 Remove vars.
14619 (whitespace-color-on, whitespace-color-off):
14620 Use `font-lock-fontify-buffer' (Bug#13817).
14621
14622 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14623
14624 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14625 remapping in mode-line.
14626 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14627
14628 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14629
14630 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14631 value for `whitespace-line' face (Bug#13875).
14632 (whitespace-font-lock-keywords): Change description.
14633 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14634 the constructed keywords instead.
14635 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14636
14637 2013-03-19 Leo Liu <sdl.web@gmail.com>
14638
14639 * progmodes/compile.el (compilation-display-error): New command.
14640 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14641 C-o. (Bug#13992)
14642
14643 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14644
14645 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14646
14647 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14648
14649 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14650
14651 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14652
14653 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14654
14655 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14656 * net/tramp-gvfs.el (top):
14657 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14658 (tramp-handle-shell-command): Use it.
14659 (tramp-dissect-file-name): Raise an error when hostname is a
14660 method name, and neither method nor user is specified.
14661
14662 * net/trampver.el: Update release number.
14663
14664 2013-03-18 Leo Liu <sdl.web@gmail.com>
14665
14666 Make sure eldoc can be turned off properly.
14667 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14668 eldoc-mode.
14669 (eldoc-display-message-p): Revert last change.
14670 (eldoc-display-message-no-interference-p)
14671 (eldoc-print-current-symbol-info): Tweak.
14672
14673 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14674
14675 * doc-view.el (doc-view-new-window-function): Check the new window
14676 overlay's display property instead the char property of the
14677 buffer's first char. Use `with-selected-window' instead of
14678 `save-window-excursion' with `select-window'.
14679 (doc-view-document->bitmap): Check the current doc-view overlay's
14680 display property instead the char property of the buffer's first char.
14681
14682 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14683
14684 Automate the build of ja-dic.el (Bug#13984).
14685 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14686 from the input, rather than assume that it's been done for us by the
14687 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14688 the current date into a ja-dic.el comment, as that complicates
14689 regression testing.
14690
14691 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * whitespace.el: Fix double evaluation.
14694 (whitespace-space, whitespace-hspace, whitespace-tab)
14695 (whitespace-newline, whitespace-trailing, whitespace-line)
14696 (whitespace-space-before-tab, whitespace-indentation)
14697 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14698 obsolete defvars.
14699 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14700 (whitespace-color-on): Use a single font-lock-add-keywords call.
14701 Fix double-evaluation of face variables.
14702
14703 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14704
14705 * net/tramp-adb.el (tramp-adb-parse-device-names):
14706 Use `start-process' instead of `call-process'. Otherwise, the
14707 function might be blocked under MS Windows. (Bug#13299)
14708
14709 2013-03-17 Leo Liu <sdl.web@gmail.com>
14710
14711 Extend eldoc to display info in the mode-line. (Bug#13978)
14712 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14713 (eldoc-mode-line-string): New variable.
14714 (eldoc-minibuffer-message): New function.
14715 (eldoc-message-function): New variable.
14716 (eldoc-message): Use it.
14717 (eldoc-display-message-p)
14718 (eldoc-display-message-no-interference-p):
14719 Support eldoc-post-insert-mode.
14720
14721 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14722 (eval-expression): Run it.
14723
14724 2013-03-17 Roland Winkler <winkler@gnu.org>
14725
14726 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14727 strings in the list of return values.
14728
14729 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14730
14731 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14732 radix before checking for HMS forms.
14733
14734 2013-03-16 Leo Liu <sdl.web@gmail.com>
14735
14736 * progmodes/scheme.el: Add indentation and font-locking for λ.
14737 (Bug#13975)
14738
14739 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14740
14741 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14742 token before point (bug#13942).
14743
14744 2013-03-16 Leo Liu <sdl.web@gmail.com>
14745
14746 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14747
14748 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14749
14750 * startup.el (command-line-normalize-file-name): Fix handling of
14751 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14752 <xfq.free@gmail.com> in
14753 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14754
14755 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14756
14757 Sync with Tramp 2.2.7.
14758
14759 * net/trampver.el: Update release number.
14760
14761 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14762
14763 * doc-view.el: Fix bug#13887.
14764 (doc-view-insert-image): Don't modify overlay associated to
14765 non-live windows, and implement horizontal centering of image in
14766 case it's smaller than the window.
14767 (doc-view-new-window-function): Force redisplay of new windows on
14768 doc-view buffers.
14769
14770 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14771
14772 * saveplace.el (save-place-alist-to-file): Don't sort
14773 `save-place-alist', just pretty-print it (bug#13882).
14774
14775 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14776
14777 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14778 Check whether `default-file-name-coding-system' is bound.
14779 It isn't in XEmacs.
14780
14781 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14784 backquotes for `obsolete' (bug#13929).
14785
14786 * international/mule.el (find-auto-coding): Include file name in
14787 obsolescence warning (bug#13922).
14788
14789 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14790
14791 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14792 for CFEngine 3-specific indentation.
14793 (cfengine3-indent-line): Use it. Fix up category regex.
14794 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14795
14796 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14797
14798 * type-break.el (type-break-file-name):
14799 * textmodes/remember.el (remember-data-file):
14800 * strokes.el (strokes-file):
14801 * shadowfile.el (shadow-initialize):
14802 * saveplace.el (save-place-file):
14803 * ps-bdf.el (bdf-cache-file):
14804 * progmodes/idlwave.el (idlwave-config-directory):
14805 * net/quickurl.el (quickurl-url-file):
14806 * international/kkc.el (kkc-init-file-name):
14807 * ido.el (ido-save-directory-list-file):
14808 * emulation/viper.el (viper-custom-file-name):
14809 * emulation/vip.el (vip-startup-file):
14810 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14811 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14812
14813 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14814
14815 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14816 * language/thai-word.el: Switch to UTF-8.
14817
14818 See ChangeLog.16 for earlier changes.
14819
14820 ;; Local Variables:
14821 ;; coding: utf-8
14822 ;; End:
14823
14824 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14825
14826 This file is part of GNU Emacs.
14827
14828 GNU Emacs is free software: you can redistribute it and/or modify
14829 it under the terms of the GNU General Public License as published by
14830 the Free Software Foundation, either version 3 of the License, or
14831 (at your option) any later version.
14832
14833 GNU Emacs is distributed in the hope that it will be useful,
14834 but WITHOUT ANY WARRANTY; without even the implied warranty of
14835 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14836 GNU General Public License for more details.
14837
14838 You should have received a copy of the GNU General Public License
14839 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.