Minor fixes for dired.el doc strings.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2
3 * dired.el (dired-initial-position-hook, dired-initial-position):
4 Doc string fixes.
5
6 2014-04-29 Glenn Morris <rgm@gnu.org>
7
8 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
9
10 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
11
12 * faces.el (face-spec-recalc): Apply X resources only after the
13 defface spec has been applied. Thus, X resources are no longer
14 overriden by the defface spec which also fixes issues on win32 where
15 the toolbar coloring was wrong because it is set through X resources
16 and was (wrongfully) overriden. (Bug#16694)
17
18 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19
20 * textmodes/rst.el (electric-pair-pairs): Declare.
21 (rst-mode): Set it (bug#17131).
22
23 2014-04-27 Juri Linkov <juri@jurta.org>
24
25 * desktop.el (desktop-value-to-string): Let-bind `print-length'
26 and `print-level' to nil. (Bug#17351)
27
28 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
29
30 * battery.el (battery-update): Handle the case where battery
31 status is "N/A" (bug#17319).
32
33 2014-04-24 Eli Zaretskii <eliz@gnu.org>
34
35 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
36 Use equal-including-properties to compare help-echo strings (bug#17331).
37
38 2014-04-24 Leo Liu <sdl.web@gmail.com>
39
40 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
41 Fix syntax for @. (Bug#17325)
42
43 2014-04-24 Daniel Colascione <dancol@dancol.org>
44
45 * emacs-lisp/cl.el (gv): Require gv early to break eager
46 macro-expansion cycles.
47
48 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * simple.el (region-active-p): Check there's a mark (bug#17324).
51
52 * simple.el (completion-list-mode-map): Use choose-completion for the
53 mouse binding as well (bug#17302).
54 (completion-list-mode, completion-setup-function): Adjust docstring and
55 echo area message accordingly.
56 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
57 calling convention of choose-completion.
58 * comint.el (comint-dynamic-list-completions):
59 * term.el (term-dynamic-list-completions): Accept choose-completion.
60
61 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
62 &, |, +, - and * can't be a division (bug#17317).
63
64 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * term/xterm.el (xterm--version-handler): Don't use modern xterm
67 features on gnome-terminal (bug#16988).
68
69 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
70
71 * dired.el (dired-insert-set-properties): Do not consider
72 subdirectory headings and empty lines to be information that
73 `dired-hide-details-mode' should hide. (Bug#17228)
74
75 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
76
77 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
78 Remove test messages.
79 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
80 and `target' twice.
81
82 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
83
84 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
85 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
86
87 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
88
89 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
90
91 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
92 Set "IFS=" when using read builtin, in order to preserve spaces in
93 the file name. Add test messages for hunting a bug on hydra.
94 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
95
96 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
99 Don't prettify a word within a symbol.
100
101 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
102
103 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
104 possible.
105
106 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
109 assignments such as "case=hello" (bug#17297).
110
111 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
112
113 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
114 Do not autoload.
115 (tramp-file-name-handler, tramp-completion-file-name-handler):
116 Revert patch from 2014-04-10, it isn't necessary anymore.
117 (tramp-autoload-file-name-handler)
118 (tramp-register-autoload-file-name-handlers): New defuns.
119 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
120 (tramp-register-file-name-handlers): Remove also
121 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
122 Do not autoload its invocation, but eval it after loading of 'tramp.
123
124 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
125
126 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
127
128 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
131 was done (bug#17264).
132 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
133 comment to EOB.
134
135 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
136 here-documents (bug#17262).
137
138 2014-04-16 Eli Zaretskii <eliz@gnu.org>
139
140 * term/pc-win.el (x-list-fonts, x-get-selection-value):
141 Provide doc strings, as required by snarf-documentation.
142
143 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
146 arg of overlays-at. Use `invisible-p'.
147
148 * obsolete/lucid.el (extent-at):
149 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
150 overlays-at.
151 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
152
153 2014-04-14 João Távora <joaotavora@gmail.com>
154
155 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
156 links. (Bug#17217).
157
158 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
159
160 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
161 Use mapc to loop over a vector. (Bug#17257).
162
163 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
164
165 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
166 patch, there are new problems with file names containing spaces.
167 Get rid of backticks. (Bug#17238)
168
169 2014-04-13 João Távora <joaotavora@gmail.com>
170
171 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
172 possible bug.
173
174 2014-04-13 Eli Zaretskii <eliz@gnu.org>
175
176 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
177 (blink-cursor-mode): Mention customization variables and the
178 effect of 'blink-cursor-blinks'.
179
180 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
181
182 * simple.el (undo): Prevent insertion of identity mapping into
183 undo-equiv-table so as undo-only does not inf loop in the presence
184 of consecutive nils in undo list.
185
186 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
187
188 * faces.el (make-face): Deprecate optional argument as it is no
189 longer needed/used since the conditional X resources handling
190 has been pushed down to make-face-x-resource-internal itself.
191 (make-empty-face): Don't pass optional argument to make-face.
192
193 2014-04-12 Eli Zaretskii <eliz@gnu.org>
194
195 * international/characters.el <standard-case-table>: Add entries
196 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
197 Set category of Coptic characters be 'g' (Greek).
198
199 2014-04-12 Leo Liu <sdl.web@gmail.com>
200
201 * progmodes/octave.el (completion-table-with-cache): Define if not
202 available.
203 (octave-goto-function-definition)
204 (octave-sync-function-file-names)
205 (octave-find-definition-default-filename): Backquote upattern for
206 compatibility.
207
208 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
209
210 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
211 name twice due to backticks. (Bug#17238)
212
213 2014-04-11 Glenn Morris <rgm@gnu.org>
214
215 * term/w32-win.el (x-win-suspend-error):
216 * term/x-win.el (x-win-suspend-error): Sync docs.
217
218 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 Ediff's overlay priorities cause more trouble than they solve.
221 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
222 (ediff-highest-priority): Remove function (bug#17234).
223 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
224 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
225 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
226 overlay priorities.
227
228 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
229
230 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
231 entry; use symbol boundaries to avoid mis-matches.
232
233 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
234
235 * net/tramp.el (tramp-file-name-handler)
236 (tramp-completion-file-name-handler): Avoid recursive loading.
237
238 * net/tramp-sh.el (tramp-make-copy-program-file-name):
239 Quote result also locally.
240
241 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
242
243 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
244 Module methods. (Bug#17216)
245
246 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * help.el (describe-bindings): Fix buffer handling (bug#17210).
249 (describe-bindings-internal): Mark obsolete.
250
251 2014-04-07 João Távora <joaotavora@gmail.com>
252
253 * elec-pair.el:
254 (electric-pair--syntax-ppss): When inside comments parse from
255 comment beginning.
256 (electric-pair--balance-info): Fix typo in comment.
257 (electric-pair--in-unterminated-string-p): Delete.
258 (electric-pair--unbalanced-strings-p): New function.
259 (electric-pair-string-bound-function): New var.
260 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
261 according to `electric-pair--in-unterminated-string-p'
262
263 2014-04-07 João Távora <joaotavora@gmail.com>
264
265 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
266 Inhibit quote pairing if point-max is inside an unterminated string.
267 (electric-pair--looking-at-unterminated-string-p): Delete.
268 (electric-pair--in-unterminated-string-p): New function.
269
270 2014-04-07 Glenn Morris <rgm@gnu.org>
271
272 * shell.el (shell-directory-tracker):
273 Go back to just ignoring failures. (Bug#17159)
274
275 2014-04-06 João Távora <joaotavora@gmail.com>
276
277 Fix `electric-pair-delete-adjacent-pairs' in modes binding
278 backspace. (bug#16981)
279 * elec-pair.el (electric-pair-backward-delete-char): Delete.
280 (electric-pair-backward-delete-char-untabify): Delete.
281 (electric-pair-mode-map): Bind backspace to a menu item filtering
282 a new `electric-pair-delete-pair' command.
283 (electric-pair-delete-pair): New command.
284
285 2014-04-06 João Távora <joaotavora@gmail.com>
286
287 * progmodes/python.el (python-electric-pair-string-delimiter):
288 Fix triple-quoting electricity. (Bug#17192)
289
290 2014-04-06 João Távora <joaotavora@gmail.com>
291
292 * elec-pair.el (electric-pair-post-self-insert-function):
293 Don't skip whitespace when `electric-pair-text-pairs' and
294 `electric-pair-pairs' were used. syntax to
295 electric-pair--skip-whitespace. (Bug#17183)
296
297 2014-04-06 Eli Zaretskii <eliz@gnu.org>
298
299 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
300 "<F>". (Bug#17199)
301
302 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
305 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
306
307 2014-04-05 Glenn Morris <rgm@gnu.org>
308
309 * help.el (view-lossage): Doc tweak.
310
311 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
312
313 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
314 only when inhibit-x-resources is nil, and do that earlier in the
315 function. Doc fix. (Bug#16694)
316 (face-spec-choose): Accept additional optional argument, whose
317 value is returned if no matching attributes are found.
318 (face-spec-recalc): Use the new optional argument when calling
319 face-spec-choose. (Bug#16378)
320 (make-face-x-resource-internal): Do nothing when
321 inhibit-x-resources is non-nil. Don't touch the default face if
322 reversed video is given--as was done in previous versions of Emacs.
323 (face-set-after-frame-default): Don't call
324 make-face-x-resource-internal here. (Bug#16434)
325
326 2014-04-04 Tassilo Horn <tsdh@gnu.org>
327
328 * doc-view.el (doc-view-bookmark-jump):
329 Use `bookmark-after-jump-hook' to jump to the right page after the
330 buffer is shown in a window. (bug#16090)
331
332 2014-04-04 Eli Zaretskii <eliz@gnu.org>
333
334 * international/characters.el (mirroring): Fix last change:
335 instead of loading uni-mirrored.el explicitly, do that implicitly
336 by creating the 'mirroring' uniprop table. This avoids announcing
337 the loading of uni-mirrored.el.
338
339 2014-04-04 Glenn Morris <rgm@gnu.org>
340
341 * files.el (buffer-stale--default-function)
342 (buffer-stale-function, revert-buffer--default):
343 * autorevert.el (auto-revert-buffers): Doc tweaks.
344
345 2014-04-03 Eli Zaretskii <eliz@gnu.org>
346
347 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
348
349 2014-04-03 Glenn Morris <rgm@gnu.org>
350
351 * files.el (make-backup-file-name-function)
352 (make-backup-file-name, make-backup-file-name--default-function)
353 (make-backup-file-name-1, find-backup-file-name)
354 (revert-buffer-function, revert-buffer-insert-file-contents-function)
355 (buffer-stale--default-function, buffer-stale-function)
356 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
357 (revert-buffer, revert-buffer--default)
358 (revert-buffer-insert-file-contents--default-function):
359 Doc fixes related to defaults no longer being nil.
360 (make-backup-file-name-function): Bump :version.
361 Restore nil as a valid but deprecated custom type.
362
363 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
364
365 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
366 used as a variable (bug#17174).
367
368 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * progmodes/perl-mode.el (perl-indent-new-calculate):
371 Handle forward-sexp failure (bug#16985).
372 (perl-syntax-propertize-function): Add "foreach" and "for" statement
373 modifiers introducing expressions (bug#17116).
374
375 2014-04-02 Glenn Morris <rgm@gnu.org>
376
377 * menu-bar.el (menu-bar-file-menu):
378 * vc/ediff.el (ediff-current-file):
379 Update for revert-buffer-function no longer being nil by default.
380
381 * simple.el (command-execute): Respect nil disabled-command-function.
382
383 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
384
385 * simple.el (command-execute): Do not execute the command when it
386 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
387
388 2014-03-29 Juri Linkov <juri@jurta.org>
389
390 * dired-aux.el (dired-compress-file): Don't use string-match-p
391 because its match data is used afterwards.
392
393 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
396 0 like nil.
397
398 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
399
400 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
401 Highlight special globals with font-lock-builtin-face. (Bug#17057)
402
403 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
404 Don't propertize `?' or `!' as symbol constituent when after
405 colon. (Bug#17097)
406
407 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
408
409 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
410 which is no longer needed and causes trouble in GTK builds (bug#17046).
411
412 * emacs-lisp/package-x.el (package--archive-contents-from-url):
413 Use url-insert-file-contents; package-handle-response no longer exists.
414
415 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
416
417 * emacs-lisp/package.el: Fix bug#16733 (again).
418 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
419 (url-http-target-url): Remove unused declarations.
420 (package-handle-response): Remove.
421 (package--with-work-buffer): Use url-insert-file-contents and simplify.
422 (package--download-one-archive): Use current-buffer instead of
423 dynamic binding of `buffer'.
424 (describe-package-1): Do not decode readme-string.
425
426 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
427
428 * simple.el (primitive-undo): Correction to 2014-03-24 change.
429
430 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
431
432 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
433
434 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
435 from 2014-03-07, it decreases performance unnecessarily. Let-bind
436 `remote-file-name-inhibit-cache' to nil in the second pass.
437 (tramp-find-executable): Do not call "which" on SunOS.
438 (tramp-send-command-and-check): Fix docstring.
439 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
440 check whether source directory has set the sticky bit.
441
442 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
443
444 * simple.el (primitive-undo): Only process marker adjustments
445 validated against their corresponding (TEXT . POS). Issue warning
446 for lone marker adjustments in undo history. (Bug#16818)
447 (undo-make-selective-list): Add marker adjustments to selective
448 undo list based on whether their corresponding (TEXT . POS) is in
449 the region. Remove variable adjusted-markers, which was unused
450 and only non nil during undo-make-selective-list.
451 (undo-elt-in-region): Return nil when passed a marker adjustment
452 and explain in function doc.
453
454 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
455
456 * emacs-lisp/package.el (package--add-to-archive-contents):
457 Include already installed and built-in packages in
458 `package-archive-contents'.
459 (package-install): Don't include already installed packages in the
460 options during interactive invocation. (Bug#16762)
461
462 2014-03-24 Daniel Colascione <dancol@dancol.org>
463
464 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
465 instead of cl-loop search function.
466
467 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
468
469 * frameset.el (frameset--initial-params): Fix typo in parameter name.
470
471 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
472
473 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
474
475 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
476
477 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
478 Match special global variables without curlies, too.
479 (ruby-font-lock-keywords): Simplify the matcher for special global
480 variables. Don't require a non-word character after the variable.
481 (Bug#17057)
482
483 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * simple.el (redisplay-highlight-region-function): Increase priority of
486 overlay to make sure boundaries are visible (bug#15899).
487
488 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
489
490 * frameset.el (frameset-restore): Compare display strings with equal.
491
492 * frame.el (make-frame): Don't quote display name in error message,
493 it is already a string.
494
495 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
496
497 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
498 the password.
499
500 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
501
502 * emacs-lisp/package.el (package-show-package-list): If the buffer
503 is already displayed in another window, switch to that window.
504
505 2014-03-21 Daniel Colascione <dancol@dancol.org>
506
507 * mail/emacsbug.el (report-emacs-bug): Include memory usage
508 information in bug reports.
509
510 2014-03-23 Daniel Colascione <dancol@dancol.org>
511
512 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
513 list to look for keyword arguments instead of `memq', fixing
514 (Bug#3647) --- unfortunately, only for freshly-compiled code.
515 Please make bootstrap.
516
517 2014-03-23 Richard Stallman <rms@gnu.org>
518
519 * battery.el (battery-linux-sysfs): Search for each field
520 from the beginning of the buffer.
521
522 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
523
524 * emacs-lisp/package.el (package-desc): Use the contents of the
525 quoted form, not its cdr. (Bug#16873)
526
527 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
528
529 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
530 benefit of doc.c; change parameter profile to match the X function.
531
532 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
533
534 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
535 and `tramp-copy-env'.
536
537 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
538 (tramp-maybe-open-connection): Handle `tramp-login-env'.
539
540 2014-03-21 Glenn Morris <rgm@gnu.org>
541
542 * electric.el (electric-indent-post-self-insert-function): Add doc.
543
544 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
545
546 * emacs-lisp/package.el (package-compute-transaction):
547 Use `version-list-<=' to compare the requirement version against
548 the version of package already to be installed. Update the error
549 message. (Bug#16826)
550
551 * progmodes/ruby-mode.el (ruby-smie-rules):
552 Add indentation rule for ` @ '. (Bug#17050)
553
554 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
555
556 * align.el (align-regexp): Remove superfluous backslash.
557
558 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
559 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
560 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
561 Fix docstring typos.
562 (ffap-next): Use C-u in docstring.
563 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
564 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
565 Remove superfluous backslashes.
566 (ffap-string-at-point): Reflow docstring.
567
568 * server.el (server-host): Reflow docstring.
569 (server-unload-function): Fix docstring typo.
570 (server-eval-at): Remove superfluous backslash.
571
572 * skeleton.el (skeleton-insert): Remove superfluous backslash.
573 (skeleton-insert): Doc fix.
574 (skeleton-insert): Reflow docstring.
575
576 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
577 (tty-color-approximate, tty-color-by-index, tty-color-values)
578 (tty-color-desc): Remove superfluous backslashes.
579
580 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * electric.el (electric-newline-and-maybe-indent): New command.
583 Bind it globally to C-j.
584 (electric-indent-mode): Don't mess with the global map any more.
585 Don't drop the post-self-insert-hook is some buffer is still using it
586 (bug#16770).
587
588 * bindings.el (global-map): Remove C-j binding.
589
590 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
591 the docstring of functions advised before dumping (bug#16993).
592
593 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
594
595 * ps-print.el (ps-generate-postscript-with-faces):
596 Explicitly deactivate the mark (bug#16866).
597 * simple.el (deactivate-mark): Update region highlight.
598
599 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
600
601 * emacs-lisp/package.el (describe-package-1):
602 Decode commentary (bug#16733).
603
604 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
605
606 * custom.el (defcustom): Doc fix: recommend avoiding destructive
607 modification of the value argument of :set (bug#16755).
608
609 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * simple.el (newline-and-indent): Do autofill (bug#17031).
612
613 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
614
615 * newcomment.el (comment-normalize-vars): Only add escaping check
616 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
617 (comment-beginning): Use `narrow-to-region' instead of moving back
618 one character.
619 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
620 (comment-start-skip): Update the docstring.
621
622 2014-03-18 Richard Stallman <rms@gnu.org>
623
624 * dired.el (dired-display-file): Force use of other window.
625
626 2014-03-18 Daniel Colascione <dancol@dancol.org>
627
628 * startup.el (tty-handle-args): Remove debug message from 2007.
629
630 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
633 (advice--make-interactive-form): Use it to avoid (auto)loading function.
634 (advice--make-1, advice-add, advice-remove):
635 Remove braindead :advice-pending hack.
636
637 2014-03-17 Glenn Morris <rgm@gnu.org>
638
639 * calendar/calendar.el (calendar-generate-month): Apply weekend
640 face to the right days; fixes 2013-08-06 change. (Bug#17028)
641
642 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
643
644 * net/tramp.el (tramp-action-out-of-band): Read pending output.
645 (tramp-call-process): Trace also DESTINATION.
646
647 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
648 Quote file names when they are local. Remove superfluous trace.
649
650 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
651
652 * newcomment.el (comment-beginning): If `comment-start-skip'
653 doesn't match, move back one char and try again. (Bug#16971)
654
655 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
656 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
657 Set `comment-start-skip' to a simpler value that doesn't try to
658 check if the semicolon is escaped (this is handled by
659 `syntax-ppss' now). (Bug#16971)
660
661 * progmodes/scheme.el (scheme-mode-variables): Same.
662
663 2014-03-16 Martin Rudalics <rudalics@gmx.at>
664
665 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
666 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
667 current (Bug#16816, Bug#17007).
668 (with-current-buffer-window): New macro doing the same as
669 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
670 * help.el (help-print-return-message): Warn in doc-string to not
671 use this in `with-help-window'.
672 (describe-bindings-internal): Call `describe-buffer-bindings'
673 from within help buffer. See Juanma's scenario in (Bug#16816).
674 (with-help-window): Update doc-string.
675 * dired.el (dired-mark-pop-up):
676 * files.el (save-buffers-kill-emacs):
677 * register.el (register-preview): Use `with-current-buffer-window'
678 instead of `with-temp-buffer-window'.
679
680 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
681
682 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
683 Implement inserting into current buffer, documented in their docstrings.
684 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
685 (rst-section-tree-point, rst-forward-section, rst-indent)
686 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
687 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
688 (rst-font-lock-handle-adornment-pre-match-form)
689 (rst-repeat-last-character): Reflow docstrings.
690 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
691 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
692 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
693 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
694 Fix docstring typos.
695 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
696 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
697 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
698
699 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
700
701 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
702 for compatibility with other ports.
703 (ns-initialize-window-system): Use it. It is set in term/common-win.el
704 from the -xrm command line argument, but in the Nextstep port its value
705 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
706
707 * progmodes/python.el (defconst, python-syntax-count-quotes)
708 (python-indent-region, python-indent-shift-right)
709 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
710 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
711 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
712 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
713 (inferior-python-mode, python-shell-make-comint, run-python-internal)
714 (python-shell-buffer-substring, python-shell-send-buffer)
715 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
716 (python-completion-complete-at-point, python-fill-docstring-style)
717 (python-eldoc-function, python-imenu-format-item-label)
718 (python-imenu-format-parent-item-label)
719 (python-imenu-format-parent-item-jump-label)
720 (python-imenu--build-tree, python-imenu-create-index)
721 (python-imenu-create-flat-index): Fix docstring typos.
722 (python-indent-context, python-shell-prompt-regexp, run-python):
723 Remove superfluous backslashes.
724 (python-indent-line, python-nav-beginning-of-defun)
725 (python-shell-get-buffer, python-shell-get-process)
726 (python-info-current-defun, python-info-current-line-comment-p)
727 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
728 (python-indent-post-self-insert-function, python-shell-send-file)
729 (python-shell-completion-get-completions)
730 (python-shell-completion-complete-or-indent)
731 (python-eldoc--get-doc-at-point): Reflow docstrings.
732
733 2014-03-14 Glenn Morris <rgm@gnu.org>
734
735 * emacs-lisp/package.el (package-menu-mode-map):
736 Replace use of obsolete function alias. Tweak menu item text.
737
738 * info.el (Info-finder-find-node):
739 Ignore the `emacs' metapackage. (Bug#10813)
740
741 * finder.el (finder-list-matches): Include unversioned packages
742 in the result of a keyword search.
743
744 * finder.el (finder--builtins-descriptions): New constant.
745 (finder-compile-keywords): Use finder--builtins-descriptions.
746
747 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
748
749 * simple.el (blink-matching-paren): Describe the new value,
750 `jump', enabling the old behavior.
751 (blink-matching-open): Use that value. (Bug#17008)
752
753 2014-03-14 Glenn Morris <rgm@gnu.org>
754
755 * finder.el (finder-no-scan-regexp): Add leim-list.
756 (finder-compile-keywords):
757 Don't skip files with same basename. (Bug#14010)
758 * Makefile.in (setwins_finder): New, excluding leim.
759 (finder-data): Use setwins_finder.
760
761 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
762 (help-function-arglist, help-make-usage): Move from here...
763 * help.el (help-split-fundoc, help-add-fundoc-usage)
764 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
765 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
766
767 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
768
769 * net/socks.el (socks, socks-override-functions)
770 (socks-find-services-entry):
771 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
772 (hif-find-ifdef-block):
773 * progmodes/modula2.el (m2-indent): Fix docstring typos.
774
775 * net/tls.el (tls-program): Reflow docstring.
776
777 * progmodes/pascal.el (pascal-mode-abbrev-table)
778 (pascal-imenu-generic-expression, pascal-auto-endcomments)
779 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
780 (pascal-outline-mode): Fix docstring typos.
781 (pascal-mode): Let define-derived-mode document mode hook.
782 (pascal-uncomment-area): Reflow.
783 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
784
785 * progmodes/opascal.el (opascal-compound-block-indent)
786 (opascal-case-label-indent): Fix docstring typos.
787 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
788
789 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
790
791 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
792 Fontify multiple adjacent negation chars. (Bug#17004)
793
794 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
795
796 * emacs-lisp/package.el (package--prepare-dependencies):
797 Accept requirements without explicit version (bug#14941).
798
799 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
800
801 * register.el (register-separator, copy-to-register): Doc fixes.
802 (register-preview-default): Remove unnecessary call to concat.
803
804 * frameset.el (frameset-restore): When checking for a visible frame,
805 use the action map instead of calling visible-frame-list.
806
807 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
808
809 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
810
811 2014-03-12 Martin Rudalics <rudalics@gmx.at>
812
813 * window.el (fit-frame-to-buffer): Get maximum width from
814 display's width instead of height.
815
816 2014-03-12 Glenn Morris <rgm@gnu.org>
817
818 * desktop.el (desktop-restore-frames)
819 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
820 (desktop-restore-reuses-frames): Doc tweaks.
821
822 * electric.el (electric-indent-mode): Doc fix.
823
824 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
825
826 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
827 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
828 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
829 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
830 (cvs-dired-use-hook): Fix docstring typos.
831 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
832 Doc fixes.
833
834 * vc/pcvs-defs.el (cvs-auto-remove-handled)
835 (cvs-auto-remove-directories, cvs-default-ignore-marks)
836 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
837 (cvs-execute-single-dir): Fix docstring typos.
838
839 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
840 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
841
842 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
843
844 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
845 Fix docstring typos.
846
847 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
848
849 * frameset.el (frameset--jump-to-register): Add autoload; it could be
850 called from jump-to-register after unloading the frameset package.
851
852 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
853
854 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
855 (bug#16975). Deactivate the mark before setting it to nil.
856 (activate-mark): Do nothing if region is already active.
857
858 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
859
860 * frameset.el (frameset--target-display): Remove definition; declare.
861 (frameset-save, frameset-restore): Let-bind frameset--target-display.
862
863 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
866 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
867 when the advice is pending.
868 (advice-remove): Remove this marker when not needed any more.
869
870 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
871
872 * frameset.el: Separate options for reusing frames and cleaning up.
873 (frameset--reuse-list): Remove definition; declare.
874 (frameset--action-map): Declare.
875 (frameset--find-frame-if): Doc fix.
876 (frameset--restore-frame): Cache frame action.
877 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
878 how to clean up the frame list after restoring. Remove cleaning
879 options from REUSE-FRAMES. Change all keyword values to symbols.
880 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
881
882 * desktop.el (desktop-restore-forces-onscreen)
883 (desktop-restore-reuses-frames): Use non-keyword values.
884 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
885
886 2014-03-10 Glenn Morris <rgm@gnu.org>
887
888 * files.el (find-file): Doc fix: update info node name.
889
890 * emacs-lisp/advice.el (ad-add-advice, defadvice):
891 Doc fix: remove references to deleted info nodes.
892
893 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
894
895 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
896 Do not add `nil' to the environment, when there's no remote `locale'.
897 (tramp-find-inline-encoding): Check, that the remote host has
898 installed perl, before sending scripts.
899
900 2014-03-10 Leo Liu <sdl.web@gmail.com>
901
902 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
903 Clear eldoc-last-message. (Bug#16920)
904
905 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
908 (bug#14430).
909
910 2014-03-09 Juri Linkov <juri@jurta.org>
911
912 * ansi-color.el (ansi-color-names-vector): Copy default colors
913 from `xterm-standard-colors' that look well on the default white
914 background (and also on the black background) to avoid illegible
915 color combinations like yellow-on-white and white-on-white.
916 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
917
918 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
919
920 * frameset.el (frameset-restore): When no frame is visible, do not
921 generate a list of frames, just make visible the selected one.
922
923 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
924
925 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
926 it only contains the repository root. (Bug#16897)
927
928 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
929
930 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
931 only when `remote-file-name-inhibit-cache' is nil.
932 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
933
934 2014-03-06 Martin Rudalics <rudalics@gmx.at>
935
936 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
937 Fix doc-strings.
938 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
939 fit-frame-to-buffer variable. Fix doc-string.
940 (fit-window-to-buffer): Set ONLY argument in call of
941 fit-frame-to-buffer. Fix doc-string.
942
943 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
944
945 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
946 (tramp-action-password): Clear password cache if needed.
947 (tramp-read-passwd): Do not clear password cache.
948
949 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
950 cache unless it is the first password request.
951
952 2014-03-06 Glenn Morris <rgm@gnu.org>
953
954 * simple.el (newline): Doc tweak.
955
956 * emacs-lisp/shadow.el (load-path-shadows-find):
957 Ignore dir-locals. (Bug#12357)
958
959 2014-03-05 Glenn Morris <rgm@gnu.org>
960
961 * files.el (interpreter-mode-alist):
962 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
963
964 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
965
966 * frameset.el (frameset--initial-params): Filter out null entries.
967
968 2014-03-05 Martin Rudalics <rudalics@gmx.at>
969
970 * window.el (window-min-height, window-min-width):
971 Rewrite doc-strings.
972 (window-body-size): Add PIXELWISE argument to make it consistent
973 with its callees.
974
975 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
976
977 * finder.el (finder-mode-map, finder-mode-syntax-table):
978 Revert part of 2014-02-28 change.
979
980 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
981
982 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
983 (eww-setup-buffer): Clear next/prev/etc more reliably.
984 (eww-textarea-map): [tab] doesn't work on tty.
985 Reported by Mario Lang.
986
987 * net/shr.el (shr-map): Ditto.
988
989 2014-03-04 Glenn Morris <rgm@gnu.org>
990
991 * minibuffer.el (completion-hilit-commonality):
992 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
993
994 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
995
996 * hilit-chg.el (hilit-chg-unload-function): New function.
997 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
998 (hilit-chg-map-changes): Prefer cardinal number to digit.
999 (hilit-chg-display-changes): Reflow docstring.
1000 (highlight-changes-rotate-faces): Remove superfluous backslash.
1001
1002 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1003
1004 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1005 `tramp-send-command-and-check'.
1006
1007 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * hexl.el (hexl-address-region, hexl-ascii-region)
1010 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1011 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1012 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1013 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1014 (hexl-mode): Doc fix.
1015 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1016 (hexl-mode-ruler): Fix typos in docstrings.
1017
1018 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1019 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1020 Remove superfluous backslashes.
1021 (strokes-last-stroke, strokes-global-map, strokes-mode):
1022 Reflow docstrings.
1023 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1024 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1025 (strokes-distance-squared, strokes-global-set-stroke)
1026 (strokes-global-set-stroke-string): Doc fixes.
1027 (strokes-help): Fix typos; reflow docstring.
1028
1029 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1030
1031 * window.el (window-in-direction): Fix doc-string.
1032
1033 2014-03-04 Glenn Morris <rgm@gnu.org>
1034
1035 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1036 Explicit error if no grammar.
1037 (smie-config-save): Doc fix. Fix quote typo.
1038
1039 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1042 electric-indent-mode-hook if we obey electric-indent-mode.
1043 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1044 decide whether we obey electric-indent-mode.
1045 (c-change-set-fl-decl-start, c-extend-after-change-region):
1046 Silence warnings.
1047 (c-electric-indent-mode-hook): Assume we do want to obey
1048 electric-indent-mode.
1049
1050 * electric.el (electric-indent-mode-has-been-called): Remove.
1051 (electric-indent-mode): Fix accordingly.
1052
1053 * files.el (hack-local-variables): Mention file name in warning.
1054
1055 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1056
1057 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1058
1059 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1060 * simple.el (delete-forward-char): Mark as interactive-only.
1061
1062 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1063
1064 * icomplete.el (icomplete-completions):
1065 Follow-up to 2014-03-01 change.
1066
1067 * icomplete.el: Miscellaneous doc fixes.
1068 Use Icomplete everywhere instead of icomplete for consistency.
1069 (icomplete-max-delay-chars): Fix typo.
1070 (icomplete-mode): Use \[].
1071 (icomplete-tidy, icomplete-exhibit): Reflow.
1072 (icomplete-minibuffer-setup-hook, icomplete-completions):
1073 Remove superfluous backlashes.
1074
1075 * ido.el: Miscellaneous doc fixes.
1076 Use Ido everywhere instead of ido or `ido' for consistency.
1077 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1078 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1079 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1080 (ido-separator): Extract obsolescence info from docstring and declare
1081 with make-obsolete-variable.
1082 (ido-minibuffer-setup-hook): Simplify example.
1083 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1084 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1085 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1086 (ido-everywhere): Reflow docstring.
1087 (ido-toggle-vc): Doc fix.
1088 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1089 of long list of keybindings.
1090
1091 2014-03-03 Glenn Morris <rgm@gnu.org>
1092
1093 * frame.el (display-pixel-height, display-pixel-width)
1094 (display-mm-dimensions-alist, display-mm-height)
1095 (display-mm-width): Doc tweaks.
1096
1097 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1098
1099 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1100 case of undo in region.
1101
1102 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1103
1104 * window.el (fit-window-to-buffer): Fix argument in window-size
1105 call when window is horizontally combined.
1106
1107 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1108
1109 * icomplete.el (icomplete-completions): Use string-width.
1110 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1111
1112 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1113
1114 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1115 Highlight regexp options. (Bug#16914)
1116
1117 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1118
1119 * window.el (window--max-delta-1): Round down when calculating
1120 how many lines/columns we can get from a window.
1121
1122 2014-03-01 Glenn Morris <rgm@gnu.org>
1123
1124 * isearch.el (search-invisible): Doc fix.
1125
1126 * minibuffer.el (completion-hilit-commonality):
1127 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1128 * comint.el (comint-dynamic-list-completions): Doc fix.
1129 * comint.el (comint-dynamic-list-completions):
1130 * filecache.el (file-cache-minibuffer-complete):
1131 * tempo.el (tempo-display-completions):
1132 * eshell/em-hist.el (eshell-list-history):
1133 Replace use of obsolete argument of display-completion-list.
1134
1135 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1136
1137 * icomplete.el (icomplete-completions):
1138 Revert back to using "..." when ?… cannot be displayed.
1139
1140 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1141
1142 * finder.el (finder-unload-function): New function.
1143
1144 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1145
1146 * dframe.el (dframe-detach):
1147 * find-dired.el (find-dired, find-name-dired):
1148 * finder.el (finder-mode-map, finder-mode-syntax-table)
1149 (finder-headmark, finder-select, finder-mouse-select):
1150 Fix docstring typos.
1151
1152 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1153
1154 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1155 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1156 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1157 Fix doc-string based on a suggestion by Nicolas Richard
1158 <theonewiththeevillook@yahoo.fr>.
1159 * help.el (with-help-window): Fix doc-string.
1160
1161 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1162
1163 * net/shr.el (shr-image-animate): New option.
1164 (shr-put-image): Respect shr-image-animate.
1165
1166 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1167
1168 * net/tramp-adb.el (tramp-adb-parse-device-names):
1169 Use `accept-process-output'.
1170 (tramp-adb-handle-file-truename): Cache the localname only.
1171 (tramp-adb-handle-make-directory)
1172 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1173 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1174 modes cannot be changed.
1175
1176 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1177 file properties of symlinks.
1178
1179 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1180
1181 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1182 required/optional fields to match development biblatex. (Bug#16781)
1183
1184 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1185
1186 * saveplace.el (toggle-save-place):
1187 Fix argument handling. (Bug#16673)
1188
1189 2014-02-28 Glenn Morris <rgm@gnu.org>
1190
1191 * minibuffer.el (completions-first-difference)
1192 (completions-common-part, completion-hilit-commonality): Doc fixes.
1193
1194 2014-02-28 Karl Berry <karl@gnu.org>
1195
1196 * info.el (Info-mode-map): Add H for describe-mode,
1197 to synchronize with standalone Info.
1198
1199 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1200
1201 * progmodes/sql.el (sql-interactive-mode):
1202 Avoid setting global comint-input-ring-separator. (Bug#16814)
1203
1204 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1205
1206 * net/dbus.el (dbus--init-bus): Declare function.
1207 (dbus-path-local, dbus-interface-local): New defconst.
1208 (dbus-init-bus): Use them.
1209 (dbus-return-values-table): Extend doc.
1210 (dbus-handle-bus-disconnect): Extend error message.
1211
1212 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1213
1214 * subr.el (y-or-n-p): Fix double space issue in message.
1215
1216 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * net/tramp.el (tramp-call-process): Improve trace message.
1219 (tramp-handle-insert-file-contents): Trace error case.
1220
1221 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1222 <insert-directory>: Use `tramp-handle-insert-directory'.
1223 (tramp-adb-handle-insert-directory): Remove function.
1224 (tramp-adb-send-command-and-check): New defun, replacing
1225 `tramp-adb-command-exit-status'. Change all callees.
1226 (tramp-adb-handle-file-attributes)
1227 (tramp-adb-handle-directory-files-and-attributes): Use it.
1228 (tramp-adb-ls-output-name-less-p):
1229 Use `directory-listing-before-filename-regexp'.
1230 (tramp-adb-handle-delete-directory): Flush also file properties of
1231 the truename of directory.
1232 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1233 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1234 (tramp-adb-handle-write-region): Implement APPEND.
1235 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1236 properties correctly.
1237 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1238 variables. Check for connected devices only when needed.
1239
1240 2014-02-27 Glenn Morris <rgm@gnu.org>
1241
1242 * minibuffer.el (completion-table-dynamic)
1243 (completion-table-with-cache): Doc fixes.
1244
1245 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
1246 (completing-read-multiple): Doc fixes.
1247
1248 2014-02-27 Daniel Colascione <dancol@dancol.org>
1249
1250 * minibuffer.el (completion--nth-completion): Fix indentation.
1251
1252 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
1253 explicit tramp path is empty.
1254
1255 2014-02-27 Glenn Morris <rgm@gnu.org>
1256
1257 * emacs-lisp/crm.el (completing-read-multiple):
1258 Empower help-enable-auto-load.
1259
1260 2014-02-26 Glenn Morris <rgm@gnu.org>
1261
1262 * startup.el (command-line): Don't init the tty in daemon mode.
1263
1264 Avoid calling tty-setup-hook twice, eg if a term file
1265 explicitly calls tty-run-terminal-initialization. (Bug#16859)
1266 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
1267 (tty-create-frame-with-faces): Use it.
1268 * startup.el (command-line): Pass run-hook argument
1269 to tty-run-terminal-initialization.
1270
1271 * dired.el (dired-restore-desktop-buffer): Demote errors;
1272 eg in case a glob match fails. (Bug#16884)
1273
1274 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1275
1276 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1277 error from `read-from-string'. (Bug#16850)
1278
1279 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1280 result of `completing-read' in the interactive form. (Bug#16854)
1281
1282 2014-02-25 Glenn Morris <rgm@gnu.org>
1283
1284 * image.el (image-animate, image-animate-timeout):
1285 Stop animating images in dead buffers. (Bug#16878)
1286
1287 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1288
1289 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1290 Doc fixes.
1291 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1292 * term/sun.el (sun-raw-prefix-hooks):
1293 Use tty-setup-hook instead of term-setup-hook.
1294 (terminal-init-sun): Construct message from bytecomp plist.
1295 * term/wyse50.el (enable-arrow-keys): Doc fix.
1296
1297 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1298
1299 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1300 Fix docstring typos.
1301
1302 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1303
1304 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1305
1306 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1307
1308 * minibuffer.el (completion--try-word-completion):
1309 Fix error when completing M-x commands (bug#16808).
1310
1311 2014-02-24 Leo Liu <sdl.web@gmail.com>
1312
1313 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1314
1315 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1316
1317 * apropos.el (apropos-print): Avoid formatting error when
1318 apropos-do-all and apropos-compact-layout are both t.
1319
1320 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1321
1322 * apropos.el (apropos-property, apropos-all-words-regexp)
1323 (apropos-true-hit, apropos-variable, apropos-print):
1324 Fix docstring typos, and remove obsolete comment.
1325
1326 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1327
1328 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1329 Preserve trailing "/". (Bug#16851)
1330
1331 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1332
1333 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1334 after `=>' (bug#16811).
1335 (ruby-smie-rules): Handle the inconsistent second element of the
1336 list returned by `smie-indent--parent'.
1337 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1338 method call.
1339
1340 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1341
1342 * elec-pair.el (electric-pair-text-syntax-table)
1343 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1344 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1345 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1346 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1347
1348 2014-02-22 Glenn Morris <rgm@gnu.org>
1349
1350 * imenu.el (imenu--generic-function): Doc fix.
1351
1352 * register.el (frame-configuration-to-register): Make obsolete.
1353
1354 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1355
1356 * desktop.el (desktop-save-buffer-p): Do not fail when
1357 desktop-files-not-to-save is nil. Return t for true result
1358 as the doc says.
1359
1360 2014-02-22 Daniel Colascione <dancol@dancol.org>
1361
1362 * net/secrets.el (secrets-create-item, secrets-search-items):
1363 Check that attribute values are strings, avoiding the construction
1364 of invalid dbus messages.
1365
1366 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1367
1368 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1369 defun-declarations-alist.
1370
1371 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1372
1373 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1374 (bug#16829).
1375
1376 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1377
1378 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1379 (whitespace-newline, whitespace-trailing, whitespace-line)
1380 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1381 (whitespace-space-after-tab): Fix typo in docstrings.
1382
1383 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1384
1385 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1386
1387 * electric.el (electric-indent-functions-without-reindent):
1388 Add `yaml-indent-line'.
1389
1390 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1391
1392 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1393 It has done nothing for years; should be removed after the release.
1394
1395 * simple.el (choose-completion): Fix docstring typo.
1396 (read-quoted-char-radix): Remove unneeded * in docstring.
1397 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1398 Don't escape parentheses unnecessarily in docstrings.
1399
1400 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1401
1402 Fix handling of window-min-height/-width (Bug#16738).
1403 * window.el (window--dump-window, window--dump-frame):
1404 New functions.
1405 (window--min-size-1): Account for window dividers.
1406 When window-resize-pixelwise is nil, delay rounding till after the
1407 sum of the window components has been calculated.
1408 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1409 nil make sure at least one text line and two text columns remain
1410 fully visible.
1411 (window-resize): Signal an error when window-resize-apply fails.
1412 (window--resize-child-windows): Fix calculation of by how many
1413 pixels a window can still be shrunk via window-new-normal.
1414 (adjust-window-trailing-edge): Call window--resizable with
1415 correct TRAIL argument.
1416
1417 (with-temp-buffer-window): Don't evaluate BODY within
1418 with-current-buffer (Bug#16816).
1419
1420 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1421
1422 * net/tramp.el (tramp-check-cached-permissions):
1423 Call `file-attributes' with `suffix' being a symbol but a string.
1424
1425 2014-02-21 Daniel Colascione <dancol@dancol.org>
1426
1427 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1428 (dbus-init-bus): New function: call into dbus-init-bus-1
1429 and installs a handler for the disconnect signal.
1430 (dbus-call-method): Rewrite to look for result in cons.
1431 (dbus-call-method-handler): Store result in cons.
1432 (dbus-check-event): Recognize events with nil sender as valid.
1433 (dbus-handle-bus-disconnect): New function. React to bus
1434 disconnection signal by synthesizing dbus error for each
1435 pending synchronous or asynchronous call.
1436 (dbus-notice-synchronous-call-errors): New function.
1437 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1438 is true, not all the time.
1439
1440 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1441
1442 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1443 Remove obsolescence declarations, these variables do not exist anymore.
1444
1445 * savehist.el (savehist-save-minibuffer-history)
1446 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1447 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1448 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1449 mostly, refer to "Savehist mode" when talking about the mode,
1450 and not the function.
1451
1452 * saveplace.el (save-place): Remove redundant info in docstring.
1453 (save-place-forget-unreadable-files, toggle-save-place)
1454 (save-place-forget-unreadable-files, save-place-dired-hook):
1455 Fix typos and remove unneeded backslashes.
1456
1457 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1458
1459 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1460 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1461
1462 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1463 <insert-directory>: Use `tramp-handle-insert-directory'.
1464 (tramp-gvfs-handle-insert-directory): Remove function.
1465
1466 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1467 Call `tramp-handle-insert-directory'.
1468
1469 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1470
1471 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1472 before the start of buffer/region (bug#16799).
1473
1474 2014-02-20 Glenn Morris <rgm@gnu.org>
1475
1476 * isearch.el (search-invisible): Doc fix.
1477
1478 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1479
1480 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1481 (bug#16657).
1482
1483 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1484
1485 * frameset.el (frameset-restore): Delay removing an old frame's
1486 duplicate id until the new frame has been correctly created.
1487
1488 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1489
1490 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1491 (tramp-check-cached-permissions): Call `file-attributes' if the
1492 cache is empty.
1493
1494 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1495 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1496
1497 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1498 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1499 (tramp-gvfs-maybe-open-connection): Set always connection
1500 properties, even if target is mounted already.
1501
1502 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1503 Set tramp-autoload cookie.
1504 (tramp-get-remote-touch): New defun.
1505 (tramp-sh-handle-set-file-times): Use it.
1506 (tramp-sh-handle-directory-files-and-attributes):
1507 Use `tramp-handle-directory-files-and-attributes' if neither stat
1508 nor perl are available on the remote host.
1509
1510 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1511 "/". Write long listing only when "l" belongs to the switches.
1512
1513 * net/trampver.el: Update release number.
1514
1515 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1516
1517 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1518
1519 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1520
1521 * window.el (window-state-put): Allow WINDOW to refer to an
1522 internal window (Bug#16793).
1523
1524 2014-02-19 Glenn Morris <rgm@gnu.org>
1525
1526 * textmodes/remember.el: Move provide statement to end.
1527 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1528 (remember-notes): Doc fixes.
1529
1530 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1531
1532 * delsel.el (delete-char): Restore incorrectly erased property
1533 (bug#16795).
1534
1535 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1536
1537 * frameset.el (frameset--restore-frame): When a frame is being reused
1538 and its root window is not alive, delete all the frame's windows before
1539 restoring the window state. This works around the issue in bug#16793.
1540
1541 2014-02-18 Glenn Morris <rgm@gnu.org>
1542
1543 * textmodes/remember.el (remember-data-directory)
1544 (remember-directory-file-name-format, remember-store-in-files)
1545 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1546 (remember-notes-save-and-bury-buffer)
1547 (remember-notes--kill-buffer-query): Doc fixes.
1548
1549 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1550
1551 2014-02-17 Alan Mackenzie <acm@muc.de>
1552
1553 Connect electric-indent-mode up with CC Mode. Bug #15478.
1554 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1555 to electric-indent-{,local-}-mode.
1556 (c-basic-common-init): Set electric-indent-inhibit.
1557 Initialise c-electric-flag from electric-indent-mode.
1558 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1559 New hook functions which propagate electric-indent-mode to CC mode.
1560
1561 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1562 hit, toggle electric-indent-local-mode.
1563
1564 * electric.el (electric-indent-mode-has-been-called):
1565 New variable.
1566
1567 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1568
1569 * frameset.el (frameset-cfg-id): New function.
1570 (frameset--reuse-frame, frameset-restore): Use it.
1571 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1572
1573 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1574
1575 * ido.el (ido-file-internal): Remove unused var `d'.
1576 Use \` for to match BoS. Fit within 80n columns.
1577
1578 2014-02-17 Daniel Colascione <dancol@dancol.org>
1579
1580 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1581 dbus-call-method check for completion using a busy-wait loop with
1582 gradual backoff.
1583
1584 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1585
1586 Sync with Tramp 2.2.9.
1587
1588 * net/trampver.el: Update release number.
1589
1590 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1591
1592 * ido.el (ido-file-internal): Don't add the name of an existing
1593 directory twice. (Bug#16747)
1594
1595 2014-02-16 Glenn Morris <rgm@gnu.org>
1596
1597 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1598 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1599
1600 2014-02-15 Michael R. Mauger <michael@mauger.com>
1601
1602 * progmodes/sql.el: Version 3.4
1603 (sql-oracle-options): New default value ("-L").
1604 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1605 (sql-placeholders-filter): Correct placeholder pattern.
1606 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1607 (sql-login-delay): New variable.
1608 (sql-product-interactive): Use it.
1609
1610 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1611
1612 * frameset.el (frameset--jump-to-register): Check that buffer is live
1613 (bug#16749).
1614
1615 2014-02-15 Glenn Morris <rgm@gnu.org>
1616
1617 * info.el (info-initialize): Revert 2014-01-10 change.
1618
1619 2014-02-14 Glenn Morris <rgm@gnu.org>
1620
1621 * replace.el (map-query-replace-regexp)
1622 (read-regexp-defaults-function, read-regexp): Doc fixes.
1623
1624 * dired.el (dired-read-regexp):
1625 * faces.el (list-faces-display):
1626 * misearch.el (multi-isearch-read-matching-buffers)
1627 (multi-isearch-read-matching-files):
1628 * play/cookie1.el (cookie-apropos):
1629 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1630
1631 * textmodes/remember.el (remember): Use frameset-to-register
1632 rather than frame-configuration-to-register.
1633
1634 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1635
1636 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1637 incorrect keybinding.
1638
1639 2014-02-13 Daniel Colascione <dancol@dancol.org>
1640
1641 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1642 when adding overlays so that line numbers from compiler match line
1643 numbers we use.
1644
1645 2014-02-13 Glenn Morris <rgm@gnu.org>
1646
1647 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1648
1649 * jit-lock.el (jit-lock-mode): Doc fix.
1650
1651 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1652
1653 * apropos.el (apropos-read-pattern): When the user passes an empty
1654 string, give a more helpful error message than "Wrong type
1655 argument: stringp, nil".
1656
1657 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1660
1661 2014-02-13 Glenn Morris <rgm@gnu.org>
1662
1663 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1664
1665 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1666
1667 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1668 shift-select commands.
1669
1670 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1671
1672 * progmodes/js.el (js-indent-line): Don't widen.
1673 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1674
1675 2014-02-12 Glenn Morris <rgm@gnu.org>
1676
1677 * icomplete.el (icomplete): Add info-link to defgroup.
1678 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1679 (icomplete-minibuffer-map, icomplete-mode)
1680 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1681
1682 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1683 (package-menu-filter): Rename from package-menu-filter-interactive.
1684 Doc fix.
1685
1686 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1687
1688 * frameset.el (frameset--jump-to-register): Select the required
1689 window and buffer before restoring position (bug#16696).
1690
1691 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1692
1693 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1694
1695 2014-02-10 Glenn Morris <rgm@gnu.org>
1696
1697 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1698
1699 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1700
1701 * w32-common-fns.el (x-get-selection): Doc fix.
1702 * select.el (x-get-selection): Doc fix. (Bug#15109)
1703
1704 * face-remap.el (face-remap-add-relative)
1705 (face-remap-remove-relative, face-remap-reset-base)
1706 (face-remap-set-base): Call force-mode-line-update to redisplay
1707 the current buffer due to potential change in faces. (Bug#16709)
1708
1709 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1710
1711 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1712 script more robustly.
1713
1714 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1715
1716 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1717
1718 * simple.el (choose-completion): Doc fix (bug#14160).
1719
1720 * subr.el (event-start): Say what a nil EVENT value means.
1721
1722 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1723 (bug#14197).
1724
1725 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1726
1727 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1728
1729 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1730
1731 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1732 predicate function (bug#15455).
1733
1734 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1735
1736 * ielm.el (inferior-emacs-lisp-mode): Instead of
1737 `comment-use-global-state', set `comment-use-syntax'.
1738
1739 2014-02-10 Glenn Morris <rgm@gnu.org>
1740
1741 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1742
1743 2014-02-09 Alan Mackenzie <acm@muc.de>
1744
1745 Fix c-invalidate-state-cache on narrowed buffers.
1746 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1747 Widen when setting and clearing the CPP delimiter properties.
1748
1749 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1750
1751 * help.el (describe-bindings): Doc fix (bug#9888).
1752
1753 * files.el (save-buffer): Use ARG as the parameter name for
1754 consistency (bug#10346).
1755 (save-buffer): Clarify the 0 argument (bug#10346).
1756
1757 * cus-edit.el (customize-apropos): Fix error string.
1758 (custom-buffer-create): Doc fix (bug#11122).
1759 (custom-sort-items): Doc fix (bug#11121).
1760
1761 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1762
1763 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1764 (icomplete-simple-completing-p): Mention the previous variable.
1765
1766 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1767 meaning of the parameter (bug#12282).
1768
1769 * files.el (find-file-noselect): Clarify prompt when changing
1770 readedness (bug#13261).
1771 (locate-file): Suffixes aren't returned, so don't say that they
1772 are (bug#12674).
1773 (backup-inhibited): Doc clarification (bug#12525).
1774
1775 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1776 before we actually start to delete things (bug#16331).
1777
1778 * subr.el (event-start): Doc fix (bug#14228).
1779 (event-end): Ditto.
1780
1781 2014-02-09 Glenn Morris <rgm@gnu.org>
1782
1783 * emacs-lisp/warnings.el (lwarn):
1784 Empower help-enable-auto-load. (Bug#15940)
1785
1786 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1787
1788 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1789 (Bug#16690)
1790
1791 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1792
1793 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1794 Insert output at end of buffer. (Bug#16120)
1795
1796 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1797
1798 * simple.el (choose-completion-string-functions): Document new
1799 calling convention (bug#14153).
1800 (execute-extended-command): Clarify doc string (bug#13373).
1801
1802 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1803
1804 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1805 (find-grep-dired): Doc fix (bug#14288).
1806
1807 2014-02-08 Juri Linkov <juri@jurta.org>
1808
1809 * isearch.el (isearch-quote-char): Check character validity
1810 like in `quoted-insert' (bug#16677).
1811
1812 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1813
1814 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1815
1816 * isearch.el (isearch-hide-immediately): Doc clarification
1817 (bug#14723).
1818
1819 * simple.el (line-move): Document utility function used many
1820 places in the Emacs sources (bug#14843).
1821
1822 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1823 (dired-prev-marked-file): Doc fix (bug#14855).
1824 (dired-up-directory): Doc fix (bug#14848).
1825
1826 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1827
1828 * files.el (file-relative-name): Doc fix (bug#15159).
1829
1830 * fringe.el (fringe-styles): Doc fix (bug#15239).
1831
1832 * isearch.el (isearch-filter-predicate): Documentation typo fix
1833 (bug#15474).
1834
1835 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1836
1837 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1838
1839 * replace.el (replace-match-maybe-edit): Doc clarification
1840 (bug#15632).
1841
1842 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1843
1844 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1845
1846 2014-02-08 Glenn Morris <rgm@gnu.org>
1847
1848 * help-fns.el (describe-variable):
1849 Check {file,dir}-local-variables-alist, and buffer-file-name,
1850 in the correct buffer.
1851
1852 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1853
1854 * help-fns.el (describe-variable): Fix the case where
1855 a value is directory-local with no dir-locals file. (Bug#16635)
1856
1857 2014-02-08 Glenn Morris <rgm@gnu.org>
1858
1859 * abbrev.el (edit-abbrevs-mode):
1860 Derive from fundamental-mode. (Bug#16682)
1861
1862 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1863
1864 * simple.el (quoted-insert): Check character validity (bug#16677).
1865
1866 2014-02-07 Juri Linkov <juri@jurta.org>
1867
1868 * desktop.el (desktop-read): Claim the lock when the owner is not
1869 the current process. (Bug#16157)
1870
1871 2014-02-07 Juri Linkov <juri@jurta.org>
1872
1873 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1874 to "\\` ". (Bug#16651)
1875
1876 2014-02-07 Juri Linkov <juri@jurta.org>
1877
1878 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1879 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1880 (desktop-auto-save-cancel-timer): New function with some code from
1881 `desktop-auto-save-set-timer'.
1882 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1883 Instead of setting `desktop-save-mode' to nil, call
1884 `desktop-save-mode' with arg 0. (Bug#16630)
1885
1886 2014-02-07 Glenn Morris <rgm@gnu.org>
1887
1888 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1889 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1890 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1891
1892 * obsolete/iswitchb.el: Move to obsolete/.
1893 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1894 since obsolete/ is not scanned for autoloads.
1895 * emacs-lisp/authors.el (authors-valid-file-names):
1896 Add iswitchb.el.
1897
1898 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1899 Disable now non-functional find-file-hook.
1900
1901 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1902
1903 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1904 instead of ";" in order to avoid additional prompts. Let heredoc
1905 scripts read from tty. (Bug#16582)
1906 (tramp-send-command): No special handling of heredocs, it isn't
1907 necessary anymore.
1908
1909 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1912 with a space (bug#16664). Limit the symbols considered to the ones
1913 that are bound or fbound (bug#16646).
1914
1915 2014-02-06 Glenn Morris <rgm@gnu.org>
1916
1917 * epa.el (epa-mail-aliases): Doc fix.
1918
1919 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1920
1921 * emacs-lisp/lisp.el (lisp-completion-at-point):
1922 Use `completion-table-merge' instead of `completion-table-in-turn'
1923 (bug#16604).
1924
1925 * minibuffer.el (completion-table-merge): New function.
1926
1927 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1928
1929 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1930 (tramp-sh-handle-set-file-acl)
1931 (tramp-sh-handle-start-file-process)
1932 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1933 (tramp-find-executable, tramp-send-command): Use it.
1934
1935 2014-02-05 Glenn Morris <rgm@gnu.org>
1936
1937 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1938
1939 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1940
1941 * progmodes/python.el (python-shell-send-string)
1942 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1943
1944 2014-02-04 Anders Lindgren <andlind@gmail.com>
1945
1946 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1947 the names (bug#16620).
1948
1949 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1950
1951 * faces.el (window-divider): New default value. Rewrite doc-string.
1952 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1953
1954 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1955
1956 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1957 `protected' and `public' can also be called without arguments.
1958
1959 2014-02-03 Glenn Morris <rgm@gnu.org>
1960
1961 * register.el (window-configuration-to-register)
1962 (frame-configuration-to-register): Unadvertise unused argument.
1963 * frameset.el (frameset-to-register): Remove unused argument.
1964
1965 * frameset.el (frameset-to-register):
1966 * kmacro.el (kmacro-to-register):
1967 * register.el (increment-register):
1968 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1969 (calc-append-to-register, calc-prepend-to-register):
1970 * play/gametree.el (gametree-layout-to-register)
1971 (gametree-apply-register-layout):
1972 * textmodes/picture.el (picture-clear-rectangle-to-register)
1973 (picture-yank-rectangle-from-register):
1974 * vc/emerge.el (emerge-combine-versions-register):
1975 Use register-read-with-preview to read registers.
1976
1977 2014-02-03 João Távora <joaotavora@gmail.com>
1978
1979 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1980 when at beginning of (possibly narrowed) buffer.
1981
1982 2014-02-02 Daniel Colascione <dancol@dancol.org>
1983
1984 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1985 Also try to display local help from just before point.
1986
1987 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1988
1989 c-parse-state. Don't "append-lower-brace-pair" in certain
1990 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1991 recognised as a comment.
1992
1993 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1994 as well as normal comment starter.
1995 (c-parse-state-get-strategy): Extra return possibility
1996 'back-and-forward.
1997 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1998 return value list to indicate replacement of a brace-pair cons
1999 with its car.
2000 (c-parse-state-1): With 'back-and-forward, only call
2001 c-append-lower-brace-pair-to state-cache when cons-separated.
2002
2003 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2004
2005 * term/ns-win.el (ns-suspend-error): New function.
2006 (ns-initialize-window-system): Add ns-suspend-error to
2007 suspend-hook (Bug#16612).
2008
2009 2014-02-02 Daniel Colascione <dancol@dancol.org>
2010
2011 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2012 Make loading cc-mode silent.
2013
2014 2014-02-02 Daniel Colascione <dancol@dancol.org>
2015
2016 * comint.el (comint-prompt-read-only): Change doc to suggest
2017 remap keybinding.
2018
2019 2014-02-02 Glenn Morris <rgm@gnu.org>
2020
2021 * register.el (register-read-with-preview, point-to-register)
2022 (window-configuration-to-register, frame-configuration-to-register)
2023 (jump-to-register, number-to-register, view-register, insert-register)
2024 (copy-to-register, append-to-register, prepend-to-register)
2025 (copy-rectangle-to-register): Doc fixes.
2026
2027 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2028
2029 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2030 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2031 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2032 * help-fns.el (describe-function-1): Use it.
2033
2034 2014-02-02 Glenn Morris <rgm@gnu.org>
2035
2036 * register.el (register-preview-default): New function,
2037 split from register-preview.
2038 (register-preview-function): Rename from register-preview-functions,
2039 make it not a hook.
2040 (register-preview): Use register-preview-function.
2041 (register-read-with-preview): Error on non-character event. (Bug#16595)
2042
2043 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2044
2045 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2046 `:' before binary operators (bug#16609). Don't check for `:'
2047 before `[' and `(', or their syntax status. A percent literal
2048 can't end with either.
2049 (ruby-font-lock-keywords): For built-ins that require arguments,
2050 check that they're followed by something that looks like argument
2051 (bug#16610).
2052
2053 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2054
2055 * subr.el (butlast): Document what an omitted N means (bug#13437).
2056 (nbutlast): Ditto.
2057
2058 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2059
2060 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2061 depth shallower (bug#16587).
2062 (shr-tag-svg): Respect `shr-inhibit-images'.
2063 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2064
2065 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2066
2067 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2068 (ruby-smie-grammar): Make "." right-associative. Make its priority
2069 lower than the ternary and all binary operators.
2070 (ruby-smie-rules): Indent "(" relative to the first non-"."
2071 parent, or the first "." parent at indentation.
2072 Use `ruby-align-chained-calls' for indentation of "." tokens.
2073 (Bug#16593)
2074
2075 2014-01-31 Juri Linkov <juri@jurta.org>
2076
2077 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2078 from `make-hash-table'.
2079
2080 * textmodes/ispell.el (ispell-init-process): Change message format
2081 to be consistent with other messages.
2082
2083 2014-01-31 Glenn Morris <rgm@gnu.org>
2084
2085 * delsel.el (delete-selection-mode): Doc fix.
2086
2087 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2088 (trace-function-background): Doc fixes.
2089
2090 * ido.el (ido-use-virtual-buffers): Doc fix.
2091 Reset :version, since the default value has not changed.
2092
2093 * register.el (register-preview-delay, register-read-with-preview):
2094 Doc fixes.
2095
2096 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2097 do not mess with mail-buffer position (fixes 2009-11-03 change).
2098 * progmodes/cc-mode.el (c-submit-bug-report):
2099 Check auto-fill-mode is bound. (Bug#16592)
2100
2101 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2102
2103 * startup.el (fancy-splash-image-file): New function,
2104 split from fancy-splash-head.
2105 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2106 so that we are both using the same image. (Bug#16574)
2107
2108 2014-01-30 Glenn Morris <rgm@gnu.org>
2109
2110 * simple.el (eval-expression): Doc fix.
2111
2112 * hexl.el (hexl-mode-hook):
2113 * ielm.el (ielm-mode-hook):
2114 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2115 (lisp-interaction-mode-hook):
2116 * progmodes/cfengine.el (cfengine3-documentation-function):
2117 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2118
2119 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2122 is a symbol (bug#16584).
2123
2124 2014-01-30 Glenn Morris <rgm@gnu.org>
2125
2126 * help.el (help-for-help-internal): Add "P" to text.
2127
2128 2014-01-29 Glenn Morris <rgm@gnu.org>
2129
2130 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2131
2132 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2133
2134 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2135 height constraints.
2136
2137 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2138
2139 * progmodes/hideif.el: Extend to full CPP expression syntax.
2140 (hif-token-alist): Add missing tokens.
2141 (hif-token-regexp): Add support for float/octal/hex immediates.
2142 (hif-string-literal-regexp): New const.
2143 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2144 (hif-exprlist): New function.
2145 (hif-parse-if-exp): Use it.
2146 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2147 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2148 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2149 (hif-logxor, hif-comma): New functions.
2150
2151 2014-01-28 Glenn Morris <rgm@gnu.org>
2152
2153 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2154
2155 * indent.el (tab-stop-list): Doc fix. Add :version.
2156
2157 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2158 (cvs-append-to-ignore): Add compatibility alias.
2159
2160 2014-01-27 Glenn Morris <rgm@gnu.org>
2161
2162 * dired.el (dired-hide-details-mode): Don't autoload it,
2163 since it cannot be used outside Dired buffers anyway.
2164
2165 * emulation/cua-base.el (cua-mode): Doc fix.
2166
2167 * dired.el (dired-hide-details-hide-symlink-targets)
2168 (dired-hide-details-hide-information-lines)
2169 (dired-hide-details-mode): Doc fixes.
2170
2171 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2172 * strokes.el (strokes-file): Doc fix. Bump :version.
2173 (strokes-help): Doc fix.
2174 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2175 * emulation/viper.el (viper): Doc fix for custom group.
2176 (top-level): Remove oh-so-no-longer-relevant text about vip.
2177 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2178
2179 * ido.el (ido-save-directory-list-file):
2180 * saveplace.el (save-place-file):
2181 * calendar/timeclock.el (timeclock-file):
2182 * net/quickurl.el (quickurl-url-file):
2183 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2184 * progmodes/idlwave.el (idlwave-config-directory):
2185 * textmodes/remember.el (remember-data-file):
2186 Bump :version.
2187
2188 2014-01-26 Glenn Morris <rgm@gnu.org>
2189
2190 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2191 Doc fix. Make obsolete.
2192 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2193
2194 * sort.el (delete-duplicate-lines): Doc fix.
2195
2196 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2197
2198 * progmodes/ada-mode.el (ada):
2199 * woman.el (woman): Link to info manual and Commentary section.
2200
2201 * progmodes/flymake.el (flymake):
2202 * nxml/nxml-mode.el (nxml):
2203 * net/eww.el (eww):
2204 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2205 * htmlfontify.el (htmlfontify):
2206 * ses.el (ses):
2207 * epa.el (epa):
2208 * ido.el (ido): Link to info manual.
2209
2210 2014-01-25 Leo Liu <sdl.web@gmail.com>
2211
2212 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2213
2214 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2215
2216 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2217 (bug#16537).
2218
2219 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2220
2221 * net/eww.el (eww-download-callback):
2222 Fix reference to eww-download-directory.
2223
2224 * emacs-lisp/bytecomp.el (byte-compile-file):
2225 Remove unused local variable `file-name'.
2226
2227 2014-01-24 Glenn Morris <rgm@gnu.org>
2228
2229 * woman.el (woman-default-faces, woman-monochrome-faces):
2230 Fix obsolescence specification.
2231
2232 * subr.el (with-demoted-errors): Doc fix.
2233
2234 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2237 (cl--macroexp-fboundp): New function.
2238 (cl--make-type-test): Use it.
2239
2240 2014-01-23 Glenn Morris <rgm@gnu.org>
2241
2242 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
2243 * simple.el (eval-expression): Doc fixes.
2244
2245 2014-01-22 Glenn Morris <rgm@gnu.org>
2246
2247 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
2248
2249 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2250
2251 * emacs-lisp/package.el: Write files silently.
2252 (package-autoload-ensure-default-file, package--write-file-no-coding)
2253 (package-generate-description-file, package--download-one-archive)
2254 (package-install-from-archive): Tell `write-region' to stay quiet.
2255 (package-menu-mode, package-menu--print-info): Omit the Archive column
2256 if there's only one archive.
2257 (package-all-keywords, package--has-keyword-p): Remove dead code.
2258
2259 2014-01-22 Glenn Morris <rgm@gnu.org>
2260
2261 * version.el (emacs-bzr-version-bzr): Fix typo.
2262
2263 * version.el (emacs-repository-get-version):
2264 Check either .bzr or .git, but not both.
2265 Make the git case actually use the DIR argument, and return nil
2266 rather than the empty string.
2267 Avoid error if .git exists but the git executable is not found.
2268
2269 2014-01-22 Martin Rudalics <rudalics@gmx.at>
2270
2271 Fixes in window size functions around Bug#16430 and Bug#16470.
2272 * window.el (window-total-size, window-size): New argument ROUND.
2273 (window--min-delta-1, window-min-delta, window--max-delta-1):
2274 Be more conservative when calculating the numbers of lines or
2275 columns a window can shrink (Bug#16430).
2276 (fit-window-to-buffer): Simplify code.
2277 * term.el (term-window-width): Call window-body-width again.
2278
2279 2014-01-22 Glenn Morris <rgm@gnu.org>
2280
2281 * image.el (image-format-suffixes): Doc fix.
2282
2283 * international/quail.el (quail-define-package): Doc fix.
2284
2285 * emacs-lisp/authors.el (authors-valid-file-names)
2286 (authors-renamed-files-alist): Additions.
2287
2288 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2289 reverts 2014-01-09 change. (Bug#16422)
2290
2291 * calc/calc-embed.el (thing-at-point-looking-at):
2292 * emacs-lisp/map-ynp.el (x-popup-dialog):
2293 * obsolete/lmenu.el (x-popup-dialog):
2294 * emacs-lisp/package.el (url-recreate-url):
2295 * mail/mailclient.el (clipboard-kill-ring-save):
2296 * subr.el (x-popup-dialog): Update declaration.
2297 * mail/rmail.el (rmail-mime-message-p):
2298 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2299
2300 2014-01-21 Daniel Colascione <dancol@dancol.org>
2301
2302 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2303 Correctly detect when we're inside an arithmetic expansion form
2304 containing nested parenthesis.
2305 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2306 to detect cases where we shouldn't expand "<<" to a heredoc
2307 skeleton.
2308
2309 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2312 (eldoc--message-command-p): New function.
2313 (eldoc-display-message-p): Use it.
2314 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2315 message is not automatically erased for us.
2316 (eldoc-print-current-symbol-info): Erase previous message, if any.
2317
2318 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2319
2320 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2321 specify it's an interactive function.
2322
2323 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2324 Fix regex used for scanning for citation keys which failed for
2325 citations with optional arguments.
2326
2327 2014-01-21 Leo Liu <sdl.web@gmail.com>
2328
2329 * simple.el (read--expression): Don't enable eldoc-mode.
2330
2331 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 * simple.el (move-beginning-of-line): Make sure we don't move forward
2334 (bug#16497).
2335
2336 2014-01-20 Juri Linkov <juri@jurta.org>
2337
2338 * saveplace.el (toggle-save-place, save-place-to-alist)
2339 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2340 'dired-mode) before checking for dired-directory. (Bug#16477)
2341
2342 2014-01-20 Juri Linkov <juri@jurta.org>
2343
2344 * indent.el (indent-line-to): Use backward-to-indentation
2345 instead of back-to-indentation. (Bug#16461)
2346
2347 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2348
2349 Revert some of the CANNOT_DUMP fix (Bug#16494).
2350 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2351 but fixing this can wait until after the next release.
2352 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2353
2354 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2355
2356 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2357 Use `password-word-equivalents'.
2358 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2359 to t. (Bug#5664, Bug#13124)
2360
2361 2014-01-19 Alan Mackenzie <acm@muc.de>
2362
2363 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2364 points.
2365 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2366 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2367 * progmodes/cc-mode.el (c-before-change, c-after-change)
2368 (c-font-lock-fontify-region): Bind it here.
2369
2370 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2371
2372 * term.el (term-window-width): Call window-text-width instead of
2373 window-width (Bug#16470).
2374
2375 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2376
2377 * simple.el (password-word-equivalents): Remove duplicates.
2378 Sort, to make this easier next time.
2379 Downcase. Omit ": " after "jelszó".
2380
2381 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2382
2383 * term/common-win.el (saved-region-selection): Defvar it.
2384 (x-select-text): Set saved-region-selection (Bug#16382).
2385
2386 2014-01-18 Glenn Morris <rgm@gnu.org>
2387
2388 * emacs-lisp/authors.el (authors-aliases)
2389 (authors-renamed-files-alist): Add some entries.
2390
2391 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2392
2393 * net/tramp.el (tramp-password-prompt-regexp):
2394 Use `password-word-equivalents' if available.
2395 (tramp-action-password, tramp-process-one-action)
2396 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2397
2398 2014-01-17 Chong Yidong <cyd@gnu.org>
2399
2400 * simple.el (password-word-equivalents): New defcustom.
2401 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2402 to 24.4.
2403 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2404 to t. (Bug#13124)
2405
2406 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2407
2408 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2409 (ruby-align-to-stmt-keywords): Change the default value.
2410 Use `ruby-alignable-keywords' to generate the possible customization
2411 choices.
2412 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2413 keywords, check against the value of `ruby-alignable-keywords'
2414 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2415
2416 2014-01-17 Glenn Morris <rgm@gnu.org>
2417
2418 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2419
2420 Make M-x authors return zero *Authors Errors* from current logs.
2421 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2422 (authors-ignored-files): Add some entries, remove others.
2423 (authors-ambiguous-files, authors-valid-file-names):
2424 Add some entries.
2425 (authors-renamed-files-alist): Add, remove, and adjust entries.
2426 (authors-renamed-files-regexps): Add some entries.
2427 Remove some very broad ones. Make some entries `lax'.
2428 (authors-lax-changelogs): New constant.
2429 (authors-disambiguate-file-name): Treat top-level specially.
2430 (authors-lax-changelog-p): New function.
2431 (authors-canonical-file-name): Check file as written against
2432 authors-valid-file-names. Do not special-case etc/.
2433 Handle `lax' logs and authors-renamed-files-regexps elements.
2434
2435 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2436
2437 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2438 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2439 callers.
2440
2441 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2444 Assume we're already in the proper buffer.
2445 Inspired by Anders Lindgren <andlind@gmail.com>.
2446 (follow-post-command-hook): Call it from the right buffer.
2447 (follow-comint-scroll-to-bottom): Adjust call.
2448 (follow-all-followers): Use get-buffer-window-list.
2449
2450 2014-01-15 Daniel Colascione <dancol@dancol.org>
2451
2452 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2453 `buffer-file-name' in interactive-form so that we don't leave
2454 pathless file names in `file-name-history'.
2455
2456 2014-01-15 Juri Linkov <juri@jurta.org>
2457
2458 * indent.el (indent-rigidly): Set deactivate-mark to nil
2459 in transient indentation mode. (Bug#16438)
2460
2461 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2462
2463 * emacs-lisp/package.el (package-desc-keywords): New function
2464 (Bug#16222).
2465 (describe-package-1, package-all-keywords)
2466 (package--has-keyword-p): Use it.
2467
2468 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2469
2470 * simple.el (define-alternatives): When creating the
2471 COMMAND-alternatives variable, assign COMMAND as its definition
2472 name so that `describe-variable' can relocate it.
2473
2474 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2475
2476 * font-lock.el (font-lock-keywords): Fix typo in docstring
2477 (bug#16307).
2478
2479 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2480
2481 * ispell.el (ispell-region): Reset `in-comment' for new line
2482 instead of wrongly reset `add-coment' (bug#13577).
2483
2484 2014-01-14 Daiki Ueno <ueno@gnu.org>
2485
2486 * epa-file.el (epa-file-write-region): Encode the region according
2487 to `buffer-file-format'. Problem reported at:
2488 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2489
2490 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2491
2492 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2493 so it applies in the right buffer (bug#16410).
2494
2495 2014-01-13 Daniel Colascione <dancol@dancol.org>
2496
2497 * textmodes/rst.el (rst-define-key): Provide deprecated
2498 keybindings through named functions instead of anonymous ones so
2499 that "??" doesn't appear in describe-mode output.
2500
2501 2014-01-13 Bastien Guerry <bzg@gnu.org>
2502
2503 * simple.el (define-alternatives): Call the selected command
2504 interactively. When setting `COMMAND--implementation' for the
2505 first time, tell the user how to chose another implementation.
2506 Enhance the docstring.
2507
2508 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2511 (log-edit--match-first-line): New function.
2512 (log-edit-font-lock-keywords): Use it.
2513 (log-edit-mode): Make jit-lock-defer-multiline work.
2514
2515 2014-01-13 Bastien Guerry <bzg@gnu.org>
2516
2517 * rect.el (rectangle-mark-mode): When the region is not active,
2518 display a message saying that the mark as been set and that
2519 rectangle mode is in use.
2520 (rectangle--highlight-for-redisplay): Only put an overlay with a
2521 visible vertical bar when (display-graphic-p) is non-nil.
2522 This partially fixes Bug#16403.
2523
2524 2014-01-13 Juri Linkov <juri@jurta.org>
2525
2526 * info.el (Info-find-file): Go to DIR before displaying the error
2527 about a nonexistent file if no previous Info file is visited.
2528 Use `user-error' instead of `error' for "Info file %s does not exist".
2529 (Info-find-node-2): In case of a nonexistent node in unwind forms
2530 go to the Top node if there is no previous node to revert to.
2531 (Bug#16405)
2532
2533 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2534
2535 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2536 * window.el (fit-frame-to-buffer): Fix doc-string.
2537 Respect window-min-height/-width. Fit pixelwise when
2538 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2539 when avoiding that frame goes partially off-screen.
2540 (fit-window-to-buffer): Respect window-min-height/-width
2541 (Bug#14096).
2542
2543 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2546 after an empty line.
2547
2548 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * net/shr.el (shr-render-region): Autoload.
2551
2552 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2553
2554 * net/eww.el (eww-download-directory): Rename from
2555 `eww-download-path' (Bug#16419).
2556
2557 2014-01-12 Leo Liu <sdl.web@gmail.com>
2558
2559 * dired-x.el (dired-mode-map): Fix last change.
2560
2561 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2562
2563 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2564
2565 Spelling fixes.
2566 * emacs-lisp/generic.el (generic--normalize-comments):
2567 Rename from generic--normalise-comments. All uses changed.
2568 * play/bubbles.el (bubbles--neighborhood-score)
2569 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2570 (bubbles--neighborhood-available)
2571 (bubbles--update-neighborhood-score):
2572 Rename from names with 'neighbourhood'. All uses changed.
2573
2574 2014-01-12 Leo Liu <sdl.web@gmail.com>
2575
2576 Re-implement the feature of showing eldoc info after editing.
2577 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2578 (eldoc-edit-message-commands): New function.
2579 (eldoc-print-after-edit): New variable.
2580 (eldoc-pre-command-refresh-echo-area): Emit message only by
2581 eldoc-message-commands.
2582 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2583 if eldoc-print-after-edit is set. (Bug#16346)
2584 * simple.el (read--expression): Enable eldoc-mode.
2585 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2586
2587 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2588 Eric S. Raymond <esr@thyrsus.com>
2589
2590 * version.el (emacs-repository-get-version): Enhance so the
2591 function works correctly in either a Bazaar or Git repo.
2592
2593 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2594
2595 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2596 Goes with removal of the joke manpages from /etc.
2597
2598 2014-01-10 Kenichi Handa <handa@gnu.org>
2599
2600 * mail/rmail.el (rmail-get-coding-system):
2601 Check rmail-get-coding-function before "funcall"ing it.
2602
2603 2014-01-10 Glenn Morris <rgm@gnu.org>
2604
2605 * emacs-lisp/authors.el (authors-fixed-entries):
2606 Update for files that no longer exist.
2607
2608 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2609
2610 * version.el (emacs-bzr-get-version): Restore compatibilty with
2611 24.3 (Tested).
2612
2613 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2614
2615 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2616 and Podfile.
2617
2618 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2619
2620 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2621
2622 2014-01-10 Chong Yidong <cyd@gnu.org>
2623
2624 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2625
2626 2014-01-10 Anders Lindgren <andlind@gmail.com>
2627
2628 * follow.el (follow-cache-command-list): Include right-char and
2629 left-char.
2630
2631 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2632
2633 Spelling fixes.
2634 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2635 * woman.el (woman-mark-horizontal-position):
2636 Rename from woman-mark-horizonal-position. Use changed.
2637
2638 2014-01-10 Glenn Morris <rgm@gnu.org>
2639
2640 * info.el (info-initialize): If running uninstalled, ensure our
2641 own info files are always found first, even if INFOPATH is set.
2642
2643 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2644
2645 2014-01-09 David Engster <deng@randomsample.de>
2646
2647 * emacs-lisp/eieio-custom.el:
2648 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2649 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2650 * emacs-lisp/eieio.el: Regenerate autoloads.
2651
2652 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2653
2654 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2655 following renames. (Bug#8756)
2656
2657 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2658
2659 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2660 (bug#16382).
2661 (activate-mark): Add `no-tmm' argument.
2662 (set-mark, push-mark-command): Use it instead of running
2663 activate-mark-hook by hand.
2664
2665 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2666
2667 In preparation for the move to git, sanitize out some
2668 Bazaar-specific names.
2669
2670 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2671
2672 * version.el (emacs-bzr-version): Name changed to
2673 emacs-repository-version. Obsolete-variable alias made.
2674 * loadup.el: Follow through on this name change.
2675 * mail/emacsbug.el (report-emacs-bug): Factor out any
2676 assumption about the version control system in use.
2677
2678 2014-01-08 David Engster <deng@randomsample.de>
2679
2680 * help-fns.el (help-fns-describe-function-functions):
2681 New variable to call functions for augmenting help buffers.
2682 (describe-function-1): Remove explicit calls to
2683 `help-fns--compiler-macro', `help-fns--parent-mode' and
2684 `help-fns--obsolete'. Put them in above new variable instead, and
2685 call them through `run-hook-with-args'.
2686 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2687 `eieio-describe-class'. Not meant for interactive use anymore,
2688 but to augment existing help buffers. Remove optional second
2689 argument. Create proper button for file location.
2690 Rewrite function to use `insert' instead of `princ' and `prin1' where
2691 possible.
2692 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2693 (eieio-method-def, eieio-class-def): Move further up.
2694 (describe-method, describe-generic, eieio-describe-method):
2695 Remove aliases.
2696 (eieio-help-constructor, eieio-help-generic): Rename from
2697 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2698 Rewrite to use `insert' in the current buffer and use proper help
2699 buttons.
2700 (eieio-help-find-method-definition)
2701 (eieio-help-find-class-definition): Also accept symbols as
2702 arguments.
2703 (eieio-help-mode-augmentation-maybee): Remove.
2704 (eieio-describe-class-sb): Use `describe-function'.
2705 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2706 Add `eieio-help-generic' and `eieio-help-constructor'.
2707
2708 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2709
2710 Spelling fixes.
2711 * language/china-util.el (hz-ascii-designation):
2712 Rename from hz-ascii-designnation.
2713 (hz-ascii-designation): Rename from hz-ascii-designnation.
2714 All uses changed.
2715
2716 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2719 package-alist.
2720
2721 2014-01-08 Bastien Guerry <bzg@gnu.org>
2722
2723 * emacs-lisp/package.el (package-delete):
2724 Correctly delete the package from package-alist.
2725
2726 2014-01-08 Daiki Ueno <ueno@gnu.org>
2727
2728 * emacs-lisp/package.el (url-recreate-url): Declare.
2729 (url-http-target-url): Declare.
2730 (package-handle-response): Include requested URL in the error message.
2731 (package--check-signature): Don't re-signal errors from
2732 package--with-work-buffer. Suggested by Stefan Monnier.
2733
2734 2014-01-07 Bastien Guerry <bzg@gnu.org>
2735
2736 * minibuffer.el (completion--try-word-completion): When both a
2737 hyphen and a space are possible candidates for the character
2738 following a word, display both candidates. (Bug#15980)
2739
2740 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2741
2742 * window.el (balance-windows-2): While rounding don't give a
2743 window more than the remainder. Bug#16351, bug#16383.
2744
2745 2014-01-07 Glenn Morris <rgm@gnu.org>
2746
2747 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2748 (menu-bar-help-menu): Use view-external-packages instead.
2749
2750 2014-01-07 Bastien Guerry <bzg@gnu.org>
2751
2752 * emacs-lisp/package.el (package-delete): Also delete the package
2753 name from `package-alist', not its description only.
2754
2755 2014-01-07 Glenn Morris <rgm@gnu.org>
2756
2757 * help.el (view-external-packages):
2758 * menu-bar.el (menu-bar-help-extra-packages):
2759 Visit efaq.info rather than etc/MORE.STUFF.
2760
2761 2014-01-07 Juri Linkov <juri@jurta.org>
2762
2763 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2764 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2765
2766 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2767 that shadows RET. (Bug#16342)
2768
2769 2014-01-07 Chong Yidong <cyd@gnu.org>
2770
2771 * isearch.el (isearch-yank-char, isearch-yank-word)
2772 (isearch-yank-line): Doc fix.
2773
2774 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2777 * emacs-lisp/elint.el (elint-find-builtins):
2778 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2779 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2780 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2781 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2782 * apropos.el (apropos-safe-documentation):
2783 * subr.el (symbol-file): Remove redundant fboundp.
2784 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2785
2786 2014-01-06 Bastien Guerry <bzg@gnu.org>
2787
2788 * hl-line.el (global-hl-line-overlay): Make a local variable.
2789 (global-hl-line-overlays): New variable to store all overlays.
2790 (global-hl-line-mode): Don't delete overlays from the current
2791 buffer when `global-hl-line-sticky-flag' is non-nil.
2792 (global-hl-line-highlight): Add new overlays to
2793 `global-hl-line-overlays'.
2794 (global-hl-line-unhighlight-all): New function to delete all
2795 overlays when turning off `global-hl-line-mode'.
2796 This fixes Bug#16183.
2797
2798 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2799
2800 * subr.el (set-transient-map): Fix nested case and docstring.
2801
2802 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2803
2804 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2805 `Texinfo' entry.
2806
2807 2014-01-06 Daniel Colascione <dancol@dancol.org>
2808
2809 Fix defun navigation in vc log view.
2810
2811 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2812 like `beginning-of-defun'.
2813 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2814 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2815 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2816 (log-view-extract-comment): Call `log-view-current-entry' directly
2817 instead of relying on broken `log-view-beginning-of-defun' behavior.
2818
2819 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2820
2821 Spelling fixes.
2822 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2823 * emacs-lisp/debug.el (cancel-debug-on-entry):
2824 * epg.el (epg-error-to-string):
2825 * files.el (recover-file):
2826 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2827 * mail/emacsbug.el (report-emacs-bug-hook):
2828 * mail/sendmail.el (mail-recover):
2829 * ses.el (ses-yank-resize):
2830 * term/ns-win.el (ns-print-buffer):
2831 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2832 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2833 All uses changed.
2834 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2835
2836 2014-01-06 Leo Liu <sdl.web@gmail.com>
2837
2838 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2839 to avoid shadowing global key. (Bug#16354)
2840
2841 2014-01-06 Daniel Colascione <dancol@dancol.org>
2842
2843 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2844 rst-mode.
2845
2846 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2847
2848 * window.el (balance-windows): Add mising t to fix Bug#16351.
2849
2850 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2851
2852 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2853 (bug#16285).
2854 (shr-insert): If we have a word that's longer than `shr-width',
2855 break after it anyway. Otherwise we'll do no breaking once we get
2856 such a long word.
2857
2858 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2859
2860 * net/eww.el (eww): Support single/double quote for search.
2861 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2862 (eww-history-quit): Delete and use quit-window.
2863 (eww-history-kill): Delete, because it doesn't work well and
2864 not necessary.
2865 (eww-history-mode-map): Delete some keys and add easy-menu.
2866
2867 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2868
2869 Fix misspelling of 'chinese' in rx (Bug#16237).
2870 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2871 chinese-two-byte.
2872
2873 Change subword regexps back to vars (Bug#16296).
2874 * progmodes/subword.el (subword-forward-regexp)
2875 (subword-backward-regexp): Change these back to variables.
2876
2877 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2880 syntax-begin-function (bug#16247).
2881
2882 2014-01-03 Chong Yidong <cyd@gnu.org>
2883
2884 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2885 (advice--docstring): Delete variable.
2886 (advice--make-1): Leave the docstring empty.
2887 (advice-add): Use function-documentation for advised docstring.
2888
2889 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2890 Ignore function-documentation property when getting documentation.
2891 (ad-activate-advised-definition): Use function-documentation
2892 generate the docstring.
2893 (ad-make-advised-definition): Don't call
2894 ad-make-advised-definition-docstring.
2895 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2896 Delete functions.
2897
2898 * progmodes/sql.el (sql-help): Use function-documentation instead
2899 of dynamic-docstring-function property. No need to autoload now.
2900 (sql--help-docstring): New variable.
2901 (sql--make-help-docstring): Use it.
2902
2903 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2904
2905 * ielm.el (ielm-tab): Retarget.
2906 (ielm-map): Use ielm-tab for tab.
2907 (ielm-complete-filename): Use comint-filename-completion.
2908 (ielm-complete-symbol): Remove.
2909 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2910 remove ielm-tab from completion-at-point-functions (bug#16224).
2911
2912 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2913 Beware signals raised by predicates (bug#16201).
2914
2915 2014-01-02 Richard Stallman <rms@gnu.org>
2916
2917 * dired-aux.el (dired-do-print): Handle printer-name.
2918
2919 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2920 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2921 (rmail-epa-decrypt): Turn off mime processing.
2922
2923 * mail/rmail.el (rmail-make-in-reply-to-field):
2924 Add parens in message-id.
2925
2926 * mail/rmail.el (rmail-get-coding-function): Variable.
2927 (rmail-get-coding-system): Use it.
2928
2929 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2930
2931 * international/mule-conf.el: Unify the charset indian-is13194.
2932 (indian-is13194): Specify unify-map.
2933
2934 2013-12-31 Leo Liu <sdl.web@gmail.com>
2935
2936 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2937
2938 2013-12-30 Daniel Colascione <dancol@dancol.org>
2939
2940 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2941 of printing a useless when we resume from sleep.
2942
2943 * progmodes/sh-script.el
2944 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2945 in indentation code. (Bug#16233)
2946
2947 2013-12-28 João Távora <joaotavora@gmail.com>
2948
2949 * elec-pair.el (electric-pair-post-self-insert-function):
2950 Don't open extra newlines at beginning of buffer. (Bug#16272)
2951
2952 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2953
2954 * frame.el (window-system-for-display): Don't allow to create a
2955 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2956
2957 2013-12-28 Glenn Morris <rgm@gnu.org>
2958
2959 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2960 Update callers.
2961
2962 * apropos.el (apropos-match-face):
2963 * calculator.el (calculator-displayer):
2964 * dabbrev.el (dabbrev-search-these-buffers-only):
2965 * face-remap.el (buffer-face-mode-face):
2966 * simple.el (yank-handled-properties):
2967 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2968 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2969 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2970 (hashcash-double-spend-database):
2971 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2972 (ruby-deep-indent-paren-style):
2973 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2974 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2975 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2976 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2977 Specify custom types.
2978
2979 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2980 * bookmark.el (bookmark-bmenu-use-header-line):
2981 * doc-view.el (doc-view-scale-internally):
2982 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2983 * register.el (register-preview-delay):
2984 * net/shr.el (shr-bullet):
2985 * progmodes/cfengine.el (cfengine-cf-promises)
2986 (cfengine-parameters-indent):
2987 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2988 * textmodes/reftex-vars.el (reftex-label-regexps):
2989 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2990
2991 * net/tls.el (tls-certtool-program): Fix default value.
2992
2993 * desktop.el (desktop-restore-in-current-display):
2994 * newcomment.el (comment-empty-lines):
2995 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2996 (idlwave-pad-keyword):
2997 * progmodes/tcl.el (tcl-tab-always-indent):
2998 * textmodes/reftex-vars.el (reftex-index-default-tag):
2999 * elec-pair.el (electric-pair-skip-whitespace):
3000 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3001
3002 * emacs-lisp/authors.el (authors-ignored-files)
3003 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3004
3005 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3006
3007 * shell.el (shell-dynamic-complete-command): Doc fix.
3008 (shell--command-completion-data): Shell completion now matches
3009 executable filenames from the current buffer's directory, on
3010 systems in which this behavior is the default (windows-nt, ms-dos).
3011
3012 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3013
3014 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3015
3016 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3017
3018 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3019 (bug#16251).
3020
3021 * electric.el: Move all electric-pair-* to elec-pair.el.
3022 * elec-pair.el: New file, split from electric.el.
3023
3024 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3025
3026 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3027 indentation level is larger than the width, because that will
3028 infloop.
3029 (shr-insert): Fill repeatedly long texts, so that Japanese is
3030 formatted correctly (bug#16263).
3031 (shr-find-fill-point): Off by one error in comparison with the
3032 indentation.
3033
3034 2013-12-26 João Távora <joaotavora@gmail.com>
3035
3036 * electric.el (electric-pair-mode): More flexible engine for skip-
3037 and inhibit predicates, new options for pairing-related functionality.
3038 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3039 if that keeps or improves their balance in buffers.
3040 (electric-pair-delete-adjacent-pairs): Delete the pair when
3041 backspacing over adjacent matched delimiters.
3042 (electric-pair-open-extra-newline): Open extra newline when
3043 inserting newlines between adjacent matched delimiters.
3044 (electric--sort-post-self-insertion-hook):
3045 Sort post-self-insert-hook according to priority values when
3046 minor-modes are activated.
3047 * simple.el (newline-and-indent): Call newline with interactive
3048 set to t.
3049 (blink-paren-post-self-insert-function): Set priority to 100.
3050 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3051 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3052 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3053 electric-pair-open-newline-between-pairs to nil.
3054
3055 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3056
3057 * progmodes/python.el: Use lexical-binding.
3058 (python-nav-beginning-of-defun): Stop searching ASAP.
3059
3060 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3061
3062 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3063 Fix interactive spec. Doc fix. (Bug#15754)
3064
3065 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3066
3067 * emacs-lisp/byte-run.el (eval-when-compile):
3068 * progmodes/cc-defs.el (cc-eval-when-compile):
3069 Fix edebug spec (bug#16184).
3070
3071 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3072
3073 * net/shr.el (shr-visit-file): Remove debugging function.
3074 (shr-insert): Don't infloop if we can't find a good place to break
3075 the line (bug#16256).
3076
3077 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3078
3079 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3080 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3081 python-nav-lisp-forward-sexp-safe.
3082 (python-nav--forward-sexp): New argument SAFE allows switching
3083 forward sexp movement behavior for parens.
3084 (python-nav-forward-sexp): Throw errors on unterminated parens
3085 (Bug#16191).
3086 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3087 (python-nav-backward-sexp-safe): New functions.
3088 (python-shell-buffer-substring):
3089 Use `python-nav-forward-sexp-safe'.
3090
3091 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3092
3093 * net/shr.el (shr-find-fill-point): Don't break lines before a
3094 quotation mark.
3095 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3096 (shr-find-fill-point): Remove the special checks for the quotation
3097 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3098
3099 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3100
3101 * net/eww.el (eww-form-textarea): Use a different face for
3102 textareas than text input since they have different keymaps
3103 (bug#16142).
3104
3105 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3106
3107 * progmodes/python.el (python-nav-beginning-of-statement):
3108 Speed up (Bug#15295).
3109
3110 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3111
3112 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3113 the window configuration.
3114
3115 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3116
3117 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3118 we run on MS-Windows or MS-DOS.
3119
3120 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3121
3122 * window.el (balance-windows-area): Call window-size instead of
3123 window-height and window-width. Bug#16241.
3124
3125 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3126
3127 * net/eww.el (eww-bookmark-quit): Remove.
3128 (eww-bookmark-browse): Restore the window configuration when you
3129 choose a bookmark (bug#16144).
3130
3131 2013-12-24 Daniel Colascione <dancol@dancol.org>
3132
3133 * icomplete.el: Remove redundant :group arguments to `defcustom'
3134 throughout.
3135 (icomplete-show-matches-on-no-input): New customizable variable.
3136 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3137 we have something to show.
3138 (icomplete-exhibit): Compute completions even if we have no user input.
3139
3140 2013-12-23 Daniel Colascione <dancol@dancol.org>
3141
3142 * icomplete.el: Move `provide' to end of file.
3143
3144 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3145
3146 * net/gnutls.el (gnutls-verify-error): Add version tag.
3147
3148 2013-12-23 Chong Yidong <cyd@gnu.org>
3149
3150 * subr.el (set-transient-map): Rename from
3151 set-temporary-overlay-map. Doc fix.
3152
3153 * face-remap.el (text-scale-adjust):
3154 * indent.el (indent-rigidly):
3155 * kmacro.el (kmacro-call-macro):
3156 * minibuffer.el (minibuffer-force-complete):
3157 * repeat.el (repeat):
3158 * simple.el (universal-argument--mode):
3159 * calendar/todo-mode.el (todo-insert-item--next-param):
3160 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3161
3162 * indent.el (indent-rigidly): Use substitute-command-keys.
3163
3164 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3165
3166 * net/eww.el (eww-tag-select): Add text-property to jump to next
3167 select field.
3168 (eww): Add non-supported ftp error.
3169
3170 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3171
3172 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3173 comments. Handle electric indent after typing `?' and `!'.
3174
3175 2013-12-22 Chong Yidong <cyd@gnu.org>
3176
3177 * faces.el (face-spec-recalc): If the theme specs are not
3178 applicable to a frame, fall back on the defface spec.
3179 This prevents themes from obliterating faces on low-color terminals.
3180
3181 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3182
3183 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3184 after `{'. We need it after block openers, and it doesn't seem
3185 to hurt after hash openers.
3186
3187 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3188
3189 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3190 extracted from `ruby-smie-rules'.
3191 (ruby--electric-indent-chars): New variable.
3192 (ruby--electric-indent-p): New function.
3193 (ruby-mode): Use `electric-indent-functions' instead of
3194 `electric-indent-chars'.
3195
3196 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3197
3198 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3199 docstring.
3200 (ruby-smie-rules): Indent plus one level after `=>'.
3201
3202 2013-12-21 Richard Stallman <rms@gnu.org>
3203
3204 * simple.el (newline): Doc fix.
3205
3206 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3207
3208 * net/eww.el (eww-list-histories, eww-list-histories)
3209 (eww-history-browse, eww-history-quit, eww-history-kill)
3210 (eww-history-mode-map, eww-history-mode): New command and
3211 functions to list browser histories.
3212 (eww-form-text): Support text form with disabled
3213 and readonly attributes.
3214 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3215
3216 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3217
3218 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3219 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3220 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3221 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3222 Use `user-error'.
3223 (eww-bookmark-mode-map): Add menu.
3224 (eww-render, eww-mode): Use `setq-local'.
3225 (eww-tool-bar-map): New variable.
3226 (eww-mode): Set `tool-bar-map'.
3227 (eww-view-source): Check for `html-mode' with `fboundp'.
3228
3229 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3230
3231 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3232 elements with text inside. Also remove debugging.
3233
3234 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3235
3236 * cus-start.el (all): Add ns-use-srgb-colorspace.
3237
3238 2013-12-21 Chong Yidong <cyd@gnu.org>
3239
3240 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3241 undefined. Thus, theme settings for undefined faces do not take
3242 effect until the faces are defined with defface, the same as with
3243 theme variables.
3244
3245 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
3246 (face-spec-reset-face): Don't assign extra properties in temacs.
3247 (face-spec-recalc): Apply X resources too.
3248
3249 2013-12-21 Chong Yidong <cyd@gnu.org>
3250
3251 * faces.el (face-spec-set):
3252 * cus-face.el (custom-theme-set-faces, custom-set-faces):
3253 * custom.el (defface): Doc fixes (Bug#16203).
3254
3255 * indent.el (indent-rigidly-map): Add docstring, and move commands
3256 into named functions.
3257 (indent-rigidly-left, indent-rigidly-right)
3258 (indent-rigidly-left-to-tab-stop)
3259 (indent-rigidly-right-to-tab-stop): New functions. Decide on
3260 indentation direction based on bidi direction, and accumulate
3261 sequential commands in a single undo boundary.
3262 (indent-rigidly--pop-undo): New utility function.
3263
3264 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
3265
3266 * faces.el (read-face-name): Require crm.el when using crm-separator.
3267
3268 2013-12-20 Daniel Colascione <dancol@dancol.org>
3269
3270 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
3271 so that we don't reflow comments into the shebang line.
3272
3273 2013-12-20 Juri Linkov <juri@jurta.org>
3274
3275 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3276 a position when `dired-directory' is non-nil. Check integer
3277 positions with `integerp'.
3278 (toggle-save-place, save-places-to-alist): Add check for
3279 `dired-directory'.
3280 (save-place-find-file-hook): Check integer positions with
3281 `integerp'.
3282 (save-place-dired-hook): Use `dired-goto-file' when
3283 `dired-filename' is found in the assoc list. Check integer
3284 positions with `integerp'.
3285 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3286
3287 * dired.el (dired-initial-position-hook): Rename back from
3288 `dired-initial-point-hook'.
3289 (dired-initial-position): Rename `dired-initial-point-hook' to
3290 `dired-initial-position-hook'.
3291 (dired-file-name-at-point): Doc fix. (Bug#15329)
3292
3293 2013-12-20 Juri Linkov <juri@jurta.org>
3294
3295 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3296 (read-regexp-suggestions): New function.
3297 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3298 Use `read-regexp-suggestions'. Add non-empty default to history
3299 for empty input.
3300 (occur-read-regexp-defaults-function): Remove function.
3301 (occur-read-primary-args): Use `regexp-history-last' instead of
3302 `occur-read-regexp-defaults-function'.
3303
3304 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3305 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3306 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3307 `hi-lock-read-regexp-defaults-function'. Doc fix.
3308 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3309 with `find-tag-default-as-symbol-regexp'. Doc fix.
3310 (hi-lock-read-regexp-defaults): Remove function.
3311 (hi-lock-regexp-okay): Add check for null.
3312
3313 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3314 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3315
3316 * subr.el (find-tag-default-as-symbol-regexp): New function.
3317 (find-tag-default-as-regexp): Move symbol regexp formatting to
3318 `find-tag-default-as-symbol-regexp'.
3319
3320 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3321
3322 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3323 (Bug#14179)
3324
3325 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3326
3327 * calendar/todo-mode.el: New implementation of item insertion
3328 commands and key bindings.
3329 (todo-key-prompt): New face.
3330 (todo-insert-item): New command.
3331 (todo-insert-item--parameters): New defconst, replacing defvar
3332 todo-insertion-commands-args-genlist.
3333 (todo-insert-item--param-key-alist): New defconst, replacing
3334 defvar todo-insertion-commands-arg-key-list.
3335 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3336 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3337 (todo-insert-item--next-param): New functions.
3338 (todo-insert-item--args, todo-insert-item--argleft)
3339 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3340 New variables.
3341 (todo-key-bindings-t): Change binding of "i" from
3342 todo-insertion-map to todo-insert-item.
3343 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3344 (todo-insertion-command-name, todo-insertion-commands-names)
3345 (todo-define-insertion-command, todo-insertion-commands)
3346 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3347
3348 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3349
3350 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3351 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3352 eval-when-compile.
3353 (todo-move-category): Allow choosing a non-existing todo file to
3354 move the category to, and create that file.
3355 (todo-default-priority): New user option.
3356 (todo-set-item-priority): Use it.
3357 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3358 (desktop-restore-file-buffer): Declare.
3359 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3360 (todo-modes-set-2): Locally set desktop-save-buffer to
3361 todo-desktop-save-buffer.
3362 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3363 (auto-mode-alist): Add autoload cookie.
3364
3365 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3366
3367 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3368 helpers.el was a poor choice of name.
3369 (string-remove-prefix): New function.
3370 (string-remove-suffix): New function.
3371
3372 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3373
3374 Fix assignment for new window total sizes.
3375 * window.el (window--pixel-to-size): Remove function.
3376 (window--pixel-to-total-1, window--pixel-to-total):
3377 Fix calculation of new total sizes.
3378
3379 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3380
3381 * comint.el (comint-output-filter): Fix rear-nonsticky property
3382 placement (Bug#16010).
3383
3384 2013-12-20 Chong Yidong <cyd@gnu.org>
3385
3386 * faces.el (read-color): Minor fix for completion function.
3387
3388 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3389
3390 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3391 New option. (Bug#16182)
3392 (ruby-smie--indent-to-stmt-p): Use it.
3393 (ruby-smie-rules): Revert the logic in the handling of `when'.
3394 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3395 (ruby-deep-arglist, ruby-deep-indent-paren)
3396 (ruby-deep-indent-paren-style): Update docstrings to note that the
3397 vars don't have any effect with SMIE.
3398
3399 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3400
3401 * calc/calc.el (calc-enter, calc-pop): Use the variable
3402 `calc-context-sensitive-enter'.
3403
3404 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3405
3406 * net/shr.el (shr-insert): Protect against infloops in degenerate
3407 tables.
3408
3409 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3410
3411 * progmodes/octave.el (octave): Add link to manual and octave
3412 homepage.
3413 (octave-mode-menu): Link to octave-mode manual.
3414
3415 2013-12-20 Leo Liu <sdl.web@gmail.com>
3416
3417 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3418 insertion using skeleton-end-newline. (Bug#16138)
3419
3420 2013-12-20 Juri Linkov <juri@jurta.org>
3421
3422 * replace.el (occur-engine): Use `add-face-text-property'
3423 to add the face property to matches and titles. (Bug#14645)
3424
3425 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3426 the palette of other hi-lock colors.
3427 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3428
3429 2013-12-19 Juri Linkov <juri@jurta.org>
3430
3431 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3432 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3433 (minibuffer-history-symbol): Move variable declaration closer to
3434 its usage.
3435
3436 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3437 (Bug#14785)
3438
3439 2013-12-19 Juri Linkov <juri@jurta.org>
3440
3441 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3442 New function.
3443 (log-edit-hook): Add it to :options. (Bug#16170)
3444
3445 2013-12-19 Juri Linkov <juri@jurta.org>
3446
3447 * simple.el (eval-expression-print-format): Don't check for
3448 command names and the last command. Always display additional
3449 formats of the integer result in the echo area, and insert them
3450 to the current buffer only with a zero prefix arg.
3451 Display character when char-displayable-p is non-nil.
3452 (eval-expression): With a zero prefix arg, set `print-length' and
3453 `print-level' to nil, and insert the integer values from
3454 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3455
3456 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3457 `eval-last-sexp-arg-internal'. Doc fix.
3458 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3459 `eval-last-sexp-print-value'. Doc fix.
3460 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3461 Set `print-length' and `print-level' to nil when arg is zero.
3462 (eval-last-sexp): Doc fix.
3463 (eval-defun-2): Print the integer values from
3464 `eval-expression-print-format' at the end.
3465
3466 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3467 values from `eval-expression-print-format' at the end.
3468
3469 * ielm.el (ielm-eval-input): Print the integer
3470 values from `eval-expression-print-format' at the end.
3471
3472 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3473
3474 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3475 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3476
3477 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3480 (hl-line-highlight, global-hl-line-highlight): Use it.
3481 (hl-line-overlay): Use defvar-local.
3482
3483 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3484
3485 * term/ns-win.el: Require dnd.
3486 (global-map): Remove drag items.
3487 (ns-insert-text, ns-set-foreground-at-mouse)
3488 (ns-set-background-at-mouse):
3489 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3490 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3491 New functions.
3492
3493 2013-12-19 Glenn Morris <rgm@gnu.org>
3494
3495 * emacs-lisp/ert.el (ert-select-tests):
3496 Fix string/symbol mixup. (Bug#16121)
3497
3498 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3499
3500 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3501 keywords to their parent.
3502
3503 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3504
3505 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3506 first arg to be a string (fixed dead code), or an operator symbol.
3507 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3508 operator symbols.
3509 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3510 did nothing. Don't respond to `(:after ".")', it will be called
3511 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3512 change anything. Only return indentation for binary operators
3513 when they are hanging. De-dent opening paren when its parent is
3514 `.', otherwise it looks bad when the dot is not at bol or eol
3515 (bug#16182).
3516
3517 2013-12-19 Juri Linkov <juri@jurta.org>
3518
3519 * replace.el (query-replace-read-args): Split a non-negative arg
3520 and a negative arg into separate elements.
3521 (query-replace, query-replace-regexp, replace-string)
3522 (replace-regexp): Add arg `backward'. Doc fix.
3523 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3524 move point to the beginning of the match.
3525 (replace-search, replace-highlight): Use new arg `backward'
3526 to set the value of `isearch-forward'.
3527 (perform-replace): Add arg `backward' and use it to perform
3528 replacement backward. (Bug#14979)
3529
3530 * isearch.el (isearch-query-replace): Use a negative prefix arg
3531 to call `perform-replace' with a non-nil arg `backward'.
3532
3533 2013-12-18 Juri Linkov <juri@jurta.org>
3534
3535 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3536 to the default list. Move `log-edit-show-files' to the end.
3537 Add more available functions to options.
3538 (log-edit): Move default specific settings to
3539 `log-edit-insert-message-template'. Don't move point.
3540 (log-edit-insert-message-template): New function.
3541 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3542 (Bug#16170)
3543
3544 2013-12-18 Juri Linkov <juri@jurta.org>
3545
3546 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3547 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3548
3549 2013-12-18 Leo Liu <sdl.web@gmail.com>
3550
3551 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3552 (Bug#16186)
3553
3554 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3555
3556 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3557 formats for displaying file sizes when the -s switch is given.
3558 Instead, compute a separate format for displaying the size in
3559 blocks, which is displayed in addition to the "regular" size.
3560 When -h is given in addition to -s, produce size in blocks in
3561 human-readable form as well. (Bug#16179)
3562
3563 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3564
3565 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3566 Reference tables with ~\ref{...} instead of only \ref{...}.
3567
3568 2013-12-18 Chong Yidong <cyd@gnu.org>
3569
3570 * cus-edit.el (custom-magic-alist): Fix "themed" description
3571 (Bug#14348).
3572
3573 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3574 is non-nil, do not create a new entry in the symbol's theme-value
3575 or theme-face property; update theme-settings only (Bug#14664).
3576 (custom-available-themes): Doc fix.
3577
3578 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3579 (Bug#15674).
3580
3581 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3582
3583 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3584
3585 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3586 (Bug#13914).
3587
3588 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3589
3590 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3591
3592 2013-12-18 Glenn Morris <rgm@gnu.org>
3593
3594 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3595 * cus-start.el (load-prefer-newer): New option.
3596
3597 2013-12-18 Le Wang <l26wang@gmail.com>
3598
3599 * comint.el (comint-previous-matching-input-from-input):
3600 Retain point (Bug#13404).
3601
3602 2013-12-18 Chong Yidong <cyd@gnu.org>
3603
3604 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3605
3606 2013-12-18 Glenn Morris <rgm@gnu.org>
3607
3608 * mail/emacsbug.el (report-emacs-bug):
3609 Only mention enable-multibyte-characters if non-standard.
3610
3611 2013-12-17 Juri Linkov <juri@jurta.org>
3612
3613 * arc-mode.el (archive-extract-by-file): Check if directory exists
3614 before deletion to not show irrelevant errors if it doesn't exist.
3615
3616 2013-12-17 Juri Linkov <juri@jurta.org>
3617
3618 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3619 (Bug#14751)
3620
3621 * net/eww.el (browse-web): Add alias to `eww'.
3622 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3623 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3624
3625 * net/browse-url.el (browse-url-browser-function): Move `eww'
3626 closer to similar functions.
3627
3628 * startup.el (fancy-startup-screen, fancy-about-screen):
3629 Set browse-url-browser-function to eww-browse-url locally.
3630 (Bug#14751)
3631
3632 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3633
3634 * window.el (window--pixel-to-total): Remove unused `mini' var.
3635 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3636 (split-window): Remove unused `new' var.
3637 (window--display-buffer): Remove unused `frame' and `delta' vars.
3638 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3639 and display-width'.
3640
3641 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3642
3643 * dired.el (dired-mark-pop-up):
3644 * register.el (register-preview): Don't bind
3645 split-height-threshold here since it's now done in
3646 display-buffer-below-selected.
3647
3648 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3649
3650 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3651 xterm-rgb-convert-to-16bit.
3652 (rxvt-register-default-colors): Standardize with
3653 xterm-register-default-colors (Bug#14078).
3654
3655 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3656
3657 * simple.el (kill-region): Pass mark first, then point, so that
3658 kill-append works right (Bug#12819).
3659 (copy-region-as-kill, kill-ring-save): Likewise.
3660
3661 2013-12-17 Leo Liu <sdl.web@gmail.com>
3662
3663 * net/rcirc.el (rcirc-add-face):
3664 * eshell/em-prompt.el (eshell-emit-prompt):
3665 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3666 (Bug#16167)
3667
3668 2013-12-17 Chong Yidong <cyd@gnu.org>
3669
3670 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3671 Suggested by Xue Fuqiao.
3672
3673 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3674
3675 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3676
3677 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * net/shr.el (shr-insert-document): Remove unused var
3680 `shr-preliminary-table-render'.
3681 (shr-rescale-image): Remove unused arg `force'.
3682 (shr-put-image): Update calls accordingly.
3683 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3684
3685 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3686
3687 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3688 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3689 :close-all, to see which indentation method to use (Bug#16116).
3690 (smie-rules-function): Document the method :close-all.
3691
3692 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3693
3694 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3695
3696 * net/eww.el (eww-display-html): If we can't find the anchor we're
3697 looking for, then go to point-min.
3698
3699 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3700
3701 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3702 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3703 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3704 Expand dir too, in case it's relative.
3705
3706 2013-12-16 Juri Linkov <juri@jurta.org>
3707
3708 * desktop.el (desktop-auto-save-timeout): Change default to
3709 `auto-save-timeout'. Doc fix.
3710 (desktop-save): Skip the timestamp in desktop-saved-frameset
3711 when checking for auto-save changes.
3712 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3713 `desktop-auto-save' is called repeatedly by the idle timer.
3714 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3715 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3716 (Bug#15331)
3717
3718 2013-12-16 Juri Linkov <juri@jurta.org>
3719
3720 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3721 (Bug#16035)
3722 (isearch-pre-command-hook): Check `this-command' for symbolp.
3723
3724 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3725
3726 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3727
3728 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3729
3730 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3731 (cfengine3--current-function): Bring in the current-function
3732 functionality from `cfengine3--current-word'.
3733 (cfengine3-completion-function): Bring in the
3734 bounds-of-current-word functionality from
3735 `cfengine3--current-word'.
3736
3737 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3738
3739 * window.el (display-buffer-below-selected):
3740 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3741
3742 2013-12-16 Leo Liu <sdl.web@gmail.com>
3743
3744 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3745 Remove NOMSG arg and all uses changed.
3746
3747 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3750 (cua--deactivate-rectangle): Don't deactivate the mark.
3751 (cua-set-rectangle-mark): Don't set mark-active since
3752 cua--activate-rectangle already does it for us.
3753 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3754 non-rectangular region.
3755
3756 * emulation/cua-base.el (cua-repeat-replace-region):
3757 Use with-current-buffer.
3758
3759 * net/gnutls.el: Use cl-lib.
3760 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3761
3762 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3763
3764 * emacs-lisp/package.el (package-built-in-p): Support both
3765 built-in and the package.el converted package descriptions.
3766 (package-show-package-list): Allow keywords.
3767 (package-keyword-button-action): Use it instead of
3768 `finder-list-matches'.
3769 (package-menu-filter-interactive): Interactive filtering (by
3770 keyword) function.
3771 (package-menu--generate): Support keywords and change keymappings
3772 and headers when they are given.
3773 (package--has-keyword-p): Helper function.
3774 (package-menu--refresh): Use it.
3775 (package--mapc): Helper function.
3776 (package-all-keywords): Use it.
3777 (package-menu-mode-map): Set up menu items and keybindings to
3778 provide a filtering UI.
3779
3780 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3781
3782 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3783 the behavior when a certificate fails validation. Defaults to
3784 old behavior: never abort, just warn.
3785 (gnutls-negotiate): Use it.
3786
3787 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3788
3789 * window.el (display-buffer-below-selected): Never split window
3790 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3791
3792 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3793
3794 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3795 (package-buffer-info): Use it (bug#15108).
3796
3797 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * icomplete.el (icomplete-completions): Make sure the prefix is already
3800 displayed elsewhere before hiding it (bug#16219).
3801
3802 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3803
3804 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3805 open-paren tokens when preceded by a open-paren, too.
3806 (ruby-smie-rules): Handle virtual indentation after open-paren
3807 tokens specially. If there is code between it and eol, return the
3808 column where is starts (Bug#16118).
3809
3810 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3811
3812 * progmodes/cfengine.el: Fix `add-hook' doc.
3813 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3814 (cfengine3--current-word): Fix parameters.
3815 (cfengine3-make-syntax-cache): Simplify further.
3816 (cfengine3-completion-function, cfengine3--current-function):
3817 Use `assq' for symbols.
3818 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3819
3820 2013-12-13 Glenn Morris <rgm@gnu.org>
3821
3822 * loadup.el (load-path): Warn if site-load or site-init changes it.
3823 No more need to reset it when bootstrapping.
3824
3825 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3826
3827 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3828 locations for cf-promises.
3829 (cfengine-mode-syntax-functions-regex): New caching variable.
3830 (cfengine3-fallback-syntax): Fallback syntax for cases where
3831 cf-promises doesn't run.
3832 (cfengine3--current-word): Reimplement using
3833 `cfengine-mode-syntax-functions-regex'.
3834 (cfengine3-completion-function, cfengine3--current-function):
3835 Use `cfengine3-make-syntax-cache' directly.
3836 (cfengine3-clear-syntax-cache): New function.
3837 (cfengine3-make-syntax-cache): Simplify and create
3838 `cfengine-mode-syntax-functions-regex' on demand.
3839 (cfengine3-format-function-docstring): Don't call
3840 `cfengine3-make-syntax-cache' explicitly.
3841
3842 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3843
3844 Fix windmove-find-other-window broken after pixelwise resizing
3845 (Bug#16017).
3846 * windmove.el (windmove-other-window-loc): Revert change from
3847 2013-12-04.
3848 (windmove-find-other-window): Call window-in-direction.
3849 * window.el (window-in-direction): New arguments SIGN, WRAP and
3850 MINI to emulate original windmove-find-other-window behavior.
3851
3852 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3853
3854 * simple.el (blink-matching--overlay): New variable.
3855 (blink-matching-open): Instead of moving point, highlight the
3856 matching paren with an overlay
3857 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3858
3859 * faces.el (paren-showing-faces, show-paren-match)
3860 (show-paren-mismatch): Move from paren.el.
3861
3862 2013-12-13 Leo Liu <sdl.web@gmail.com>
3863
3864 * indent.el (indent-region): Disable progress reporter in
3865 minibuffer. (Bug#16108)
3866
3867 * bindings.el (visual-order-cursor-movement): Fix version.
3868
3869 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3870
3871 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3872 Also match after beginning of line.
3873 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3874 files. Thanks to Russell Sim. (Bug#15378)
3875
3876 2013-12-13 Juri Linkov <juri@jurta.org>
3877
3878 * simple.el <Keypad support>: Remove key bindings duplicated
3879 with bindings.el. (Bug#14397)
3880
3881 2013-12-13 Juri Linkov <juri@jurta.org>
3882
3883 * comint.el (comint-mode-map): Replace `delete-char' with
3884 `delete-forward-char'. (Bug#16109)
3885
3886 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3887
3888 * progmodes/python.el (python-indent-calculate-indentation):
3889 Fix de-denters cornercase. (Bug#15731)
3890
3891 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3894 (advice--make): Pay attention to `depth'.
3895 (advice--make-1): Don't autoload commands eagerly.
3896 * emacs-lisp/elp.el (elp-instrument-function):
3897 * emacs-lisp/trace.el (trace-function-internal):
3898 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3899
3900 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3901
3902 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3903
3904 * term/w32-win.el (w32-handle-dropped-file):
3905 * startup.el (normal-top-level):
3906 * net/browse-url.el (browse-url-file-url):
3907 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3908 decode file names using 'utf-8' rather than
3909 file-name-coding-system.
3910
3911 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3912
3913 * progmodes/python.el (python-indent-context)
3914 (python-indent-calculate-indentation): Fix auto-identation
3915 behavior for comment blocks. (Bug#15916)
3916
3917 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3918
3919 * progmodes/python.el (python-indent-calculate-indentation):
3920 When determining indentation, don't treat "return", "pass", etc., as
3921 operators when they are just string constituents. (Bug#15812)
3922
3923 2013-12-12 Juri Linkov <juri@jurta.org>
3924
3925 * uniquify.el (uniquify-buffer-name-style): Change default to
3926 `post-forward-angle-brackets'.
3927
3928 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3929 `uniquify'. Change default to `post-forward-angle-brackets'.
3930
3931 2013-12-11 Glenn Morris <rgm@gnu.org>
3932
3933 * emacs-lisp/package.el (finder-list-matches):
3934 Autoload rather than falsely declaring.
3935
3936 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3937
3938 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3939 (eww-mode-map): Use them.
3940
3941 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3942
3943 * window.el (display-buffer-in-side-window): Fix doc-string
3944 (Bug#16115).
3945
3946 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3947
3948 * vc/vc-git.el: Silence byte-compiler warnings.
3949 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3950 (log-edit-set-header): Declare.
3951
3952 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3953
3954 * Makefile.in (custom-deps, finder-data): Run output file names
3955 through unmsys--file-name. (Bug#16099)
3956
3957 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3960 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3961
3962 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3963 instead of deleting the selection "by hand" (bug#16098).
3964 Rely on insert-for-yank to yank rectangles.
3965 (cua-highlight-region-shift-only): Mark obsolete.
3966 (cua-mode): Don't enable/disable transient-mark-mode,
3967 shift-select-mode (cua-mode works both with and without them), and
3968 pc-selection-mode (obsolete).
3969 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3970 (cua--deactivate-rectangle): Deactivate it.
3971
3972 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3973 (delete-selection-helper): Make sure yank starts at the top of the
3974 deleted region.
3975 (minibuffer-keyboard-quit): Use region-active-p.
3976
3977 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3978
3979 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3980 to `delete' (bug#16109).
3981
3982 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3983
3984 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3985 info manual and show keybindings and set `:group' keyword.
3986
3987 2013-12-11 Juri Linkov <juri@jurta.org>
3988
3989 * delsel.el (delete-active-region): Let-bind `this-command'
3990 to prevent `kill-region' from changing its original value.
3991 (delete-selection-helper): Handle `overwrite-mode' for the type
3992 `kill' exactly the same way as for the type `t'.
3993 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3994 Support more commands. (Bug#13312)
3995
3996 2013-12-11 Juri Linkov <juri@jurta.org>
3997
3998 * bindings.el: Map kp keys to non-kp keys systematically
3999 with basic modifiers control, meta and shift. (Bug#14397)
4000
4001 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4002
4003 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4004 "Close browser" menu items. Fix wrong function of "List
4005 bookmarks".
4006
4007 2013-12-11 Juri Linkov <juri@jurta.org>
4008
4009 * misearch.el (multi-isearch-buffers): Set the value of
4010 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4011 arg of isearch-forward to t.
4012 (multi-isearch-buffers-regexp): Set the value of
4013 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4014 arg of isearch-forward-regexp to t.
4015 (multi-isearch-files): Set the value of
4016 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4017 arg of isearch-forward to t.
4018 (multi-isearch-files-regexp): Set the value of
4019 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4020 arg of isearch-forward-regexp to t. (Bug#16035)
4021
4022 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4023 arg of isearch-forward to t.
4024 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4025 arg of isearch-forward-regexp to t.
4026 (dired-isearch-filter-filenames): Remove unnecessary check for
4027 `dired-isearch-filenames'.
4028
4029 * comint.el (comint-history-isearch-backward):
4030 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4031 (comint-history-isearch-backward-regexp):
4032 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4033
4034 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4035
4036 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4037 unmsys--file-name. (Bug#16099)
4038
4039 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4040
4041 * emacs-lisp/package.el (package-keyword-button-action):
4042 Remove finder.el require dependency.
4043
4044 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4045
4046 * emacs-lisp/package.el: Require finder.el.
4047 (describe-package-1): Add keyword buttons.
4048 (package-make-button): New convenience function.
4049 (package-keyword-button-action): Keyword button action using
4050 `finder-list-matches'.
4051
4052 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4053
4054 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4055 last commit.
4056
4057 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4058
4059 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4060 symlinked files.
4061
4062 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4063
4064 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4065 after the end of a percent literal.
4066
4067 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4068
4069 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4070 Handle caret-delimited strings (Bug#16079).
4071
4072 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4073
4074 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4075 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4076 `ruby-parse-partial' (Bug#16078).
4077
4078 2013-12-09 Leo Liu <sdl.web@gmail.com>
4079
4080 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4081
4082 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4083
4084 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4085 (js-switch-indent-offset): New option.
4086 (js--proper-indentation): Use it. And handle the case when
4087 "default" is actually a key in an object literal.
4088 (js--same-line): New function.
4089 (js--multi-line-declaration-indentation): Use it.
4090 (js--indent-in-array-comp, js--array-comp-indentation):
4091 New functions.
4092 (js--proper-indentation): Use them, to handle array comprehension
4093 continuations.
4094
4095 2013-12-08 Leo Liu <sdl.web@gmail.com>
4096
4097 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4098 (flymake-make-overlay): Remove arg MOUSE-FACE.
4099 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4100
4101 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4104 New function.
4105 (redisplay-highlight-region-function): Use it.
4106
4107 * emulation/cua-base.el (cua--explicit-region-start)
4108 (cua--last-region-shifted): Remove.
4109 (cua--deactivate): Use deactivate-mark.
4110 (cua--pre-command-handler-1): Don't handle shift-selection.
4111 (cua--post-command-handler-1): Don't change transient-mark-mode.
4112 (cua--select-keymaps): Use region-active-p rather than
4113 cua--explicit-region-start or cua--last-region-shifted.
4114 (cua-mode): Enable shift-select-mode.
4115
4116 2013-12-08 Leo Liu <sdl.web@gmail.com>
4117
4118 * progmodes/flymake.el (flymake-popup-current-error-menu):
4119 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4120 (flymake-posn-at-point-as-event, flymake-popup-menu)
4121 (flymake-make-emacs-menu): Remove. (Bug#16077)
4122
4123 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4124
4125 * rect.el (rectangle-mark-mode): Activate mark even if
4126 transient-mark-mode is off (bug#16066).
4127 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4128 is > mark and at bolp.
4129
4130 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4131 (region-extract-function): Use it.
4132 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4133 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4134 Delete functions.
4135 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4136 kill-ring-save, kill-region, delete-char, delete-forward-char.
4137 Ignore self-insert-iso.
4138
4139 * emulation/cua-gmrk.el (cua--init-global-mark):
4140 Ignore `self-insert-iso'.
4141
4142 * emulation/cua-base.el (cua--prefix-copy-handler)
4143 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4144 checking cua--rectangle.
4145 (cua-delete-region): Use region-extract-function.
4146 (cua-replace-region): Delete function.
4147 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4148 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4149 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4150 (cua--init-keymaps): Don't remap delete-selection commands.
4151 (cua-mode): Use delete-selection-mode instead of rolling our own
4152 (bug#16085).
4153
4154 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4155 Obey region-extract-function.
4156
4157 Make registers and delete-selection-mode work on rectangles.
4158 * register.el (describe-register-1): Don't modify the register's value.
4159 (copy-to-register): Obey region-extract-function.
4160 * delsel.el (delete-active-region): Obey region-extract-function.
4161
4162 2013-12-08 Leo Liu <sdl.web@gmail.com>
4163
4164 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4165 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4166 (flymake-compilation-prevents-syntax-check)
4167 (flymake-start-syntax-check-on-newline)
4168 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4169 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4170 (flymake-xml-program, flymake-master-file-dirs)
4171 (flymake-master-file-count-limit)
4172 (flymake-allowed-file-name-masks): Relocate.
4173 (flymake-makehash, flymake-float-time)
4174 (flymake-replace-regexp-in-string, flymake-split-string)
4175 (flymake-get-temp-dir): Remove.
4176 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4177 (flymake-current-row, flymake-selected-frame)
4178 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4179 related functions. (Bug#16077)
4180
4181 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4182
4183 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4184
4185 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4186
4187 * help-fns.el (describe-function-1): Use new advice-* functions
4188 rather than old ad-* functions. Fix function type description and
4189 source links for advised functions and subrs.
4190
4191 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4192
4193 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4194
4195 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4196
4197 * progmodes/compile.el (compilation-start):
4198 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4199
4200 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4201 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4202
4203 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4204
4205 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4206 Touch up the last change.
4207
4208 2013-12-06 Leo Liu <sdl.web@gmail.com>
4209
4210 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4211 (inferior-octave-startup): Always use "octave> " for prompt.
4212 (octave-goto-function-definition)
4213 (octave-sync-function-file-names)
4214 (octave-find-definition-default-filename): Remove redundant backquotes.
4215
4216 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4217
4218 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4219 syntax for `?'.
4220 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4221 where appropriate already.
4222 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4223 end of method names (Bug#15874).
4224
4225 2013-12-06 Juri Linkov <juri@jurta.org>
4226
4227 * isearch.el (isearch--saved-overriding-local-map):
4228 New internal variable.
4229 (isearch-mode): Set it to the initial value of
4230 `overriding-terminal-local-map'.
4231 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4232 with `isearch--saved-overriding-local-map'. (Bug#16035)
4233
4234 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4235
4236 * progmodes/octave.el (inferior-octave-completion-table):
4237 Turn back into function, use `completion-table-with-cache'
4238 (Bug#11906). Update all references.
4239
4240 * minibuffer.el (completion-table-with-cache): New function.
4241
4242 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
4243
4244 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
4245
4246 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
4247
4248 * net/eww.el (eww-current-source): New variable to store page
4249 source.
4250 (eww-display-html, eww-mode, eww-save-history)
4251 (eww-restore-history): Use it.
4252 (eww-view-source): New command to view page source.
4253 Opportunistically uses `html-mode' to highlight the buffer.
4254 (eww-mode-map): Install it.
4255
4256 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
4257
4258 * net/dbus.el (dbus-unregister-service)
4259 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
4260 Fix docstring.
4261 (dbus-unregister-service): Skip :serial entries in
4262 `dbus-registered-objects-table'.
4263 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
4264
4265 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
4266
4267 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
4268 around keywords with extra `split-string' argument.
4269
4270 2013-12-04 Martin Rudalics <rudalics@gmx.at>
4271
4272 * windmove.el (windmove-other-window-loc): Handle navigation
4273 between windows (excluding the minibuffer window - Bug#16017).
4274
4275 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4276
4277 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4278 in D-Bus type syntax.
4279 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4280 preserve unibyte strings. (Bug#16048)
4281
4282 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4283
4284 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4285 Call force-mode-line-update is the proper buffer (bug#16042).
4286
4287 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4288
4289 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4290 `log-edit-remember-comment', make argument optional. Adjust all
4291 callers.
4292 (log-edit-mode): Add `log-edit-remember-comment' to
4293 `kill-buffer-hook' locally.
4294 (log-edit-kill-buffer): Don't remember comment explicitly since
4295 the buffer is killed anyway.
4296
4297 2013-12-04 Juri Linkov <juri@jurta.org>
4298
4299 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4300 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4301
4302 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4303
4304 * notifications.el (notifications-close-notification): Call the
4305 D-Bus method with ID being a `:uint32'. (Bug#16030)
4306
4307 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4308
4309 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4310
4311 2013-12-03 Juri Linkov <juri@jurta.org>
4312
4313 * progmodes/compile.el (compilation-start): Rename window alist
4314 entry `no-display-ok' to `allow-no-window'.
4315
4316 * simple.el (shell-command): Add window alist entry
4317 `allow-no-window' to `display-buffer'.
4318 (async-shell-command): Doc fix.
4319
4320 * window.el (display-buffer-no-window): New action function.
4321 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4322
4323 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4324
4325 * vc/log-edit.el (log-edit-set-header): Extract from
4326 `log-edit-toggle-header'.
4327 (log-edit-extract-headers): Separate the summary, when extracted
4328 from header, from the rest of the message with an empty line.
4329
4330 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4331 line, if present, to the Summary header.
4332
4333 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4336 in current-buffer (bug#16029).
4337
4338 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4339
4340 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4341 (debugger-mode-map): Bind it.
4342 (debugger--backtrace-base): New function.
4343 (debugger-eval-expression): Use it.
4344 (debugger-frame-number): Skip local vars when present.
4345 (debugger--locals-visible-p, debugger--insert-locals)
4346 (debugger--show-locals, debugger--hide-locals): New functions.
4347
4348 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4349
4350 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4351 "LC_ALL".
4352 (tramp-get-remote-locale): New defun.
4353 (tramp-open-connection-setup-interactive-shell): Use it.
4354
4355 2013-12-02 Leo Liu <sdl.web@gmail.com>
4356
4357 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4358
4359 * progmodes/sh-script.el (sh-shell-process):
4360 * progmodes/octave.el (inferior-octave-process-live-p):
4361 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4362 (gdb-inferior-io-sentinel):
4363 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4364
4365 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4366
4367 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4368 `save-selected-window' to `log-edit-hide-buf'. This makes
4369 `log-edit-show-files' idempotent.
4370 (log-edit-show-files): Mark the new window as dedicated.
4371
4372 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4373
4374 * vc/log-edit.el (log-edit-mode-map): Add binding for
4375 `log-edit-kill-biffer'.
4376 (log-edit-hide-buf): Add a FIXME comment.
4377 (log-edit-add-new-comment): New function, extracted from
4378 `log-edit-done'.
4379 (log-edit-done, log-edit-add-to-changelog): Use it.
4380 (log-edit-kill-buffer): New command.
4381
4382 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4383
4384 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4385 instead of killing the buffer.
4386
4387 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4390
4391 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4392
4393 * net/eww.el (eww-form-checkbox-selected-symbol)
4394 (eww-form-checkbox-symbol): New customizable variable.
4395 (eww-form-checkbox, eww-toggle-checkbox):
4396 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4397
4398 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4399 (shr--get-media-pref, shr--extract-best-source): New function.
4400 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4401 no :src tag was specified.
4402
4403 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4404 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4405 Use \\` to match beginning of string instead of ^.
4406 (eww-browse-with-external-browser): Provide optional URL parameter.
4407 (eww-render): Set `eww-current-title' back to "".
4408
4409 * net/shr.el (shr-tag-video): Display content for video if no
4410 poster is available.
4411 (shr-tag-audio): Add support for <audio> tag.
4412
4413 * net/eww.el (eww-text-input-types): New const.
4414 (eww-process-text-input): Treat input types in
4415 `eww-text-input-types' as text.
4416
4417 * net/shr.el (shr-tag-table): Fix comment typo.
4418
4419 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4420
4421 * net/eww.el (eww-follow-link): New command to avoid reloading
4422 pages when we follow #target links (bug#15243).
4423 (eww-quit): Special mode buffers shouldn't query before exiting.
4424
4425 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4426
4427 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4428 forms.
4429
4430 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4431
4432 * net/eww.el (eww-restore-history): Update the window title after
4433 moving in the history.
4434 (eww-current-dom): New variable used to save the current DOM.
4435
4436 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4437
4438 * vc/log-edit.el (log-edit-mode-map): Add binding for
4439 `log-edit-beginning-of-line'.
4440 (log-edit-setup-add-author): New user option.
4441 (log-edit-beginning-of-line): New command.
4442 (log-edit): Move major mode call above the contents setup so that
4443 the local variable values are already applied.
4444 (log-edit): Only insert "Author: " when
4445 `log-edit-setup-add-author' is non-nil.
4446 (log-edit): When SETUP is non-nil, position point after ": "
4447 instead of point-min.
4448
4449 2013-12-01 Glenn Morris <rgm@gnu.org>
4450
4451 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4452
4453 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4454
4455 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4456 redisplay to make sure the initial frame gets a chance to become
4457 visible. (Bug#16014)
4458
4459 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4460
4461 Support resizing frames and windows pixelwise.
4462 * cus-start.el (frame-resize-pixelwise)
4463 (window-resize-pixelwise): New entries.
4464 * emacs-lisp/debug.el (debug): Use window-total-height instead
4465 of window-total-size.
4466 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4467 * help.el (describe-bindings-internal): Use help-buffer as
4468 argument for with-help-window.
4469 (temp-buffer-max-width): New option.
4470 (resize-temp-buffer-window, help-window-setup)
4471 (with-help-window): Rewrite.
4472 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4473 dragging dividers.
4474 * window.el (frame-char-size, window-min-pixel-height)
4475 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4476 (window-min-pixel-width, window-safe-min-pixel-size)
4477 (window-combination-p, window-safe-min-size)
4478 (window-resizable-p, window--size-to-pixel)
4479 (window--pixel-to-size, window--resize-apply-p): New functions.
4480 (window-safe-min-height): Fix doc-string.
4481 (window-size, window-min-size, window--min-size-1)
4482 (window-sizable, window-sizable-p, window--min-delta-1)
4483 (window-min-delta, window--max-delta-1, window-max-delta)
4484 (window--resizable, window--resizable-p, window-resizable)
4485 (window-full-height-p, window-full-width-p, window-at-side-p)
4486 (window--in-direction-2, window-in-direction)
4487 (window--resize-reset-1, window--resize-mini-window)
4488 (window-resize, window-resize-no-error)
4489 (window--resize-child-windows-normal)
4490 (window--resize-child-windows, window--resize-siblings)
4491 (window--resize-this-window, window--resize-root-window)
4492 (window--resize-root-window-vertically)
4493 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4494 (maximize-window, minimize-window, delete-window)
4495 (quit-restore-window, window-split-min-size, split-window)
4496 (balance-windows-2, balance-windows)
4497 (balance-windows-area-adjust, balance-windows-area)
4498 (window--state-get-1, window-state-get, window--state-put-1)
4499 (window--state-put-2, window-state-put)
4500 (display-buffer-record-window, window--display-buffer):
4501 Make functions handle pixelwise sizing of windows.
4502 (display-buffer--action-function-custom-type)
4503 (display-buffer-fallback-action):
4504 Add display-buffer-in-previous-window.
4505 (display-buffer-use-some-window): Resize window to height it had
4506 before.
4507 (fit-window-to-buffer-horizontally): New option.
4508 (fit-frame-to-buffer): Describe new values.
4509 (fit-frame-to-buffer-bottom-margin): Replace with
4510 fit-frame-to-buffer-margins.
4511 (window--sanitize-margin): New function.
4512 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4513 using window-text-pixel-size.
4514
4515 2013-11-30 Glenn Morris <rgm@gnu.org>
4516
4517 * emacs-lisp/bytecomp.el (byte-compile-form):
4518 Make the `interactive-only' warning like the `obsolete' one.
4519 * comint.el (comint-run):
4520 * files.el (insert-file-literally, insert-file):
4521 * replace.el (replace-string, replace-regexp):
4522 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4523 (goto-line, insert-buffer, next-line, previous-line):
4524 Tweak `interactive-only' spec.
4525
4526 Stop keeping (most) generated cedet grammar files in the repository.
4527 * Makefile.in (semantic): New.
4528 (compile-main): Depend on semantic.
4529
4530 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4531
4532 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4533 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4534
4535 * uniquify.el (uniquify-buffer-name-style): Change default.
4536
4537 * loadup.el: Preload "uniquify".
4538
4539 * time.el (display-time-update): Update all mode lines (bug#15999).
4540
4541 * electric.el (electric-indent-mode): Enable by default.
4542 * loadup.el: Preload "electric".
4543
4544 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4545
4546 * emacs-lisp/helpers.el (string-empty-p): New function.
4547 (string-blank-p): New function.
4548
4549 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4550
4551 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4552 (Bug#14029).
4553
4554 2013-11-29 Andreas Politz <politza@fh-trier.de>
4555 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4556 allow non-lambda lists as functions.
4557 (imenu--in-alist): Don't recurse into non-subalists.
4558 (imenu): Don't pass function itself as an argument (Bug#14029).
4559
4560 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * progmodes/python.el (python-mode-map): Remove binding for ":".
4563 (python-indent-electric-colon): Remove command.
4564 (python-indent-post-self-insert-function): Integrate the previous code
4565 of python-indent-electric-colon. Make it conditional on
4566 electric-indent-mode.
4567 (python-mode): Add ?: to electric-indent-chars.
4568 Move python-indent-post-self-insert-function to the end of
4569 post-self-insert-hook.
4570
4571 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * doc-view.el (doc-view-goto-page): Update mode-line.
4574
4575 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4576
4577 2013-11-27 Glenn Morris <rgm@gnu.org>
4578
4579 * international/charprop.el, international/uni-bidi.el:
4580 * international/uni-category.el, international/uni-combining.el:
4581 * international/uni-comment.el, international/uni-decimal.el:
4582 * international/uni-decomposition.el, international/uni-digit.el:
4583 * international/uni-lowercase.el, international/uni-mirrored.el:
4584 * international/uni-name.el, international/uni-numeric.el:
4585 * international/uni-old-name.el, international/uni-titlecase.el:
4586 * international/uni-uppercase.el:
4587 Remove generated files from VCS repository.
4588
4589 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4590
4591 * filenotify.el (file-notify-add-watch): Don't special-case
4592 w32notify when computing the directory to watch.
4593
4594 2013-11-27 Glenn Morris <rgm@gnu.org>
4595
4596 Make bootstrap without generated uni-*.el files possible again.
4597 * loadup.el: Update command-line-args checking for unidata-gen.
4598 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4599 * composite.el, international/characters.el:
4600 Handle unicode tables being undefined.
4601
4602 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4603 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4604 (compile-main): Depend on leim rule.
4605 (leim): New rule.
4606 * loadup.el: Move leim-list.el to leim/ subdirectory.
4607 * startup.el (normal-top-level): No more leim directory.
4608 * international/ja-dic-cnv.el (skkdic-convert):
4609 Disable version-control and autoloads in output files.
4610 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4611 Disable version-control and autoloads in output files.
4612 * leim/quail: Move here from ../leim.
4613 * leim/quail/hangul.el (hangul-input-method-activate):
4614 Add autoload cookie.
4615 (generated-autoload-load-name): Set file-local value.
4616 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4617 (generated-autoload-load-name): Set file-local value.
4618
4619 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4620
4621 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4622 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4623 (eww-quit): Ask confirmation before quitting eww.
4624
4625 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4626
4627 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4628 reading output from Diff on MS-Windows and MS-DOS.
4629
4630 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4631
4632 * emacs-lisp/helpers.el (string-reverse): New function.
4633
4634 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4635
4636 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4637 names on MS Windows, like "/[::1]:".
4638
4639 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4640 SWITCHES.
4641
4642 2013-11-26 Glenn Morris <rgm@gnu.org>
4643
4644 * progmodes/python.el (python-indent-guess-indent-offset):
4645 Avoid corner-case error. (Bug#15975)
4646
4647 Preload leim-list.el. (Bug#4789)
4648 * loadup.el: Load leim-list.el when found.
4649 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4650
4651 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4652
4653 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4654
4655 * emacs-lisp/helpers.el (string-join): New function.
4656
4657 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4658
4659 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4660 Mark as obsolete and replace it with a symbol property.
4661 (byte-compile-form): Use new 'interactive-only property.
4662 * comint.el, files.el, replace.el, simple.el:
4663 Apply new 'interactive-only properly.
4664
4665 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4666
4667 * window.el (display-buffer-at-bottom): Make sure that
4668 split-window-sensibly creates the new window on bottom
4669 (Bug#15961).
4670
4671 2013-11-23 David Kastrup <dak@gnu.org>
4672
4673 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4674 on the conflict markers when available.
4675 (smerge--get-marker): New function.
4676 (smerge-end-re, smerge-base-re): Add subgroup.
4677
4678 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4679
4680 * frame.el (handle-focus-in, handle-focus-out): Add missing
4681 interactive spec.
4682
4683 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4684
4685 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4686 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4687
4688 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4691 (gomoku--last-pos): New var.
4692 (gomoku--intangible-chars): New const.
4693 (gomoku--intangible): New function.
4694 (gomoku-mode): Use it. Derive from special-mode.
4695 (gomoku-move-up): Adjust line count.
4696 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4697 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4698 Simplify accordingly.
4699
4700 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4701 Remove blink-cursor code.
4702 (blink-cursor-timer-function, blink-cursor-suspend):
4703 Don't special-case GUIs.
4704 (blink-cursor-mode): Use focus-in/out-hook.
4705
4706 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4707
4708 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4709 work when annotation is invisible (Bug#13886).
4710
4711 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4712
4713 * json.el (json-alist-p): Only return non-nil if the alist has
4714 simple keys (Bug#13518).
4715
4716 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4717
4718 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4719 when control-statement is the first statement in a buffer (Bug#15956).
4720
4721 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4722
4723 * imenu.el (imenu-generic-skip-comments-and-strings):
4724 New option (Bug#15560).
4725 (imenu--generic-function): Use it.
4726
4727 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4728
4729 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4730 (Bug#13898)
4731
4732 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4733
4734 * emacs-lisp/helpers.el: Add some string helpers.
4735 (string-trim-left): Removes leading whitespace.
4736 (string-trim-right): Removes trailing whitespace.
4737 (string-trim): Removes leading and trailing whitespace.
4738
4739 * subr.el (string-suffix-p): New function.
4740
4741 2013-11-23 Glenn Morris <rgm@gnu.org>
4742
4743 * progmodes/python.el (python-shell-send-file):
4744 Add option to delete file when done. (Bug#15647)
4745 (python-shell-send-string, python-shell-send-region): Use it.
4746
4747 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4748
4749 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4750 to set buffer-read-only to t, never to nil. (Bug#15938)
4751
4752 * textmodes/tex-mode.el (latex-noindent-environments):
4753 Add safe-local-variable property. (Bug#15936)
4754
4755 2013-11-23 Glenn Morris <rgm@gnu.org>
4756
4757 * textmodes/enriched.el (enriched-mode): Doc fix.
4758 * emacs-lisp/authors.el (authors-renamed-files-alist):
4759 Add enriched.doc -> enriched.txt.
4760
4761 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4762
4763 2013-11-22 Leo Liu <sdl.web@gmail.com>
4764
4765 * progmodes/octave.el (inferior-octave-startup): Spit out error
4766 message.
4767
4768 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4769
4770 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4771 Improve docstring.
4772 Add :version.
4773 (ruby-encoding-magic-comment-style): Add :version.
4774
4775 2013-11-22 Leo Liu <sdl.web@gmail.com>
4776
4777 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4778 (Bug#15076)
4779 (octave-help-mode): Adapt to change to help-mode-finish to use
4780 derived-mode-p on 2013-09-17.
4781 (inferior-octave-prompt): Also match octave-gui.
4782 (octave-kill-process): Don't ask twice. (Bug#10564)
4783
4784 2013-11-22 Leo Liu <sdl.web@gmail.com>
4785
4786 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4787 (inferior-octave-startup, inferior-octave-check-process)
4788 (inferior-octave-track-window-width-change)
4789 (octave-completion-at-point, octave-eldoc-function): Use it.
4790 (octave-kill-process): Provide confirmation. (Bug#10564)
4791
4792 2013-11-21 Leo Liu <sdl.web@gmail.com>
4793
4794 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4795 Fix obsolete variable comment-use-global-state.
4796
4797 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4798
4799 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4800 Add `octave-source-file'.
4801 (octave-source-file): New function. (Bug#15935)
4802
4803 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4804
4805 * net/eww.el (eww-local-regex): New variable.
4806 (eww): Use it to detect localhost and similar.
4807
4808 2013-11-21 Leo Liu <sdl.web@gmail.com>
4809
4810 Add completion for command `ag'.
4811 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4812 (pcomplete/ag): New function.
4813 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4814
4815 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4816
4817 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4818 (bug#14646).
4819 (make-obsolete): Remove interactive spec.
4820
4821 2013-11-21 Glenn Morris <rgm@gnu.org>
4822
4823 * startup.el (command-line-1): Use path-separator with -L.
4824
4825 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4826
4827 * emacs-lisp/package.el (describe-package-1): Add package archive
4828 to shown fields.
4829
4830 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4831
4832 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4833 Change default to "# encoding: %s" to differentiate it from the
4834 default Ruby encoding comment template.
4835
4836 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4837
4838 * ses.el (ses-mode): Doc fix. (Bug#14748)
4839
4840 2013-11-20 Leo Liu <sdl.web@gmail.com>
4841
4842 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4843
4844 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4845
4846 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4847 when rebase or bisect are in progress.
4848
4849 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4850
4851 * filenotify.el (file-notify-add-watch): Doc fix.
4852
4853 2013-11-19 Leo Liu <sdl.web@gmail.com>
4854
4855 * obsolete/rcompile.el: Mark obsolete.
4856
4857 * progmodes/compile.el (compilation-start)
4858 (compilation-goto-locus, compilation-find-file):
4859 Pass no-display-ok and handle nil value from display-buffer.
4860 (Bug#13594)
4861
4862 * window.el (display-buffer-alist, display-buffer): Document the
4863 new parameter no-display-ok. Return either a window or nil
4864 but never a non-window value.
4865
4866 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * electric.el (electric-indent-mode-map): Remove.
4869 (electric-indent-mode): Change the global-map instead (bug#15915).
4870
4871 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4872 Use add-function.
4873
4874 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4875
4876 * emacs-lisp/nadvice.el (remove-function): Align with
4877 add-function's behavior.
4878
4879 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4880 (gdb--string-regexp): New constant.
4881 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4882 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4883 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4884 submatch 1.
4885 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4886 Adjust use accordingly.
4887 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4888
4889 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4890
4891 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4892 interpolation curlies (Bug#15914).
4893
4894 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4895
4896 * calc/calc.el (calc-context-sensitive-enter): New variable.
4897 (calc-enter): Use `calc-context-sensitive-enter'.
4898
4899 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4900
4901 * progmodes/cfengine.el: Version bump.
4902 (cfengine-cf-promises): New defcustom to locate cf-promises.
4903 (cfengine3-vartypes): Add new "data" type.
4904 (cfengine3--current-word): New function to get current name-like
4905 word or its bounds.
4906 (cfengine3--current-function): New function to look up a CFEngine
4907 function's definition.
4908 (cfengine3-format-function-docstring): New function.
4909 (cfengine3-make-syntax-cache): New function.
4910 (cfengine3-documentation-function): New function: ElDoc glue.
4911 (cfengine3-completion-function): New function: completion glue.
4912 (cfengine3-mode): Set `compile-command',
4913 `eldoc-documentation-function', and add to
4914 `completion-at-point-functions'.
4915
4916 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4919 `tramp-current-connection'.
4920
4921 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4922
4923 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4924 nil/self/true/false with "end of symbol".
4925
4926 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4927
4928 * subr.el (version-regexp-alist): Fix a typo.
4929
4930 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4931
4932 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4933 "en_US.utf8" and "LC_CTYPE" to "".
4934 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4935 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4936
4937 2013-11-15 Leo Liu <sdl.web@gmail.com>
4938
4939 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4940
4941 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * progmodes/gud.el (ctl-x-map):
4944 Remove C-x SPC binding. (Bug#12342)
4945 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4946
4947 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4948
4949 * subr.el (version-regexp-alist):
4950 Recognize hg, svn and darcs versions as snapshot versions.
4951
4952 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4953 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4954 (ruby--encoding-comment-required-p): Extract from
4955 `ruby-mode-set-encoding'.
4956 (ruby-mode-set-encoding): Add the ability to always insert an
4957 utf-8 encoding comment. Fix and simplify coding comment update
4958 logic.
4959
4960 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4961
4962 * net/tramp-gvfs.el (top): Run init code only when
4963 `tramp-gvfs-enabled' is not nil.
4964 (tramp-gvfs-enabled): Check also :system bus.
4965
4966 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 Sync with upstream verilog-mode revision 78e66ba.
4969 * progmodes/verilog-mode.el (verilog-end-of-defun)
4970 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4971 (verilog-get-end-of-defun): Remove unused argument.
4972 (verilog-comment-depth): Remove unused local `e'.
4973 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4974 Don't pass arg to verilog-get-end-of-defun.
4975
4976 2013-11-14 Glenn Morris <rgm@gnu.org>
4977
4978 * obsolete/assoc.el (aget): Prefix dynamic variable.
4979
4980 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4981
4982 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4983
4984 * widget.el, hfy-cmap.el: Remove bogus package version number.
4985
4986 2013-11-13 Glenn Morris <rgm@gnu.org>
4987
4988 * replace.el (replace-eval-replacement):
4989 Try to give more helpful error message. (Bug#15836)
4990
4991 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4992 (archive-7z-update): Avoid custom type mismatches.
4993
4994 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4995
4996 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4999 address can be empty.
5000
5001 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5002 Accept nil SWITCHES.
5003 (tramp-gvfs-handle-write-region): Implement APPEND.
5004
5005 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5006
5007 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5008 binary "|" operator and closing block args delimiter.
5009 Remove FIXME comment referring to Ruby 1.8-only syntax.
5010 (ruby-smie--implicit-semi-p): Not after "|" operator.
5011 (ruby-smie--closing-pipe-p): New function.
5012 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5013 (ruby-smie-rules): Indent after "|".
5014
5015 2013-11-12 Glenn Morris <rgm@gnu.org>
5016
5017 * ps-print.el (ps-face-attribute-list):
5018 Handle anonymous faces. (Bug#15827)
5019
5020 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5021
5022 * window.el (display-buffer-other-frame): Fix doc-string.
5023 (Bug#15868)
5024
5025 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5028
5029 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5030
5031 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5032 (tramp-sh-handle-file-local-copy): Don't write a message when
5033 saving temporary files.
5034
5035 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5036 both directories are remote.
5037 (tramp-smb-handle-directory-files): Do not return double entries.
5038 Do not expand full file names.
5039 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5040 (tramp-smb-handle-write-region): Implement APPEND.
5041 (tramp-smb-get-stat-capability): Fix a stupid bug.
5042
5043 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5046
5047 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5048
5049 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5050 throwing error over malformed let/let* (bug#15814).
5051
5052 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * iswitchb.el (iswitchb-mode): Mark obsolete.
5055
5056 2013-11-11 Glenn Morris <rgm@gnu.org>
5057
5058 * international/uni-bidi.el, international/uni-category.el:
5059 * international/uni-name.el, international/uni-numeric.el:
5060 Regenerate for Unicode 6.3.0.
5061
5062 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5063
5064 * net/tramp.el (tramp-methods):
5065 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5066 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5067
5068 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5069
5070 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5071 Force highlighting text after Summary keyword in doc face for rpm.
5072
5073 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5074
5075 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5076 available and the word has no wildcards, append one to the grep pattern.
5077 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5078 (ispell-complete-word): Call `ispell-lookup-words' with the value
5079 independent of `ispell-look-p'.
5080
5081 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5082
5083 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5084 Not after "||".
5085 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5086 their parent.
5087
5088 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5091 (ruby-font-lock-keywords): Use backquote.
5092
5093 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5094
5095 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5096 (ruby-smie--backward-token): Only consider full-string matches.
5097
5098 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5099
5100 * faces.el (describe-face): Add distant-foreground.
5101
5102 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5103
5104 * progmodes/ruby-mode.el: Improve encoding comment handling.
5105 (ruby-encoding-magic-comment-style): New option.
5106 (ruby-custom-encoding-magic-comment-template): New option.
5107 (ruby--insert-coding-comment, ruby--detect-encoding):
5108 New functions extracted from `ruby-mode-set-encoding'.
5109 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5110 to control the style of the auto-inserted encoding comment.
5111
5112 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5113
5114 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5115 Use `smie-backward-sexp' with token argument.
5116
5117 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5118
5119 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5120 Remove instrumentation code.
5121
5122 2013-11-08 Glenn Morris <rgm@gnu.org>
5123
5124 * progmodes/autoconf.el (autoconf-mode):
5125 Tweak comment-start-skip. (Bug#15822)
5126
5127 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5130 at bobp (bug#15826).
5131 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5132
5133 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5134
5135 * man.el (Man-start-calling): New macro, extracted from
5136 Man-getpage-in-background.
5137 (Man-getpage-in-background): Use it.
5138 (Man-update-manpage): New command.
5139 (Man-mode-map): Bind it.
5140
5141 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5142
5143 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5144 of "and", "or", "&&" and "||".
5145 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5146 argument. Prohibit opening curly brace because it could only be a
5147 block opener in that position.
5148 (ruby-smie--forward-token, ruby-smie--backward-token):
5149 Separate "|" from "&" or "*" going after it. That can happen in block
5150 arguments.
5151 (ruby-smie--indent-to-stmt): New function, seeks the end of
5152 previous statement or beginning of buffer.
5153 (ruby-smie-rules): Use it.
5154 (ruby-smie-rules): Check if there's a ":" before a curly block
5155 opener candidate; if there is, it's a hash.
5156
5157 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5158
5159 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5160 (cl--block-wrapper): Fix last accidental change.
5161
5162 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5163
5164 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5165 Instrument, in order to hunt failure on hydra.
5166
5167 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5168
5169 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5170 malformed bindings form (bug#15814).
5171
5172 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5173
5174 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5175 "." compared to " @ ". This incidentally fixes some indentation
5176 examples with "do".
5177 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5178 (ruby-smie-grammar): New tokens: "and" and "or".
5179 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5180 Exclude "and" and "or". Remove "do" in order to work around token
5181 priorities.
5182 (ruby-smie-rules): Add all infix tokens. Handle the case of
5183 beginning-of-buffer.
5184
5185 2013-11-06 Glenn Morris <rgm@gnu.org>
5186
5187 * Makefile.in (setwins_almost, setwins_for_subdirs):
5188 Avoid accidental matches.
5189
5190 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * menu-bar.el (popup-menu): Use key-binding.
5193
5194 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5195
5196 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5197 menus, support also the menus produced by minor modes.
5198 (Bug#15817)
5199
5200 2013-11-06 Leo Liu <sdl.web@gmail.com>
5201
5202 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5203 DISTANCE to bound the search. All uses changed. (Bug#15808)
5204
5205 2013-11-06 Glenn Morris <rgm@gnu.org>
5206
5207 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5208 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5209 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5210
5211 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * electric.el (electric-indent-just-newline): New command.
5214 (electric-indent-mode-map): New keymap.
5215 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5216 Re-add :group which weren't redundant.
5217
5218 * electric.el (electric-indent-local-mode): New minor mode.
5219 (electric-indent-functions-without-reindent): New var.
5220 (electric-indent-post-self-insert-function): Use it.
5221 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5222
5223 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5224
5225 * international/quail.el (quail-help): Be more explicit about the
5226 meaning of the labels shown on the keys. (Bug#15800)
5227
5228 * startup.el (normal-top-level): Load the subdirs.el files before
5229 setting the locale environment. (Bug#15805)
5230
5231 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5234 via arguments so as to get the right ones (bug#15418).
5235
5236 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5237
5238 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5239
5240 Fix problems found while writing a test suite.
5241
5242 * net/tramp-compat.el (tramp-compat-load): New defun.
5243 * net/tramp.el (tramp-handle-load): Use it.
5244
5245 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
5246 "(numberp ok-if-already-exists)" correctly.
5247
5248 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
5249
5250 * international/characters.el (glyphless-char-display-control):
5251 Add usage note.
5252
5253 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
5254
5255 * progmodes/python.el (python-mode):
5256 * progmodes/scheme.el (scheme-mode):
5257 * progmodes/prolog.el (prolog-mode):
5258 * progmodes/ruby-mode.el (ruby-mode):
5259 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
5260 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
5261
5262 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * rect.el (rectangle--highlight-for-redisplay):
5265 * emacs-lisp/smie.el (smie--next-indent-change):
5266 Use buffer-chars-modified-tick.
5267
5268 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
5269
5270 * electric.el (electric-indent-post-self-insert-function):
5271 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
5272
5273 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5274
5275 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5276
5277 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5278
5279 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5280 (bug#15786).
5281
5282 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5285
5286 * progmodes/python.el: Fix up last change.
5287 (python-shell--save-temp-file): New function.
5288 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5289 `string' comes from the current buffer.
5290 (python-shell-send-string-no-output): Remove `msg' arg.
5291 (python--use-fake-loc): New var.
5292 (python-shell-buffer-substring): Obey it. Try to compensate for the
5293 extra coding line added by python-shell--save-temp-file.
5294 (python-shell-send-region): Use python-shell--save-temp-file and
5295 python-shell-send-file directly. Add `nomain' argument.
5296 (python-shell-send-buffer): Use python-shell-send-region.
5297 (python-electric-pair-string-delimiter): New function.
5298 (python-mode): Use it.
5299
5300 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5301
5302 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5303 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5304 environment and decoding all of the default-directory's to here
5305 from command-line.
5306 (command-line): Decode also argv[0].
5307
5308 * loadup.el: Error out if default-directory is a multibyte string
5309 when we are dumping.
5310
5311 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5312
5313 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5314
5315 * emacs-lisp/package.el (package-menu-mode)
5316 (package-menu--print-info, package-menu--archive-predicate):
5317 Add Archive column to package list.
5318
5319 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5320
5321 Fix problems found while writing a test suite.
5322
5323 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5324 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5325 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5326 to nil when running original file name handler. Otherwise,
5327 there are problems with constructs like "$$FOO".
5328
5329 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5330 for `localname'.
5331
5332 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5333
5334 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5335
5336 * subr.el (version<, version<=, version=):
5337 Update docstrings with information for snapshot versions.
5338
5339 * helpers.el: New library for misc helper functions.
5340 (hash-table-keys): New function returning a list of hash keys.
5341 (hash-table-values): New function returning a list of hash values.
5342
5343 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5344
5345 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5346 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5347
5348 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5349
5350 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5351 checking whether point is after a 1-letter word.
5352
5353 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5354
5355 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5356 Don't infloop when expanding region over `multiline' syntax-type that
5357 begins a line (bug#15778).
5358
5359 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5362 Make it into a proper minor mode.
5363 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5364 (rectangle-mark-mode-map): New keymap.
5365 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5366
5367 2013-11-04 Glenn Morris <rgm@gnu.org>
5368
5369 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5370
5371 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5374 (ruby-smie-rules): Use smie-rule-parent instead.
5375
5376 * emacs-lisp/smie.el (smie-rule-parent): Always call
5377 smie-indent-virtual rather than only for hanging tokens.
5378 (smie--next-indent-change): New helper command.
5379
5380 2013-11-03 Glenn Morris <rgm@gnu.org>
5381
5382 * Makefile.in (abs_srcdir): Remove.
5383 (emacs): Unset EMACSLOADPATH.
5384
5385 2013-11-02 Glenn Morris <rgm@gnu.org>
5386
5387 * Makefile.in (EMACS): Use a relative filename.
5388 (abs_top_builddir): Remove.
5389 (custom-deps, finder-data, autoloads): Use --chdir.
5390
5391 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5392
5393 Use relative filenames in TAGS files.
5394 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5395 (lisptagsfiles4, TAGS): Use relative file names.
5396 (TAGS-LISP): Remove.
5397 (maintainer-clean): No more TAGS-LISP file.
5398
5399 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5400 (lisptagsfiles4): Use absolute filenames again.
5401 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5402 Remove all *loaddefs files, not just the first. Remove esh-groups.
5403 (maintainer-clean): Delete TAGS, TAGS-LISP.
5404
5405 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5406
5407 * emacs-lisp/package.el (package-version-join):
5408 Recognize snapshot versions.
5409
5410 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5411
5412 * subr.el (version-regexp-alist): Add support for snapshot versions.
5413
5414 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5415
5416 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5417 New function, replacement for `smie-rule-parent' for when we want to
5418 skip over our direct parent if it's an assignment token..
5419 (ruby-smie-rules): Use it.
5420
5421 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5422
5423 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5424 unconditionally. Remove now unnecessary forward declarations.
5425 Remove XEmacs-specific setup.
5426 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5427 (ruby-font-lock-syntactic-keywords)
5428 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5429 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5430 (ruby-here-doc-end-syntax): Remove.
5431 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5432 defined as function.
5433
5434 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5435
5436 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5437
5438 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5439
5440 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5441 table and abbrev table, `define-derived-mode' does that for us
5442 anyway.
5443
5444 2013-11-01 Glenn Morris <rgm@gnu.org>
5445
5446 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5447 files is atomic for some time, so no parallel compilation issues).
5448
5449 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5450
5451 * faces.el (face-x-resources): Add :distant-foreground.
5452 (region): Use :distant-foreground for gtk and ns.
5453
5454 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5455
5456 Allow multiple bibliographies when BibLaTeX is used rather than
5457 BibTeX.
5458 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5459 (reftex-locate-bibliography-files): Us it.
5460
5461 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5462
5463 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5464 allow comments in pbm files.
5465
5466 * term/w32-win.el (dynamic-library-alist): Support newer versions
5467 of libjpeg starting with v7: look only for the DLL from the
5468 version against which Emacs was built.
5469 Support versions of libpng beyond 1.4.x.
5470 Support libtiff v4.x.
5471
5472 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5473
5474 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5475 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5476 Add property :safe.
5477 (ruby-deep-arglist): Add property :type.
5478
5479 2013-10-31 Glenn Morris <rgm@gnu.org>
5480
5481 * Makefile.in (custom-deps, finder-data): No need to setq the target
5482 variables, we are in the right directory and the defaults work fine.
5483
5484 2013-10-30 Glenn Morris <rgm@gnu.org>
5485
5486 * Makefile.in (autoloads): Do not use abs_lisp.
5487
5488 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5489 `newline' does not respect `standard-output', so use `princ'.
5490
5491 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5492
5493 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5494 * buff-menu.el (Buffer-menu--unmark): New function.
5495 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5496
5497 2013-10-30 Glenn Morris <rgm@gnu.org>
5498
5499 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5500
5501 * emacs-lisp/package.el (lm-homepage): Declare.
5502
5503 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5504 Fix doc typos.
5505
5506 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5507
5508 * Makefile.in (finder-data, autoloads, update-subdirs)
5509 (compile-main, compile-clean, compile-always, bootstrap-clean):
5510 Check return value of cd.
5511 (compile-calc): Remove.
5512
5513 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5516
5517 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5518 (byte-compile-and-folded): New function.
5519 (=, <, >, <=, >=): Use it.
5520
5521 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5522 (path-separator, null-device, buffer-file-coding-system)
5523 (lpr-headers-switches): Check system-type before modifying them.
5524 (find-buffer-file-type-coding-system): Mark obsolete.
5525 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5526 find-file-not-found-set-buffer-file-coding-system.
5527 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5528 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5529 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5530 (w32-direct-print-region-helper, w32-direct-print-region-function)
5531 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5532 * startup.el (normal-top-level-add-subdirs-to-load-path):
5533 * ps-print.el (ps-print-region-function):
5534 * lpr.el (print-region-function): Use new name.
5535
5536 * subr.el (custom-declare-variable-early): Remove function.
5537 (custom-declare-variable-list): Remove var.
5538 (error, user-error): Remove `while' loop.
5539 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5540 (user-emacs-directory-warning, locate-user-emacs-file):
5541 Move to files.el.
5542 * simple.el (read-quoted-char-radix, read-quoted-char):
5543 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5544 Move from subr.el.
5545 * custom.el (custom-declare-variable-list): Don't process
5546 custom-declare-variable-list.
5547
5548 * progmodes/python.el (python-shell-get-buffer): New function.
5549 (python-shell-get-process): Use it.
5550 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5551 Python which encoding was used. Don't split-string since we only care
5552 about the first line. Return the temp-file, if applicable.
5553 (python-shell-send-region): Tell compile.el how to turn locations in
5554 the temp-file into locations in the source buffer.
5555
5556 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5557
5558 * subr.el (undefined): Add missing behavior from the C code for
5559 unbound keys.
5560
5561 * rect.el: Use lexical-binding. Add new rectangular region support.
5562 (rectangle-mark): New command.
5563 (rectangle--region): New var.
5564 (deactivate-mark-hook): Reset rectangle--region.
5565 (rectangle--extract-region, rectangle--insert-for-yank)
5566 (rectangle--highlight-for-redisplay)
5567 (rectangle--unhighlight-for-redisplay): New functions.
5568 (region-extract-function, redisplay-unhighlight-region-function)
5569 (redisplay-highlight-region-function): Use them to handle
5570 rectangular region.
5571 * simple.el (region-extract-function): New var.
5572 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5573 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5574 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5575 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5576 (redisplay-unhighlight-region-function)
5577 (redisplay-highlight-region-function): New vars.
5578 (redisplay--update-region-highlight): New function.
5579 (pre-redisplay-function): Use it.
5580 (exchange-point-and-mark): Don't deactivate the mark before
5581 reactivate-it anyway.
5582 * comint.el (comint-kill-region): Remove yank-handler argument.
5583 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5584 (delete-char): Remove property, since it's now part of their
5585 default behavior.
5586 (self-insert-iso): Remove property since this command doesn't exist.
5587
5588 * emacs-lisp/package.el (package--download-one-archive)
5589 (describe-package-1): Don't query the user about final newline.
5590
5591 2013-10-29 Daniel Colascione <dancol@dancol.org>
5592
5593 * net/tramp.el (tramp-methods): Document new functionality.
5594 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5595 tramp-hostname-checker if method provides one instead of scanning
5596 argument list for "%h" to decide hostname acceptability.
5597
5598 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5599
5600 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5601 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5602 Handle COPY-CONTENTS. (Bug#15737)
5603
5604 2013-10-28 Daiki Ueno <ueno@gnu.org>
5605
5606 * epa-file.el
5607 (epa-file-cache-passphrase-for-symmetric-encryption):
5608 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5609
5610 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5611
5612 * image.el (defimage, image-load-path): Doc fixes.
5613
5614 2013-10-27 Alan Mackenzie <acm@muc.de>
5615
5616 Indent statements in macros following "##" correctly.
5617 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5618 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5619
5620 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5621
5622 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5623
5624 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5625
5626 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5627 after `=' is probably a new expression.
5628
5629 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5630
5631 * man.el (man-imenu-title): New option.
5632 (Man-mode-map): Add menu. (Bug#15722)
5633 (Man-mode): Add imenu to menu.
5634
5635 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5636
5637 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5638 specific in what the first arg can be: a non-keyword word,
5639 string/regexp/percent literal opener, opening paren, or unary
5640 operator followed directly by word.
5641
5642 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5645 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5646 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5647 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5648 Remove vars, they do not apply any more.
5649 (prolog-mode-abbrev-table): Remove redundant declaration.
5650 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5651 (prolog-use-smie): Remove.
5652 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5653 supported by prolog-electric-if-then-else-flag.
5654 (prolog-mode-variables, prolog-menu): Use setq-local.
5655 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5656 Remove binding to `Backspace' since this key doesn't exist anyway.
5657 Remove bindings for electric self-inserting keys.
5658 (prog-mode): Assume it's defined.
5659 (prolog-post-self-insert): New function.
5660 (prolog-mode): Use it.
5661 (prolog-indent-line, prolog-indent-level)
5662 (prolog-find-indent-of-matching-paren)
5663 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5664 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5665 (prolog-goto-next-paren, prolog-in-string-or-comment)
5666 (prolog-tokenize, prolog-inside-mline-comment)
5667 (prolog-find-start-of-mline-comment): Remove functions.
5668 (prolog-find-unmatched-paren, prolog-clause-end)
5669 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5670 (prolog-electric--if-then-else): Rename from
5671 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5672 (prolog-tokenize-searchkey): Remove const.
5673 (prolog-clause-info): Use forward-sexp.
5674 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5675 (prolog-electric-if-then-else): Remove commands.
5676 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5677 for use in post-self-insert-hook.
5678 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5679 for use in post-self-insert-hook.
5680 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5681 for use in post-self-insert-hook.
5682 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5683 adapt it for use in post-self-insert-hook.
5684
5685 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5686
5687 * emacs-lisp/ert.el (ert-run-tests-interactively):
5688 Use `completing-read'. (Bug#9756)
5689
5690 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5691
5692 * simple.el (line-move): Call line-move-1 instead of
5693 line-move-visual when the current window hscroll is zero, but
5694 temporary-goal-column indicates we will need to hscroll as result
5695 of the movement. (Bug#15712)
5696
5697 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5698
5699 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5700 capitalization. Use :visible instead of :active.
5701 Fix `ruby-indent-exp' reference. Add menu items for the generic
5702 commands that are used with SMIE.
5703 (ruby-do-end-to-brace): Insert space after `{'.
5704
5705 2013-10-25 John Anthony <john@jo.hnanthony.com>
5706
5707 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5708
5709 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5710
5711 2013-10-25 Glenn Morris <rgm@gnu.org>
5712
5713 * vc/vc.el (vc-print-log): Don't use a working revision unless
5714 one was explicitly specified. (Bug#15322)
5715
5716 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * subr.el (add-to-list): Preserve return value in compiler-macro
5719 (bug#15692).
5720
5721 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5722
5723 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5724 result. Ask user to retry using '-all' flag. (Bug#15701)
5725
5726 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5727
5728 * emacs-lisp/smie.el: New smie-config system.
5729 (smie-config): New defcustom.
5730 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5731 (smie-config-guess, smie-config-save): New commands.
5732 (smie-config--mode-local, smie-config--buffer-local)
5733 (smie-config--trace, smie-config--modefuns): New vars.
5734 (smie-config--advice, smie-config--mode-hook)
5735 (smie-config--setter, smie-config-local, smie-config--get-trace)
5736 (smie-config--guess-value, smie-config--guess): New functions.
5737 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5738 text properties. Treat "string fence" syntax like string syntax.
5739
5740 * progmodes/sh-script.el (sh-use-smie): Change default.
5741 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5742 (sh-var-value): Simplify by CSE.
5743 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5744 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5745 is used.
5746 (sh-guess-basic-offset): Use cl-incf.
5747 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5748
5749 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5750
5751 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5752 (bug#15699).
5753
5754 2013-10-24 Glenn Morris <rgm@gnu.org>
5755
5756 * Makefile.in (abs_top_srcdir): Remove.
5757 (update-subdirs): Use relative path to update-subdirs.
5758
5759 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5760
5761 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5762 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5763 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5764 Call unmsys--file-name before expand-file-name, not after it.
5765
5766 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5767
5768 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5769 (ert-test-skipped): New error.
5770 (ert-skip, ert-stats-skipped): New defuns.
5771 (ert--skip-unless): New macro.
5772 (ert-test-skipped): New struct.
5773 (ert--run-test-debugger, ert-test-result-type-p)
5774 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5775 (ert--stats-set-test-and-result, ert-char-for-test-result)
5776 (ert-string-for-test-result, ert-run-tests-batch)
5777 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5778 Handle skipped tests. (Bug#9803)
5779
5780 2013-10-24 Glenn Morris <rgm@gnu.org>
5781
5782 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5783
5784 * Makefile.in (abs_top_srcdir): New, set by configure.
5785 (update-subdirs): Correct build-aux location.
5786
5787 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5788
5789 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5790 value, whether we could auto-deduce `backend', or not.
5791
5792 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5793 with parameters" example. Simplify the "is it block or is it
5794 hash" check, but also make it more thorough.
5795
5796 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5797
5798 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5799
5800 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5803 { if it is hanging.
5804
5805 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5806 :before ";".
5807
5808 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5809
5810 * progmodes/compile.el (compilation-directory-matcher)
5811 (compilation-page-delimiter):
5812 Support GNU Make-4.0 directory quoting. (Bug#15678)
5813
5814 2013-10-23 Leo Liu <sdl.web@gmail.com>
5815
5816 * ido.el (ido-tidy): Handle read-only text.
5817
5818 2013-10-23 Glenn Morris <rgm@gnu.org>
5819
5820 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5821 (emacs, compile, compile-always):
5822 Quote entities that might contain whitespace.
5823 (custom-deps, finder-data, autoloads): Use abs_lisp.
5824 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5825 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5826 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5827
5828 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5829
5830 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5831 Use `following-char'.
5832
5833 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5836 * progmodes/ruby-mode.el (ruby-smie-rules):
5837 Remove corresponding workaround. Fix indentation rule of ";" so it
5838 also applies when ";" is the parent.
5839
5840 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5841
5842 * frame.el (display-screens, display-pixel-height)
5843 (display-pixel-width, display-mm-width, display-backing-store)
5844 (display-save-under, display-planes, display-color-cells)
5845 (display-visual-class, display-monitor-attributes-list):
5846 Mention the optional ‘display’ argument in doc strings.
5847
5848 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5849
5850 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5851 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5852
5853 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5854
5855 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5856 TODO. Add "." after " @ ".
5857 (ruby-smie--at-dot-call): New function. Checks if point at method
5858 call with explicit target.
5859 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5860 to the method name tokens when it precedes them.
5861 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5862 (ruby-smie-rules): Add rule for indentation before and after "."
5863 token.
5864
5865 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * textmodes/remember.el (remember-diary-extract-entries):
5868 Avoid add-to-list.
5869
5870 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5871 an instruction.
5872
5873 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5874
5875 * progmodes/ruby-mode.el (ruby-smie-grammar):
5876 Add (almost) all infix operators.
5877 (ruby-smie--implicit-semi-p): Add new operator chars.
5878
5879 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5880 `smie-down-list'.
5881 (ruby-smie--args-separator-p): Check that there's no newline
5882 between method call and its arguments.
5883
5884 2013-10-20 Alan Mackenzie <acm@muc.de>
5885
5886 Allow comma separated lists after Java "implements".
5887
5888 * progmodes/cc-engine.el (c-backward-over-enum-header):
5889 Parse commas.
5890 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5891 from a "disallowed" list in enum fontification.
5892
5893 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5894
5895 * startup.el (default-frame-background-mode): Remove unused defvar.
5896
5897 * progmodes/verilog-mode.el (verilog-mode): Don't set
5898 comment-indent-function globally.
5899
5900 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5901
5902 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5903 Move Info menu item creation to ns-win.el.
5904
5905 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5906 in menu bar.
5907
5908 * menu-bar.el: Move GNUstep specific menus...
5909
5910 * term/ns-win.el (ns-initialize-window-system): ... to here.
5911
5912 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * simple.el (newline): Only run post-self-insert-hook when
5915 called interactively.
5916
5917 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5918
5919 * icomplete.el (icomplete-with-completion-tables): Add :version.
5920
5921 2013-10-19 Alan Mackenzie <acm@muc.de>
5922
5923 Fix fontification bugs with constructors and const.
5924
5925 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5926 CASE 2) Remove the check for the absence of a suffix construct
5927 after a function declaration with only types (no identifiers) in
5928 the parentheses. Also, accept a function declaration with just a
5929 type inside the parentheses, if this type can be positively
5930 recognised as such, or if a prefix keyword like "explicit" nails
5931 down the construct as a declaration.
5932
5933 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5934
5935 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5936 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5937 the problem whereby selecting a menu item that leads to a
5938 minibuffer prompt moves the cursor out of the minibuffer window,
5939 making it hard to type at the prompt. Suggested by Stefan Monnier
5940 <monnier@iro.umontreal.ca>.
5941
5942 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5943
5944 * menu-bar.el: Don't make Services menu.
5945
5946 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5947
5948 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5949 (ffap-alist): Use ffap-c++-mode for c++-mode.
5950 (ffap-c++-path): New variable.
5951 (ffap-c++-mode): New function.
5952
5953 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5954
5955 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5956
5957 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5958
5959 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5960 introduced on 2013-09-08, which results in an infinite loop
5961 requesting a password.
5962
5963 2013-10-18 Glenn Morris <rgm@gnu.org>
5964
5965 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5966
5967 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5968
5969 Sync with upstream verilog-mode revision 1a6ecec7.
5970 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5971 (verilog-mode-release-date): Remove.
5972 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5973 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5974 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5975 (verilog-auto-tieoff-ignore-regexp)
5976 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5977 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5978 (verilog-signals-with, verilog-dir-cache-preserving)
5979 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5980 Doc fixes.
5981 (verilog-case-fold): New option, to control case folding in
5982 regexp searches, bug597.
5983 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5984 (verilog-string-match-fold, verilog-in-paren-count)
5985 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5986 (verilog-at-close-struct-p): New functions.
5987 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5988 (verilog-forward-sexp, verilog-set-auto-endcomments)
5989 (verilog-leap-to-case-head): Handle "unique0" case.
5990 (verilog-in-constraint-re): New constant.
5991 (verilog-keywords, verilog-type-font-keywords):
5992 Add some SystemVerilog 1800-2012 keywords.
5993 (verilog-label-be): Remove unimplemented argument, bug669.
5994 (verilog-batch-execute-func): When batch expanding clear
5995 create-lockfiles to prevent spurious user locks when a file ends
5996 up not changing.
5997 (verilog-calculate-indent, verilog-calc-1)
5998 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5999 (verilog-do-indent): Fix indentation of nested constraints
6000 and structures.
6001 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6002 (verilog-auto-inst-param): Use verilog-string-match-fold.
6003 (verilog-read-inst-module-matcher):
6004 Fix AUTOINST on gate primitives with #1.
6005 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6006 Reads all user-defined typed variables.
6007 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6008 (verilog-signals-matching-regexp)
6009 (verilog-signals-not-matching-regexp, verilog-auto):
6010 Respect verilog-case-fold.
6011 (verilog-diff-report): Fix line count.
6012 (verilog-auto-assign-modport): Remove unused local `modi'.
6013 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6014 better handle multidimensional arrays.
6015 Fix packed array ports misadding bit index in AUTOINST, bug637.
6016 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6017 to not double-declare existing outputs and inputs, respectively.
6018 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6019 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6020 (verilog-sk-uvm-component): New skeleton.
6021 (verilog-submit-bug-report): Add verilog-case-fold,
6022 remove verilog-mode-release-date.
6023
6024 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6025
6026 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6027 as before.
6028
6029 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6030
6031 * textmodes/remember.el (remember): Set buffer-offer-save in
6032 remember buffers (bug#13566).
6033
6034 2013-10-18 Daniel Colascione <dancol@dancol.org>
6035
6036 When evaluating forms in ielm, direct standard output to ielm
6037 buffer. Add new ielm-return-for-effect command. Remove trailing
6038 whitespace throughout.
6039
6040 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6041 (ielm-return-for-effect): New command.
6042 (ielm-send-input): Accept optional `for-effect' parameter.
6043 (ielm-eval-input): Accept optional `for-effect' parameter.
6044 Bind `standard-output' to stream we create using
6045 `ielm-standard-output-impl'. Suppress printing result when
6046 `for-effect'.
6047 (ielm-standard-output-impl): New function.
6048 (inferior-emacs-lisp-mode): Explain new features in documentation.
6049
6050 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6051
6052 Code cleanup.
6053
6054 * net/tramp.el (tramp-debug-message): Do not check for connection
6055 buffer.
6056 (tramp-message): Use "vector" connection property.
6057
6058 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6059 (tramp-equal-remote, tramp-eshell-directory-change)
6060 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6061 (tramp-adb-handle-rename-file)
6062 * net/tramp-cmds.el (tramp-list-remote-buffers)
6063 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6064 * net/tramp-compat.el (tramp-compat-process-running-p)
6065 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6066 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6067 (tramp-gvfs-handle-rename-file)
6068 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6069 (tramp-set-file-uid-gid)
6070 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6071 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6072 of `file-remote-p'.
6073
6074 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6075 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6076 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6077 (tramp-gw-open-network-stream): Suppress unrelated traces.
6078
6079 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6080 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6081 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6082 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6083 connection property.
6084
6085 * net/tramp-cache.el (top): Suppress traces when reading
6086 persistency file.
6087
6088 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6089 Refactor common code. Improve debug message.
6090 (tramp-maybe-open-connection)
6091 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6092 connection buffer too early.
6093
6094 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6095 from `tramp-smb-actions-with-acl'.
6096 (tramp-smb-actions-set-acl): New defconst.
6097 (tramp-smb-handle-copy-directory)
6098 (tramp-smb-action-get-acl): New defun, renamed from
6099 `tramp-smb-action-with-acl'.
6100 (tramp-smb-action-set-acl): New defun.
6101 (tramp-smb-handle-set-file-acl): Rewrite.
6102
6103 2013-10-17 Glenn Morris <rgm@gnu.org>
6104
6105 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6106
6107 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * skeleton.el (skeleton-newline): Remove.
6110 (skeleton-internal-1): Use (insert "\n") instead.
6111
6112 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6113 let-bindings.
6114
6115 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6116 forward-sexp-function while we redo its job (bug#15613).
6117
6118 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6119
6120 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6121 represented by lists.
6122
6123 2013-10-16 Glenn Morris <rgm@gnu.org>
6124
6125 * tmm.el (tmm--history): New dynamic variable.
6126 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6127
6128 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6129
6130 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6131 (tramp-smb-errors): Add error messages.
6132 (tramp-smb-actions-with-acl): New defconst.
6133 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6134 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6135 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6136 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6137 (tramp-smb-get-stat-capability): Fix tests.
6138
6139 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6140
6141 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6142 (bug#15580).
6143
6144 2013-10-16 Glenn Morris <rgm@gnu.org>
6145
6146 * ansi-color.el (ansi-color-drop-regexp):
6147 Add 1J, 1K, 2K. (Bug#15617)
6148
6149 * files.el (hack-local-variables--warned-lexical): New.
6150 (hack-local-variables):
6151 Warn about misplaced lexical-binding. (Bug#15616)
6152
6153 * net/eww.el (eww-render): Always set eww-current-url,
6154 and update header line. (Bug#15622)
6155 (eww-display-html): ... Rather than just doing it here.
6156
6157 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6158
6159 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6160 menu navigations commands.
6161
6162 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6163
6164 * progmodes/subword.el (subword-capitalize): Be careful when
6165 the search for [[:alpha:]] fails (bug#15580).
6166
6167 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6168
6169 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6170 to commands that scroll the menu.
6171
6172 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6173
6174 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6175 Handle methods ending with `?' and `!'.
6176
6177 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6178
6179 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6180 `japanese-cp932' to `cp932' to fix the problem where saving a
6181 source file written in Shift_JIS twice would end up having
6182 `coding: japanese-cp932' which Ruby could not recognize.
6183 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6184 in `ruby-encoding-map'.
6185 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6186 doesn't need to be explicitly declared in magic comment.
6187 (ruby-encoding-map): Add type declaration for better customize UI.
6188
6189 2013-10-13 Glenn Morris <rgm@gnu.org>
6190
6191 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6192 Occur buffers are read-only. http://bugs.debian.org/720775
6193
6194 * emacs-lisp/authors.el (authors-fixed-entries):
6195 Comment out old alpha stuff.
6196
6197 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6198
6199 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6200 to `after-save-hook' instead of `before-save-hook'.
6201 (ruby-mode-set-encoding): Use the value of coding system used to
6202 write the file. Call `basic-save-buffer-1' after modifying the
6203 buffer.
6204
6205 2013-10-13 Alan Mackenzie <acm@muc.de>
6206
6207 Fix indentation/fontification of Java enum with
6208 "implements"/generic.
6209
6210 * progmodes/cc-engine.el (c-backward-over-enum-header):
6211 Extracted from the three other places and enhanced to handle generics.
6212 (c-inside-bracelist-p): Uses new function above.
6213 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6214 function above.
6215 (c-font-lock-enum-tail): Uses new function above.
6216
6217 2013-10-13 Kenichi Handa <handa@gnu.org>
6218
6219 * international/mule-cmds.el (select-safe-coding-system): Remove a
6220 superfluous condition in chekcing whether a coding system is safe
6221 or not.
6222
6223 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6224
6225 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6226
6227 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6228
6229 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6230
6231 2013-10-13 Glenn Morris <rgm@gnu.org>
6232
6233 * menu-bar.el (menu-bar-update-buffers):
6234 Unify Buffers menu prompt string. (Bug#15576)
6235
6236 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6237
6238 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6239 Add some entries.
6240 (authors-fixed-entries): Use accented form of name.
6241
6242 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
6245 method calls (bug#15594).
6246 (ruby-smie--args-separator-p): New function.
6247 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
6248 recognize paren-free method calls.
6249
6250 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
6251 internals of universal-argument.
6252
6253 2013-10-11 Eli Zaretskii <eliz@gnu.org>
6254
6255 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
6256 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
6257 dropped menu on second mouse click on the menu bar.
6258
6259 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6260
6261 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
6262 (explicit-shell-file-name): Declare.
6263 (sh--vars-before-point, sh--cmd-completion-table): New functions.
6264 (sh-completion-at-point-function): New function.
6265 (sh-mode): Use it.
6266 (sh-smie--keyword-p): Remove unused argument.
6267 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
6268 vars.
6269 (sh-set-shell): Always setup SMIE, even if we use the
6270 old indentation code.
6271
6272 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6273
6274 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6275 cases of ? and =.
6276 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6277 predicate would return nil are almost non-existent.
6278 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6279
6280 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6281 cache also after commands that modify the buffer but don't move
6282 point.
6283
6284 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * env.el (substitute-env-in-file-name): New function.
6287 (substitute-env-vars): Extend the meaning of the optional arg.
6288
6289 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6290
6291 * term/w32-win.el (dynamic-library-alist): Define separate lists
6292 of GIF DLLs for versions before and after 5.0.0 of giflib.
6293 (Bug#15531)
6294
6295 2013-10-10 João Távora <joaotavora@gmail.com>
6296
6297 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6298 not locked, use last revision and current source as
6299 defaults. (Bug#15569)
6300
6301 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6302
6303 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6304 menu-bar is hidden.
6305
6306 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6307
6308 * window.el (pop-to-buffer-same-window): Fix doc-string.
6309 (Bug#15492)
6310
6311 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6314
6315 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6316
6317 * calendar/icalendar.el (icalendar-import-file):
6318 Fix interactive spec. (Bug#15482)
6319
6320 2013-10-10 Glenn Morris <rgm@gnu.org>
6321
6322 * desktop.el (desktop-save): Default to saving in .emacs.d,
6323 since PWD is no longer in desktop-path by default. (Bug#15319)
6324
6325 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6326 now that text mode has a menu with the same entry.
6327 (menu-bar-text-mode-auto-fill): Remove now unused func.
6328 * textmodes/text-mode.el (text-mode-map):
6329 Use auto-fill help text from menu-bar.el.
6330
6331 2013-10-10 John Anthony <john@jo.hnanthony.com>
6332
6333 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6334
6335 2013-10-09 Juri Linkov <juri@jurta.org>
6336
6337 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6338 instead of this-command-keys. Add universal-argument-more and
6339 universal-argument-minus to the list of prefix commands. (Bug#15568)
6340
6341 2013-10-09 Glenn Morris <rgm@gnu.org>
6342
6343 * vc/vc-svn.el (vc-svn-create-repo):
6344 Expand paths in file://... url. (Bug#15446)
6345
6346 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6347 Add some entries.
6348 (authors): Remove unused local variables.
6349
6350 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * profiler.el: Create a more coherent calltree from partial backtraces.
6353 (profiler-format): Hide the tail with `invisible' so that C-s can still
6354 find the hidden elements.
6355 (profiler-calltree-depth): Don't recurse so enthusiastically.
6356 (profiler-function-equal): New hash-table-test.
6357 (profiler-calltree-build-unified): New function.
6358 (profiler-calltree-build): Use it.
6359 (profiler-report-make-name-part): Indent the calltree less.
6360 (profiler-report-mode): Add visibility specs for profiler-format.
6361 (profiler-report-expand-entry, profiler-report-toggle-entry):
6362 Expand the whole subtree when provided with a prefix arg.
6363
6364 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6365
6366 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6367 iuwu-mod token.
6368 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6369 hanging iuwu-mod token.
6370 (ruby-smie--forward-token): Do not include a dot after a token in
6371 that token.
6372 (ruby-smie--backward-token): Likewise.
6373
6374 2013-10-08 Juri Linkov <juri@jurta.org>
6375
6376 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6377 to isearch-other-control-char.
6378 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6379 and isearch-post-command-hook to post-command-hook.
6380 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6381 and isearch-post-command-hook from post-command-hook.
6382 (isearch-unread-key-sequence)
6383 (isearch-reread-key-sequence-naturally)
6384 (isearch-lookup-scroll-key, isearch-other-control-char)
6385 (isearch-other-meta-char): Remove functions.
6386 (isearch-pre-command-hook, isearch-post-command-hook):
6387 New functions based on isearch-other-meta-char rewritten
6388 relying on the new behavior of overriding-terminal-local-map
6389 that does not replace the local keymaps any more. (Bug#15200)
6390
6391 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6392
6393 Support menus on text-mode terminals.
6394 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6395 functionality.
6396
6397 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6398
6399 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6400 Move here from mouse.el.
6401 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6402 and arrow keys.
6403 (tty-menu-navigation-map): New map for TTY menu navigation.
6404
6405 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6406
6407 * frame.el (display-mouse-p): Report text-mode mouse as available
6408 on w32.
6409 (display-popup-menus-p): Report availability if mouse is
6410 available; don't condition on window-system.
6411
6412 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6413 (tty-menu-selected-face): New faces.
6414
6415 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6418 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6419 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6420 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6421 New constants.
6422 (lisp-mode-variables): New `elisp' argument.
6423 (emacs-lisp-mode): Use it.
6424 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6425 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6426
6427 * indent.el: Use lexical-binding.
6428 (indent-region): Add progress reporter.
6429 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6430 last step.
6431 (indent--next-tab-stop): New function to implement this behavior.
6432 (tab-to-tab-stop, move-to-tab-stop): Use it.
6433
6434 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6435
6436 * indent.el (indent-rigidly--current-indentation): New function.
6437 (indent-rigidly-map): New var.
6438 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6439
6440 2013-10-08 Bastien Guerry <bzg@gnu.org>
6441
6442 * register.el (insert-register): Fix 2013-10-07 change.
6443
6444 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * progmodes/perl-mode.el: Use lexical-binding.
6447 Remove redundant :group args.
6448 (perl-nochange): Change default to be closer to other major modes's
6449 standard behavior.
6450 (perl-indent-line): Don't consider text on current line as a
6451 valid beginning of function from which to indent.
6452
6453 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6454 with more than one argument (bug#15538).
6455
6456 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6457
6458 * vc/pcvs.el: Use lexical-binding.
6459 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6460 environment of `eval'.
6461 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6462 than a list of expressions. Adjust callers.
6463 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6464
6465 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6466
6467 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6468 case of the dot in a chained method call being on the following line.
6469
6470 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * electric.el (electric-indent-inhibit): New var.
6473 (electric-indent-post-self-insert-function): Use it.
6474 * progmodes/python.el (python-mode): Set it.
6475
6476 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6477 open braces.
6478
6479 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6480
6481 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6482 (css-mode): Use electric-indent-chars.
6483
6484 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6485 (font-lock-beg, font-lock-end): Move before first use.
6486 (nxml-mode): Use syntax-propertize-function.
6487 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6488 (nxml-extend-after-change-region): Remove.
6489 * nxml/xmltok.el: Use lexical-binding.
6490 (xmltok-save): Use `declare'.
6491 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6492 * nxml/nxml-util.el: Use lexical-binding.
6493 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6494 Use `declare'.
6495 * nxml/nxml-ns.el: Use lexical-binding.
6496 (nxml-ns-save): Use `declare'.
6497 (nxml-ns-prefixes-for): Avoid add-to-list.
6498 * nxml/rng-match.el: Use lexical-binding.
6499 (rng--ipattern): Use cl-defstruct.
6500 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6501 (rng-cons-group-after, rng-subst-group-after)
6502 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6503 Use closures instead of `(lambda...).
6504
6505 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6506
6507 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6508 of BEG and END.
6509
6510 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6511 Use `tramp-handle-insert-file-contents'.
6512 (tramp-gvfs-handle-insert-file-contents): Remove function.
6513
6514 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6515 Use `save-restriction' in order to keep markers.
6516
6517 * net/trampver.el: Update release number.
6518
6519 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * progmodes/compile.el (compilation-parse-errors):
6522 Use compilation--put-prop.
6523 (compilation--ensure-parse): Check compilation-multiline.
6524
6525 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6526
6527 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6528 lexical-binding.
6529
6530 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6531
6532 * progmodes/ruby-mode.el: Fix recently added tests.
6533 (ruby-smie-grammar): Add - and +.
6534 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6535 (ruby-smie--backward-id): New functions.
6536 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6537 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6538 any more.
6539
6540 2013-10-07 Leo Liu <sdl.web@gmail.com>
6541
6542 * register.el (register-preview-delay)
6543 (register-preview-functions): New variables.
6544 (register-read-with-preview, register-preview)
6545 (register-describe-oneline): New functions.
6546 (point-to-register, window-configuration-to-register)
6547 (frame-configuration-to-register, jump-to-register)
6548 (number-to-register, view-register, insert-register)
6549 (copy-to-register, append-to-register, prepend-to-register)
6550 (copy-rectangle-to-register): Use register-read-with-preview to
6551 read register. (Bug#15525)
6552
6553 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6554
6555 * net/network-stream.el (network-stream-open-starttls): Don't add
6556 --insecure if it's already present, because that gnutls-cli
6557 rejects getting that parameter twice.
6558
6559 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6560
6561 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6562 keyword, too.
6563
6564 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6565
6566 * newcomment.el (comment-use-global-state): Change default value
6567 to t, mark obsolete (Bug#15251).
6568 (comment-beginning): In addition to `comment-to-syntax', check the
6569 value of `comment-use-global-state'.
6570
6571 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6574 (ruby-comment-column): Follow the global default, by default.
6575 (ruby-smie-grammar): Add assignment syntax.
6576 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6577 open-paren, a comma, or a \.
6578 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6579 and line continuations.
6580 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6581 followed by implicit semi-colons. Add rule for string concatenation
6582 and for indentation at BOB.
6583 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6584
6585 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6586 calling next-sexp, since next-token may have skipped chars which
6587 next-sexp doesn't know should be skipped!
6588
6589 2013-10-05 Leo Liu <sdl.web@gmail.com>
6590
6591 * progmodes/octave.el (octave-send-region):
6592 Call compilation-forget-errors.
6593
6594 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6595
6596 * vc/vc-svn.el (vc-svn-find-admin-dir):
6597 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6598 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6599 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6600 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6601
6602 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6603
6604 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6605
6606 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * subr.el (read-passwd): Hide chars even when called within a context
6609 where after-change-functions is disabled (bug#15501).
6610 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6611 until we removed ourself from overriding-terminal-local-map.
6612
6613 2013-10-04 Leo Liu <sdl.web@gmail.com>
6614
6615 * progmodes/octave.el (inferior-octave-mode):
6616 Call compilation-forget-errors.
6617
6618 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6619
6620 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6621
6622 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6623
6624 * net/secrets.el (secrets-create-collection): Add optional
6625 argument ALIAS. Use proper Label keyword. Append ALIAS as
6626 dbus-call-method argument. (Bug#15516)
6627
6628 2013-10-04 Leo Liu <sdl.web@gmail.com>
6629
6630 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6631 (inferior-octave-compilation-font-lock-keywords): New variables.
6632 (compilation-error-regexp-alist)
6633 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6634 (inferior-octave-mode): Use compilation-shell-minor-mode.
6635
6636 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6637
6638 * minibuffer.el (completion--replace): Be careful that `end' might be
6639 a marker.
6640
6641 2013-10-03 Daiki Ueno <ueno@gnu.org>
6642
6643 Add support for package signature checking.
6644 * emacs-lisp/package.el (url-http-file-exists-p)
6645 (epg-make-context, epg-context-set-home-directory)
6646 (epg-verify-string, epg-context-result-for)
6647 (epg-signature-status, epg-signature-to-string)
6648 (epg-check-configuration, epg-configuration)
6649 (epg-import-keys-from-file): Declare.
6650 (package-check-signature): New user option.
6651 (package-unsigned-archives): New user option.
6652 (package-desc): Add `signed' field.
6653 (package-load-descriptor): Set `signed' field if .signed file exists.
6654 (package--archive-file-exists-p): New function.
6655 (package--check-signature): New function.
6656 (package-install-from-archive): Check package signature.
6657 (package--download-one-archive): Check archive signature.
6658 (package-delete): Remove .signed file.
6659 (package-import-keyring): New command.
6660 (package-refresh-contents): Import default keyring.
6661 (package-desc-status): Add "unsigned" status.
6662 (describe-package-1, package-menu--print-info)
6663 (package-menu-mark-delete, package-menu--find-upgrades)
6664 (package-menu--status-predicate): Support "unsigned" status.
6665
6666 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6669 the new compilation scheme using the new byte-codes.
6670
6671 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6672 (byte-pophandler): New byte codes.
6673 (byte-goto-ops): Adjust accordingly.
6674 (byte-compile--use-old-handlers): New var.
6675 (byte-compile-catch): Use new byte codes depending on
6676 byte-compile--use-old-handlers.
6677 (byte-compile-condition-case--old): Rename from
6678 byte-compile-condition-case.
6679 (byte-compile-condition-case--new): New function.
6680 (byte-compile-condition-case): New function that dispatches depending
6681 on byte-compile--use-old-handlers.
6682 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6683 when we can.
6684
6685 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6686 Optimize under `condition-case' and `catch' if
6687 byte-compile--use-old-handlers is nil.
6688 (disassemble-offset): Handle new bytecodes.
6689
6690 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6691
6692 * subr.el (error): Use `declare'.
6693 (decode-char, encode-char): Use advertised-calling-convention instead
6694 of the docstring to discourage use of the `restriction' arg.
6695
6696 2013-10-03 Daiki Ueno <ueno@gnu.org>
6697
6698 * epg.el (epg-verify-file): Add a comment saying that it does not
6699 notify verification error as a return value nor a signal.
6700 (epg-verify-string): Ditto.
6701
6702 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6703
6704 * progmodes/compile.el (compilation-start): Try globbing the arg to
6705 `cd' (bug#15417).
6706
6707 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6708
6709 Sync with Tramp 2.2.8.
6710
6711 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6712 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6713 * net/trampver.el: Update release number.
6714
6715 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6716
6717 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6718 and default-process-coding-system for darwin only.
6719
6720 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6723
6724 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6725
6726 * vc/vc-git.el (vc-git-grep): Disable pager.
6727
6728 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6729
6730 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6731 Use :url instead of :homepage, as per
6732 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6733
6734 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6735 non-nil, use `syntax-ppss' (Bug#15251).
6736
6737 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6738
6739 * progmodes/octave.el (inferior-octave-startup-file):
6740 Prefer ~/.emacs.d/init_octave.m.
6741
6742 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6743
6744 * emacs-lisp/package.el (package-desc-from-define):
6745 Accept additional arguments as plist, convert them to an alist and store
6746 them in the `extras' slot.
6747 (package-generate-description-file): Convert extras alist back to
6748 plist and append to the `define-package' form arguments.
6749 (package--alist-to-plist): New function.
6750 (package--ac-desc): Add `extras' slot.
6751 (package--add-to-archive-contents): Check if the archive-contents
6752 vector is long enough, and if it is, pass its `extras' slot value
6753 to `package-desc-create'.
6754 (package-buffer-info): Call `lm-homepage', pass the returned value
6755 to `package-desc-from-define'.
6756 (describe-package-1): Render the homepage button (Bug#13291).
6757
6758 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6759 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6760
6761 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6762
6763 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6764 and default-process-coding-system to utf-8-unix (Bug#15402).
6765
6766 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6767
6768 * subr.el (looking-back): Do not recommend using looking-back.
6769
6770 2013-09-28 Alan Mackenzie <acm@muc.de>
6771
6772 Fix indentation/fontification of Java enum with "implements".
6773
6774 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6775 regexp which matches "implements", etc., in Java.
6776 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6777 specifier clauses coming after "enum".
6778 * progmodes/cc-fonts.el (c-font-lock-declarations)
6779 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6780 after "enum".
6781
6782 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6783
6784 * faces.el (region): Change ns_selection_color to
6785 ns_selection_fg_color, add ns_selection_bg_color.
6786
6787 2013-09-28 Leo Liu <sdl.web@gmail.com>
6788
6789 * progmodes/octave.el (inferior-octave-completion-table)
6790 (inferior-octave-completion-at-point): Minor tweaks.
6791
6792 * textmodes/ispell.el (ispell-lookup-words): Rename from
6793 lookup-words. (Bug#15460)
6794 (lookup-words): Obsolete.
6795 (ispell-complete-word, ispell-command-loop): All uses changed.
6796
6797 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6798
6799 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6800 (octave-mode-menu): Add octave-send-buffer.
6801 (octave-send-buffer): New function.
6802
6803 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6804
6805 * progmodes/octave.el (octave-mode-map): Add key binding for
6806 octave-lookfor.
6807 (octave-mode-menu): Add octave-lookfor.
6808 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6809 octave-lookfor.
6810 (octave-lookfor): New function.
6811
6812 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6815 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6816 its convention.
6817 (cl--loop-set-iterator-function): New function.
6818 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6819 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6820 Bind `it' with `let' instead of substituting it with `cl-subst'.
6821 (cl--unused-var-p): New function.
6822 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6823 Eliminate some unused variable warnings (bug#15326).
6824
6825 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6826
6827 * doc-view.el (doc-view-scale-reset): Rename from
6828 `doc-view-reset-zoom-level'.
6829 (doc-view-scale-adjust): New command.
6830 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6831 `doc-view-scale-adjust'.
6832
6833 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6834
6835 * doc-view.el (doc-view-reset-zoom-level): New command.
6836 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6837 zoom commands (bug#15466).
6838
6839 2013-09-26 Kenichi Handa <handa@gnu.org>
6840
6841 * international/quail.el (quail-help): Make it not a command.
6842
6843 2013-09-26 Leo Liu <sdl.web@gmail.com>
6844
6845 * minibuffer.el (completion-all-sorted-completions): Make args
6846 optional as they are.
6847
6848 2013-09-25 Daniel Colascione <dancol@dancol.org>
6849
6850 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6851 specs are and that they're not evaluated.
6852
6853 2013-09-24 Sam Steingold <sds@gnu.org>
6854
6855 * midnight.el (clean-buffer-list-kill-regexps)
6856 (clean-buffer-list-kill-buffer-names): Update for the new Man
6857 buffer naming which includes the object name.
6858
6859 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6860
6861 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6862 (eshell-parse-command, eshell-parse-pipeline): Use it since
6863 eshell-separate-commands requires a dynamic scoped var.
6864 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6865
6866 2013-09-23 Leo Liu <sdl.web@gmail.com>
6867
6868 * autoinsert.el (auto-insert-alist): Make the value of
6869 lexical-binding match its file setting.
6870
6871 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6872
6873 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6874
6875 * autoarg.el (autoarg-kp-digit-argument):
6876 * electric.el (Electric-command-loop):
6877 * kmacro.el (kmacro-step-edit-insert):
6878 Do not set universal-argument-num-events.
6879
6880 2013-09-22 Leo Liu <sdl.web@gmail.com>
6881
6882 * files.el (interpreter-mode-alist): Add octave.
6883
6884 2013-09-21 Alan Mackenzie <acm@muc.de>
6885
6886 C++: fontify identifier in declaration following "public:" correctly.
6887 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6888 to match "public", etc.
6889 (c-decl-prefix-re): Add ":" into the C++ value.
6890 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6891 bit. Add a check for a ":" preceded by "public", etc.
6892
6893 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6894
6895 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6896 recognized by GDB 7.5 and later.
6897
6898 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6899
6900 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6901
6902 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6903
6904 * subr.el (internal--call-interactively): New const.
6905 (called-interactively-p): Use it (bug#3984).
6906
6907 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6908
6909 * vc/pcvs.el (cvs-mode-ignore):
6910 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6911 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6912
6913 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6914
6915 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6916 (eshell-ls-orig-insert-directory): Remove.
6917 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6918 (eshell-ls-use-in-dired): Use advice-add/remove.
6919 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6920 Add `orig-fun' arg for use in :around advice.
6921 Make it check (redundantly) eshell-ls-use-in-dired.
6922
6923 2013-09-19 Glenn Morris <rgm@gnu.org>
6924
6925 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6926
6927 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6928
6929 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6930
6931 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6932
6933 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6934 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6935 (tramp-get-remote-python): New defuns.
6936 (tramp-get-remote-uid-with-perl)
6937 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6938 contributed by yary <not.com@gmail.com> (tiny change).
6939 (tramp-get-remote-uid-with-python)
6940 (tramp-get-remote-gid-with-python): New defuns. Python code
6941 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6942 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6943
6944 2013-09-19 Glenn Morris <rgm@gnu.org>
6945
6946 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6947
6948 * eshell/em-unix.el (eshell-remove-entries):
6949 Rename argument to avoid name-clash with global `top-level'.
6950
6951 * eshell/esh-proc.el (eshell-kill-process-function):
6952 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6953 (eshell-reset-after-proc): Remove unused arg `proc'.
6954
6955 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6956 (directory-files-and-attributes): Mark unused arg.
6957
6958 * eshell/em-unix.el (eshell-remove-entries):
6959 Remove unused arg `path'. Update callers.
6960
6961 * eshell/em-hist.el (eshell-hist-parse-arguments):
6962 Remove unused arg `silent'. Update callers.
6963
6964 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6965 Fix (f)boundp mix-up.
6966
6967 * eshell/em-smart.el (eshell-smart-scroll-window)
6968 (eshell-disable-after-change):
6969 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6970
6971 2013-09-18 Alan Mackenzie <acm@muc.de>
6972
6973 Fix fontification of type when followed by "const".
6974 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6975 "known" types from fontification.
6976
6977 2013-09-18 Glenn Morris <rgm@gnu.org>
6978
6979 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6980 (chart-face-list): Drop Emacsen without display-color-p.
6981
6982 * net/eww.el (libxml-parse-html-region): Declare.
6983 (eww-display-html): Explicit error if no libxml2 support.
6984
6985 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6986
6987 * image.el (image-type-from-buffer, image-multi-frame-p):
6988 Remove --without-x warning/error.
6989
6990 * mouse.el (mouse-yank-primary):
6991 * term.el (term-mouse-paste):
6992 Reorder to silence --without-x compilation.
6993
6994 * mpc.el (doc-view-mode): Silence --without-x compilation.
6995
6996 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6997 Silence --without-x compilation.
6998
6999 * progmodes/gud.el (gud-find-file, gud-mode):
7000 Silence --without-x compilation.
7001 (tooltip-mode): Declare.
7002
7003 * wdired.el (dired-backup-overwrite): Remove declaration.
7004 (wdired-mode-map): Add doc string.
7005
7006 * custom.el (x-get-resource): Declare.
7007
7008 * eshell/em-glob.el (ange-cache):
7009 * eshell/em-unix.el (ange-cache): Declare.
7010
7011 * faces.el (x-display-list, x-open-connection, x-get-resource):
7012 Declare.
7013
7014 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7015 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7016 Declare.
7017
7018 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7019
7020 * net/gnutls.el (gnutls-log-level): Declare.
7021
7022 * net/shr.el (image-size, image-animate): Declare.
7023
7024 * simple.el (font-info): Declare.
7025
7026 * subr.el (x-popup-dialog): Declare.
7027
7028 * term/common-win.el (x-select-enable-primary)
7029 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7030 Declare.
7031
7032 * term/ns-win.el (x-handle-args): Declare.
7033
7034 * term/x-win.el (x-select-enable-clipboard): Declare.
7035
7036 * term/w32-win.el (create-default-fontset): Declare.
7037
7038 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7039 Declare.
7040
7041 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7042 (fit-frame-to-buffer): Explicit error if --without-x.
7043 (mouse-autoselect-window-select): Silence compiler.
7044
7045 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7046
7047 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7048 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7049 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7050 * eshell/esh-util.el (eshell-sublist):
7051 Remove unused local variables.
7052
7053 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7054
7055 * textmodes/two-column.el: Make 2C-split work for --without-x.
7056 (scroll-bar-columns): Autoload.
7057 (top-level): Require fringe when compiling.
7058
7059 2013-09-18 Leo Liu <sdl.web@gmail.com>
7060
7061 * subr.el (add-hook): Robustify to handle closure as well.
7062
7063 2013-09-17 Glenn Morris <rgm@gnu.org>
7064
7065 * simple.el (messages-buffer-mode-map): Unbind "g".
7066
7067 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * help-mode.el (help-mode-finish): Use derived-mode-p.
7070 Remove obsolete highlighting.
7071
7072 * play/life.el (life-mode): Use define-derived-mode. Derive from
7073 special-mode.
7074 (life): Let-bind inhibit-read-only.
7075 (life-setup): Avoid `setq'. Use `life-mode'.
7076
7077 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7078 which should not be needed any more.
7079 (package-menu-refresh, package-menu-describe-package): Use user-error.
7080
7081 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7082 (eshell-post-rewrite-command-hook): Make obsolete.
7083 (eshell-parse-command): Simplify.
7084 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7085 (eshell--cmd): Declare.
7086 (eshell-parse-pipeline): Remove unused var `final-p'.
7087 Pass a dynvar to eshell-post-rewrite-command-hook.
7088 Implement the new eshell-post-rewrite-command-function.
7089 (eshell-invoke-directly): Remove unused arg `input'.
7090 * eshell/esh-io.el (eshell-io-initialize):
7091 Use eshell-post-rewrite-command-function (bug#15399).
7092 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7093 adjust to new calling convention.
7094 (eshell-create-handles): Rename args to avoid clashing with dynvar
7095 `standard-output'.
7096
7097 2013-09-17 Glenn Morris <rgm@gnu.org>
7098
7099 * simple.el (messages-buffer-mode): New major mode.
7100 (messages-buffer): New function.
7101 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7102 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7103 (ert-run-test): Use `messages-buffer' function.
7104 (ert--force-message-log-buffer-truncation): Ignore read-only.
7105 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7106 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7107
7108 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7111
7112 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7113
7114 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * icomplete.el (icomplete-in-buffer): New var.
7117 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7118 vars and replace them with functions.
7119 (icomplete-minibuffer-setup): Adjust accordingly.
7120 (icomplete--completion-table, icomplete--completion-predicate)
7121 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7122 New functions.
7123 (icomplete-forward-completions, icomplete-backward-completions)
7124 (icomplete-simple-completing-p, icomplete-exhibit)
7125 (icomplete-completions): Use them.
7126 (icomplete--in-region-buffer): New var.
7127 (icomplete--in-region-setup): New function.
7128 (icomplete-mode): Use it.
7129
7130 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7131 (bug#15379).
7132 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7133 return args and options.
7134 (eshell-eval-using-options): Use the new return value of
7135 eshell--do-opts to set the options's vars in their scope.
7136 (eshell--set-option): Rename from eshell-set-option.
7137 Add arg `opt-vals'.
7138 (eshell--process-option): Rename from eshell-process-option.
7139 Add arg `opt-vals'.
7140 (eshell--process-args): Use an `opt-vals' alist to store the options's
7141 values during their processing and return them additionally to the
7142 remaining args.
7143
7144 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7145
7146 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7147 continuation character an operator, as far as indentation is
7148 concerned (Bug#15369).
7149
7150 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7151
7152 * window.el (window--state-put-2): Don't process buffer state
7153 when buffer doesn't exist any more (Bug#15382).
7154
7155 2013-09-15 Glenn Morris <rgm@gnu.org>
7156
7157 * eshell/em-unix.el (eshell/rm):
7158 Make -f ignore missing files. (Bug#15373)
7159
7160 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7161 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7162 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7163
7164 2013-09-14 Glenn Morris <rgm@gnu.org>
7165
7166 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7167
7168 2013-09-13 Glenn Morris <rgm@gnu.org>
7169
7170 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7171 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7172
7173 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7174
7175 * frame.el (x-focus-frame): Mark as declared in frame.c.
7176
7177 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * ls-lisp.el: Use advice-add.
7180 (original-insert-directory): Remove.
7181 (ls-lisp--insert-directory): Rename from insert-directory; add
7182 `orig-fun' argument.
7183 (insert-directory): Advise.
7184
7185 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7186
7187 * term.el (term-emulate-terminal): Decode the command string
7188 before passing it to term-command-hook. (Bug#15337)
7189
7190 2013-09-13 Glenn Morris <rgm@gnu.org>
7191
7192 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7193
7194 * eshell/esh-ext.el (eshell-search-path): Declare.
7195
7196 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7197 Otherwise an error occurs if eshell-dirs module not loaded.
7198
7199 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7200
7201 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7202
7203 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7204 `tramp-check-proper-host'. Check for a valid method name.
7205
7206 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7207 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7208 * net/tramp-sh.el (tramp-maybe-open-connection):
7209 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7210
7211 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7212 also for hash values.
7213
7214 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7215
7216 * term/ns-win.el (parameters): Don't declare as dynamic.
7217 (before-make-frame-hook): Don't add ineffective function.
7218
7219 * eshell/*.el: Use lexical-binding (bug#15231).
7220
7221 2013-09-12 Kenichi Handa <handa@gnu.org>
7222
7223 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7224
7225 2013-09-12 Glenn Morris <rgm@gnu.org>
7226
7227 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7228 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7229
7230 * subr.el (do-after-load-evaluation): Also give compiler warnings
7231 when obsolete files are used (except by obsolete files).
7232
7233 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7234 in the status output, assume `filename' is the first. (Bug#15322)
7235
7236 * vc/vc.el (vc-deduce-fileset): Doc fix.
7237
7238 * calc/calc-help.el (Info-goto-node):
7239 * progmodes/cperl-mode.el (Info-find-node):
7240 * vc/ediff.el (Info-goto-node): Update declarations.
7241
7242 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
7243
7244 * vc/vc-bzr.el (vc-compilation-mode): Declare.
7245 (vc-bzr-pull): Require vc-dispatcher.
7246 * vc/vc-git.el (vc-compilation-mode): Declare.
7247 (vc-git-pull): Require vc-dispatcher.
7248
7249 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
7250
7251 * progmodes/octave.el (help-button-action): Declare.
7252
7253 * shell.el (shell-directory-tracker): Output error as a message
7254 rather than just returning it as a string.
7255 (shell-process-pushd): Remove useless use of message.
7256
7257 * dframe.el (dframe-timer-fn):
7258 * files.el (dir-locals-read-from-file):
7259 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
7260 (mpc-format):
7261 * reveal.el (reveal-post-command):
7262 * saveplace.el (load-save-place-alist-from-file):
7263 * shell.el (shell-resync-dirs):
7264 * w32-common-fns.el (x-get-selection-value):
7265 * emacs-lisp/copyright.el (copyright-find-copyright):
7266 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
7267 * emulation/tpu-edt.el (tpu-copy-keyfile):
7268 * play/bubbles.el (bubbles--mark-neighbourhood):
7269 * progmodes/executable.el
7270 (executable-make-buffer-file-executable-if-script-p):
7271 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
7272
7273 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7274
7275 Cleanup Eshell to rely less on dynamic scoping.
7276 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7277 last-value, and ext-command here. Bind `args' closer to `body'.
7278 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7279 (eshell--args): Declare new dynamic var.
7280 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7281 last-value, and ext-command. Pass `args' to `body'.
7282 (eshell-process-args): Bind eshell--args.
7283 (eshell-set-option): Use eshell--args.
7284 * eshell/eshell.el (eshell): Use derived-mode-p.
7285 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7286 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7287 (eshell-glob-function): Declare.
7288 * eshell/esh-util.el: Require cl-lib.
7289 (eshell-read-hosts-file): Avoid add-to-list.
7290 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7291 `err'.
7292 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7293 Declare.
7294 (eshell/diff): Remove unused var `err'.
7295 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7296 `killflag'.
7297 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7298 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7299 first use.
7300 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7301 Move declaration before first use.
7302 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7303 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7304 rely on cl-return.
7305
7306 2013-09-12 Glenn Morris <rgm@gnu.org>
7307
7308 * term/ns-win.el (global-map): Remove binding for ispell-next,
7309 deleted 1999-05-29. (Bug#15357)
7310
7311 2013-09-11 Glenn Morris <rgm@gnu.org>
7312
7313 * echistory.el (electric-command-history): Remove call to deleted func.
7314
7315 * play/landmark.el (landmark-mode): Fix typos.
7316
7317 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7318 Check cvs-sort-ignore-file is bound.
7319
7320 * savehist.el: No need for cl when compiling on Emacs.
7321
7322 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7325 (bug#15338).
7326 (eshell-self-insert-command, eshell-send-invisible):
7327 Remove unused argument.
7328 (eshell-handle-control-codes): Remove unused var `orig'.
7329 Avoid delete-backward-char.
7330
7331 * files.el (set-auto-mode): Simplify a bit further.
7332
7333 2013-09-11 Glenn Morris <rgm@gnu.org>
7334
7335 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7336 (set-auto-mode): Don't regexp-quote elements.
7337 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7338 * progmodes/cc-mode.el (interpreter-mode-alist):
7339 * progmodes/ruby-mode.el (interpreter-mode-alist):
7340 Revert previous change.
7341
7342 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * play/snake.el (snake-mode):
7345 * play/mpuz.el (mpuz-mode):
7346 * play/landmark.el (lm-mode):
7347 * play/blackbox.el (blackbox-mode):
7348 * play/5x5.el (5x5-mode):
7349 * obsolete/options.el (Edit-options-mode):
7350 * net/quickurl.el (quickurl-list-mode):
7351 * net/newst-treeview.el (newsticker-treeview-mode):
7352 * mail/rmailsum.el (rmail-summary-mode):
7353 * mail/mspools.el (mspools-mode):
7354 * locate.el (locate-mode):
7355 * ibuffer.el (ibuffer-mode):
7356 * emulation/ws-mode.el (wordstar-mode):
7357 * emacs-lisp/debug.el (debugger-mode):
7358 * array.el (array-mode):
7359 * net/eudc.el (eudc-mode): Use define-derived-mode.
7360 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7361 Move initialization into declaration.
7362 (mairix-searches-mode): Use define-derived-mode.
7363 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7364 (eudc-edit-hotlist): Use dolist.
7365 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7366 (Man-mode): Use define-derived-mode.
7367 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7368 (Info-edit-mode): Use define-derived-mode.
7369 (Info-cease-edit): Use Info-mode.
7370 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7371 into declaration.
7372 (eshell-mode): Use define-derived-mode.
7373 * chistory.el (command-history-mode-map): Rename from
7374 command-history-map.
7375 (command-history-mode): Use define-derived-mode.
7376 (Command-history-setup): Remove function.
7377 * calc/calc.el (calc-trail-mode-map): New var.
7378 (calc-trail-mode): Use define-derived-mode.
7379 (calc-trail-buffer): Set calc-main-buffer manually.
7380 * bookmark.el (bookmark-insert-annotation): New function.
7381 (bookmark-edit-annotation): Use it.
7382 (bookmark-edit-annotation-mode): Make it a proper major mode.
7383 (bookmark-send-edited-annotation): Use derived-mode-p.
7384 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7385 closer to its ideal place. Use \' to match EOS.
7386
7387 * profiler.el (profiler-calltree-find): Use function-equal.
7388
7389 2013-09-10 Glenn Morris <rgm@gnu.org>
7390
7391 * files.el (interpreter-mode-alist): Convert to regexps.
7392 (set-auto-mode): Adapt for this. (Bug#15306)
7393 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7394 Comment out unused variable.
7395 * progmodes/cc-mode.el (interpreter-mode-alist):
7396 * progmodes/python.el (interpreter-mode-alist):
7397 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7398 * progmodes/sh-script.el (sh-set-shell):
7399 No longer use interpreter-mode-alist to get list of shells.
7400
7401 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7402
7403 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * simple.el: Use set-temporary-overlay-map for universal-argument.
7406 (universal-argument-map): Don't use default-bindings (bug#15317).
7407 Bind switch-frame explicitly. Replace universal-argument-minus with
7408 a conditional binding.
7409 (universal-argument-num-events, saved-overriding-map): Remove.
7410 (restore-overriding-map): Remove.
7411 (universal-argument--mode): Rename from save&set-overriding-map,
7412 and rewrite.
7413 (universal-argument, universal-argument-more, negative-argument)
7414 (digit-argument): Adjust accordingly.
7415 (universal-argument-minus): Remove.
7416 (universal-argument-other-key): Remove.
7417
7418 * subr.el (with-demoted-errors): Add `format' argument.
7419
7420 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7421
7422 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7423 `tramp-cleanup-connection'.
7424
7425 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7426 parameters KEEP-DEBUG and KEEP-PASSWORD.
7427
7428 * net/tramp.el (tramp-file-name-handler):
7429 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7430 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7431 (tramp-maybe-open-connection):
7432 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7433 Use `tramp-cleanup-connection'.
7434
7435 * net/tramp-sh.el (tramp-maybe-open-connection):
7436 Catch 'uname-changed inside the progress reporter.
7437
7438 2013-09-10 Glenn Morris <rgm@gnu.org>
7439
7440 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7441
7442 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7443 returns "alternate access method" in mode (eg "-rw-r--r--.").
7444
7445 2013-09-08 Glenn Morris <rgm@gnu.org>
7446
7447 * saveplace.el (load-save-place-alist-from-file):
7448 Demote errors. (Bug#15305)
7449
7450 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7451
7452 Improve compatibility with older Emacsen, and XEmacs.
7453
7454 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7455 only if it is bound. It isn't for XEmacs.
7456 (with-tramp-progress-reporter): Do not let-bind `result'.
7457 This yields to scoping errors in XEmacs.
7458 (tramp-handle-make-auto-save-file-name): New function, moved from
7459 tramp-sh.el.
7460
7461 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7462 for `make-auto-save-file-name'.
7463 (tramp-adb--gnu-switches-to-ash):
7464 Use `tramp-compat-replace-regexp-in-string'.
7465
7466 * net/tramp-cache.el (tramp-cache-print): Call
7467 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7468
7469 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7470 bound. It isn't for XEmacs.
7471
7472 * net/tramp-compat.el (tramp-compat-copy-file):
7473 Catch `wrong-number-of-arguments' error.
7474 (tramp-compat-replace-regexp-in-string): New defun.
7475
7476 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7477 for `make-auto-save-file-name'.
7478 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7479 `copy-file'.
7480 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7481 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7482 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7483
7484 * net/tramp-gw.el (tramp-gw-open-network-stream):
7485 Use `tramp-compat-replace-regexp-in-string'.
7486
7487 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7488 Call `tramp-handle-make-auto-save-file-name'.
7489 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7490 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7491 (tramp-sh-file-inotifywait-process-filter):
7492 Use `tramp-compat-replace-regexp-in-string'.
7493 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7494
7495 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7496 for `make-auto-save-file-name'.
7497 (tramp-smb-handle-copy-directory):
7498 Call `tramp-compat-replace-regexp-in-string'.
7499 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7500 (tramp-smb-handle-copy-file): Improve error message.
7501 (tramp-smb-handle-rename-file): Rename directly only in case
7502 `newname' does not exist yet. This is a restriction of smbclient.
7503 (tramp-smb-maybe-open-connection): Rerun the function only when
7504 `auth-sources' is non-nil.
7505
7506 2013-09-08 Kenichi Handa <handa@gnu.org>
7507
7508 * international/characters.el: Set category "^" (Combining) for
7509 more characters.
7510
7511 2013-09-07 Alan Mackenzie <acm@muc.de>
7512
7513 Correctly fontify Java class constructors.
7514 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7515 in Java Mode.
7516 (c-recognize-typeless-decls): Set the Java value to t.
7517 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7518 While handling a "(", add a check for, effectively, Java, and handle a
7519 "typeless" declaration there.
7520
7521 2013-09-07 Roland Winkler <winkler@gnu.org>
7522
7523 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7524 field subtitle for entry type book.
7525
7526 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * minibuffer.el: Make minibuffer-complete call completion-in-region
7529 rather than other way around.
7530 (completion--some, completion-pcm--find-all-completions):
7531 Don't delay signals when debugging.
7532 (minibuffer-completion-contents): Beware fields within the
7533 minibuffer contents.
7534 (completion-all-sorted-completions): Use defvar-local.
7535 (completion--do-completion, completion--cache-all-sorted-completions)
7536 (completion-all-sorted-completions, minibuffer-force-complete):
7537 Add args `beg' and `end'.
7538 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7539 (minibuffer-complete): Use completion-in-region.
7540 (completion-complete-and-exit): New fun, extracted from
7541 minibuffer-complete-and-exit.
7542 (minibuffer-complete-and-exit): Use it.
7543 (completion--complete-and-exit): Rename from
7544 minibuffer--complete-and-exit.
7545 (completion-in-region--single-word): New function, extracted from
7546 minibuffer-complete-word.
7547 (minibuffer-complete-word): Use it.
7548 (display-completion-list): Make `common-substring' argument obsolete.
7549 (completion--in-region): Call completion--in-region-1 instead of
7550 minibuffer-complete.
7551 (completion-help-at-point): Pass boundaries to
7552 minibuffer-completion-help as args rather than via an overlay.
7553 (completion-pcm--string->pattern): Use `any-delim'.
7554 (completion-pcm--optimize-pattern): New function.
7555 (completion-pcm--pattern->regex): Handle `any-delim'.
7556 * icomplete.el (icomplete-forward-completions)
7557 (icomplete-backward-completions, icomplete-completions):
7558 Adjust calls to completion-all-sorted-completions and
7559 completion--cache-all-sorted-completions.
7560 (icomplete-with-completion-tables): Default to t.
7561 * emacs-lisp/crm.el (crm--current-element): Rename from
7562 crm--select-current-element. Don't put an overlay but return the
7563 boundaries instead.
7564 (crm--completion-command): Take two new args to bind to the boundaries.
7565 (crm-completion-help): Adjust accordingly.
7566 (crm-complete): Use completion-in-region.
7567 (crm-complete-word): Use completion-in-region--single-word.
7568 (crm-complete-and-exit): Use completion-complete-and-exit.
7569
7570 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7573 than dynamically.
7574
7575 2013-09-06 Juri Linkov <juri@jurta.org>
7576
7577 * info.el (Info-display-images-node): When image file doesn't exist
7578 display text version of the image if it's provided in the Info file.
7579 Otherwise, display the location of missing image from SRC attribute.
7580 Add help-echo text property from ALT attribute. (Bug#15279)
7581
7582 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7585 (edit-abbrevs-mode): Use define-derived-mode.
7586
7587 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7588 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7589 that it's defined.
7590 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7591 Use define-derived-mode.
7592
7593 * epg.el (epg-start-encrypt): Minor CSE simplification.
7594
7595 2013-09-06 William Xu <william.xwl@gmail.com>
7596
7597 * arc-mode.el: Add support for 7za (bug#15264).
7598 (archive-7z-program): New var.
7599 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7600 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7601 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7602
7603 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7604
7605 Remove URL syntax.
7606
7607 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7608 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7609 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7610 (tramp-postfix-host-format, tramp-file-name-regexp)
7611 (tramp-completion-file-name-regexp)
7612 (tramp-completion-dissect-file-name)
7613 (tramp-handle-substitute-in-file-name): Remove 'url case.
7614 (tramp-file-name-regexp-url)
7615 (tramp-completion-file-name-regexp-url): Remove constants.
7616
7617 2013-09-06 Glenn Morris <rgm@gnu.org>
7618
7619 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7620
7621 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7622
7623 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7624 keywords" below "here-doc beginnings" (Bug#15270).
7625
7626 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7627
7628 * subr.el (pop): Use `car-safe'.
7629 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7630 to detect unused `pop' return value.
7631
7632 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7633 var `block-regexp'.
7634 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7635 (python-fill-string): Remove unused var `marker'.
7636 (python-skeleton-add-menu-items): Remove unused var `items'.
7637
7638 * international/mule-cmds.el: Require CL.
7639 (find-coding-systems-for-charsets): Avoid add-to-list.
7640 (sanitize-coding-system-list): New function, extracted from
7641 select-safe-coding-system-interactively.
7642 (select-safe-coding-system-interactively): Use it.
7643 (read-input-method-name): Accept symbols for `default'.
7644
7645 * emacs-lisp/advice.el (defadvice): Add indent rule.
7646
7647 2013-09-05 Daniel Hackney <dan@haxney.org>
7648
7649 * dired-x.el:
7650 * net/ange-ftp.el:
7651 * net/browse-url.el:
7652 * net/dbus.el:
7653 * net/eudc.el:
7654 * net/eudcb-ldap.el:
7655 * net/eww.el:
7656 * net/imap.el:
7657 * printing.el:
7658 * vc/ediff-diff.el:
7659 * vc/ediff-init.el:
7660 * vc/ediff-merg.el:
7661 * vc/ediff-mult.el:
7662 * vc/ediff-util.el:
7663 * vc/ediff-wind.el:
7664 * vc/ediff.el:
7665 * vc/emerge.el:
7666 * vc/pcvs.el:
7667 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7668 byte compiler. Remove some unused let-bound variables.
7669
7670 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7671
7672 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7673 a "ref-cell", since it gets better optimized (bug#14883).
7674
7675 2013-09-05 Glenn Morris <rgm@gnu.org>
7676
7677 * progmodes/cc-awk.el (c-forward-sws): Declare.
7678
7679 2013-09-04 Glenn Morris <rgm@gnu.org>
7680
7681 * generic-x.el [rul-generic-mode]: Require cc-mode.
7682 (c++-mode-syntax-table): Declare.
7683 (rul-generic-mode-syntax-table): Init in the defvar.
7684
7685 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7688 (vc-do-command, vc-set-async-update):
7689 * vc/vc-mtn.el (vc-mtn-dir-status):
7690 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7691 (vc-hg-pull, vc-hg-merge-branch):
7692 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7693 (vc-git-merge-branch):
7694 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7695 (vc-cvs-dir-status-files):
7696 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7697 (vc-bzr-dir-status-files):
7698 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7699 * vc/vc-annotate.el: Use lexical-binding.
7700 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7701 (vc-sentinel-movepoint): Declare.
7702 (vc-annotate): Don't use `goto-line'.
7703 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7704 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7705 (vc-sentinel-movepoint): Declare.
7706 * vc/vc-svn.el: Use lexical-binding.
7707 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7708 * vc/vc-sccs.el:
7709 * vc/vc-rcs.el: Use lexical-binding.
7710
7711 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7712 `deleted'. Don't drop errors silently.
7713
7714 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7715
7716 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7717
7718 * vc/vc.el (vc-ignore): Rewrite.
7719 (vc-default-ignore): New function.
7720 (vc-default-ignore-completion-table): Use find-ignore-file.
7721
7722 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7723 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7724 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7725 Remove. Most code moved to vc.el.
7726
7727 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7728
7729 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7730 * net/tramp-smb.el (tramp-smb-get-file-entries):
7731 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7732 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7733
7734 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7735 Update call to it.
7736 (eww-change-select): Remove unused var `properties'.
7737 (eww-make-unique-file-name): Remove unused var `base'.
7738
7739 * finder.el (finder-compile-keywords): Don't mess with windows.
7740
7741 * calculator.el (calculator-funcall): Fix typo in last change.
7742
7743 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7744
7745 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7746 <pkg>-autoloads.el file stop us.
7747
7748 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7749 warnings, and factor out common code.
7750
7751 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7752
7753 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7754 two-character operators and whether the character preceding them
7755 changes their meaning (Bug#15208).
7756
7757 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7758
7759 Format code sent to Python shell for robustness.
7760 * progmodes/python.el (python-shell-buffer-substring):
7761 New function.
7762 (python-shell-send-region, python-shell-send-buffer): Use it.
7763
7764 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7765
7766 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7767 * net/tramp.el (tramp-user-error): ... here.
7768 (tramp-find-method, tramp-check-proper-host)
7769 (tramp-dissect-file-name, tramp-debug-message)
7770 (tramp-handle-shell-command):
7771 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7772 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7773
7774 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7775
7776 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7777
7778 * avoid.el (mouse-avoidance-point-position)
7779 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7780 returns nil.
7781
7782 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7783
7784 * progmodes/python.el (python-shell-completion-get-completions):
7785 Drop use of deleted `comint-last-prompt-overlay'.
7786 (python-nav-if-name-main): New command.
7787
7788 2013-09-01 Glenn Morris <rgm@gnu.org>
7789
7790 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7791 Avoid leading space in $wins. Otherwise the sed command used by
7792 eg compile-main ends up containing "/*.el". (Bug#15170)
7793
7794 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7795
7796 2013-08-30 Glenn Morris <rgm@gnu.org>
7797
7798 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7799 Fix is-this-a-directory logic. (Bug#15220)
7800
7801 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7802
7803 * textmodes/css-mode.el: Use SMIE.
7804 (css-smie-grammar): New var.
7805 (css-smie--forward-token, css-smie--backward-token)
7806 (css-smie-rules): New functions.
7807 (css-mode): Use them.
7808 (css-navigation-syntax-table): Remove var.
7809 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7810 (css-indent-calculate, css-indent-line): Remove functions.
7811
7812 Misc changes to reduce use of `(lambda...); and other cleanups.
7813 * cus-edit.el: Use lexical-binding.
7814 (customize-push-and-save, customize-apropos)
7815 (custom-buffer-create-internal): Use closures.
7816 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7817 * progmodes/ada-xref.el: Use setq.
7818 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7819 * dframe.el: Use lexical-binding.
7820 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7821 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7822 * descr-text.el: Use lexical-binding.
7823 (describe-text-widget, describe-text-sexp, describe-property-list):
7824 Use closures.
7825 * comint.el (comint-history-isearch-push-state): Use a closure.
7826 * calculator.el: Use lexical-binding.
7827 (calculator-number-to-string): Make it work with lexical-binding.
7828 (calculator-funcall): Same and use cl-letf.
7829
7830 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7831 (lisp--company-doc-string, lisp--company-location): New functions.
7832 (lisp-completion-at-point): Use them to improve Company support.
7833
7834 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7835 params of lambda expressions.
7836 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7837 (ruby-smie--opening-pipe-p): New function.
7838 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7839 symbols and matched |...| for formal params.
7840 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7841 from being treated as hanging. Handle "rescue".
7842
7843 2013-08-29 Glenn Morris <rgm@gnu.org>
7844
7845 * progmodes/cc-engine.el (c-pull-open-brace):
7846 Move definition before use.
7847
7848 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7849
7850 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7851 are immutable. Don't use `unsafe' any more.
7852 (cl--defsubst-expand): Don't substitute at the same time as keeping
7853 a residual unused let-binding. Don't use `unsafe' any more.
7854
7855 2013-08-29 Glenn Morris <rgm@gnu.org>
7856
7857 * calendar/cal-china.el (calendar-chinese-year-cache):
7858 Recenter on 2015.
7859
7860 * nxml/nxml-util.el (nxml-debug-clear-inside):
7861 Use cl-loop rather than loop.
7862
7863 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7864
7865 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7866
7867 2013-08-28 Glenn Morris <rgm@gnu.org>
7868
7869 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7870
7871 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7872
7873 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7874
7875 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * simple.el (repeat-complex-command--called-interactively-skip):
7878 New function.
7879 (repeat-complex-command): Use it (bug#14136).
7880
7881 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7882 (c-define-abbrev-table): Add `doc' argument.
7883 (c-mode-abbrev-table, c++-mode-abbrev-table)
7884 (objc-mode-abbrev-table, java-mode-abbrev-table)
7885 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7886 (awk-mode-abbrev-table): Use it.
7887 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7888 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7889 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7890 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7891 Move initialization into the declaration; and remove any
7892 autoload cookie.
7893
7894 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7895 and dynamic let binding.
7896
7897 * vc/smerge-mode.el: Remove redundant :group args.
7898
7899 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7900 to load-path.
7901
7902 2013-08-28 Juri Linkov <juri@jurta.org>
7903
7904 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7905 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7906 (isearch-other-meta-char): Handle an undefined shifted printing
7907 character by downshifting it. (Bug#15200)
7908
7909 2013-08-28 Juri Linkov <juri@jurta.org>
7910
7911 * isearch.el (isearch-search): Change regexp error message for
7912 non-regexp searches. (Bug#15166)
7913
7914 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7915
7916 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7917 for portability to hosts where /bin/sh has problems.
7918
7919 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7922
7923 2013-08-27 Juri Linkov <juri@jurta.org>
7924
7925 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7926 in the keyboard macro. (Bug#15126)
7927
7928 2013-08-27 Juri Linkov <juri@jurta.org>
7929
7930 * isearch.el (isearch-quote-char): Comment out converting unibyte
7931 to multibyte, thus syncing with its `quoted-insert' counterpart.
7932 (Bug#15166)
7933
7934 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7935
7936 * window.el (display-buffer-use-some-window): Add missing
7937 argument in call of get-largest-window (Bug#15185).
7938 Reported by Stephen Leake.
7939
7940 2013-08-27 Glenn Morris <rgm@gnu.org>
7941
7942 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7943
7944 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7945
7946 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7947 from a matcher-function unless there's no more matches (bug#15161).
7948
7949 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7950
7951 * minibuffer.el: Revert change from 2013-08-20.
7952
7953 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7954 with text property `tramp-default', if appropriate.
7955 (tramp-check-proper-host): New defun.
7956 (tramp-dissect-file-name): Do not check hostname. Revert change
7957 of 2013-03-18.
7958 (tramp-backtrace): Make VEC-OR-PROC optional.
7959
7960 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7961 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7962 * net/tramp-sh.el (tramp-maybe-open-connection):
7963 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7964 Apply `tramp-check-proper-host'.
7965
7966 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7967
7968 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7969 lambda expression in order to have `describe-variable' display it.
7970
7971 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7972
7973 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7974 BUF can be optional. (Bug#15186)
7975
7976 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7977
7978 * progmodes/flymake.el (flymake-get-real-file-name-function):
7979 Fix broken customization. (Bug#15184)
7980
7981 2013-08-25 Alan Mackenzie <acm@muc.de>
7982
7983 Improve indentation of bracelists defined by macros (without "=").
7984
7985 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7986 expansion begins with "{", regard it as bracelist when it doesn't
7987 contain a ";".
7988
7989 Parse C++ inher-intro when there's a template split over 2 lines.
7990
7991 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7992 rigorously the search for "class" etc. followed by ":".
7993
7994 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7995 random languages a regexp which never matches rather than nil.
7996
7997 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7998
7999 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8000 (c-awk-regexp-one-line-possibly-open-char-list-re)
8001 (c-awk-one-line-possibly-open-regexp-re)
8002 (c-awk-one-line-non-syn-ws*-re): Remove.
8003 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8004 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8005 (c-awk-space*-unclosed-regexp-/-re): New constants.
8006 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8007 aren't regexp delimiters.
8008
8009 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8010 handling for a rare situation in AWK Mode involving unterminated
8011 strings/regexps.
8012
8013 2013-08-23 Glenn Morris <rgm@gnu.org>
8014
8015 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8016
8017 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8018
8019 * files.el (create-file-buffer): If the result would begin with
8020 spaces, prepend a "|" instead of removing them. (Bug#15162)
8021
8022 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8023
8024 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8025 text-properties (bug#15155).
8026
8027 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8028 exist any more.
8029 (calc-keypad-redraw): Remove unused var `pad'.
8030 (calc-keypad-press): Remove unused var `menu'.
8031
8032 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8033
8034 * window.el (display-buffer-pop-up-frame):
8035 Call pop-up-frame-function with BUFFER current so `make-frame' will
8036 use it as the new frame's buffer (Bug#15133).
8037
8038 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8039
8040 * calendar/timeclock.el: Minor cleanups.
8041 (timeclock-ask-before-exiting, timeclock-use-display-time):
8042 Use `symbol'.
8043 (timeclock-modeline-display): Define as alias before the
8044 actual definition.
8045 (timeclock-mode-line-display): Use define-minor-mode.
8046 (timeclock-day-list-template): Make it a function, add an argument.
8047 (timeclock-day-list-required, timeclock-day-list-length)
8048 (timeclock-day-list-debt, timeclock-day-list-span)
8049 (timeclock-day-list-break): Adjust calls accordingly.
8050
8051 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8054 Use read--expression so that completion works again.
8055
8056 2013-08-21 Sam Steingold <sds@gnu.org>
8057
8058 Add rudimentary inferior shell interaction
8059 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8060 (sh-set-shell): Reset it.
8061 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8062 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8063
8064 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8065
8066 * align.el: Use lexical-binding.
8067 (align-region): Simplify accordingly.
8068
8069 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8070
8071 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8072
8073 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8074 `non-essential' up.
8075
8076 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8077
8078 * net/tramp.el:
8079 * net/tramp-adb.el:
8080 * net/tramp-cmds.el:
8081 * net/tramp-ftp.el:
8082 * net/tramp-gvfs.el:
8083 * net/tramp-gw.el:
8084 * net/tramp-sh.el: Don't wrap external variable declarations by
8085 `eval-when-compile'.
8086
8087 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8088
8089 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8090 now that Emacs supports ImageMagick animations.
8091
8092 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8093
8094 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8095 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8096
8097 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8098
8099 * window.el (mouse-autoselect-window-select): Do autoselect when
8100 mouse pointer is on margin.
8101
8102 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8103
8104 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8105
8106 2013-08-16 Glenn Morris <rgm@gnu.org>
8107
8108 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8109 Handle "Remote Directory" response of some clients. (Bug#15058)
8110
8111 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8112 Tweak warning. (Bug#14926)
8113
8114 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8115 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8116
8117 * image-mode.el (image-mode-map): Add menu items to reverse,
8118 increase, decrease, reset animation speed.
8119 (image--set-speed, image-increase-speed, image-decrease-speed)
8120 (image-reverse-speed, image-reset-speed): New functions.
8121 (image-mode-map): Add bindings for speed commands.
8122
8123 * image.el (image-animate-get-speed, image-animate-set-speed):
8124 New functions.
8125 (image-animate-timeout): Respect image :speed property.
8126
8127 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8130 previous line (bug#15101).
8131 (debugger-eval-expression, debugger-record-expression):
8132 Use read--expression (bug#15102).
8133
8134 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8135
8136 Remove byte compiler warnings, visible when compiling with
8137 `byte-compile-force-lexical-warnings' set to t.
8138
8139 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8140 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8141 (tramp-handle-unhandled-file-name-directory)
8142 (tramp-handle-file-notify-add-watch, tramp-action-login)
8143 (tramp-action-succeed, tramp-action-permission-denied)
8144 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8145 arguments with "_".
8146
8147 * net/tramp-adb.el (tramp-adb-parse-device-names)
8148 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8149 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8150 (tramp-adb-handle-file-truename): Remove unused arguments.
8151
8152 * net/tramp-cache.el (tramp-flush-directory-property)
8153 (tramp-flush-connection-property, tramp-list-connections)
8154 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8155
8156 * net/tramp-compat.el (tramp-compat-make-temp-file):
8157 Rename FILENAME to F.
8158
8159 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8160 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8161 (tramp-zeroconf-parse-workstation-device-names)
8162 (tramp-zeroconf-parse-webdav-device-names)
8163 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8164
8165 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8166 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8167
8168 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8169 arguments.
8170 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8171 (tramp-sh-handle-insert-file-contents-literally)
8172 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8173 with "_".
8174 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8175 Remove unused variables.
8176
8177 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8178 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8179 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8180
8181 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8182 Make them a defconst.
8183 (tramp-uuencode-region): Remove unused variable.
8184
8185 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8186
8187 * frameset.el (frameset--prop-setter): New function.
8188 (frameset-prop): Add gv-setter declaration.
8189 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8190 parameter was already set in FILTERED. Doc fix.
8191 (frameset--record-minibuffer-relationships): Allow saving a
8192 minibufferless frame without its corresponding minibuffer frame.
8193 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8194 frame, if the frame id matches.
8195 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8196 frames before orphaned ones.
8197 (frameset-restore): Warn about orphaned windows, instead of error out.
8198
8199 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8200
8201 * window.el (window-make-atom): Don't overwrite parameter
8202 already present.
8203 (display-buffer-in-atom-window): Handle special case where we
8204 split an already atomic window.
8205 (window--major-non-side-window, display-buffer-in-side-window)
8206 (window--side-check): Ignore minibuffer window when walking
8207 window tree.
8208 (window-deletable-p): Return 'frame only if no other frame uses
8209 our minibuffer window.
8210 (record-window-buffer): Run buffer-list-update-hook.
8211 (split-window): Make sure window--check-frame won't destroy an
8212 existing atomic window in case the new window gets nested
8213 inside.
8214 (display-buffer-at-bottom): Ignore minibuffer window when
8215 walking window tree. Don't split a side window.
8216 (pop-to-buffer): Don't set-buffer here, the select-window call
8217 should do that.
8218 (mouse-autoselect-window-select): Autoselect only if we are in the
8219 text portion of the window.
8220
8221 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8222
8223 * net/shr.el (shr-parse-image-data): New function to grab both the
8224 data itself and the Content-Type.
8225 (shr-put-image): Use it.
8226
8227 * net/eww.el (eww-display-image): Ditto.
8228
8229 * image.el (image-content-type-suffixes): New variable.
8230
8231 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8232
8233 * progmodes/python.el (python-imenu--build-tree)
8234 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8235
8236 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8237
8238 * simple.el (backward-word): Mention the optional argument.
8239
8240 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8241
8242 * frameset.el (frameset--make): Rename constructor from make-frameset.
8243 (frameset-p, frameset-valid-p): Don't autoload.
8244 (frameset-valid-p): Use normal accessors.
8245
8246 2013-08-13 Glenn Morris <rgm@gnu.org>
8247
8248 * progmodes/compile.el (compile-command): Tweak example in doc.
8249 * obsolete/scribe.el (scribe-mode):
8250 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
8251
8252 * mail/feedmail.el (feedmail-confirm-outgoing)
8253 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
8254
8255 * cus-start.el (truncate-partial-width-windows): Fix type.
8256
8257 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
8258
8259 * net/shr.el (shr-table-horizontal-line): Fix custom type.
8260
8261 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 * emacs-lisp/timer.el (timer--time-setter): New function.
8264 (timer--time): Use it as gv-setter.
8265
8266 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
8267 setter is not a symbol.
8268
8269 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
8270
8271 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
8272 if sending fails. This makes debugging easier.
8273
8274 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8275
8276 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8277 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8278 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8279
8280 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8281
8282 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8283
8284 2013-08-12 Glenn Morris <rgm@gnu.org>
8285
8286 * format.el (format-annotate-function):
8287 Handle read-only text properties in the source. (Bug#14887)
8288
8289 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8290
8291 * net/eww.el (eww-display-html): Ignore coding system errors.
8292 One web site uses "utf-8lias" as the coding system.
8293
8294 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8295
8296 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8297
8298 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8299
8300 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8301 (tutorial--detailed-help): Remove unused local variables.
8302 (tutorial--save-tutorial-to): Use ignore-errors.
8303 (help-with-tutorial): Use looking-at-p.
8304
8305 * view.el (view-buffer-other-window, view-buffer-other-frame):
8306 Mark unused arguments.
8307
8308 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8309 (woman-select-symbol-fonts, woman, woman-find-file)
8310 (woman-insert-file-contents, woman-non-underline-faces):
8311 Use string-match-p.
8312 (woman1-unquote): Move declaration.
8313
8314 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8315 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8316 argument. Remove unused local variable.
8317 (xml-parse-elem-type): Use string-match-p.
8318 (xml-substitute-numeric-entities): Use ignore-errors.
8319
8320 * calculator.el (calculator): Mark unused argument.
8321 (calculator-paste, calculator-quit, calculator-integer-p):
8322 Use ignore-errors.
8323 (calculator-string-to-number, calculator-decimal, calculator-exp)
8324 (calculator-op-or-exp): Use string-match-p.
8325
8326 * dired.el (dired-buffer-more-recently-used-p): Declare.
8327 (dired-insert-set-properties, dired-insert-old-subdirs):
8328 Use ignore-errors.
8329
8330 * dired-aux.el (dired-compress): Use ignore-errors.
8331 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8332 (dired-do-async-shell-command, dired-do-shell-command)
8333 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8334 (dired-insert-subdir-validate): Use string-match-p.
8335 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8336 (dired-add-entry): Use string-match-p, looking-at-p.
8337 (dired-insert-subdir-newpos): Remove unused local variable.
8338
8339 * filenotify.el (file-notify-callback): Remove unused local variable.
8340
8341 * filesets.el (filesets-error): Mark unused argument.
8342 (filesets-which-command-p, filesets-filter-dir-names)
8343 (filesets-directory-files, filesets-get-external-viewer)
8344 (filesets-ingroup-get-data): Use string-match-p.
8345
8346 * find-file.el (ff-other-file-name, ff-other-file-name)
8347 (ff-find-the-other-file, ff-cc-hh-converter):
8348 Remove unused local variables.
8349 (ff-get-file-name): Use string-match-p.
8350 (ff-all-dirs-under): Use ignore-errors.
8351
8352 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8353 (follow-select-if-visible): Remove unused local variable.
8354
8355 * forms.el (read-file-filter): Move declaration.
8356 (forms--make-format, forms--make-parser, forms-insert-record):
8357 Quote function with #'.
8358 (forms--update): Use string-match-p. Quote function with #'.
8359
8360 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8361 (help-make-xrefs): Use looking-at-p.
8362 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8363
8364 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8365 (ibuffer-confirm-operation-on): Use string-match-p.
8366
8367 * msb.el (msb-item-handler, msb-dired-item-handler):
8368 Mark unused arguments.
8369
8370 * ses.el (ses-decode-cell-symbol)
8371 (ses-kill-override): Remove unused local variable.
8372 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8373 (ses-load): Use ignore-errors, looking-at-p.
8374 (ses-jump-safe): Use ignore-errors.
8375 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8376
8377 * tabify.el (untabify, tabify): Mark unused arguments.
8378
8379 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8380 Mark unused argument.
8381 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8382 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8383
8384 * emacs-lisp/timer.el (timer--time): Define setter with
8385 gv-define-setter to avoid deprecation warning.
8386
8387 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8388 (*record-cmpl-statistics-p*): Remove (was commented out).
8389 (cmpl-statistics-block): Remove (body was commented out).
8390 All callers changed.
8391 (add-completions-from-buffer, load-completions-from-file):
8392 Remove unused variables.
8393
8394 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8395
8396 * filecache.el (file-cache-delete-file-list):
8397 Print message only when told so.
8398 (file-cache-files-matching): Use #' in mapconcat argument.
8399
8400 * ffap.el (ffap-url-at-point): Fix reference to variable
8401 thing-at-point-default-mail-uri-scheme.
8402
8403 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * subr.el (define-error): New function.
8406 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8407 error-file-not-found and define with define-error.
8408 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8409 and define with define-error.
8410 * userlock.el (file-locked, file-supersession):
8411 * simple.el (mark-inactive):
8412 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8413 * progmodes/ada-mode.el (ada-mode-errors):
8414 * play/life.el (life-extinct):
8415 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8416 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8417 * nxml/rng-util.el (rng-error):
8418 * nxml/rng-uri.el (rng-uri-error):
8419 * nxml/rng-match.el (rng-compile-error):
8420 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8421 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8422 * nxml/nxml-rap.el (nxml-scan-error):
8423 * nxml/nxml-outln.el (nxml-outline-error):
8424 * net/soap-client.el (soap-error):
8425 * net/gnutls.el (gnutls-error):
8426 * net/ange-ftp.el (ftp-error):
8427 * mpc.el (mpc-proc-error):
8428 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8429 (json-number-format, json-string-escape, json-string-format)
8430 (json-key-format, json-object-format):
8431 * jka-compr.el (compression-error):
8432 * international/quail.el (quail-error):
8433 * international/kkc.el (kkc-error):
8434 * emacs-lisp/ert.el (ert-test-failed):
8435 * calc/calc.el (calc-error, inexact-result, math-overflow)
8436 (math-underflow):
8437 * bookmark.el (bookmark-error-no-filename):
8438 * epg.el (epg-error): Define with define-error.
8439
8440 * time.el (display-time-event-handler)
8441 (display-time-next-load-average): Don't call sit-for since it seems
8442 unnecessary (bug#15045).
8443
8444 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8445 Use #' instead of ' to quote functions.
8446 (checkdoc-output-mode): Use setq-local.
8447 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8448 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8449 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8450 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8451 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8452 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8453 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8454 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8455
8456 * ido.el (ido-completion-help): Fix up compiler warning.
8457
8458 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8459
8460 * frameset.el (frameset-p): Add autoload cookie.
8461 (frameset--jump-to-register): New function, based on code moved from
8462 register.el.
8463 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8464
8465 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8466 (frameset-restore, frameset-save, frameset-session-filter-alist):
8467 Remove declarations.
8468 (register-alist): Doc fix.
8469 (frameset-to-register): Move to frameset.el.
8470 (jump-to-register, describe-register-1): Remove frameset-specific code.
8471
8472 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8473
8474 * allout-widgets.el (allout-widgets-pre-command-business)
8475 (allout-widgets-post-command-business)
8476 (allout-widgets-after-change-handler)
8477 (allout-decorate-item-and-context, allout-set-boundary-marker)
8478 (allout-body-modification-handler)
8479 (allout-graphics-modification-handler): Mark ignored arguments.
8480 (allout-widgets-post-command-business)
8481 (allout-widgets-exposure-change-processor)
8482 (allout-widgets-exposure-undo-processor)
8483 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8484 (allout-parse-item-at-point, allout-decorate-item-guides)
8485 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8486 * allout.el (epa-passphrase-callback-function): Declare.
8487 (allout-overlay-insert-in-front-handler)
8488 (allout-overlay-interior-modification-handler)
8489 (allout-isearch-end-handler, allout-chart-siblings)
8490 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8491 (allout-yank-processing, allout-process-exposed)
8492 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8493 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8494 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8495 (lisp-indent-defform): Mark ignored arguments.
8496 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8497 (calculate-lisp-indent): Remove unused variables.
8498 * international/characters.el (indian-2-column, arabic-2-column)
8499 (tibetan): Mark ignored arguments.
8500 (use-cjk-char-width-table): Mark ignored arguments.
8501 Remove unused variables.
8502 * international/fontset.el (build-default-fontset-data)
8503 (x-compose-font-name, create-fontset-from-fontset-spec):
8504 Mark ignored arguments.
8505 (fontset-plain-name): Remove unused variables.
8506 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8507 (keyboard-coding-system): Mark ignored arguments.
8508 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8509 * help.el (resize-temp-buffer-window):
8510 * window.el (display-buffer-in-major-side-window)
8511 (display-buffer-in-side-window, display-buffer-in-previous-window):
8512 Remove unused variables.
8513 * isearch.el (isearch-forward-symbol):
8514 * version.el (emacs-bzr-version-bzr):
8515 * international/mule-cmds.el (current-language-environment):
8516 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8517 (x-handle-display):
8518 * term/pc-win.el (x-list-fonts, x-display-planes)
8519 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8520 (x-server-version, x-display-screens, x-display-mm-height)
8521 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8522 (x-selection-owner-p, x-own-selection-internal)
8523 (x-disown-selection-internal, x-get-selection-internal)
8524 (msdos-initialize-window-system):
8525 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8526 * term/x-win.el (x-handle-no-bitmap-icon):
8527 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8528 (vc-default-find-file-hook, vc-default-extra-menu):
8529 Mark ignored arguments.
8530
8531 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8532
8533 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8534 break-condition in the context of the debugged code (bug#12685).
8535
8536 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8537
8538 * comint.el:
8539 Do not use an overlay to highlight the last prompt. (Bug#14744)
8540 (comint-mode): Make comint-last-prompt buffer local.
8541 (comint-last-prompt): New variable.
8542 (comint-last-prompt-overlay): Remove. Superseded by
8543 comint-last-prompt.
8544 (comint-snapshot-last-prompt, comint-output-filter):
8545 Use comint-last-prompt.
8546
8547 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8548
8549 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8550 (frameset-save): Check validity of the resulting frameset.
8551
8552 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8553
8554 * ido.el (ido-record-command): Add doc string.
8555
8556 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * frameset.el (frameset): Do not disable creation of the default
8559 frameset-p predicate. Doc fix.
8560 (frameset-valid-p): New function, copied from the old predicate-p.
8561 Add additional checks.
8562 (frameset-restore): Check with frameset-valid-p.
8563 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8564 (frameset-name, frameset-description, frameset-properties)
8565 (frameset-states): Add docstring.
8566 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8567 (frameset-filter-alist): Doc fixes.
8568
8569 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8570
8571 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8572
8573 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8574
8575 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8576 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8577 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8578 (byte-compile-normal-call): Remove obsolescence check.
8579
8580 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8581
8582 * frameset.el (frameset-restore): Doc fix.
8583
8584 * register.el (frameset-frame-id, frameset-frame-with-id)
8585 (frameset-p, frameset-restore, frameset-save): Declare.
8586 (register-alist): Document framesets.
8587 (frameset-session-filter-alist): Declare.
8588 (frameset-to-register): New function.
8589 (jump-to-register): Implement jumping to framesets. Doc fix.
8590 (describe-register-1): Describe framesets.
8591
8592 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8593
8594 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8595
8596 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8597 Use lexical-binding.
8598
8599 * frameset.el (frameset): Use type vector, not list (incompatible
8600 change). Do not declare a new constructor, use the default one.
8601 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8602 `name' and `description', respectively, and add read-only slot
8603 `timestamp'. Doc fixes.
8604 (frameset-copy, frameset-persistent-filter-alist)
8605 (frameset-filter-alist, frameset-switch-to-gui-p)
8606 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8607 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8608 (frameset-filter-iconified, frameset-keep-original-display-p):
8609 Doc fixes.
8610 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8611 Rename from frameset-filter-(save|restore)-param. All callers changed.
8612 Doc fix.
8613 (frameset-p): Adapt to change to vector and be more thorough.
8614 Change arg name to OBJECT. Doc fix.
8615 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8616 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8617 All callers changed.
8618 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8619 All callers changed.
8620 (frameset--record-minibuffer-relationships): Rename from
8621 frameset--process-minibuffer-frames. All callers changed.
8622 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8623 Use new default constructor (again). Doc fix.
8624 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8625 All callers changed.
8626 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8627 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8628 Doc fix.
8629 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8630 PARAMETERS and WINDOW-STATE, respectively.
8631 (frameset-restore): Add new keyword argument PREDICATE.
8632 Reset frameset--target-display to nil. Doc fix.
8633
8634 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8637 (bat-mode): Use it.
8638 (bat-mode-syntax-table): Mark \n as end-of-comment.
8639 (bat-font-lock-keywords): Remove comment rule.
8640
8641 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8642 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8643
8644 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8645 (byte-compile-callargs-warn): Use `push'.
8646 (byte-compile-arglist-warn): Ignore higher-order "calls".
8647 (byte-compile-file-form-autoload): Use `pcase'.
8648 (byte-compile-function-form): If quoting a symbol, check that it exists.
8649
8650 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8651
8652 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8653 and add a few popular commands found in batch files.
8654 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8655 (dos-mode): Doc fixes.
8656
8657 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8658
8659 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8660 (dos-mode): Use setq-local. Add space after "rem".
8661 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8662 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8663
8664 2013-08-07 Arni Magnusson <arnima@hafro.is>
8665
8666 * progmodes/dos.el: New file.
8667 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8668 dos-mode.
8669
8670 2013-08-06 Glenn Morris <rgm@gnu.org>
8671
8672 * calendar/calendar.el: Add new faces, and day-header-array.
8673 (calendar-weekday-header, calendar-weekend-header)
8674 (calendar-month-header): New faces.
8675 (calendar-day-header-construct): New function.
8676 (calendar-day-header-width): Also :set calendar-day-header-array.
8677 (calendar-american-month-header, calendar-european-month-header)
8678 (calendar-iso-month-header): Use calendar- faces.
8679 (calendar-generate-month):
8680 Use calendar-day-header-array for day headers; apply faces to them.
8681 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8682 (calendar-abbrev-construct): Add optional maxlen argument.
8683 (calendar-day-name-array): Doc fix.
8684 (calendar-day-name-array, calendar-abbrev-length)
8685 (calendar-day-abbrev-array):
8686 Also :set calendar-day-header-array, and maybe redraw.
8687 (calendar-day-header-array): New option. (Bug#15007)
8688 (calendar-font-lock-keywords): Set to nil and make obsolete.
8689 (calendar-day-name): Add option to use header array.
8690
8691 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692
8693 * net/shr.el (shr-render-td): Remove debugging.
8694 (shr-render-td): Make width computation consistent by defaulting
8695 all zero-width columns to 10 characters. This may not be optimal,
8696 but it's at least consistent.
8697 (shr-make-table-1): Redo last change to fix the real problem in
8698 colspan handling.
8699
8700 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8701
8702 * files.el (cache-long-line-scans):
8703 Make obsolete alias to `cache-long-scans'.
8704
8705 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8706
8707 * frameset.el (frameset, frameset-filter-alist)
8708 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8709 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8710 (frameset-compute-pos): Rename from frameset--compute-pos,
8711 and add docstring.
8712 (frameset-move-onscreen): Use frameset-compute-pos.
8713 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8714
8715 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8716 Fix typos in docstrings.
8717
8718 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8719
8720 * frame.el (get-other-frame): Tiny cleanup.
8721
8722 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * vc/vc.el (vc-default-ignore-completion-table):
8725 Silence byte-compiler warning.
8726
8727 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8728 slot, which can indeed be nil.
8729 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8730 Move entry for `left' from persistent to live filter alist.
8731 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8732 Doc fixes.
8733 (frameset-filter-params): When restoring a frame, copy items added to
8734 `filtered', to avoid unwittingly modifying the original parameters.
8735 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8736 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8737
8738 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8739 to use looking-at-p instead of looking-at. (Bug#15028)
8740
8741 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8742
8743 Revert introduction of isearch-filter-predicates (bug#14714).
8744 Rely on add-function instead.
8745 * isearch.el (isearch-filter-predicates): Rename it back to
8746 isearch-filter-predicate.
8747 (isearch-message-prefix): Use advice-function-mapc and advice
8748 properties to get the isearch-message-prefix.
8749 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8750 instead of run-hook-with-args-until-failure.
8751 (isearch-filter-visible): Not obsolete any more.
8752 * loadup.el: Preload nadvice.
8753 * replace.el (perform-replace): Revert to funcall
8754 instead of run-hook-with-args-until-failure.
8755 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8756 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8757 dired-isearch-filenames-toggle; make it into a proper minor mode.
8758 Use add/remove-function.
8759 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8760 Call the minor-mode rather than add/remove-hook.
8761 (dired-isearch-filter-filenames):
8762 Remove isearch-message-prefix property.
8763 * info.el (Info--search-loop): New function, extracted from Info-search.
8764 Funcall isearch-filter-predicate instead of
8765 run-hook-with-args-until-failure isearch-filter-predicates.
8766 (Info-search): Use it.
8767 (Info-mode): Use isearch-filter-predicate instead of
8768 isearch-filter-predicates.
8769
8770 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8771
8772 Do not call to `selected-window' where it is assumed by default.
8773 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8774 `window-hscroll', `window-width', `window-height', `window-buffer',
8775 `window-frame', `window-start', `window-point', `next-window'
8776 and `window-display-table'.
8777 * abbrev.el (abbrev--default-expand):
8778 * bs.el (bs--show-with-configuration):
8779 * buff-menu.el (Buffer-menu-mouse-select):
8780 * calc/calc.el (calc):
8781 * calendar/calendar.el (calendar-generate-window):
8782 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8783 (diary-make-entry):
8784 * comint.el (send-invisible, comint-dynamic-complete-filename)
8785 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8786 * completion.el (complete):
8787 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8788 * disp-table.el (describe-current-display-table):
8789 * doc-view.el (doc-view-insert-image):
8790 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8791 * ehelp.el (with-electric-help):
8792 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8793 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8794 * emacs-lisp/helper.el (Helper-help-scroller):
8795 * emulation/cua-base.el (cua--post-command-handler-1):
8796 * eshell/esh-mode.el (eshell-output-filter):
8797 * ffap.el (ffap-gnus-wrapper):
8798 * help-macro.el (make-help-screen):
8799 * hilit-chg.el (highlight-compare-buffers):
8800 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8801 * hl-line.el (global-hl-line-highlight):
8802 * icomplete.el (icomplete-simple-completing-p):
8803 * isearch.el (isearch-done):
8804 * jit-lock.el (jit-lock-stealth-fontify):
8805 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8806 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8807 * mpc.el (mpc-tagbrowser, mpc):
8808 * net/rcirc.el (rcirc-any-buffer):
8809 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8810 * play/landmark.el (landmark-max-width, landmark-max-height):
8811 * play/zone.el (zone):
8812 * progmodes/compile.el (compilation-goto-locus):
8813 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8814 * progmodes/etags.el (find-tag-other-window):
8815 * progmodes/fortran.el (fortran-column-ruler):
8816 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8817 * progmodes/verilog-mode.el (verilog-point-text):
8818 * reposition.el (reposition-window):
8819 * rot13.el (toggle-rot13-mode):
8820 * server.el (server-switch-buffer):
8821 * shell.el (shell-dynamic-complete-command)
8822 (shell-dynamic-complete-environment-variable):
8823 * simple.el (insert-buffer, set-selective-display)
8824 (delete-completion-window):
8825 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8826 (speedbar-recenter):
8827 * startup.el (fancy-splash-head):
8828 * textmodes/ispell.el (ispell-command-loop):
8829 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8830 * tutorial.el (help-with-tutorial):
8831 * vc/add-log.el (add-change-log-entry):
8832 * vc/compare-w.el (compare-windows):
8833 * vc/ediff-help.el (ediff-indent-help-message):
8834 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8835 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8836 (ediff-setup-control-frame):
8837 * vc/emerge.el (emerge-position-region):
8838 * vc/pcvs-util.el (cvs-bury-buffer):
8839 * window.el (walk-windows, mouse-autoselect-window-select):
8840 * winner.el (winner-set-conf, winner-undo): Related users changed.
8841
8842 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8843
8844 * frameset.el (frameset--set-id): Doc fix.
8845 (frameset-frame-id, frameset-frame-id-equal-p)
8846 (frameset-locate-frame-id): New functions.
8847 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8848 (frameset-restore): Use them.
8849
8850 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8851
8852 Do not call to `selected-frame' where it is assumed by default.
8853 Affected functions are `raise-frame', `redraw-frame',
8854 `frame-first-window', `frame-terminal' and `delete-frame'.
8855 * calendar/appt.el (appt-disp-window):
8856 * epg.el (epg-wait-for-completion):
8857 * follow.el (follow-delete-other-windows-and-split)
8858 (follow-avoid-tail-recenter):
8859 * international/mule.el (set-terminal-coding-system):
8860 * mail/rmail.el (rmail-mail-return):
8861 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8862 * progmodes/f90.el (f90-add-imenu-menu):
8863 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8864 * server.el (server-switch-buffer):
8865 * simple.el (delete-completion-window):
8866 * talk.el (talk):
8867 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8868 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8869 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8870 * vc/ediff.el (ediff-documentation): Related users changed.
8871 * frame.el (selected-terminal): Remove the leftover.
8872
8873 2013-08-05 Glenn Morris <rgm@gnu.org>
8874
8875 * calendar/calendar.el (calendar-generate-month):
8876 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8877 (calendar-generate-month, calendar-font-lock-keywords):
8878 Fix for calendar-day-header-width > length of any day name.
8879
8880 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8881
8882 * desktop.el (desktop-clear): Use new name of sort predicate.
8883
8884 * frameset.el (frameset): Add docstring. Move :version property to its
8885 own `version' slot.
8886 (frameset-copy): Rename from copy-frameset.
8887 (frameset-p): Check more thoroughly.
8888 (frameset-prop): Do not check for :version, which is no longer a prop.
8889 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8890 Use new :never value instead of t.
8891 (frameset-filter-alist): Expand and clarify docstring.
8892 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8893 (frameset-filter-minibuffer, frameset-filter-save-param)
8894 (frameset-filter-restore-param, frameset-filter-iconified):
8895 Add pointer to docstring of frameset-filter-alist.
8896 (frameset-filter-params): Rename filter values to be more meaningful:
8897 :never instead of t, and reverse the meanings of :save and :restore.
8898 (frameset--process-minibuffer-frames): Clarify error message.
8899 (frameset-save): Avoid unnecessary and confusing call to framep.
8900 Use new BOA constructor for framesets.
8901 (frameset--reuse-list): Doc fix.
8902 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8903 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8904 (frameset-minibufferless-first-p): Doc fix.
8905 Rename from frameset-sort-frames-for-deletion.
8906 (frameset-restore): Doc fixes. Use new function names.
8907 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8908
8909 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8910
8911 * desktop.el (desktop-restore-forces-onscreen)
8912 (desktop-restore-reuses-frames): Document :keyword constant values.
8913 (desktop-filter-parameters-alist): Remove, now identical to
8914 frameset-filter-alist.
8915 (desktop--filter-tty*): Remove, moved to frameset.el.
8916 (desktop-save-frameset, desktop-restore-frameset):
8917 Do not pass :filters argument.
8918
8919 * frameset.el (frameset-live-filter-alist)
8920 (frameset-persistent-filter-alist): New variables.
8921 (frameset-filter-alist): Use them. Add autoload cookie.
8922 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8923 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8924 `frameset--id' (it's supposed to be internal to frameset.el).
8925 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8926 (frameset--initial-params): New function.
8927 (frameset--get-frame): Use it. Doc fix.
8928 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8929 Accept :all, not 'all.
8930 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8931 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8932 with fbound symbols. Fix frame id matching, and remove matching ids if
8933 the frame being restored is deleted. Obey :delete.
8934
8935 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * subr.el (macrop): New function.
8938 (text-clone--maintaining): New var.
8939 (text-clone--maintain): Rename from text-clone-maintain. Use it
8940 instead of inhibit-modification-hooks.
8941
8942 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8943 a proxy, so as handle autoloads and redefinitions of the target.
8944 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8945
8946 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8947 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8948 (pcase--mutually-exclusive-p): New function.
8949 (pcase--split-consp): Use it.
8950 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8951 mutually exclusive with the current predicate.
8952
8953 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8954 (edebug-macrop): Remove. Use `macrop' instead.
8955 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8956 (ad-macro-p):
8957 * eshell/esh-cmd.el (eshell-macrop):
8958 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8959
8960 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8963 (advice-mapc): New function, using it.
8964 (advice-function-member-p): New function.
8965 (advice--normalize): Store the cdr in advice--saved-rewrite since
8966 that's the part that will be changed.
8967 (advice--symbol-function): New function.
8968 (advice-remove): Handle removal before the function is defined.
8969 Adjust to new advice--saved-rewrite.
8970 (advice-member-p): Use advice-function-member-p and
8971 advice--symbol-function.
8972
8973 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8974
8975 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8976 (frameset-filter-minibuffer): Doc fix.
8977 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8978 (frameset--set-id, frameset--process-minibuffer-frames)
8979 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8980 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8981
8982 * desktop.el (desktop-clear): Only delete frames when called
8983 interactively and desktop-restore-frames is non-nil. Doc fix.
8984 (desktop-read): Set desktop-saved-frameset to nil.
8985
8986 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8987
8988 * vc/vc.el (vc-ignore): Rewrite.
8989 (vc-default-ignore-completion-table, vc--read-lines)
8990 (vc--add-line, vc--remove-regexp): New functions.
8991
8992 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8993 (vc-svn-ignore-completion-table): New function.
8994
8995 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8996 (vc-hg-ignore-completion-table)
8997 (vc-hg-find-ignore-file): New functions.
8998
8999 * vc/vc-git.el (vc-git-ignore): Rewrite.
9000 (vc-git-ignore-completion-table)
9001 (vc-git-find-ignore-file): New functions.
9002
9003 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9004
9005 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9006 (vc-bzr-ignore-completion-table)
9007 (vc-bzr-find-ignore-file): New functions.
9008
9009 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9010
9011 * frameset.el (frameset-prop): New function and setter.
9012 (frameset-save): Do not modify frame list passed by the caller.
9013
9014 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9015
9016 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9017
9018 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9021 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9022
9023 * custom.el (custom-initialize-default, custom-initialize-set)
9024 (custom-initialize-reset, custom-initialize-changed): Affect the
9025 toplevel-default-value (bug#6275, bug#14586).
9026 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9027 for bug#6275.
9028
9029 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9030
9031 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9032 Add cl-def* expressions.
9033
9034 * frameset.el (frameset-filter-params): Fix order of arguments.
9035
9036 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9037
9038 Move code related to saving frames to frameset.el.
9039 * desktop.el: Require frameset.
9040 (desktop-restore-frames): Doc fix.
9041 (desktop-restore-reuses-frames): Rename from
9042 desktop-restoring-reuses-frames.
9043 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9044 (desktop-clear): Clear frames too.
9045 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9046 (desktop--filter-tty*, desktop-save, desktop-read):
9047 Use frameset functions.
9048 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9049 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9050 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9051 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9052 (desktop--process-minibuffer-frames, desktop-save-frames)
9053 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9054 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9055 (desktop--sort-states, desktop-restoring-frames-p)
9056 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9057 (desktop-restoring-frameset-p, desktop-restore-frameset)
9058 (desktop--check-dont-save, desktop-save-frameset): New functions.
9059 (desktop--app-id): New constant.
9060 (desktop-first-buffer, desktop-buffer-ok-count)
9061 (desktop-buffer-fail-count): Move before first use.
9062 * frameset.el: New file.
9063
9064 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * files.el: Use lexical-binding.
9067 (dir-locals-read-from-file): Remove unused `err' variable.
9068 (hack-dir-local-variables--warned-coding): New var.
9069 (hack-dir-local-variables): Use it to avoid repeated warnings.
9070 (make-backup-file-name--default-function): New function.
9071 (make-backup-file-name-function): Use it as default.
9072 (buffer-stale--default-function): New function.
9073 (buffer-stale-function): Use it as default.
9074 (revert-buffer-insert-file-contents--default-function): New function.
9075 (revert-buffer-insert-file-contents-function): Use it as default.
9076 (insert-directory): Avoid add-to-list.
9077
9078 * autorevert.el (auto-revert-handler): Simplify.
9079 Use buffer-stale--default-function.
9080
9081 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9082
9083 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9084
9085 * whitespace.el (whitespace-ensure-local-variables): New function.
9086 (whitespace-cleanup-region): Call it.
9087 (whitespace-turn-on): Call it.
9088
9089 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9090
9091 Complete file name handlers.
9092
9093 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9094 (tramp-handle-verify-visited-file-modtime)
9095 (tramp-handle-file-notify-rm-watch): New functions.
9096 (tramp-call-process): Do not bind `default-directory'.
9097
9098 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9099 Order alphabetically.
9100 <access-file, add-name-to-file, dired-call-process>:
9101 <dired-compress-file, file-acl, file-notify-rm-watch>:
9102 <file-ownership-preserved-p, file-selinux-context>:
9103 <make-directory-internal, make-symbolic-link, set-file-acl>:
9104 <set-file-selinux-context, set-visited-file-modtime>:
9105 <verify-visited-file-modtime>: Add handler.
9106 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9107
9108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9109 <file-notify-add-watch, file-notify-rm-watch>:
9110 <set-file-times, set-visited-file-modtime>:
9111 <verify-visited-file-modtime>: Add handler.
9112 (with-tramp-gvfs-error-message)
9113 (tramp-gvfs-handle-set-visited-file-modtime)
9114 (tramp-gvfs-fuse-file-name): Remove.
9115 (tramp-gvfs-handle-file-notify-add-watch)
9116 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9117 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9118
9119 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9120 Order alphabetically.
9121 <file-notify-rm-watch>: Use default Tramp handler.
9122 <executable-find>: Remove private handler.
9123 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9124 `default-directory'.
9125 (tramp-sh-handle-executable-find)
9126 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9127 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9128 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9129 Do not use `format' in `tramp-message'.
9130
9131 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9132 <file-notify-rm-watch, set-visited-file-modtime>:
9133 <verify-visited-file-modtime>: Add handler.
9134 (tramp-smb-call-winexe): Do not bind `default-directory'.
9135
9136 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9137
9138 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9139
9140 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9141
9142 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9143 use it.
9144 (log-view-diff-changeset): Same.
9145 (log-view-diff-common): Call backend command `previous-revision'
9146 to find out the previous revision, in both cases. Swap the
9147 variables `to' and `fr', so that `fr' usually refers to the
9148 earlier revision (Bug#14989).
9149
9150 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9151
9152 * ibuf-ext.el (ibuffer-filter-by-filename):
9153 Make it work with dired buffers too.
9154
9155 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9156
9157 * emacs-lisp/re-builder.el (reb-color-display-p):
9158 * files.el (save-buffers-kill-terminal):
9159 * net/browse-url.el (browse-url):
9160 * server.el (server-save-buffers-kill-terminal):
9161 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9162 Prefer nil to selected-frame for the first arg of frame-parameter.
9163
9164 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9165
9166 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9167
9168 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9169
9170 * minibuffer.el (completion--twq-all): Try and preserve each
9171 completion's case choice (bug#14907).
9172
9173 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9174
9175 * net/network-stream.el (open-network-stream): Mention the new
9176 :nogreeting parameter.
9177 (network-stream-open-starttls): Use the :nogreeting parameter
9178 (bug#14938).
9179
9180 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9181
9182 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9183 more natural than popping.
9184
9185 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9186 (shr-urlify): Highlight under mouse.
9187
9188 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9189
9190 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9191
9192 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9193
9194 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9195 buffer for output.
9196
9197 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9198 point-min==1. Fix search string. Fix parentheses missing.
9199
9200 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9201 assume point-min==1. Fix search string. Fix parentheses missing.
9202
9203 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9204
9205 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9206 buffer for output.
9207
9208 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9209
9210 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9211 initial frame is minibuffer-less. (Bug#14841)
9212
9213 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9214
9215 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9216 option.
9217
9218 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9219 (tramp-maybe-open-connection): Use it.
9220
9221 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9222
9223 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9224 minimal set of parameters passed when creating a frame, because
9225 the minibuffer status of a frame cannot be changed later.
9226
9227 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9228
9229 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9230 replace-regexp-in-string and inadvertent omissions in previous change.
9231 (todo-filter-items): Ensure only file names are comma-separated in
9232 name of filtered items buffer.
9233
9234 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * desktop.el: Optionally force offscreen frames back onscreen.
9237 (desktop-restoring-reuses-frames): New option.
9238 (desktop--compute-pos, desktop--move-onscreen): New functions.
9239 (desktop--make-frame): Use desktop--move-onscreen.
9240
9241 2013-07-27 Alan Mackenzie <acm@muc.de>
9242
9243 Fontify a Java generic method as a function.
9244 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
9245 value to t.
9246
9247 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
9248
9249 * calendar/todo-mode.el: Add command to rename todo files.
9250 (todo-rename-file): New command.
9251 (todo-key-bindings-t): Add key binding for it. Change the
9252 bindings of todo-filter-regexp-items(-multifile) to use `x'
9253 instead of `r', since the latter is better suited to the new
9254 renaming command.
9255
9256 2013-07-27 Alan Mackenzie <acm@muc.de>
9257
9258 Make Java try-with-resources statement parse properly.
9259 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
9260 (c-block-stmt-1-2-key): New language constants/variables.
9261 * progmodes/cc-engine.el (c-beginning-of-statement-1)
9262 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
9263 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
9264 with c-block-stmt-1-2-key.
9265
9266 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * desktop.el (desktop--make-frame): Apply most frame parameters after
9269 creating the frame to force (partially or totally) offscreen frames to
9270 be restored as such.
9271
9272 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9273
9274 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9275 (Bug#14948)
9276
9277 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9280 `base' arg of backtrace-frame.
9281
9282 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9283
9284 * simple.el (list-processes): Doc fix.
9285
9286 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9287
9288 * desktop.el (desktop--select-frame):
9289 Try harder to reuse existing frames.
9290
9291 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9294 (edebug-eval): Use backtrace-eval.
9295 (edebug--display, edebug--recursive-edit): Don't let-bind the
9296 edebug-outer-* vars that keep track of variables we locally let-bind.
9297 (edebug-outside-excursion): Don't restore outside values of locally
9298 let-bound vars.
9299 (edebug--display): Use user-error.
9300 (cl-lexical-debug, cl-debug-env): Remove.
9301
9302 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9303
9304 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9305 are restored to be sure that they are visible before deleting any
9306 remaining ones.
9307
9308 2013-07-26 Matthias Meulien <orontee@gmail.com>
9309
9310 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9311 vc-print-root-log. (Bug#14948)
9312
9313 2013-07-26 Richard Stallman <rms@gnu.org>
9314
9315 Add aliases for encrypting mail.
9316 * epa.el (epa-mail-aliases): New option.
9317 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9318 Bind inhibit-read-only so read-only text doesn't ruin everything.
9319 (epa-mail-default-recipients): New subroutine broken out.
9320 Handle epa-mail-aliases.
9321
9322 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 Add support for lexical variables to the debugger's `e' command.
9325 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9326 vars, except for debugger-outer-match-data.
9327 (debugger-frame-number): Move check for "on a function call" from
9328 callers into it. Add `skip-base' argument.
9329 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9330 (debugger-env-macro): Only reset the state stored in non-variables,
9331 i.e. current-buffer and match-data.
9332 (debugger-eval-expression): Rewrite using backtrace-eval.
9333 * subr.el (internal--called-interactively-p--get-frame): Remove.
9334 (called-interactively-p):
9335 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9336 `base' arg of backtrace-frame instead.
9337
9338 2013-07-26 Glenn Morris <rgm@gnu.org>
9339
9340 * align.el (align-regexp): Doc fix. (Bug#14857)
9341 (align-region): Explicit error if subexpression missing/does not match.
9342
9343 * simple.el (global-visual-line-mode):
9344 Do not duplicate the mode lighter. (Bug#14858)
9345
9346 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9347
9348 * window.el (display-buffer): In display-buffer bind
9349 split-window-keep-point to t, bug#14829.
9350
9351 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9352
9353 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9354 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9355 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9356 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9357 Change accordingly.
9358 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9359 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9360
9361 2013-07-25 Glenn Morris <rgm@gnu.org>
9362
9363 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9364
9365 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9366
9367 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9368 parameter to modify-frame-parameters if the value has not changed;
9369 this is a workaround for bug#14949.
9370 (desktop--make-frame): On cl-delete-if call, check parameter name,
9371 not full parameter.
9372
9373 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9374
9375 * vc/vc.el (vc-ignore): New function.
9376
9377 * vc/vc-svn.el (vc-svn-ignore): New function.
9378
9379 * vc/vc-hg.el (vc-hg-ignore): New function.
9380
9381 * vc/vc-git.el (vc-git-ignore): New function.
9382
9383 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9384 (vc-dir-ignore): New function.
9385
9386 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9387 (cvs-append-to-ignore): Move here from pcvs.el.
9388
9389 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9390
9391 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9392
9393 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9394
9395 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9396 (desktop-restore-frames): Warn when deleting an existing frame failed.
9397
9398 2013-07-24 Glenn Morris <rgm@gnu.org>
9399
9400 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9401
9402 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9403
9404 * filenotify.el (file-notify-supported-p):
9405 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9406 Remove functions.
9407
9408 * autorevert.el (auto-revert-use-notify)
9409 (auto-revert-notify-add-watch):
9410 * net/tramp.el (tramp-file-name-for-operation):
9411 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9412 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9413 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9414 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9415 Remove `file-notify-supported-p' entry.
9416
9417 2013-07-24 Glenn Morris <rgm@gnu.org>
9418
9419 * printing.el: Replace all uses of deleted ps-windows-system,
9420 ps-lp-system, ps-flatten-list with lpr- versions.
9421
9422 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9423
9424 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9425 checked with memq (bug#14935).
9426
9427 * files.el (revert-buffer-function): Use a non-nil default.
9428 (revert-buffer-preserve-modes): Declare var to
9429 provide access to the `preserve-modes' argument.
9430 (revert-buffer): Let-bind it.
9431 (revert-buffer--default): New function, extracted from revert-buffer.
9432
9433 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * lpr.el: Signal print errors more prominently.
9436 (print-region-function): Don't default to nil.
9437 (lpr-print-region): New function, extracted from print-region-1.
9438 Check lpr's return value and signal an error in case of problem.
9439 (print-region-1): Use it.
9440 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9441 versions instead.
9442 (ps-printer-name): Default to nil.
9443 (ps-printer-name-option): Default to lpr-printer-switch.
9444 (ps-print-region-function): Don't default to nil.
9445 (ps-postscript-code-directory): Simplify default.
9446 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9447 (ps-string-list, ps-eval-switch, ps-flatten-list)
9448 (ps-flatten-list-1): Remove.
9449 (ps-multibyte-buffer): Avoid setq.
9450 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9451 (print-region-function, ps-print-region-function): Don't set them here.
9452
9453 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9454
9455 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9456 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9457 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9458 (ido-decorations): Doc fix.
9459
9460 * ansi-color.el: Fix old URL.
9461
9462 2013-07-23 Michael R. Mauger <michael@mauger.com>
9463
9464 * progmodes/sql.el: Version 3.3
9465 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9466 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9467 (sql-interactive-remove-continuation-prompt): Rewrite, use
9468 functions above. Fix continuation prompt and complete output line
9469 handling.
9470 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9471 redirected output buffer.
9472 (sql-mode): Restore deleted code (Bug#13591).
9473
9474 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9475
9476 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9477
9478 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9479
9480 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9481
9482 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9483 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9484 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9485
9486 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9487
9488 * desktop.el (desktop-clear): Simplify; remove useless checks
9489 against invalid buffer names.
9490 (desktop-list*): Use cl-list*.
9491 (desktop-buffer-info, desktop-create-buffer): Simplify.
9492
9493 2013-07-23 Leo Liu <sdl.web@gmail.com>
9494
9495 * bookmark.el (bookmark-make-record): Restore NAME as a default
9496 value. (Bug#14933)
9497
9498 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9501 extracted from autoload--insert-text.
9502 (autoload--insert-text): Remove.
9503 (autoload--print-cookie-text): New function, extracted from
9504 autoload--insert-cookie-text.
9505 (autoload--insert-cookie-text): Remove.
9506 (autoload-generate-file-autoloads): Adjust calls accordingly.
9507
9508 * winner.el (winner-hook-installed-p): Remove.
9509 (winner-mode): Simplify accordingly.
9510
9511 * subr.el (add-to-list): Fix compiler-macro when `append' is
9512 not constant. Don't use `cl-member' for the base case.
9513
9514 * progmodes/subword.el: Fix boundary case (bug#13758).
9515 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9516 own group.
9517 (subword-backward-regexp): Make it a constant.
9518 (subword-forward-internal): Don't treat a trailing capital as the
9519 beginning of a word.
9520
9521 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9522
9523 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9524 global value of tabulated-list-revert-hook (bug#14930).
9525
9526 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9527
9528 * desktop.el: Require 'cl-lib.
9529 (desktop-before-saving-frames-functions): New hook.
9530 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9531 for frames being saved. Rename from desktop--save-minibuffer-frames.
9532 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9533 Do not save frames with non-nil `desktop-dont-save' parameter.
9534 Filter out deleted frames.
9535 (desktop--find-frame): Use cl-find-if.
9536 (desktop--select-frame): Use cl-(first|second|third) to access values
9537 of desktop-mini.
9538 (desktop--make-frame): Use cl-delete-if.
9539 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9540 (desktop-restore-frames): Use cl-(first|second|third) to access values
9541 of desktop-mini. Look for visible frame at the end, not while
9542 restoring frames.
9543
9544 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9545 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9546 Use string-match-p, looking-at-p (bug#14927).
9547
9548 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9549
9550 * desktop.el (desktop-saved-frame-states):
9551 Rename from desktop--saved-states; all users changed.
9552 (desktop-save-frames): Rename from desktop--save-frames.
9553 Do not save state to desktop file.
9554 (desktop-save): Save desktop-saved-frame-states to desktop file
9555 and reset to nil.
9556 (desktop-restoring-frames-p): New function.
9557 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9558 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9559 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9560
9561 * desktop.el: Correctly restore iconified frames.
9562 (desktop--filter-iconified-position): New function.
9563 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9564
9565 2013-07-20 Glenn Morris <rgm@gnu.org>
9566
9567 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9568 Let `message' do the formatting.
9569 (def-gdb-preempt-display-buffer): Add explicit format.
9570
9571 * image-dired.el (image-dired-track-original-file):
9572 Use with-current-buffer.
9573 (image-dired-track-thumbnail): Use with-current-buffer.
9574 Avoid changing point of wrong window.
9575
9576 * image-dired.el (image-dired-track-original-file):
9577 Avoid changing point of wrong window. (Bug#14909)
9578
9579 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9580
9581 * progmodes/gdb-mi.el (gdb-done-or-error):
9582 Guard against "%" in gdb output. (Bug#14127)
9583
9584 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9585
9586 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9587 (Bug#14826)
9588
9589 * international/mule.el (coding-system-iso-2022-flags): Fix last
9590 change.
9591
9592 2013-07-20 Kenichi Handa <handa@gnu.org>
9593
9594 * international/mule.el (coding-system-iso-2022-flags):
9595 Add `8-bit-level-4'. (Bug#8522)
9596
9597 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9598
9599 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9600 (bug#14815).
9601
9602 * net/eww.el (eww-process-text-input): Allow inputting when the
9603 point is at the start of the line, as the properties aren't
9604 front-sticky.
9605
9606 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9607 degenerate widths.
9608
9609 2013-07-19 Richard Stallman <rms@gnu.org>
9610
9611 * epa.el (epa-popup-info-window): Doc fix.
9612
9613 * subr.el (split-string): New arg TRIM.
9614
9615 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9616
9617 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9618 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9619
9620 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9621
9622 * filenotify.el (file-notify--library): Rename from
9623 `file-notify-support'. Do not autoload. Adapt all uses.
9624 (file-notify-supported-p): New defun.
9625
9626 * autorevert.el (auto-revert-use-notify):
9627 Use `file-notify-supported-p' instead of `file-notify-support'.
9628 Adapt docstring.
9629 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9630
9631 * net/tramp.el (tramp-file-name-for-operation):
9632 Add `file-notify-supported-p'.
9633
9634 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9635 New defun.
9636 (tramp-sh-file-name-handler-alist): Add it as handler for
9637 `file-notify-supported-p '.
9638
9639 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9640 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9641 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9642 Add `ignore' as handler for `file-notify-*' functions.
9643
9644 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9645
9646 * simple.el (line-move-partial, line-move): Don't start vscroll or
9647 scroll-up if the current line is not taller than the window.
9648 (Bug#14881)
9649
9650 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9651
9652 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9653 highlight question marks in the method names as strings.
9654 (ruby-block-beg-keywords): Inline.
9655 (ruby-font-lock-keyword-beg-re): Extract from
9656 `ruby-font-lock-keywords'.
9657
9658 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9659
9660 * frame.el (blink-cursor-blinks): New defcustom.
9661 (blink-cursor-blinks-done): New defvar.
9662 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9663 (blink-cursor-timer-function): Check if number of blinks has been
9664 done on X and NS.
9665 (blink-cursor-suspend, blink-cursor-check): New defuns.
9666
9667 2013-07-15 Glenn Morris <rgm@gnu.org>
9668
9669 * edmacro.el (edmacro-format-keys): Fix previous change.
9670
9671 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9672
9673 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9674 The hack didn't work outside English locales anyway.
9675
9676 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9677
9678 * simple.el (define-alternatives): Rename from alternatives-define,
9679 per RMS' suggestion.
9680
9681 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9682
9683 * desktop.el (desktop-restore-frames): Change default to t.
9684 (desktop-restore-in-current-display): Now offer more options.
9685 (desktop-restoring-reuses-frames): New customization option.
9686 (desktop--saved-states): Doc fix.
9687 (desktop-filter-parameters-alist): New variable, renamed and expanded
9688 from desktop--excluded-frame-parameters.
9689 (desktop--target-display): New variable.
9690 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9691 (desktop--filter-tty*, desktop--filter-*-color)
9692 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9693 (desktop--filter-save-desktop-parm)
9694 (desktop-restore-in-original-display-p): New functions.
9695 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9696 (desktop--save-minibuffer-frames): New function, inspired by a similar
9697 function from Martin Rudalics.
9698 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9699 (desktop--restore-in-this-display-p): Remove.
9700 (desktop--find-frame): Rename from desktop--find-frame-in-display
9701 and add predicate argument.
9702 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9703 (desktop--reuse-list): New variable.
9704 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9705 New functions.
9706 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9707
9708 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9709
9710 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9711
9712 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9713
9714 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9715 Highlight conversion methods on Kernel.
9716
9717 2013-07-13 Alan Mackenzie <acm@muc.de>
9718
9719 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9720 and comment it out. This out-commenting enables certain C++
9721 declarations to be parsed correctly.
9722
9723 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9724
9725 * international/mule.el (define-coding-system): Doc fix.
9726
9727 * simple.el (default-font-height): Don't call font-info if the
9728 frame's default font didn't change since the frame was created.
9729 (Bug#14838)
9730
9731 2013-07-13 Leo Liu <sdl.web@gmail.com>
9732
9733 * ido.el (ido-read-file-name): Guard against non-symbol value.
9734
9735 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9736
9737 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9738 in nested defuns.
9739
9740 2013-07-13 Leo Liu <sdl.web@gmail.com>
9741
9742 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9743 ido-set-matches call. (Bug#6852)
9744
9745 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9746
9747 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9748 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9749 Ruby 2.0.
9750 (ruby-font-lock-keywords): Distinguish calls to functions with
9751 module-like names from module references. Highlight character
9752 literals.
9753
9754 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9755
9756 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9757 (gdb-send): Handle continued commands. (Bug#14847)
9758
9759 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9760
9761 * desktop.el (desktop--v2s): Remove unused local variable.
9762 (desktop-save-buffer): Make defvar-local; adjust docstring.
9763 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9764 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9765
9766 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9767
9768 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9769
9770 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9771
9772 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9773 (Bug#14842)
9774
9775 2013-07-12 Glenn Morris <rgm@gnu.org>
9776
9777 * doc-view.el: Require cl-lib at runtime too.
9778 (doc-view-remove-if): Remove.
9779 (doc-view-search-next-match, doc-view-search-previous-match):
9780 Use cl-remove-if.
9781
9782 * edmacro.el: Require cl-lib at runtime too.
9783 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9784 (edmacro-mismatch, edmacro-subseq): Remove.
9785
9786 * shadowfile.el: Require cl-lib.
9787 (shadow-remove-if): Remove.
9788 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9789 Use cl-remove-if.
9790
9791 * wid-edit.el: Require cl-lib.
9792 (widget-choose): Use cl-remove-if.
9793 (widget-remove-if): Remove.
9794
9795 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9796 (ebrowse-delete-if-not): Remove.
9797 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9798 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9799 Use cl-delete-if-not.
9800
9801 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9802
9803 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9804 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9805
9806 2013-07-12 Leo Liu <sdl.web@gmail.com>
9807
9808 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9809
9810 2013-07-11 Glenn Morris <rgm@gnu.org>
9811
9812 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9813 (edebug-gensym-index, edebug-gensym):
9814 Remove reimplementation of cl-gensym.
9815 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9816
9817 * thumbs.el: Require cl-lib at run-time too.
9818 (thumbs-gensym-counter, thumbs-gensym):
9819 Remove reimplementation of cl-gensym.
9820 (thumbs-temp-file): Use cl-gensym.
9821
9822 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9823 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9824 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9825 (ert--union, ert--gensym-counter, ert--gensym-counter)
9826 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9827 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9828 (ert-make-test-unbound, ert--expand-should-1)
9829 (ert--expand-should, ert--should-error-handle-error)
9830 (should-error, ert--explain-equal-rec)
9831 (ert--plist-difference-explanation, ert-select-tests)
9832 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9833 Use cl-lib functions rather than reimplementations.
9834
9835 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9836
9837 * net/tramp.el (tramp-methods): Extend docstring.
9838 (tramp-connection-timeout): New defcustom.
9839 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9840 (with-tramp-progress-reporter): Simplify.
9841 (tramp-process-actions): Improve messages.
9842
9843 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9844 * net/tramp-sh.el (tramp-maybe-open-connection):
9845 Use `tramp-connection-timeout'.
9846 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9847 (Bug#14808)
9848
9849 2013-07-11 Leo Liu <sdl.web@gmail.com>
9850
9851 * ido.el (ido-read-file-name): Conform to the requirements of
9852 read-file-name. (Bug#11861)
9853 (ido-read-directory-name): Conform to the requirements of
9854 read-directory-name.
9855
9856 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9857
9858 * subr.el (delay-warning): New function.
9859
9860 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9861
9862 * simple.el (default-line-height): New function.
9863 (line-move-partial, line-move): Use it instead of computing the
9864 line height inline.
9865 (line-move-partial): Always compute ROWH. If the last line is
9866 partially-visible, but its text is completely visible, allow
9867 cursor to enter such a partially-visible line.
9868
9869 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9870
9871 Improve error messages. (Bug#14808)
9872
9873 * net/tramp.el (tramp-current-connection): New defvar, moved from
9874 tramp-sh.el.
9875 (tramp-message-show-progress-reporter-message): Remove, not
9876 needed anymore.
9877 (tramp-error-with-buffer): Show message in minibuffer.
9878 Discard input before waiting. Reset connection timestamp.
9879 (with-tramp-progress-reporter): Improve messages.
9880 (tramp-process-actions): Use progress reporter. Delete process in
9881 case of error. Improve messages.
9882
9883 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9884 Call `tramp-error-with-buffer' with vector and buffer.
9885 (tramp-current-connection): Remove.
9886 (tramp-maybe-open-connection): The car of
9887 `tramp-current-connection' are the first 3 slots of the vector.
9888
9889 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9890
9891 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9892 inside continued strings.
9893
9894 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9895
9896 Timestamp fixes for undo (Bug#14824).
9897 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9898
9899 2013-07-10 Leo Liu <sdl.web@gmail.com>
9900
9901 * files.el (require-final-newline): Allow safe local value.
9902 (Bug#14834)
9903
9904 2013-07-09 Leo Liu <sdl.web@gmail.com>
9905
9906 * ido.el (ido-read-directory-name): Handle fallback.
9907 (ido-read-file-name): Update DIR to ido-current-directory.
9908 (Bug#1516)
9909 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9910
9911 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9912
9913 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9914 "autoload". Remove "warn lower camel case" section, previously
9915 commented out. Highlight negation char. Do not highlight the
9916 target in singleton method definitions.
9917
9918 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * faces.el (tty-setup-hook): Declare the hook.
9921
9922 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9923 and detect when a guard/pred depends on local vars (bug#14773).
9924 (pcase--u1): Adjust caller.
9925
9926 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9927
9928 * simple.el (line-move-partial, line-move): Account for
9929 line-spacing.
9930 (line-move-partial): Avoid setting vscroll when the last
9931 partially-visible line in window is of default height.
9932
9933 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9934
9935 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9936 been used a while.
9937
9938 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9939
9940 * subr.el (read-quoted-char): Remove unused local variable `char'.
9941
9942 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9943
9944 * ediff.el (ediff-version): Version update.
9945 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9946 (ediff-merge-with-ancestor-command, ediff-directories-command)
9947 (ediff-directories3-command, ediff-merge-directories-command)
9948 (ediff-merge-directories-with-ancestor-command): New functions.
9949 All are command-line interfaces to ediff: to facilitate calling
9950 Emacs with the appropriate ediff functions invoked.
9951
9952 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9953 (viper-save-kill-buffer): Check if buffer is modified.
9954
9955 * viper.el (viper-version): Version update.
9956 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9957
9958 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9961 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9962 (viper-intercept-ESC-key): Simplify.
9963 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9964 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9965 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9966 (viper-setup-ESC-to-escape): New functions.
9967 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9968 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9969
9970 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9971
9972 * simple.el (default-font-height, window-screen-lines):
9973 New functions.
9974 (line-move, line-move-partial): Use them instead of
9975 frame-char-height and window-text-height. This makes scrolling
9976 text smoother when the buffer's default face uses a font that is
9977 different from the frame's default font.
9978
9979 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9980
9981 * files.el (write-file): Do not display confirm dialog for NS,
9982 it does its own dialog, which can't be canceled (Bug#14578).
9983
9984 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9985
9986 * simple.el (line-move-partial): Adjust the row returned by
9987 posn-at-point for the current window-vscroll. (Bug#14567)
9988
9989 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9990
9991 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9992 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9993 spaces.
9994
9995 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9996
9997 * window.el (window-state-put-stale-windows): New variable.
9998 (window--state-put-2): Save list of windows without matching buffer.
9999 (window-state-put): Remove "bufferless" windows if possible.
10000
10001 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10002
10003 * simple.el (alternatives-define): Remove leftover :group keyword.
10004 Tweak docstring.
10005
10006 2013-07-06 Leo Liu <sdl.web@gmail.com>
10007
10008 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10009 (ido-enable-virtual-buffers): New variable.
10010 (ido-buffer-internal, ido-toggle-virtual-buffers)
10011 (ido-make-buffer-list): Use it.
10012 (ido-exhibit): Support turning on and off virtual buffers
10013 automatically.
10014
10015 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10016
10017 * simple.el (alternatives-define): New macro.
10018
10019 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * subr.el (read-quoted-char): Use read-key.
10022 (sit-for): Let read-event decode tty input (bug#14782).
10023
10024 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10025
10026 * calendar/todo-mode.el: Add handling of file deletion, both by
10027 mode command and externally. Fix various related bugs.
10028 Clarify Commentary and improve some documentation strings and code.
10029 (todo-delete-file): New command.
10030 (todo-check-file): New function.
10031 (todo-show): Handle external deletion of the file we're trying to
10032 show (bug#14688). Replace called-interactively-p by an optional
10033 prefix argument to avoid problematic interaction with catch form
10034 when byte compiled (bug#14702).
10035 (todo-quit): Handle external deletion of the archive's todo file.
10036 Make sure the buffer that was visiting the archive file is still
10037 live before trying to bury it.
10038 (todo-category-completions): Handle external deletion of any
10039 category completion files.
10040 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10041 of todo files, in case of external deletion.
10042 (todo-add-file): Replace unnecessary setq by let-binding.
10043 (todo-find-archive): Check whether there are any archives.
10044 Replace unnecessary setq by let-binding.
10045 (todo-archive-done-item): Use find-file-noselect to get the
10046 archive buffer whether or not the archive already exists.
10047 Remove superfluous code. Use file size instead of buffer-file-name to
10048 check if the archive is new; if it is, update list of archives.
10049 (todo-default-todo-file): Allow nil to be a valid value for when
10050 there are no todo files.
10051 (todo-reevaluate-default-file-defcustom): Use corrected definition
10052 of todo-default-todo-file.
10053 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10054 (todo-delete-category, todo-show-categories-table)
10055 (todo-category-number): Clarify comment.
10056 (todo-filter-items): Clarify documentation string.
10057 (todo-show-current-file, todo-display-as-todo-file)
10058 (todo-reset-and-enable-done-separator): Tweak documentation string.
10059 (todo-done-separator): Make separator length window-width, since
10060 bug#2749 is now fixed.
10061
10062 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10063
10064 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10065 Support both "gvfs-monitor-dir" and "inotifywait".
10066 (tramp-sh-file-inotifywait-process-filter): Rename from
10067 `tramp-sh-file-notify-process-filter'.
10068 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10069 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10070
10071 2013-07-05 Leo Liu <sdl.web@gmail.com>
10072
10073 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10074
10075 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10076
10077 * frame.el (display-pixel-height, display-pixel-width)
10078 (display-mm-height, display-mm-width): Mention behavior on
10079 multi-monitor setups in docstrings.
10080 (w32-display-monitor-attributes-list): Declare function.
10081 (display-monitor-attributes-list): Use it.
10082
10083 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10084
10085 * filenotify.el: New package.
10086
10087 * autorevert.el (top): Require filenotify.el.
10088 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10089 instead.
10090 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10091 (auto-revert-notify-handler): Use `file-notify-*' functions.
10092
10093 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10094
10095 * net/tramp.el (tramp-file-name-for-operation):
10096 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10097
10098 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10099 for `file-notify-add-watch' and `file-notify-rm-watch'.
10100 (tramp-process-sentinel): Improve trace.
10101 (tramp-sh-handle-file-notify-add-watch)
10102 (tramp-sh-file-notify-process-filter)
10103 (tramp-sh-handle-file-notify-rm-watch)
10104 (tramp-get-remote-inotifywait): New defuns.
10105
10106 2013-07-03 Juri Linkov <juri@jurta.org>
10107
10108 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10109 call of `occur-read-primary-args' to interactive spec.
10110
10111 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10112 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10113
10114 2013-07-03 Matthias Meulien <orontee@gmail.com>
10115
10116 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10117 `Buffer-menu-multi-occur'. Add it to the menu.
10118 (Buffer-menu-mode): Document it in docstring.
10119 (Buffer-menu-multi-occur): New command. (Bug#14673)
10120
10121 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10122
10123 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10124 keywords and built-ins.
10125
10126 2013-07-03 Glenn Morris <rgm@gnu.org>
10127
10128 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10129
10130 Make info-xref checks case-sensitive by default
10131 * info.el (Info-find-node, Info-find-in-tag-table)
10132 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10133 Add option for exact case matching of nodes.
10134 * info-xref.el (info-xref): New custom group.
10135 (info-xref-case-fold): New option.
10136 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10137
10138 2013-07-03 Leo Liu <sdl.web@gmail.com>
10139
10140 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10141
10142 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10143
10144 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10145 middle of block statement initially, lower the depth. Remove
10146 FIXME comment, not longer valid. Remove middle of block statement
10147 detection, no need to do that anymore since we've been using
10148 `ruby-parse-region' here.
10149
10150 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10151
10152 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10153
10154 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10155
10156 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10157
10158 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10161 (desktop-restore-in-current-display): New customization option.
10162 (desktop--excluded-frame-parameters): Add `font'.
10163 (desktop--save-frames): Rename from desktop--save-windows.
10164 (desktop--restore-in-this-display-p): New function.
10165 (desktop--make-full-frame): Remove unwanted width/height from
10166 full(width|height) frames.
10167 (desktop--restore-frames): Rename from desktop--restore-windows.
10168 Obey desktop-restore-current-display. Do not delete old frames or
10169 select a new frame unless we were able to restore at least one frame.
10170
10171 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10172
10173 * files.el (find-file-noselect): Simplify conditional expression.
10174
10175 * textmodes/remember.el (remember-append-to-file):
10176 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10177
10178 Add `remember-notes' function to store random notes across Emacs
10179 restarts.
10180 * textmodes/remember.el (remember-data-file): Add :set callback to
10181 affect notes buffer (if any).
10182 (remember-notes): New command.
10183 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10184 New defcustoms for the `remember-notes' function.
10185 (remember-notes-save-and-bury-buffer): New command.
10186 (remember-notes-mode-map): New variable.
10187 (remember-mode): New minor mode.
10188 (remember-notes--kill-buffer-query): New function.
10189 * startup.el (initial-buffer-choice): Add notes to custom type.
10190
10191 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10192
10193 * bindings.el (right-char, left-char): Don't call sit-for, this is
10194 no longer needed. Use arithmetic comparison only for numerical
10195 arguments.
10196
10197 * international/mule-cmds.el (select-safe-coding-system):
10198 Handle the case of FROM being a string correctly. (Bug#14755)
10199
10200 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10201
10202 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10203 progression on degenerate tables.
10204 (shr-rescale-image): ImageMagick animated images currently don't work.
10205
10206 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10207
10208 Some fixes and improvements for desktop frame restoration.
10209 It is still experimental and disabled by default.
10210 * desktop.el (desktop--save-windows): Put the selected frame at
10211 the head of the list.
10212 (desktop--make-full-frame): New function.
10213 (desktop--restore-windows): Try to re-select the frame that was
10214 selected upon saving. Do not abort if some frames fail to restore,
10215 just show an error message and continue. Set up maximized frames
10216 so they have default non-maximized dimensions.
10217
10218 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10219
10220 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10221 Don't start heredoc inside a string or comment.
10222
10223 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10224
10225 * bindings.el (visual-order-cursor-movement): New defcustom.
10226 (right-char, left-char): Provide visual-order cursor motion by
10227 calling move-point-visually. Update the doc strings.
10228
10229 2013-06-28 Kenichi Handa <handa@gnu.org>
10230
10231 * international/mule.el (define-coding-system): New coding system
10232 properties :inhibit-null-byte-detection,
10233 :inhibit-iso-escape-detection, and :prefer-utf-8.
10234 (set-buffer-file-coding-system): If :charset-list property of
10235 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10236 appropriate for setting.
10237
10238 * international/mule-cmds.el (select-safe-coding-system):
10239 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
10240 multibyte characters, return utf-8 (or one of its siblings).
10241
10242 * international/mule-conf.el (prefer-utf-8): New coding system.
10243 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
10244 files.
10245
10246 2013-06-28 Ivan Kanis <ivan@kanis.fr>
10247
10248 * net/shr.el (shr-render-region): New function.
10249
10250 * net/eww.el: Autoload `eww-browse-url'.
10251
10252 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
10253
10254 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10255 Adapt to `package-desc-version' being a list.
10256 Use `package--ac-desc-version' to retrieve version from a package
10257 archive element.
10258
10259 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
10260
10261 New experimental feature to save&restore window and frame setup.
10262 * desktop.el (desktop-save-windows): New defcustom.
10263 (desktop--saved-states): New var.
10264 (desktop--excluded-frame-parameters): New defconst.
10265 (desktop--filter-frame-parms, desktop--find-frame-in-display)
10266 (desktop--restore-windows, desktop--save-windows): New functions.
10267 (desktop-save): Call `desktop--save-windows'.
10268 (desktop-read): Call `desktop--restore-windows'.
10269
10270 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10271
10272 * net/shr.el (add-face-text-property): Remove compat definition.
10273
10274 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10275
10276 * info.el (Info-try-follow-nearest-node): Move search for footnote
10277 above search for node name to prevent missing a footnote (bug#14717).
10278
10279 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10280
10281 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10282
10283 2013-06-27 Leo Liu <sdl.web@gmail.com>
10284
10285 * net/eww.el (eww-read-bookmarks): Check file size.
10286
10287 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10290 advice--pending if newdef is nil or an autoload (bug#13820).
10291 (advice-mapc): New function.
10292
10293 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10294
10295 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10296 probably.
10297 (eww-mode-map): Add a menu bar.
10298 (eww-add-bookmark): New command.
10299 (eww-bookmark-mode): New mode and commands.
10300 (eww-add-bookmark): Remove newlines from the title.
10301 (eww-bookmark-browse): Don't bug out if it's the only window.
10302
10303 2013-06-26 Glenn Morris <rgm@gnu.org>
10304
10305 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10306 (hfy-size): Handle ttys. (Bug#14668)
10307
10308 * info-xref.el: Update for Texinfo 5 change in *note format.
10309 (info-xref-node-re, info-xref-note-re): New constants.
10310 (info-xref-check-buffer): Use info-xref-note-re.
10311
10312 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10313
10314 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10315
10316 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10317 nil terminate the loop (bug#14718).
10318
10319 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10320
10321 * net/eww.el: Rework history traversal. When going forward/back,
10322 put these actions into the history, too, so that they can be
10323 replayed.
10324 (eww-render): Move the history reset to the correct buffer.
10325
10326 2013-06-25 Juri Linkov <juri@jurta.org>
10327
10328 * files-x.el (modify-dir-local-variable): Change the header comment
10329 in the file with directory local variables. (Bug#14692)
10330
10331 * files-x.el (read-file-local-variable-value): Add `default'.
10332 (Bug#14710)
10333
10334 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10335
10336 * net/eww.el (eww-make-unique-file-name): Create a unique file
10337 name before saving to entering `y' accidentally asynchronously.
10338
10339 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10340
10341 * net/eww.el (eww-download): New command and keystroke.
10342
10343 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10344
10345 * net/eww.el (eww-copy-page-url): Change name of command.
10346
10347 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10348 be more consistent with Info and dired.
10349
10350 * net/eww.el (eww-mode-map): Ditto.
10351
10352 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10355 packages from archives.
10356 (package-archive-contents): Change format; include obsolete packages.
10357 (package-desc): Use `dir' to mark builtin packages.
10358 (package--from-builtin): Set the `dir' field to `builtin'.
10359 (generated-autoload-file, version-control): Declare.
10360 (package-compute-transaction): Change first arg and return value to be
10361 lists of package-descs. Adjust to new package-archive-contents format.
10362 (package--add-to-archive-contents): Adjust to new
10363 package-archive-contents format.
10364 (package-download-transaction): Arg is now a list of package-descs.
10365 (package-install): If `pkg' is a package name, pass it as
10366 a requirement, so it is subject to the usual (e.g. disabled) checks.
10367 (describe-package): Accept package-desc as well.
10368 (describe-package-1): Describe a specific package-desc. Add links to
10369 other package-descs for the same package name.
10370 (package-menu-describe-package): Pass the actual package-desc.
10371 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10372 works correctly.
10373 (package-desc-status): New function.
10374 (package-menu--refresh): New function, extracted
10375 from package-menu--generate.
10376 (package-menu--generate): Use it.
10377 (package-delete): Update package-alist.
10378 (package-menu-execute): Don't call package-initialize.
10379
10380 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10381 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10382 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10383 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10384 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10385 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10386
10387 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10388
10389 * window.el (window--state-get-1): Workaround for bug#14527.
10390 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10391
10392 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10393
10394 * net/eww.el (eww-back-url): Implement the history by stashing all
10395 the data into a list.
10396 (eww-forward-url): Allow going forward in the history, too.
10397
10398 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10401 for values and use read--expression for expressions (bug#14710).
10402 (read-file-local-variable): Avoid setq.
10403 (read-file-local-variable-mode): Use minor-mode-list.
10404
10405 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10406
10407 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10408 for DOI URLs.
10409
10410 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10411
10412 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10413 Update imenu-support when dialect changes.
10414
10415 2013-06-25 Leo Liu <sdl.web@gmail.com>
10416
10417 * ido.el (ido-read-internal): Allow forward slash on windows.
10418
10419 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10420
10421 * net/eww.el (eww): Start of strings is \\`, not ^.
10422
10423 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10424
10425 * net/shr.el (shr-browse-url): Fix interactive spec.
10426
10427 * net/eww.el (eww): Add a trailing slash to domain names.
10428
10429 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10430
10431 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10432
10433 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10434
10435 * net/shr.el (shr-browse-url): Use an external browser if given a
10436 prefix.
10437
10438 * net/eww.el (eww-external-browser): Move to shr.
10439
10440 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10441
10442 * net/eww.el (eww): Work more correctly for file: URLs.
10443 (eww-detect-charset): Allow quoted charsets.
10444 (eww-yank-page-url): New command and keystroke.
10445
10446 2013-06-24 Daiki Ueno <ueno@gnu.org>
10447
10448 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10449 file name of gpg executable.
10450 (epg-context-program): New function.
10451 (epg-context-home-directory): New function.
10452 (epg-context-set-program): New function.
10453 (epg-context-set-home-directory): New function.
10454 (epg--start): Use `epg-context-program' instead of
10455 'epg-gpg-program'.
10456 (epg--list-keys-1): Likewise.
10457
10458 2013-06-24 Leo Liu <sdl.web@gmail.com>
10459
10460 * ido.el (ido-read-internal): Fix bug#14620.
10461
10462 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10463
10464 * faces.el (face-documentation): Simplify.
10465 (read-face-attribute, tty-find-type, x-resolve-font-name):
10466 Use `string-match-p'.
10467 (list-faces-display): Use `string-match-p'. Simplify.
10468 (face-spec-recalc): Check face to avoid face alias loops.
10469 (read-color): Use `string-match-p' and non-capturing parenthesis.
10470
10471 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10472
10473 * net/shr.el (shr-rescale-image): Use the new
10474 :max-width/:max-height functionality.
10475
10476 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10477
10478 * net/eww.el (eww-search-prefix): New variable.
10479 (eww): Use it.
10480 (eww-external-browser): New variable.
10481 (eww-mode-map): New keystroke.
10482 (eww-browse-with-external-browser): New command.
10483
10484 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10485
10486 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10487
10488 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10489 Don't skip aligning the next header field when padding is 0;
10490 otherwise, field width is not respected unless the title is as
10491 wide as the field.
10492
10493 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10494
10495 * emacs-lisp/package.el (package-el-version): Remove.
10496 (package-process-define-package): Fix inf-loop.
10497 (package-install): Allow symbols as arguments again.
10498
10499 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10500
10501 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10502 add some more keyword-like methods.
10503 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10504
10505 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10506
10507 * bs.el (bs-buffer-show-mark): Make defvar-local.
10508 (bs-mode): Use setq-local.
10509
10510 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10511 (emacs-lock--try-unlocking): Make defvar-local.
10512
10513 2013-06-22 Glenn Morris <rgm@gnu.org>
10514
10515 * play/cookie1.el (cookie-apropos): Minor simplification.
10516
10517 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10518
10519 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10520
10521 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10522 `regexp-opt', it breaks the build during dumping.
10523
10524 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10525
10526 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10527 Highlight keyword-like methods on Kernel and Module with
10528 font-lock-builtin-face.
10529 (auto-mode-alist): Consolidate different entries into one regexp
10530 and add more *file-s.
10531
10532 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10533
10534 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10535
10536 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10537 (diary-entry): Use it in the action of this button type instead of
10538 diary-goto-entry.
10539
10540 * calendar/todo-mode.el: New version.
10541 (todo-add-category): Append new category to end of file and give
10542 it the highest number, instead of putting it at the beginning and
10543 giving it 0. Incorporate noninteractive functionality.
10544 (todo-forward-category): Adapt to 1-based category numbering.
10545 Allow skipping over archived categories.
10546 (todo-backward-category): Derive from todo-forward-category.
10547 (todo-backward-item, todo-forward-item): Make noninteractive and
10548 delegate interactive part to new commands. Make sensitive to done items.
10549 (todo-categories): Make value an alist of category names and
10550 vectors of item counts.
10551 (todo-category-beg): Make a defconst.
10552 (todo-category-number): Use 1 instead of 0 as initial value.
10553 (todo-category-select): Make sensitive to overlays, optional item
10554 highlighting and done items.
10555 (todo-delete-item): Make sensitive to overlays and marked and done items.
10556 (todo-edit-item): Make sensitive to overlays and editing of
10557 date/time header optional. Add format checks.
10558 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10559 no-op if point is not on an item. Advertise using todo-edit-quit.
10560 (todo-edit-mode): Make sensitive to new format, font-locking, and
10561 multiple todo files.
10562 (todo-insert-item, todo-insert-item-here): Derive from
10563 todo-basic-insert-item and extend functionality.
10564 (todo-item-end, todo-item-start): Make sensitive to done items.
10565 (todo-item-string): Don't return text properties. Restore point.
10566 (todo-jump-to-category): Make sensitive to multiple todo files and
10567 todo archives. Use extended category completion.
10568 (todo-lower-item, todo-raise-item): Rename to *-priority and
10569 derive from todo-set-item-priority.
10570 (todo-mode): Derive from special-mode. Make sensitive to new
10571 format, font-locking and multiple todo files. Make read-only.
10572 (todo-mode-map): Don't suppress digit keys, so they can supply
10573 prefix arguments. Add many new key bindings.
10574 (todo-prefix): Insert as an overlay instead of file text.
10575 Change semantics from diary date expression to purely visual mark.
10576 (todo-print): Rename to todo-print-buffer. Make buffer display
10577 features printable. Remove option to restrict number of items
10578 printed. Add option to print to file.
10579 (todo-print-function): Rename to todo-print-buffer-function.
10580 (todo-quit): Extend to handle exiting new todo modes.
10581 (todo-remove-item): Make sensitive to overlays.
10582 (todo-save): Extend to buffers of filtered items.
10583 (todo-show): Make sensitive to done items, multiple todo files and
10584 new todo modes. Offer to convert legacy todo file before creating
10585 first new todo file.
10586 (todo-show-priorities): Rename to todo-top-priorities.
10587 Change semantics of value 0.
10588 (todo-top-priorities): Rename to todo-filter-top-priorities,
10589 derive from todo-filter-items and extend functionality.
10590 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10591 and extend functionality to other types of filtered items.
10592 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10593 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10594 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10595 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10596 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10597 (todo-edit-mode-hook, todo-entry-prefix-function)
10598 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10599 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10600 (todo-initials, todo-insert-threshold, todo-item-string-start)
10601 (todo-line-string, todo-menu, todo-mode-hook)
10602 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10603 (todo-print-priorities, todo-remove-separator)
10604 (todo-save-top-priorities-too, todo-string-count-lines)
10605 (todo-string-multiline-p, todo-time-string-format)
10606 (todo-tmp-buffer-name): Remove.
10607 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10608 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10609 (todo-edit-category-diary-inclusion)
10610 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10611 (todo-edit-file, todo-edit-item-date-day)
10612 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10613 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10614 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10615 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10616 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10617 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10618 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10619 (todo-filter-top-priorities-multifile, todo-find-archive)
10620 (todo-find-filtered-items-file, todo-go-to-source-item)
10621 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10622 (todo-jump-to-archive-category, todo-lower-category)
10623 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10624 (todo-move-category, todo-move-item, todo-next-button)
10625 (todo-next-item, todo-padded-string, todo-powerset)
10626 (todo-previous-button, todo-previous-item)
10627 (todo-print-buffer-to-file, todo-raise-category)
10628 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10629 (todo-set-category-number, todo-set-item-priority)
10630 (todo-set-top-priorities-in-category)
10631 (todo-set-top-priorities-in-file, todo-show-categories-table)
10632 (todo-sort-categories-alphabetically-or-numerically)
10633 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10634 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10635 (todo-toggle-item-header, todo-toggle-item-highlighting)
10636 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10637 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10638 (todo-unarchive-items, todo-unmark-category): New commands.
10639 (todo-absolute-file-name, todo-add-to-buffer-list)
10640 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10641 (todo-basic-insert-item, todo-category-completions)
10642 (todo-category-number, todo-category-string-matcher-1)
10643 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10644 (todo-check-format, todo-clear-matches)
10645 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10646 (todo-current-category, todo-date-string-matcher)
10647 (todo-define-insertion-command, todo-diary-expired-matcher)
10648 (todo-diary-goto-entry, todo-diary-item-p)
10649 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10650 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10651 (todo-done-item-section-p, todo-done-separator)
10652 (todo-done-string-matcher, todo-files, todo-filter-items)
10653 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10654 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10655 (todo-insert-category-line, todo-insert-item-from-calendar)
10656 (todo-insert-sort-button, todo-insert-with-overlays)
10657 (todo-insertion-command-name, todo-insertion-key-bindings)
10658 (todo-label-to-key, todo-longest-category-name-length)
10659 (todo-make-categories-list, todo-mode-external-set)
10660 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10661 (todo-modes-set-3, todo-multiple-filter-files)
10662 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10663 (todo-read-category, todo-read-date, todo-read-dayname)
10664 (todo-read-file-name, todo-read-time)
10665 (todo-reevaluate-category-completions-files-defcustom)
10666 (todo-reevaluate-default-file-defcustom)
10667 (todo-reevaluate-filelist-defcustoms)
10668 (todo-reevaluate-filter-files-defcustom)
10669 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10670 (todo-reset-done-separator, todo-reset-done-separator-string)
10671 (todo-reset-done-string, todo-reset-global-current-todo-file)
10672 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10673 (todo-reset-prefix, todo-set-categories)
10674 (todo-set-date-from-calendar, todo-set-show-current-file)
10675 (todo-set-top-priorities, todo-short-file-name)
10676 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10677 (todo-total-item-counts, todo-update-buffer-list)
10678 (todo-update-categories-display, todo-update-categories-sexp)
10679 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10680 New functions.
10681 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10682 New major modes.
10683 (todo-categories, todo-display, todo-edit, todo-faces)
10684 (todo-filtered): New defgroups.
10685 (todo-archived-only, todo-button, todo-category-string, todo-date)
10686 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10687 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10688 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10689 (todo-add-item-if-new-category, todo-always-add-time-string)
10690 (todo-categories-align, todo-categories-archived-label)
10691 (todo-categories-category-label, todo-categories-diary-label)
10692 (todo-categories-done-label, todo-categories-number-separator)
10693 (todo-categories-todo-label, todo-categories-totals-label)
10694 (todo-category-completions-files, todo-completion-ignore-case)
10695 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10696 (todo-done-separator-string, todo-done-string)
10697 (todo-files-function, todo-filter-done-items, todo-filter-files)
10698 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10699 (todo-initial-category, todo-initial-file, todo-item-mark)
10700 (todo-legacy-date-time-regexp, todo-mode-line-function)
10701 (todo-nondiary-marker, todo-number-prefix)
10702 (todo-print-buffer-function, todo-show-current-file)
10703 (todo-show-done-only, todo-show-first, todo-show-with-done)
10704 (todo-skip-archived-categories, todo-top-priorities-overrides)
10705 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10706 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10707 New defcustoms.
10708 (todo-category-done, todo-date-pattern, todo-date-string-start)
10709 (todo-diary-items-buffer, todo-done-string-start)
10710 (todo-filtered-items-buffer, todo-item-start)
10711 (todo-month-abbrev-array, todo-month-name-array)
10712 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10713 (todo-top-priorities-buffer): New defconsts.
10714 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10715 (todo-categories-with-marks, todo-category-string-face)
10716 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10717 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10718 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10719 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10720 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10721 (todo-font-lock-keywords, todo-global-current-todo-file)
10722 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10723 (todo-insertion-commands-args)
10724 (todo-insertion-commands-args-genlist)
10725 (todo-insertion-commands-names, todo-insertion-map)
10726 (todo-key-bindings-t, todo-key-bindings-t+a)
10727 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10728 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10729 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10730 (todo-visited): New variables.
10731
10732 2013-06-21 Glenn Morris <rgm@gnu.org>
10733
10734 * play/cookie1.el (cookie-apropos): Add optional display argument.
10735 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10736 (psychoanalyze-pinhead): Use cookie-doctor.
10737
10738 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10739
10740 * emacs-lisp/package.el (tar-get-file-descriptor)
10741 (tar--extract): Declare.
10742
10743 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10744
10745 Extend flymake's warning predicate to be a function (bug#14217).
10746 * progmodes/flymake.el (flymake-warning-predicate): New.
10747 (flymake-parse-line): Use it.
10748 (flymake-warning-re): Make obsolete alias to
10749 `flymake-warning-predicate'.
10750
10751 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10754 (package-obsolete-list): Remove.
10755 (package-activate): Remove min-version argument. Add `force' argument.
10756 Adjust to new package-alist format.
10757 (package-mark-obsolete): Remove.
10758 (package-unpack): Force reload of the package's autoloads.
10759 (package-installed-p): Check builtins if the installed package is not
10760 recent enough.
10761 (package-initialize): Don't reset package-obsolete-list.
10762 Don't specify which package version to activate.
10763 (package-process-define-package, describe-package-1)
10764 (package-menu--generate): Adjust to new package-alist format.
10765
10766 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10767
10768 * allout-widgets.el (allout-widgets-mode-off)
10769 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10770 (allout-widgets-post-command-business)
10771 (allout-widgets-after-copy-or-kill-function)
10772 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10773 (allout-decorate-item-and-context)
10774 (allout-graphics-modification-handler): Fix typos in docstrings.
10775 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10776
10777 * cmuscheme.el (scheme-start-file): Doc fix.
10778 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10779 (scheme-input-filter): Use `string-match-p'.
10780
10781 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10782
10783 * dired-x.el: Use Dired consistently in docstrings.
10784
10785 * dired.el: Use Dired consistently in docstrings.
10786 (dired-readin, dired-mode): Use `setq-local'.
10787 (dired-switches-alist): Make defvar-local.
10788 (dired-buffers-for-dir): Use `zerop'.
10789 (dired-safe-switches-p, dired-switches-escape-p)
10790 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10791 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10792 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10793 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10794 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10795 (dired-toggle-marks, dired-mark-files-containing-regexp)
10796 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10797 (dired-flag-auto-save-files, dired-flag-backup-files):
10798 Use `looking-at-p'.
10799 (dired-mark-files-regexp, dired-build-subdir-alist):
10800 Use `string-match-p', `looking-at-p'.
10801
10802 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10803 (direct-print-region-helper): Use `string-match-p'.
10804
10805 2013-06-21 Leo Liu <sdl.web@gmail.com>
10806
10807 * comint.el (comint-redirect-results-list-from-process):
10808 Fix infinite loop.
10809
10810 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10811
10812 * net/eww.el (eww-update-header-line-format): Quote % characters.
10813
10814 2013-06-21 Glenn Morris <rgm@gnu.org>
10815
10816 * play/cookie1.el (cookie): New custom group.
10817 (cookie-file): New option.
10818 (cookie-check-file): New function.
10819 (cookie): Make it interactive. Make start and end messages optional.
10820 Interactively, display the result. Default to cookie-file.
10821 (cookie-insert): Default to cookie-file.
10822 (cookie-snarf): Make start and end messages optional.
10823 Default to cookie-file. Use with-temp-buffer.
10824 (cookie-read): Rename from read-cookie.
10825 Make start and end messages optional. Default to cookie-file.
10826 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10827 Do not autoload it.
10828 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10829 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10830
10831 2013-06-21 Leo Liu <sdl.web@gmail.com>
10832
10833 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10834
10835 2013-06-21 Glenn Morris <rgm@gnu.org>
10836
10837 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10838
10839 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10840 Daniel Hackney <dan@haxney.org>
10841
10842 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10843 Consolidate the single-file vs tarball code.
10844 (package-desc-suffix): New function.
10845 (package-desc-full-name): Don't bother inlining it.
10846 (package-load-descriptor): Return the new package-desc.
10847 (package-mark-obsolete): Remove unused arg `package'.
10848 (package-unpack): Make it work for single files as well.
10849 Make it update package-alist.
10850 (package--make-autoloads-and-stuff): Rename from
10851 package--make-autoloads-and-compile. Don't compile any more.
10852 (package--compile): New function.
10853 (package-generate-description-file): New function, extracted from
10854 package-unpack-single.
10855 (package-unpack-single): Remove.
10856 (package--with-work-buffer): Add indentation and debugging info.
10857 (package-download-single): Remove.
10858 (package-install-from-archive): Rename from package-download-tar, make
10859 it take a pkg-desc, and make it work for single files as well.
10860 (package-download-transaction): Simplify.
10861 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10862 external tar program.
10863 (package-install-from-buffer): Remove `pkg-desc' argument.
10864 Use package-tar-file-info for tar-mode buffers.
10865 (package-install-file): Simplify accordingly.
10866 (package-archive-base): Change to take a pkg-desc.
10867 * tar-mode.el (tar--check-descriptor): New function, extracted from
10868 tar-get-descriptor.
10869 (tar-get-descriptor): Use it.
10870 (tar-get-file-descriptor): New function.
10871 (tar--extract): New function, extracted from tar-extract.
10872 (tar--extract): Use it.
10873 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10874 case the summary uses non-ascii. Adjust to new calling convention of
10875 package-tar-file-info.
10876
10877 2013-06-21 Leo Liu <sdl.web@gmail.com>
10878
10879 * comint.el (comint-redirect-results-list-from-process):
10880 Fix random delay. (Bug#14681)
10881
10882 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10883
10884 * profiler.el (profiler-format-number): Use log, not log10.
10885
10886 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10887
10888 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10889
10890 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10891
10892 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10893 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10894 yet available.
10895 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10896 (AUTOGENEL): ... here.
10897 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10898 (cl--defsubst-expand): Use it.
10899
10900 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10901
10902 * subr.el (log10): Move here from C code, and declare as obsolete.
10903 All uses of (log10 X) replaced with (log X 10).
10904
10905 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10906
10907 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10908 Declare with `defvar-local'.
10909 (tabulated-list-use-header-line, tabulated-list-entries)
10910 (tabulated-list-padding, tabulated-list-printer)
10911 (tabulated-list-sort-key): Declare with `defvar-local'.
10912 (tabulated-list-init-header, tabulated-list-print-fake-header):
10913 Use `setq-local'.
10914
10915 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10916
10917 * arc-mode.el (archive-mode): Add `archive-write-file' to
10918 `write-contents-functions' also for remote files. (Bug#14652)
10919
10920 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10921
10922 * cus-edit.el (custom-commands): Fix typos.
10923 (custom-display): Fix tooltip text.
10924 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10925 Fix typos in docstrings.
10926 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10927 (custom-unlispify-menu-entry, custom-magic-value-create)
10928 (custom-add-see-also, custom-group-value-create): Use ?\s.
10929 (custom-guess-type, customize-apropos, editable-field)
10930 (custom-face-value-create): Use `string-match-p'.
10931 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10932
10933 * custom.el (custom-load-symbol): Use `string-match-p'.
10934
10935 * ansi-color.el: Convert to lexical binding.
10936 (ansi-colors): Fix URL.
10937 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10938 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10939 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10940
10941 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10942
10943 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10944
10945 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10946
10947 2013-06-19 Tom Tromey <tromey@redhat.com>
10948
10949 * net/eww.el (eww-top-url): Remove.
10950 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10951 (eww-render): Set new variables. Don't set eww-top-url.
10952 (eww-handle-link): Handle "prev", "home", and "contents".
10953 Downcase the rel text.
10954 (eww-top-url): Choose best top URL.
10955
10956 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10957
10958 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10959 relying in widget.el. Using widget.el leads to too many
10960 user interface inconsistencies.
10961 (eww-self-insert): Implement entering commands in text fields.
10962 (eww-process-text-input): New function to make text input field editing
10963 work.
10964 (eww-submit): Rewrite to use the new-style form methods.
10965 (eww-select-display): Display the correct selected item.
10966 (eww-change-select): Implement changing the select value.
10967 (eww-toggle-checkbox): Implement radio/checkboxes.
10968 (eww-update-field): Fix compilation error.
10969 (eww-tag-textarea): Implement <textarea>.
10970
10971 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10972 we don't shadow mode-specific bindings.
10973
10974 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10975 nothing to push.
10976
10977 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10978
10979 2013-06-19 Glenn Morris <rgm@gnu.org>
10980
10981 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10982
10983 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10984
10985 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10986 not needed.
10987
10988 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10989
10990 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10991
10992 * net/browse-url.el (browse-url-browser-function):
10993 `eww-browse-url' has the right calling signature, `eww' does not.
10994
10995 2013-06-19 Glenn Morris <rgm@gnu.org>
10996
10997 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10998 Only eval autoloaded macros.
10999 (byte-compile-autoload): Only give the macro warning for macros.
11000
11001 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11002 (ps-underlined-faces): Declare.
11003
11004 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11005 (speedbar-add-supported-extension): Declare.
11006
11007 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11008 Don't include a date stamp in the header of the generated file;
11009 it leads to needless differences between output files.
11010
11011 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11012
11013 * net/secrets.el (secrets-struct-secret-content-type):
11014 Replace check of introspection data by a test call of "CreateItem".
11015 Some servers do not offer introspection.
11016
11017 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11018
11019 * electric.el (electric-pair-mode): Improve interaction with
11020 electric-layout-mode.
11021 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11022 (electric-pair-syntax): Use text-mode-syntax-table in comments
11023 and strings.
11024 (electric-pair--insert): New function.
11025 (electric-pair-post-self-insert-function): Use it and
11026 electric--after-char-pos.
11027
11028 2013-06-19 Leo Liu <sdl.web@gmail.com>
11029
11030 * progmodes/octave.el (octave-help): Fix regexp.
11031
11032 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11033
11034 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11035 (shr-table-horizontal-line): Allow nil as a value, and change the
11036 default.
11037 (shr-insert-table-ruler): Respect the nil value.
11038
11039 2013-06-18 Tom Tromey <tromey@barimba>
11040
11041 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11042 New defvars.
11043 (eww-open-file): New defun.
11044 (eww-render): Initialize new variables.
11045 (eww-display-html): Handle "link" and "a".
11046 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11047 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11048 (eww-back-url): Rename from eww-previous-url.
11049 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11050 New defuns.
11051
11052 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11053
11054 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11055 Distinguish ternary operator tokens from slash symbol and slash
11056 char literal.
11057
11058 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11059
11060 Convert symbol prettification into minor mode and global minor mode.
11061
11062 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11063 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11064 (prettify-symbols--keywords): Rename from
11065 `prog-prettify-symbols-alist' and make a local defvar.
11066 (prettify-symbols--compose-symbol): Rename from
11067 `prog--prettify-font-lock-compose-symbol'.
11068 (prettify-symbols--make-keywords): Rename from
11069 `prog-prettify-font-lock-symbols-keywords' and simplify.
11070 (prog-prettify-install): Remove.
11071 (prettify-symbols-mode): New minor mode, based on
11072 `prog-prettify-install'.
11073 (turn-on-prettify-symbols-mode): New function.
11074 (global-prettify-symbols-mode): New globalized minor mode.
11075
11076 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11077 * progmodes/cfengine.el (cfengine3-mode):
11078 * progmodes/perl-mode.el (perl-mode): Don't call
11079 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11080
11081 2013-06-18 Juri Linkov <juri@jurta.org>
11082
11083 * files-x.el (modify-file-local-variable-message): New function.
11084 (modify-file-local-variable)
11085 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11086 and call `modify-file-local-variable-message' when it's non-nil.
11087 (add-file-local-variable, delete-file-local-variable)
11088 (add-file-local-variable-prop-line)
11089 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11090 and use it. (Bug#9820)
11091
11092 2013-06-18 Juri Linkov <juri@jurta.org>
11093
11094 * emulation/vi.el (vi-shell-op):
11095 * emulation/vip.el (vip-execute-com, ex-command):
11096 * emulation/viper-cmd.el (viper-exec-bang):
11097 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11098 the call of `shell-command-on-region'. (Bug#14637)
11099
11100 * simple.el (shell-command-on-region): Doc fix.
11101
11102 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11103
11104 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11105 (bug#14633).
11106
11107 2013-06-18 Glenn Morris <rgm@gnu.org>
11108
11109 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11110
11111 * newcomment.el (comment-search-forward, comment-search-backward):
11112 Doc fix. (Bug#14376)
11113
11114 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11115
11116 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11117 (buffer-face-mode-invoke): Doc fix.
11118
11119 2013-06-18 Matthias Meulien <orontee@gmail.com>
11120
11121 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11122 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11123
11124 2013-06-18 Glenn Morris <rgm@gnu.org>
11125
11126 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11127 Replace obsolete function generic-make-keywords with its expansion.
11128
11129 * progmodes/python.el (ffap-alist): Declare.
11130
11131 * textmodes/reftex.el (bibtex-mode-map): Declare.
11132
11133 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11134
11135 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11136 (package-unpack, package-unpack-single): Return the pkg-dir.
11137 (package-download-transaction): Use it to update package-alist.
11138
11139 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11140
11141 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11142 possible choice.
11143
11144 2013-06-17 Juri Linkov <juri@jurta.org>
11145
11146 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11147
11148 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11149
11150 * emacs-lisp/package.el (package-load-descriptor):
11151 Remove `with-syntax-table' call, `read' doesn't need it.
11152 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11153
11154 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11155
11156 * startup.el (command-line): Expand package name returned by
11157 `package--description-file' (bug#14639).
11158
11159 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11160
11161 * emacs-lisp/package.el (package-load-descriptor): Do not call
11162 `emacs-lisp-mode', just use its syntax table.
11163
11164 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11165
11166 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11167 `font-lock-extra-managed-props' if any prettifying keyword is added.
11168 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11169 (prog-mode): Use `setq-local'.
11170
11171 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11172
11173 * international/characters.el (standard-case-table): Set syntax of ?»
11174 and ?« to punctuation.
11175
11176 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11177
11178 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11179 Save relevant match data before calling `syntax-ppss' (bug#14595).
11180
11181 2013-06-15 Juri Linkov <juri@jurta.org>
11182
11183 * files-x.el (modify-file-local-variable-prop-line): Add local
11184 variables to the end of the existing comment on the first line.
11185 Use `file-auto-mode-skip' to skip interpreter magic line,
11186 and also skip XML declaration.
11187
11188 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11189
11190 * startup.el (package--builtin-versions): New var.
11191 (package-subdirectory-regexp): Remove.
11192 (package--description-file): Hard code its value instead.
11193
11194 * emacs-lisp/package.el: Don't activate packages older than builtin.
11195 (package-obsolete-list): Rename from package-obsolete-alist, and make
11196 it into a simple list of package-desc.
11197 (package-strip-version): Remove.
11198 (package-built-in-p): Use package--builtin-versions.
11199 (package-mark-obsolete): Simplify.
11200 (package-process-define-package): Mark it obsolete if older than the
11201 builtin version.
11202 (package-handle-response): Use line-end-position.
11203 (package-read-archive-contents, package--download-one-archive):
11204 Simplify.
11205 (package--add-to-archive-contents): Skip if older than the builtin or
11206 installed version.
11207 (package-menu-describe-package): Fix last change.
11208 (package-list-unversioned): New var.
11209 (package-menu--generate): Use it.
11210
11211 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11212 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11213 (autoload-builtin-package-versions): New variable.
11214 (autoload-generate-file-autoloads): Use them.
11215 Remove the list of autoloaded functions/macros from the
11216 (autoload...) comments.
11217
11218 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11219
11220 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11221
11222 * simple.el (line-move-partial): Don't jump to the next screen
11223 line as soon as it becomes visible. Instead, continue enlarging
11224 the vscroll until the portion of a tall screen line that's left on
11225 display is about the height of the frame's default font.
11226 (Bug#14567)
11227
11228 2013-06-15 Glenn Morris <rgm@gnu.org>
11229
11230 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11231 compilation-error-regexp-alist void, or local while let-bound.
11232
11233 * progmodes/make-mode.el (makefile-mode-syntax-table):
11234 Treat "=" as punctuation. (Bug#14614)
11235
11236 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11237
11238 * help-fns.el (describe-variable):
11239 Add extra line for permanent-local variables.
11240
11241 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
11242
11243 * progmodes/scheme.el (scheme-font-lock-keywords-2):
11244 Add export, import, library. (Bug#9164)
11245 (library): Set indent function.
11246
11247 2013-06-14 Glenn Morris <rgm@gnu.org>
11248
11249 * term/xterm.el (xterm--query):
11250 Stop after first matching handler. (Bug#14615)
11251
11252 2013-06-14 Ivan Kanis <ivan@kanis.fr>
11253
11254 Add support for dired in saveplace.
11255 * dired.el (dired-initial-position-hook): New variable.
11256 (dired-initial-position): Call hook to place cursor position.
11257 * saveplace.el (save-place-to-alist): Add dired position.
11258 (save-place-dired-hook): New function.
11259
11260 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
11261
11262 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
11263 through a symbol rather than letrec.
11264
11265 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
11266 (package-desc): Add `dir' field.
11267 (package-desc-full-name): New function.
11268 (package-load-descriptor): Combine the two arguments. Don't use `load'.
11269 (package-maybe-load-descriptor): Remove.
11270 (package-load-all-descriptors): Just call package-load-descriptor.
11271 (package--disabled-p): New function.
11272 (package-desc-vers, package-desc-doc): Remove aliases.
11273 (package--dir): Remove function.
11274 (package-activate): Check if a package is disabled.
11275 (package-process-define-package): New function, extracted from
11276 define-package.
11277 (define-package): Turn into a place holder.
11278 (package-unpack-single, package-tar-file-info):
11279 Use package--description-file.
11280 (package-compute-transaction): Use package--disabled-p.
11281 (package-download-transaction): Don't call
11282 package-maybe-load-descriptor since they're all loaded anyway.
11283 (package-install): Change argument to be a pkg-desc.
11284 (package-delete): Use a single pkg-desc argument.
11285 (describe-package-1): Use package-desc-dir instead of package--dir.
11286 Use package-desc property instead of package-symbol.
11287 (package-install-button-action): Adjust accordingly.
11288 (package--push): Rewrite.
11289 (package-menu--print-info): Adjust accordingly. Change the ID format
11290 to be a pkg-desc.
11291 (package-menu-describe-package, package-menu-get-status)
11292 (package-menu--find-upgrades, package-menu-mark-upgrades)
11293 (package-menu-execute, package-menu--name-predicate):
11294 Adjust accordingly.
11295 * startup.el (package--description-file): New function.
11296 (command-line): Use it.
11297 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11298 Use package-desc-version.
11299
11300 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11301 (byte-compile-preprocess): Use it.
11302 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11303 can't quite recognize.
11304 (byte-compile-add-to-list): Remove.
11305 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11306 (cconv-closure-convert): Add assertion.
11307
11308 * emacs-lisp/map-ynp.el: Use lexical-binding.
11309 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11310 Factor out some repeated code.
11311
11312 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11313
11314 * subr.el (with-eval-after-load): New macro.
11315 (eval-after-load): Allow form to be a function.
11316 take advantage of lexical-binding.
11317 (do-after-load-evaluation): Use dolist and adjust to new format.
11318 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11319
11320 2013-06-13 Juri Linkov <juri@jurta.org>
11321
11322 * replace.el (perform-replace): Display "symbol " and other search
11323 modes from `isearch-message-prefix' in the *Help* buffer.
11324
11325 * isearch.el (isearch-query-replace): Add " symbol" and other
11326 possible search modes from `isearch-message-prefix' to the prompt.
11327 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11328 when reading a regexp to collect.
11329
11330 2013-06-13 Juri Linkov <juri@jurta.org>
11331
11332 * isearch.el (word-search-regexp): Match whitespace if the search
11333 string begins or ends in whitespace. The LAX arg is applied to
11334 both ends of the search string. Use `regexp-quote' and explicit
11335 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11336 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11337 boundaries are replaced with symbol boundaries, and characters
11338 between symbols match non-word non-symbol syntax. (Bug#14602)
11339
11340 2013-06-13 Juri Linkov <juri@jurta.org>
11341
11342 * isearch.el (isearch-del-char): Don't exceed the length of
11343 `isearch-string' by the prefix arg. (Bug#14563)
11344
11345 2013-06-13 Juri Linkov <juri@jurta.org>
11346
11347 * isearch.el (isearch-yank-word, isearch-yank-line)
11348 (isearch-char-by-name, isearch-quote-char)
11349 (isearch-printing-char, isearch-process-search-char):
11350 Add optional count prefix arg. (Bug#14563)
11351
11352 * international/isearch-x.el
11353 (isearch-process-search-multibyte-characters):
11354 Add optional count prefix arg.
11355
11356 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11359 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11360 lexical-binding.
11361
11362 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11363
11364 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11365
11366 2013-06-13 Glenn Morris <rgm@gnu.org>
11367
11368 * startup.el (tty-handle-args):
11369 Don't just discard "--" and anything after. (Bug#14608)
11370
11371 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11372
11373 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11374
11375 Implement changes in Secret Service API. Make it backward compatible.
11376 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11377 (secrets-create-item): Use it. Prefix properties with interface.
11378
11379 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11380
11381 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11382 (term-emulate-terminal): Respect term-suppress-hard-newline.
11383
11384 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11385
11386 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11387 Only remove a `thumb-file' overlay. (Bug#14548)
11388
11389 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11390
11391 * mail/reporter.el (reporter-submit-bug-report):
11392 Handle missing package-name. (Bug#14600)
11393
11394 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11395
11396 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11397 (reftex-citation-prompt, reftex-default-bibliography)
11398 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11399 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11400 (reftex-bib-sort-author, reftex-bib-sort-year)
11401 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11402 (reftex-extract-bib-entries-from-thebibliography)
11403 (reftex-get-bibkey-default, reftex-get-bib-names)
11404 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11405 (reftex-format-bib-entry, reftex-parse-bibitem)
11406 (reftex-format-bibitem, reftex-do-citation)
11407 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11408 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11409 (reftex-insert-bib-matches, reftex-format-citation)
11410 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11411 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11412 existing comments into docstrings.
11413
11414 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11415
11416 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11417
11418 2013-06-12 Andreas Schwab <schwab@suse.de>
11419
11420 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11421 for auto-save files.
11422
11423 2013-06-12 Glenn Morris <rgm@gnu.org>
11424
11425 * ido.el (ido-delete-ignored-files): Remove.
11426 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11427 Go back to calling ido-ignore-item-p directly.
11428
11429 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11430
11431 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11432
11433 * ido.el (ido-delete-ignored-files): New function,
11434 split from ido-make-file-list-1.
11435 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11436 (ido-make-file-list-1): Use ido-delete-ignored-files.
11437
11438 2013-06-12 Leo Liu <sdl.web@gmail.com>
11439
11440 * progmodes/octave.el (inferior-octave-startup)
11441 (inferior-octave-completion-table)
11442 (inferior-octave-track-window-width-change)
11443 (octave-eldoc-function-signatures, octave-help)
11444 (octave-find-definition): Use single quoted strings.
11445 (inferior-octave-startup-args): Change default value.
11446 (inferior-octave-startup): Do not hard code "-i" and
11447 "--no-line-editing".
11448 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11449 (inferior-octave-directory-tracker): Use it.
11450 (octave-goto-function-definition): Robustify.
11451 (octave-help): Support highlighting operators in 'See also'.
11452 (octave-find-definition): Find subfunctions only in Octave mode.
11453
11454 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11455
11456 * help-fns.el (help-fns--compiler-macro): If the handler function is
11457 named, then put a link to it.
11458 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11459 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11460 (cl-typep): Use it.
11461 (cl-eval-when): Simplify debug spec.
11462 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11463 compiler-macro function instead of setting `compiler-macro-file'.
11464
11465 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11466
11467 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11468 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11469
11470 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11471 Daniel Hackney <dan@haxney.org>
11472
11473 First part of Daniel Hackney's patch to package.el.
11474 * emacs-lisp/package.el: Use defstruct.
11475 (package-desc): New, main struct.
11476 (package--bi-desc, package--ac-desc): New structs, used to describe the
11477 format in external files.
11478 (package-desc-vers): Replace with package-desc-version accessor.
11479 (package-desc-doc): Replace with package-desc-summary accessor.
11480 (package-activate-1): Remove `package' arg since the pkg-vec now
11481 includes the name.
11482 (define-package): Use package-desc-from-define.
11483 (package-unpack-single): Change file-name arg to be a symbol.
11484 (package--add-to-archive-contents): Use package-desc-create and new
11485 accessor functions to package--ac-desc.
11486 (package-buffer-info, package-tar-file-info): Return a package-desc.
11487 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11488 arg to be a package-desc.
11489 (package-install-file): Adjust accordingly. Use \' to match EOS.
11490 (package--from-builtin): New function.
11491 (describe-package-1, package-menu--generate): Use it.
11492 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11493 (package-generate-autoloads): Idem and return the name of the file.
11494 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11495 Change pkg-info arg to be a package-desc.
11496 Use package-make-ac-desc.
11497 (package-upload-file): Use \' to match EOS.
11498 * finder.el (finder-compile-keywords): Use package-make-builtin.
11499
11500 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * vc/vc.el (vc-deduce-fileset): Change error message.
11503 (vc-read-backend): New function.
11504 (vc-next-action): Use it.
11505
11506 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11507
11508 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11509 (prolog-font-lock-keywords): Use regexp-opt instead.
11510 Don't manually highlight strings.
11511 (prolog-mode-variables): Simplify comment-start-skip.
11512 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11513
11514 * emacs-lisp/generic.el (generic--normalise-comments)
11515 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11516 (generic-mode-set-comments): Use them.
11517 (generic-bracket-support): Use setq-local.
11518 (generic-make-keywords-list): Declare obsolete.
11519
11520 2013-06-11 Glenn Morris <rgm@gnu.org>
11521
11522 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11523 Prettify after setting font-lock-defaults. (Bug#14574)
11524
11525 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11526
11527 * replace.el (query-replace, occur-read-regexp-defaults-function)
11528 (replace-search):
11529 * subr.el (declare-function, number-sequence, local-set-key)
11530 (substitute-key-definition, locate-user-emacs-file)
11531 (with-silent-modifications, split-string, eval-after-load):
11532 Fix typos, remove unneeded backslashes and reflow some docstrings.
11533
11534 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11535
11536 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11537 default for Elisp files.
11538
11539 2013-06-11 Glenn Morris <rgm@gnu.org>
11540
11541 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11542 although define-derived-mode was doing this anyway. (Bug#14583)
11543
11544 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11545
11546 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11547 Fix make-variable-buffer-local call to refer to the correct variable.
11548
11549 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11550
11551 * eshell/em-term.el (eshell-visual-commands)
11552 (eshell-visual-subcommands, eshell-visual-options):
11553 Add summary line to docstrings. Add cross-references.
11554
11555 2013-06-10 Glenn Morris <rgm@gnu.org>
11556
11557 * epa.el (epa-read-file-name): New function. (Bug#14510)
11558 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11559
11560 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11561
11562 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11563 output redirection to be ignored with visual commands.
11564
11565 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11566
11567 * eshell/em-term.el (eshell-visual-command-p): New function.
11568 (eshell-term-initialize): Move long lambda to separate function
11569 eshell-visual-command-p.
11570 * eshell/em-dirs.el (eshell-dirs-initialize):
11571 * eshell/em-script.el (eshell-script-initialize):
11572 Add missing #' to lambda.
11573
11574 2013-06-08 Leo Liu <sdl.web@gmail.com>
11575
11576 * progmodes/octave.el (octave-add-log-current-defun): New function.
11577 (octave-mode): Set add-log-current-defun-function.
11578 (octave-goto-function-definition): Do not move point if not found.
11579 (octave-find-definition): Enhance to try subfunctions first.
11580
11581 2013-06-08 Glenn Morris <rgm@gnu.org>
11582
11583 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11584 (byte-compile-backward-char, byte-compile-backward-word):
11585 Improve previous change, to handle non-explicit nil.
11586
11587 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11590 (smie--opener/closer-at-point): New function.
11591 (smie--matching-block-data): Use it. Don't match from right after an
11592 opener or right before a closer. Obey smie-blink-matching-inners.
11593 Don't signal a mismatch for repeated inners like "switch..case..case".
11594
11595 2013-06-07 Leo Liu <sdl.web@gmail.com>
11596
11597 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11598 to t. (Bug#14303)
11599 (octave-function-header-regexp): Fix. (Bug#14570)
11600 (octave-help-mode-finish-hook, octave-help-mode-finish):
11601 Remove. Just use temp-buffer-show-hook.
11602
11603 * newcomment.el (comment-search-backward): Revert last change.
11604 (Bug#14434)
11605
11606 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11607
11608 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11609
11610 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11611 through xargs, to avoid failure due to MS-Windows limitations on
11612 command-line length.
11613
11614 2013-06-06 Glenn Morris <rgm@gnu.org>
11615
11616 * font-lock.el (lisp-font-lock-keywords-2):
11617 Treat user-error like error.
11618
11619 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11620 (byte-compile-backward-char, byte-compile-backward-word):
11621 Handle explicit nil arguments. (Bug#14565)
11622
11623 2013-06-05 Alan Mackenzie <acm@muc.de>
11624
11625 * isearch.el (isearch-allow-prefix): New user option.
11626 (isearch-other-meta-char): Don't exit isearch when a prefix
11627 argument is typed whilst `isearch-allow-prefix' is non-nil.
11628 (Bug#9706)
11629
11630 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * autorevert.el (auto-revert-notify-handler): Use memq.
11633 Hide assertion failure.
11634
11635 * skeleton.el: Use cl-lib.
11636 (skeleton-further-elements): Use defvar-local.
11637 (skeleton-insert): Use cl-progv.
11638
11639 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11640
11641 * progmodes/prog-mode.el (prog-prettify-symbols)
11642 (prog-prettify-install): Update docstrings.
11643
11644 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11645
11646 * simple.el: Move all the prog-mode code to prog-mode.el.
11647 * progmodes/prog-mode.el: New file.
11648 * loadup.el: Add prog-mode.el.
11649
11650 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11651
11652 * simple.el (prog-prettify-symbols): Add version.
11653 (prog-prettify-install): Add convenience function to prettify symbols.
11654
11655 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11656 (perl--augmented-font-lock-keywords-1)
11657 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11658 variables and use it.
11659
11660 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11661 (cfengine3-mode): Remove unneeded variable and use it.
11662
11663 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11664 (lisp--augmented-font-lock-keywords-1)
11665 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11666 Remove unneeded variables and use it.
11667
11668 2013-06-05 João Távora <joaotavora@gmail.com>
11669
11670 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11671 to point when opening the connection. (Bug#14380)
11672
11673 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11674
11675 * subr.el (load-history-regexp, load-history-filename-element)
11676 (eval-after-load, after-load-functions, do-after-load-evaluation)
11677 (eval-next-after-load, display-delayed-warnings)
11678 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11679 definition of save-match-data.
11680 (overriding-local-map): Remove accidental obsolescence declaration.
11681
11682 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11683
11684 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11685
11686 Generalize symbol prettify support to prog-mode and implement it
11687 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11688 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11689 (prog--prettify-font-lock-compose-symbol)
11690 (prog-prettify-font-lock-symbols-keywords): New variables and
11691 functions to support symbol prettification.
11692 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11693 (lisp--augmented-font-lock-keywords-1)
11694 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11695 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11696 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11697 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11698 Implement prettify of -> => :: strings.
11699 * progmodes/perl-mode.el (perl-prettify-symbols)
11700 (perl--font-lock-compose-symbol)
11701 (perl--font-lock-symbols-keywords): Move to prog-mode.
11702 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11703 (perl-font-lock-keywords-1)
11704 (perl-font-lock-keywords-2): Remove explicit prettify support.
11705 (perl--augmented-font-lock-keywords)
11706 (perl--augmented-font-lock-keywords-1)
11707 (perl--augmented-font-lock-keywords-2, perl-mode):
11708 Implement prettify support.
11709
11710 2013-06-05 Leo Liu <sdl.web@gmail.com>
11711
11712 Re-implement SMIE matching block highlight using
11713 show-paren-data-function. (Bug#14395)
11714 * emacs-lisp/smie.el (smie-matching-block-highlight)
11715 (smie--highlight-matching-block-overlay)
11716 (smie--highlight-matching-block-lastpos)
11717 (smie-highlight-matching-block)
11718 (smie-highlight-matching-block-mode): Remove.
11719 (smie--matching-block-data-cache): New variable.
11720 (smie--matching-block-data): New function.
11721 (smie-setup): Use smie--matching-block-data for
11722 show-paren-data-function.
11723
11724 * progmodes/octave.el (octave-mode-menu): Fix.
11725 (octave-find-definition): Skip garbage lines.
11726
11727 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11728
11729 Fix compilation error with simultaneous dynamic+lexical scoping.
11730 Add warning when a defvar appears after the first let-binding.
11731 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11732 (byte-compile-close-variables): Initialize it.
11733 (byte-compile--declare-var): New function.
11734 (byte-compile-file-form-defvar)
11735 (byte-compile-file-form-define-abbrev-table)
11736 (byte-compile-file-form-custom-declare-variable): Use it.
11737 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11738 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11739 (byte-compile-bind): Handle dynamic bindings that shadow
11740 lexical bindings.
11741 (byte-compile-unbind): Make arg non-optional.
11742 (byte-compile-let): Simplify.
11743 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11744 (cconv--analyse-function, cconv-analyse-form): Populate it.
11745 Protect byte-compile-bound-variables to limit the scope of defvars.
11746 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11747 Remove unneeded rule for `declare'.
11748
11749 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11750 so as to avoid depending on cl-adjoin at run-time.
11751 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11752
11753 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11754 (macroexp--warn-and-return): Use it.
11755
11756 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11757
11758 * subr.el: Convert to lexical binding.
11759 (overriding-local-map): Make obsolete.
11760 (add-to-list): Doc fix. Add compiler macro.
11761 (read-key): Swap values of local maps.
11762
11763 2013-06-05 Leo Liu <sdl.web@gmail.com>
11764
11765 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11766
11767 2013-06-04 Leo Liu <sdl.web@gmail.com>
11768
11769 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11770 (compilation-auto-jump): Suppress the "Mark set" message to give
11771 way to exit message.
11772
11773 2013-06-04 Alan Mackenzie <acm@muc.de>
11774
11775 Remove faulty optimisation from indentation calculation.
11776 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11777 search limit based on 2000 characters back from indent-point.
11778
11779 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11780
11781 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11782
11783 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11784
11785 * emacs-lisp/lisp.el: Use lexical-binding.
11786 (lisp--local-variables-1, lisp--local-variables): New functions.
11787 (lisp--local-variables-completion-table): New var.
11788 (lisp-completion-at-point): Use it complete let-bound vars.
11789
11790 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11791 eagerly (bug#14422).
11792
11793 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11794
11795 * autorevert.el (auto-revert-notify-enabled)
11796 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11797 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11798 (auto-revert-notify-handler): Handle also gfilenotify.
11799
11800 * subr.el (file-notify-handle-event): New defun. Replacing ...
11801 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11802 Remove.
11803
11804 2013-06-03 Juri Linkov <juri@jurta.org>
11805
11806 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11807 `M-s h .'. (Bug#14427)
11808
11809 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11810 command `hi-lock-face-symbol-at-point'.
11811 (hi-lock-face-symbol-at-point): New command.
11812 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11813 (hi-lock-menu): Add `highlight-symbol-at-point'.
11814 (hi-lock-mode): Doc fix.
11815
11816 * isearch.el (isearch-forward-symbol-at-point): New command.
11817 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11818 (isearch-highlight-regexp): Add a regexp which matches
11819 words/symbols for word/symbol mode.
11820
11821 * subr.el (find-tag-default-bounds): New function with the body
11822 mostly moved from `find-tag-default'.
11823 (find-tag-default): Move most code to `find-tag-default-bounds',
11824 call it and apply `buffer-substring-no-properties' afterwards.
11825
11826 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11827
11828 * eshell/em-term.el (eshell-term-initialize):
11829 Use `cl-intersection' rather than `intersection'.
11830
11831 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11832
11833 * vc/log-view.el: Doc fix.
11834 (log-view-mode-map): Copy keymap from `special-mode-map'.
11835
11836 2013-06-02 Eric Ludlam <zappo@gnu.org>
11837
11838 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11839 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11840 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11841 (eieio-unbound, eieio-default-superclass)
11842 (eieio--define-field-accessors, method-static, method-before)
11843 (method-primary, method-after, method-num-lists)
11844 (method-generic-before, method-generic-primary)
11845 (method-generic-after, method-num-slots)
11846 (eieio-specialized-key-to-generic-key)
11847 (eieio--check-type, class-v, class-p)
11848 (eieio-class-name, define-obsolete-function-alias)
11849 (eieio-class-parents-fast, eieio-class-children-fast)
11850 (same-class-fast-p, class-constructor, generic-p)
11851 (generic-primary-only-p, generic-primary-only-one-p)
11852 (class-option-assoc, class-option, eieio-object-p)
11853 (class-abstract-p, class-method-invocation-order)
11854 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11855 (eieio-class-un-autoload, eieio-defclass)
11856 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11857 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11858 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11859 (eieio-defgeneric-reset-generic-form)
11860 (eieio-defgeneric-form-primary-only)
11861 (eieio-defgeneric-reset-generic-form-primary-only)
11862 (eieio-defgeneric-form-primary-only-one)
11863 (eieio-defgeneric-reset-generic-form-primary-only-one)
11864 (eieio-unbind-method-implementations)
11865 (eieio--defmethod, eieio--typep)
11866 (eieio-perform-slot-validation, eieio-validate-slot-value)
11867 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11868 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11869 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11870 (eieio-slot-name-index, eieio-class-slot-name-index)
11871 (eieio-set-defaults, eieio-initarg-to-attribute)
11872 (eieio-attribute-to-initarg, eieio-c3-candidate)
11873 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11874 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11875 (eieio-class-precedence-list, eieio-generic-call-methodname)
11876 (eieio-generic-call-arglst, eieio-generic-call-key)
11877 (eieio-generic-call-next-method-list)
11878 (eieio-pre-method-execution-functions, eieio-generic-call)
11879 (eieio-generic-call-primary-only, eieiomt-method-list)
11880 (eieiomt-optimizing-obarray, eieiomt-install)
11881 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11882 (eieio-generic-form, eieio-defmethod, make-obsolete)
11883 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11884 (defclass): Remove `eval-and-compile' from macro.
11885 (call-next-method, shared-initialize): Instead of using
11886 `scoped-class' variable, use new eieio--scoped-class, and
11887 eieio--with-scoped-class.
11888 (initialize-instance): Rename local variable 'scoped-class' to
11889 'this-class' to remove ambiguitity from old global.
11890
11891 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11892 eieio.el.
11893 (eieio--scoped-class-stack): New variable.
11894 (eieio--scoped-class): New fcn.
11895 (eieio--with-scoped-class): New scoping macro.
11896 (eieio-defclass): Use pushnew instead of add-to-list.
11897 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11898 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11899 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11900 `scoped-class' variable, use new eieio--scoped-class, and
11901 eieio--with-scoped-class.
11902
11903 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11904
11905 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11906
11907 * eshell/esh-ext.el (eshell-external-command): Pass args to
11908 `eshell-find-interpreter'.
11909 (eshell-find-interpreter): Add new second parameter ARGS.
11910
11911 * eshell/em-script.el (eshell-script-initialize): Add second arg
11912 to the function added as MATCH to `eshell-interpreter-alist'.
11913
11914 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11915 the function added as MATCH to `eshell-interpreter-alist'.
11916
11917 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11918 (eshell-visual-options): New defcustom.
11919 (eshell-escape-control-x): Adapt docstring.
11920 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11921 `eshell-visual-options' in addition to `eshell-visual-commands'.
11922 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11923
11924 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11925
11926 * progmodes/python.el (python-indent-block-enders): Add break,
11927 continue and raise keywords.
11928
11929 2013-06-01 Glenn Morris <rgm@gnu.org>
11930
11931 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11932
11933 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11934 * progmodes/cc-cmds.el (delete-forward-p):
11935 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11936 * progmodes/cc-engine.el (buffer-syntactic-context):
11937 * progmodes/cc-fonts.el (face-property-instance):
11938 * progmodes/cc-mode.el (set-keymap-parents):
11939 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11940 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11941 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11942 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11943 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11944
11945 * progmodes/cc-vars.el (other): Emacs has this widget since
11946 at least 21.1, so don't (re)define it.
11947
11948 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11949 Replace the obsolete alias pcomplete-arg-quote-list.
11950
11951 2013-06-01 Leo Liu <sdl.web@gmail.com>
11952
11953 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11954 punctuation syntax.
11955 (inferior-octave-minimal-columns)
11956 (inferior-octave-last-column-width): New variables.
11957 (inferior-octave-track-window-width-change): New function.
11958 (inferior-octave-mode): Adjust column width so that Octave output,
11959 for example from 'ls', can fit into the window nicely.
11960
11961 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11962
11963 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11964 Highlight expansions inside regexp literals.
11965
11966 2013-05-31 Glenn Morris <rgm@gnu.org>
11967
11968 * obsolete/sym-comp.el (symbol-complete):
11969 Replace obsolete completion-annotate-function.
11970
11971 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11972
11973 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11974
11975 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11976 New function, checks if point is inside a literal that allows
11977 expression expansion.
11978 (ruby-syntax-propertize-expansion): Use it.
11979 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11980 around the body.
11981
11982 2013-05-30 Juri Linkov <juri@jurta.org>
11983
11984 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11985 to "\M-si".
11986 (isearch-invisible): New variable.
11987 (isearch-forward): Doc fix.
11988 (isearch-mode): Set `isearch-invisible'
11989 to the value of `search-invisible'.
11990 (isearch-toggle-case-fold): Doc fix.
11991 (isearch-toggle-invisible): New command.
11992 (isearch-query-replace): Let-bind `search-invisible'
11993 to the value of `isearch-invisible'.
11994 (isearch-search): Use `isearch-invisible' instead of
11995 `search-invisible'. Let-bind `search-invisible'
11996 to the value of `isearch-invisible'. (Bug#11378)
11997
11998 2013-05-30 Juri Linkov <juri@jurta.org>
11999
12000 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12001 call when `query-flag' is nil and `search-invisible' is non-nil.
12002 (Bug#11746)
12003
12004 2013-05-30 Glenn Morris <rgm@gnu.org>
12005
12006 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12007
12008 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12009 (cc-require): Suppress spurious "noruntime" warnings.
12010 (cc-require-when-compile): Use fboundp, for sake of compiler.
12011
12012 * progmodes/cc-mode.el: Move load of cc-vars before that of
12013 cc-langs (which in turn loads cc-vars), to quieten compiler.
12014
12015 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12016
12017 * paren.el: Simplify the code.
12018 (show-paren-mode): Always start the timer.
12019 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12020 (show-paren--overlay, show-paren--overlay-1): Rename from
12021 show-paren-overlay and show-paren-overlay-1, and initialize to an
12022 overlay rather than to nil.
12023 (show-paren-function): Misc cleanup and simplifications.
12024
12025 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12026
12027 * paren.el (show-paren-data-function): New hook.
12028 (show-paren--default): New function, extracted from show-paren-function.
12029 (show-paren-function): Use show-paren-data-function.
12030
12031 2013-05-30 Glenn Morris <rgm@gnu.org>
12032
12033 * ielm.el (ielm-map, ielm-complete-symbol):
12034 Use completion-at-point rather than obsolete functions.
12035 (inferior-emacs-lisp-mode): Doc fix.
12036 Set completion-at-point-functions, rather than
12037 comint-dynamic-complete-functions.
12038
12039 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12040 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12041 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12042
12043 * image.el (image-animated-p): Tweak definition.
12044
12045 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12046 (rlogin-process-connection-type): Tweak default. Add set-after.
12047 (rlogin-host): Doc fix.
12048 (rlogin): Tweak prompt.
12049 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12050
12051 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12052 * progmodes/tcl.el (inferior-tcl-mode-map):
12053 Use completion-at-point rather than obsolete alias.
12054
12055 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12056
12057 * minibuffer.el (read-file-name-completion-ignore-case):
12058 Move before completion--in-region, for eager macro expansion.
12059
12060 2013-05-29 Juri Linkov <juri@jurta.org>
12061
12062 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12063 for total count of matching lines. Add `global-matches' for total
12064 count of matches. Rename `matches' to `lines' for count of
12065 matching lines. Add `matches' for count of matches.
12066 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12067 to `prev-line' for line number of prev match endpt.
12068 Increment `matches' for every match. Print the number of
12069 matching lines in the header.
12070 (occur-context-lines): Rename `lines' to `curr-line'.
12071 Rename `prev-lines' to `prev-line'. (Bug#14017)
12072
12073 2013-05-29 Juri Linkov <juri@jurta.org>
12074
12075 * replace.el (perform-replace): Add `skip-read-only-count',
12076 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12077 Increment them for corresponding conditions and report the number
12078 of skipped occurrences in the final message. (Bug#11746)
12079 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12080 (replace-string, replace-regexp): Doc fix.
12081
12082 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12085
12086 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12087 prog-mode-map (bug#14504).
12088
12089 2013-05-29 Leo Liu <sdl.web@gmail.com>
12090
12091 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12092 (octave-help): Small simplification.
12093
12094 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12095 off the highlight first.
12096
12097 2013-05-29 Glenn Morris <rgm@gnu.org>
12098
12099 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12100 Handle idlwave-last-system-routine-info-cons-cell being nil.
12101
12102 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12103 (idlwave-write-paths): Simplify via with-temp-buffer.
12104
12105 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12106 * emulation/cua-rect.el: Also load cua-base at run time.
12107
12108 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12109 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12110 (cperl-imenu-on-info): Require imenu.
12111
12112 2013-05-28 Alan Mackenzie <acm@muc.de>
12113
12114 Handle "capitalised keywords" correctly.
12115 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12116
12117 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12118
12119 * eshell/em-unix.el: Add -r option to cp.
12120
12121 2013-05-28 Glenn Morris <rgm@gnu.org>
12122
12123 * vc/vc-arch.el (vc-exec-after): Declare.
12124 (vc-switches): Autoload.
12125 * vc/vc-bzr.el: No need to require vc when compiling.
12126 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12127 (vc-resynch-buffer, vc-dir-refresh): Declare.
12128 (vc-setup-buffer, vc-switches): Autoload.
12129 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12130 (vc-resynch-buffer): Declare.
12131 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12132 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12133 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12134 (grep-read-regexp, grep-read-files, grep-expand-template)
12135 (vc-dir-refresh): Declare.
12136 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12137 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12138 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12139 * vc/vc-mtn.el (vc-exec-after): Declare.
12140 (vc-switches): Autoload.
12141 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12142 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12143 (vc-file-tree-walk): Declare.
12144 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12145 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12146 (vc-tag-precondition, vc-rename-master): Autoload.
12147 * vc/vc-svn.el (vc-exec-after): Declare.
12148 (vc-switches, vc-setup-buffer): Autoload.
12149 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12150 Autoload.
12151 (vc-resynch-buffer): Declare.
12152
12153 * obsolete/fast-lock.el (byte-compile-warnings):
12154 Don't warn about obsolete features in this obsolete file.
12155
12156 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12157 Move definition before use.
12158
12159 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12160 (dun-unix-verbs): Remove dun-zippy.
12161 (dun-zippy): Remove function.
12162
12163 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12164
12165 2013-05-27 Juri Linkov <juri@jurta.org>
12166
12167 * replace.el (replace-search): New function with code moved out
12168 from `perform-replace'.
12169 (replace-highlight, replace-dehighlight): Move function definitions
12170 up closer to `replace-search'. (Bug#11746)
12171
12172 2013-05-27 Juri Linkov <juri@jurta.org>
12173
12174 * replace.el (perform-replace): Ignore invisible matches.
12175 In addition to checking `query-replace-skip-read-only', also
12176 filter out matches by calling `run-hook-with-args-until-failure'
12177 on `isearch-filter-predicates', and also check `search-invisible'
12178 for t or call `isearch-range-invisible'.
12179 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12180
12181 2013-05-27 Juri Linkov <juri@jurta.org>
12182
12183 * isearch.el (isearch-filter-predicates): Rename from
12184 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12185 (isearch-message-prefix): Display text from the property
12186 `isearch-message-prefix' of the currently active filters.
12187 (isearch-search): Don't compare `isearch-filter-predicate' with
12188 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12189 on `isearch-filter-predicates'. Also check `search-invisible' for t
12190 or call `isearch-range-invisible'.
12191 (isearch-filter-visible): Make obsolete.
12192 (isearch-lazy-highlight-search):
12193 Call `run-hook-with-args-until-failure' on
12194 `isearch-filter-predicates' and use `isearch-range-invisible'.
12195
12196 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12197 `isearch-filter-predicates' instead of `funcall'ing
12198 `isearch-filter-predicate'.
12199 (Info-mode): Set `Info-isearch-filter' to
12200 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12201
12202 * dired-aux.el (dired-isearch-filter-predicate-orig):
12203 Remove variable.
12204 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12205 (dired-isearch-filenames-end): Add and remove
12206 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12207 instead of changing the value of `isearch-filter-predicate'.
12208 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12209 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12210 Put property `isearch-message-prefix' to "filename " on
12211 `dired-isearch-filter-filenames'.
12212
12213 * wdired.el (wdired-change-to-wdired-mode):
12214 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12215 locally instead of changing `isearch-filter-predicate'.
12216 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12217
12218 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12219
12220 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12221 return the commit hash (Bug#14459). Also set the
12222 `vc-git-detached' property.
12223 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12224 (vc-git-mode-line-string): Use the same help-echo format whether
12225 in detached mode or not, because we know the actual revision now.
12226 When in detached mode, shorten the revision to 7 chars.
12227
12228 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12229
12230 * emacs-lisp/easy-mmode.el (define-minor-mode):
12231 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12232 mode hook and provide a docstring.
12233
12234 2013-05-27 Alan Mackenzie <acm@muc.de>
12235
12236 Remove spurious syntax-table text properties inserted by C-y.
12237 * progmodes/cc-mode.el (c-after-change): Also clear hard
12238 syntax-table property with value nil.
12239
12240 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
12241
12242 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
12243 when reading the events; the buffer layout shall not be changed.
12244
12245 2013-05-27 Leo Liu <sdl.web@gmail.com>
12246
12247 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
12248 New variable.
12249 (inferior-octave-directory-tracker): Automatically re-sync
12250 default-directory.
12251 (octave-help): Improve handling of 'See also'.
12252
12253 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12254
12255 * doc-view.el: Minor naming convention tweaks.
12256 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
12257
12258 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
12259 even if there's no `display' property yet (bug#14435).
12260
12261 2013-05-25 Eli Zaretskii <eliz@gnu.org>
12262
12263 * subr.el (unmsys--file-name): Rename from reveal-filename.
12264
12265 * Makefile.in (custom-deps, finder-data, autoloads)
12266 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12267 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12268 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
12269
12270 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
12273 error-completion on the first 2 args of condition-case (bug#14446).
12274 Don't burp at EOB.
12275
12276 2013-05-25 Leo Liu <sdl.web@gmail.com>
12277
12278 * comint.el (comint-previous-matching-input): Do not flood the
12279 *Messages* buffer with trivial messages.
12280
12281 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * progmodes/flymake.el (flymake-nop): Don't return a string.
12284 (flymake-set-at): Fix typo.
12285
12286 * simple.el (read--expression): New function, extracted from
12287 eval-expression. Set completion-at-point-functions (bug#14465).
12288 (eval-expression, eval-minibuffer): Use it.
12289
12290 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12291
12292 * progmodes/flymake.el (flymake-save-buffer-in-file)
12293 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12294 (flymake-selected-frame, flymake-log, flymake-ins-after)
12295 (flymake-set-at, flymake-get-buildfile-from-cache)
12296 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12297 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12298 Refine the doc string.
12299 (flymake-get-file-name-mode-and-masks): Reformat.
12300 (flymake-get-real-file-name-function): Fix a minor bug.
12301
12302 2013-05-24 Juri Linkov <juri@jurta.org>
12303
12304 * progmodes/grep.el (grep-mode-font-lock-keywords):
12305 Support =linenumber= format used by git-grep for lines with
12306 function names. (Bug#13549)
12307
12308 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12311 0 after a semi-colon; it works better for smie-auto-fill.
12312 (octave--indent-new-comment-line): New function.
12313 (octave-indent-new-comment-line): Use it (indirectly).
12314 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12315 modify comment-line-break-function.
12316
12317 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12318 (smie-setup): Use add-function to set it.
12319
12320 2013-05-24 Sam Steingold <sds@gnu.org>
12321
12322 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12323 argument (before the `interactive' argument).
12324
12325 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * image-mode.el (image-mode-winprops): Add winprops to
12328 image-mode-winprops-alist before running
12329 image-mode-new-window-functions.
12330 * doc-view.el (doc-view-new-window-function): Don't delay
12331 doc-view-goto-page via timers (bug#14435).
12332
12333 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12334
12335 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12336 (doc-view-desktop-save-buffer): New function.
12337 (doc-view-restore-desktop-buffer): New function.
12338 (desktop-buffer-mode-handlers):
12339 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12340 handler.
12341 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12342 `desktop-save-buffer' function.
12343
12344 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12345
12346 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12347 (tramp-gvfs-file-name-handler): Raise a user error when
12348 `tramp-gvfs-enabled' is nil.
12349 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12350 Do not raise a user error when loading package. (Bug#14447)
12351
12352 * net/xesam.el: Move to obsolete/.
12353
12354 2013-05-24 Glenn Morris <rgm@gnu.org>
12355
12356 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12357
12358 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12359
12360 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12361 (Info-find-node, Man-getpage-in-background): Declare.
12362
12363 * mail/unrmail.el (unrmail):
12364 Replace obsolete detect-coding-with-priority.
12365
12366 * net/socks.el (socks-split-string): Use this rather than split-string.
12367 (socks-nslookup-host): Update for above change.
12368 (dynamic-choice, s5-dynamic-choice-match)
12369 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12370 Comment out unused code.
12371
12372 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12373 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12374 (gud-tooltip-echo-area): Make obsolete.
12375 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12376
12377 * progmodes/js.el (js--optimize-arglist): Declare.
12378
12379 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12380
12381 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12382 (ediff-window-C): Declare.
12383
12384 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12385 Tweak requires to silence compiler.
12386
12387 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12388 (he-search-string, he-tried-table, he-expand-list)
12389 (he-init-string, he-string-member, he-substitute-string)
12390 (he-reset-string): Declare.
12391
12392 * obsolete/options.el (list-options): Use custom-variable-p,
12393 rather than obsolete alias.
12394
12395 2013-05-23 Sam Steingold <sds@gnu.org>
12396
12397 * simple.el (shell-command-on-region): Pass the `replace' argument
12398 down to `call-process-region' to comply with the doc as reported on
12399 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12400
12401 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12402
12403 * emacs-lisp/smie.el (smie-indent-forward-token)
12404 (smie-indent-backward-token): Handle string tokens (bug#14381).
12405
12406 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12407
12408 * ielm.el (ielm-menu): New menu.
12409 (inferior-emacs-lisp-mode): Set comment-start.
12410
12411 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12412
12413 * textmodes/reftex.el (reftex-ref-style-toggle):
12414 Fix deactivate action.
12415
12416 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12417 Add cleveref macros.
12418
12419 * textmodes/reftex-parse.el
12420 (reftex-locate-bibliography-files): Accept options for
12421 bibliography commands.
12422 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12423 Add addbibresource. Basic Biblatex support.
12424
12425 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12426
12427 * net/tramp-gvfs.el (top):
12428 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12429 when loading package. (Bug#14447)
12430
12431 2013-05-23 Glenn Morris <rgm@gnu.org>
12432
12433 * progmodes/js.el: No need to load comint when compiling.
12434 (ring-insert, comint-send-string, comint-send-input)
12435 (comint-last-input-end, ido-chop): Declare.
12436
12437 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12438 * vc/ediff-mult.el: Adjust requires.
12439 (ediff-directories-internal, ediff-directory-revisions-internal)
12440 (ediff-patch-file-internal): Declare.
12441 * vc/ediff-ptch.el: Adjust requires.
12442 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12443 (ediff-find-file): Autoload.
12444 * vc/ediff-util.el: No need to load ediff when compiling.
12445 (ediff-regions-internal): Declare.
12446 * vc/ediff-wind.el: Adjust requires.
12447 (ediff-compute-toolbar-width): Define when compiling.
12448 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12449 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12450 (dired-get-filename, dired-get-marked-files)
12451 (ediff-last-dir-patch, ediff-patch-default-directory)
12452 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12453 (ediff-patch-buffer-internal): Declare.
12454
12455 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12456 (ispell-process, ispell-buffer-local-words, lm-summary)
12457 (lm-section-start, lm-section-end): Declare.
12458 (checkdoc-ispell-init): Simplify.
12459
12460 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12461 (he-string-member, he-reset-string, he-substitute-string): Declare.
12462
12463 * eshell/em-ls.el: Adjust requires.
12464 (eshell-glob-regexp): Declare.
12465 * eshell/em-tramp.el: Adjust requires.
12466 (eshell-parse-command): Autoload.
12467 * eshell/em-xtra.el: Adjust requires.
12468 (eshell-parse-command): Autoload.
12469 * eshell/esh-ext.el: Adjust requires.
12470 (eshell-parse-command, eshell-close-handles): Autoload.
12471 * eshell/esh-io.el: Adjust requires.
12472 (eshell-output-filter): Autoload.
12473 * eshell/esh-util.el: No need to load tramp when compiling.
12474 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12475 Declare.
12476 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12477 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12478 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12479 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12480 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12481 * eshell/esh-opt.el, eshell/esh-proc.el:
12482 * eshell/esh-var.el: Adjust requires.
12483 * eshell/eshell.el: Do not require esh-util twice.
12484 (eshell-add-input-to-history): Declare.
12485 (eshell-command): Check history module is active before using it.
12486
12487 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12488
12489 2013-05-22 Leo Liu <sdl.web@gmail.com>
12490
12491 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12492
12493 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12494
12495 * autorevert.el (auto-revert-notify-add-watch)
12496 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12497 it indicates changes in file modification time.
12498
12499 2013-05-22 Glenn Morris <rgm@gnu.org>
12500
12501 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12502 Always delete the autoloaded function from the noruntime and
12503 unresolved functions lists.
12504
12505 * allout.el: No need to load epa, epg, overlay when compiling.
12506 (epg-context-set-passphrase-callback, epg-list-keys)
12507 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12508 (epg-key-user-id-list): Declare.
12509
12510 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12511 (viper-set-parsing-style-toggling-macro)
12512 (viper-set-emacs-state-searchstyle-macros):
12513 Use called-interactively-p on Emacs.
12514 (viper-looking-back): Make it an obsolete alias. Update callers.
12515 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12516 Use looking-back rather than viper-looking-back.
12517 (viper-tmp-insert-at-eob, viper-enlarge-region)
12518 (viper-read-string-with-history, viper-register-to-point)
12519 (viper-append-to-register, viper-change-state-to-vi)
12520 (viper-backward-char-carefully, viper-forward-char-carefully)
12521 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12522 (viper-change-state-to-emacs): Declare.
12523 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12524 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12525 * emulation/viper-mous.el: Do not load viper-cmd.
12526 (viper-backward-char-carefully, viper-forward-char-carefully)
12527 (viper-forward-word, viper-adjust-window): Declare.
12528
12529 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12530
12531 * progmodes/idlw-help.el (idlwave-help-fontify):
12532 Use called-interactively-p.
12533
12534 * term/w32console.el (w32-get-console-codepage)
12535 (w32-get-console-output-codepage): Declare.
12536
12537 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12538 Remove unnecessary declarations.
12539 (dframe-message): Doc fix.
12540
12541 * info.el (dframe-select-attached-frame, dframe-current-frame):
12542 Declare.
12543
12544 * speedbar.el (speedbar-message): Make it an obsolete alias.
12545 Update all callers.
12546 (speedbar-with-attached-buffer)
12547 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12548 (speedbar-with-writable): Use backquote.
12549 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12550 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12551 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12552 rather than speedbar- aliases.
12553 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12554 (speedbar-make-specialized-keymap, speedbar-insert-button)
12555 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12556 (speedbar-do-function-pointer): Declare.
12557 (rmail-speedbar-button, rmail-speedbar-find-file)
12558 (rmail-speedbar-move-message):
12559 Use dframe-with-attached-buffer rather than speedbar- alias.
12560 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12561 (dframe-message, speedbar-make-specialized-keymap)
12562 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12563 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12564 (speedbar-insert-button, dframe-select-attached-frame)
12565 (dframe-maybee-jump-to-attached-frame)
12566 (speedbar-change-initial-expansion-list)
12567 (speedbar-previously-used-expansion-list-name): Declare.
12568 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12569 Use dframe-message, dframe-with-attached-buffer rather than
12570 speedbar- aliases.
12571 (gud-sentinel): Silence compiler.
12572 * progmodes/vhdl-mode.el (speedbar-refresh)
12573 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12574 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12575 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12576 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12577 (speedbar-file-lists, speedbar-make-tag-line)
12578 (speedbar-line-directory, speedbar-goto-this-file)
12579 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12580 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12581 (speedbar-make-button, speedbar-reset-scanners)
12582 (speedbar-files-item-info, speedbar-line-text)
12583 (speedbar-find-file-in-frame, speedbar-set-timer)
12584 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12585 (speedbar-with-writable): Do not (re)define it.
12586 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12587 rather than speedbar- alias.
12588
12589 2013-05-21 Leo Liu <sdl.web@gmail.com>
12590
12591 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12592 menu items.
12593 (octave-mode): Tweak fill-nobreak-predicate.
12594 (inferior-octave-startup): Check process to avoid infinite loop.
12595 (inferior-octave): Pop to buffer first to show abornmal process
12596 exit information.
12597
12598 2013-05-21 Glenn Morris <rgm@gnu.org>
12599
12600 * printing.el (pr-menu-bar): Define when compiling.
12601
12602 2013-05-21 Leo Liu <sdl.web@gmail.com>
12603
12604 * progmodes/octave.el (octave-auto-fill): Remove.
12605 (octave-indent-new-comment-line): Improve.
12606 (octave-mode): Use auto fill mode through
12607 comment-line-break-function and fill-nobreak-predicate.
12608 (octave-goto-function-definition): Support DEFUN_DLD.
12609 (octave-beginning-of-defun): Small tweak.
12610 (octave-help): Show parent directory.
12611
12612 2013-05-21 Glenn Morris <rgm@gnu.org>
12613
12614 * files.el (dired-unmark):
12615 * progmodes/gud.el (gdb-input): Update declarations.
12616
12617 * calculator.el (electric, ehelp): No need to load when compiling.
12618 (Electric-command-loop, electric-describe-mode): Declare.
12619
12620 * doc-view.el (doc-view-current-converter-processes): Move before use.
12621
12622 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12623 Move MODE-set-explicitly definition before use.
12624
12625 * international/mule-diag.el (mule-diag):
12626 Don't use obsolete window-system-version.
12627
12628 * mail/feedmail.el (smtpmail): No need to load when compiling.
12629 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12630
12631 * mail/mail-utils.el (rfc822): No need to load when compiling.
12632 (rfc822-addresses): Autoload it.
12633 (mail-strip-quoted-names): Trivial simplification.
12634
12635 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12636 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12637
12638 * net/snmp-mode.el (tempo): Don't duplicate requires.
12639
12640 * progmodes/prolog.el (info): No need to load when compiling.
12641 (comint): Require before shell requires it.
12642 (Info-goto-node): Autoload it.
12643 (Info-follow-nearest-node): Declare.
12644 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12645
12646 * textmodes/artist.el (picture-mode-exit): Declare.
12647
12648 * textmodes/reftex-parse.el (reftex-parse-from-file):
12649 Trivial rewrite so the compiler can parse it better.
12650
12651 2013-05-20 Leo Liu <sdl.web@gmail.com>
12652
12653 * progmodes/octave.el (octave-help-mode-map)
12654 (octave-help-mode-finish-hook): New variables.
12655 (octave-help-mode, octave-help-mode-finish): New functions.
12656 (octave-help): Use octave-help-mode.
12657
12658 2013-05-20 Glenn Morris <rgm@gnu.org>
12659
12660 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12661
12662 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12663
12664 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12665 start at point, so that expansion starting right after opening
12666 slash in a regexp is recognized.
12667 (ruby-syntax-before-regexp-re): New defvar, extracted from
12668 ruby-syntax-propertize-function. Since the value of this regexp
12669 is looked up at runtime now, we should be able to turn
12670 `ruby-syntax-methods-before-regexp' into a defcustom later.
12671 (ruby-syntax-propertize-function): Split regexp matching into two
12672 parts, for opening and closing slashes. That allows us to skip
12673 over string interpolations and support multiline regexps.
12674 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12675 for them, which calls `ruby-syntax-propertize-expansion'.
12676 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12677 call to `ruby-syntax-propertize-function'.
12678 (ruby-syntax-propertize-expansion): Extracted from
12679 `ruby-syntax-propertize-expansions'. Handles one expansion.
12680 (ruby-syntax-propertize-percent-literal): Leave point right after
12681 the percent symbol, so that the expression expansion rule can
12682 propertize the contents.
12683 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12684 heredoc openers.
12685 (ruby-syntax-propertize-expansions): Remove.
12686
12687 2013-05-18 Juri Linkov <juri@jurta.org>
12688
12689 * man.el (Man-default-man-entry): Remove `-' from the end
12690 of the default value. (Bug#14400)
12691
12692 2013-05-18 Glenn Morris <rgm@gnu.org>
12693
12694 * comint.el (comint-password-prompt-regexp):
12695 Allow "password for XXX" where XXX contains colons (eg https://...).
12696
12697 2013-05-18 Leo Liu <sdl.web@gmail.com>
12698
12699 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12700 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12701 (octave-source-directories): Don't check process.
12702 (octave-source-directories, octave-find-definition): Doc fix.
12703
12704 2013-05-18 Glenn Morris <rgm@gnu.org>
12705
12706 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12707 Remove backspace/delete bindings. (Bug#14392)
12708
12709 * cus-dep.el (custom-make-dependencies): Sort the output.
12710 (custom-versions-load-alist): Convert comment to doc.
12711
12712 2013-05-17 Leo Liu <sdl.web@gmail.com>
12713
12714 * newcomment.el (comment-search-backward): Stricter in finding
12715 comment start. (Bug#14303)
12716
12717 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12718 (octave-comment-start-skip): Properly anchored.
12719
12720 2013-05-17 Leo Liu <sdl.web@gmail.com>
12721
12722 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12723 Clean up when turned off. (Bug#14395)
12724 (smie--highlight-matching-block-overlay): No longer buffer-local.
12725 (smie-highlight-matching-block): Adjust.
12726
12727 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12728
12729 Doc string fix for "nanoseconds" (Bug#14406).
12730 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12731 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12732
12733 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12734
12735 * calc/calc-units.el (math-extract-units): Preserve powers
12736 of units.
12737
12738 2013-05-17 Leo Liu <sdl.web@gmail.com>
12739
12740 * subr.el (delete-consecutive-dups): New function.
12741 * ido.el (ido-set-matches-1): Use it.
12742 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12743 * ido.el (ido-remove-consecutive-dups): Remove.
12744
12745 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12748 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12749 regexp-opt's `words'.
12750
12751 2013-05-16 Leo Liu <sdl.web@gmail.com>
12752
12753 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12754 (smie--highlight-matching-block-overlay)
12755 (smie--highlight-matching-block-lastpos)
12756 (smie--highlight-matching-block-timer): New variables.
12757 (smie-highlight-matching-block): New function.
12758 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12759 (smie-setup): Conditionally enable smie-blink-matching-open.
12760
12761 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12762
12763 Sync with upstream verilog-mode r840.
12764 * progmodes/verilog-mode.el (verilog-mode-version)
12765 (verilog-mode-release-date): Update.
12766 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12767 (verilog-sig-tieoff): Fix string error on
12768 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12769 (verilog-read-decls): Fix parameters confusing
12770 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12771
12772 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12773
12774 * subr.el (reveal-filename): New function.
12775
12776 * loadup.el: Compute Emacs executable versions on MS-Windows,
12777 where executables have the .exe extension. Add a hard link
12778 emacs-XX.YY.ZZ.exe on MS-Windows.
12779
12780 * Makefile.in (XARGS_LIMIT): New variable.
12781 (custom-deps, finder-data, autoloads)
12782 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12783 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12784 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12785 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12786
12787 2013-05-16 Leo Liu <sdl.web@gmail.com>
12788
12789 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12790 (octave-mode-menu, octave-mode-map): Remove its uses.
12791
12792 2013-05-16 Reto Zimmermann <reto@gnu.org>
12793
12794 Sync with upstream vhdl mode v3.34.2.
12795 * progmodes/vhdl-mode.el: Use `push' throughout.
12796 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12797 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12798 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12799 (vhdl-actual-generic-name): New option to derive actual generic name.
12800 (vhdl-port-paste-signals): Replace formal by actual generics.
12801 (vhdl-beautify): New name for old group vhdl-align. Update users.
12802 (vhdl-beautify-options): New option.
12803 (vhdl-last-input-event): New compat alias. Use throughout.
12804 (vhdl-goto-line): Replace user level function `goto-line'.
12805 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12806 vhdl-fix-statement-buffer.
12807 (vhdl-create-mode-menu): Add some entries.
12808 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12809 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12810 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12811 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12812 to force statements on one line.
12813 (vhdl-remove-trailing-spaces-region):
12814 New, split from vhdl-remove-trailing-spaces.
12815 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12816 Respect vhdl-beautify-options.
12817 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12818 (vhdl-update-sensitivity-list): Not add with index if exists without.
12819 Not include array index with signal. Ignore keywords in comments.
12820 (vhdl-get-visible-signals): Regexp tweaks.
12821 (vhdl-template-component-inst): Handle empty library.
12822 (vhdl-template-type): Add template for 'enum' type.
12823 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12824 Use vhdl-replace-string.
12825 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12826 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12827 (vhdl-speedbar-initialize): Update for above name change.
12828 (vhdl-compose-wire-components): Fix in handling of constants.
12829 (vhdl-error-regexp-emacs-alist): New variable.
12830 (vhdl-error-regexp-add-emacs): New function;
12831 adds support for new compile.el (Emacs 22+)
12832 (vhdl-generate-makefile-1): Change target order for single lib. units.
12833 Allow use of absolute file names.
12834
12835 2013-05-16 Leo Liu <sdl.web@gmail.com>
12836
12837 * simple.el (prog-indent-sexp): Indent enclosing defun.
12838
12839 2013-05-15 Glenn Morris <rgm@gnu.org>
12840
12841 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12842 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12843 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12844 (whitespace-highlight): Move to whitespace group.
12845
12846 * comint.el (comint-source):
12847 * pcmpl-linux.el (pcmpl-linux):
12848 * shell.el (shell-faces):
12849 * eshell/esh-opt.el (eshell-opt):
12850 * international/ccl.el (ccl): Remove empty custom groups.
12851
12852 * completion.el (dynamic-completion-mode):
12853 * jit-lock.el (jit-lock-debug-mode):
12854 * minibuffer.el (completion-in-region-mode):
12855 * type-break.el (type-break-mode-line-message-mode)
12856 (type-break-query-mode):
12857 * emulation/tpu-edt.el (tpu-edt-mode):
12858 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12859 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12860 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12861
12862 * term/xterm.el (xterm): Change parent group to terminals.
12863
12864 * master.el (master): Remove empty custom group.
12865 (master-mode): Remove unused :group argument.
12866 * textmodes/refill.el (refill): Remove empty custom group.
12867 (refill-mode): Remove unused :group argument.
12868
12869 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12870
12871 * cus-dep.el: Provide a feature.
12872 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12873 Don't mistakenly ignore files whose basenames match a basename
12874 from preloaded-file-list (eg cedet/ede/simple.el).
12875 Add a fallback method for getting :group.
12876
12877 2013-05-15 Juri Linkov <juri@jurta.org>
12878
12879 * isearch.el (isearch-char-by-name): Rename from
12880 `isearch-insert-char-by-name'. Doc fix.
12881 (isearch-forward): Mention `isearch-char-by-name' in
12882 the docstring. (Bug#13348)
12883
12884 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12885 `exit-minibuffer' instead of
12886 `isearch-nonincremental-exit-minibuffer'.
12887 (isearch-edit-string): Remove mention of
12888 `isearch-nonincremental-exit-minibuffer' from docstring.
12889 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12890 (isearch-forward-exit-minibuffer)
12891 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12892
12893 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 * loadup.el: Just use unversioned DOC.
12896
12897 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12898 literals as extending to EOB.
12899 (nxml-last-fontify-end): Remove unused variable.
12900 (nxml-after-change1): Use with-silent-modifications.
12901 (nxml-extend-after-change-region): Simplify.
12902 (nxml-extend-after-change-region1): Remove function.
12903 (nxml-after-change1): Don't adjust for dependent regions.
12904 (nxml-fontify-matcher): Simplify.
12905 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12906 (xmltok-add-dependent): Remove function.
12907 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12908 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12909 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12910 unclosed <[[, <?, comment, and other literals as extending to EOB.
12911 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12912 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12913 Remove functions.
12914 (rng-do-some-validation-1): Don't mark dependent regions.
12915 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12916 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12917 (nxml-clear-dependent-regions): Remove functions.
12918 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12919 (nxml-ensure-scan-up-to-date):
12920 Don't clear&mark dependent regions.
12921
12922 2013-05-15 Leo Liu <sdl.web@gmail.com>
12923
12924 * progmodes/octave.el (octave-goto-function-definition):
12925 Improve and fix callers.
12926
12927 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12928
12929 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12930 the setter (bug#14387).
12931
12932 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12933 surrounding group (bug#14402).
12934
12935 2013-05-14 Juri Linkov <juri@jurta.org>
12936
12937 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12938 (Bug#14390)
12939
12940 2013-05-14 Glenn Morris <rgm@gnu.org>
12941
12942 * progmodes/f90.el (f90-imenu-generic-expression):
12943 Fix typo in 2013-05-08 change. (Bug#14402)
12944
12945 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12946
12947 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12948 Remove signals for which replies are never received.
12949
12950 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12951
12952 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12953 (gdb-handler-alist, gdb-handler-number): Remove variables.
12954 (gdb-handler-list): New variable.
12955 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12956 (gdb-pending-handler-p, gdb-handle-reply)
12957 (gdb-remove-all-pending-triggers): New functions.
12958 (gdb-discard-unordered-replies): New defcustom.
12959 (gdb-handler): New defstruct.
12960 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12961 instead of gdb-pending-triggers. Update docstring.
12962 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12963 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12964 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12965 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12966 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12967 (gdb-frame-handler): Pending triggers are now automatically managed.
12968 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12969 Remove argument.
12970 (gdb-input): Automatically handles pending triggers. Update docstring.
12971 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12972 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12973 Update comments.
12974 (gdb-done-or-error): Now use gdb-handle-reply.
12975
12976 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12977
12978 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12979 gdb-debug-log.
12980
12981 2013-05-14 Glenn Morris <rgm@gnu.org>
12982
12983 * subr.el (user-emacs-directory-warning): New option.
12984 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12985
12986 2013-05-14 Leo Liu <sdl.web@gmail.com>
12987
12988 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12989 during redisplay.
12990 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12991 (octave-font-lock-texinfo-comment): Fix invalid search bound
12992 error: wrong side of point.
12993
12994 2013-05-14 Glenn Morris <rgm@gnu.org>
12995
12996 * progmodes/flymake.el (flymake-xml-program): New option.
12997 (flymake-xml-init): Use it.
12998
12999 * term/xterm.el: Provide a feature.
13000
13001 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13002
13003 2013-05-13 Glenn Morris <rgm@gnu.org>
13004
13005 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13006 Add compat aliases as a hack workaround. (Bug#14384)
13007
13008 2013-05-13 Leo Liu <sdl.web@gmail.com>
13009
13010 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13011 ###, and %!.
13012 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13013 C-M-q.
13014 (octave-comment-start-skip): Include %!.
13015 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13016
13017 2013-05-12 Leo Liu <sdl.web@gmail.com>
13018
13019 * progmodes/octave.el (inferior-octave-startup): Store the value
13020 of __octave_srcdir__ for octave-source-directories.
13021 (inferior-octave-check-process): New function refactored out of
13022 inferior-octave-send-list-and-digest.
13023 (octave-source-directories)
13024 (octave-find-definition-filename-function): New variables.
13025 (octave-source-directories)
13026 (octave-find-definition-default-filename): New functions.
13027 (octave-find-definition): Improve to find functions implemented in C++.
13028
13029 2013-05-12 Glenn Morris <rgm@gnu.org>
13030
13031 * calendar/diary-lib.el (diary-outlook-format-1):
13032 Don't include dayname in the output. (Bug#14349)
13033
13034 2013-05-11 Glenn Morris <rgm@gnu.org>
13035
13036 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13037
13038 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13039 Treat cc-provide like provide.
13040
13041 2013-05-11 Kevin Ryde <user42@zip.com.au>
13042
13043 * cus-dep.el (custom-make-dependencies):
13044 Use generated-autoload-load-name for the sake of files such
13045 such cedet/semantic/bovine/c.el, where the base file name
13046 is not in load-path. (Bug#5277)
13047
13048 2013-05-11 Glenn Morris <rgm@gnu.org>
13049
13050 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13051 Provide features.
13052
13053 2013-05-11 Leo Liu <sdl.web@gmail.com>
13054
13055 * progmodes/octave.el (octave-indent-comment): Improve.
13056 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13057 (octave-eldoc-function-signatures, octave-eldoc-function):
13058 New functions.
13059 (octave-mode, inferior-octave-mode): Add eldoc support.
13060
13061 2013-05-11 Richard Stallman <rms@gnu.org>
13062
13063 * epa.el (epa-decrypt-file): Take output file name as argument
13064 and read it using `interactive'.
13065
13066 2013-05-11 Leo Liu <sdl.web@gmail.com>
13067
13068 * progmodes/octave.el (octave-beginning-of-line)
13069 (octave-end-of-line): Check before using up-list because it jumps
13070 out of more syntactic contructs since moving to smie.
13071 (octave-indent-comment): New function.
13072 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13073 (octave-begin-keywords, octave-end-keywords)
13074 (octave-reserved-words, octave-smie-bnf-table)
13075 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13076
13077 2013-05-11 Glenn Morris <rgm@gnu.org>
13078
13079 * faces.el (internal-face-x-get-resource):
13080 * frame.el (ns-display-monitor-attributes-list):
13081 * calc/calc-aent.el (math-to-radians-2):
13082 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13083 Fix declarations.
13084
13085 * calc/calc-menu.el: Make it loadable in isolation.
13086
13087 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13088 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13089 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13090 (eudc-bbdb-query-internal): Require 'bbdb.
13091
13092 * lpr.el (lpr-headers-switches):
13093 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13094
13095 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13096
13097 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13098
13099 * term.el (term-set-escape-char): Make it idempotent.
13100
13101 2013-05-10 Leo Liu <sdl.web@gmail.com>
13102
13103 * progmodes/octave.el (inferior-octave-completion-table):
13104 No longer a function and all uses changed. Use cache to speed up
13105 completion due to bug#11906.
13106 (octave-beginning-of-defun): Re-write to be more general.
13107
13108 2013-05-10 Glenn Morris <rgm@gnu.org>
13109
13110 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13111
13112 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * comint.el (comint-redirect-send-command-to-process): Use :around
13115 rather than :override for comint-redirect-filter.
13116 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13117 Call it instead of comint-redirect-original-filter-function (which
13118 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13119
13120 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13121
13122 * frame.el (display-monitor-attributes-list): Add NS case.
13123 (ns-display-monitor-attributes-list): Declare.
13124
13125 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13126
13127 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13128
13129 2013-05-09 Glenn Morris <rgm@gnu.org>
13130
13131 * international/fontset.el (vertical-centering-font-regexp):
13132 Set standard-value.
13133
13134 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13135
13136 * bookmark.el (bookmark-search-delay):
13137 * cus-start.el (vertical-centering-font-regexp):
13138 * ps-mule.el (ps-mule-font-info-database-default):
13139 * ps-print.el (ps-default-fg, ps-default-bg):
13140 * type-break.el (type-break-good-break-interval):
13141 * whitespace.el (whitespace-indentation-regexp)
13142 (whitespace-space-after-tab-regexp):
13143 * emacs-lisp/testcover.el (testcover-1value-functions)
13144 (testcover-noreturn-functions, testcover-progn-functions)
13145 (testcover-prog1-functions):
13146 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13147 * eshell/em-glob.el (eshell-glob-translate-alist):
13148 * play/tetris.el (tetris-tty-colors):
13149 * progmodes/cpp.el (cpp-face-default-list):
13150 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13151 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13152 (idlwave-help-browser-generic-args):
13153 * progmodes/make-mode.el (makefile-special-targets-list):
13154 * progmodes/python.el (python-shell-virtualenv-path):
13155 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13156 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13157 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13158 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13159 * textmodes/reftex-vars.el (reftex-format-label-function):
13160 * textmodes/remember.el (remember-diary-file): Fix custom types.
13161
13162 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13163 Add :version.
13164
13165 2013-05-09 Leo Liu <sdl.web@gmail.com>
13166
13167 * progmodes/octave.el (inferior-octave-completion-at-point):
13168 Restore file completion. (Bug#14300)
13169 (inferior-octave-startup): Fix incorrect highlighting for the
13170 first prompt.
13171
13172 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13173
13174 * progmodes/ruby-mode.el: First cut at SMIE support.
13175 (ruby-use-smie): New var.
13176 (ruby-smie-grammar): New constant.
13177 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13178 (ruby-smie--forward-token, ruby-smie--backward-token)
13179 (ruby-smie-rules): New functions.
13180 (ruby-mode-variables): Setup SMIE if applicable.
13181
13182 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13183
13184 * simple.el (line-move-visual): Signal beginning/end of buffer
13185 only if vertical-motion moved less than it was requested. Avoids
13186 silly incorrect error messages when there are display strings with
13187 multiple newlines at EOL.
13188
13189 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13192 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13193 (prolog-char-quote-workaround):
13194 * progmodes/cperl-mode.el (cperl-under-as-char):
13195 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13196 Mark as obsolete.
13197 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13198 their declaration.
13199 (vhdl-mode-syntax-table-init): Remove.
13200
13201 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13202 last change.
13203
13204 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13205 syntax for "_".
13206 (ld-script-font-lock-keywords):
13207 Change regexps to use things like \_< and \_>.
13208
13209 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13210 Change all regexps to use things like \_< and \_>.
13211
13212 * progmodes/autoconf.el (autoconf-definition-regexp)
13213 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13214 Handle a _ with symbol syntax.
13215 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13216
13217 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13218 Consolidate declaration.
13219 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13220 the declaration.
13221 (ada-create-syntax-table): Remove.
13222 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13223 already has the right syntax nowadays.
13224 (ada-goto-next-word): Don't change the syntax of "_".
13225
13226 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13227 with-wrapper-hook.
13228
13229 2013-05-08 Sam Steingold <sds@gnu.org>
13230
13231 * thingatpt.el (thing-at-point): Accept optional second argument
13232 NO-PROPERTIES to strip the text properties from the return value.
13233 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13234 to `thing-at-point' instead of stripping the properties ourselves.
13235 Also, when `thing-at-point' fails to find a url, prepend "http://"
13236 to the filename at point on the assumption that the user is
13237 pointing at something like gnu.org/gnu.
13238
13239 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
13240
13241 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13242 * faces.el (crm-separator):
13243 Silence byte-compiler.
13244
13245 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
13246 (tool-bar-map): Remove unneeded defvars.
13247
13248 2013-05-08 Leo Liu <sdl.web@gmail.com>
13249
13250 Re-work a fix for bug#10994 based on Le Wang's patch.
13251 * ido.el (ido-remove-consecutive-dups): New helper.
13252 (ido-completing-read): Use it.
13253 (ido-chop): Revert fix for bug#10994.
13254
13255 2013-05-08 Adam Spiers <emacs@adamspiers.org>
13256
13257 * cus-edit.el (custom-save-variables):
13258 Pretty-print long values. (Bug#14187)
13259
13260 2013-05-08 Glenn Morris <rgm@gnu.org>
13261
13262 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
13263 (m4-mode-syntax-table): Init in the defvar.
13264 (m4-mode-abbrev-table): Let define-derived-mode define it.
13265
13266 2013-05-08 Tom Tromey <tromey@redhat.com>
13267
13268 * progmodes/m4-mode.el (m4-mode-syntax-table):
13269 Do not treat "_" as word constituent. (Bug#14167)
13270
13271 2013-05-07 Glenn Morris <rgm@gnu.org>
13272
13273 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13274 Remove explicit eshell-isearch-cancel-map.
13275
13276 * progmodes/f90.el (f90-smart-end-names): New option.
13277 (f90-smart-end): Doc fix.
13278 (f90-end-block-optional-name): New constant.
13279 (f90-block-match): Respect f90-smart-end-names.
13280
13281 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13282
13283 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13284 about implicit semi-colons (bug#14218).
13285
13286 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13287
13288 * frame.el (display-monitor-attributes-list)
13289 (frame-monitor-attributes): New functions.
13290
13291 2013-05-06 Leo Liu <sdl.web@gmail.com>
13292
13293 * progmodes/octave.el (octave-syntax-propertize-function): Change
13294 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13295 (octave-font-lock-keywords): Use octave-operator-regexp.
13296 (octave-completion-at-point): Rename from
13297 octave-completion-at-point-function.
13298 (inferior-octave-directory-tracker): Robustify.
13299 (octave-text-functions): Remove and fix its uses. No such things
13300 any more.
13301
13302 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13303
13304 * emacs-lisp/trace.el (trace--display-buffer): New function.
13305 (trace-make-advice): Use it.
13306
13307 2013-05-06 Juri Linkov <juri@jurta.org>
13308
13309 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13310 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13311 Doc fix.
13312 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13313 in the help string. (Bug#12985)
13314
13315 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13316
13317 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13318
13319 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * progmodes/perl-mode.el: Add support for here documents.
13322 (perl-syntax-propertize-function): Match here-doc markers.
13323 (perl-syntax-propertize-special-constructs): Find their end.
13324 (perl-imenu-generic-expression): Use [:alnum:].
13325
13326 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13327 (advice--add-function): Refresh the advice if already present
13328 (bug#14317).
13329
13330 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13331
13332 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13333
13334 2013-05-06 Glenn Morris <rgm@gnu.org>
13335
13336 * w32-fns.el (w32-charset-info-alist): Declare.
13337
13338 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13339 of its defcustom properties.
13340 (eshell-cmpl-initialize): No need to load pcomplete.
13341
13342 * generic-x.el: No need to require comint when compiling.
13343
13344 * net/eudc-export.el: Make it loadable without bbdb.
13345 (top-level): Use require rather than load-library.
13346 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13347 (eudc-batch-export-records-to-bbdb)
13348 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13349 Require bbdb.
13350
13351 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13354 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13355 some tweaks, instead.
13356
13357 2013-05-05 Leo Liu <sdl.web@gmail.com>
13358
13359 * progmodes/octave.el (octave-font-lock-keywords)
13360 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13361 (inferior-octave-send-list-and-digest): Improve error message.
13362 (octave-mode, inferior-octave-mode): Use setq-local.
13363 (octave-help): Set info-lookup-mode.
13364
13365 2013-05-05 Richard Stallman <rms@gnu.org>
13366
13367 * vc/compare-w.el (compare-windows-whitespace):
13368 Treat no-break space as whitespace.
13369
13370 * mail/rmailsum.el (rmail-summary-rmail-update):
13371 Detect empty summary and don't change selected message.
13372 (rmail-summary-goto-msg): Likewise.
13373
13374 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13375 Doc fixes, rename args.
13376
13377 2013-05-05 Alan Mackenzie <acm@muc.de>
13378
13379 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13380
13381 2013-05-05 Juri Linkov <juri@jurta.org>
13382
13383 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13384 to not add the length of the summary segment to the return value.
13385 (Bug#14125)
13386
13387 2013-05-05 Leo Liu <sdl.web@gmail.com>
13388
13389 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13390 (inferior-octave-output-filter): Remove.
13391 (octave-send-region, inferior-octave-startup): Fix callers.
13392 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13393 (octave-binary-file-extensions): New user variable.
13394 (octave-find-definition): Confirm if opening binary files.
13395 (octave-help-file): Use octave-find-definition to get the binary
13396 confirmation.
13397 (octave-help): Adjust for octave-help-file change.
13398
13399 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13400
13401 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13402 Merge the two entries that handle function definitions.
13403 (pascal--syntax-propertize): New const.
13404 (pascal-mode): Use it. Use setq-local.
13405
13406 2013-05-04 Glenn Morris <rgm@gnu.org>
13407
13408 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13409 (diary-from-outlook): Respect diary-from-outlook-function.
13410
13411 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13412
13413 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13414 Move the declaration from C.
13415 (read-minibuffer, eval-minibuffer): Move from C.
13416 (completion-setup-function): Avoid minibuffer-completion-contents.
13417
13418 2013-05-03 Leo Liu <sdl.web@gmail.com>
13419
13420 * progmodes/octave.el (octave-font-lock-keywords): Do not
13421 dehighlight 'end' in comments or strings.
13422 (octave-completing-read, octave-goto-function-definition):
13423 New helpers.
13424 (octave-help-buffer): New user variable.
13425 (octave-help-file, octave-help-function): New button types.
13426 (octave-help): New command and bind it to C-h ;.
13427 (octave-find-definition): New command and bind it to M-.
13428 (user-error): Alias to error if not defined.
13429
13430 2013-05-02 Leo Liu <sdl.web@gmail.com>
13431
13432 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13433 for \. (bug#14332)
13434 (octave-font-lock-keywords): Include [ and {.
13435
13436 2013-05-02 Leo Liu <sdl.web@gmail.com>
13437
13438 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13439 (inferior-octave): Remove calling comint-mode and return the buffer.
13440 (inferior-octave-startup): Cosmetic changes.
13441
13442 2013-05-02 Leo Liu <sdl.web@gmail.com>
13443
13444 * progmodes/octave.el (octave-syntax-propertize-function):
13445 Include the case when ' is at line beginning. (Bug#14336)
13446
13447 2013-05-02 Glenn Morris <rgm@gnu.org>
13448
13449 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13450 * desktop.el (vc-dir-mode): Just autoload it here.
13451
13452 2013-05-02 Alan Mackenzie <acm@muc.de>
13453
13454 Eliminate variable c-standard-font-lock-fontify-region-function.
13455 * progmodes/cc-mode.el
13456 (c-standard-font-lock-fontify-region-function): Remove.
13457 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13458
13459 2013-05-01 Leo Liu <sdl.web@gmail.com>
13460
13461 * progmodes/octave.el: Compatible with older emacs-24 releases.
13462 (inferior-octave-has-built-in-variables): Remove. Built-in
13463 variables were removed from Octave in 2007.
13464 (inferior-octave-startup): Fix uses.
13465 (comint-line-beginning-position): Remove compatibility code for
13466 emacs 21.
13467
13468 2013-05-01 Juri Linkov <juri@jurta.org>
13469
13470 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13471
13472 2013-05-01 Juri Linkov <juri@jurta.org>
13473
13474 * comint.el (comint-previous-matching-input): Don't print message
13475 "History item: %d" when `isearch-mode' is active.
13476 (comint-history-isearch-message): Print message "History item: %d"
13477 when `comint-input-ring-index' is not empty and this function is
13478 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13479
13480 2013-05-01 Leo Liu <sdl.web@gmail.com>
13481
13482 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13483 definitions. Use completion-at-point to insert keywords.
13484 (octave-abbrev-start): Remove.
13485 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13486
13487 2013-04-30 Leo Liu <sdl.web@gmail.com>
13488
13489 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13490 change.
13491
13492 2013-04-30 Alan Mackenzie <acm@muc.de>
13493
13494 Handle arbitrarily long C++ member initialisation lists.
13495 * progmodes/cc-engine.el (c-back-over-member-initializers):
13496 new function.
13497 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13498 (most) member init lists.
13499
13500 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13501
13502 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13503 variable.
13504
13505 2013-04-30 Leo Liu <sdl.web@gmail.com>
13506
13507 * progmodes/octave.el (octave-variables): Remove. No builtin
13508 variables any more. All converted to functions.
13509 (octave-font-lock-keywords, octave-completion-at-point-function):
13510 Fix uses.
13511 (octave-font-lock-texinfo-comment): New user variable.
13512 (octave-texinfo-font-lock-keywords): New variable for texinfo
13513 comment block.
13514 (octave-function-comment-block): New face.
13515 (octave-font-lock-texinfo-comment): New function.
13516 (octave-mode): Font lock texinfo comment block.
13517
13518 2013-04-29 Leo Liu <sdl.web@gmail.com>
13519
13520 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13521 indexing expression.
13522 (octave-continuation-string): Do not use \.
13523 (inferior-octave-complete-impossible): Remove.
13524 (inferior-octave-completion-table)
13525 (inferior-octave-completion-at-point): Remove its uses.
13526 (inferior-octave-startup): completion_matches was introduced to
13527 Octave in 1996 so safe to assume it.
13528 (octave-function-file-comment): Improve to follow how Octave does it.
13529 (octave-update-function-file-comment): Tweak.
13530
13531 2013-04-29 Leo Liu <sdl.web@gmail.com>
13532
13533 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13534 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13535 (octave-function-file-comment): Fix typo.
13536 (octave-sync-function-file-names): Use read-char-choice.
13537
13538 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13539
13540 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13541 to t for the less important warnings.
13542
13543 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13544
13545 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13546
13547 2013-04-27 Glenn Morris <rgm@gnu.org>
13548
13549 * vc/log-view.el (log-view-current-entry):
13550 Treat "---" separator lines as part of the following rev. (Bug#14169)
13551
13552 2013-04-27 Juri Linkov <juri@jurta.org>
13553
13554 * subr.el (read-number): Doc fix about using it by interactive
13555 code letter `n'. (Bug#14254)
13556
13557 2013-04-27 Juri Linkov <juri@jurta.org>
13558
13559 * desktop.el (desktop-auto-save-timeout): New option.
13560 (desktop-file-checksum): New variable.
13561 (desktop-save): Add optional arg `auto-save' and don't auto-save
13562 if nothing changed.
13563 (desktop-auto-save-timer): New variable.
13564 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13565 (after-init-hook): Call `desktop-auto-save-set-timer'.
13566 Suggested by Reuben Thomas <rrt@sc3d.org> in
13567 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13568
13569 2013-04-27 Leo Liu <sdl.web@gmail.com>
13570
13571 * progmodes/octave.el (octave-function-file-p)
13572 (octave-skip-comment-forward, octave-function-file-comment)
13573 (octave-update-function-file-comment): New functions.
13574 (octave-mode-map): Bind C-c ; to
13575 octave-update-function-file-comment.
13576 (octave-mode-menu): Add octave-update-function-file-comment.
13577 (octave-mode, inferior-octave-mode): Fix doc-string.
13578 (octave-insert-defun): Conform to Octave's coding convention.
13579 (Bug#14285)
13580
13581 * files.el (basic-save-buffer): Don't let errors in
13582 before-save-hook prevent saving buffer.
13583
13584 2013-04-20 Roland Winkler <winkler@gnu.org>
13585
13586 * faces.el (read-face-name): Use completing-read if arg multiple
13587 is nil.
13588
13589 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13590
13591 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13592 displayed, move point to after the totals line.
13593 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13594 for the details.
13595
13596 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13597
13598 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13599 Add current dir to the load-path.
13600 (package-generate-autoloads): Don't rely on
13601 autoload-ensure-default-file.
13602
13603 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13604
13605 * textmodes/remember.el (remember-store-in-files): Document that
13606 the file name format is passed to `format-time-string'.
13607
13608 2013-04-26 Leo Liu <sdl.web@gmail.com>
13609
13610 * progmodes/octave.el (octave-sync-function-file-names): New function.
13611 (octave-mode): Use it in before-save-hook.
13612
13613 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13614
13615 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13616 (bug#14274).
13617
13618 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13619 \n and comment, even if it's not an implicit ; (bug#14218).
13620
13621 2013-04-26 Glenn Morris <rgm@gnu.org>
13622
13623 * subr.el (read-number): Once more use `read' rather than
13624 `string-to-number', to trap non-numeric input. (Bug#14254)
13625
13626 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13627
13628 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13629 Use `syntax-multiline' text property consistently instead of
13630 `font-lock-multiline'. (Bug#14237)
13631
13632 2013-04-26 Glenn Morris <rgm@gnu.org>
13633
13634 * emacs-lisp/shadow.el (list-load-path-shadows):
13635 No longer necessary to check for duplicate simple.el, since
13636 2012-07-07 change to init_lread to not include installation lisp
13637 directories in load-path when running uninstalled. (Bug#14270)
13638
13639 2013-04-26 Leo Liu <sdl.web@gmail.com>
13640
13641 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13642 (octave-mode, inferior-octave-mode): Use setq-local.
13643 (octave-not-in-string-or-comment-p): Rename to
13644 octave-in-string-or-comment-p.
13645 (octave-in-comment-p, octave-in-string-p)
13646 (octave-in-string-or-comment-p): Replace defsubst with defun.
13647
13648 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13649
13650 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13651
13652 2013-04-25 Bastien Guerry <bzg@gnu.org>
13653
13654 * textmodes/remember.el (remember-data-directory)
13655 (remember-directory-file-name-format): Fix custom types.
13656
13657 2013-04-25 Leo Liu <sdl.web@gmail.com>
13658
13659 * progmodes/octave.el (octave-completion-at-point-function):
13660 Make use of inferior octave process.
13661 (octave-initialize-completions): Remove.
13662 (inferior-octave-completion-table): New function.
13663 (inferior-octave-completion-at-point): Use it.
13664 (octave-completion-alist): Remove.
13665
13666 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13667
13668 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13669 (opascal-mode-syntax-table): New var.
13670 (opascal-literal-kind, opascal-is-literal-end)
13671 (opascal-literal-token-at): Rewrite.
13672 (opascal--literal-start-re, opascal-font-lock-keywords)
13673 (opascal--syntax-propertize): New constants.
13674 (opascal-font-lock-defaults): Adjust.
13675 (opascal-mode): Use them. Set comment-<foo> variables as well.
13676 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13677 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13678 (delphi-other-face, opascal-other-face): Remove face variables.
13679 (opascal-save-state): Remove macro.
13680 (opascal-fontifying-progress-step): Remove constant.
13681 (opascal--ignore-changes): Remove var.
13682 (opascal-set-token-property, opascal-parse-next-literal)
13683 (opascal-is-stable-literal, opascal-complete-literal)
13684 (opascal-is-literal-start, opascal-face-of)
13685 (opascal-parse-region, opascal-parse-region-until-stable)
13686 (opascal-fontify-region, opascal-after-change)
13687 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13688 (opascal-debug-parse-region, opascal-debug-parse-window)
13689 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13690 (opascal-debug-fontify-buffer): Remove.
13691 (opascal-debug-mode-map): Adjust accordingly.
13692
13693 2013-04-25 Leo Liu <sdl.web@gmail.com>
13694
13695 Merge octave-mod.el and octave-inf.el into octave.el with some
13696 cleanups.
13697 * progmodes/octave.el: New file renamed from octave-mod.el.
13698 * progmodes/octave-inf.el: Merged into octave.el.
13699 * progmodes/octave-mod.el: Renamed to octave.el.
13700
13701 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13702
13703 * textmodes/reftex-vars.el
13704 (reftex-label-ignored-macros-and-environments): New defcustom.
13705
13706 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13707
13708 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13709
13710 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13711 (smie-indent-keyword): Improve the check to ensure that the next
13712 comment is really on the same line.
13713 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13714
13715 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13716 semi-colons if the line is not otherwise empty (bug#14218).
13717
13718 2013-04-25 Glenn Morris <rgm@gnu.org>
13719
13720 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13721
13722 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * progmodes/opascal.el (opascal-set-token-property): Rename from
13725 opascal-set-text-properties and only set `token' (bug#14134).
13726 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13727 (opascal-literal-text-properties): Remove.
13728 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13729 Adjust callers.
13730
13731 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13732
13733 * textmodes/remember.el (remember-handler-functions): Add an
13734 option for a new handler `remember-store-in-files'.
13735 (remember-data-directory, remember-directory-file-name-format):
13736 New options.
13737 (remember-store-in-files): New function to store remember notes
13738 as separate files within a directory.
13739
13740 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13741
13742 * progmodes/compile.el (compilation-next-error-function):
13743 Pass "formats" to compilation-find-file (bug#11777).
13744
13745 2013-04-24 Glenn Morris <rgm@gnu.org>
13746
13747 * vc/vc-bzr.el (vc-bzr-print-log):
13748 * vc/vc-hg.el (vc-hg-print-log):
13749 * vc/vc-svn.el (vc-svn-print-log):
13750 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13751
13752 * vc/vc-bzr.el (vc-bzr-print-log):
13753 * vc/vc-cvs.el (vc-cvs-print-log):
13754 * vc/vc-git.el (vc-git-print-log):
13755 * vc/vc-hg.el (vc-hg-print-log):
13756 * vc/vc-mtn.el (vc-mtn-print-log):
13757 * vc/vc-rcs.el (vc-rcs-print-log):
13758 * vc/vc-sccs.el (vc-sccs-print-log):
13759 * vc/vc-svn.el (vc-svn-print-log):
13760 * vc/vc.el (vc-print-log-internal): Doc fixes.
13761
13762 2013-04-23 Glenn Morris <rgm@gnu.org>
13763
13764 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13765 Remove venerable code attempting to avoid substitute-command-keys.
13766
13767 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13768
13769 * textmodes/reftex-vars.el (reftex-label-regexps):
13770 Call `reftex-compile-variables' after changes to this variable.
13771
13772 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13773
13774 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13775 Use lexical-binding.
13776 (jit-lock-force-redisplay): Use markers, check buffer's continued
13777 existence and beware narrowed buffers.
13778 (jit-lock-fontify-now): Adjust call accordingly.
13779
13780 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13781
13782 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13783 to avoid misleading the user.
13784
13785 2013-04-22 Leo Liu <sdl.web@gmail.com>
13786
13787 * info-look.el: Prefer latex2e.info. (Bug#14240)
13788
13789 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13790
13791 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13792
13793 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13794 * net/tramp.el (tramp-call-process): ... here.
13795 (tramp-set-completion-function, tramp-parse-putty):
13796 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13797 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13798 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13799 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13800 (tramp-call-local-coding-command): Use `tramp-call-process'
13801 instead of `tramp-compat-call-process'.
13802
13803 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13804 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13805 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13806 (tramp-find-inline-compress): Improve traces.
13807 (tramp-maybe-send-script): Check for Perl binary.
13808 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13809
13810 2013-04-22 Daiki Ueno <ueno@gnu.org>
13811
13812 * epg.el (epg-context-pinentry-mode): New function.
13813 (epg-context-set-pinentry-mode): New function.
13814 (epg--start): Pass --pinentry-mode option to gpg command.
13815
13816 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13817
13818 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13819 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13820 `completion-at-point'. (Bug#13774)
13821
13822 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13823 default key binding for `describe-distribution' has been moved to
13824 `C-h C-o'. (Bug#13970)
13825
13826 2013-04-21 Glenn Morris <rgm@gnu.org>
13827
13828 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13829 Add doc strings.
13830 (vc-print-log): Clarify interactive prompt.
13831
13832 2013-04-20 Glenn Morris <rgm@gnu.org>
13833
13834 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13835 No longer include timestamp etc information.
13836
13837 2013-04-20 Roland Winkler <winkler@gnu.org>
13838
13839 * faces.el (read-face-name): Bug fix, return just one face if arg
13840 multiple is nil. (Bug#14209)
13841
13842 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13845 (remove-function): Autoload.
13846
13847 * comint.el (comint-redirect-original-filter-function): Remove.
13848 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13849 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13850 (vc-cvs-annotate-command):
13851 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13852 * progmodes/prolog.el (prolog-consult-compile):
13853 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13854 Use add/remove-function instead.
13855 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13856 (gud-tooltip-process-output, gud-tooltip-tips):
13857 Use add/remove-function instead.
13858 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13859 (scheme-interaction-mode, exit-scheme-interaction-mode):
13860 Use add/remove-function instead.
13861
13862 * vc/vc-dispatcher.el: Use lexical-binding.
13863 (vc--process-sentinel): Rename from vc-process-sentinel.
13864 Change last arg to be the code to run. Don't use vc-previous-sentinel
13865 and vc-sentinel-commands any more.
13866 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13867 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13868
13869 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13870
13871 * progmodes/sh-script.el (sh-imenu-generic-expression):
13872 Handle function names with a single character. (Bug#14111)
13873
13874 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13875
13876 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13877 for subroutines defined in an eval (bug#14182).
13878
13879 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13880
13881 * bookmark.el (bookmark-completing-read): Improve handling of empty
13882 string (bug#14176).
13883
13884 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13885
13886 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13887
13888 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13889
13890 New faster Imenu implementation (bug#14058).
13891 * progmodes/python.el:
13892 (python-imenu-prev-index-position):
13893 (python-imenu-format-item-label-function)
13894 (python-imenu-format-parent-item-label-function)
13895 (python-imenu-format-parent-item-jump-label-function):
13896 New vars.
13897 (python-imenu-format-item-label)
13898 (python-imenu-format-parent-item-label)
13899 (python-imenu-format-parent-item-jump-label)
13900 (python-imenu--put-parent, python-imenu--build-tree)
13901 (python-imenu-create-index, python-imenu-create-flat-index)
13902 (python-util-popn): New functions.
13903 (python-mode): Set imenu-create-index-function to
13904 python-imenu-create-index.
13905
13906 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * winner.el (winner-active-region): Use region-active-p, activate-mark
13909 and deactivate-mark (bug#14225).
13910
13911 * simple.el (deactivate-mark): Don't inline it.
13912
13913 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13914
13915 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13916
13917 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13918
13919 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13920 file extensions from the archive-mode entry in order to prefer
13921 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13922
13923 2013-04-18 Leo Liu <sdl.web@gmail.com>
13924
13925 * bindings.el (help-event-list): Add ?\?.
13926
13927 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13928
13929 * subr.el (with-wrapper-hook): Declare obsolete.
13930 * simple.el (filter-buffer-substring-function): New hook.
13931 (filter-buffer-substring): Use it.
13932 (filter-buffer-substring-functions): Mark obsolete.
13933 * minibuffer.el (completion-in-region-function): New hook.
13934 (completion-in-region): Use it.
13935 (completion-in-region-functions): Mark obsolete.
13936 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13937 * abbrev.el (abbrev-expand-function): New hook.
13938 (expand-abbrev): Use it.
13939 (abbrev-expand-functions): Mark obsolete.
13940 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13941 and :filter-return.
13942
13943 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13944
13945 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13946 and do not care about match data.
13947
13948 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13951 completion tables when completing error conditions and
13952 `declare' arguments.
13953 (lisp-complete-symbol, field-complete): Mark as obsolete.
13954 (check-parens): Unmatched parens are user errors.
13955 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13956
13957 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13958
13959 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13960 command changed buffer (ie. `flyspell-pre-buffer' is not current
13961 buffer), which prevents making decisions based on invalid value of
13962 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13963 cause an error when `flyspell-pre-point' was nil after switching
13964 buffers.
13965 (flyspell-post-command-hook): No longer needs to change buffers when
13966 checking pre-word. While at it remove unnecessary progn.
13967
13968 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13969
13970 * textmodes/ispell.el (ispell-add-per-file-word-list):
13971 Fix `flyspell-correct-word-before-point' error when accepting
13972 words and `coment-padding' is an integer by using
13973 `comment-normalize-vars' (Bug #14214).
13974
13975 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13976
13977 New defun movement commands.
13978 * progmodes/python.el (python-nav--syntactically)
13979 (python-nav--forward-defun, python-nav-backward-defun)
13980 (python-nav-forward-defun): New functions.
13981
13982 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13983
13984 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13985 (python-syntax-context): Use named compiler-macro for backwards
13986 compatibility with Emacs 24.x.
13987
13988 2013-04-17 Leo Liu <sdl.web@gmail.com>
13989
13990 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13991 octave-hide-process-buffer.
13992
13993 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13994
13995 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13996 (bug#14216).
13997
13998 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13999
14000 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14001 Fix adjustment of offset when receiving incomplete responses from GDB
14002 (bug#14129).
14003
14004 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14007 python-mode-abbrev-table.
14008 (python-skeleton-define): Adjust accordingly.
14009 (python-mode-abbrev-table): New table that inherits from it so that
14010 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14011
14012 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14013 (abbrev-symbol): Use it.
14014 (abbrev--before-point): Use it since we already handle inheritance.
14015
14016 2013-04-16 Leo Liu <sdl.web@gmail.com>
14017
14018 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14019 binding to info-lookup-symbol.
14020
14021 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14022
14023 * minibuffer.el (completion--twq-all):
14024 * term/ns-win.el (ns-initialize-window-system):
14025 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14026
14027 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14028
14029 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14030 global bindings.
14031
14032 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14033
14034 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14035
14036 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14037 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14038 to nil.
14039 (ruby-end-of-defun): Remove the unused arg, change the docstring
14040 to reflect that this function is only used as the value of
14041 `end-of-defun-function'.
14042 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14043 to reflect an earlier change that beginning/end-of-defun functions
14044 jump between methods in a class definition, as well as top-level
14045 functions.
14046
14047 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14048
14049 * minibuffer.el (minibuffer-complete): Don't just scroll
14050 a *Completions* that's been iconified.
14051 (minibuffer-force-complete): Make sure repetitions do cycle when going
14052 through completion-in-region -> minibuffer-complete.
14053
14054 2013-04-15 Alan Mackenzie <acm@muc.de>
14055
14056 Correct the placement of c-cpp-delimiters when there're #s not at
14057 col 0.
14058
14059 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14060 place a submatch around the #.
14061 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14062 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14063 on the #, not BOL.
14064
14065 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14066
14067 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14068 (advice--member-p): New arg `name'.
14069 (advice--add-function, advice-member-p): Use it (bug#14202).
14070
14071 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14072
14073 Reformulate java imenu-generic-expression.
14074 The old expression contained ill formed regexps.
14075
14076 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14077 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14078 (cc-imenu-java-method-arg-regexp): New defconsts.
14079 (cc-imenu-java-build-type-args-regex): New defun.
14080 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14081 handling of spaces in the regexp.
14082
14083 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14084
14085 * textmodes/ispell.el (ispell-command-loop): Remove
14086 flyspell highlight of a word when ispell accepts it (bug #14178).
14087
14088 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14089
14090 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14091 uses code from the previous `ange-ftp-run-real-handler'.
14092 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14093 only in case that function exist. This is needed for proper
14094 unloading of Tramp.
14095
14096 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14097
14098 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14099
14100 * textmodes/reftex.el (reftex-compile-variables): Use it.
14101
14102 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14103
14104 * files.el (normal-mode): Only use default major-mode if no other mode
14105 was specified.
14106
14107 * emacs-lisp/trace.el (trace-values): New function.
14108
14109 * files.el: Allow : in local variables (bug#14089).
14110 (hack-local-variable-regexp): New var.
14111 (hack-local-variables-prop-line, hack-local-variables): Use it.
14112
14113 2013-04-13 Roland Winkler <winkler@gnu.org>
14114
14115 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14116 data before it gets modified by bibtex-beginning-of-entry.
14117
14118 2013-04-13 Roland Winkler <winkler@gnu.org>
14119
14120 * textmodes/bibtex.el (bibtex-url): Doc fix.
14121
14122 2013-04-13 Roland Winkler <winkler@gnu.org>
14123
14124 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14125 does not visit a BibTeX file, exclude it from the list of buffers
14126 returned by bibtex-initialize.
14127
14128 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14129
14130 * window.el (split-window): Remove interactive form, since as a
14131 command this function is a special case of split-window-below.
14132 Correct doc string.
14133
14134 2013-04-12 Roland Winkler <winkler@gnu.org>
14135
14136 * faces.el (read-face-name): Do not override value of arg default.
14137 Allow single faces and strings as default values. Remove those
14138 elements from return value that are not faces.
14139 (describe-face): Simplify.
14140 (face-at-point): New optional args thing and multiple so that this
14141 function can provide the same functionality previously provided by
14142 read-face-name.
14143 (make-face-bold, make-face-unbold, make-face-italic)
14144 (make-face-unitalic, make-face-bold-italic, invert-face)
14145 (modify-face, read-face-and-attribute): Use face-at-point.
14146
14147 * cus-edit.el (customize-face, customize-face-other-window)
14148 * cus-theme.el (custom-theme-add-face)
14149 * face-remap.el (buffer-face-set)
14150 * facemenu.el (facemenu-set-face): Use face-at-point.
14151
14152 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14153
14154 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14155
14156 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14157
14158 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14159 off leading { and trailing } from field values.
14160
14161 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14162
14163 * emacs-lisp/timer.el (timer--check): New function.
14164 (timer--time, timer-set-function, timer-event-handler): Use it.
14165 (timer-set-idle-time): Simplify.
14166 (timer--activate): CSE.
14167 (timer-event-handler): Give more info in error message.
14168 (internal-timer-start-idle): New function, moved from C.
14169
14170 * mpc.el (mpc-proc): Add `restart' argument.
14171 (mpc-proc-cmd): Use it.
14172 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14173 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14174 less often.
14175
14176 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14177
14178 * progmodes/sh-script.el: Implement `sh-mode' own
14179 `add-log-current-defun-function' (bug#14112).
14180 (sh-current-defun-name): New function.
14181 (sh-mode): Use the function.
14182
14183 2013-04-09 Bastien Guerry <bzg@gnu.org>
14184
14185 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14186
14187 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14188
14189 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14190
14191 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14192 timer (bug#14156).
14193
14194 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14195
14196 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14197 declaration.
14198
14199 2013-04-07 Leo Liu <sdl.web@gmail.com>
14200
14201 * pcmpl-x.el: New file.
14202
14203 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14204
14205 Do not set x-display-name until X connection is established.
14206 This is needed to prevent from weird situation described at
14207 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14208 * frame.el (make-frame): Set x-display-name after call to
14209 window system initialization function, not before.
14210 * term/x-win.el (x-initialize-window-system): Add optional
14211 display argument and use it.
14212 * term/w32-win.el (w32-initialize-window-system):
14213 * term/ns-win.el (ns-initialize-window-system):
14214 * term/pc-win.el (msdos-initialize-window-system):
14215 Add compatible optional display argument.
14216
14217 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14218
14219 * files.el (normal-backup-enable-predicate): On MS-Windows and
14220 MS-DOS compare truenames of temporary-file-directory and of the
14221 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14222 don't fail comparison by compare-strings. Also, compare file
14223 names case-insensitively on MS-Windows and MS-DOS.
14224
14225 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14228 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14229
14230 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14231
14232 * whitespace.el (whitespace-color-on, whitespace-color-off):
14233 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14234
14235 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14236
14237 * ispell.el (ispell-set-spellchecker-params):
14238 Really set `ispell-args' for all equivs.
14239
14240 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * ido.el (ido-completions): Use extra elements of ido-decorations
14243 (bug#14143).
14244 (ido-decorations): Update docstring.
14245
14246 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
14247
14248 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14249 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
14250 nil during initialization, in order not to miss changes since the
14251 file was opened. (Bug#14140)
14252
14253 2013-04-05 Leo Liu <sdl.web@gmail.com>
14254
14255 * kmacro.el (kmacro-call-macro): Fix bug#14135.
14256
14257 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
14258
14259 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
14260
14261 2013-04-04 Glenn Morris <rgm@gnu.org>
14262
14263 * electric.el (electric-pair-inhibit-predicate): Add :version.
14264
14265 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14266
14267 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
14268 when a package is required several times (bug#14082).
14269
14270 2013-04-04 Roland Winkler <winkler@gnu.org>
14271
14272 * faces.el (read-face-name): Behave as promised by the docstring.
14273 Assume that arg default is a list of faces.
14274 (describe-face): Call read-face-name with list of default faces.
14275
14276 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14277
14278 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14279 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14280 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14281 the header.
14282 (bookmark-exit-hook-internal): Save even if list is empty.
14283
14284 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14285
14286 * emacs-lisp/package.el (package-pinned-packages): New var.
14287 (package--add-to-archive-contents): Obey it (bug#14118).
14288
14289 2013-04-03 Alan Mackenzie <acm@muc.de>
14290
14291 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14292 Also adapt to the new values of element 7 of a parse state.
14293
14294 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14295 parameter `not-in-delimiter'. Handle being inside comment opener.
14296 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14297 character in case we're typing a '*' after a '/'.
14298 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14299 instead by passing the parameter to c-state-pp-to-literal.
14300
14301 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14302 for elt. 7 of a parse state.
14303
14304 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14305
14306 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14307 * international/latin1-disp.el, international/mule-util.el:
14308 * language/cyril-util.el, language/european.el, language/ind-util.el:
14309 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14310 * language/tibetan.el, language/viet-util.el:
14311 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14312
14313 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14314
14315 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14316 (electric-pair-post-self-insert-function): Use it.
14317 (electric-pair-default-inhibit): New function, extracted from
14318 electric-pair-post-self-insert-function.
14319
14320 2013-03-31 Roland Winkler <winkler@gnu.org>
14321
14322 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14323
14324 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14325
14326 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14327
14328 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14329
14330 Un-indent after "pass" and "return" statements (Bug#13888)
14331 * progmodes/python.el (python-indent-block-enders): New var.
14332 (python-indent-calculate-indentation): Use it.
14333
14334 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14335
14336 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14337 defun. Defining it as defalias could introduce too eager
14338 byte-compiler optimization. (Bug#14030)
14339
14340 2013-03-30 Chong Yidong <cyd@gnu.org>
14341
14342 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14343
14344 2013-03-30 Leo Liu <sdl.web@gmail.com>
14345
14346 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14347 (kmacro-execute-from-register): Pass the keyboard macro to
14348 kmacro-call-macro or repeating won't work correctly.
14349
14350 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14351
14352 * progmodes/subword.el: Back to using `forward-symbol'.
14353
14354 * subr.el (forward-whitespace, forward-symbol)
14355 (forward-same-syntax): Move from thingatpt.el.
14356
14357 2013-03-29 Leo Liu <sdl.web@gmail.com>
14358
14359 * kmacro.el (kmacro-to-register): New command.
14360 (kmacro-execute-from-register): New function.
14361 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14362
14363 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14364
14365 * mpc.el: Use defvar-local and setq-local.
14366 (mpc--proc-connect): Connection failures are not bugs.
14367 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14368 (mpc-volume-map): Bind to the up-events.
14369
14370 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14371
14372 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14373 instead of `forward-symbol'.
14374
14375 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14376
14377 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14378 (edebug--recursive-edit): Use it.
14379 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14380 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14381
14382 2013-03-28 Leo Liu <sdl.web@gmail.com>
14383
14384 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14385
14386 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14387
14388 * facemenu.el (list-colors-callback): New defvar.
14389 (list-colors-redisplay): New function.
14390 (list-colors-display): Install list-colors-redisplay as the
14391 revert-buffer-function. (Bug#14063)
14392
14393 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14394
14395 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14396 and suffixes don't overlap (bug#14061).
14397
14398 * case-table.el: Use lexical-binding.
14399 (case-table-get-table): New function.
14400 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14401
14402 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14403
14404 * progmodes/subword.el: Add `superword-mode' to do word motion
14405 over symbol_words (parallels and leverages `subword-mode' which
14406 does word motion inside MixedCaseWords).
14407
14408 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14409
14410 * eshell/em-unix.el: Move su and sudo to...
14411 * eshell/em-tramp.el: ...Eshell tramp module.
14412
14413 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14414
14415 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14416 Change return value to be a sexp. Delay `get-buffer' to after
14417 restoring the desktop (bug#13951).
14418
14419 2013-03-26 Leo Liu <sdl.web@gmail.com>
14420
14421 * register.el: Move semantic tag handling back to
14422 cedet/semantic/senator.el. (Bug#14052)
14423
14424 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14425
14426 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14427 into the prompt either (bug#13963).
14428
14429 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14430
14431 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14432 part of "(error-foo)".
14433
14434 2013-03-24 Juri Linkov <juri@jurta.org>
14435
14436 * replace.el (list-matching-lines-prefix-face): New defcustom.
14437 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14438 `occur-engine' if `face-differs-from-default-p' returns t.
14439 (occur-engine): Add `,' inside backquote construct to evaluate
14440 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14441 Pass `prefix-face' to the functions `occur-context-lines' and
14442 `occur-engine-add-prefix'.
14443 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14444 `prefix-face' and propertize the prefix with `prefix-face'.
14445 (Bug#14017)
14446
14447 2013-03-24 Leo Liu <sdl.web@gmail.com>
14448
14449 * nxml/rng-valid.el (rng-validate-while-idle)
14450 (rng-validate-quick-while-idle): Guard against deleted buffer.
14451 (Bug#13999)
14452
14453 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14454 is the last entry in kill-buffer-hook.
14455
14456 * files.el (kill-buffer-hook): Doc fix.
14457
14458 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14459
14460 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14461 Make it safe-local.
14462
14463 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14464
14465 2013-03-23 Leo Liu <sdl.web@gmail.com>
14466
14467 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14468 Remove.
14469
14470 * nxml/rng-valid.el (rng-validate-mode)
14471 (rng-after-change-function, rng-do-some-validation):
14472 * nxml/rng-maint.el (rng-validate-buffer):
14473 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14474 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14475 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14476 (nxml-extend-after-change-region): Use with-silent-modifications.
14477
14478 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14479 timer-idle-list.
14480
14481 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14482 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14483 timer-idle-list. (Bug#13999)
14484
14485 2013-03-23 Juri Linkov <juri@jurta.org>
14486
14487 * info.el (info-index-match): New face.
14488 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14489 main pattern and add text properties with the new face to matches
14490 in index entries relative to the beginning of the index entry.
14491 (Bug#14015)
14492
14493 2013-03-21 Eric Ludlam <zappo@gnu.org>
14494
14495 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14496 Inhibit read only while inserting objects.
14497
14498 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14499
14500 * progmodes/cfengine.el: Update docs to mention
14501 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14502 symbol motion. Remove "_" from the word syntax.
14503
14504 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14505
14506 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14507 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14508
14509 2013-03-20 Juri Linkov <juri@jurta.org>
14510
14511 * info.el (Info-next-reference-or-link)
14512 (Info-prev-reference-or-link): New functions.
14513 (Info-next-reference, Info-prev-reference): Use them.
14514 (Info-try-follow-nearest-node): Handle footnote navigation.
14515 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14516
14517 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14518
14519 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14520 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14521
14522 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14523
14524 Suppress unnecessary non-ASCII chatter during build process.
14525 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14526 (batch-skkdic-convert): Suppress most of the chatter.
14527 It's not needed so much now that machines are faster,
14528 and its non-ASCII component was confusing; see Dmitry Gutov in
14529 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14530
14531 2013-03-20 Leo Liu <sdl.web@gmail.com>
14532
14533 * ido.el (ido-chop): Fix bug#10994.
14534
14535 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14536
14537 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14538 Remove vars.
14539 (whitespace-color-on, whitespace-color-off):
14540 Use `font-lock-fontify-buffer' (Bug#13817).
14541
14542 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14543
14544 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14545 remapping in mode-line.
14546 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14547
14548 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14549
14550 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14551 value for `whitespace-line' face (Bug#13875).
14552 (whitespace-font-lock-keywords): Change description.
14553 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14554 the constructed keywords instead.
14555 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14556
14557 2013-03-19 Leo Liu <sdl.web@gmail.com>
14558
14559 * progmodes/compile.el (compilation-display-error): New command.
14560 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14561 C-o. (Bug#13992)
14562
14563 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14564
14565 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14566
14567 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14568
14569 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14570
14571 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14572
14573 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14574
14575 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14576 * net/tramp-gvfs.el (top):
14577 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14578 (tramp-handle-shell-command): Use it.
14579 (tramp-dissect-file-name): Raise an error when hostname is a
14580 method name, and neither method nor user is specified.
14581
14582 * net/trampver.el: Update release number.
14583
14584 2013-03-18 Leo Liu <sdl.web@gmail.com>
14585
14586 Make sure eldoc can be turned off properly.
14587 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14588 eldoc-mode.
14589 (eldoc-display-message-p): Revert last change.
14590 (eldoc-display-message-no-interference-p)
14591 (eldoc-print-current-symbol-info): Tweak.
14592
14593 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14594
14595 * doc-view.el (doc-view-new-window-function): Check the new window
14596 overlay's display property instead the char property of the
14597 buffer's first char. Use `with-selected-window' instead of
14598 `save-window-excursion' with `select-window'.
14599 (doc-view-document->bitmap): Check the current doc-view overlay's
14600 display property instead the char property of the buffer's first char.
14601
14602 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14603
14604 Automate the build of ja-dic.el (Bug#13984).
14605 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14606 from the input, rather than assume that it's been done for us by the
14607 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14608 the current date into a ja-dic.el comment, as that complicates
14609 regression testing.
14610
14611 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14612
14613 * whitespace.el: Fix double evaluation.
14614 (whitespace-space, whitespace-hspace, whitespace-tab)
14615 (whitespace-newline, whitespace-trailing, whitespace-line)
14616 (whitespace-space-before-tab, whitespace-indentation)
14617 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14618 obsolete defvars.
14619 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14620 (whitespace-color-on): Use a single font-lock-add-keywords call.
14621 Fix double-evaluation of face variables.
14622
14623 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14624
14625 * net/tramp-adb.el (tramp-adb-parse-device-names):
14626 Use `start-process' instead of `call-process'. Otherwise, the
14627 function might be blocked under MS Windows. (Bug#13299)
14628
14629 2013-03-17 Leo Liu <sdl.web@gmail.com>
14630
14631 Extend eldoc to display info in the mode-line. (Bug#13978)
14632 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14633 (eldoc-mode-line-string): New variable.
14634 (eldoc-minibuffer-message): New function.
14635 (eldoc-message-function): New variable.
14636 (eldoc-message): Use it.
14637 (eldoc-display-message-p)
14638 (eldoc-display-message-no-interference-p):
14639 Support eldoc-post-insert-mode.
14640
14641 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14642 (eval-expression): Run it.
14643
14644 2013-03-17 Roland Winkler <winkler@gnu.org>
14645
14646 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14647 strings in the list of return values.
14648
14649 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14650
14651 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14652 radix before checking for HMS forms.
14653
14654 2013-03-16 Leo Liu <sdl.web@gmail.com>
14655
14656 * progmodes/scheme.el: Add indentation and font-locking for λ.
14657 (Bug#13975)
14658
14659 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14662 token before point (bug#13942).
14663
14664 2013-03-16 Leo Liu <sdl.web@gmail.com>
14665
14666 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14667
14668 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14669
14670 * startup.el (command-line-normalize-file-name): Fix handling of
14671 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14672 <xfq.free@gmail.com> in
14673 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14674
14675 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14676
14677 Sync with Tramp 2.2.7.
14678
14679 * net/trampver.el: Update release number.
14680
14681 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14682
14683 * doc-view.el: Fix bug#13887.
14684 (doc-view-insert-image): Don't modify overlay associated to
14685 non-live windows, and implement horizontal centering of image in
14686 case it's smaller than the window.
14687 (doc-view-new-window-function): Force redisplay of new windows on
14688 doc-view buffers.
14689
14690 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14691
14692 * saveplace.el (save-place-alist-to-file): Don't sort
14693 `save-place-alist', just pretty-print it (bug#13882).
14694
14695 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14696
14697 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14698 Check whether `default-file-name-coding-system' is bound.
14699 It isn't in XEmacs.
14700
14701 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14702
14703 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14704 backquotes for `obsolete' (bug#13929).
14705
14706 * international/mule.el (find-auto-coding): Include file name in
14707 obsolescence warning (bug#13922).
14708
14709 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14710
14711 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14712 for CFEngine 3-specific indentation.
14713 (cfengine3-indent-line): Use it. Fix up category regex.
14714 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14715
14716 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * type-break.el (type-break-file-name):
14719 * textmodes/remember.el (remember-data-file):
14720 * strokes.el (strokes-file):
14721 * shadowfile.el (shadow-initialize):
14722 * saveplace.el (save-place-file):
14723 * ps-bdf.el (bdf-cache-file):
14724 * progmodes/idlwave.el (idlwave-config-directory):
14725 * net/quickurl.el (quickurl-url-file):
14726 * international/kkc.el (kkc-init-file-name):
14727 * ido.el (ido-save-directory-list-file):
14728 * emulation/viper.el (viper-custom-file-name):
14729 * emulation/vip.el (vip-startup-file):
14730 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14731 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14732
14733 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14734
14735 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14736 * language/thai-word.el: Switch to UTF-8.
14737
14738 See ChangeLog.16 for earlier changes.
14739
14740 ;; Local Variables:
14741 ;; coding: utf-8
14742 ;; End:
14743
14744 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14745
14746 This file is part of GNU Emacs.
14747
14748 GNU Emacs is free software: you can redistribute it and/or modify
14749 it under the terms of the GNU General Public License as published by
14750 the Free Software Foundation, either version 3 of the License, or
14751 (at your option) any later version.
14752
14753 GNU Emacs is distributed in the hope that it will be useful,
14754 but WITHOUT ANY WARRANTY; without even the implied warranty of
14755 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14756 GNU General Public License for more details.
14757
14758 You should have received a copy of the GNU General Public License
14759 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.