]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
ChangeLog simplification
[gnu-emacs] / lisp / ChangeLog
1 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp-cache.el (tramp-get-file-property)
4 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
5 and `tramp-cache-set-count-*' are bound. Otherwise, there might
6 be compiler warnings.
7
8 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
9 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
10
11 2014-11-01 Eli Zaretskii <eliz@gnu.org>
12
13 * progmodes/compile.el (compilation-mode): Turn off deferred
14 fontifications locally. (Bug#18856)
15
16 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
17
18 * net/tramp-sh.el (tramp-send-command): Fix the case where the
19 remote-echo connection property is non-nil (bug#18858).
20
21 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
22
23 Backport Tramp changes from trunk.
24
25 * net/tramp.el (tramp-methods): Tweak docstring.
26 (tramp-file-name-handler): Apply `cons' where appropriate.
27 (tramp-handle-file-accessible-directory-p): Check for
28 `file-readable-p' instead of `file-executable-p'.
29 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
30 (tramp-handle-unhandled-file-name-directory): Return "/".
31 (tramp-check-cached-permissions):
32 Use `tramp-compat-file-attributes'.
33 (tramp-call-process): Add new argument VEC. Adapt callees in all
34 tramp*.el files.
35
36 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
37 (tramp-adb-handle-write-region): Improve messages.
38 (tramp-adb-maybe-open-connection): Don't set
39 `tramp-current-*' variables.
40
41 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
42 Suppress debug messages.
43
44 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
45 (tramp-ftp-file-name-handler):
46
47 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
48 (tramp-gvfs-methods-mounttracker)
49 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
50 during initialization. (Bug#18774)
51 (tramp-gvfs-handle-delete-file): Flush file properties, not
52 directory properties.
53 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
54 reading "unix::mode".
55 (tramp-gvfs-handle-file-name-all-completions):
56 Use "-h" option for "gvfs-ls".
57 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
58 `user' and `localname' could be nil.
59 (tramp-gvfs-send-command): Simplify traces.
60
61 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
62 (vc-git-program, vc-hg-program): Declare.
63 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
64 (tramp-methods) <nc>: Add new method.
65 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
66 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
67 `tramp-login-args'.
68 (tramp-default-user-alist): Add "nc".
69 (top): Remove completion function for "sftp". Add completion
70 functions for "nc" and "psftp".
71 (tramp-sh-handle-set-visited-file-modtime):
72 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
73 (tramp-do-copy-or-rename-file-out-of-band):
74 Use cached "remote-copy-args" value, if available. (Bug#18199)
75 Tweak docstring. Implement support for "nc" method.
76 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
77 (tramp-remote-coding-commands, tramp-call-local-coding-command):
78 Tweak docstring.
79 (tramp-sh-handle-start-file-process): Expand `default-directory'.
80 (tramp-sh-handle-write-region): Tweak error message.
81 (tramp-sh-handle-vc-registered): Remove backends when the remote
82 binary does not exist.
83 (tramp-open-connection-setup-interactive-shell):
84 Prefer utf-8 coding. (Bug#17859)
85 (tramp-find-inline-encoding): Do not raise an error.
86 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
87 the "nc" case. Quote result also locally.
88 (tramp-get-remote-id): Check also for "gid".
89 (tramp-get-remote-python):
90
91 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
92 (tramp-smb-handle-set-file-acl): Use `start-process'.
93 (tramp-smb-handle-insert-directory): Use progress reporter.
94 (tramp-smb-handle-rename-file): Flush also file properties of
95 FILENAME.
96
97 * net/trampver.el: Update release number.
98
99 2014-11-01 Reuben Thomas <rrt@sc3d.org>
100
101 * net/tramp.el (tramp-handle-file-symlink-p):
102 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
103 about VMS, which we no longer support.
104
105 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
108 the global vc-handled-backends (bug#18535).
109
110 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
111 Michael Albinus <michael.albinus@gmx.de>
112
113 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
114 Reduce the amount of set environment variable commands.
115
116 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
117
118 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
119 current-time.
120
121 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
122
123 * net/tramp-sh.el (tramp-get-remote-python): Also search for
124 executables named "python2" or "python3".
125 (tramp-get-remote-uid-with-python): Use parentheses around
126 arguments to `print' to make it compatible with Python 3.
127 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
128
129 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * simple.el (newline): Add assertions to try and help catch bug#18913.
132
133 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
134 (bug#18886).
135 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
136
137 2014-10-31 Eli Zaretskii <eliz@gnu.org>
138
139 * Makefile.in (repo-update): Fix a typo and slightly reword
140 commentary.
141
142 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
143
144 * Makefile.in: Change some production names so they're neutral
145 about the repository type.
146
147 2014-10-30 Kim F. Storm <storm@cua.dk>
148
149 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
150 * delsel.el (delete-selection-save-to-register)
151 (delsel--replace-text-or-position): New vars.
152 (delete-active-region): Use them.
153 (delete-selection-repeat-replace-region): New command, moved from
154 cua-base.el.
155 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
156 (cua-repeat-replace-region): Move command to delsel.el.
157 (cua--init-keymaps): Update binding accordingly.
158 (cua-mode): Set delete-selection-save-to-register.
159
160 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
163 (c-lang-defconst):
164 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
165
166 2014-10-29 Eli Zaretskii <eliz@gnu.org>
167
168 * progmodes/compile.el (compilation-start):
169 If compilation-scroll-output is non-nil, don't force window-start of
170 the compilation buffer to be at beginning of buffer. (Bug#18874)
171
172 2014-10-23 Tassilo Horn <tsdh@gnu.org>
173
174 * doc-view.el (doc-view-open-text): View the document's plain text
175 in the current buffer instead of a new one.
176 (doc-view-toggle-display): Handle the case where the current
177 buffer contains the plain text contents of the document.
178 (doc-view-initiate-display): Don't switch to fallback mode if the
179 user wants to view the doc's plain text. [Backport]
180
181 2014-10-23 Eli Zaretskii <eliz@gnu.org>
182
183 * startup.el (fancy-about-text): Read the entire tutorial, not
184 just its first 256 bytes. (Bug#18760)
185
186 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
189 * emacs-lisp/cl-extra.el: Add missing provide.
190
191 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
194 all args are copyable (bug#18767).
195 (=, <, >, <=, >=): Re-enable the optimization.
196
197 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
198
199 * vc/vc-hg.el (vc-hg-log-graph): New var.
200 (vc-hg-print-log): Use it.
201 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
202 graph output (bug#17515).
203
204 2014-10-20 Juri Linkov <juri@jurta.org>
205
206 * vc/diff-mode.el (diff-refine-changed): Rename from
207 `diff-refine-change' for consistency with `diff-changed'.
208 (diff-refine-change): Add obsolete face alias. (Bug#10181)
209
210 * vc/smerge-mode.el (smerge-refined-changed): Rename from
211 `smerge-refined-change'.
212 (smerge-refined-change): Add obsolete face alias.
213
214 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * subr.el (call-process-shell-command, process-file-shell-command):
217 Make the `args' obsolete (bug#18409).
218 (start-process-shell-command, start-file-process-shell-command):
219 Use `declare'.
220
221 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
222
223 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
224
225 2014-10-20 Glenn Morris <rgm@gnu.org>
226
227 * dired.el (dired-read-regexp): Make obsolete.
228 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
229 (dired-flag-files-regexp):
230 * dired-aux.el (dired-mark-read-regexp):
231 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
232
233 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * progmodes/python.el (inferior-python-mode): Use add-hook.
236
237 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
238
239 2014-10-20 Glenn Morris <rgm@gnu.org>
240
241 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
242 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
243 * emulation/ws-mode.el: Move to obsolete/. [Backport]
244
245 2014-10-20 Glenn Morris <rgm@gnu.org>
246
247 * cus-start.el (history-length): Bump :version. [Backport]
248
249 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * obsolete/cc-compat.el: Make obsolete (bug#18561).
252
253 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
254
255 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
256 case (bug#18767).
257
258 2014-10-20 Glenn Morris <rgm@gnu.org>
259
260 * Version 24.4 released.
261
262 2014-10-15 Alan Mackenzie <acm@muc.de>
263
264 * cus-edit.el (custom-command-apply): Specify the return value in
265 the doc string.
266 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
267 custom-command-apply has returned non-nil.
268
269 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
272 Backported (bug#18688).
273
274 2014-10-14 Eli Zaretskii <eliz@gnu.org>
275
276 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
277 Force bidi-paragraph-direction to 'left-to-right'. This fixes
278 buffer-menu display when the first buffer happens to start with
279 R2L letter.
280
281 2014-10-13 Glenn Morris <rgm@gnu.org>
282
283 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
284 (authors-obsolete-files-regexps): Additions.
285 (authors-no-scan-regexps): New constant.
286 (authors-no-scan-file-p): New function.
287 (authors): Respect authors-no-scan-file-p.
288
289 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
290
291 Fix import completion. (Bug#18582)
292 * progmodes/python.el (python-shell-completion-get-completions):
293 Fix import case regexp.
294
295 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
298 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
299 * progmodes/prolog.el (prolog-electric--underscore): Same.
300
301 2014-10-09 Glenn Morris <rgm@gnu.org>
302
303 * frame.el (display-monitor-attributes-list): Doc tweaks.
304
305 2014-10-08 Eli Zaretskii <eliz@gnu.org>
306
307 * faces.el (display-grayscale-p): Mention in the doc string that
308 the argument can be either a display name or a frame.
309
310 * frame.el (display-pixel-height, display-pixel-width)
311 (display-mm-height, display-mm-width, display-backing-store)
312 (display-save-under, display-planes, display-color-cells)
313 (display-visual-class, display-monitor-attributes-list)
314 (display-screens): Mention in the doc string that the argument can
315 be either a display name or a frame. Improve the docs of the
316 monitor attributes. (Bug#18636)
317
318 2014-10-06 Martin Rudalics <rudalics@gmx.at>
319
320 * term.el (term-window-width): Subtract 1 from the width when
321 any fringe has zero width, not just the right fringe. (Bug#18601)
322
323 2014-10-05 Leo Liu <sdl.web@gmail.com>
324
325 * imenu.el (imenu-default-goto-function): Fix typo.
326
327 2014-10-04 Glenn Morris <rgm@gnu.org>
328
329 * frame.el (frame-monitor-attributes)
330 (display-monitor-attributes-list): Doc fixes.
331
332 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
333
334 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
335 (vc-svn-ignore): Use it. (Bug#18619)
336
337 2014-10-03 Martin Rudalics <rudalics@gmx.at>
338
339 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
340 In doc-string mention need to set `frame-resize-pixelwise'.
341
342 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
345 similarly to Rogers's 2010-06-16 change for the remote case
346 (bug#18605).
347
348 2014-10-01 Glenn Morris <rgm@gnu.org>
349
350 * emacs-lisp/package.el (package-import-keyring):
351 Create gnupg directory private. (Bug#17625#155)
352
353 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
354
355 * progmodes/python.el (python-shell-completion-get-completions):
356 Use python-shell--prompt-calculated-input-regexp from the
357 process buffer (bug#18582).
358 Don't assume that `line' comes from the process buffer.
359
360 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
361
362 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
363 (bug#18462).
364
365 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * emacs-lisp/package.el (package-check-signature): Default to nil if
368 GPG is not available.
369 (package-refresh-contents): Don't mess with the keyring if we won't
370 check the signatures anyway.
371
372 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
373
374 * window.el (fit-window-to-buffer): When counting buffer width,
375 count the whole visible buffer. Correctly convert the body-height
376 to pixel size for window-text-pixel-size (Bug#18498).
377
378 2014-09-14 Glenn Morris <rgm@gnu.org>
379
380 * image.el (image-multi-frame-p): Fix thinko - do not force
381 a delay if none was specified. (Bug#18334)
382
383 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
384
385 * window.el (fit-window-to-buffer): Doc fix.
386
387 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
388
389 * desktop.el (desktop-create-buffer): Check that buffers are still live
390 before burying them (bug#18373).
391
392 2014-09-09 Glenn Morris <rgm@gnu.org>
393
394 * calendar/diary-lib.el (diary-list-entries):
395 Restore 24.3 display behavior. (Bug#18381)
396
397 2014-09-09 Eli Zaretskii <eliz@gnu.org>
398
399 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
400 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
401 discrepancy between window-pixel-edges and mouse events, and
402 avoids moving mode line up when the mouse click is on the modeline
403 and no drag is attempted.
404
405 2014-09-08 Glenn Morris <rgm@gnu.org>
406
407 * calendar/calendar.el (calendar-basic-setup):
408 Avoid clobbering calendar with diary. (Bug#18381)
409
410 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
411
412 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
413
414 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
415
416 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
417 as well (bug#18400).
418
419 2014-09-04 Eli Zaretskii <eliz@gnu.org>
420
421 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
422
423 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * emacs-lisp/package.el (package-generate-description-file):
426 Properly quote the arguments (bug#18332). Change second arg.
427 (package--alist-to-plist-args): Rename from package--alist-to-plist and
428 quote the elements.
429 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
430 the *-pkg.el file. Adjust to new calling convention of
431 package-generate-description-file.
432
433 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
434 (gud-gdb-completions): Remove obsolete workaround.
435
436 2014-09-02 Eli Zaretskii <eliz@gnu.org>
437
438 * subr.el (posn-col-row): Revert the change from commit
439 2010-11-13T21:07:58Z!eliz@gnu.org, which
440 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
441 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
442 introduced an off-by-one error in the reported row when there is a
443 header line. (Bug#18384)
444
445 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
446
447 * progmodes/python.el (python-indent-post-self-insert-function):
448 Avoid electric colon at beginning-of-defun. (Bug#18228)
449
450 2014-09-01 Glenn Morris <rgm@gnu.org>
451
452 * tutorial.el (tutorial--display-changes):
453 Fix 2014-07-29 change. (Bug#18382)
454
455 2014-08-29 Ken Brown <kbrown@cornell.edu>
456
457 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
458 the Cygwin-w32 build. (Bug#18347)
459
460 2014-08-28 Glenn Morris <rgm@gnu.org>
461
462 * tar-mode.el (tar--extract, tar-extract):
463 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
464
465 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
466
467 * emacs-lisp/authors.el (authors-aliases): Addition.
468
469 * net/tramp-adb.el: Spell author name correctly.
470
471 2014-08-27 João Távora <joaotavora@gmail.com>
472
473 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
474 use url-expand-file-name. (Bug#18310)
475
476 2014-08-25 Glenn Morris <rgm@gnu.org>
477
478 * emulation/cua-rect.el (cua--highlight-rectangle):
479 Avoid error at point-min. (Bug#18309)
480
481 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
484 executable-find (bug#18244).
485
486 * simple.el (self-insert-uses-region-functions): Defvar.
487
488 2014-08-13 Leo Liu <sdl.web@gmail.com>
489
490 * speedbar.el (speedbar-generic-list-tag-p): Allow special
491 elements from imenu.
492
493 2014-08-11 Glenn Morris <rgm@gnu.org>
494
495 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
496
497 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
498 chose coding system for writing before backing up, since it causes
499 a more serious problem than the one it solves. (Closes Bug#18141,
500 reopens Bug#13522.)
501
502 2014-08-10 Martin Rudalics <rudalics@gmx.at>
503
504 * window.el (window-total-size): Make doc-string more
505 self-contained.
506
507 2014-08-09 Martin Rudalics <rudalics@gmx.at>
508
509 * window.el (display-buffer-below-selected): Restore original
510 behavior if buffer is already displayed in the window below the
511 selected one (Bug#18181).
512
513 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
516 event (bug#18212).
517
518 2014-08-08 Eli Zaretskii <eliz@gnu.org>
519
520 * info.el (info): Doc fix.
521
522 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * info.el (Info-mode-map): Override a global down-mouse-2 binding
525 (bug#18212).
526
527 2014-08-05 Eli Zaretskii <eliz@gnu.org>
528
529 * simple.el (default-line-height): A floating-point value of
530 line-spacing means a fraction of the default frame font's height,
531 not of the font currently used by the 'default' face.
532 Truncate the pixel value, like the display engine does.
533 (window-screen-lines): Use window-inside-pixel-edges for
534 determining the window height in pixels. (Bug#18195)
535
536 2014-07-29 Eli Zaretskii <eliz@gnu.org>
537
538 * tutorial.el (tutorial--display-changes): Accept punctuation
539 characters before the key binding. (Bug#18146)
540
541 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
542
543 * doc-view.el (doc-view-open-text): Don't require that the
544 document is saved in a file (e.g., email attachment).
545
546 2014-07-27 Eli Zaretskii <eliz@gnu.org>
547
548 * window.el (window--pixel-to-total): Use FRAME's root window, not
549 that of the selected frame. (Bug#18112, Bug#16674)
550
551 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
552
553 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
554 (Bug#18117)
555
556 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
557
558 * progmodes/python.el (inferior-python-mode): Doc fix.
559
560 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
561
562 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
563 not a character, ignore it instead of raising an error.
564
565 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
566
567 * calendar/todo-mode.el: Fix handling of marked items and make
568 minor code improvements.
569 (todo-edit-item): If there are marked items, ensure user can only
570 invoke editing commands that work with marked items.
571 (todo-edit-item--text): When there are marked items, make it a
572 noop if invoked with point not on an item; otherwise, ensure it
573 applies only to item at point.
574 (todo-item-undone): If there are marked not-done items, return
575 point to its original position before signaling user error.
576 (todo--user-error-if-marked-done-item): New function.
577 (todo-edit-item--header, todo-edit-item--diary-inclusion)
578 (todo-item-done): Use it.
579
580 2014-07-25 Glenn Morris <rgm@gnu.org>
581
582 * files.el (toggle-read-only): Re-add basic doc-string.
583 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
584
585 * progmodes/prolog.el (prolog-mode-keybindings-edit):
586 Replace missing `switch-to-prolog' with `run-prolog'.
587 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
588
589 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
590
591 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
592 of file-wide setting when changing category-wide setting.
593
594 2014-07-21 Glenn Morris <rgm@gnu.org>
595
596 * progmodes/hideif.el (hide-ifdef-mode-submap):
597 Also substitute read-only-mode.
598 * bindings.el (mode-line-toggle-read-only):
599 * bs.el (bs-toggle-readonly):
600 * buff-menu.el (Buffer-menu-toggle-read-only):
601 * dired.el (dired-toggle-read-only):
602 * files.el (view-read-only, find-file-read-only)
603 (find-file-read-only-other-window)
604 (find-file-read-only-other-frame):
605 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
606 Doc fixes re toggle-read-only.
607
608 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
609
610 * progmodes/python.el: Add comment about pipe buffering and
611 solutions for missing/delayed output in inferior Python shells.
612 (Bug#17304)
613
614 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
615
616 * progmodes/python.el (python-mode): Don't set
617 mode-require-final-newline. (Bug#17990)
618
619 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
620
621 Make python.el work with IPython automatically. (Bug#15510)
622 * progmodes/python.el:
623 (python-shell-completion-setup-code): New value supporting iPython.
624 (python-shell-completion-string-code): New value supporting iPython.
625 (python-shell-completion-get-completions): Use them.
626 (python-shell-completion-module-string-code): Make obsolete.
627 (python-shell-prompt-input-regexps)
628 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
629 (python-shell-output-filter): Fix comment typo.
630
631 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
632
633 Fix Python shell prompts detection for remote hosts.
634 * progmodes/python.el (python-shell-prompt-detect):
635 Replace call-process with process-file and make it more robust.
636
637 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
638
639 Autodetect Python shell prompts. (Bug#17370)
640 * progmodes/python.el:
641 (python-shell-interpreter-interactive-arg)
642 (python-shell-prompt-detect-enabled)
643 (python-shell-prompt-detect-failure-warning)
644 (python-shell-prompt-input-regexps)
645 (python-shell-prompt-output-regexps): New vars.
646 (python-shell-prompt-calculated-input-regexp)
647 (python-shell-prompt-calculated-output-regexp): New vars.
648 (python-shell-get-process-name)
649 (python-shell-internal-get-process-name)
650 (python-shell-output-filter)
651 (python-shell-completion-get-completions): Use them.
652 (python-shell-prompt-detect)
653 (python-shell-prompt-validate-regexps): New functions.
654 (python-shell-prompt-set-calculated-regexps): New function.
655 (inferior-python-mode): Use it. Also honor overridden
656 python-shell-interpreter and python-shell-interpreter-args.
657 (python-shell-make-comint): Honor overridden
658 python-shell-interpreter and python-shell-interpreter-args.
659 (python-shell-get-or-create-process): Make it testable by allowing
660 to call run-python non-interactively.
661 (python-util-valid-regexp-p): New function.
662 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
663 (python-shell-prompt-output-regexp)
664 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
665
666 2014-07-16 Glenn Morris <rgm@gnu.org>
667
668 * desktop.el (after-init-hook): Disable startup frame restoration
669 in non-graphical situations. (Bug#17693)
670
671 2014-07-14 Glenn Morris <rgm@gnu.org>
672
673 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
674 if it was "empty", or used for a different set of files. (Bug#17884)
675
676 2014-07-13 Eli Zaretskii <eliz@gnu.org>
677
678 * bindings.el (mode-line-remote): If default-directory is not a
679 string, don't call file-remote-p on it; instead state in the
680 help-echo that it is nil. (Bug#17986)
681
682 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
683
684 Fix bug: C-x v v discarded existing log message (Bug#17884).
685 * vc/vc-dispatcher.el (vc-log-edit):
686 Don't clobber an already-existing log message.
687
688 2014-07-10 Glenn Morris <rgm@gnu.org>
689
690 * vc/log-edit.el (log-edit-changelog-entries):
691 Check for a visited-but-never-saved ChangeLog.
692
693 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
696 a non-existing file (bug#17970).
697
698 * faces.el (face-name): Undo last change.
699 (x-resolve-font-name): Don't call face-name (bug#17956).
700
701 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
702
703 Fix dedenters and electric colon handling. (Bug#15163)
704
705 * progmodes/python.el
706 (python-rx-constituents): Add dedenter and block-ender.
707 (python-indent-dedenters, python-indent-block-enders): Delete.
708 (python-indent-context): Return new case for dedenter-statement.
709 (python-indent-calculate-indentation): Handle new case.
710 (python-indent-calculate-levels): Fix levels calculation for
711 dedenter statements.
712 (python-indent-post-self-insert-function): Fix colon handling.
713 (python-info-dedenter-opening-block-message): New function.
714 (python-indent-line): Use it.
715 (python-info-closing-block)
716 (python-info-closing-block-message): Remove.
717 (python-info-dedenter-opening-block-position)
718 (python-info-dedenter-opening-block-positions)
719 (python-info-dedenter-statement-p): New functions.
720
721 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
724 the middle of a line (bug#17896).
725
726 2014-07-08 Juri Linkov <juri@jurta.org>
727
728 * startup.el (command-line): Append displaying the warning about
729 the errors in the init file to the end of `after-init-hook'.
730 (Bug#17927)
731
732 2014-07-08 Juri Linkov <juri@jurta.org>
733
734 * faces.el (face-name): Return input arg `face' as is
735 when it's not a symbol.
736 (x-resolve-font-name): Don't check if the face is a symbol.
737 (Bug#17956)
738
739 2014-07-08 Juri Linkov <juri@jurta.org>
740
741 * facemenu.el (list-colors-print): In help-echo format use %.2f
742 instead of %d because now HSV values are floating-point components
743 between 0.0 and 1.0.
744
745 2014-07-06 Glenn Morris <rgm@gnu.org>
746
747 * emulation/cua-rect.el (cua--activate-rectangle):
748 Avoid setting cua--rectangle to nil. (Bug#17877)
749
750 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
751
752 * calendar/todo-mode.el: Fix wrong-type-argument error when
753 marking multiple consecutive items.
754 (todo-toggle-mark-item): Don't try to mark the empty lines at the
755 end of the todo and done items sections. Note in doc string that
756 items marked by passing a numeric prefix argument can include the
757 last todo and first done items.
758 (todo-mark-category): Don't try to mark the empty line between the
759 todo and done items sections.
760
761 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
764 proper Lisp quoting (bug#17934).
765
766 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
767 require-final-newline since prog-mode already took care of it (bug#17947).
768
769 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
770
771 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
772 refer to the Todo mode Info manual. Update the comment on
773 requiring cl-lib.
774 (todo-find-filtered-items-file): Add todo-prefix overlays.
775 (todo-filter-items): Reorder a let-bound variable to avoid a
776 wrong-type-argument error on canceling the file choice dialog.
777
778 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * progmodes/octave.el (inferior-octave-mode):
781 Set comint-input-ring-size to a number (bug#17912).
782
783 2014-07-03 Juri Linkov <juri@jurta.org>
784
785 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
786 and `isearch-mode' associated with nil. (Bug#17849)
787
788 2014-07-02 Juri Linkov <juri@jurta.org>
789
790 * desktop.el (desktop-save): Rename arg `auto-save' to
791 `only-if-changed'. Doc fix. (Bug#17873)
792
793 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
796 Use insert-for-yank (bug#17271).
797
798 2014-07-02 Leo Liu <sdl.web@gmail.com>
799
800 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
801 Support lexical-binding.
802
803 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * vc/log-edit.el (log-edit-goto-eoh): New function.
806 (log-edit--match-first-line): Use it (bug#17861).
807
808 2014-07-01 Glenn Morris <rgm@gnu.org>
809
810 * vc/log-edit.el (log-edit-hook): Add missing :version.
811
812 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
813
814 * progmodes/python.el (python-indent-post-self-insert-function):
815 Enhancements to electric indentation behavior inside
816 parens. (Bug#17658)
817
818 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
821 buffer-invisibility-spec (bug#17867).
822
823 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
824
825 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
826 pass "-a".
827
828 2014-06-29 Glenn Morris <rgm@gnu.org>
829
830 * cus-edit.el (help):
831 * finder.el (finder-known-keywords):
832 * help.el (help-for-help-internal):
833 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
834 (ediff-redraw-registry-buffer):
835 * vc/ediff-ptch.el (ediff-patch-file-internal):
836 Doc fixes re "online" help. (Bug#17803)
837
838 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
839 (idlwave-mode): Doc URL update.
840
841 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
842
843 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
844 account for file-wide setting of todo-top-priorities-overrides.
845 Make code a bit cleaner.
846
847 2014-06-27 Leo Liu <sdl.web@gmail.com>
848
849 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
850
851 2014-06-27 Glenn Morris <rgm@gnu.org>
852
853 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
854
855 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
856
857 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
858 category-wide setting of todo-top-priorities-overrides, check for
859 a file-wide setting and fontify accordingly.
860
861 2014-06-26 Glenn Morris <rgm@gnu.org>
862
863 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
864
865 2014-06-26 Daiki Ueno <ueno@gnu.org>
866
867 * emacs-lisp/package.el (package--check-signature):
868 If package-check-signature is allow-unsigned, don't signal error when
869 we can't verify signature because of missing public key
870 (backport for bug#17625).
871
872 2014-06-26 Glenn Morris <rgm@gnu.org>
873
874 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
875 Remove outdated declaration.
876
877 * emacs-lisp/authors.el (authors-valid-file-names)
878 (authors-renamed-files-alist): Additions.
879
880 2014-06-25 Leo Liu <sdl.web@gmail.com>
881
882 * textmodes/picture.el (picture-set-tab-stops):
883 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
884 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
885
886 * progmodes/asm-mode.el (asm-calculate-indentation):
887 Use indent-next-tab-stop.
888
889 * indent.el (indent-accumulate-tab-stops): New function.
890
891 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
894 (package-desc-status): Obey it.
895
896 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
897
898 * calendar/todo-mode.el: Fix two bugs.
899 (todo-insert-item--basic): If user cancels item insertion to
900 another category before setting priority, show original category
901 whether it is in the same or a different file.
902 (todo-set-item-priority): After selecting category, instead of
903 moving point to top, which extends an active region, restore it.
904
905 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * help-fns.el (describe-function-1): Check file-name is a string before
908 calling help-fns--autoloaded-p (bug#17564).
909
910 2014-06-24 Juri Linkov <juri@jurta.org>
911
912 * desktop.el (desktop-auto-save-enable)
913 (desktop-auto-save-disable): New functions.
914 (desktop-save-mode, desktop-auto-save-timeout): Use them.
915 (desktop-read): Disable the autosave before loading the desktop,
916 and enable afterwards. (Bug#17351)
917
918 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
919
920 Fix some indentation problem with \; and pipes (bug#17842).
921 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
922 (sh-smie--default-forward-token, sh-smie--default-backward-token):
923 New functions.
924 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
925 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
926 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
927
928 2014-06-24 Eli Zaretskii <eliz@gnu.org>
929
930 * international/fontset.el (script-representative-chars):
931 Add representative characters for scripts added in Unicode 7.0.
932 (otf-script-alist): Synchronize with the latest registry of OTF
933 script tags.
934
935 * international/characters.el (char-script-table): Update for
936 scripts added and codepoint ranges changed in Unicode 7.0.
937
938 2014-06-23 Leo Liu <sdl.web@gmail.com>
939
940 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
941 tab-stop-list to nil. (Bug#16381)
942
943 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
944 (indent-rigidly-left-to-tab-stop)
945 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
946 (move-to-tab-stop): Change callers.
947
948 2014-06-22 Eli Zaretskii <eliz@gnu.org>
949
950 * skeleton.el (skeleton-insert): Yet another fix of the doc string
951 wrt behavior of \n as the first/last element of a skeleton.
952
953 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
954
955 * net/tramp-adb.el (tramp-adb-handle-process-file):
956 * net/tramp-sh.el (tramp-sh-handle-process-file):
957 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
958 the output buffer when DISPLAY is non-nil. (Bug#17815)
959
960 2014-06-21 Glenn Morris <rgm@gnu.org>
961
962 * play/landmark.el (landmark-move-down, landmark-move-up):
963 Fix 2007-10-20 change - preserve horizontal position.
964
965 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
966
967 Fix completion retrieval parsing (bug#17209).
968 * progmodes/python.el (python-mode):
969 (python-util-strip-string): New function.
970 (python-shell-completion-get-completions): Use it.
971
972 2014-06-21 Eli Zaretskii <eliz@gnu.org>
973
974 * skeleton.el (skeleton-insert): Fix last change.
975
976 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
977
978 Enhancements for outline integration (bug#17796).
979 * progmodes/python.el (python-mode): Properly set
980 outline-heading-end-regexp so that comments after colons for
981 defuns are supported.
982
983 2014-06-21 Eli Zaretskii <eliz@gnu.org>
984
985 * skeleton.el (skeleton-insert): Doc fix.
986
987 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
990 (smie-config-guess): Use smie-config-local so the rules are obeyed
991 (bug#17818).
992
993 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
994 since it's already done inside the loop (bug#17819).
995
996 2014-06-20 Martin Rudalics <rudalics@gmx.at>
997
998 * mouse.el (mouse-drag-line): Re-remove code initially removed
999 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1000 (Bug#17819).
1001
1002 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1005 align with the surrounding parent (bug#17721).
1006
1007 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1008
1009 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1010 locally to nil.
1011 (texinfo-insert-block, texinfo-insert-@end)
1012 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1013 local setting of skeleton-end-newline by adding an explicit \n to
1014 the skeletons where appropriate. (Bug#17801)
1015
1016 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1019 (smie-indent--hanging-p): Use it.
1020 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1021
1022 2014-06-20 Leo Liu <sdl.web@gmail.com>
1023
1024 * simple.el (read-quoted-char): Don't let help chars pop up help
1025 buffer. (Bug#16617)
1026
1027 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1028
1029 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1030 for | (bug#17621).
1031
1032 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1033
1034 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1035 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1036 burping.
1037
1038 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1039
1040 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1041 and later. (Bug#17790)
1042
1043 2014-06-18 Juri Linkov <juri@jurta.org>
1044
1045 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1046 to `soft'. (Bug#17554)
1047
1048 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1051 (bug#17737).
1052
1053 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1054
1055 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1056 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1057
1058 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1059
1060 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1061 `unread-command-events'.
1062
1063 2014-06-14 Glenn Morris <rgm@gnu.org>
1064
1065 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1066 Replace delete-duplicates and mapcan by cl- versions throughout.
1067 And cl-macroexpand-all by macroexpand-all.
1068 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1069
1070 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1071
1072 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1073
1074 2014-06-14 Juri Linkov <juri@jurta.org>
1075
1076 * bindings.el: Put `ascii-character' property on keypad keys
1077 mapped to characters. (Bug#17759)
1078
1079 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1080
1081 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1082 bumping forward into a closing paren (bug#17761).
1083
1084 * term/xterm.el (xterm--version-handler): Work around for OSX
1085 Terminal.app (bug#17607).
1086
1087 2014-06-08 Glenn Morris <rgm@gnu.org>
1088
1089 * startup.el (initial-buffer-choice): Doc fix.
1090 Reset :version (adding an option does not merit a :version bump).
1091
1092 * bookmark.el (bookmark-load):
1093 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1094
1095 2014-06-06 Juri Linkov <juri@jurta.org>
1096
1097 * desktop.el: Activate auto-saving on window configuration changes.
1098 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1099 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1100 (desktop-auto-save-set-timer): Change REPEAT arg of
1101 `run-with-idle-timer' from t to nil.
1102 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1103
1104 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1105
1106 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1107 vc-hg-command (bug#17570).
1108
1109 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1110
1111 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1112 (bug#17702).
1113
1114 2014-06-06 Glenn Morris <rgm@gnu.org>
1115
1116 * startup.el (window-setup-hook): Doc fix.
1117
1118 2014-06-05 Glenn Morris <rgm@gnu.org>
1119
1120 * emacs-lisp/package.el (package-check-signature)
1121 (package-unsigned-archives): Doc fixes.
1122
1123 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1124
1125 * window.el (display-buffer-use-some-window): Don't make window
1126 used smaller than it was before (Bug#17671).
1127
1128 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1129
1130 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1131 'redisplay' instead of '(sit-for 0)'.
1132
1133 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1134
1135 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1136 regexp. (Bug#17653)
1137
1138 2014-06-03 Glenn Morris <rgm@gnu.org>
1139
1140 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1141
1142 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1143
1144 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1145
1146 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1147
1148 * simple.el (keyboard-quit): Force update of mode lines, to remove
1149 the "Def" indicator, if we were defining a macro. (Bug#17615)
1150
1151 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * minibuffer.el (minibuffer-force-complete-and-exit):
1154 Obey minibuffer-default (bug#17545).
1155
1156 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1157 (bug#17619).
1158
1159 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * subr.el (set-transient-map): Don't wait for some "nested"
1162 transient-map to finish if we're only supposed to be active for
1163 the next command (bug#17642).
1164
1165 2014-05-31 Leo Liu <sdl.web@gmail.com>
1166
1167 * emacs-lisp/gv.el (window-buffer, window-display-table)
1168 (window-dedicated-p, window-hscroll, window-point, window-start):
1169 Fix gv-expander. (Bug#17630)
1170
1171 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1174 clicks (bug#17633).
1175
1176 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1177 for the single comma, since ", " is *very* common in normal French text
1178 (bug#17643).
1179
1180 2014-05-30 Glenn Morris <rgm@gnu.org>
1181
1182 * emacs-lisp/package.el (package-check-signature)
1183 (package-unsigned-archives): Fix :version.
1184
1185 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * subr.el (sit-for): Don't run input-methods (bug#15614).
1188
1189 2014-05-28 Glenn Morris <rgm@gnu.org>
1190
1191 * cus-start.el: Fix some :version numbers.
1192
1193 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * simple.el (deactivate-mark): Set mark-active to nil even if
1196 deactivation is done via setting transient-mark-mode to nil,
1197 since one is buffer-local and the other is global.
1198
1199 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1200 there can't be more than 2 arguments (bug#17584).
1201
1202 2014-05-27 Glenn Morris <rgm@gnu.org>
1203
1204 * simple.el (filter-buffer-substring-functions)
1205 (filter-buffer-substring-function, buffer-substring-filters)
1206 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1207
1208 * minibuffer.el (completion-in-region-functions, completion-in-region)
1209 (completion--in-region): Doc fixes.
1210
1211 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1212 (expand-abbrev, abbrev--default-expand): Doc fixes.
1213
1214 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1215
1216 Include sources used to create macuvs.h.
1217 * international/README: Refer to the Unicode Terms of Use rather
1218 than copying it bodily here, as that simplifies maintenance.
1219
1220 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1221
1222 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1223
1224 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1225
1226 * window.el (window--dump-frame): Remove interactive
1227 specification.
1228
1229 2014-05-23 Glenn Morris <rgm@gnu.org>
1230
1231 * hippie-exp.el (he-line-search-regexp):
1232 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1233
1234 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1235
1236 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1237 to avoid errors when trying to create or visit a file foo.todo
1238 located outside to todo-directory, and to allow having such files
1239 without them being tied to Todo mode (bug#17482).
1240 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1241 (todo-archive-done-item, todo-find-filtered-items-file)
1242 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1243 (todo-category-completions, todo-read-category): When visiting a
1244 Todo file, make sure we're in the right mode and the buffer local
1245 variables are set.
1246 (todo-make-categories-list, todo-reset-nondiary-marker)
1247 (todo-reset-done-string, todo-reset-comment-string):
1248 After processing all Todo files, kill the buffers of those files that
1249 weren't being visited before the processing.
1250 (todo-display-as-todo-file, todo-add-to-buffer-list)
1251 (todo-visit-files-commands): Comment out.
1252 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1253 (auto-mode-alist): Remove add-to-list calls making Todo file
1254 extensions unrestrictedly tied to Todo modes.
1255
1256 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1257
1258 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1259 (advice-function-member-p): Tell it to check both names and functions
1260 (bug#17531).
1261 (advice--add-function): Adjust call accordingly.
1262
1263 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1264
1265 * calendar/todo-mode.el: Miscellaneous bug fixes.
1266 (todo-delete-file): When deleting an archive but not its todo
1267 file, make sure to update the todo file's category sexp.
1268 (todo-move-category): Keep the moved category's name unless the
1269 file moved to already has a category with that name. If the
1270 numerically last category of the source file was moved, make the
1271 first category current to avoid selecting a nonexisting category.
1272 (todo-merge-category): Fix implementation to make merging to a
1273 category in another file work as documented. Eliminate now
1274 insufficient and unnecessary renaming of archive category, correct
1275 document string accordingly, and clarify it. If the numerically
1276 last category of the source file was merged, make the first
1277 category current to avoid selecting a nonexisting category.
1278 (todo-archive-done-item): When there are marked items and point
1279 happens to be on an unmarked item, ignore the latter. Don't leave
1280 point below last item after archiving marked items.
1281 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1282 from an archive with only one category deletes the archive only
1283 when the category is empty after unarchiving. Make sure the todo
1284 file's category sexp is updated.
1285 (todo-read-file-name): Allow an existing file name even when it is
1286 not required (todo-move-category needs this to work as documented).
1287 (todo-add-file): Call todo-validate-name to reject the name of an
1288 existing todo file (needed due to fix in todo-read-file-name).
1289 (todo-reset-nondiary-marker): Also reset in filtered items files.
1290 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1291 regexp filtered items files.
1292 (todo-reset-highlight-item): Also reset in filtered items files.
1293 Fix incorrect variable reference in document string.
1294
1295 2014-05-22 Glenn Morris <rgm@gnu.org>
1296
1297 * window.el (window--dump-frame): Avoid error in --without-x builds.
1298
1299 2014-05-21 Glenn Morris <rgm@gnu.org>
1300
1301 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1302
1303 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1304
1305 * frame.el (set-frame-font): Doc fix.
1306
1307 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1308
1309 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1310
1311 * emacs-lisp/package.el (package--download-one-archive):
1312 Use `write-region' instead of `save-buffer' to avoid running various
1313 hooks. (Bug#17155)
1314 (describe-package-1): Same. Insert newline at the end of the
1315 buffer if appropriate.
1316
1317 2014-05-20 Juri Linkov <juri@jurta.org>
1318
1319 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1320 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1321 Add more modifiers: meta, control, shift, hyper, super, alt.
1322 (Bug#17439)
1323
1324 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1325 to allow changing its value with `set-variable'.
1326
1327 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1330 #; comments.
1331 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1332 New functions.
1333 (scheme-mode-variables): Set syntax-propertize-function instead of
1334 font-lock-syntactic-face-function.
1335 (scheme-font-lock-syntactic-face-function): Delete.
1336
1337 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1338
1339 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1342 (bug#17392).
1343
1344 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1345
1346 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1347 for a temporary file name.
1348
1349 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1350
1351 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1352
1353 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1354
1355 * net/dbus.el (dbus-init-bus, dbus-call-method)
1356 (dbus-call-method-asynchronously, dbus-send-signal)
1357 (dbus-method-return-internal, dbus-method-error-internal):
1358 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1359
1360 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1361
1362 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1363 methods which do not have a doc string. (Bug#17490)
1364
1365 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1366 Stefan Monnier <monnier@iro.umontreal.ca>
1367
1368 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1369 suffix (bug#15419).
1370
1371 2014-05-14 Glenn Morris <rgm@gnu.org>
1372
1373 * vc/emerge.el (emerge-temp-file-prefix):
1374 Make pointless option obsolete.
1375 (emerge-temp-file-mode): Make non-functional option obsolete.
1376
1377 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1378
1379 * net/browse-url.el (browse-url):
1380 Use `unhandled-file-name-directory' when setting `default-directory',
1381 in order to circumvent stalled remote connections. (Bug#17425)
1382
1383 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1386 into autoloading just because of a silly indirection.
1387
1388 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1389
1390 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1391
1392 2014-05-11 Glenn Morris <rgm@gnu.org>
1393
1394 * emacs-lisp/find-gc.el: Move to ../admin.
1395
1396 2014-05-10 Glenn Morris <rgm@gnu.org>
1397
1398 * printing.el (pr-version):
1399 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1400
1401 * net/browse-url.el (browse-url-mosaic):
1402 Create /tmp/Mosaic.PID as a private file.
1403
1404 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1407 (advice--member-p): If name is given, only compare the name.
1408 (advice--remove-function): Don't stop at the first match.
1409 (advice--normalize-place): New function.
1410 (add-function, remove-function): Use it.
1411 (advice--add-function): Pass the name, if any, to
1412 advice--remove-function.
1413
1414 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1415
1416 * electric.el (electric-indent-post-self-insert-function): Don't use
1417 `pos' after modifying the buffer (bug#17449).
1418
1419 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1420
1421 * subr.el (function-put): Add function.
1422
1423 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1424
1425 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1426 Correct argument list to conform to todo-insert-item--basic.
1427
1428 2014-05-09 Glenn Morris <rgm@gnu.org>
1429
1430 * files.el (cd-absolute): Test if directory is accessible
1431 rather than executable. (Bug#17330)
1432
1433 * progmodes/compile.el (recompile):
1434 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1435
1436 2014-05-08 Juri Linkov <juri@jurta.org>
1437
1438 * dired.el (dired-check-switches, dired-switches-recursive-p):
1439 New functions. (Bug#17218)
1440 (dired-switches-escape-p, dired-move-to-end-of-filename):
1441 Use `dired-check-switches'.
1442 (dired-insert-old-subdirs, dired-build-subdir-alist)
1443 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1444
1445 2014-05-08 Glenn Morris <rgm@gnu.org>
1446
1447 * net/browse-url.el (browse-url-mosaic):
1448 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1449 This is CVE-2014-3423.
1450
1451 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1454 (xterm-mouse--read-event-sequence-1000): Return nil if something
1455 looks fishy.
1456 (xterm-mouse-event): Propagate it.
1457 (xterm-mouse-translate-1): Handle it.
1458
1459 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1460
1461 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1462 four slots of the parameter list are filled, make sure to pass it
1463 to the argument list of todo-insert-item--basic.
1464
1465 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1468 Add optional `seen' argument to detect and break infinite loops.
1469
1470 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1471
1472 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1473 (trace-unsafe, trace-use-tree): Make parentheses style be
1474 according to Emacs style.
1475
1476 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1477
1478 * net/tramp-sh.el (tramp-remote-process-environment):
1479 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1480 Add :version entry.
1481 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1482 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1483 extra "PSx=..." commands.
1484 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1485 (Bug#17295)
1486
1487 (tramp-uudecode): Replace the hard-coded temporary file name by a
1488 format specifier.
1489 (tramp-remote-coding-commands): Enhance docstring.
1490 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1491 name. (Bug#17415)
1492 This is CVE-2014-3424.
1493
1494 2014-05-06 Glenn Morris <rgm@gnu.org>
1495
1496 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1497 (find-gc-source-files): Update some names.
1498 (trace-call-tree): Simplify and update.
1499 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1500 This is CVE-2014-3422.
1501
1502 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1503
1504 * minibuffer.el (completion--try-word-completion): Revert fix for
1505 Bug#15980 (bug#17375).
1506
1507 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1508 Always store button numbers in the same way in xterm-mouse-last;
1509 Don't burp is xterm-mouse-last is not set as expected.
1510 Never return negative indices.
1511
1512 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1513
1514 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1515 Backtrack one char if the global/char-literal var matcher hits
1516 inside a string. The next char could be the beginning of an
1517 expression expansion.
1518
1519 2014-05-05 Glenn Morris <rgm@gnu.org>
1520
1521 * help-fns.el (describe-function-1): Test for an autoload before a
1522 macro, since `macrop' works on autoloads. (Bug#17410)
1523
1524 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1527
1528 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1529 Make sure the new point we return is within the new string (bug#17239).
1530
1531 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1532
1533 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1534
1535 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1538 Use nil rather than `default' for the "default" appearance (bug#17388).
1539 * vc/ediff-util.el (ediff-inferior-compare-regions)
1540 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1541 a misleading `default' value when it's really a boolean.
1542 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1543 overlay is not visible.
1544
1545 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1546
1547 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1548 (todo-menu): Uncomment and update.
1549
1550 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1551
1552 * calendar/todo-mode.el: Reimplement item editing to have the same
1553 basic user interface as item insertion, and make small UI and
1554 larger internal improvements to the latter.
1555 (todo-insert-item): Add reference to the Todo mode user manual to
1556 the documentation string.
1557 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1558 adjust all callers. Change signature to combine diary and
1559 nonmarking arguments. Incorporate functionality of deleted item
1560 copying command and add error checking. Remove detailed
1561 descriptions of the arguments from the documentation string, since
1562 this is treated in the Todo mode user manual.
1563 (todo-copy-item, todo-edit-multiline-item)
1564 (todo-edit-done-item-comment, todo-edit-item-header)
1565 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1566 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1567 (todo-edit-item-date-year, todo-edit-item-date-month)
1568 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1569 Remove.
1570 (todo-edit-item): Reimplement as wrapper command for
1571 todo-edit-item--next-key and make it distinguish done and not done
1572 todo items.
1573 (todo-edit-item--text): New function, replacing old command
1574 todo-edit-item and incorporating deleted commands
1575 todo-edit-multiline-item and todo-edit-done-item-comment.
1576 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1577 Use only numeric value of prefix argument. Remove detailed
1578 descriptions of the arguments from the documentation string, since
1579 this is treated in the Todo mode user manual.
1580 (todo-edit-item--diary-inclusion): New function, replacing old
1581 command todo-edit-item-diary-inclusion and incorporating and fixing
1582 functionality of deleted command todo-edit-item-diary-nonmarking,
1583 making sure to remove todo-nondiary-marker when adding
1584 diary-nonmarking-symbol.
1585 (todo-edit-category-diary-inclusion): Make sure to delete
1586 diary-nonmarking-symbol when adding todo-nondiary-marker.
1587 (todo-edit-category-diary-nonmarking): Fix indentation.
1588 (todo-insert-item--parameters): Group diary and nonmarking
1589 parameters together.
1590 (todo-insert-item--apply-args): Adjust to signature of
1591 todo-insert-item--basic and incorporate copy parameter.
1592 Make small code improvements.
1593 (todo-insert-item--next-param): Improve prompt and adjust it to
1594 new parameter grouping. Remove obsolete code.
1595 (todo-edit-item--param-key-alist)
1596 (todo-edit-item--date-param-key-alist)
1597 (todo-edit-done-item--param-key-alist): New defconsts.
1598 (todo-edit-item--prompt): New variable.
1599 (todo-edit-item--next-key): New function.
1600 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1601 Remove bindings of deleted commands.
1602
1603 2014-05-02 Leo Liu <sdl.web@gmail.com>
1604
1605 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1606
1607 2014-05-01 Glenn Morris <rgm@gnu.org>
1608
1609 * allout-widgets.el (allout-widgets-tally)
1610 (allout-decorate-item-guides):
1611 * menu-bar.el (menu-bar-positive-p):
1612 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1613 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1614 * progmodes/js.el (js--inside-param-list-p)
1615 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1616 * progmodes/prolog.el (region-exists-p):
1617 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1618 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1619 Doc fixes (replace `iff').
1620
1621 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1624
1625 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1626
1627 * dired.el (dired-initial-position-hook, dired-initial-position):
1628 Doc string fixes.
1629
1630 2014-04-29 Glenn Morris <rgm@gnu.org>
1631
1632 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1633
1634 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1635
1636 * faces.el (face-spec-recalc): Apply X resources only after the
1637 defface spec has been applied. Thus, X resources are no longer
1638 overridden by the defface spec which also fixes issues on win32 where
1639 the toolbar coloring was wrong because it is set through X resources
1640 and was (wrongfully) overridden. (Bug#16694)
1641
1642 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * textmodes/rst.el (electric-pair-pairs): Declare.
1645 (rst-mode): Set it (bug#17131).
1646
1647 2014-04-27 Juri Linkov <juri@jurta.org>
1648
1649 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1650 and `print-level' to nil. (Bug#17351)
1651
1652 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1653
1654 * battery.el (battery-update): Handle the case where battery
1655 status is "N/A" (bug#17319).
1656
1657 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1658
1659 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1660 Use equal-including-properties to compare help-echo strings (bug#17331).
1661
1662 2014-04-24 Leo Liu <sdl.web@gmail.com>
1663
1664 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1665 Fix syntax for @. (Bug#17325)
1666
1667 2014-04-24 Daniel Colascione <dancol@dancol.org>
1668
1669 * emacs-lisp/cl.el (gv): Require gv early to break eager
1670 macro-expansion cycles.
1671
1672 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * simple.el (region-active-p): Check there's a mark (bug#17324).
1675
1676 * simple.el (completion-list-mode-map): Use choose-completion for the
1677 mouse binding as well (bug#17302).
1678 (completion-list-mode, completion-setup-function): Adjust docstring and
1679 echo area message accordingly.
1680 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1681 calling convention of choose-completion.
1682 * comint.el (comint-dynamic-list-completions):
1683 * term.el (term-dynamic-list-completions): Accept choose-completion.
1684
1685 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1686 &, |, +, - and * can't be a division (bug#17317).
1687
1688 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1691 features on gnome-terminal (bug#16988).
1692
1693 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1694
1695 * dired.el (dired-insert-set-properties): Do not consider
1696 subdirectory headings and empty lines to be information that
1697 `dired-hide-details-mode' should hide. (Bug#17228)
1698
1699 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1700
1701 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1702 Remove test messages.
1703 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1704 and `target' twice.
1705
1706 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1709 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1710
1711 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1712
1713 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1714
1715 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1716 Set "IFS=" when using read builtin, in order to preserve spaces in
1717 the file name. Add test messages for hunting a bug on hydra.
1718 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1719
1720 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1723 Don't prettify a word within a symbol.
1724
1725 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1726
1727 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1728 possible.
1729
1730 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1733 assignments such as "case=hello" (bug#17297).
1734
1735 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1736
1737 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1738 Do not autoload.
1739 (tramp-file-name-handler, tramp-completion-file-name-handler):
1740 Revert patch from 2014-04-10, it isn't necessary anymore.
1741 (tramp-autoload-file-name-handler)
1742 (tramp-register-autoload-file-name-handlers): New defuns.
1743 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1744 (tramp-register-file-name-handlers): Remove also
1745 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1746 Do not autoload its invocation, but eval it after loading of 'tramp.
1747
1748 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1749
1750 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1751
1752 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1753
1754 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1755 was done (bug#17264).
1756 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1757 comment to EOB.
1758
1759 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1760 here-documents (bug#17262).
1761
1762 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1763
1764 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1765 Provide doc strings, as required by snarf-documentation.
1766
1767 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1770 arg of overlays-at. Use `invisible-p'.
1771
1772 * obsolete/lucid.el (extent-at):
1773 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1774 overlays-at.
1775 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1776
1777 2014-04-14 João Távora <joaotavora@gmail.com>
1778
1779 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1780 links. (Bug#17217).
1781
1782 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1783
1784 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1785 Use mapc to loop over a vector. (Bug#17257).
1786
1787 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1788
1789 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1790 patch, there are new problems with file names containing spaces.
1791 Get rid of backticks. (Bug#17238)
1792
1793 2014-04-13 João Távora <joaotavora@gmail.com>
1794
1795 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1796 possible bug.
1797
1798 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1799
1800 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1801 (blink-cursor-mode): Mention customization variables and the
1802 effect of 'blink-cursor-blinks'.
1803
1804 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1805
1806 * simple.el (undo): Prevent insertion of identity mapping into
1807 undo-equiv-table so as undo-only does not inf loop in the presence
1808 of consecutive nils in undo list.
1809
1810 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1811
1812 * faces.el (make-face): Deprecate optional argument as it is no
1813 longer needed/used since the conditional X resources handling
1814 has been pushed down to make-face-x-resource-internal itself.
1815 (make-empty-face): Don't pass optional argument to make-face.
1816
1817 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1818
1819 * international/characters.el <standard-case-table>: Add entries
1820 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1821 Set category of Coptic characters be 'g' (Greek).
1822
1823 2014-04-12 Leo Liu <sdl.web@gmail.com>
1824
1825 * progmodes/octave.el (completion-table-with-cache): Define if not
1826 available.
1827 (octave-goto-function-definition)
1828 (octave-sync-function-file-names)
1829 (octave-find-definition-default-filename): Backquote upattern for
1830 compatibility.
1831
1832 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1833
1834 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1835 name twice due to backticks. (Bug#17238)
1836
1837 2014-04-11 Glenn Morris <rgm@gnu.org>
1838
1839 * term/w32-win.el (x-win-suspend-error):
1840 * term/x-win.el (x-win-suspend-error): Sync docs.
1841
1842 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 Ediff's overlay priorities cause more trouble than they solve.
1845 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1846 (ediff-highest-priority): Remove function (bug#17234).
1847 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1848 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1849 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1850 overlay priorities.
1851
1852 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1853
1854 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1855 entry; use symbol boundaries to avoid mis-matches.
1856
1857 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1858
1859 * net/tramp.el (tramp-file-name-handler)
1860 (tramp-completion-file-name-handler): Avoid recursive loading.
1861
1862 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1863 Quote result also locally.
1864
1865 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1866
1867 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1868 Module methods. (Bug#17216)
1869
1870 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1873 (describe-bindings-internal): Mark obsolete.
1874
1875 2014-04-07 João Távora <joaotavora@gmail.com>
1876
1877 * elec-pair.el:
1878 (electric-pair--syntax-ppss): When inside comments parse from
1879 comment beginning.
1880 (electric-pair--balance-info): Fix typo in comment.
1881 (electric-pair--in-unterminated-string-p): Delete.
1882 (electric-pair--unbalanced-strings-p): New function.
1883 (electric-pair-string-bound-function): New var.
1884 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1885 according to `electric-pair--in-unterminated-string-p'
1886
1887 2014-04-07 João Távora <joaotavora@gmail.com>
1888
1889 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1890 Inhibit quote pairing if point-max is inside an unterminated string.
1891 (electric-pair--looking-at-unterminated-string-p): Delete.
1892 (electric-pair--in-unterminated-string-p): New function.
1893
1894 2014-04-07 Glenn Morris <rgm@gnu.org>
1895
1896 * shell.el (shell-directory-tracker):
1897 Go back to just ignoring failures. (Bug#17159)
1898
1899 2014-04-06 João Távora <joaotavora@gmail.com>
1900
1901 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1902 backspace. (bug#16981)
1903 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1904 (electric-pair-backward-delete-char-untabify): Delete.
1905 (electric-pair-mode-map): Bind backspace to a menu item filtering
1906 a new `electric-pair-delete-pair' command.
1907 (electric-pair-delete-pair): New command.
1908
1909 2014-04-06 João Távora <joaotavora@gmail.com>
1910
1911 * progmodes/python.el (python-electric-pair-string-delimiter):
1912 Fix triple-quoting electricity. (Bug#17192)
1913
1914 2014-04-06 João Távora <joaotavora@gmail.com>
1915
1916 * elec-pair.el (electric-pair-post-self-insert-function):
1917 Don't skip whitespace when `electric-pair-text-pairs' and
1918 `electric-pair-pairs' were used. syntax to
1919 electric-pair--skip-whitespace. (Bug#17183)
1920
1921 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1922
1923 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1924 "<F>". (Bug#17199)
1925
1926 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1929 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1930
1931 2014-04-05 Glenn Morris <rgm@gnu.org>
1932
1933 * help.el (view-lossage): Doc tweak.
1934
1935 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1936
1937 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1938 only when inhibit-x-resources is nil, and do that earlier in the
1939 function. Doc fix. (Bug#16694)
1940 (face-spec-choose): Accept additional optional argument, whose
1941 value is returned if no matching attributes are found.
1942 (face-spec-recalc): Use the new optional argument when calling
1943 face-spec-choose. (Bug#16378)
1944 (make-face-x-resource-internal): Do nothing when
1945 inhibit-x-resources is non-nil. Don't touch the default face if
1946 reversed video is given--as was done in previous versions of Emacs.
1947 (face-set-after-frame-default): Don't call
1948 make-face-x-resource-internal here. (Bug#16434)
1949
1950 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1951
1952 * doc-view.el (doc-view-bookmark-jump):
1953 Use `bookmark-after-jump-hook' to jump to the right page after the
1954 buffer is shown in a window. (bug#16090)
1955
1956 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1957
1958 * international/characters.el (mirroring): Fix last change:
1959 instead of loading uni-mirrored.el explicitly, do that implicitly
1960 by creating the 'mirroring' uniprop table. This avoids announcing
1961 the loading of uni-mirrored.el.
1962
1963 2014-04-04 Glenn Morris <rgm@gnu.org>
1964
1965 * files.el (buffer-stale--default-function)
1966 (buffer-stale-function, revert-buffer--default):
1967 * autorevert.el (auto-revert-buffers): Doc tweaks.
1968
1969 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1970
1971 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1972
1973 2014-04-03 Glenn Morris <rgm@gnu.org>
1974
1975 * files.el (make-backup-file-name-function)
1976 (make-backup-file-name, make-backup-file-name--default-function)
1977 (make-backup-file-name-1, find-backup-file-name)
1978 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1979 (buffer-stale--default-function, buffer-stale-function)
1980 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1981 (revert-buffer, revert-buffer--default)
1982 (revert-buffer-insert-file-contents--default-function):
1983 Doc fixes related to defaults no longer being nil.
1984 (make-backup-file-name-function): Bump :version.
1985 Restore nil as a valid but deprecated custom type.
1986
1987 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1990 used as a variable (bug#17174).
1991
1992 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * progmodes/perl-mode.el (perl-indent-new-calculate):
1995 Handle forward-sexp failure (bug#16985).
1996 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1997 modifiers introducing expressions (bug#17116).
1998
1999 2014-04-02 Glenn Morris <rgm@gnu.org>
2000
2001 * menu-bar.el (menu-bar-file-menu):
2002 * vc/ediff.el (ediff-current-file):
2003 Update for revert-buffer-function no longer being nil by default.
2004
2005 * simple.el (command-execute): Respect nil disabled-command-function.
2006
2007 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2008
2009 * simple.el (command-execute): Do not execute the command when it
2010 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2011
2012 2014-03-29 Juri Linkov <juri@jurta.org>
2013
2014 * dired-aux.el (dired-compress-file): Don't use string-match-p
2015 because its match data is used afterwards.
2016
2017 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2020 0 like nil.
2021
2022 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2023
2024 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2025 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2026
2027 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2028 Don't propertize `?' or `!' as symbol constituent when after
2029 colon. (Bug#17097)
2030
2031 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2032
2033 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2034 which is no longer needed and causes trouble in GTK builds (bug#17046).
2035
2036 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2037 Use url-insert-file-contents; package-handle-response no longer exists.
2038
2039 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2040
2041 * emacs-lisp/package.el: Fix bug#16733 (again).
2042 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2043 (url-http-target-url): Remove unused declarations.
2044 (package-handle-response): Remove.
2045 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2046 (package--download-one-archive): Use current-buffer instead of
2047 dynamic binding of `buffer'.
2048 (describe-package-1): Do not decode readme-string.
2049
2050 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2051
2052 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2053
2054 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2055
2056 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2057
2058 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2059 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2060 `remote-file-name-inhibit-cache' to nil in the second pass.
2061 (tramp-find-executable): Do not call "which" on SunOS.
2062 (tramp-send-command-and-check): Fix docstring.
2063 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2064 check whether source directory has set the sticky bit.
2065
2066 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2067
2068 * simple.el (primitive-undo): Only process marker adjustments
2069 validated against their corresponding (TEXT . POS). Issue warning
2070 for lone marker adjustments in undo history. (Bug#16818)
2071 (undo-make-selective-list): Add marker adjustments to selective
2072 undo list based on whether their corresponding (TEXT . POS) is in
2073 the region. Remove variable adjusted-markers, which was unused
2074 and only non nil during undo-make-selective-list.
2075 (undo-elt-in-region): Return nil when passed a marker adjustment
2076 and explain in function doc.
2077
2078 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2079
2080 * emacs-lisp/package.el (package--add-to-archive-contents):
2081 Include already installed and built-in packages in
2082 `package-archive-contents'.
2083 (package-install): Don't include already installed packages in the
2084 options during interactive invocation. (Bug#16762)
2085
2086 2014-03-24 Daniel Colascione <dancol@dancol.org>
2087
2088 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2089 instead of cl-loop search function.
2090
2091 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2092
2093 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2094
2095 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2096
2097 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2098
2099 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2100
2101 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2102 Match special global variables without curlies, too.
2103 (ruby-font-lock-keywords): Simplify the matcher for special global
2104 variables. Don't require a non-word character after the variable.
2105 (Bug#17057)
2106
2107 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * simple.el (redisplay-highlight-region-function): Increase priority of
2110 overlay to make sure boundaries are visible (bug#15899).
2111
2112 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2113
2114 * frameset.el (frameset-restore): Compare display strings with equal.
2115
2116 * frame.el (make-frame): Don't quote display name in error message,
2117 it is already a string.
2118
2119 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2120
2121 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2122 the password.
2123
2124 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2125
2126 * emacs-lisp/package.el (package-show-package-list): If the buffer
2127 is already displayed in another window, switch to that window.
2128
2129 2014-03-21 Daniel Colascione <dancol@dancol.org>
2130
2131 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2132 information in bug reports.
2133
2134 2014-03-23 Daniel Colascione <dancol@dancol.org>
2135
2136 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2137 list to look for keyword arguments instead of `memq', fixing
2138 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2139 Please make bootstrap.
2140
2141 2014-03-23 Richard Stallman <rms@gnu.org>
2142
2143 * battery.el (battery-linux-sysfs): Search for each field
2144 from the beginning of the buffer.
2145
2146 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2147
2148 * emacs-lisp/package.el (package-desc): Use the contents of the
2149 quoted form, not its cdr. (Bug#16873)
2150
2151 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2152
2153 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2154 benefit of doc.c; change parameter profile to match the X function.
2155
2156 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2157
2158 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2159 and `tramp-copy-env'.
2160
2161 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2162 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2163
2164 2014-03-21 Glenn Morris <rgm@gnu.org>
2165
2166 * electric.el (electric-indent-post-self-insert-function): Add doc.
2167
2168 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2169
2170 * emacs-lisp/package.el (package-compute-transaction):
2171 Use `version-list-<=' to compare the requirement version against
2172 the version of package already to be installed. Update the error
2173 message. (Bug#16826)
2174
2175 * progmodes/ruby-mode.el (ruby-smie-rules):
2176 Add indentation rule for ` @ '. (Bug#17050)
2177
2178 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2179
2180 * align.el (align-regexp): Remove superfluous backslash.
2181
2182 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2183 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2184 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2185 Fix docstring typos.
2186 (ffap-next): Use C-u in docstring.
2187 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2188 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2189 Remove superfluous backslashes.
2190 (ffap-string-at-point): Reflow docstring.
2191
2192 * server.el (server-host): Reflow docstring.
2193 (server-unload-function): Fix docstring typo.
2194 (server-eval-at): Remove superfluous backslash.
2195
2196 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2197 (skeleton-insert): Doc fix.
2198 (skeleton-insert): Reflow docstring.
2199
2200 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2201 (tty-color-approximate, tty-color-by-index, tty-color-values)
2202 (tty-color-desc): Remove superfluous backslashes.
2203
2204 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2205
2206 * electric.el (electric-newline-and-maybe-indent): New command.
2207 Bind it globally to C-j.
2208 (electric-indent-mode): Don't mess with the global map any more.
2209 Don't drop the post-self-insert-hook is some buffer is still using it
2210 (bug#16770).
2211
2212 * bindings.el (global-map): Remove C-j binding.
2213
2214 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2215 the docstring of functions advised before dumping (bug#16993).
2216
2217 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2218
2219 * ps-print.el (ps-generate-postscript-with-faces):
2220 Explicitly deactivate the mark (bug#16866).
2221 * simple.el (deactivate-mark): Update region highlight.
2222
2223 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2224
2225 * emacs-lisp/package.el (describe-package-1):
2226 Decode commentary (bug#16733).
2227
2228 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2229
2230 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2231 modification of the value argument of :set (bug#16755).
2232
2233 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * simple.el (newline-and-indent): Do autofill (bug#17031).
2236
2237 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2238
2239 * newcomment.el (comment-normalize-vars): Only add escaping check
2240 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2241 (comment-beginning): Use `narrow-to-region' instead of moving back
2242 one character.
2243 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2244 (comment-start-skip): Update the docstring.
2245
2246 2014-03-18 Richard Stallman <rms@gnu.org>
2247
2248 * dired.el (dired-display-file): Force use of other window.
2249
2250 2014-03-18 Daniel Colascione <dancol@dancol.org>
2251
2252 * startup.el (tty-handle-args): Remove debug message from 2007.
2253
2254 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2257 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2258 (advice--make-1, advice-add, advice-remove):
2259 Remove braindead :advice-pending hack.
2260
2261 2014-03-17 Glenn Morris <rgm@gnu.org>
2262
2263 * calendar/calendar.el (calendar-generate-month): Apply weekend
2264 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2265
2266 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2269 (tramp-call-process): Trace also DESTINATION.
2270
2271 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2272 Quote file names when they are local. Remove superfluous trace.
2273
2274 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2275
2276 * newcomment.el (comment-beginning): If `comment-start-skip'
2277 doesn't match, move back one char and try again. (Bug#16971)
2278
2279 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2280 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2281 Set `comment-start-skip' to a simpler value that doesn't try to
2282 check if the semicolon is escaped (this is handled by
2283 `syntax-ppss' now). (Bug#16971)
2284
2285 * progmodes/scheme.el (scheme-mode-variables): Same.
2286
2287 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2288
2289 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2290 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2291 current (Bug#16816, Bug#17007).
2292 (with-current-buffer-window): New macro doing the same as
2293 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2294 * help.el (help-print-return-message): Warn in doc-string to not
2295 use this in `with-help-window'.
2296 (describe-bindings-internal): Call `describe-buffer-bindings'
2297 from within help buffer. See Juanma's scenario in (Bug#16816).
2298 (with-help-window): Update doc-string.
2299 * dired.el (dired-mark-pop-up):
2300 * files.el (save-buffers-kill-emacs):
2301 * register.el (register-preview): Use `with-current-buffer-window'
2302 instead of `with-temp-buffer-window'.
2303
2304 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2305
2306 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2307 Implement inserting into current buffer, documented in their docstrings.
2308 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2309 (rst-section-tree-point, rst-forward-section, rst-indent)
2310 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2311 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2312 (rst-font-lock-handle-adornment-pre-match-form)
2313 (rst-repeat-last-character): Reflow docstrings.
2314 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2315 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2316 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2317 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2318 Fix docstring typos.
2319 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2320 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2321 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2322
2323 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2324
2325 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2326 for compatibility with other ports.
2327 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2328 from the -xrm command line argument, but in the Nextstep port its value
2329 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2330
2331 * progmodes/python.el (defconst, python-syntax-count-quotes)
2332 (python-indent-region, python-indent-shift-right)
2333 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2334 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2335 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2336 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2337 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2338 (python-shell-buffer-substring, python-shell-send-buffer)
2339 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2340 (python-completion-complete-at-point, python-fill-docstring-style)
2341 (python-eldoc-function, python-imenu-format-item-label)
2342 (python-imenu-format-parent-item-label)
2343 (python-imenu-format-parent-item-jump-label)
2344 (python-imenu--build-tree, python-imenu-create-index)
2345 (python-imenu-create-flat-index): Fix docstring typos.
2346 (python-indent-context, python-shell-prompt-regexp, run-python):
2347 Remove superfluous backslashes.
2348 (python-indent-line, python-nav-beginning-of-defun)
2349 (python-shell-get-buffer, python-shell-get-process)
2350 (python-info-current-defun, python-info-current-line-comment-p)
2351 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2352 (python-indent-post-self-insert-function, python-shell-send-file)
2353 (python-shell-completion-get-completions)
2354 (python-shell-completion-complete-or-indent)
2355 (python-eldoc--get-doc-at-point): Reflow docstrings.
2356
2357 2014-03-14 Glenn Morris <rgm@gnu.org>
2358
2359 * emacs-lisp/package.el (package-menu-mode-map):
2360 Replace use of obsolete function alias. Tweak menu item text.
2361
2362 * info.el (Info-finder-find-node):
2363 Ignore the `emacs' metapackage. (Bug#10813)
2364
2365 * finder.el (finder-list-matches): Include unversioned packages
2366 in the result of a keyword search.
2367
2368 * finder.el (finder--builtins-descriptions): New constant.
2369 (finder-compile-keywords): Use finder--builtins-descriptions.
2370
2371 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2372
2373 * simple.el (blink-matching-paren): Describe the new value,
2374 `jump', enabling the old behavior.
2375 (blink-matching-open): Use that value. (Bug#17008)
2376
2377 2014-03-14 Glenn Morris <rgm@gnu.org>
2378
2379 * finder.el (finder-no-scan-regexp): Add leim-list.
2380 (finder-compile-keywords):
2381 Don't skip files with same basename. (Bug#14010)
2382 * Makefile.in (setwins_finder): New, excluding leim.
2383 (finder-data): Use setwins_finder.
2384
2385 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2386 (help-function-arglist, help-make-usage): Move from here...
2387 * help.el (help-split-fundoc, help-add-fundoc-usage)
2388 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2389 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2390
2391 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2392
2393 * net/socks.el (socks, socks-override-functions)
2394 (socks-find-services-entry):
2395 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2396 (hif-find-ifdef-block):
2397 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2398
2399 * net/tls.el (tls-program): Reflow docstring.
2400
2401 * progmodes/pascal.el (pascal-mode-abbrev-table)
2402 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2403 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2404 (pascal-outline-mode): Fix docstring typos.
2405 (pascal-mode): Let define-derived-mode document mode hook.
2406 (pascal-uncomment-area): Reflow.
2407 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2408
2409 * progmodes/opascal.el (opascal-compound-block-indent)
2410 (opascal-case-label-indent): Fix docstring typos.
2411 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2412
2413 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2414
2415 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2416 Fontify multiple adjacent negation chars. (Bug#17004)
2417
2418 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2419
2420 * emacs-lisp/package.el (package--prepare-dependencies):
2421 Accept requirements without explicit version (bug#14941).
2422
2423 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2424
2425 * register.el (register-separator, copy-to-register): Doc fixes.
2426 (register-preview-default): Remove unnecessary call to concat.
2427
2428 * frameset.el (frameset-restore): When checking for a visible frame,
2429 use the action map instead of calling visible-frame-list.
2430
2431 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2432
2433 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2434
2435 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2436
2437 * window.el (fit-frame-to-buffer): Get maximum width from
2438 display's width instead of height.
2439
2440 2014-03-12 Glenn Morris <rgm@gnu.org>
2441
2442 * desktop.el (desktop-restore-frames)
2443 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2444 (desktop-restore-reuses-frames): Doc tweaks.
2445
2446 * electric.el (electric-indent-mode): Doc fix.
2447
2448 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2449
2450 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2451 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2452 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2453 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2454 (cvs-dired-use-hook): Fix docstring typos.
2455 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2456 Doc fixes.
2457
2458 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2459 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2460 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2461 (cvs-execute-single-dir): Fix docstring typos.
2462
2463 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2464 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2465
2466 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2467
2468 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2469 Fix docstring typos.
2470
2471 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2472
2473 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2474 called from jump-to-register after unloading the frameset package.
2475
2476 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2479 (bug#16975). Deactivate the mark before setting it to nil.
2480 (activate-mark): Do nothing if region is already active.
2481
2482 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2483
2484 * frameset.el (frameset--target-display): Remove definition; declare.
2485 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2486
2487 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2490 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2491 when the advice is pending.
2492 (advice-remove): Remove this marker when not needed any more.
2493
2494 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2495
2496 * frameset.el: Separate options for reusing frames and cleaning up.
2497 (frameset--reuse-list): Remove definition; declare.
2498 (frameset--action-map): Declare.
2499 (frameset--find-frame-if): Doc fix.
2500 (frameset--restore-frame): Cache frame action.
2501 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2502 how to clean up the frame list after restoring. Remove cleaning
2503 options from REUSE-FRAMES. Change all keyword values to symbols.
2504 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2505
2506 * desktop.el (desktop-restore-forces-onscreen)
2507 (desktop-restore-reuses-frames): Use non-keyword values.
2508 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2509
2510 2014-03-10 Glenn Morris <rgm@gnu.org>
2511
2512 * files.el (find-file): Doc fix: update info node name.
2513
2514 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2515 Doc fix: remove references to deleted info nodes.
2516
2517 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2518
2519 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2520 Do not add `nil' to the environment, when there's no remote `locale'.
2521 (tramp-find-inline-encoding): Check, that the remote host has
2522 installed perl, before sending scripts.
2523
2524 2014-03-10 Leo Liu <sdl.web@gmail.com>
2525
2526 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2527 Clear eldoc-last-message. (Bug#16920)
2528
2529 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2532 (bug#14430).
2533
2534 2014-03-09 Juri Linkov <juri@jurta.org>
2535
2536 * ansi-color.el (ansi-color-names-vector): Copy default colors
2537 from `xterm-standard-colors' that look well on the default white
2538 background (and also on the black background) to avoid illegible
2539 color combinations like yellow-on-white and white-on-white.
2540 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2541
2542 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2543
2544 * frameset.el (frameset-restore): When no frame is visible, do not
2545 generate a list of frames, just make visible the selected one.
2546
2547 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2548
2549 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2550 it only contains the repository root. (Bug#16897)
2551
2552 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2553
2554 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2555 only when `remote-file-name-inhibit-cache' is nil.
2556 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2557
2558 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2559
2560 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2561 Fix doc-strings.
2562 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2563 fit-frame-to-buffer variable. Fix doc-string.
2564 (fit-window-to-buffer): Set ONLY argument in call of
2565 fit-frame-to-buffer. Fix doc-string.
2566
2567 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2568
2569 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2570 (tramp-action-password): Clear password cache if needed.
2571 (tramp-read-passwd): Do not clear password cache.
2572
2573 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2574 cache unless it is the first password request.
2575
2576 2014-03-06 Glenn Morris <rgm@gnu.org>
2577
2578 * simple.el (newline): Doc tweak.
2579
2580 * emacs-lisp/shadow.el (load-path-shadows-find):
2581 Ignore dir-locals. (Bug#12357)
2582
2583 2014-03-05 Glenn Morris <rgm@gnu.org>
2584
2585 * files.el (interpreter-mode-alist):
2586 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2587
2588 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2589
2590 * frameset.el (frameset--initial-params): Filter out null entries.
2591
2592 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2593
2594 * window.el (window-min-height, window-min-width):
2595 Rewrite doc-strings.
2596 (window-body-size): Add PIXELWISE argument to make it consistent
2597 with its callees.
2598
2599 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2600
2601 * finder.el (finder-mode-map, finder-mode-syntax-table):
2602 Revert part of 2014-02-28 change.
2603
2604 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2605
2606 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2607 (eww-setup-buffer): Clear next/prev/etc more reliably.
2608 (eww-textarea-map): [tab] doesn't work on tty.
2609 Reported by Mario Lang.
2610
2611 * net/shr.el (shr-map): Ditto.
2612
2613 2014-03-04 Glenn Morris <rgm@gnu.org>
2614
2615 * minibuffer.el (completion-hilit-commonality):
2616 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2617
2618 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2619
2620 * hilit-chg.el (hilit-chg-unload-function): New function.
2621 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2622 (hilit-chg-map-changes): Prefer cardinal number to digit.
2623 (hilit-chg-display-changes): Reflow docstring.
2624 (highlight-changes-rotate-faces): Remove superfluous backslash.
2625
2626 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2627
2628 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2629 `tramp-send-command-and-check'.
2630
2631 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2632
2633 * hexl.el (hexl-address-region, hexl-ascii-region)
2634 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2635 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2636 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2637 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2638 (hexl-mode): Doc fix.
2639 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2640 (hexl-mode-ruler): Fix typos in docstrings.
2641
2642 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2643 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2644 Remove superfluous backslashes.
2645 (strokes-last-stroke, strokes-global-map, strokes-mode):
2646 Reflow docstrings.
2647 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2648 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2649 (strokes-distance-squared, strokes-global-set-stroke)
2650 (strokes-global-set-stroke-string): Doc fixes.
2651 (strokes-help): Fix typos; reflow docstring.
2652
2653 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2654
2655 * window.el (window-in-direction): Fix doc-string.
2656
2657 2014-03-04 Glenn Morris <rgm@gnu.org>
2658
2659 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2660 Explicit error if no grammar.
2661 (smie-config-save): Doc fix. Fix quote typo.
2662
2663 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2666 electric-indent-mode-hook if we obey electric-indent-mode.
2667 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2668 decide whether we obey electric-indent-mode.
2669 (c-change-set-fl-decl-start, c-extend-after-change-region):
2670 Silence warnings.
2671 (c-electric-indent-mode-hook): Assume we do want to obey
2672 electric-indent-mode.
2673
2674 * electric.el (electric-indent-mode-has-been-called): Remove.
2675 (electric-indent-mode): Fix accordingly.
2676
2677 * files.el (hack-local-variables): Mention file name in warning.
2678
2679 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2680
2681 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2682
2683 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2684 * simple.el (delete-forward-char): Mark as interactive-only.
2685
2686 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2687
2688 * icomplete.el (icomplete-completions):
2689 Follow-up to 2014-03-01 change.
2690
2691 * icomplete.el: Miscellaneous doc fixes.
2692 Use Icomplete everywhere instead of icomplete for consistency.
2693 (icomplete-max-delay-chars): Fix typo.
2694 (icomplete-mode): Use \[].
2695 (icomplete-tidy, icomplete-exhibit): Reflow.
2696 (icomplete-minibuffer-setup-hook, icomplete-completions):
2697 Remove superfluous backlashes.
2698
2699 * ido.el: Miscellaneous doc fixes.
2700 Use Ido everywhere instead of ido or `ido' for consistency.
2701 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2702 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2703 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2704 (ido-separator): Extract obsolescence info from docstring and declare
2705 with make-obsolete-variable.
2706 (ido-minibuffer-setup-hook): Simplify example.
2707 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2708 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2709 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2710 (ido-everywhere): Reflow docstring.
2711 (ido-toggle-vc): Doc fix.
2712 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2713 of long list of keybindings.
2714
2715 2014-03-03 Glenn Morris <rgm@gnu.org>
2716
2717 * frame.el (display-pixel-height, display-pixel-width)
2718 (display-mm-dimensions-alist, display-mm-height)
2719 (display-mm-width): Doc tweaks.
2720
2721 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2722
2723 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2724 case of undo in region.
2725
2726 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2727
2728 * window.el (fit-window-to-buffer): Fix argument in window-size
2729 call when window is horizontally combined.
2730
2731 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2732
2733 * icomplete.el (icomplete-completions): Use string-width.
2734 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2735
2736 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2737
2738 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2739 Highlight regexp options. (Bug#16914)
2740
2741 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2742
2743 * window.el (window--max-delta-1): Round down when calculating
2744 how many lines/columns we can get from a window.
2745
2746 2014-03-01 Glenn Morris <rgm@gnu.org>
2747
2748 * isearch.el (search-invisible): Doc fix.
2749
2750 * minibuffer.el (completion-hilit-commonality):
2751 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2752 * comint.el (comint-dynamic-list-completions): Doc fix.
2753 * comint.el (comint-dynamic-list-completions):
2754 * filecache.el (file-cache-minibuffer-complete):
2755 * tempo.el (tempo-display-completions):
2756 * eshell/em-hist.el (eshell-list-history):
2757 Replace use of obsolete argument of display-completion-list.
2758
2759 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2760
2761 * icomplete.el (icomplete-completions):
2762 Revert back to using "..." when ?… cannot be displayed.
2763
2764 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2765
2766 * finder.el (finder-unload-function): New function.
2767
2768 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2769
2770 * dframe.el (dframe-detach):
2771 * find-dired.el (find-dired, find-name-dired):
2772 * finder.el (finder-mode-map, finder-mode-syntax-table)
2773 (finder-headmark, finder-select, finder-mouse-select):
2774 Fix docstring typos.
2775
2776 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2777
2778 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2779 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2780 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2781 Fix doc-string based on a suggestion by Nicolas Richard
2782 <theonewiththeevillook@yahoo.fr>.
2783 * help.el (with-help-window): Fix doc-string.
2784
2785 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2786
2787 * net/shr.el (shr-image-animate): New option.
2788 (shr-put-image): Respect shr-image-animate.
2789
2790 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2791
2792 * net/tramp-adb.el (tramp-adb-parse-device-names):
2793 Use `accept-process-output'.
2794 (tramp-adb-handle-file-truename): Cache the localname only.
2795 (tramp-adb-handle-make-directory)
2796 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2797 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2798 modes cannot be changed.
2799
2800 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2801 file properties of symlinks.
2802
2803 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2804
2805 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2806 required/optional fields to match development biblatex. (Bug#16781)
2807
2808 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2809
2810 * saveplace.el (toggle-save-place):
2811 Fix argument handling. (Bug#16673)
2812
2813 2014-02-28 Glenn Morris <rgm@gnu.org>
2814
2815 * minibuffer.el (completions-first-difference)
2816 (completions-common-part, completion-hilit-commonality): Doc fixes.
2817
2818 2014-02-28 Karl Berry <karl@gnu.org>
2819
2820 * info.el (Info-mode-map): Add H for describe-mode,
2821 to synchronize with standalone Info.
2822
2823 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2824
2825 * progmodes/sql.el (sql-interactive-mode):
2826 Avoid setting global comint-input-ring-separator. (Bug#16814)
2827
2828 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2829
2830 * net/dbus.el (dbus--init-bus): Declare function.
2831 (dbus-path-local, dbus-interface-local): New defconst.
2832 (dbus-init-bus): Use them.
2833 (dbus-return-values-table): Extend doc.
2834 (dbus-handle-bus-disconnect): Extend error message.
2835
2836 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2837
2838 * subr.el (y-or-n-p): Fix double space issue in message.
2839
2840 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2841
2842 * net/tramp.el (tramp-call-process): Improve trace message.
2843 (tramp-handle-insert-file-contents): Trace error case.
2844
2845 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2846 <insert-directory>: Use `tramp-handle-insert-directory'.
2847 (tramp-adb-handle-insert-directory): Remove function.
2848 (tramp-adb-send-command-and-check): New defun, replacing
2849 `tramp-adb-command-exit-status'. Change all callees.
2850 (tramp-adb-handle-file-attributes)
2851 (tramp-adb-handle-directory-files-and-attributes): Use it.
2852 (tramp-adb-ls-output-name-less-p):
2853 Use `directory-listing-before-filename-regexp'.
2854 (tramp-adb-handle-delete-directory): Flush also file properties of
2855 the truename of directory.
2856 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2857 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2858 (tramp-adb-handle-write-region): Implement APPEND.
2859 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2860 properties correctly.
2861 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2862 variables. Check for connected devices only when needed.
2863
2864 2014-02-27 Glenn Morris <rgm@gnu.org>
2865
2866 * minibuffer.el (completion-table-dynamic)
2867 (completion-table-with-cache): Doc fixes.
2868
2869 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2870 (completing-read-multiple): Doc fixes.
2871
2872 2014-02-27 Daniel Colascione <dancol@dancol.org>
2873
2874 * minibuffer.el (completion--nth-completion): Fix indentation.
2875
2876 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2877 explicit tramp path is empty.
2878
2879 2014-02-27 Glenn Morris <rgm@gnu.org>
2880
2881 * emacs-lisp/crm.el (completing-read-multiple):
2882 Empower help-enable-auto-load.
2883
2884 2014-02-26 Glenn Morris <rgm@gnu.org>
2885
2886 * startup.el (command-line): Don't init the tty in daemon mode.
2887
2888 Avoid calling tty-setup-hook twice, eg if a term file
2889 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2890 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2891 (tty-create-frame-with-faces): Use it.
2892 * startup.el (command-line): Pass run-hook argument
2893 to tty-run-terminal-initialization.
2894
2895 * dired.el (dired-restore-desktop-buffer): Demote errors;
2896 eg in case a glob match fails. (Bug#16884)
2897
2898 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2899
2900 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2901 error from `read-from-string'. (Bug#16850)
2902
2903 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2904 result of `completing-read' in the interactive form. (Bug#16854)
2905
2906 2014-02-25 Glenn Morris <rgm@gnu.org>
2907
2908 * image.el (image-animate, image-animate-timeout):
2909 Stop animating images in dead buffers. (Bug#16878)
2910
2911 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2912
2913 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2914 Doc fixes.
2915 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2916 * term/sun.el (sun-raw-prefix-hooks):
2917 Use tty-setup-hook instead of term-setup-hook.
2918 (terminal-init-sun): Construct message from bytecomp plist.
2919 * term/wyse50.el (enable-arrow-keys): Doc fix.
2920
2921 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2922
2923 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2924 Fix docstring typos.
2925
2926 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2927
2928 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2929
2930 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2931
2932 * minibuffer.el (completion--try-word-completion):
2933 Fix error when completing M-x commands (bug#16808).
2934
2935 2014-02-24 Leo Liu <sdl.web@gmail.com>
2936
2937 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2938
2939 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2940
2941 * apropos.el (apropos-print): Avoid formatting error when
2942 apropos-do-all and apropos-compact-layout are both t.
2943
2944 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2945
2946 * apropos.el (apropos-property, apropos-all-words-regexp)
2947 (apropos-true-hit, apropos-variable, apropos-print):
2948 Fix docstring typos, and remove obsolete comment.
2949
2950 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2951
2952 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2953 Preserve trailing "/". (Bug#16851)
2954
2955 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2956
2957 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2958 after `=>' (bug#16811).
2959 (ruby-smie-rules): Handle the inconsistent second element of the
2960 list returned by `smie-indent--parent'.
2961 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2962 method call.
2963
2964 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2965
2966 * elec-pair.el (electric-pair-text-syntax-table)
2967 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2968 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2969 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2970 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2971
2972 2014-02-22 Glenn Morris <rgm@gnu.org>
2973
2974 * imenu.el (imenu--generic-function): Doc fix.
2975
2976 * register.el (frame-configuration-to-register): Make obsolete.
2977
2978 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2979
2980 * desktop.el (desktop-save-buffer-p): Do not fail when
2981 desktop-files-not-to-save is nil. Return t for true result
2982 as the doc says.
2983
2984 2014-02-22 Daniel Colascione <dancol@dancol.org>
2985
2986 * net/secrets.el (secrets-create-item, secrets-search-items):
2987 Check that attribute values are strings, avoiding the construction
2988 of invalid dbus messages.
2989
2990 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2991
2992 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2993 defun-declarations-alist.
2994
2995 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2998 (bug#16829).
2999
3000 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3001
3002 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3003 (whitespace-newline, whitespace-trailing, whitespace-line)
3004 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3005 (whitespace-space-after-tab): Fix typo in docstrings.
3006
3007 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3008
3009 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3010
3011 * electric.el (electric-indent-functions-without-reindent):
3012 Add `yaml-indent-line'.
3013
3014 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3015
3016 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3017 It has done nothing for years; should be removed after the release.
3018
3019 * simple.el (choose-completion): Fix docstring typo.
3020 (read-quoted-char-radix): Remove unneeded * in docstring.
3021 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3022 Don't escape parentheses unnecessarily in docstrings.
3023
3024 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3025
3026 Fix handling of window-min-height/-width (Bug#16738).
3027 * window.el (window--dump-window, window--dump-frame):
3028 New functions.
3029 (window--min-size-1): Account for window dividers.
3030 When window-resize-pixelwise is nil, delay rounding till after the
3031 sum of the window components has been calculated.
3032 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3033 nil make sure at least one text line and two text columns remain
3034 fully visible.
3035 (window-resize): Signal an error when window-resize-apply fails.
3036 (window--resize-child-windows): Fix calculation of by how many
3037 pixels a window can still be shrunk via window-new-normal.
3038 (adjust-window-trailing-edge): Call window--resizable with
3039 correct TRAIL argument.
3040
3041 (with-temp-buffer-window): Don't evaluate BODY within
3042 with-current-buffer (Bug#16816).
3043
3044 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3045
3046 * net/tramp.el (tramp-check-cached-permissions):
3047 Call `file-attributes' with `suffix' being a symbol but a string.
3048
3049 2014-02-21 Daniel Colascione <dancol@dancol.org>
3050
3051 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3052 (dbus-init-bus): New function: call into dbus-init-bus-1
3053 and installs a handler for the disconnect signal.
3054 (dbus-call-method): Rewrite to look for result in cons.
3055 (dbus-call-method-handler): Store result in cons.
3056 (dbus-check-event): Recognize events with nil sender as valid.
3057 (dbus-handle-bus-disconnect): New function. React to bus
3058 disconnection signal by synthesizing dbus error for each
3059 pending synchronous or asynchronous call.
3060 (dbus-notice-synchronous-call-errors): New function.
3061 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3062 is true, not all the time.
3063
3064 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3065
3066 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3067 Remove obsolescence declarations, these variables do not exist anymore.
3068
3069 * savehist.el (savehist-save-minibuffer-history)
3070 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3071 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3072 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3073 mostly, refer to "Savehist mode" when talking about the mode,
3074 and not the function.
3075
3076 * saveplace.el (save-place): Remove redundant info in docstring.
3077 (save-place-forget-unreadable-files, toggle-save-place)
3078 (save-place-forget-unreadable-files, save-place-dired-hook):
3079 Fix typos and remove unneeded backslashes.
3080
3081 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3082
3083 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3084 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3085
3086 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3087 <insert-directory>: Use `tramp-handle-insert-directory'.
3088 (tramp-gvfs-handle-insert-directory): Remove function.
3089
3090 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3091 Call `tramp-handle-insert-directory'.
3092
3093 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3094
3095 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3096 before the start of buffer/region (bug#16799).
3097
3098 2014-02-20 Glenn Morris <rgm@gnu.org>
3099
3100 * isearch.el (search-invisible): Doc fix.
3101
3102 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3103
3104 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3105 (bug#16657).
3106
3107 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3108
3109 * frameset.el (frameset-restore): Delay removing an old frame's
3110 duplicate id until the new frame has been correctly created.
3111
3112 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3113
3114 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3115 (tramp-check-cached-permissions): Call `file-attributes' if the
3116 cache is empty.
3117
3118 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3119 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3120
3121 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3122 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3123 (tramp-gvfs-maybe-open-connection): Set always connection
3124 properties, even if target is mounted already.
3125
3126 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3127 Set tramp-autoload cookie.
3128 (tramp-get-remote-touch): New defun.
3129 (tramp-sh-handle-set-file-times): Use it.
3130 (tramp-sh-handle-directory-files-and-attributes):
3131 Use `tramp-handle-directory-files-and-attributes' if neither stat
3132 nor perl are available on the remote host.
3133
3134 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3135 "/". Write long listing only when "l" belongs to the switches.
3136
3137 * net/trampver.el: Update release number.
3138
3139 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3140
3141 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3142
3143 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3144
3145 * window.el (window-state-put): Allow WINDOW to refer to an
3146 internal window (Bug#16793).
3147
3148 2014-02-19 Glenn Morris <rgm@gnu.org>
3149
3150 * textmodes/remember.el: Move provide statement to end.
3151 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3152 (remember-notes): Doc fixes.
3153
3154 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * delsel.el (delete-char): Restore incorrectly erased property
3157 (bug#16795).
3158
3159 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3160
3161 * frameset.el (frameset--restore-frame): When a frame is being reused
3162 and its root window is not alive, delete all the frame's windows before
3163 restoring the window state. This works around the issue in bug#16793.
3164
3165 2014-02-18 Glenn Morris <rgm@gnu.org>
3166
3167 * textmodes/remember.el (remember-data-directory)
3168 (remember-directory-file-name-format, remember-store-in-files)
3169 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3170 (remember-notes-save-and-bury-buffer)
3171 (remember-notes--kill-buffer-query): Doc fixes.
3172
3173 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3174
3175 2014-02-17 Alan Mackenzie <acm@muc.de>
3176
3177 Connect electric-indent-mode up with CC Mode. Bug #15478.
3178 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3179 to electric-indent-{,local-}-mode.
3180 (c-basic-common-init): Set electric-indent-inhibit.
3181 Initialise c-electric-flag from electric-indent-mode.
3182 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3183 New hook functions which propagate electric-indent-mode to CC mode.
3184
3185 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3186 hit, toggle electric-indent-local-mode.
3187
3188 * electric.el (electric-indent-mode-has-been-called):
3189 New variable.
3190
3191 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3192
3193 * frameset.el (frameset-cfg-id): New function.
3194 (frameset--reuse-frame, frameset-restore): Use it.
3195 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3196
3197 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * ido.el (ido-file-internal): Remove unused var `d'.
3200 Use \` for to match BoS. Fit within 80n columns.
3201
3202 2014-02-17 Daniel Colascione <dancol@dancol.org>
3203
3204 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3205 dbus-call-method check for completion using a busy-wait loop with
3206 gradual backoff.
3207
3208 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3209
3210 Sync with Tramp 2.2.9.
3211
3212 * net/trampver.el: Update release number.
3213
3214 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3215
3216 * ido.el (ido-file-internal): Don't add the name of an existing
3217 directory twice. (Bug#16747)
3218
3219 2014-02-16 Glenn Morris <rgm@gnu.org>
3220
3221 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3222 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3223
3224 2014-02-15 Michael R. Mauger <michael@mauger.com>
3225
3226 * progmodes/sql.el: Version 3.4
3227 (sql-oracle-options): New default value ("-L").
3228 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3229 (sql-placeholders-filter): Correct placeholder pattern.
3230 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3231 (sql-login-delay): New variable.
3232 (sql-product-interactive): Use it.
3233
3234 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3235
3236 * frameset.el (frameset--jump-to-register): Check that buffer is live
3237 (bug#16749).
3238
3239 2014-02-15 Glenn Morris <rgm@gnu.org>
3240
3241 * info.el (info-initialize): Revert 2014-01-10 change.
3242
3243 2014-02-14 Glenn Morris <rgm@gnu.org>
3244
3245 * replace.el (map-query-replace-regexp)
3246 (read-regexp-defaults-function, read-regexp): Doc fixes.
3247
3248 * dired.el (dired-read-regexp):
3249 * faces.el (list-faces-display):
3250 * misearch.el (multi-isearch-read-matching-buffers)
3251 (multi-isearch-read-matching-files):
3252 * play/cookie1.el (cookie-apropos):
3253 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3254
3255 * textmodes/remember.el (remember): Use frameset-to-register
3256 rather than frame-configuration-to-register.
3257
3258 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3259
3260 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3261 incorrect keybinding.
3262
3263 2014-02-13 Daniel Colascione <dancol@dancol.org>
3264
3265 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3266 when adding overlays so that line numbers from compiler match line
3267 numbers we use.
3268
3269 2014-02-13 Glenn Morris <rgm@gnu.org>
3270
3271 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3272
3273 * jit-lock.el (jit-lock-mode): Doc fix.
3274
3275 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3276
3277 * apropos.el (apropos-read-pattern): When the user passes an empty
3278 string, give a more helpful error message than "Wrong type
3279 argument: stringp, nil".
3280
3281 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3284
3285 2014-02-13 Glenn Morris <rgm@gnu.org>
3286
3287 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3288
3289 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3292 shift-select commands.
3293
3294 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3295
3296 * progmodes/js.el (js-indent-line): Don't widen.
3297 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3298
3299 2014-02-12 Glenn Morris <rgm@gnu.org>
3300
3301 * icomplete.el (icomplete): Add info-link to defgroup.
3302 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3303 (icomplete-minibuffer-map, icomplete-mode)
3304 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3305
3306 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3307 (package-menu-filter): Rename from package-menu-filter-interactive.
3308 Doc fix.
3309
3310 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3311
3312 * frameset.el (frameset--jump-to-register): Select the required
3313 window and buffer before restoring position (bug#16696).
3314
3315 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3316
3317 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3318
3319 2014-02-10 Glenn Morris <rgm@gnu.org>
3320
3321 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3322
3323 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3324
3325 * w32-common-fns.el (x-get-selection): Doc fix.
3326 * select.el (x-get-selection): Doc fix. (Bug#15109)
3327
3328 * face-remap.el (face-remap-add-relative)
3329 (face-remap-remove-relative, face-remap-reset-base)
3330 (face-remap-set-base): Call force-mode-line-update to redisplay
3331 the current buffer due to potential change in faces. (Bug#16709)
3332
3333 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3334
3335 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3336 script more robustly.
3337
3338 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3339
3340 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3341
3342 * simple.el (choose-completion): Doc fix (bug#14160).
3343
3344 * subr.el (event-start): Say what a nil EVENT value means.
3345
3346 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3347 (bug#14197).
3348
3349 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3350
3351 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3352
3353 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3354
3355 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3356 predicate function (bug#15455).
3357
3358 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3359
3360 * ielm.el (inferior-emacs-lisp-mode): Instead of
3361 `comment-use-global-state', set `comment-use-syntax'.
3362
3363 2014-02-10 Glenn Morris <rgm@gnu.org>
3364
3365 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3366
3367 2014-02-09 Alan Mackenzie <acm@muc.de>
3368
3369 Fix c-invalidate-state-cache on narrowed buffers.
3370 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3371 Widen when setting and clearing the CPP delimiter properties.
3372
3373 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3374
3375 * help.el (describe-bindings): Doc fix (bug#9888).
3376
3377 * files.el (save-buffer): Use ARG as the parameter name for
3378 consistency (bug#10346).
3379 (save-buffer): Clarify the 0 argument (bug#10346).
3380
3381 * cus-edit.el (customize-apropos): Fix error string.
3382 (custom-buffer-create): Doc fix (bug#11122).
3383 (custom-sort-items): Doc fix (bug#11121).
3384
3385 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3386
3387 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3388 (icomplete-simple-completing-p): Mention the previous variable.
3389
3390 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3391 meaning of the parameter (bug#12282).
3392
3393 * files.el (find-file-noselect): Clarify prompt when changing
3394 readedness (bug#13261).
3395 (locate-file): Suffixes aren't returned, so don't say that they
3396 are (bug#12674).
3397 (backup-inhibited): Doc clarification (bug#12525).
3398
3399 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3400 before we actually start to delete things (bug#16331).
3401
3402 * subr.el (event-start): Doc fix (bug#14228).
3403 (event-end): Ditto.
3404
3405 2014-02-09 Glenn Morris <rgm@gnu.org>
3406
3407 * emacs-lisp/warnings.el (lwarn):
3408 Empower help-enable-auto-load. (Bug#15940)
3409
3410 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3411
3412 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3413 (Bug#16690)
3414
3415 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3416
3417 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3418 Insert output at end of buffer. (Bug#16120)
3419
3420 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3421
3422 * simple.el (choose-completion-string-functions): Document new
3423 calling convention (bug#14153).
3424 (execute-extended-command): Clarify doc string (bug#13373).
3425
3426 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3427
3428 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3429 (find-grep-dired): Doc fix (bug#14288).
3430
3431 2014-02-08 Juri Linkov <juri@jurta.org>
3432
3433 * isearch.el (isearch-quote-char): Check character validity
3434 like in `quoted-insert' (bug#16677).
3435
3436 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3437
3438 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3439
3440 * isearch.el (isearch-hide-immediately): Doc clarification
3441 (bug#14723).
3442
3443 * simple.el (line-move): Document utility function used many
3444 places in the Emacs sources (bug#14843).
3445
3446 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3447 (dired-prev-marked-file): Doc fix (bug#14855).
3448 (dired-up-directory): Doc fix (bug#14848).
3449
3450 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3451
3452 * files.el (file-relative-name): Doc fix (bug#15159).
3453
3454 * fringe.el (fringe-styles): Doc fix (bug#15239).
3455
3456 * isearch.el (isearch-filter-predicate): Documentation typo fix
3457 (bug#15474).
3458
3459 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3460
3461 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3462
3463 * replace.el (replace-match-maybe-edit): Doc clarification
3464 (bug#15632).
3465
3466 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3467
3468 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3469
3470 2014-02-08 Glenn Morris <rgm@gnu.org>
3471
3472 * help-fns.el (describe-variable):
3473 Check {file,dir}-local-variables-alist, and buffer-file-name,
3474 in the correct buffer.
3475
3476 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3477
3478 * help-fns.el (describe-variable): Fix the case where
3479 a value is directory-local with no dir-locals file. (Bug#16635)
3480
3481 2014-02-08 Glenn Morris <rgm@gnu.org>
3482
3483 * abbrev.el (edit-abbrevs-mode):
3484 Derive from fundamental-mode. (Bug#16682)
3485
3486 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3487
3488 * simple.el (quoted-insert): Check character validity (bug#16677).
3489
3490 2014-02-07 Juri Linkov <juri@jurta.org>
3491
3492 * desktop.el (desktop-read): Claim the lock when the owner is not
3493 the current process. (Bug#16157)
3494
3495 2014-02-07 Juri Linkov <juri@jurta.org>
3496
3497 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3498 to "\\` ". (Bug#16651)
3499
3500 2014-02-07 Juri Linkov <juri@jurta.org>
3501
3502 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3503 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3504 (desktop-auto-save-cancel-timer): New function with some code from
3505 `desktop-auto-save-set-timer'.
3506 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3507 Instead of setting `desktop-save-mode' to nil, call
3508 `desktop-save-mode' with arg 0. (Bug#16630)
3509
3510 2014-02-07 Glenn Morris <rgm@gnu.org>
3511
3512 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3513 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3514 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3515
3516 * obsolete/iswitchb.el: Move to obsolete/.
3517 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3518 since obsolete/ is not scanned for autoloads.
3519 * emacs-lisp/authors.el (authors-valid-file-names):
3520 Add iswitchb.el.
3521
3522 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3523 Disable now non-functional find-file-hook.
3524
3525 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3526
3527 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3528 instead of ";" in order to avoid additional prompts. Let heredoc
3529 scripts read from tty. (Bug#16582)
3530 (tramp-send-command): No special handling of heredocs, it isn't
3531 necessary anymore.
3532
3533 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3534
3535 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3536 with a space (bug#16664). Limit the symbols considered to the ones
3537 that are bound or fbound (bug#16646).
3538
3539 2014-02-06 Glenn Morris <rgm@gnu.org>
3540
3541 * epa.el (epa-mail-aliases): Doc fix.
3542
3543 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3544
3545 * emacs-lisp/lisp.el (lisp-completion-at-point):
3546 Use `completion-table-merge' instead of `completion-table-in-turn'
3547 (bug#16604).
3548
3549 * minibuffer.el (completion-table-merge): New function.
3550
3551 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3552
3553 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3554 (tramp-sh-handle-set-file-acl)
3555 (tramp-sh-handle-start-file-process)
3556 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3557 (tramp-find-executable, tramp-send-command): Use it.
3558
3559 2014-02-05 Glenn Morris <rgm@gnu.org>
3560
3561 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3562
3563 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3564
3565 * progmodes/python.el (python-shell-send-string)
3566 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3567
3568 2014-02-04 Anders Lindgren <andlind@gmail.com>
3569
3570 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3571 the names (bug#16620).
3572
3573 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3574
3575 * faces.el (window-divider): New default value. Rewrite doc-string.
3576 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3577
3578 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3579
3580 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3581 `protected' and `public' can also be called without arguments.
3582
3583 2014-02-03 Glenn Morris <rgm@gnu.org>
3584
3585 * register.el (window-configuration-to-register)
3586 (frame-configuration-to-register): Unadvertise unused argument.
3587 * frameset.el (frameset-to-register): Remove unused argument.
3588
3589 * frameset.el (frameset-to-register):
3590 * kmacro.el (kmacro-to-register):
3591 * register.el (increment-register):
3592 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3593 (calc-append-to-register, calc-prepend-to-register):
3594 * play/gametree.el (gametree-layout-to-register)
3595 (gametree-apply-register-layout):
3596 * textmodes/picture.el (picture-clear-rectangle-to-register)
3597 (picture-yank-rectangle-from-register):
3598 * vc/emerge.el (emerge-combine-versions-register):
3599 Use register-read-with-preview to read registers.
3600
3601 2014-02-03 João Távora <joaotavora@gmail.com>
3602
3603 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3604 when at beginning of (possibly narrowed) buffer.
3605
3606 2014-02-02 Daniel Colascione <dancol@dancol.org>
3607
3608 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3609 Also try to display local help from just before point.
3610
3611 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3612
3613 c-parse-state. Don't "append-lower-brace-pair" in certain
3614 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3615 recognised as a comment.
3616
3617 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3618 as well as normal comment starter.
3619 (c-parse-state-get-strategy): Extra return possibility
3620 'back-and-forward.
3621 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3622 return value list to indicate replacement of a brace-pair cons
3623 with its car.
3624 (c-parse-state-1): With 'back-and-forward, only call
3625 c-append-lower-brace-pair-to state-cache when cons-separated.
3626
3627 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3628
3629 * term/ns-win.el (ns-suspend-error): New function.
3630 (ns-initialize-window-system): Add ns-suspend-error to
3631 suspend-hook (Bug#16612).
3632
3633 2014-02-02 Daniel Colascione <dancol@dancol.org>
3634
3635 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3636 Make loading cc-mode silent.
3637
3638 2014-02-02 Daniel Colascione <dancol@dancol.org>
3639
3640 * comint.el (comint-prompt-read-only): Change doc to suggest
3641 remap keybinding.
3642
3643 2014-02-02 Glenn Morris <rgm@gnu.org>
3644
3645 * register.el (register-read-with-preview, point-to-register)
3646 (window-configuration-to-register, frame-configuration-to-register)
3647 (jump-to-register, number-to-register, view-register, insert-register)
3648 (copy-to-register, append-to-register, prepend-to-register)
3649 (copy-rectangle-to-register): Doc fixes.
3650
3651 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3654 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3655 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3656 * help-fns.el (describe-function-1): Use it.
3657
3658 2014-02-02 Glenn Morris <rgm@gnu.org>
3659
3660 * register.el (register-preview-default): New function,
3661 split from register-preview.
3662 (register-preview-function): Rename from register-preview-functions,
3663 make it not a hook.
3664 (register-preview): Use register-preview-function.
3665 (register-read-with-preview): Error on non-character event. (Bug#16595)
3666
3667 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3668
3669 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3670 `:' before binary operators (bug#16609). Don't check for `:'
3671 before `[' and `(', or their syntax status. A percent literal
3672 can't end with either.
3673 (ruby-font-lock-keywords): For built-ins that require arguments,
3674 check that they're followed by something that looks like argument
3675 (bug#16610).
3676
3677 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3678
3679 * subr.el (butlast): Document what an omitted N means (bug#13437).
3680 (nbutlast): Ditto.
3681
3682 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3683
3684 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3685 depth shallower (bug#16587).
3686 (shr-tag-svg): Respect `shr-inhibit-images'.
3687 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3688
3689 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3690
3691 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3692 (ruby-smie-grammar): Make "." right-associative. Make its priority
3693 lower than the ternary and all binary operators.
3694 (ruby-smie-rules): Indent "(" relative to the first non-"."
3695 parent, or the first "." parent at indentation.
3696 Use `ruby-align-chained-calls' for indentation of "." tokens.
3697 (Bug#16593)
3698
3699 2014-01-31 Juri Linkov <juri@jurta.org>
3700
3701 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3702 from `make-hash-table'.
3703
3704 * textmodes/ispell.el (ispell-init-process): Change message format
3705 to be consistent with other messages.
3706
3707 2014-01-31 Glenn Morris <rgm@gnu.org>
3708
3709 * delsel.el (delete-selection-mode): Doc fix.
3710
3711 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3712 (trace-function-background): Doc fixes.
3713
3714 * ido.el (ido-use-virtual-buffers): Doc fix.
3715 Reset :version, since the default value has not changed.
3716
3717 * register.el (register-preview-delay, register-read-with-preview):
3718 Doc fixes.
3719
3720 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3721 do not mess with mail-buffer position (fixes 2009-11-03 change).
3722 * progmodes/cc-mode.el (c-submit-bug-report):
3723 Check auto-fill-mode is bound. (Bug#16592)
3724
3725 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3726
3727 * startup.el (fancy-splash-image-file): New function,
3728 split from fancy-splash-head.
3729 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3730 so that we are both using the same image. (Bug#16574)
3731
3732 2014-01-30 Glenn Morris <rgm@gnu.org>
3733
3734 * simple.el (eval-expression): Doc fix.
3735
3736 * hexl.el (hexl-mode-hook):
3737 * ielm.el (ielm-mode-hook):
3738 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3739 (lisp-interaction-mode-hook):
3740 * progmodes/cfengine.el (cfengine3-documentation-function):
3741 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3742
3743 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3746 is a symbol (bug#16584).
3747
3748 2014-01-30 Glenn Morris <rgm@gnu.org>
3749
3750 * help.el (help-for-help-internal): Add "P" to text.
3751
3752 2014-01-29 Glenn Morris <rgm@gnu.org>
3753
3754 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3755
3756 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3757
3758 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3759 height constraints.
3760
3761 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3762
3763 * progmodes/hideif.el: Extend to full CPP expression syntax.
3764 (hif-token-alist): Add missing tokens.
3765 (hif-token-regexp): Add support for float/octal/hex immediates.
3766 (hif-string-literal-regexp): New const.
3767 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3768 (hif-exprlist): New function.
3769 (hif-parse-if-exp): Use it.
3770 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3771 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3772 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3773 (hif-logxor, hif-comma): New functions.
3774
3775 2014-01-28 Glenn Morris <rgm@gnu.org>
3776
3777 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3778
3779 * indent.el (tab-stop-list): Doc fix. Add :version.
3780
3781 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3782 (cvs-append-to-ignore): Add compatibility alias.
3783
3784 2014-01-27 Glenn Morris <rgm@gnu.org>
3785
3786 * dired.el (dired-hide-details-mode): Don't autoload it,
3787 since it cannot be used outside Dired buffers anyway.
3788
3789 * emulation/cua-base.el (cua-mode): Doc fix.
3790
3791 * dired.el (dired-hide-details-hide-symlink-targets)
3792 (dired-hide-details-hide-information-lines)
3793 (dired-hide-details-mode): Doc fixes.
3794
3795 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3796 * strokes.el (strokes-file): Doc fix. Bump :version.
3797 (strokes-help): Doc fix.
3798 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3799 * emulation/viper.el (viper): Doc fix for custom group.
3800 (top-level): Remove oh-so-no-longer-relevant text about vip.
3801 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3802
3803 * ido.el (ido-save-directory-list-file):
3804 * saveplace.el (save-place-file):
3805 * calendar/timeclock.el (timeclock-file):
3806 * net/quickurl.el (quickurl-url-file):
3807 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3808 * progmodes/idlwave.el (idlwave-config-directory):
3809 * textmodes/remember.el (remember-data-file):
3810 Bump :version.
3811
3812 2014-01-26 Glenn Morris <rgm@gnu.org>
3813
3814 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3815 Doc fix. Make obsolete.
3816 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3817
3818 * sort.el (delete-duplicate-lines): Doc fix.
3819
3820 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3821
3822 * progmodes/ada-mode.el (ada):
3823 * woman.el (woman): Link to info manual and Commentary section.
3824
3825 * progmodes/flymake.el (flymake):
3826 * nxml/nxml-mode.el (nxml):
3827 * net/eww.el (eww):
3828 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3829 * htmlfontify.el (htmlfontify):
3830 * ses.el (ses):
3831 * epa.el (epa):
3832 * ido.el (ido): Link to info manual.
3833
3834 2014-01-25 Leo Liu <sdl.web@gmail.com>
3835
3836 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3837
3838 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3839
3840 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3841 (bug#16537).
3842
3843 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3844
3845 * net/eww.el (eww-download-callback):
3846 Fix reference to eww-download-directory.
3847
3848 * emacs-lisp/bytecomp.el (byte-compile-file):
3849 Remove unused local variable `file-name'.
3850
3851 2014-01-24 Glenn Morris <rgm@gnu.org>
3852
3853 * woman.el (woman-default-faces, woman-monochrome-faces):
3854 Fix obsolescence specification.
3855
3856 * subr.el (with-demoted-errors): Doc fix.
3857
3858 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3861 (cl--macroexp-fboundp): New function.
3862 (cl--make-type-test): Use it.
3863
3864 2014-01-23 Glenn Morris <rgm@gnu.org>
3865
3866 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3867 * simple.el (eval-expression): Doc fixes.
3868
3869 2014-01-22 Glenn Morris <rgm@gnu.org>
3870
3871 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3872
3873 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * emacs-lisp/package.el: Write files silently.
3876 (package-autoload-ensure-default-file, package--write-file-no-coding)
3877 (package-generate-description-file, package--download-one-archive)
3878 (package-install-from-archive): Tell `write-region' to stay quiet.
3879 (package-menu-mode, package-menu--print-info): Omit the Archive column
3880 if there's only one archive.
3881 (package-all-keywords, package--has-keyword-p): Remove dead code.
3882
3883 2014-01-22 Glenn Morris <rgm@gnu.org>
3884
3885 * version.el (emacs-bzr-version-bzr): Fix typo.
3886
3887 * version.el (emacs-repository-get-version):
3888 Check either .bzr or .git, but not both.
3889 Make the git case actually use the DIR argument, and return nil
3890 rather than the empty string.
3891 Avoid error if .git exists but the git executable is not found.
3892
3893 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3894
3895 Fixes in window size functions around Bug#16430 and Bug#16470.
3896 * window.el (window-total-size, window-size): New argument ROUND.
3897 (window--min-delta-1, window-min-delta, window--max-delta-1):
3898 Be more conservative when calculating the numbers of lines or
3899 columns a window can shrink (Bug#16430).
3900 (fit-window-to-buffer): Simplify code.
3901 * term.el (term-window-width): Call window-body-width again.
3902
3903 2014-01-22 Glenn Morris <rgm@gnu.org>
3904
3905 * image.el (image-format-suffixes): Doc fix.
3906
3907 * international/quail.el (quail-define-package): Doc fix.
3908
3909 * emacs-lisp/authors.el (authors-valid-file-names)
3910 (authors-renamed-files-alist): Additions.
3911
3912 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3913 reverts 2014-01-09 change. (Bug#16422)
3914
3915 * calc/calc-embed.el (thing-at-point-looking-at):
3916 * emacs-lisp/map-ynp.el (x-popup-dialog):
3917 * obsolete/lmenu.el (x-popup-dialog):
3918 * emacs-lisp/package.el (url-recreate-url):
3919 * mail/mailclient.el (clipboard-kill-ring-save):
3920 * subr.el (x-popup-dialog): Update declaration.
3921 * mail/rmail.el (rmail-mime-message-p):
3922 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3923
3924 2014-01-21 Daniel Colascione <dancol@dancol.org>
3925
3926 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3927 Correctly detect when we're inside an arithmetic expansion form
3928 containing nested parenthesis.
3929 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3930 to detect cases where we shouldn't expand "<<" to a heredoc
3931 skeleton.
3932
3933 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3936 (eldoc--message-command-p): New function.
3937 (eldoc-display-message-p): Use it.
3938 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3939 message is not automatically erased for us.
3940 (eldoc-print-current-symbol-info): Erase previous message, if any.
3941
3942 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3943
3944 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3945 specify it's an interactive function.
3946
3947 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3948 Fix regex used for scanning for citation keys which failed for
3949 citations with optional arguments.
3950
3951 2014-01-21 Leo Liu <sdl.web@gmail.com>
3952
3953 * simple.el (read--expression): Don't enable eldoc-mode.
3954
3955 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * simple.el (move-beginning-of-line): Make sure we don't move forward
3958 (bug#16497).
3959
3960 2014-01-20 Juri Linkov <juri@jurta.org>
3961
3962 * saveplace.el (toggle-save-place, save-place-to-alist)
3963 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3964 'dired-mode) before checking for dired-directory. (Bug#16477)
3965
3966 2014-01-20 Juri Linkov <juri@jurta.org>
3967
3968 * indent.el (indent-line-to): Use backward-to-indentation
3969 instead of back-to-indentation. (Bug#16461)
3970
3971 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3972
3973 Revert some of the CANNOT_DUMP fix (Bug#16494).
3974 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3975 but fixing this can wait until after the next release.
3976 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3977
3978 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3979
3980 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3981 Use `password-word-equivalents'.
3982 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3983 to t. (Bug#5664, Bug#13124)
3984
3985 2014-01-19 Alan Mackenzie <acm@muc.de>
3986
3987 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3988 points.
3989 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3990 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3991 * progmodes/cc-mode.el (c-before-change, c-after-change)
3992 (c-font-lock-fontify-region): Bind it here.
3993
3994 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3995
3996 * term.el (term-window-width): Call window-text-width instead of
3997 window-width (Bug#16470).
3998
3999 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4000
4001 * simple.el (password-word-equivalents): Remove duplicates.
4002 Sort, to make this easier next time.
4003 Downcase. Omit ": " after "jelszó".
4004
4005 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4006
4007 * term/common-win.el (saved-region-selection): Defvar it.
4008 (x-select-text): Set saved-region-selection (Bug#16382).
4009
4010 2014-01-18 Glenn Morris <rgm@gnu.org>
4011
4012 * emacs-lisp/authors.el (authors-aliases)
4013 (authors-renamed-files-alist): Add some entries.
4014
4015 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4016
4017 * net/tramp.el (tramp-password-prompt-regexp):
4018 Use `password-word-equivalents' if available.
4019 (tramp-action-password, tramp-process-one-action)
4020 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4021
4022 2014-01-17 Chong Yidong <cyd@gnu.org>
4023
4024 * simple.el (password-word-equivalents): New defcustom.
4025 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4026 to 24.4.
4027 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4028 to t. (Bug#13124)
4029
4030 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4031
4032 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4033 (ruby-align-to-stmt-keywords): Change the default value.
4034 Use `ruby-alignable-keywords' to generate the possible customization
4035 choices.
4036 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4037 keywords, check against the value of `ruby-alignable-keywords'
4038 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4039
4040 2014-01-17 Glenn Morris <rgm@gnu.org>
4041
4042 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4043
4044 Make M-x authors return zero *Authors Errors* from current logs.
4045 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4046 (authors-ignored-files): Add some entries, remove others.
4047 (authors-ambiguous-files, authors-valid-file-names):
4048 Add some entries.
4049 (authors-renamed-files-alist): Add, remove, and adjust entries.
4050 (authors-renamed-files-regexps): Add some entries.
4051 Remove some very broad ones. Make some entries `lax'.
4052 (authors-lax-changelogs): New constant.
4053 (authors-disambiguate-file-name): Treat top-level specially.
4054 (authors-lax-changelog-p): New function.
4055 (authors-canonical-file-name): Check file as written against
4056 authors-valid-file-names. Do not special-case etc/.
4057 Handle `lax' logs and authors-renamed-files-regexps elements.
4058
4059 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4060
4061 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4062 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4063 callers.
4064
4065 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4068 Assume we're already in the proper buffer.
4069 Inspired by Anders Lindgren <andlind@gmail.com>.
4070 (follow-post-command-hook): Call it from the right buffer.
4071 (follow-comint-scroll-to-bottom): Adjust call.
4072 (follow-all-followers): Use get-buffer-window-list.
4073
4074 2014-01-15 Daniel Colascione <dancol@dancol.org>
4075
4076 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4077 `buffer-file-name' in interactive-form so that we don't leave
4078 pathless file names in `file-name-history'.
4079
4080 2014-01-15 Juri Linkov <juri@jurta.org>
4081
4082 * indent.el (indent-rigidly): Set deactivate-mark to nil
4083 in transient indentation mode. (Bug#16438)
4084
4085 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4086
4087 * emacs-lisp/package.el (package-desc-keywords): New function
4088 (Bug#16222).
4089 (describe-package-1, package-all-keywords)
4090 (package--has-keyword-p): Use it.
4091
4092 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4093
4094 * simple.el (define-alternatives): When creating the
4095 COMMAND-alternatives variable, assign COMMAND as its definition
4096 name so that `describe-variable' can relocate it.
4097
4098 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4099
4100 * font-lock.el (font-lock-keywords): Fix typo in docstring
4101 (bug#16307).
4102
4103 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4104
4105 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4106 line instead of wrongly reset `add-coment' (bug#13577).
4107
4108 2014-01-14 Daiki Ueno <ueno@gnu.org>
4109
4110 * epa-file.el (epa-file-write-region): Encode the region according
4111 to `buffer-file-format'. Problem reported at:
4112 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4113
4114 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4115
4116 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4117 so it applies in the right buffer (bug#16410).
4118
4119 2014-01-13 Daniel Colascione <dancol@dancol.org>
4120
4121 * textmodes/rst.el (rst-define-key): Provide deprecated
4122 keybindings through named functions instead of anonymous ones so
4123 that "??" doesn't appear in describe-mode output.
4124
4125 2014-01-13 Bastien Guerry <bzg@gnu.org>
4126
4127 * simple.el (define-alternatives): Call the selected command
4128 interactively. When setting `COMMAND--implementation' for the
4129 first time, tell the user how to chose another implementation.
4130 Enhance the docstring.
4131
4132 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4133
4134 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4135 (log-edit--match-first-line): New function.
4136 (log-edit-font-lock-keywords): Use it.
4137 (log-edit-mode): Make jit-lock-defer-multiline work.
4138
4139 2014-01-13 Bastien Guerry <bzg@gnu.org>
4140
4141 * rect.el (rectangle-mark-mode): When the region is not active,
4142 display a message saying that the mark as been set and that
4143 rectangle mode is in use.
4144 (rectangle--highlight-for-redisplay): Only put an overlay with a
4145 visible vertical bar when (display-graphic-p) is non-nil.
4146 This partially fixes Bug#16403.
4147
4148 2014-01-13 Juri Linkov <juri@jurta.org>
4149
4150 * info.el (Info-find-file): Go to DIR before displaying the error
4151 about a nonexistent file if no previous Info file is visited.
4152 Use `user-error' instead of `error' for "Info file %s does not exist".
4153 (Info-find-node-2): In case of a nonexistent node in unwind forms
4154 go to the Top node if there is no previous node to revert to.
4155 (Bug#16405)
4156
4157 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4158
4159 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4160 * window.el (fit-frame-to-buffer): Fix doc-string.
4161 Respect window-min-height/-width. Fit pixelwise when
4162 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4163 when avoiding that frame goes partially off-screen.
4164 (fit-window-to-buffer): Respect window-min-height/-width
4165 (Bug#14096).
4166
4167 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4168
4169 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4170 after an empty line.
4171
4172 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4173
4174 * net/shr.el (shr-render-region): Autoload.
4175
4176 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4177
4178 * net/eww.el (eww-download-directory): Rename from
4179 `eww-download-path' (Bug#16419).
4180
4181 2014-01-12 Leo Liu <sdl.web@gmail.com>
4182
4183 * dired-x.el (dired-mode-map): Fix last change.
4184
4185 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4186
4187 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4188
4189 Spelling fixes.
4190 * emacs-lisp/generic.el (generic--normalize-comments):
4191 Rename from generic--normalise-comments. All uses changed.
4192 * play/bubbles.el (bubbles--neighborhood-score)
4193 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4194 (bubbles--neighborhood-available)
4195 (bubbles--update-neighborhood-score):
4196 Rename from names with 'neighbourhood'. All uses changed.
4197
4198 2014-01-12 Leo Liu <sdl.web@gmail.com>
4199
4200 Re-implement the feature of showing eldoc info after editing.
4201 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4202 (eldoc-edit-message-commands): New function.
4203 (eldoc-print-after-edit): New variable.
4204 (eldoc-pre-command-refresh-echo-area): Emit message only by
4205 eldoc-message-commands.
4206 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4207 if eldoc-print-after-edit is set. (Bug#16346)
4208 * simple.el (read--expression): Enable eldoc-mode.
4209 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4210
4211 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4212 Eric S. Raymond <esr@thyrsus.com>
4213
4214 * version.el (emacs-repository-get-version): Enhance so the
4215 function works correctly in either a Bazaar or Git repo.
4216
4217 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4218
4219 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4220 Goes with removal of the joke manpages from /etc.
4221
4222 2014-01-10 Kenichi Handa <handa@gnu.org>
4223
4224 * mail/rmail.el (rmail-get-coding-system):
4225 Check rmail-get-coding-function before "funcall"ing it.
4226
4227 2014-01-10 Glenn Morris <rgm@gnu.org>
4228
4229 * emacs-lisp/authors.el (authors-fixed-entries):
4230 Update for files that no longer exist.
4231
4232 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4233
4234 * version.el (emacs-bzr-get-version): Restore compatibilty with
4235 24.3 (Tested).
4236
4237 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4238
4239 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4240 and Podfile.
4241
4242 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4243
4244 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4245
4246 2014-01-10 Chong Yidong <cyd@gnu.org>
4247
4248 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4249
4250 2014-01-10 Anders Lindgren <andlind@gmail.com>
4251
4252 * follow.el (follow-cache-command-list): Include right-char and
4253 left-char.
4254
4255 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4256
4257 Spelling fixes.
4258 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4259 * woman.el (woman-mark-horizontal-position):
4260 Rename from woman-mark-horizonal-position. Use changed.
4261
4262 2014-01-10 Glenn Morris <rgm@gnu.org>
4263
4264 * info.el (info-initialize): If running uninstalled, ensure our
4265 own info files are always found first, even if INFOPATH is set.
4266
4267 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4268
4269 2014-01-09 David Engster <deng@randomsample.de>
4270
4271 * emacs-lisp/eieio-custom.el:
4272 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4273 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4274 * emacs-lisp/eieio.el: Regenerate autoloads.
4275
4276 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4277
4278 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4279 following renames. (Bug#8756)
4280
4281 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4284 (bug#16382).
4285 (activate-mark): Add `no-tmm' argument.
4286 (set-mark, push-mark-command): Use it instead of running
4287 activate-mark-hook by hand.
4288
4289 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4290
4291 In preparation for the move to git, sanitize out some
4292 Bazaar-specific names.
4293
4294 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4295
4296 * version.el (emacs-bzr-version): Name changed to
4297 emacs-repository-version. Obsolete-variable alias made.
4298 * loadup.el: Follow through on this name change.
4299 * mail/emacsbug.el (report-emacs-bug): Factor out any
4300 assumption about the version control system in use.
4301
4302 2014-01-08 David Engster <deng@randomsample.de>
4303
4304 * help-fns.el (help-fns-describe-function-functions):
4305 New variable to call functions for augmenting help buffers.
4306 (describe-function-1): Remove explicit calls to
4307 `help-fns--compiler-macro', `help-fns--parent-mode' and
4308 `help-fns--obsolete'. Put them in above new variable instead, and
4309 call them through `run-hook-with-args'.
4310 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4311 `eieio-describe-class'. Not meant for interactive use anymore,
4312 but to augment existing help buffers. Remove optional second
4313 argument. Create proper button for file location.
4314 Rewrite function to use `insert' instead of `princ' and `prin1' where
4315 possible.
4316 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4317 (eieio-method-def, eieio-class-def): Move further up.
4318 (describe-method, describe-generic, eieio-describe-method):
4319 Remove aliases.
4320 (eieio-help-constructor, eieio-help-generic): Rename from
4321 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4322 Rewrite to use `insert' in the current buffer and use proper help
4323 buttons.
4324 (eieio-help-find-method-definition)
4325 (eieio-help-find-class-definition): Also accept symbols as
4326 arguments.
4327 (eieio-help-mode-augmentation-maybee): Remove.
4328 (eieio-describe-class-sb): Use `describe-function'.
4329 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4330 Add `eieio-help-generic' and `eieio-help-constructor'.
4331
4332 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4333
4334 Spelling fixes.
4335 * language/china-util.el (hz-ascii-designation):
4336 Rename from hz-ascii-designnation.
4337 (hz-ascii-designation): Rename from hz-ascii-designnation.
4338 All uses changed.
4339
4340 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4343 package-alist.
4344
4345 2014-01-08 Bastien Guerry <bzg@gnu.org>
4346
4347 * emacs-lisp/package.el (package-delete):
4348 Correctly delete the package from package-alist.
4349
4350 2014-01-08 Daiki Ueno <ueno@gnu.org>
4351
4352 * emacs-lisp/package.el (url-recreate-url): Declare.
4353 (url-http-target-url): Declare.
4354 (package-handle-response): Include requested URL in the error message.
4355 (package--check-signature): Don't re-signal errors from
4356 package--with-work-buffer. Suggested by Stefan Monnier.
4357
4358 2014-01-07 Bastien Guerry <bzg@gnu.org>
4359
4360 * minibuffer.el (completion--try-word-completion): When both a
4361 hyphen and a space are possible candidates for the character
4362 following a word, display both candidates. (Bug#15980)
4363
4364 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4365
4366 * window.el (balance-windows-2): While rounding don't give a
4367 window more than the remainder. Bug#16351, bug#16383.
4368
4369 2014-01-07 Glenn Morris <rgm@gnu.org>
4370
4371 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4372 (menu-bar-help-menu): Use view-external-packages instead.
4373
4374 2014-01-07 Bastien Guerry <bzg@gnu.org>
4375
4376 * emacs-lisp/package.el (package-delete): Also delete the package
4377 name from `package-alist', not its description only.
4378
4379 2014-01-07 Glenn Morris <rgm@gnu.org>
4380
4381 * help.el (view-external-packages):
4382 * menu-bar.el (menu-bar-help-extra-packages):
4383 Visit efaq.info rather than etc/MORE.STUFF.
4384
4385 2014-01-07 Juri Linkov <juri@jurta.org>
4386
4387 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4388 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4389
4390 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4391 that shadows RET. (Bug#16342)
4392
4393 2014-01-07 Chong Yidong <cyd@gnu.org>
4394
4395 * isearch.el (isearch-yank-char, isearch-yank-word)
4396 (isearch-yank-line): Doc fix.
4397
4398 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4399
4400 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4401 * emacs-lisp/elint.el (elint-find-builtins):
4402 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4403 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4404 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4405 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4406 * apropos.el (apropos-safe-documentation):
4407 * subr.el (symbol-file): Remove redundant fboundp.
4408 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4409
4410 2014-01-06 Bastien Guerry <bzg@gnu.org>
4411
4412 * hl-line.el (global-hl-line-overlay): Make a local variable.
4413 (global-hl-line-overlays): New variable to store all overlays.
4414 (global-hl-line-mode): Don't delete overlays from the current
4415 buffer when `global-hl-line-sticky-flag' is non-nil.
4416 (global-hl-line-highlight): Add new overlays to
4417 `global-hl-line-overlays'.
4418 (global-hl-line-unhighlight-all): New function to delete all
4419 overlays when turning off `global-hl-line-mode'.
4420 This fixes Bug#16183.
4421
4422 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * subr.el (set-transient-map): Fix nested case and docstring.
4425
4426 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4427
4428 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4429 `Texinfo' entry.
4430
4431 2014-01-06 Daniel Colascione <dancol@dancol.org>
4432
4433 Fix defun navigation in vc log view.
4434
4435 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4436 like `beginning-of-defun'.
4437 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4438 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4439 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4440 (log-view-extract-comment): Call `log-view-current-entry' directly
4441 instead of relying on broken `log-view-beginning-of-defun' behavior.
4442
4443 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4444
4445 Spelling fixes.
4446 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4447 * emacs-lisp/debug.el (cancel-debug-on-entry):
4448 * epg.el (epg-error-to-string):
4449 * files.el (recover-file):
4450 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4451 * mail/emacsbug.el (report-emacs-bug-hook):
4452 * mail/sendmail.el (mail-recover):
4453 * ses.el (ses-yank-resize):
4454 * term/ns-win.el (ns-print-buffer):
4455 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4456 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4457 All uses changed.
4458 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4459
4460 2014-01-06 Leo Liu <sdl.web@gmail.com>
4461
4462 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4463 to avoid shadowing global key. (Bug#16354)
4464
4465 2014-01-06 Daniel Colascione <dancol@dancol.org>
4466
4467 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4468 rst-mode.
4469
4470 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4471
4472 * window.el (balance-windows): Add mising t to fix Bug#16351.
4473
4474 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4475
4476 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4477 (bug#16285).
4478 (shr-insert): If we have a word that's longer than `shr-width',
4479 break after it anyway. Otherwise we'll do no breaking once we get
4480 such a long word.
4481
4482 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4483
4484 * net/eww.el (eww): Support single/double quote for search.
4485 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4486 (eww-history-quit): Delete and use quit-window.
4487 (eww-history-kill): Delete, because it doesn't work well and
4488 not necessary.
4489 (eww-history-mode-map): Delete some keys and add easy-menu.
4490
4491 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4492
4493 Fix misspelling of 'chinese' in rx (Bug#16237).
4494 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4495 chinese-two-byte.
4496
4497 Change subword regexps back to vars (Bug#16296).
4498 * progmodes/subword.el (subword-forward-regexp)
4499 (subword-backward-regexp): Change these back to variables.
4500
4501 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4502
4503 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4504 syntax-begin-function (bug#16247).
4505
4506 2014-01-03 Chong Yidong <cyd@gnu.org>
4507
4508 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4509 (advice--docstring): Delete variable.
4510 (advice--make-1): Leave the docstring empty.
4511 (advice-add): Use function-documentation for advised docstring.
4512
4513 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4514 Ignore function-documentation property when getting documentation.
4515 (ad-activate-advised-definition): Use function-documentation
4516 generate the docstring.
4517 (ad-make-advised-definition): Don't call
4518 ad-make-advised-definition-docstring.
4519 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4520 Delete functions.
4521
4522 * progmodes/sql.el (sql-help): Use function-documentation instead
4523 of dynamic-docstring-function property. No need to autoload now.
4524 (sql--help-docstring): New variable.
4525 (sql--make-help-docstring): Use it.
4526
4527 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 * ielm.el (ielm-tab): Retarget.
4530 (ielm-map): Use ielm-tab for tab.
4531 (ielm-complete-filename): Use comint-filename-completion.
4532 (ielm-complete-symbol): Remove.
4533 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4534 remove ielm-tab from completion-at-point-functions (bug#16224).
4535
4536 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4537 Beware signals raised by predicates (bug#16201).
4538
4539 2014-01-02 Richard Stallman <rms@gnu.org>
4540
4541 * dired-aux.el (dired-do-print): Handle printer-name.
4542
4543 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4544 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4545 (rmail-epa-decrypt): Turn off mime processing.
4546
4547 * mail/rmail.el (rmail-make-in-reply-to-field):
4548 Add parens in message-id.
4549
4550 * mail/rmail.el (rmail-get-coding-function): Variable.
4551 (rmail-get-coding-system): Use it.
4552
4553 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4554
4555 * international/mule-conf.el: Unify the charset indian-is13194.
4556 (indian-is13194): Specify unify-map.
4557
4558 2013-12-31 Leo Liu <sdl.web@gmail.com>
4559
4560 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4561
4562 2013-12-30 Daniel Colascione <dancol@dancol.org>
4563
4564 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4565 of printing a useless when we resume from sleep.
4566
4567 * progmodes/sh-script.el
4568 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4569 in indentation code. (Bug#16233)
4570
4571 2013-12-28 João Távora <joaotavora@gmail.com>
4572
4573 * elec-pair.el (electric-pair-post-self-insert-function):
4574 Don't open extra newlines at beginning of buffer. (Bug#16272)
4575
4576 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4577
4578 * frame.el (window-system-for-display): Don't allow to create a
4579 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4580
4581 2013-12-28 Glenn Morris <rgm@gnu.org>
4582
4583 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4584 Update callers.
4585
4586 * apropos.el (apropos-match-face):
4587 * calculator.el (calculator-displayer):
4588 * dabbrev.el (dabbrev-search-these-buffers-only):
4589 * face-remap.el (buffer-face-mode-face):
4590 * simple.el (yank-handled-properties):
4591 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4592 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4593 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4594 (hashcash-double-spend-database):
4595 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4596 (ruby-deep-indent-paren-style):
4597 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4598 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4599 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4600 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4601 Specify custom types.
4602
4603 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4604 * bookmark.el (bookmark-bmenu-use-header-line):
4605 * doc-view.el (doc-view-scale-internally):
4606 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4607 * register.el (register-preview-delay):
4608 * net/shr.el (shr-bullet):
4609 * progmodes/cfengine.el (cfengine-cf-promises)
4610 (cfengine-parameters-indent):
4611 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4612 * textmodes/reftex-vars.el (reftex-label-regexps):
4613 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4614
4615 * net/tls.el (tls-certtool-program): Fix default value.
4616
4617 * desktop.el (desktop-restore-in-current-display):
4618 * newcomment.el (comment-empty-lines):
4619 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4620 (idlwave-pad-keyword):
4621 * progmodes/tcl.el (tcl-tab-always-indent):
4622 * textmodes/reftex-vars.el (reftex-index-default-tag):
4623 * elec-pair.el (electric-pair-skip-whitespace):
4624 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4625
4626 * emacs-lisp/authors.el (authors-ignored-files)
4627 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4628
4629 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4630
4631 * shell.el (shell-dynamic-complete-command): Doc fix.
4632 (shell--command-completion-data): Shell completion now matches
4633 executable filenames from the current buffer's directory, on
4634 systems in which this behavior is the default (windows-nt, ms-dos).
4635
4636 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4637
4638 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4639
4640 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4643 (bug#16251).
4644
4645 * electric.el: Move all electric-pair-* to elec-pair.el.
4646 * elec-pair.el: New file, split from electric.el.
4647
4648 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4649
4650 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4651 indentation level is larger than the width, because that will
4652 infloop.
4653 (shr-insert): Fill repeatedly long texts, so that Japanese is
4654 formatted correctly (bug#16263).
4655 (shr-find-fill-point): Off by one error in comparison with the
4656 indentation.
4657
4658 2013-12-26 João Távora <joaotavora@gmail.com>
4659
4660 * electric.el (electric-pair-mode): More flexible engine for skip-
4661 and inhibit predicates, new options for pairing-related functionality.
4662 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4663 if that keeps or improves their balance in buffers.
4664 (electric-pair-delete-adjacent-pairs): Delete the pair when
4665 backspacing over adjacent matched delimiters.
4666 (electric-pair-open-extra-newline): Open extra newline when
4667 inserting newlines between adjacent matched delimiters.
4668 (electric--sort-post-self-insertion-hook):
4669 Sort post-self-insert-hook according to priority values when
4670 minor-modes are activated.
4671 * simple.el (newline-and-indent): Call newline with interactive
4672 set to t.
4673 (blink-paren-post-self-insert-function): Set priority to 100.
4674 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4675 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4676 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4677 electric-pair-open-newline-between-pairs to nil.
4678
4679 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4680
4681 * progmodes/python.el: Use lexical-binding.
4682 (python-nav-beginning-of-defun): Stop searching ASAP.
4683
4684 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4685
4686 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4687 Fix interactive spec. Doc fix. (Bug#15754)
4688
4689 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4690
4691 * emacs-lisp/byte-run.el (eval-when-compile):
4692 * progmodes/cc-defs.el (cc-eval-when-compile):
4693 Fix edebug spec (bug#16184).
4694
4695 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4696
4697 * net/shr.el (shr-visit-file): Remove debugging function.
4698 (shr-insert): Don't infloop if we can't find a good place to break
4699 the line (bug#16256).
4700
4701 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4702
4703 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4704 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4705 python-nav-lisp-forward-sexp-safe.
4706 (python-nav--forward-sexp): New argument SAFE allows switching
4707 forward sexp movement behavior for parens.
4708 (python-nav-forward-sexp): Throw errors on unterminated parens
4709 (Bug#16191).
4710 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4711 (python-nav-backward-sexp-safe): New functions.
4712 (python-shell-buffer-substring):
4713 Use `python-nav-forward-sexp-safe'.
4714
4715 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4716
4717 * net/shr.el (shr-find-fill-point): Don't break lines before a
4718 quotation mark.
4719 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4720 (shr-find-fill-point): Remove the special checks for the quotation
4721 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4722
4723 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4724
4725 * net/eww.el (eww-form-textarea): Use a different face for
4726 textareas than text input since they have different keymaps
4727 (bug#16142).
4728
4729 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4730
4731 * progmodes/python.el (python-nav-beginning-of-statement):
4732 Speed up (Bug#15295).
4733
4734 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4735
4736 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4737 the window configuration.
4738
4739 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4740
4741 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4742 we run on MS-Windows or MS-DOS.
4743
4744 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4745
4746 * window.el (balance-windows-area): Call window-size instead of
4747 window-height and window-width. Bug#16241.
4748
4749 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4750
4751 * net/eww.el (eww-bookmark-quit): Remove.
4752 (eww-bookmark-browse): Restore the window configuration when you
4753 choose a bookmark (bug#16144).
4754
4755 2013-12-24 Daniel Colascione <dancol@dancol.org>
4756
4757 * icomplete.el: Remove redundant :group arguments to `defcustom'
4758 throughout.
4759 (icomplete-show-matches-on-no-input): New customizable variable.
4760 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4761 we have something to show.
4762 (icomplete-exhibit): Compute completions even if we have no user input.
4763
4764 2013-12-23 Daniel Colascione <dancol@dancol.org>
4765
4766 * icomplete.el: Move `provide' to end of file.
4767
4768 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4769
4770 * net/gnutls.el (gnutls-verify-error): Add version tag.
4771
4772 2013-12-23 Chong Yidong <cyd@gnu.org>
4773
4774 * subr.el (set-transient-map): Rename from
4775 set-temporary-overlay-map. Doc fix.
4776
4777 * face-remap.el (text-scale-adjust):
4778 * indent.el (indent-rigidly):
4779 * kmacro.el (kmacro-call-macro):
4780 * minibuffer.el (minibuffer-force-complete):
4781 * repeat.el (repeat):
4782 * simple.el (universal-argument--mode):
4783 * calendar/todo-mode.el (todo-insert-item--next-param):
4784 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4785
4786 * indent.el (indent-rigidly): Use substitute-command-keys.
4787
4788 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4789
4790 * net/eww.el (eww-tag-select): Add text-property to jump to next
4791 select field.
4792 (eww): Add non-supported ftp error.
4793
4794 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4795
4796 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4797 comments. Handle electric indent after typing `?' and `!'.
4798
4799 2013-12-22 Chong Yidong <cyd@gnu.org>
4800
4801 * faces.el (face-spec-recalc): If the theme specs are not
4802 applicable to a frame, fall back on the defface spec.
4803 This prevents themes from obliterating faces on low-color terminals.
4804
4805 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4806
4807 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4808 after `{'. We need it after block openers, and it doesn't seem
4809 to hurt after hash openers.
4810
4811 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4812
4813 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4814 extracted from `ruby-smie-rules'.
4815 (ruby--electric-indent-chars): New variable.
4816 (ruby--electric-indent-p): New function.
4817 (ruby-mode): Use `electric-indent-functions' instead of
4818 `electric-indent-chars'.
4819
4820 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4821
4822 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4823 docstring.
4824 (ruby-smie-rules): Indent plus one level after `=>'.
4825
4826 2013-12-21 Richard Stallman <rms@gnu.org>
4827
4828 * simple.el (newline): Doc fix.
4829
4830 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4831
4832 * net/eww.el (eww-list-histories, eww-list-histories)
4833 (eww-history-browse, eww-history-quit, eww-history-kill)
4834 (eww-history-mode-map, eww-history-mode): New command and
4835 functions to list browser histories.
4836 (eww-form-text): Support text form with disabled
4837 and readonly attributes.
4838 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4839
4840 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4841
4842 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4843 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4844 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4845 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4846 Use `user-error'.
4847 (eww-bookmark-mode-map): Add menu.
4848 (eww-render, eww-mode): Use `setq-local'.
4849 (eww-tool-bar-map): New variable.
4850 (eww-mode): Set `tool-bar-map'.
4851 (eww-view-source): Check for `html-mode' with `fboundp'.
4852
4853 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4854
4855 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4856 elements with text inside. Also remove debugging.
4857
4858 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4859
4860 * cus-start.el (all): Add ns-use-srgb-colorspace.
4861
4862 2013-12-21 Chong Yidong <cyd@gnu.org>
4863
4864 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4865 undefined. Thus, theme settings for undefined faces do not take
4866 effect until the faces are defined with defface, the same as with
4867 theme variables.
4868
4869 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4870 (face-spec-reset-face): Don't assign extra properties in temacs.
4871 (face-spec-recalc): Apply X resources too.
4872
4873 2013-12-21 Chong Yidong <cyd@gnu.org>
4874
4875 * faces.el (face-spec-set):
4876 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4877 * custom.el (defface): Doc fixes (Bug#16203).
4878
4879 * indent.el (indent-rigidly-map): Add docstring, and move commands
4880 into named functions.
4881 (indent-rigidly-left, indent-rigidly-right)
4882 (indent-rigidly-left-to-tab-stop)
4883 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4884 indentation direction based on bidi direction, and accumulate
4885 sequential commands in a single undo boundary.
4886 (indent-rigidly--pop-undo): New utility function.
4887
4888 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4889
4890 * faces.el (read-face-name): Require crm.el when using crm-separator.
4891
4892 2013-12-20 Daniel Colascione <dancol@dancol.org>
4893
4894 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4895 so that we don't reflow comments into the shebang line.
4896
4897 2013-12-20 Juri Linkov <juri@jurta.org>
4898
4899 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4900 a position when `dired-directory' is non-nil. Check integer
4901 positions with `integerp'.
4902 (toggle-save-place, save-places-to-alist): Add check for
4903 `dired-directory'.
4904 (save-place-find-file-hook): Check integer positions with
4905 `integerp'.
4906 (save-place-dired-hook): Use `dired-goto-file' when
4907 `dired-filename' is found in the assoc list. Check integer
4908 positions with `integerp'.
4909 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4910
4911 * dired.el (dired-initial-position-hook): Rename back from
4912 `dired-initial-point-hook'.
4913 (dired-initial-position): Rename `dired-initial-point-hook' to
4914 `dired-initial-position-hook'.
4915 (dired-file-name-at-point): Doc fix. (Bug#15329)
4916
4917 2013-12-20 Juri Linkov <juri@jurta.org>
4918
4919 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4920 (read-regexp-suggestions): New function.
4921 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4922 Use `read-regexp-suggestions'. Add non-empty default to history
4923 for empty input.
4924 (occur-read-regexp-defaults-function): Remove function.
4925 (occur-read-primary-args): Use `regexp-history-last' instead of
4926 `occur-read-regexp-defaults-function'.
4927
4928 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4929 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4930 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4931 `hi-lock-read-regexp-defaults-function'. Doc fix.
4932 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4933 with `find-tag-default-as-symbol-regexp'. Doc fix.
4934 (hi-lock-read-regexp-defaults): Remove function.
4935 (hi-lock-regexp-okay): Add check for null.
4936
4937 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4938 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4939
4940 * subr.el (find-tag-default-as-symbol-regexp): New function.
4941 (find-tag-default-as-regexp): Move symbol regexp formatting to
4942 `find-tag-default-as-symbol-regexp'.
4943
4944 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4945
4946 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4947 (Bug#14179)
4948
4949 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4950
4951 * calendar/todo-mode.el: New implementation of item insertion
4952 commands and key bindings.
4953 (todo-key-prompt): New face.
4954 (todo-insert-item): New command.
4955 (todo-insert-item--parameters): New defconst, replacing defvar
4956 todo-insertion-commands-args-genlist.
4957 (todo-insert-item--param-key-alist): New defconst, replacing
4958 defvar todo-insertion-commands-arg-key-list.
4959 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4960 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4961 (todo-insert-item--next-param): New functions.
4962 (todo-insert-item--args, todo-insert-item--argleft)
4963 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4964 New variables.
4965 (todo-key-bindings-t): Change binding of "i" from
4966 todo-insertion-map to todo-insert-item.
4967 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4968 (todo-insertion-command-name, todo-insertion-commands-names)
4969 (todo-define-insertion-command, todo-insertion-commands)
4970 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4971
4972 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4973
4974 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4975 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4976 eval-when-compile.
4977 (todo-move-category): Allow choosing a non-existing todo file to
4978 move the category to, and create that file.
4979 (todo-default-priority): New user option.
4980 (todo-set-item-priority): Use it.
4981 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4982 (desktop-restore-file-buffer): Declare.
4983 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4984 (todo-modes-set-2): Locally set desktop-save-buffer to
4985 todo-desktop-save-buffer.
4986 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4987 (auto-mode-alist): Add autoload cookie.
4988
4989 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4990
4991 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4992 helpers.el was a poor choice of name.
4993 (string-remove-prefix): New function.
4994 (string-remove-suffix): New function.
4995
4996 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4997
4998 Fix assignment for new window total sizes.
4999 * window.el (window--pixel-to-size): Remove function.
5000 (window--pixel-to-total-1, window--pixel-to-total):
5001 Fix calculation of new total sizes.
5002
5003 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5004
5005 * comint.el (comint-output-filter): Fix rear-nonsticky property
5006 placement (Bug#16010).
5007
5008 2013-12-20 Chong Yidong <cyd@gnu.org>
5009
5010 * faces.el (read-color): Minor fix for completion function.
5011
5012 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5013
5014 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5015 New option. (Bug#16182)
5016 (ruby-smie--indent-to-stmt-p): Use it.
5017 (ruby-smie-rules): Revert the logic in the handling of `when'.
5018 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5019 (ruby-deep-arglist, ruby-deep-indent-paren)
5020 (ruby-deep-indent-paren-style): Update docstrings to note that the
5021 vars don't have any effect with SMIE.
5022
5023 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5024
5025 * calc/calc.el (calc-enter, calc-pop): Use the variable
5026 `calc-context-sensitive-enter'.
5027
5028 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5029
5030 * net/shr.el (shr-insert): Protect against infloops in degenerate
5031 tables.
5032
5033 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5034
5035 * progmodes/octave.el (octave): Add link to manual and octave
5036 homepage.
5037 (octave-mode-menu): Link to octave-mode manual.
5038
5039 2013-12-20 Leo Liu <sdl.web@gmail.com>
5040
5041 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5042 insertion using skeleton-end-newline. (Bug#16138)
5043
5044 2013-12-20 Juri Linkov <juri@jurta.org>
5045
5046 * replace.el (occur-engine): Use `add-face-text-property'
5047 to add the face property to matches and titles. (Bug#14645)
5048
5049 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5050 the palette of other hi-lock colors.
5051 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5052
5053 2013-12-19 Juri Linkov <juri@jurta.org>
5054
5055 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5056 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5057 (minibuffer-history-symbol): Move variable declaration closer to
5058 its usage.
5059
5060 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5061 (Bug#14785)
5062
5063 2013-12-19 Juri Linkov <juri@jurta.org>
5064
5065 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5066 New function.
5067 (log-edit-hook): Add it to :options. (Bug#16170)
5068
5069 2013-12-19 Juri Linkov <juri@jurta.org>
5070
5071 * simple.el (eval-expression-print-format): Don't check for
5072 command names and the last command. Always display additional
5073 formats of the integer result in the echo area, and insert them
5074 to the current buffer only with a zero prefix arg.
5075 Display character when char-displayable-p is non-nil.
5076 (eval-expression): With a zero prefix arg, set `print-length' and
5077 `print-level' to nil, and insert the integer values from
5078 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5079
5080 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5081 `eval-last-sexp-arg-internal'. Doc fix.
5082 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5083 `eval-last-sexp-print-value'. Doc fix.
5084 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5085 Set `print-length' and `print-level' to nil when arg is zero.
5086 (eval-last-sexp): Doc fix.
5087 (eval-defun-2): Print the integer values from
5088 `eval-expression-print-format' at the end.
5089
5090 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5091 values from `eval-expression-print-format' at the end.
5092
5093 * ielm.el (ielm-eval-input): Print the integer
5094 values from `eval-expression-print-format' at the end.
5095
5096 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5097
5098 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5099 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5100
5101 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5102
5103 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5104 (hl-line-highlight, global-hl-line-highlight): Use it.
5105 (hl-line-overlay): Use defvar-local.
5106
5107 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5108
5109 * term/ns-win.el: Require dnd.
5110 (global-map): Remove drag items.
5111 (ns-insert-text, ns-set-foreground-at-mouse)
5112 (ns-set-background-at-mouse):
5113 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5114 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5115 New functions.
5116
5117 2013-12-19 Glenn Morris <rgm@gnu.org>
5118
5119 * emacs-lisp/ert.el (ert-select-tests):
5120 Fix string/symbol mixup. (Bug#16121)
5121
5122 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5123
5124 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5125 keywords to their parent.
5126
5127 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5128
5129 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5130 first arg to be a string (fixed dead code), or an operator symbol.
5131 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5132 operator symbols.
5133 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5134 did nothing. Don't respond to `(:after ".")', it will be called
5135 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5136 change anything. Only return indentation for binary operators
5137 when they are hanging. De-dent opening paren when its parent is
5138 `.', otherwise it looks bad when the dot is not at bol or eol
5139 (bug#16182).
5140
5141 2013-12-19 Juri Linkov <juri@jurta.org>
5142
5143 * replace.el (query-replace-read-args): Split a non-negative arg
5144 and a negative arg into separate elements.
5145 (query-replace, query-replace-regexp, replace-string)
5146 (replace-regexp): Add arg `backward'. Doc fix.
5147 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5148 move point to the beginning of the match.
5149 (replace-search, replace-highlight): Use new arg `backward'
5150 to set the value of `isearch-forward'.
5151 (perform-replace): Add arg `backward' and use it to perform
5152 replacement backward. (Bug#14979)
5153
5154 * isearch.el (isearch-query-replace): Use a negative prefix arg
5155 to call `perform-replace' with a non-nil arg `backward'.
5156
5157 2013-12-18 Juri Linkov <juri@jurta.org>
5158
5159 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5160 to the default list. Move `log-edit-show-files' to the end.
5161 Add more available functions to options.
5162 (log-edit): Move default specific settings to
5163 `log-edit-insert-message-template'. Don't move point.
5164 (log-edit-insert-message-template): New function.
5165 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5166 (Bug#16170)
5167
5168 2013-12-18 Juri Linkov <juri@jurta.org>
5169
5170 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5171 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5172
5173 2013-12-18 Leo Liu <sdl.web@gmail.com>
5174
5175 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5176 (Bug#16186)
5177
5178 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5179
5180 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5181 formats for displaying file sizes when the -s switch is given.
5182 Instead, compute a separate format for displaying the size in
5183 blocks, which is displayed in addition to the "regular" size.
5184 When -h is given in addition to -s, produce size in blocks in
5185 human-readable form as well. (Bug#16179)
5186
5187 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5188
5189 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5190 Reference tables with ~\ref{...} instead of only \ref{...}.
5191
5192 2013-12-18 Chong Yidong <cyd@gnu.org>
5193
5194 * cus-edit.el (custom-magic-alist): Fix "themed" description
5195 (Bug#14348).
5196
5197 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5198 is non-nil, do not create a new entry in the symbol's theme-value
5199 or theme-face property; update theme-settings only (Bug#14664).
5200 (custom-available-themes): Doc fix.
5201
5202 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5203 (Bug#15674).
5204
5205 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5206
5207 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5208
5209 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5210 (Bug#13914).
5211
5212 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5213
5214 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5215
5216 2013-12-18 Glenn Morris <rgm@gnu.org>
5217
5218 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5219 * cus-start.el (load-prefer-newer): New option.
5220
5221 2013-12-18 Le Wang <l26wang@gmail.com>
5222
5223 * comint.el (comint-previous-matching-input-from-input):
5224 Retain point (Bug#13404).
5225
5226 2013-12-18 Chong Yidong <cyd@gnu.org>
5227
5228 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5229
5230 2013-12-18 Glenn Morris <rgm@gnu.org>
5231
5232 * mail/emacsbug.el (report-emacs-bug):
5233 Only mention enable-multibyte-characters if non-standard.
5234
5235 2013-12-17 Juri Linkov <juri@jurta.org>
5236
5237 * arc-mode.el (archive-extract-by-file): Check if directory exists
5238 before deletion to not show irrelevant errors if it doesn't exist.
5239
5240 2013-12-17 Juri Linkov <juri@jurta.org>
5241
5242 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5243 (Bug#14751)
5244
5245 * net/eww.el (browse-web): Add alias to `eww'.
5246 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5247 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5248
5249 * net/browse-url.el (browse-url-browser-function): Move `eww'
5250 closer to similar functions.
5251
5252 * startup.el (fancy-startup-screen, fancy-about-screen):
5253 Set browse-url-browser-function to eww-browse-url locally.
5254 (Bug#14751)
5255
5256 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * window.el (window--pixel-to-total): Remove unused `mini' var.
5259 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5260 (split-window): Remove unused `new' var.
5261 (window--display-buffer): Remove unused `frame' and `delta' vars.
5262 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5263 and display-width'.
5264
5265 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5266
5267 * dired.el (dired-mark-pop-up):
5268 * register.el (register-preview): Don't bind
5269 split-height-threshold here since it's now done in
5270 display-buffer-below-selected.
5271
5272 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5273
5274 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5275 xterm-rgb-convert-to-16bit.
5276 (rxvt-register-default-colors): Standardize with
5277 xterm-register-default-colors (Bug#14078).
5278
5279 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5280
5281 * simple.el (kill-region): Pass mark first, then point, so that
5282 kill-append works right (Bug#12819).
5283 (copy-region-as-kill, kill-ring-save): Likewise.
5284
5285 2013-12-17 Leo Liu <sdl.web@gmail.com>
5286
5287 * net/rcirc.el (rcirc-add-face):
5288 * eshell/em-prompt.el (eshell-emit-prompt):
5289 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5290 (Bug#16167)
5291
5292 2013-12-17 Chong Yidong <cyd@gnu.org>
5293
5294 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5295 Suggested by Xue Fuqiao.
5296
5297 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5298
5299 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5300
5301 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * net/shr.el (shr-insert-document): Remove unused var
5304 `shr-preliminary-table-render'.
5305 (shr-rescale-image): Remove unused arg `force'.
5306 (shr-put-image): Update calls accordingly.
5307 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5308
5309 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5310
5311 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5312 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5313 :close-all, to see which indentation method to use (Bug#16116).
5314 (smie-rules-function): Document the method :close-all.
5315
5316 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5317
5318 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5319
5320 * net/eww.el (eww-display-html): If we can't find the anchor we're
5321 looking for, then go to point-min.
5322
5323 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5324
5325 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5326 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5327 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5328 Expand dir too, in case it's relative.
5329
5330 2013-12-16 Juri Linkov <juri@jurta.org>
5331
5332 * desktop.el (desktop-auto-save-timeout): Change default to
5333 `auto-save-timeout'. Doc fix.
5334 (desktop-save): Skip the timestamp in desktop-saved-frameset
5335 when checking for auto-save changes.
5336 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5337 `desktop-auto-save' is called repeatedly by the idle timer.
5338 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5339 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5340 (Bug#15331)
5341
5342 2013-12-16 Juri Linkov <juri@jurta.org>
5343
5344 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5345 (Bug#16035)
5346 (isearch-pre-command-hook): Check `this-command' for symbolp.
5347
5348 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5349
5350 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5351
5352 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5353
5354 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5355 (cfengine3--current-function): Bring in the current-function
5356 functionality from `cfengine3--current-word'.
5357 (cfengine3-completion-function): Bring in the
5358 bounds-of-current-word functionality from
5359 `cfengine3--current-word'.
5360
5361 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5362
5363 * window.el (display-buffer-below-selected):
5364 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5365
5366 2013-12-16 Leo Liu <sdl.web@gmail.com>
5367
5368 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5369 Remove NOMSG arg and all uses changed.
5370
5371 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5374 (cua--deactivate-rectangle): Don't deactivate the mark.
5375 (cua-set-rectangle-mark): Don't set mark-active since
5376 cua--activate-rectangle already does it for us.
5377 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5378 non-rectangular region.
5379
5380 * emulation/cua-base.el (cua-repeat-replace-region):
5381 Use with-current-buffer.
5382
5383 * net/gnutls.el: Use cl-lib.
5384 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5385
5386 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5387
5388 * emacs-lisp/package.el (package-built-in-p): Support both
5389 built-in and the package.el converted package descriptions.
5390 (package-show-package-list): Allow keywords.
5391 (package-keyword-button-action): Use it instead of
5392 `finder-list-matches'.
5393 (package-menu-filter-interactive): Interactive filtering (by
5394 keyword) function.
5395 (package-menu--generate): Support keywords and change keymappings
5396 and headers when they are given.
5397 (package--has-keyword-p): Helper function.
5398 (package-menu--refresh): Use it.
5399 (package--mapc): Helper function.
5400 (package-all-keywords): Use it.
5401 (package-menu-mode-map): Set up menu items and keybindings to
5402 provide a filtering UI.
5403
5404 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5405
5406 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5407 the behavior when a certificate fails validation. Defaults to
5408 old behavior: never abort, just warn.
5409 (gnutls-negotiate): Use it.
5410
5411 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5412
5413 * window.el (display-buffer-below-selected): Never split window
5414 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5415
5416 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5417
5418 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5419 (package-buffer-info): Use it (bug#15108).
5420
5421 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * icomplete.el (icomplete-completions): Make sure the prefix is already
5424 displayed elsewhere before hiding it (bug#16219).
5425
5426 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5427
5428 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5429 open-paren tokens when preceded by a open-paren, too.
5430 (ruby-smie-rules): Handle virtual indentation after open-paren
5431 tokens specially. If there is code between it and eol, return the
5432 column where is starts (Bug#16118).
5433
5434 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5435
5436 * progmodes/cfengine.el: Fix `add-hook' doc.
5437 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5438 (cfengine3--current-word): Fix parameters.
5439 (cfengine3-make-syntax-cache): Simplify further.
5440 (cfengine3-completion-function, cfengine3--current-function):
5441 Use `assq' for symbols.
5442 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5443
5444 2013-12-13 Glenn Morris <rgm@gnu.org>
5445
5446 * loadup.el (load-path): Warn if site-load or site-init changes it.
5447 No more need to reset it when bootstrapping.
5448
5449 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5450
5451 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5452 locations for cf-promises.
5453 (cfengine-mode-syntax-functions-regex): New caching variable.
5454 (cfengine3-fallback-syntax): Fallback syntax for cases where
5455 cf-promises doesn't run.
5456 (cfengine3--current-word): Reimplement using
5457 `cfengine-mode-syntax-functions-regex'.
5458 (cfengine3-completion-function, cfengine3--current-function):
5459 Use `cfengine3-make-syntax-cache' directly.
5460 (cfengine3-clear-syntax-cache): New function.
5461 (cfengine3-make-syntax-cache): Simplify and create
5462 `cfengine-mode-syntax-functions-regex' on demand.
5463 (cfengine3-format-function-docstring): Don't call
5464 `cfengine3-make-syntax-cache' explicitly.
5465
5466 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5467
5468 Fix windmove-find-other-window broken after pixelwise resizing
5469 (Bug#16017).
5470 * windmove.el (windmove-other-window-loc): Revert change from
5471 2013-12-04.
5472 (windmove-find-other-window): Call window-in-direction.
5473 * window.el (window-in-direction): New arguments SIGN, WRAP and
5474 MINI to emulate original windmove-find-other-window behavior.
5475
5476 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5477
5478 * simple.el (blink-matching--overlay): New variable.
5479 (blink-matching-open): Instead of moving point, highlight the
5480 matching paren with an overlay
5481 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5482
5483 * faces.el (paren-showing-faces, show-paren-match)
5484 (show-paren-mismatch): Move from paren.el.
5485
5486 2013-12-13 Leo Liu <sdl.web@gmail.com>
5487
5488 * indent.el (indent-region): Disable progress reporter in
5489 minibuffer. (Bug#16108)
5490
5491 * bindings.el (visual-order-cursor-movement): Fix version.
5492
5493 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5494
5495 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5496 Also match after beginning of line.
5497 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5498 files. Thanks to Russell Sim. (Bug#15378)
5499
5500 2013-12-13 Juri Linkov <juri@jurta.org>
5501
5502 * simple.el <Keypad support>: Remove key bindings duplicated
5503 with bindings.el. (Bug#14397)
5504
5505 2013-12-13 Juri Linkov <juri@jurta.org>
5506
5507 * comint.el (comint-mode-map): Replace `delete-char' with
5508 `delete-forward-char'. (Bug#16109)
5509
5510 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5511
5512 * progmodes/python.el (python-indent-calculate-indentation):
5513 Fix de-denters cornercase. (Bug#15731)
5514
5515 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5518 (advice--make): Pay attention to `depth'.
5519 (advice--make-1): Don't autoload commands eagerly.
5520 * emacs-lisp/elp.el (elp-instrument-function):
5521 * emacs-lisp/trace.el (trace-function-internal):
5522 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5523
5524 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5525
5526 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5527
5528 * term/w32-win.el (w32-handle-dropped-file):
5529 * startup.el (normal-top-level):
5530 * net/browse-url.el (browse-url-file-url):
5531 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5532 decode file names using 'utf-8' rather than
5533 file-name-coding-system.
5534
5535 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5536
5537 * progmodes/python.el (python-indent-context)
5538 (python-indent-calculate-indentation): Fix auto-identation
5539 behavior for comment blocks. (Bug#15916)
5540
5541 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5542
5543 * progmodes/python.el (python-indent-calculate-indentation):
5544 When determining indentation, don't treat "return", "pass", etc., as
5545 operators when they are just string constituents. (Bug#15812)
5546
5547 2013-12-12 Juri Linkov <juri@jurta.org>
5548
5549 * uniquify.el (uniquify-buffer-name-style): Change default to
5550 `post-forward-angle-brackets'.
5551
5552 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5553 `uniquify'. Change default to `post-forward-angle-brackets'.
5554
5555 2013-12-11 Glenn Morris <rgm@gnu.org>
5556
5557 * emacs-lisp/package.el (finder-list-matches):
5558 Autoload rather than falsely declaring.
5559
5560 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5561
5562 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5563 (eww-mode-map): Use them.
5564
5565 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5566
5567 * window.el (display-buffer-in-side-window): Fix doc-string
5568 (Bug#16115).
5569
5570 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5571
5572 * vc/vc-git.el: Silence byte-compiler warnings.
5573 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5574 (log-edit-set-header): Declare.
5575
5576 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5577
5578 * Makefile.in (custom-deps, finder-data): Run output file names
5579 through unmsys--file-name. (Bug#16099)
5580
5581 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5582
5583 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5584 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5585
5586 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5587 instead of deleting the selection "by hand" (bug#16098).
5588 Rely on insert-for-yank to yank rectangles.
5589 (cua-highlight-region-shift-only): Mark obsolete.
5590 (cua-mode): Don't enable/disable transient-mark-mode,
5591 shift-select-mode (cua-mode works both with and without them), and
5592 pc-selection-mode (obsolete).
5593 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5594 (cua--deactivate-rectangle): Deactivate it.
5595
5596 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5597 (delete-selection-helper): Make sure yank starts at the top of the
5598 deleted region.
5599 (minibuffer-keyboard-quit): Use region-active-p.
5600
5601 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5602
5603 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5604 to `delete' (bug#16109).
5605
5606 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5607
5608 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5609 info manual and show keybindings and set `:group' keyword.
5610
5611 2013-12-11 Juri Linkov <juri@jurta.org>
5612
5613 * delsel.el (delete-active-region): Let-bind `this-command'
5614 to prevent `kill-region' from changing its original value.
5615 (delete-selection-helper): Handle `overwrite-mode' for the type
5616 `kill' exactly the same way as for the type `t'.
5617 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5618 Support more commands. (Bug#13312)
5619
5620 2013-12-11 Juri Linkov <juri@jurta.org>
5621
5622 * bindings.el: Map kp keys to non-kp keys systematically
5623 with basic modifiers control, meta and shift. (Bug#14397)
5624
5625 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5626
5627 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5628 "Close browser" menu items. Fix wrong function of "List
5629 bookmarks".
5630
5631 2013-12-11 Juri Linkov <juri@jurta.org>
5632
5633 * misearch.el (multi-isearch-buffers): Set the value of
5634 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5635 arg of isearch-forward to t.
5636 (multi-isearch-buffers-regexp): Set the value of
5637 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5638 arg of isearch-forward-regexp to t.
5639 (multi-isearch-files): Set the value of
5640 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5641 arg of isearch-forward to t.
5642 (multi-isearch-files-regexp): Set the value of
5643 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5644 arg of isearch-forward-regexp to t. (Bug#16035)
5645
5646 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5647 arg of isearch-forward to t.
5648 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5649 arg of isearch-forward-regexp to t.
5650 (dired-isearch-filter-filenames): Remove unnecessary check for
5651 `dired-isearch-filenames'.
5652
5653 * comint.el (comint-history-isearch-backward):
5654 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5655 (comint-history-isearch-backward-regexp):
5656 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5657
5658 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5659
5660 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5661 unmsys--file-name. (Bug#16099)
5662
5663 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5664
5665 * emacs-lisp/package.el (package-keyword-button-action):
5666 Remove finder.el require dependency.
5667
5668 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5669
5670 * emacs-lisp/package.el: Require finder.el.
5671 (describe-package-1): Add keyword buttons.
5672 (package-make-button): New convenience function.
5673 (package-keyword-button-action): Keyword button action using
5674 `finder-list-matches'.
5675
5676 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5677
5678 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5679 last commit.
5680
5681 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5682
5683 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5684 symlinked files.
5685
5686 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5687
5688 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5689 after the end of a percent literal.
5690
5691 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5692
5693 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5694 Handle caret-delimited strings (Bug#16079).
5695
5696 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5697
5698 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5699 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5700 `ruby-parse-partial' (Bug#16078).
5701
5702 2013-12-09 Leo Liu <sdl.web@gmail.com>
5703
5704 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5705
5706 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5707
5708 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5709 (js-switch-indent-offset): New option.
5710 (js--proper-indentation): Use it. And handle the case when
5711 "default" is actually a key in an object literal.
5712 (js--same-line): New function.
5713 (js--multi-line-declaration-indentation): Use it.
5714 (js--indent-in-array-comp, js--array-comp-indentation):
5715 New functions.
5716 (js--proper-indentation): Use them, to handle array comprehension
5717 continuations.
5718
5719 2013-12-08 Leo Liu <sdl.web@gmail.com>
5720
5721 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5722 (flymake-make-overlay): Remove arg MOUSE-FACE.
5723 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5724
5725 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5728 New function.
5729 (redisplay-highlight-region-function): Use it.
5730
5731 * emulation/cua-base.el (cua--explicit-region-start)
5732 (cua--last-region-shifted): Remove.
5733 (cua--deactivate): Use deactivate-mark.
5734 (cua--pre-command-handler-1): Don't handle shift-selection.
5735 (cua--post-command-handler-1): Don't change transient-mark-mode.
5736 (cua--select-keymaps): Use region-active-p rather than
5737 cua--explicit-region-start or cua--last-region-shifted.
5738 (cua-mode): Enable shift-select-mode.
5739
5740 2013-12-08 Leo Liu <sdl.web@gmail.com>
5741
5742 * progmodes/flymake.el (flymake-popup-current-error-menu):
5743 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5744 (flymake-posn-at-point-as-event, flymake-popup-menu)
5745 (flymake-make-emacs-menu): Remove. (Bug#16077)
5746
5747 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5748
5749 * rect.el (rectangle-mark-mode): Activate mark even if
5750 transient-mark-mode is off (bug#16066).
5751 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5752 is > mark and at bolp.
5753
5754 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5755 (region-extract-function): Use it.
5756 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5757 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5758 Delete functions.
5759 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5760 kill-ring-save, kill-region, delete-char, delete-forward-char.
5761 Ignore self-insert-iso.
5762
5763 * emulation/cua-gmrk.el (cua--init-global-mark):
5764 Ignore `self-insert-iso'.
5765
5766 * emulation/cua-base.el (cua--prefix-copy-handler)
5767 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5768 checking cua--rectangle.
5769 (cua-delete-region): Use region-extract-function.
5770 (cua-replace-region): Delete function.
5771 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5772 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5773 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5774 (cua--init-keymaps): Don't remap delete-selection commands.
5775 (cua-mode): Use delete-selection-mode instead of rolling our own
5776 (bug#16085).
5777
5778 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5779 Obey region-extract-function.
5780
5781 Make registers and delete-selection-mode work on rectangles.
5782 * register.el (describe-register-1): Don't modify the register's value.
5783 (copy-to-register): Obey region-extract-function.
5784 * delsel.el (delete-active-region): Obey region-extract-function.
5785
5786 2013-12-08 Leo Liu <sdl.web@gmail.com>
5787
5788 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5789 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5790 (flymake-compilation-prevents-syntax-check)
5791 (flymake-start-syntax-check-on-newline)
5792 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5793 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5794 (flymake-xml-program, flymake-master-file-dirs)
5795 (flymake-master-file-count-limit)
5796 (flymake-allowed-file-name-masks): Relocate.
5797 (flymake-makehash, flymake-float-time)
5798 (flymake-replace-regexp-in-string, flymake-split-string)
5799 (flymake-get-temp-dir): Remove.
5800 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5801 (flymake-current-row, flymake-selected-frame)
5802 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5803 related functions. (Bug#16077)
5804
5805 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5806
5807 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5808
5809 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5810
5811 * help-fns.el (describe-function-1): Use new advice-* functions
5812 rather than old ad-* functions. Fix function type description and
5813 source links for advised functions and subrs.
5814
5815 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5816
5817 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5818
5819 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5820
5821 * progmodes/compile.el (compilation-start):
5822 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5823
5824 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5825 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5826
5827 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5828
5829 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5830 Touch up the last change.
5831
5832 2013-12-06 Leo Liu <sdl.web@gmail.com>
5833
5834 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5835 (inferior-octave-startup): Always use "octave> " for prompt.
5836 (octave-goto-function-definition)
5837 (octave-sync-function-file-names)
5838 (octave-find-definition-default-filename): Remove redundant backquotes.
5839
5840 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5841
5842 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5843 syntax for `?'.
5844 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5845 where appropriate already.
5846 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5847 end of method names (Bug#15874).
5848
5849 2013-12-06 Juri Linkov <juri@jurta.org>
5850
5851 * isearch.el (isearch--saved-overriding-local-map):
5852 New internal variable.
5853 (isearch-mode): Set it to the initial value of
5854 `overriding-terminal-local-map'.
5855 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5856 with `isearch--saved-overriding-local-map'. (Bug#16035)
5857
5858 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5859
5860 * progmodes/octave.el (inferior-octave-completion-table):
5861 Turn back into function, use `completion-table-with-cache'
5862 (Bug#11906). Update all references.
5863
5864 * minibuffer.el (completion-table-with-cache): New function.
5865
5866 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5867
5868 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5869
5870 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5871
5872 * net/eww.el (eww-current-source): New variable to store page
5873 source.
5874 (eww-display-html, eww-mode, eww-save-history)
5875 (eww-restore-history): Use it.
5876 (eww-view-source): New command to view page source.
5877 Opportunistically uses `html-mode' to highlight the buffer.
5878 (eww-mode-map): Install it.
5879
5880 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5881
5882 * net/dbus.el (dbus-unregister-service)
5883 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5884 Fix docstring.
5885 (dbus-unregister-service): Skip :serial entries in
5886 `dbus-registered-objects-table'.
5887 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5888
5889 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5890
5891 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5892 around keywords with extra `split-string' argument.
5893
5894 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5895
5896 * windmove.el (windmove-other-window-loc): Handle navigation
5897 between windows (excluding the minibuffer window - Bug#16017).
5898
5899 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5900
5901 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5902 in D-Bus type syntax.
5903 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5904 preserve unibyte strings. (Bug#16048)
5905
5906 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5907
5908 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5909 Call force-mode-line-update is the proper buffer (bug#16042).
5910
5911 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5912
5913 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5914 `log-edit-remember-comment', make argument optional. Adjust all
5915 callers.
5916 (log-edit-mode): Add `log-edit-remember-comment' to
5917 `kill-buffer-hook' locally.
5918 (log-edit-kill-buffer): Don't remember comment explicitly since
5919 the buffer is killed anyway.
5920
5921 2013-12-04 Juri Linkov <juri@jurta.org>
5922
5923 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5924 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5925
5926 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5927
5928 * notifications.el (notifications-close-notification): Call the
5929 D-Bus method with ID being a `:uint32'. (Bug#16030)
5930
5931 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5932
5933 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5934
5935 2013-12-03 Juri Linkov <juri@jurta.org>
5936
5937 * progmodes/compile.el (compilation-start): Rename window alist
5938 entry `no-display-ok' to `allow-no-window'.
5939
5940 * simple.el (shell-command): Add window alist entry
5941 `allow-no-window' to `display-buffer'.
5942 (async-shell-command): Doc fix.
5943
5944 * window.el (display-buffer-no-window): New action function.
5945 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5946
5947 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5948
5949 * vc/log-edit.el (log-edit-set-header): Extract from
5950 `log-edit-toggle-header'.
5951 (log-edit-extract-headers): Separate the summary, when extracted
5952 from header, from the rest of the message with an empty line.
5953
5954 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5955 line, if present, to the Summary header.
5956
5957 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5960 in current-buffer (bug#16029).
5961
5962 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5963
5964 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5965 (debugger-mode-map): Bind it.
5966 (debugger--backtrace-base): New function.
5967 (debugger-eval-expression): Use it.
5968 (debugger-frame-number): Skip local vars when present.
5969 (debugger--locals-visible-p, debugger--insert-locals)
5970 (debugger--show-locals, debugger--hide-locals): New functions.
5971
5972 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5975 "LC_ALL".
5976 (tramp-get-remote-locale): New defun.
5977 (tramp-open-connection-setup-interactive-shell): Use it.
5978
5979 2013-12-02 Leo Liu <sdl.web@gmail.com>
5980
5981 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5982
5983 * progmodes/sh-script.el (sh-shell-process):
5984 * progmodes/octave.el (inferior-octave-process-live-p):
5985 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5986 (gdb-inferior-io-sentinel):
5987 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5988
5989 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5990
5991 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5992 `save-selected-window' to `log-edit-hide-buf'. This makes
5993 `log-edit-show-files' idempotent.
5994 (log-edit-show-files): Mark the new window as dedicated.
5995
5996 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5997
5998 * vc/log-edit.el (log-edit-mode-map): Add binding for
5999 `log-edit-kill-biffer'.
6000 (log-edit-hide-buf): Add a FIXME comment.
6001 (log-edit-add-new-comment): New function, extracted from
6002 `log-edit-done'.
6003 (log-edit-done, log-edit-add-to-changelog): Use it.
6004 (log-edit-kill-buffer): New command.
6005
6006 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6007
6008 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6009 instead of killing the buffer.
6010
6011 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6014
6015 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6016
6017 * net/eww.el (eww-form-checkbox-selected-symbol)
6018 (eww-form-checkbox-symbol): New customizable variable.
6019 (eww-form-checkbox, eww-toggle-checkbox):
6020 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6021
6022 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6023 (shr--get-media-pref, shr--extract-best-source): New function.
6024 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6025 no :src tag was specified.
6026
6027 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6028 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6029 Use \\` to match beginning of string instead of ^.
6030 (eww-browse-with-external-browser): Provide optional URL parameter.
6031 (eww-render): Set `eww-current-title' back to "".
6032
6033 * net/shr.el (shr-tag-video): Display content for video if no
6034 poster is available.
6035 (shr-tag-audio): Add support for <audio> tag.
6036
6037 * net/eww.el (eww-text-input-types): New const.
6038 (eww-process-text-input): Treat input types in
6039 `eww-text-input-types' as text.
6040
6041 * net/shr.el (shr-tag-table): Fix comment typo.
6042
6043 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6044
6045 * net/eww.el (eww-follow-link): New command to avoid reloading
6046 pages when we follow #target links (bug#15243).
6047 (eww-quit): Special mode buffers shouldn't query before exiting.
6048
6049 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6050
6051 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6052 forms.
6053
6054 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6055
6056 * net/eww.el (eww-restore-history): Update the window title after
6057 moving in the history.
6058 (eww-current-dom): New variable used to save the current DOM.
6059
6060 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6061
6062 * vc/log-edit.el (log-edit-mode-map): Add binding for
6063 `log-edit-beginning-of-line'.
6064 (log-edit-setup-add-author): New user option.
6065 (log-edit-beginning-of-line): New command.
6066 (log-edit): Move major mode call above the contents setup so that
6067 the local variable values are already applied.
6068 (log-edit): Only insert "Author: " when
6069 `log-edit-setup-add-author' is non-nil.
6070 (log-edit): When SETUP is non-nil, position point after ": "
6071 instead of point-min.
6072
6073 2013-12-01 Glenn Morris <rgm@gnu.org>
6074
6075 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6076
6077 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6078
6079 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6080 redisplay to make sure the initial frame gets a chance to become
6081 visible. (Bug#16014)
6082
6083 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6084
6085 Support resizing frames and windows pixelwise.
6086 * cus-start.el (frame-resize-pixelwise)
6087 (window-resize-pixelwise): New entries.
6088 * emacs-lisp/debug.el (debug): Use window-total-height instead
6089 of window-total-size.
6090 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6091 * help.el (describe-bindings-internal): Use help-buffer as
6092 argument for with-help-window.
6093 (temp-buffer-max-width): New option.
6094 (resize-temp-buffer-window, help-window-setup)
6095 (with-help-window): Rewrite.
6096 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6097 dragging dividers.
6098 * window.el (frame-char-size, window-min-pixel-height)
6099 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6100 (window-min-pixel-width, window-safe-min-pixel-size)
6101 (window-combination-p, window-safe-min-size)
6102 (window-resizable-p, window--size-to-pixel)
6103 (window--pixel-to-size, window--resize-apply-p): New functions.
6104 (window-safe-min-height): Fix doc-string.
6105 (window-size, window-min-size, window--min-size-1)
6106 (window-sizable, window-sizable-p, window--min-delta-1)
6107 (window-min-delta, window--max-delta-1, window-max-delta)
6108 (window--resizable, window--resizable-p, window-resizable)
6109 (window-full-height-p, window-full-width-p, window-at-side-p)
6110 (window--in-direction-2, window-in-direction)
6111 (window--resize-reset-1, window--resize-mini-window)
6112 (window-resize, window-resize-no-error)
6113 (window--resize-child-windows-normal)
6114 (window--resize-child-windows, window--resize-siblings)
6115 (window--resize-this-window, window--resize-root-window)
6116 (window--resize-root-window-vertically)
6117 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6118 (maximize-window, minimize-window, delete-window)
6119 (quit-restore-window, window-split-min-size, split-window)
6120 (balance-windows-2, balance-windows)
6121 (balance-windows-area-adjust, balance-windows-area)
6122 (window--state-get-1, window-state-get, window--state-put-1)
6123 (window--state-put-2, window-state-put)
6124 (display-buffer-record-window, window--display-buffer):
6125 Make functions handle pixelwise sizing of windows.
6126 (display-buffer--action-function-custom-type)
6127 (display-buffer-fallback-action):
6128 Add display-buffer-in-previous-window.
6129 (display-buffer-use-some-window): Resize window to height it had
6130 before.
6131 (fit-window-to-buffer-horizontally): New option.
6132 (fit-frame-to-buffer): Describe new values.
6133 (fit-frame-to-buffer-bottom-margin): Replace with
6134 fit-frame-to-buffer-margins.
6135 (window--sanitize-margin): New function.
6136 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6137 using window-text-pixel-size.
6138
6139 2013-11-30 Glenn Morris <rgm@gnu.org>
6140
6141 * emacs-lisp/bytecomp.el (byte-compile-form):
6142 Make the `interactive-only' warning like the `obsolete' one.
6143 * comint.el (comint-run):
6144 * files.el (insert-file-literally, insert-file):
6145 * replace.el (replace-string, replace-regexp):
6146 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6147 (goto-line, insert-buffer, next-line, previous-line):
6148 Tweak `interactive-only' spec.
6149
6150 Stop keeping (most) generated cedet grammar files in the repository.
6151 * Makefile.in (semantic): New.
6152 (compile-main): Depend on semantic.
6153
6154 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6157 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6158
6159 * uniquify.el (uniquify-buffer-name-style): Change default.
6160
6161 * loadup.el: Preload "uniquify".
6162
6163 * time.el (display-time-update): Update all mode lines (bug#15999).
6164
6165 * electric.el (electric-indent-mode): Enable by default.
6166 * loadup.el: Preload "electric".
6167
6168 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6169
6170 * emacs-lisp/helpers.el (string-empty-p): New function.
6171 (string-blank-p): New function.
6172
6173 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6174
6175 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6176 (Bug#14029).
6177
6178 2013-11-29 Andreas Politz <politza@fh-trier.de>
6179 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6180 allow non-lambda lists as functions.
6181 (imenu--in-alist): Don't recurse into non-subalists.
6182 (imenu): Don't pass function itself as an argument (Bug#14029).
6183
6184 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * progmodes/python.el (python-mode-map): Remove binding for ":".
6187 (python-indent-electric-colon): Remove command.
6188 (python-indent-post-self-insert-function): Integrate the previous code
6189 of python-indent-electric-colon. Make it conditional on
6190 electric-indent-mode.
6191 (python-mode): Add ?: to electric-indent-chars.
6192 Move python-indent-post-self-insert-function to the end of
6193 post-self-insert-hook.
6194
6195 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * doc-view.el (doc-view-goto-page): Update mode-line.
6198
6199 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6200
6201 2013-11-27 Glenn Morris <rgm@gnu.org>
6202
6203 * international/charprop.el, international/uni-bidi.el:
6204 * international/uni-category.el, international/uni-combining.el:
6205 * international/uni-comment.el, international/uni-decimal.el:
6206 * international/uni-decomposition.el, international/uni-digit.el:
6207 * international/uni-lowercase.el, international/uni-mirrored.el:
6208 * international/uni-name.el, international/uni-numeric.el:
6209 * international/uni-old-name.el, international/uni-titlecase.el:
6210 * international/uni-uppercase.el:
6211 Remove generated files from VCS repository.
6212
6213 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6214
6215 * filenotify.el (file-notify-add-watch): Don't special-case
6216 w32notify when computing the directory to watch.
6217
6218 2013-11-27 Glenn Morris <rgm@gnu.org>
6219
6220 Make bootstrap without generated uni-*.el files possible again.
6221 * loadup.el: Update command-line-args checking for unidata-gen.
6222 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6223 * composite.el, international/characters.el:
6224 Handle unicode tables being undefined.
6225
6226 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6227 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6228 (compile-main): Depend on leim rule.
6229 (leim): New rule.
6230 * loadup.el: Move leim-list.el to leim/ subdirectory.
6231 * startup.el (normal-top-level): No more leim directory.
6232 * international/ja-dic-cnv.el (skkdic-convert):
6233 Disable version-control and autoloads in output files.
6234 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6235 Disable version-control and autoloads in output files.
6236 * leim/quail: Move here from ../leim.
6237 * leim/quail/hangul.el (hangul-input-method-activate):
6238 Add autoload cookie.
6239 (generated-autoload-load-name): Set file-local value.
6240 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6241 (generated-autoload-load-name): Set file-local value.
6242
6243 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6244
6245 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6246 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6247 (eww-quit): Ask confirmation before quitting eww.
6248
6249 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6250
6251 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6252 reading output from Diff on MS-Windows and MS-DOS.
6253
6254 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6255
6256 * emacs-lisp/helpers.el (string-reverse): New function.
6257
6258 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6259
6260 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6261 names on MS Windows, like "/[::1]:".
6262
6263 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6264 SWITCHES.
6265
6266 2013-11-26 Glenn Morris <rgm@gnu.org>
6267
6268 * progmodes/python.el (python-indent-guess-indent-offset):
6269 Avoid corner-case error. (Bug#15975)
6270
6271 Preload leim-list.el. (Bug#4789)
6272 * loadup.el: Load leim-list.el when found.
6273 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6274
6275 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6276
6277 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6278
6279 * emacs-lisp/helpers.el (string-join): New function.
6280
6281 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6282
6283 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6284 Mark as obsolete and replace it with a symbol property.
6285 (byte-compile-form): Use new 'interactive-only property.
6286 * comint.el, files.el, replace.el, simple.el:
6287 Apply new 'interactive-only properly.
6288
6289 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6290
6291 * window.el (display-buffer-at-bottom): Make sure that
6292 split-window-sensibly creates the new window on bottom
6293 (Bug#15961).
6294
6295 2013-11-23 David Kastrup <dak@gnu.org>
6296
6297 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6298 on the conflict markers when available.
6299 (smerge--get-marker): New function.
6300 (smerge-end-re, smerge-base-re): Add subgroup.
6301
6302 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * frame.el (handle-focus-in, handle-focus-out): Add missing
6305 interactive spec.
6306
6307 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6308
6309 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6310 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6311
6312 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6315 (gomoku--last-pos): New var.
6316 (gomoku--intangible-chars): New const.
6317 (gomoku--intangible): New function.
6318 (gomoku-mode): Use it. Derive from special-mode.
6319 (gomoku-move-up): Adjust line count.
6320 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6321 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6322 Simplify accordingly.
6323
6324 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6325 Remove blink-cursor code.
6326 (blink-cursor-timer-function, blink-cursor-suspend):
6327 Don't special-case GUIs.
6328 (blink-cursor-mode): Use focus-in/out-hook.
6329
6330 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6331
6332 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6333 work when annotation is invisible (Bug#13886).
6334
6335 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6336
6337 * json.el (json-alist-p): Only return non-nil if the alist has
6338 simple keys (Bug#13518).
6339
6340 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6341
6342 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6343 when control-statement is the first statement in a buffer (Bug#15956).
6344
6345 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6346
6347 * imenu.el (imenu-generic-skip-comments-and-strings):
6348 New option (Bug#15560).
6349 (imenu--generic-function): Use it.
6350
6351 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6352
6353 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6354 (Bug#13898)
6355
6356 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6357
6358 * emacs-lisp/helpers.el: Add some string helpers.
6359 (string-trim-left): Removes leading whitespace.
6360 (string-trim-right): Removes trailing whitespace.
6361 (string-trim): Removes leading and trailing whitespace.
6362
6363 * subr.el (string-suffix-p): New function.
6364
6365 2013-11-23 Glenn Morris <rgm@gnu.org>
6366
6367 * progmodes/python.el (python-shell-send-file):
6368 Add option to delete file when done. (Bug#15647)
6369 (python-shell-send-string, python-shell-send-region): Use it.
6370
6371 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6372
6373 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6374 to set buffer-read-only to t, never to nil. (Bug#15938)
6375
6376 * textmodes/tex-mode.el (latex-noindent-environments):
6377 Add safe-local-variable property. (Bug#15936)
6378
6379 2013-11-23 Glenn Morris <rgm@gnu.org>
6380
6381 * textmodes/enriched.el (enriched-mode): Doc fix.
6382 * emacs-lisp/authors.el (authors-renamed-files-alist):
6383 Add enriched.doc -> enriched.txt.
6384
6385 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6386
6387 2013-11-22 Leo Liu <sdl.web@gmail.com>
6388
6389 * progmodes/octave.el (inferior-octave-startup): Spit out error
6390 message.
6391
6392 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6393
6394 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6395 Improve docstring.
6396 Add :version.
6397 (ruby-encoding-magic-comment-style): Add :version.
6398
6399 2013-11-22 Leo Liu <sdl.web@gmail.com>
6400
6401 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6402 (Bug#15076)
6403 (octave-help-mode): Adapt to change to help-mode-finish to use
6404 derived-mode-p on 2013-09-17.
6405 (inferior-octave-prompt): Also match octave-gui.
6406 (octave-kill-process): Don't ask twice. (Bug#10564)
6407
6408 2013-11-22 Leo Liu <sdl.web@gmail.com>
6409
6410 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6411 (inferior-octave-startup, inferior-octave-check-process)
6412 (inferior-octave-track-window-width-change)
6413 (octave-completion-at-point, octave-eldoc-function): Use it.
6414 (octave-kill-process): Provide confirmation. (Bug#10564)
6415
6416 2013-11-21 Leo Liu <sdl.web@gmail.com>
6417
6418 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6419 Fix obsolete variable comment-use-global-state.
6420
6421 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6422
6423 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6424 Add `octave-source-file'.
6425 (octave-source-file): New function. (Bug#15935)
6426
6427 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6428
6429 * net/eww.el (eww-local-regex): New variable.
6430 (eww): Use it to detect localhost and similar.
6431
6432 2013-11-21 Leo Liu <sdl.web@gmail.com>
6433
6434 Add completion for command `ag'.
6435 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6436 (pcomplete/ag): New function.
6437 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6438
6439 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6440
6441 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6442 (bug#14646).
6443 (make-obsolete): Remove interactive spec.
6444
6445 2013-11-21 Glenn Morris <rgm@gnu.org>
6446
6447 * startup.el (command-line-1): Use path-separator with -L.
6448
6449 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6450
6451 * emacs-lisp/package.el (describe-package-1): Add package archive
6452 to shown fields.
6453
6454 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6455
6456 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6457 Change default to "# encoding: %s" to differentiate it from the
6458 default Ruby encoding comment template.
6459
6460 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6461
6462 * ses.el (ses-mode): Doc fix. (Bug#14748)
6463
6464 2013-11-20 Leo Liu <sdl.web@gmail.com>
6465
6466 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6467
6468 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6469
6470 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6471 when rebase or bisect are in progress.
6472
6473 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6474
6475 * filenotify.el (file-notify-add-watch): Doc fix.
6476
6477 2013-11-19 Leo Liu <sdl.web@gmail.com>
6478
6479 * obsolete/rcompile.el: Mark obsolete.
6480
6481 * progmodes/compile.el (compilation-start)
6482 (compilation-goto-locus, compilation-find-file):
6483 Pass no-display-ok and handle nil value from display-buffer.
6484 (Bug#13594)
6485
6486 * window.el (display-buffer-alist, display-buffer): Document the
6487 new parameter no-display-ok. Return either a window or nil
6488 but never a non-window value.
6489
6490 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * electric.el (electric-indent-mode-map): Remove.
6493 (electric-indent-mode): Change the global-map instead (bug#15915).
6494
6495 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6496 Use add-function.
6497
6498 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6499
6500 * emacs-lisp/nadvice.el (remove-function): Align with
6501 add-function's behavior.
6502
6503 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6504 (gdb--string-regexp): New constant.
6505 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6506 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6507 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6508 submatch 1.
6509 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6510 Adjust use accordingly.
6511 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6512
6513 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6514
6515 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6516 interpolation curlies (Bug#15914).
6517
6518 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6519
6520 * calc/calc.el (calc-context-sensitive-enter): New variable.
6521 (calc-enter): Use `calc-context-sensitive-enter'.
6522
6523 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6524
6525 * progmodes/cfengine.el: Version bump.
6526 (cfengine-cf-promises): New defcustom to locate cf-promises.
6527 (cfengine3-vartypes): Add new "data" type.
6528 (cfengine3--current-word): New function to get current name-like
6529 word or its bounds.
6530 (cfengine3--current-function): New function to look up a CFEngine
6531 function's definition.
6532 (cfengine3-format-function-docstring): New function.
6533 (cfengine3-make-syntax-cache): New function.
6534 (cfengine3-documentation-function): New function: ElDoc glue.
6535 (cfengine3-completion-function): New function: completion glue.
6536 (cfengine3-mode): Set `compile-command',
6537 `eldoc-documentation-function', and add to
6538 `completion-at-point-functions'.
6539
6540 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6541
6542 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6543 `tramp-current-connection'.
6544
6545 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6546
6547 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6548 nil/self/true/false with "end of symbol".
6549
6550 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6551
6552 * subr.el (version-regexp-alist): Fix a typo.
6553
6554 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6555
6556 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6557 "en_US.utf8" and "LC_CTYPE" to "".
6558 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6559 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6560
6561 2013-11-15 Leo Liu <sdl.web@gmail.com>
6562
6563 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6564
6565 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6566
6567 * progmodes/gud.el (ctl-x-map):
6568 Remove C-x SPC binding. (Bug#12342)
6569 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6570
6571 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6572
6573 * subr.el (version-regexp-alist):
6574 Recognize hg, svn and darcs versions as snapshot versions.
6575
6576 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6577 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6578 (ruby--encoding-comment-required-p): Extract from
6579 `ruby-mode-set-encoding'.
6580 (ruby-mode-set-encoding): Add the ability to always insert an
6581 utf-8 encoding comment. Fix and simplify coding comment update
6582 logic.
6583
6584 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6585
6586 * net/tramp-gvfs.el (top): Run init code only when
6587 `tramp-gvfs-enabled' is not nil.
6588 (tramp-gvfs-enabled): Check also :system bus.
6589
6590 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 Sync with upstream verilog-mode revision 78e66ba.
6593 * progmodes/verilog-mode.el (verilog-end-of-defun)
6594 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6595 (verilog-get-end-of-defun): Remove unused argument.
6596 (verilog-comment-depth): Remove unused local `e'.
6597 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6598 Don't pass arg to verilog-get-end-of-defun.
6599
6600 2013-11-14 Glenn Morris <rgm@gnu.org>
6601
6602 * obsolete/assoc.el (aget): Prefix dynamic variable.
6603
6604 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6605
6606 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * widget.el, hfy-cmap.el: Remove bogus package version number.
6609
6610 2013-11-13 Glenn Morris <rgm@gnu.org>
6611
6612 * replace.el (replace-eval-replacement):
6613 Try to give more helpful error message. (Bug#15836)
6614
6615 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6616 (archive-7z-update): Avoid custom type mismatches.
6617
6618 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6619
6620 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6621
6622 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6623 address can be empty.
6624
6625 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6626 Accept nil SWITCHES.
6627 (tramp-gvfs-handle-write-region): Implement APPEND.
6628
6629 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6630
6631 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6632 binary "|" operator and closing block args delimiter.
6633 Remove FIXME comment referring to Ruby 1.8-only syntax.
6634 (ruby-smie--implicit-semi-p): Not after "|" operator.
6635 (ruby-smie--closing-pipe-p): New function.
6636 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6637 (ruby-smie-rules): Indent after "|".
6638
6639 2013-11-12 Glenn Morris <rgm@gnu.org>
6640
6641 * ps-print.el (ps-face-attribute-list):
6642 Handle anonymous faces. (Bug#15827)
6643
6644 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6645
6646 * window.el (display-buffer-other-frame): Fix doc-string.
6647 (Bug#15868)
6648
6649 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6650
6651 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6652
6653 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6654
6655 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6656 (tramp-sh-handle-file-local-copy): Don't write a message when
6657 saving temporary files.
6658
6659 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6660 both directories are remote.
6661 (tramp-smb-handle-directory-files): Do not return double entries.
6662 Do not expand full file names.
6663 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6664 (tramp-smb-handle-write-region): Implement APPEND.
6665 (tramp-smb-get-stat-capability): Fix a stupid bug.
6666
6667 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6668
6669 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6670
6671 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6672
6673 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6674 throwing error over malformed let/let* (bug#15814).
6675
6676 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * iswitchb.el (iswitchb-mode): Mark obsolete.
6679
6680 2013-11-11 Glenn Morris <rgm@gnu.org>
6681
6682 * international/uni-bidi.el, international/uni-category.el:
6683 * international/uni-name.el, international/uni-numeric.el:
6684 Regenerate for Unicode 6.3.0.
6685
6686 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6687
6688 * net/tramp.el (tramp-methods):
6689 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6690 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6691
6692 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6693
6694 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6695 Force highlighting text after Summary keyword in doc face for rpm.
6696
6697 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6698
6699 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6700 available and the word has no wildcards, append one to the grep pattern.
6701 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6702 (ispell-complete-word): Call `ispell-lookup-words' with the value
6703 independent of `ispell-look-p'.
6704
6705 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6706
6707 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6708 Not after "||".
6709 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6710 their parent.
6711
6712 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6713
6714 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6715 (ruby-font-lock-keywords): Use backquote.
6716
6717 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6718
6719 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6720 (ruby-smie--backward-token): Only consider full-string matches.
6721
6722 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6723
6724 * faces.el (describe-face): Add distant-foreground.
6725
6726 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6727
6728 * progmodes/ruby-mode.el: Improve encoding comment handling.
6729 (ruby-encoding-magic-comment-style): New option.
6730 (ruby-custom-encoding-magic-comment-template): New option.
6731 (ruby--insert-coding-comment, ruby--detect-encoding):
6732 New functions extracted from `ruby-mode-set-encoding'.
6733 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6734 to control the style of the auto-inserted encoding comment.
6735
6736 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6737
6738 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6739 Use `smie-backward-sexp' with token argument.
6740
6741 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6742
6743 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6744 Remove instrumentation code.
6745
6746 2013-11-08 Glenn Morris <rgm@gnu.org>
6747
6748 * progmodes/autoconf.el (autoconf-mode):
6749 Tweak comment-start-skip. (Bug#15822)
6750
6751 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6752
6753 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6754 at bobp (bug#15826).
6755 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6756
6757 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6758
6759 * man.el (Man-start-calling): New macro, extracted from
6760 Man-getpage-in-background.
6761 (Man-getpage-in-background): Use it.
6762 (Man-update-manpage): New command.
6763 (Man-mode-map): Bind it.
6764
6765 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6766
6767 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6768 of "and", "or", "&&" and "||".
6769 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6770 argument. Prohibit opening curly brace because it could only be a
6771 block opener in that position.
6772 (ruby-smie--forward-token, ruby-smie--backward-token):
6773 Separate "|" from "&" or "*" going after it. That can happen in block
6774 arguments.
6775 (ruby-smie--indent-to-stmt): New function, seeks the end of
6776 previous statement or beginning of buffer.
6777 (ruby-smie-rules): Use it.
6778 (ruby-smie-rules): Check if there's a ":" before a curly block
6779 opener candidate; if there is, it's a hash.
6780
6781 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6784 (cl--block-wrapper): Fix last accidental change.
6785
6786 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6787
6788 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6789 Instrument, in order to hunt failure on hydra.
6790
6791 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6792
6793 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6794 malformed bindings form (bug#15814).
6795
6796 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6797
6798 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6799 "." compared to " @ ". This incidentally fixes some indentation
6800 examples with "do".
6801 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6802 (ruby-smie-grammar): New tokens: "and" and "or".
6803 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6804 Exclude "and" and "or". Remove "do" in order to work around token
6805 priorities.
6806 (ruby-smie-rules): Add all infix tokens. Handle the case of
6807 beginning-of-buffer.
6808
6809 2013-11-06 Glenn Morris <rgm@gnu.org>
6810
6811 * Makefile.in (setwins_almost, setwins_for_subdirs):
6812 Avoid accidental matches.
6813
6814 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * menu-bar.el (popup-menu): Use key-binding.
6817
6818 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6819
6820 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6821 menus, support also the menus produced by minor modes.
6822 (Bug#15817)
6823
6824 2013-11-06 Leo Liu <sdl.web@gmail.com>
6825
6826 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6827 DISTANCE to bound the search. All uses changed. (Bug#15808)
6828
6829 2013-11-06 Glenn Morris <rgm@gnu.org>
6830
6831 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6832 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6833 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6834
6835 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6836
6837 * electric.el (electric-indent-just-newline): New command.
6838 (electric-indent-mode-map): New keymap.
6839 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6840 Re-add :group which weren't redundant.
6841
6842 * electric.el (electric-indent-local-mode): New minor mode.
6843 (electric-indent-functions-without-reindent): New var.
6844 (electric-indent-post-self-insert-function): Use it.
6845 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6846
6847 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6848
6849 * international/quail.el (quail-help): Be more explicit about the
6850 meaning of the labels shown on the keys. (Bug#15800)
6851
6852 * startup.el (normal-top-level): Load the subdirs.el files before
6853 setting the locale environment. (Bug#15805)
6854
6855 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6858 via arguments so as to get the right ones (bug#15418).
6859
6860 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6861
6862 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6863
6864 Fix problems found while writing a test suite.
6865
6866 * net/tramp-compat.el (tramp-compat-load): New defun.
6867 * net/tramp.el (tramp-handle-load): Use it.
6868
6869 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6870 "(numberp ok-if-already-exists)" correctly.
6871
6872 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6873
6874 * international/characters.el (glyphless-char-display-control):
6875 Add usage note.
6876
6877 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6878
6879 * progmodes/python.el (python-mode):
6880 * progmodes/scheme.el (scheme-mode):
6881 * progmodes/prolog.el (prolog-mode):
6882 * progmodes/ruby-mode.el (ruby-mode):
6883 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6884 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6885
6886 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6887
6888 * rect.el (rectangle--highlight-for-redisplay):
6889 * emacs-lisp/smie.el (smie--next-indent-change):
6890 Use buffer-chars-modified-tick.
6891
6892 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6893
6894 * electric.el (electric-indent-post-self-insert-function):
6895 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6896
6897 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6898
6899 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6900
6901 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6902
6903 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6904 (bug#15786).
6905
6906 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6909
6910 * progmodes/python.el: Fix up last change.
6911 (python-shell--save-temp-file): New function.
6912 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6913 `string' comes from the current buffer.
6914 (python-shell-send-string-no-output): Remove `msg' arg.
6915 (python--use-fake-loc): New var.
6916 (python-shell-buffer-substring): Obey it. Try to compensate for the
6917 extra coding line added by python-shell--save-temp-file.
6918 (python-shell-send-region): Use python-shell--save-temp-file and
6919 python-shell-send-file directly. Add `nomain' argument.
6920 (python-shell-send-buffer): Use python-shell-send-region.
6921 (python-electric-pair-string-delimiter): New function.
6922 (python-mode): Use it.
6923
6924 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6925
6926 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6927 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6928 environment and decoding all of the default-directory's to here
6929 from command-line.
6930 (command-line): Decode also argv[0].
6931
6932 * loadup.el: Error out if default-directory is a multibyte string
6933 when we are dumping.
6934
6935 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6936
6937 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6938
6939 * emacs-lisp/package.el (package-menu-mode)
6940 (package-menu--print-info, package-menu--archive-predicate):
6941 Add Archive column to package list.
6942
6943 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6944
6945 Fix problems found while writing a test suite.
6946
6947 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6948 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6949 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6950 to nil when running original file name handler. Otherwise,
6951 there are problems with constructs like "$$FOO".
6952
6953 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6954 for `localname'.
6955
6956 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6957
6958 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6959
6960 * subr.el (version<, version<=, version=):
6961 Update docstrings with information for snapshot versions.
6962
6963 * helpers.el: New library for misc helper functions.
6964 (hash-table-keys): New function returning a list of hash keys.
6965 (hash-table-values): New function returning a list of hash values.
6966
6967 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6968
6969 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6970 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6971
6972 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6973
6974 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6975 checking whether point is after a 1-letter word.
6976
6977 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6978
6979 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6980 Don't infloop when expanding region over `multiline' syntax-type that
6981 begins a line (bug#15778).
6982
6983 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6986 Make it into a proper minor mode.
6987 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6988 (rectangle-mark-mode-map): New keymap.
6989 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6990
6991 2013-11-04 Glenn Morris <rgm@gnu.org>
6992
6993 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6994
6995 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6998 (ruby-smie-rules): Use smie-rule-parent instead.
6999
7000 * emacs-lisp/smie.el (smie-rule-parent): Always call
7001 smie-indent-virtual rather than only for hanging tokens.
7002 (smie--next-indent-change): New helper command.
7003
7004 2013-11-03 Glenn Morris <rgm@gnu.org>
7005
7006 * Makefile.in (abs_srcdir): Remove.
7007 (emacs): Unset EMACSLOADPATH.
7008
7009 2013-11-02 Glenn Morris <rgm@gnu.org>
7010
7011 * Makefile.in (EMACS): Use a relative filename.
7012 (abs_top_builddir): Remove.
7013 (custom-deps, finder-data, autoloads): Use --chdir.
7014
7015 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7016
7017 Use relative filenames in TAGS files.
7018 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7019 (lisptagsfiles4, TAGS): Use relative file names.
7020 (TAGS-LISP): Remove.
7021 (maintainer-clean): No more TAGS-LISP file.
7022
7023 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7024 (lisptagsfiles4): Use absolute filenames again.
7025 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7026 Remove all *loaddefs files, not just the first. Remove esh-groups.
7027 (maintainer-clean): Delete TAGS, TAGS-LISP.
7028
7029 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7030
7031 * emacs-lisp/package.el (package-version-join):
7032 Recognize snapshot versions.
7033
7034 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7035
7036 * subr.el (version-regexp-alist): Add support for snapshot versions.
7037
7038 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7039
7040 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7041 New function, replacement for `smie-rule-parent' for when we want to
7042 skip over our direct parent if it's an assignment token..
7043 (ruby-smie-rules): Use it.
7044
7045 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7046
7047 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7048 unconditionally. Remove now unnecessary forward declarations.
7049 Remove XEmacs-specific setup.
7050 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7051 (ruby-font-lock-syntactic-keywords)
7052 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7053 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7054 (ruby-here-doc-end-syntax): Remove.
7055 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7056 defined as function.
7057
7058 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7059
7060 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7061
7062 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7063
7064 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7065 table and abbrev table, `define-derived-mode' does that for us
7066 anyway.
7067
7068 2013-11-01 Glenn Morris <rgm@gnu.org>
7069
7070 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7071 files is atomic for some time, so no parallel compilation issues).
7072
7073 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7074
7075 * faces.el (face-x-resources): Add :distant-foreground.
7076 (region): Use :distant-foreground for gtk and ns.
7077
7078 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7079
7080 Allow multiple bibliographies when BibLaTeX is used rather than
7081 BibTeX.
7082 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7083 (reftex-locate-bibliography-files): Us it.
7084
7085 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7086
7087 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7088 allow comments in pbm files.
7089
7090 * term/w32-win.el (dynamic-library-alist): Support newer versions
7091 of libjpeg starting with v7: look only for the DLL from the
7092 version against which Emacs was built.
7093 Support versions of libpng beyond 1.4.x.
7094 Support libtiff v4.x.
7095
7096 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7097
7098 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7099 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7100 Add property :safe.
7101 (ruby-deep-arglist): Add property :type.
7102
7103 2013-10-31 Glenn Morris <rgm@gnu.org>
7104
7105 * Makefile.in (custom-deps, finder-data): No need to setq the target
7106 variables, we are in the right directory and the defaults work fine.
7107
7108 2013-10-30 Glenn Morris <rgm@gnu.org>
7109
7110 * Makefile.in (autoloads): Do not use abs_lisp.
7111
7112 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7113 `newline' does not respect `standard-output', so use `princ'.
7114
7115 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7116
7117 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7118 * buff-menu.el (Buffer-menu--unmark): New function.
7119 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7120
7121 2013-10-30 Glenn Morris <rgm@gnu.org>
7122
7123 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7124
7125 * emacs-lisp/package.el (lm-homepage): Declare.
7126
7127 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7128 Fix doc typos.
7129
7130 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7131
7132 * Makefile.in (finder-data, autoloads, update-subdirs)
7133 (compile-main, compile-clean, compile-always, bootstrap-clean):
7134 Check return value of cd.
7135 (compile-calc): Remove.
7136
7137 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7138
7139 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7140
7141 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7142 (byte-compile-and-folded): New function.
7143 (=, <, >, <=, >=): Use it.
7144
7145 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7146 (path-separator, null-device, buffer-file-coding-system)
7147 (lpr-headers-switches): Check system-type before modifying them.
7148 (find-buffer-file-type-coding-system): Mark obsolete.
7149 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7150 find-file-not-found-set-buffer-file-coding-system.
7151 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7152 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7153 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7154 (w32-direct-print-region-helper, w32-direct-print-region-function)
7155 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7156 * startup.el (normal-top-level-add-subdirs-to-load-path):
7157 * ps-print.el (ps-print-region-function):
7158 * lpr.el (print-region-function): Use new name.
7159
7160 * subr.el (custom-declare-variable-early): Remove function.
7161 (custom-declare-variable-list): Remove var.
7162 (error, user-error): Remove `while' loop.
7163 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7164 (user-emacs-directory-warning, locate-user-emacs-file):
7165 Move to files.el.
7166 * simple.el (read-quoted-char-radix, read-quoted-char):
7167 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7168 Move from subr.el.
7169 * custom.el (custom-declare-variable-list): Don't process
7170 custom-declare-variable-list.
7171
7172 * progmodes/python.el (python-shell-get-buffer): New function.
7173 (python-shell-get-process): Use it.
7174 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7175 Python which encoding was used. Don't split-string since we only care
7176 about the first line. Return the temp-file, if applicable.
7177 (python-shell-send-region): Tell compile.el how to turn locations in
7178 the temp-file into locations in the source buffer.
7179
7180 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7182 * subr.el (undefined): Add missing behavior from the C code for
7183 unbound keys.
7184
7185 * rect.el: Use lexical-binding. Add new rectangular region support.
7186 (rectangle-mark): New command.
7187 (rectangle--region): New var.
7188 (deactivate-mark-hook): Reset rectangle--region.
7189 (rectangle--extract-region, rectangle--insert-for-yank)
7190 (rectangle--highlight-for-redisplay)
7191 (rectangle--unhighlight-for-redisplay): New functions.
7192 (region-extract-function, redisplay-unhighlight-region-function)
7193 (redisplay-highlight-region-function): Use them to handle
7194 rectangular region.
7195 * simple.el (region-extract-function): New var.
7196 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7197 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7198 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7199 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7200 (redisplay-unhighlight-region-function)
7201 (redisplay-highlight-region-function): New vars.
7202 (redisplay--update-region-highlight): New function.
7203 (pre-redisplay-function): Use it.
7204 (exchange-point-and-mark): Don't deactivate the mark before
7205 reactivate-it anyway.
7206 * comint.el (comint-kill-region): Remove yank-handler argument.
7207 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7208 (delete-char): Remove property, since it's now part of their
7209 default behavior.
7210 (self-insert-iso): Remove property since this command doesn't exist.
7211
7212 * emacs-lisp/package.el (package--download-one-archive)
7213 (describe-package-1): Don't query the user about final newline.
7214
7215 2013-10-29 Daniel Colascione <dancol@dancol.org>
7216
7217 * net/tramp.el (tramp-methods): Document new functionality.
7218 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7219 tramp-hostname-checker if method provides one instead of scanning
7220 argument list for "%h" to decide hostname acceptability.
7221
7222 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7223
7224 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7225 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7226 Handle COPY-CONTENTS. (Bug#15737)
7227
7228 2013-10-28 Daiki Ueno <ueno@gnu.org>
7229
7230 * epa-file.el
7231 (epa-file-cache-passphrase-for-symmetric-encryption):
7232 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7233
7234 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7235
7236 * image.el (defimage, image-load-path): Doc fixes.
7237
7238 2013-10-27 Alan Mackenzie <acm@muc.de>
7239
7240 Indent statements in macros following "##" correctly.
7241 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7242 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7243
7244 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7245
7246 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7247
7248 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7249
7250 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7251 after `=' is probably a new expression.
7252
7253 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7254
7255 * man.el (man-imenu-title): New option.
7256 (Man-mode-map): Add menu. (Bug#15722)
7257 (Man-mode): Add imenu to menu.
7258
7259 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7260
7261 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7262 specific in what the first arg can be: a non-keyword word,
7263 string/regexp/percent literal opener, opening paren, or unary
7264 operator followed directly by word.
7265
7266 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7269 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7270 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7271 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7272 Remove vars, they do not apply any more.
7273 (prolog-mode-abbrev-table): Remove redundant declaration.
7274 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7275 (prolog-use-smie): Remove.
7276 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7277 supported by prolog-electric-if-then-else-flag.
7278 (prolog-mode-variables, prolog-menu): Use setq-local.
7279 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7280 Remove binding to `Backspace' since this key doesn't exist anyway.
7281 Remove bindings for electric self-inserting keys.
7282 (prog-mode): Assume it's defined.
7283 (prolog-post-self-insert): New function.
7284 (prolog-mode): Use it.
7285 (prolog-indent-line, prolog-indent-level)
7286 (prolog-find-indent-of-matching-paren)
7287 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7288 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7289 (prolog-goto-next-paren, prolog-in-string-or-comment)
7290 (prolog-tokenize, prolog-inside-mline-comment)
7291 (prolog-find-start-of-mline-comment): Remove functions.
7292 (prolog-find-unmatched-paren, prolog-clause-end)
7293 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7294 (prolog-electric--if-then-else): Rename from
7295 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7296 (prolog-tokenize-searchkey): Remove const.
7297 (prolog-clause-info): Use forward-sexp.
7298 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7299 (prolog-electric-if-then-else): Remove commands.
7300 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7301 for use in post-self-insert-hook.
7302 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7303 for use in post-self-insert-hook.
7304 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7305 for use in post-self-insert-hook.
7306 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7307 adapt it for use in post-self-insert-hook.
7308
7309 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7310
7311 * emacs-lisp/ert.el (ert-run-tests-interactively):
7312 Use `completing-read'. (Bug#9756)
7313
7314 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7315
7316 * simple.el (line-move): Call line-move-1 instead of
7317 line-move-visual when the current window hscroll is zero, but
7318 temporary-goal-column indicates we will need to hscroll as result
7319 of the movement. (Bug#15712)
7320
7321 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7322
7323 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7324 capitalization. Use :visible instead of :active.
7325 Fix `ruby-indent-exp' reference. Add menu items for the generic
7326 commands that are used with SMIE.
7327 (ruby-do-end-to-brace): Insert space after `{'.
7328
7329 2013-10-25 John Anthony <john@jo.hnanthony.com>
7330
7331 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7332
7333 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7334
7335 2013-10-25 Glenn Morris <rgm@gnu.org>
7336
7337 * vc/vc.el (vc-print-log): Don't use a working revision unless
7338 one was explicitly specified. (Bug#15322)
7339
7340 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * subr.el (add-to-list): Preserve return value in compiler-macro
7343 (bug#15692).
7344
7345 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7346
7347 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7348 result. Ask user to retry using '-all' flag. (Bug#15701)
7349
7350 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7351
7352 * emacs-lisp/smie.el: New smie-config system.
7353 (smie-config): New defcustom.
7354 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7355 (smie-config-guess, smie-config-save): New commands.
7356 (smie-config--mode-local, smie-config--buffer-local)
7357 (smie-config--trace, smie-config--modefuns): New vars.
7358 (smie-config--advice, smie-config--mode-hook)
7359 (smie-config--setter, smie-config-local, smie-config--get-trace)
7360 (smie-config--guess-value, smie-config--guess): New functions.
7361 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7362 text properties. Treat "string fence" syntax like string syntax.
7363
7364 * progmodes/sh-script.el (sh-use-smie): Change default.
7365 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7366 (sh-var-value): Simplify by CSE.
7367 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7368 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7369 is used.
7370 (sh-guess-basic-offset): Use cl-incf.
7371 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7372
7373 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7374
7375 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7376 (bug#15699).
7377
7378 2013-10-24 Glenn Morris <rgm@gnu.org>
7379
7380 * Makefile.in (abs_top_srcdir): Remove.
7381 (update-subdirs): Use relative path to update-subdirs.
7382
7383 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7384
7385 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7386 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7387 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7388 Call unmsys--file-name before expand-file-name, not after it.
7389
7390 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7393 (ert-test-skipped): New error.
7394 (ert-skip, ert-stats-skipped): New defuns.
7395 (ert--skip-unless): New macro.
7396 (ert-test-skipped): New struct.
7397 (ert--run-test-debugger, ert-test-result-type-p)
7398 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7399 (ert--stats-set-test-and-result, ert-char-for-test-result)
7400 (ert-string-for-test-result, ert-run-tests-batch)
7401 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7402 Handle skipped tests. (Bug#9803)
7403
7404 2013-10-24 Glenn Morris <rgm@gnu.org>
7405
7406 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7407
7408 * Makefile.in (abs_top_srcdir): New, set by configure.
7409 (update-subdirs): Correct build-aux location.
7410
7411 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7412
7413 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7414 value, whether we could auto-deduce `backend', or not.
7415
7416 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7417 with parameters" example. Simplify the "is it block or is it
7418 hash" check, but also make it more thorough.
7419
7420 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7421
7422 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7423
7424 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7427 { if it is hanging.
7428
7429 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7430 :before ";".
7431
7432 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7433
7434 * progmodes/compile.el (compilation-directory-matcher)
7435 (compilation-page-delimiter):
7436 Support GNU Make-4.0 directory quoting. (Bug#15678)
7437
7438 2013-10-23 Leo Liu <sdl.web@gmail.com>
7439
7440 * ido.el (ido-tidy): Handle read-only text.
7441
7442 2013-10-23 Glenn Morris <rgm@gnu.org>
7443
7444 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7445 (emacs, compile, compile-always):
7446 Quote entities that might contain whitespace.
7447 (custom-deps, finder-data, autoloads): Use abs_lisp.
7448 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7449 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7450 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7451
7452 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7453
7454 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7455 Use `following-char'.
7456
7457 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7460 * progmodes/ruby-mode.el (ruby-smie-rules):
7461 Remove corresponding workaround. Fix indentation rule of ";" so it
7462 also applies when ";" is the parent.
7463
7464 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7465
7466 * frame.el (display-screens, display-pixel-height)
7467 (display-pixel-width, display-mm-width, display-backing-store)
7468 (display-save-under, display-planes, display-color-cells)
7469 (display-visual-class, display-monitor-attributes-list):
7470 Mention the optional ‘display’ argument in doc strings.
7471
7472 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7473
7474 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7475 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7476
7477 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7478
7479 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7480 TODO. Add "." after " @ ".
7481 (ruby-smie--at-dot-call): New function. Checks if point at method
7482 call with explicit target.
7483 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7484 to the method name tokens when it precedes them.
7485 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7486 (ruby-smie-rules): Add rule for indentation before and after "."
7487 token.
7488
7489 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * textmodes/remember.el (remember-diary-extract-entries):
7492 Avoid add-to-list.
7493
7494 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7495 an instruction.
7496
7497 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7498
7499 * progmodes/ruby-mode.el (ruby-smie-grammar):
7500 Add (almost) all infix operators.
7501 (ruby-smie--implicit-semi-p): Add new operator chars.
7502
7503 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7504 `smie-down-list'.
7505 (ruby-smie--args-separator-p): Check that there's no newline
7506 between method call and its arguments.
7507
7508 2013-10-20 Alan Mackenzie <acm@muc.de>
7509
7510 Allow comma separated lists after Java "implements".
7511
7512 * progmodes/cc-engine.el (c-backward-over-enum-header):
7513 Parse commas.
7514 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7515 from a "disallowed" list in enum fontification.
7516
7517 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7518
7519 * startup.el (default-frame-background-mode): Remove unused defvar.
7520
7521 * progmodes/verilog-mode.el (verilog-mode): Don't set
7522 comment-indent-function globally.
7523
7524 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7525
7526 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7527 Move Info menu item creation to ns-win.el.
7528
7529 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7530 in menu bar.
7531
7532 * menu-bar.el: Move GNUstep specific menus...
7533
7534 * term/ns-win.el (ns-initialize-window-system): ... to here.
7535
7536 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 * simple.el (newline): Only run post-self-insert-hook when
7539 called interactively.
7540
7541 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7542
7543 * icomplete.el (icomplete-with-completion-tables): Add :version.
7544
7545 2013-10-19 Alan Mackenzie <acm@muc.de>
7546
7547 Fix fontification bugs with constructors and const.
7548
7549 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7550 CASE 2) Remove the check for the absence of a suffix construct
7551 after a function declaration with only types (no identifiers) in
7552 the parentheses. Also, accept a function declaration with just a
7553 type inside the parentheses, if this type can be positively
7554 recognised as such, or if a prefix keyword like "explicit" nails
7555 down the construct as a declaration.
7556
7557 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7558
7559 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7560 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7561 the problem whereby selecting a menu item that leads to a
7562 minibuffer prompt moves the cursor out of the minibuffer window,
7563 making it hard to type at the prompt. Suggested by Stefan Monnier
7564 <monnier@iro.umontreal.ca>.
7565
7566 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7567
7568 * menu-bar.el: Don't make Services menu.
7569
7570 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7571
7572 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7573 (ffap-alist): Use ffap-c++-mode for c++-mode.
7574 (ffap-c++-path): New variable.
7575 (ffap-c++-mode): New function.
7576
7577 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7578
7579 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7580
7581 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7582
7583 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7584 introduced on 2013-09-08, which results in an infinite loop
7585 requesting a password.
7586
7587 2013-10-18 Glenn Morris <rgm@gnu.org>
7588
7589 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7590
7591 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7592
7593 Sync with upstream verilog-mode revision 1a6ecec7.
7594 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7595 (verilog-mode-release-date): Remove.
7596 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7597 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7598 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7599 (verilog-auto-tieoff-ignore-regexp)
7600 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7601 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7602 (verilog-signals-with, verilog-dir-cache-preserving)
7603 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7604 Doc fixes.
7605 (verilog-case-fold): New option, to control case folding in
7606 regexp searches, bug597.
7607 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7608 (verilog-string-match-fold, verilog-in-paren-count)
7609 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7610 (verilog-at-close-struct-p): New functions.
7611 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7612 (verilog-forward-sexp, verilog-set-auto-endcomments)
7613 (verilog-leap-to-case-head): Handle "unique0" case.
7614 (verilog-in-constraint-re): New constant.
7615 (verilog-keywords, verilog-type-font-keywords):
7616 Add some SystemVerilog 1800-2012 keywords.
7617 (verilog-label-be): Remove unimplemented argument, bug669.
7618 (verilog-batch-execute-func): When batch expanding clear
7619 create-lockfiles to prevent spurious user locks when a file ends
7620 up not changing.
7621 (verilog-calculate-indent, verilog-calc-1)
7622 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7623 (verilog-do-indent): Fix indentation of nested constraints
7624 and structures.
7625 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7626 (verilog-auto-inst-param): Use verilog-string-match-fold.
7627 (verilog-read-inst-module-matcher):
7628 Fix AUTOINST on gate primitives with #1.
7629 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7630 Reads all user-defined typed variables.
7631 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7632 (verilog-signals-matching-regexp)
7633 (verilog-signals-not-matching-regexp, verilog-auto):
7634 Respect verilog-case-fold.
7635 (verilog-diff-report): Fix line count.
7636 (verilog-auto-assign-modport): Remove unused local `modi'.
7637 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7638 better handle multidimensional arrays.
7639 Fix packed array ports misadding bit index in AUTOINST, bug637.
7640 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7641 to not double-declare existing outputs and inputs, respectively.
7642 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7643 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7644 (verilog-sk-uvm-component): New skeleton.
7645 (verilog-submit-bug-report): Add verilog-case-fold,
7646 remove verilog-mode-release-date.
7647
7648 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7649
7650 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7651 as before.
7652
7653 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7654
7655 * textmodes/remember.el (remember): Set buffer-offer-save in
7656 remember buffers (bug#13566).
7657
7658 2013-10-18 Daniel Colascione <dancol@dancol.org>
7659
7660 When evaluating forms in ielm, direct standard output to ielm
7661 buffer. Add new ielm-return-for-effect command. Remove trailing
7662 whitespace throughout.
7663
7664 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7665 (ielm-return-for-effect): New command.
7666 (ielm-send-input): Accept optional `for-effect' parameter.
7667 (ielm-eval-input): Accept optional `for-effect' parameter.
7668 Bind `standard-output' to stream we create using
7669 `ielm-standard-output-impl'. Suppress printing result when
7670 `for-effect'.
7671 (ielm-standard-output-impl): New function.
7672 (inferior-emacs-lisp-mode): Explain new features in documentation.
7673
7674 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7675
7676 Code cleanup.
7677
7678 * net/tramp.el (tramp-debug-message): Do not check for connection
7679 buffer.
7680 (tramp-message): Use "vector" connection property.
7681
7682 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7683 (tramp-equal-remote, tramp-eshell-directory-change)
7684 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7685 (tramp-adb-handle-rename-file)
7686 * net/tramp-cmds.el (tramp-list-remote-buffers)
7687 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7688 * net/tramp-compat.el (tramp-compat-process-running-p)
7689 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7690 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7691 (tramp-gvfs-handle-rename-file)
7692 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7693 (tramp-set-file-uid-gid)
7694 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7695 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7696 of `file-remote-p'.
7697
7698 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7699 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7700 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7701 (tramp-gw-open-network-stream): Suppress unrelated traces.
7702
7703 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7704 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7705 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7706 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7707 connection property.
7708
7709 * net/tramp-cache.el (top): Suppress traces when reading
7710 persistency file.
7711
7712 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7713 Refactor common code. Improve debug message.
7714 (tramp-maybe-open-connection)
7715 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7716 connection buffer too early.
7717
7718 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7719 from `tramp-smb-actions-with-acl'.
7720 (tramp-smb-actions-set-acl): New defconst.
7721 (tramp-smb-handle-copy-directory)
7722 (tramp-smb-action-get-acl): New defun, renamed from
7723 `tramp-smb-action-with-acl'.
7724 (tramp-smb-action-set-acl): New defun.
7725 (tramp-smb-handle-set-file-acl): Rewrite.
7726
7727 2013-10-17 Glenn Morris <rgm@gnu.org>
7728
7729 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7730
7731 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * skeleton.el (skeleton-newline): Remove.
7734 (skeleton-internal-1): Use (insert "\n") instead.
7735
7736 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7737 let-bindings.
7738
7739 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7740 forward-sexp-function while we redo its job (bug#15613).
7741
7742 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7743
7744 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7745 represented by lists.
7746
7747 2013-10-16 Glenn Morris <rgm@gnu.org>
7748
7749 * tmm.el (tmm--history): New dynamic variable.
7750 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7751
7752 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7753
7754 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7755 (tramp-smb-errors): Add error messages.
7756 (tramp-smb-actions-with-acl): New defconst.
7757 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7758 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7759 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7760 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7761 (tramp-smb-get-stat-capability): Fix tests.
7762
7763 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7764
7765 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7766 (bug#15580).
7767
7768 2013-10-16 Glenn Morris <rgm@gnu.org>
7769
7770 * ansi-color.el (ansi-color-drop-regexp):
7771 Add 1J, 1K, 2K. (Bug#15617)
7772
7773 * files.el (hack-local-variables--warned-lexical): New.
7774 (hack-local-variables):
7775 Warn about misplaced lexical-binding. (Bug#15616)
7776
7777 * net/eww.el (eww-render): Always set eww-current-url,
7778 and update header line. (Bug#15622)
7779 (eww-display-html): ... Rather than just doing it here.
7780
7781 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7782
7783 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7784 menu navigations commands.
7785
7786 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7787
7788 * progmodes/subword.el (subword-capitalize): Be careful when
7789 the search for [[:alpha:]] fails (bug#15580).
7790
7791 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7792
7793 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7794 to commands that scroll the menu.
7795
7796 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7797
7798 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7799 Handle methods ending with `?' and `!'.
7800
7801 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7802
7803 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7804 `japanese-cp932' to `cp932' to fix the problem where saving a
7805 source file written in Shift_JIS twice would end up having
7806 `coding: japanese-cp932' which Ruby could not recognize.
7807 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7808 in `ruby-encoding-map'.
7809 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7810 doesn't need to be explicitly declared in magic comment.
7811 (ruby-encoding-map): Add type declaration for better customize UI.
7812
7813 2013-10-13 Glenn Morris <rgm@gnu.org>
7814
7815 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7816 Occur buffers are read-only. http://bugs.debian.org/720775
7817
7818 * emacs-lisp/authors.el (authors-fixed-entries):
7819 Comment out old alpha stuff.
7820
7821 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7822
7823 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7824 to `after-save-hook' instead of `before-save-hook'.
7825 (ruby-mode-set-encoding): Use the value of coding system used to
7826 write the file. Call `basic-save-buffer-1' after modifying the
7827 buffer.
7828
7829 2013-10-13 Alan Mackenzie <acm@muc.de>
7830
7831 Fix indentation/fontification of Java enum with
7832 "implements"/generic.
7833
7834 * progmodes/cc-engine.el (c-backward-over-enum-header):
7835 Extracted from the three other places and enhanced to handle generics.
7836 (c-inside-bracelist-p): Uses new function above.
7837 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7838 function above.
7839 (c-font-lock-enum-tail): Uses new function above.
7840
7841 2013-10-13 Kenichi Handa <handa@gnu.org>
7842
7843 * international/mule-cmds.el (select-safe-coding-system): Remove a
7844 superfluous condition in chekcing whether a coding system is safe
7845 or not.
7846
7847 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7848
7849 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7850
7851 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7852
7853 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7854
7855 2013-10-13 Glenn Morris <rgm@gnu.org>
7856
7857 * menu-bar.el (menu-bar-update-buffers):
7858 Unify Buffers menu prompt string. (Bug#15576)
7859
7860 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7861
7862 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7863 Add some entries.
7864 (authors-fixed-entries): Use accented form of name.
7865
7866 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7869 method calls (bug#15594).
7870 (ruby-smie--args-separator-p): New function.
7871 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7872 recognize paren-free method calls.
7873
7874 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7875 internals of universal-argument.
7876
7877 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7878
7879 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7880 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7881 dropped menu on second mouse click on the menu bar.
7882
7883 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7886 (explicit-shell-file-name): Declare.
7887 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7888 (sh-completion-at-point-function): New function.
7889 (sh-mode): Use it.
7890 (sh-smie--keyword-p): Remove unused argument.
7891 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7892 vars.
7893 (sh-set-shell): Always setup SMIE, even if we use the
7894 old indentation code.
7895
7896 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7897
7898 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7899 cases of ? and =.
7900 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7901 predicate would return nil are almost non-existent.
7902 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7903
7904 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7905 cache also after commands that modify the buffer but don't move
7906 point.
7907
7908 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * env.el (substitute-env-in-file-name): New function.
7911 (substitute-env-vars): Extend the meaning of the optional arg.
7912
7913 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7914
7915 * term/w32-win.el (dynamic-library-alist): Define separate lists
7916 of GIF DLLs for versions before and after 5.0.0 of giflib.
7917 (Bug#15531)
7918
7919 2013-10-10 João Távora <joaotavora@gmail.com>
7920
7921 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7922 not locked, use last revision and current source as
7923 defaults. (Bug#15569)
7924
7925 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7926
7927 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7928 menu-bar is hidden.
7929
7930 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7931
7932 * window.el (pop-to-buffer-same-window): Fix doc-string.
7933 (Bug#15492)
7934
7935 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7936
7937 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7938
7939 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7940
7941 * calendar/icalendar.el (icalendar-import-file):
7942 Fix interactive spec. (Bug#15482)
7943
7944 2013-10-10 Glenn Morris <rgm@gnu.org>
7945
7946 * desktop.el (desktop-save): Default to saving in .emacs.d,
7947 since PWD is no longer in desktop-path by default. (Bug#15319)
7948
7949 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7950 now that text mode has a menu with the same entry.
7951 (menu-bar-text-mode-auto-fill): Remove now unused func.
7952 * textmodes/text-mode.el (text-mode-map):
7953 Use auto-fill help text from menu-bar.el.
7954
7955 2013-10-10 John Anthony <john@jo.hnanthony.com>
7956
7957 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7958
7959 2013-10-09 Juri Linkov <juri@jurta.org>
7960
7961 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7962 instead of this-command-keys. Add universal-argument-more and
7963 universal-argument-minus to the list of prefix commands. (Bug#15568)
7964
7965 2013-10-09 Glenn Morris <rgm@gnu.org>
7966
7967 * vc/vc-svn.el (vc-svn-create-repo):
7968 Expand paths in file://... url. (Bug#15446)
7969
7970 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7971 Add some entries.
7972 (authors): Remove unused local variables.
7973
7974 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7975
7976 * profiler.el: Create a more coherent calltree from partial backtraces.
7977 (profiler-format): Hide the tail with `invisible' so that C-s can still
7978 find the hidden elements.
7979 (profiler-calltree-depth): Don't recurse so enthusiastically.
7980 (profiler-function-equal): New hash-table-test.
7981 (profiler-calltree-build-unified): New function.
7982 (profiler-calltree-build): Use it.
7983 (profiler-report-make-name-part): Indent the calltree less.
7984 (profiler-report-mode): Add visibility specs for profiler-format.
7985 (profiler-report-expand-entry, profiler-report-toggle-entry):
7986 Expand the whole subtree when provided with a prefix arg.
7987
7988 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7989
7990 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7991 iuwu-mod token.
7992 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7993 hanging iuwu-mod token.
7994 (ruby-smie--forward-token): Do not include a dot after a token in
7995 that token.
7996 (ruby-smie--backward-token): Likewise.
7997
7998 2013-10-08 Juri Linkov <juri@jurta.org>
7999
8000 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8001 to isearch-other-control-char.
8002 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8003 and isearch-post-command-hook to post-command-hook.
8004 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8005 and isearch-post-command-hook from post-command-hook.
8006 (isearch-unread-key-sequence)
8007 (isearch-reread-key-sequence-naturally)
8008 (isearch-lookup-scroll-key, isearch-other-control-char)
8009 (isearch-other-meta-char): Remove functions.
8010 (isearch-pre-command-hook, isearch-post-command-hook):
8011 New functions based on isearch-other-meta-char rewritten
8012 relying on the new behavior of overriding-terminal-local-map
8013 that does not replace the local keymaps any more. (Bug#15200)
8014
8015 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8016
8017 Support menus on text-mode terminals.
8018 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8019 functionality.
8020
8021 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8022
8023 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8024 Move here from mouse.el.
8025 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8026 and arrow keys.
8027 (tty-menu-navigation-map): New map for TTY menu navigation.
8028
8029 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8030
8031 * frame.el (display-mouse-p): Report text-mode mouse as available
8032 on w32.
8033 (display-popup-menus-p): Report availability if mouse is
8034 available; don't condition on window-system.
8035
8036 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8037 (tty-menu-selected-face): New faces.
8038
8039 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8042 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8043 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8044 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8045 New constants.
8046 (lisp-mode-variables): New `elisp' argument.
8047 (emacs-lisp-mode): Use it.
8048 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8049 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8050
8051 * indent.el: Use lexical-binding.
8052 (indent-region): Add progress reporter.
8053 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8054 last step.
8055 (indent--next-tab-stop): New function to implement this behavior.
8056 (tab-to-tab-stop, move-to-tab-stop): Use it.
8057
8058 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8059
8060 * indent.el (indent-rigidly--current-indentation): New function.
8061 (indent-rigidly-map): New var.
8062 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8063
8064 2013-10-08 Bastien Guerry <bzg@gnu.org>
8065
8066 * register.el (insert-register): Fix 2013-10-07 change.
8067
8068 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * progmodes/perl-mode.el: Use lexical-binding.
8071 Remove redundant :group args.
8072 (perl-nochange): Change default to be closer to other major modes's
8073 standard behavior.
8074 (perl-indent-line): Don't consider text on current line as a
8075 valid beginning of function from which to indent.
8076
8077 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8078 with more than one argument (bug#15538).
8079
8080 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8081
8082 * vc/pcvs.el: Use lexical-binding.
8083 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8084 environment of `eval'.
8085 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8086 than a list of expressions. Adjust callers.
8087 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8088
8089 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8090
8091 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8092 case of the dot in a chained method call being on the following line.
8093
8094 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * electric.el (electric-indent-inhibit): New var.
8097 (electric-indent-post-self-insert-function): Use it.
8098 * progmodes/python.el (python-mode): Set it.
8099
8100 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8101 open braces.
8102
8103 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8104
8105 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8106 (css-mode): Use electric-indent-chars.
8107
8108 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8109 (font-lock-beg, font-lock-end): Move before first use.
8110 (nxml-mode): Use syntax-propertize-function.
8111 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8112 (nxml-extend-after-change-region): Remove.
8113 * nxml/xmltok.el: Use lexical-binding.
8114 (xmltok-save): Use `declare'.
8115 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8116 * nxml/nxml-util.el: Use lexical-binding.
8117 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8118 Use `declare'.
8119 * nxml/nxml-ns.el: Use lexical-binding.
8120 (nxml-ns-save): Use `declare'.
8121 (nxml-ns-prefixes-for): Avoid add-to-list.
8122 * nxml/rng-match.el: Use lexical-binding.
8123 (rng--ipattern): Use cl-defstruct.
8124 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8125 (rng-cons-group-after, rng-subst-group-after)
8126 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8127 Use closures instead of `(lambda...).
8128
8129 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8130
8131 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8132 of BEG and END.
8133
8134 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8135 Use `tramp-handle-insert-file-contents'.
8136 (tramp-gvfs-handle-insert-file-contents): Remove function.
8137
8138 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8139 Use `save-restriction' in order to keep markers.
8140
8141 * net/trampver.el: Update release number.
8142
8143 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * progmodes/compile.el (compilation-parse-errors):
8146 Use compilation--put-prop.
8147 (compilation--ensure-parse): Check compilation-multiline.
8148
8149 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8150
8151 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8152 lexical-binding.
8153
8154 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8155
8156 * progmodes/ruby-mode.el: Fix recently added tests.
8157 (ruby-smie-grammar): Add - and +.
8158 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8159 (ruby-smie--backward-id): New functions.
8160 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8161 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8162 any more.
8163
8164 2013-10-07 Leo Liu <sdl.web@gmail.com>
8165
8166 * register.el (register-preview-delay)
8167 (register-preview-functions): New variables.
8168 (register-read-with-preview, register-preview)
8169 (register-describe-oneline): New functions.
8170 (point-to-register, window-configuration-to-register)
8171 (frame-configuration-to-register, jump-to-register)
8172 (number-to-register, view-register, insert-register)
8173 (copy-to-register, append-to-register, prepend-to-register)
8174 (copy-rectangle-to-register): Use register-read-with-preview to
8175 read register. (Bug#15525)
8176
8177 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8178
8179 * net/network-stream.el (network-stream-open-starttls): Don't add
8180 --insecure if it's already present, because that gnutls-cli
8181 rejects getting that parameter twice.
8182
8183 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8184
8185 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8186 keyword, too.
8187
8188 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8189
8190 * newcomment.el (comment-use-global-state): Change default value
8191 to t, mark obsolete (Bug#15251).
8192 (comment-beginning): In addition to `comment-to-syntax', check the
8193 value of `comment-use-global-state'.
8194
8195 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8196
8197 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8198 (ruby-comment-column): Follow the global default, by default.
8199 (ruby-smie-grammar): Add assignment syntax.
8200 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8201 open-paren, a comma, or a \.
8202 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8203 and line continuations.
8204 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8205 followed by implicit semi-colons. Add rule for string concatenation
8206 and for indentation at BOB.
8207 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8208
8209 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8210 calling next-sexp, since next-token may have skipped chars which
8211 next-sexp doesn't know should be skipped!
8212
8213 2013-10-05 Leo Liu <sdl.web@gmail.com>
8214
8215 * progmodes/octave.el (octave-send-region):
8216 Call compilation-forget-errors.
8217
8218 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8219
8220 * vc/vc-svn.el (vc-svn-find-admin-dir):
8221 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8222 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8223 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8224 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8225
8226 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8229
8230 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * subr.el (read-passwd): Hide chars even when called within a context
8233 where after-change-functions is disabled (bug#15501).
8234 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8235 until we removed ourself from overriding-terminal-local-map.
8236
8237 2013-10-04 Leo Liu <sdl.web@gmail.com>
8238
8239 * progmodes/octave.el (inferior-octave-mode):
8240 Call compilation-forget-errors.
8241
8242 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8243
8244 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8245
8246 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8247
8248 * net/secrets.el (secrets-create-collection): Add optional
8249 argument ALIAS. Use proper Label keyword. Append ALIAS as
8250 dbus-call-method argument. (Bug#15516)
8251
8252 2013-10-04 Leo Liu <sdl.web@gmail.com>
8253
8254 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8255 (inferior-octave-compilation-font-lock-keywords): New variables.
8256 (compilation-error-regexp-alist)
8257 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8258 (inferior-octave-mode): Use compilation-shell-minor-mode.
8259
8260 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8261
8262 * minibuffer.el (completion--replace): Be careful that `end' might be
8263 a marker.
8264
8265 2013-10-03 Daiki Ueno <ueno@gnu.org>
8266
8267 Add support for package signature checking.
8268 * emacs-lisp/package.el (url-http-file-exists-p)
8269 (epg-make-context, epg-context-set-home-directory)
8270 (epg-verify-string, epg-context-result-for)
8271 (epg-signature-status, epg-signature-to-string)
8272 (epg-check-configuration, epg-configuration)
8273 (epg-import-keys-from-file): Declare.
8274 (package-check-signature): New user option.
8275 (package-unsigned-archives): New user option.
8276 (package-desc): Add `signed' field.
8277 (package-load-descriptor): Set `signed' field if .signed file exists.
8278 (package--archive-file-exists-p): New function.
8279 (package--check-signature): New function.
8280 (package-install-from-archive): Check package signature.
8281 (package--download-one-archive): Check archive signature.
8282 (package-delete): Remove .signed file.
8283 (package-import-keyring): New command.
8284 (package-refresh-contents): Import default keyring.
8285 (package-desc-status): Add "unsigned" status.
8286 (describe-package-1, package-menu--print-info)
8287 (package-menu-mark-delete, package-menu--find-upgrades)
8288 (package-menu--status-predicate): Support "unsigned" status.
8289
8290 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8293 the new compilation scheme using the new byte-codes.
8294
8295 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8296 (byte-pophandler): New byte codes.
8297 (byte-goto-ops): Adjust accordingly.
8298 (byte-compile--use-old-handlers): New var.
8299 (byte-compile-catch): Use new byte codes depending on
8300 byte-compile--use-old-handlers.
8301 (byte-compile-condition-case--old): Rename from
8302 byte-compile-condition-case.
8303 (byte-compile-condition-case--new): New function.
8304 (byte-compile-condition-case): New function that dispatches depending
8305 on byte-compile--use-old-handlers.
8306 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8307 when we can.
8308
8309 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8310 Optimize under `condition-case' and `catch' if
8311 byte-compile--use-old-handlers is nil.
8312 (disassemble-offset): Handle new bytecodes.
8313
8314 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * subr.el (error): Use `declare'.
8317 (decode-char, encode-char): Use advertised-calling-convention instead
8318 of the docstring to discourage use of the `restriction' arg.
8319
8320 2013-10-03 Daiki Ueno <ueno@gnu.org>
8321
8322 * epg.el (epg-verify-file): Add a comment saying that it does not
8323 notify verification error as a return value nor a signal.
8324 (epg-verify-string): Ditto.
8325
8326 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8327
8328 * progmodes/compile.el (compilation-start): Try globbing the arg to
8329 `cd' (bug#15417).
8330
8331 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8332
8333 Sync with Tramp 2.2.8.
8334
8335 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8336 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8337 * net/trampver.el: Update release number.
8338
8339 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8340
8341 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8342 and default-process-coding-system for darwin only.
8343
8344 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8347
8348 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8349
8350 * vc/vc-git.el (vc-git-grep): Disable pager.
8351
8352 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8353
8354 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8355 Use :url instead of :homepage, as per
8356 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8357
8358 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8359 non-nil, use `syntax-ppss' (Bug#15251).
8360
8361 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8362
8363 * progmodes/octave.el (inferior-octave-startup-file):
8364 Prefer ~/.emacs.d/init_octave.m.
8365
8366 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8367
8368 * emacs-lisp/package.el (package-desc-from-define):
8369 Accept additional arguments as plist, convert them to an alist and store
8370 them in the `extras' slot.
8371 (package-generate-description-file): Convert extras alist back to
8372 plist and append to the `define-package' form arguments.
8373 (package--alist-to-plist): New function.
8374 (package--ac-desc): Add `extras' slot.
8375 (package--add-to-archive-contents): Check if the archive-contents
8376 vector is long enough, and if it is, pass its `extras' slot value
8377 to `package-desc-create'.
8378 (package-buffer-info): Call `lm-homepage', pass the returned value
8379 to `package-desc-from-define'.
8380 (describe-package-1): Render the homepage button (Bug#13291).
8381
8382 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8383 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8384
8385 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8386
8387 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8388 and default-process-coding-system to utf-8-unix (Bug#15402).
8389
8390 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8391
8392 * subr.el (looking-back): Do not recommend using looking-back.
8393
8394 2013-09-28 Alan Mackenzie <acm@muc.de>
8395
8396 Fix indentation/fontification of Java enum with "implements".
8397
8398 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8399 regexp which matches "implements", etc., in Java.
8400 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8401 specifier clauses coming after "enum".
8402 * progmodes/cc-fonts.el (c-font-lock-declarations)
8403 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8404 after "enum".
8405
8406 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8407
8408 * faces.el (region): Change ns_selection_color to
8409 ns_selection_fg_color, add ns_selection_bg_color.
8410
8411 2013-09-28 Leo Liu <sdl.web@gmail.com>
8412
8413 * progmodes/octave.el (inferior-octave-completion-table)
8414 (inferior-octave-completion-at-point): Minor tweaks.
8415
8416 * textmodes/ispell.el (ispell-lookup-words): Rename from
8417 lookup-words. (Bug#15460)
8418 (lookup-words): Obsolete.
8419 (ispell-complete-word, ispell-command-loop): All uses changed.
8420
8421 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8422
8423 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8424 (octave-mode-menu): Add octave-send-buffer.
8425 (octave-send-buffer): New function.
8426
8427 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8428
8429 * progmodes/octave.el (octave-mode-map): Add key binding for
8430 octave-lookfor.
8431 (octave-mode-menu): Add octave-lookfor.
8432 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8433 octave-lookfor.
8434 (octave-lookfor): New function.
8435
8436 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8439 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8440 its convention.
8441 (cl--loop-set-iterator-function): New function.
8442 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8443 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8444 Bind `it' with `let' instead of substituting it with `cl-subst'.
8445 (cl--unused-var-p): New function.
8446 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8447 Eliminate some unused variable warnings (bug#15326).
8448
8449 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8450
8451 * doc-view.el (doc-view-scale-reset): Rename from
8452 `doc-view-reset-zoom-level'.
8453 (doc-view-scale-adjust): New command.
8454 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8455 `doc-view-scale-adjust'.
8456
8457 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8458
8459 * doc-view.el (doc-view-reset-zoom-level): New command.
8460 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8461 zoom commands (bug#15466).
8462
8463 2013-09-26 Kenichi Handa <handa@gnu.org>
8464
8465 * international/quail.el (quail-help): Make it not a command.
8466
8467 2013-09-26 Leo Liu <sdl.web@gmail.com>
8468
8469 * minibuffer.el (completion-all-sorted-completions): Make args
8470 optional as they are.
8471
8472 2013-09-25 Daniel Colascione <dancol@dancol.org>
8473
8474 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8475 specs are and that they're not evaluated.
8476
8477 2013-09-24 Sam Steingold <sds@gnu.org>
8478
8479 * midnight.el (clean-buffer-list-kill-regexps)
8480 (clean-buffer-list-kill-buffer-names): Update for the new Man
8481 buffer naming which includes the object name.
8482
8483 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8486 (eshell-parse-command, eshell-parse-pipeline): Use it since
8487 eshell-separate-commands requires a dynamic scoped var.
8488 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8489
8490 2013-09-23 Leo Liu <sdl.web@gmail.com>
8491
8492 * autoinsert.el (auto-insert-alist): Make the value of
8493 lexical-binding match its file setting.
8494
8495 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8496
8497 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8498
8499 * autoarg.el (autoarg-kp-digit-argument):
8500 * electric.el (Electric-command-loop):
8501 * kmacro.el (kmacro-step-edit-insert):
8502 Do not set universal-argument-num-events.
8503
8504 2013-09-22 Leo Liu <sdl.web@gmail.com>
8505
8506 * files.el (interpreter-mode-alist): Add octave.
8507
8508 2013-09-21 Alan Mackenzie <acm@muc.de>
8509
8510 C++: fontify identifier in declaration following "public:" correctly.
8511 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8512 to match "public", etc.
8513 (c-decl-prefix-re): Add ":" into the C++ value.
8514 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8515 bit. Add a check for a ":" preceded by "public", etc.
8516
8517 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8518
8519 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8520 recognized by GDB 7.5 and later.
8521
8522 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8523
8524 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8525
8526 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * subr.el (internal--call-interactively): New const.
8529 (called-interactively-p): Use it (bug#3984).
8530
8531 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8532
8533 * vc/pcvs.el (cvs-mode-ignore):
8534 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8535 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8536
8537 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8540 (eshell-ls-orig-insert-directory): Remove.
8541 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8542 (eshell-ls-use-in-dired): Use advice-add/remove.
8543 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8544 Add `orig-fun' arg for use in :around advice.
8545 Make it check (redundantly) eshell-ls-use-in-dired.
8546
8547 2013-09-19 Glenn Morris <rgm@gnu.org>
8548
8549 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8550
8551 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8552
8553 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8554
8555 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8558 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8559 (tramp-get-remote-python): New defuns.
8560 (tramp-get-remote-uid-with-perl)
8561 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8562 contributed by yary <not.com@gmail.com> (tiny change).
8563 (tramp-get-remote-uid-with-python)
8564 (tramp-get-remote-gid-with-python): New defuns. Python code
8565 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8566 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8567
8568 2013-09-19 Glenn Morris <rgm@gnu.org>
8569
8570 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8571
8572 * eshell/em-unix.el (eshell-remove-entries):
8573 Rename argument to avoid name-clash with global `top-level'.
8574
8575 * eshell/esh-proc.el (eshell-kill-process-function):
8576 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8577 (eshell-reset-after-proc): Remove unused arg `proc'.
8578
8579 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8580 (directory-files-and-attributes): Mark unused arg.
8581
8582 * eshell/em-unix.el (eshell-remove-entries):
8583 Remove unused arg `path'. Update callers.
8584
8585 * eshell/em-hist.el (eshell-hist-parse-arguments):
8586 Remove unused arg `silent'. Update callers.
8587
8588 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8589 Fix (f)boundp mix-up.
8590
8591 * eshell/em-smart.el (eshell-smart-scroll-window)
8592 (eshell-disable-after-change):
8593 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8594
8595 2013-09-18 Alan Mackenzie <acm@muc.de>
8596
8597 Fix fontification of type when followed by "const".
8598 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8599 "known" types from fontification.
8600
8601 2013-09-18 Glenn Morris <rgm@gnu.org>
8602
8603 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8604 (chart-face-list): Drop Emacsen without display-color-p.
8605
8606 * net/eww.el (libxml-parse-html-region): Declare.
8607 (eww-display-html): Explicit error if no libxml2 support.
8608
8609 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8610
8611 * image.el (image-type-from-buffer, image-multi-frame-p):
8612 Remove --without-x warning/error.
8613
8614 * mouse.el (mouse-yank-primary):
8615 * term.el (term-mouse-paste):
8616 Reorder to silence --without-x compilation.
8617
8618 * mpc.el (doc-view-mode): Silence --without-x compilation.
8619
8620 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8621 Silence --without-x compilation.
8622
8623 * progmodes/gud.el (gud-find-file, gud-mode):
8624 Silence --without-x compilation.
8625 (tooltip-mode): Declare.
8626
8627 * wdired.el (dired-backup-overwrite): Remove declaration.
8628 (wdired-mode-map): Add doc string.
8629
8630 * custom.el (x-get-resource): Declare.
8631
8632 * eshell/em-glob.el (ange-cache):
8633 * eshell/em-unix.el (ange-cache): Declare.
8634
8635 * faces.el (x-display-list, x-open-connection, x-get-resource):
8636 Declare.
8637
8638 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8639 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8640 Declare.
8641
8642 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8643
8644 * net/gnutls.el (gnutls-log-level): Declare.
8645
8646 * net/shr.el (image-size, image-animate): Declare.
8647
8648 * simple.el (font-info): Declare.
8649
8650 * subr.el (x-popup-dialog): Declare.
8651
8652 * term/common-win.el (x-select-enable-primary)
8653 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8654 Declare.
8655
8656 * term/ns-win.el (x-handle-args): Declare.
8657
8658 * term/x-win.el (x-select-enable-clipboard): Declare.
8659
8660 * term/w32-win.el (create-default-fontset): Declare.
8661
8662 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8663 Declare.
8664
8665 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8666 (fit-frame-to-buffer): Explicit error if --without-x.
8667 (mouse-autoselect-window-select): Silence compiler.
8668
8669 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8670
8671 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8672 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8673 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8674 * eshell/esh-util.el (eshell-sublist):
8675 Remove unused local variables.
8676
8677 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8678
8679 * textmodes/two-column.el: Make 2C-split work for --without-x.
8680 (scroll-bar-columns): Autoload.
8681 (top-level): Require fringe when compiling.
8682
8683 2013-09-18 Leo Liu <sdl.web@gmail.com>
8684
8685 * subr.el (add-hook): Robustify to handle closure as well.
8686
8687 2013-09-17 Glenn Morris <rgm@gnu.org>
8688
8689 * simple.el (messages-buffer-mode-map): Unbind "g".
8690
8691 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * help-mode.el (help-mode-finish): Use derived-mode-p.
8694 Remove obsolete highlighting.
8695
8696 * play/life.el (life-mode): Use define-derived-mode. Derive from
8697 special-mode.
8698 (life): Let-bind inhibit-read-only.
8699 (life-setup): Avoid `setq'. Use `life-mode'.
8700
8701 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8702 which should not be needed any more.
8703 (package-menu-refresh, package-menu-describe-package): Use user-error.
8704
8705 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8706 (eshell-post-rewrite-command-hook): Make obsolete.
8707 (eshell-parse-command): Simplify.
8708 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8709 (eshell--cmd): Declare.
8710 (eshell-parse-pipeline): Remove unused var `final-p'.
8711 Pass a dynvar to eshell-post-rewrite-command-hook.
8712 Implement the new eshell-post-rewrite-command-function.
8713 (eshell-invoke-directly): Remove unused arg `input'.
8714 * eshell/esh-io.el (eshell-io-initialize):
8715 Use eshell-post-rewrite-command-function (bug#15399).
8716 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8717 adjust to new calling convention.
8718 (eshell-create-handles): Rename args to avoid clashing with dynvar
8719 `standard-output'.
8720
8721 2013-09-17 Glenn Morris <rgm@gnu.org>
8722
8723 * simple.el (messages-buffer-mode): New major mode.
8724 (messages-buffer): New function.
8725 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8726 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8727 (ert-run-test): Use `messages-buffer' function.
8728 (ert--force-message-log-buffer-truncation): Ignore read-only.
8729 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8730 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8731
8732 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8735
8736 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8737
8738 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * icomplete.el (icomplete-in-buffer): New var.
8741 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8742 vars and replace them with functions.
8743 (icomplete-minibuffer-setup): Adjust accordingly.
8744 (icomplete--completion-table, icomplete--completion-predicate)
8745 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8746 New functions.
8747 (icomplete-forward-completions, icomplete-backward-completions)
8748 (icomplete-simple-completing-p, icomplete-exhibit)
8749 (icomplete-completions): Use them.
8750 (icomplete--in-region-buffer): New var.
8751 (icomplete--in-region-setup): New function.
8752 (icomplete-mode): Use it.
8753
8754 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8755 (bug#15379).
8756 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8757 return args and options.
8758 (eshell-eval-using-options): Use the new return value of
8759 eshell--do-opts to set the options's vars in their scope.
8760 (eshell--set-option): Rename from eshell-set-option.
8761 Add arg `opt-vals'.
8762 (eshell--process-option): Rename from eshell-process-option.
8763 Add arg `opt-vals'.
8764 (eshell--process-args): Use an `opt-vals' alist to store the options's
8765 values during their processing and return them additionally to the
8766 remaining args.
8767
8768 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8769
8770 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8771 continuation character an operator, as far as indentation is
8772 concerned (Bug#15369).
8773
8774 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8775
8776 * window.el (window--state-put-2): Don't process buffer state
8777 when buffer doesn't exist any more (Bug#15382).
8778
8779 2013-09-15 Glenn Morris <rgm@gnu.org>
8780
8781 * eshell/em-unix.el (eshell/rm):
8782 Make -f ignore missing files. (Bug#15373)
8783
8784 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8785 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8786 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8787
8788 2013-09-14 Glenn Morris <rgm@gnu.org>
8789
8790 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8791
8792 2013-09-13 Glenn Morris <rgm@gnu.org>
8793
8794 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8795 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8796
8797 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8798
8799 * frame.el (x-focus-frame): Mark as declared in frame.c.
8800
8801 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8802
8803 * ls-lisp.el: Use advice-add.
8804 (original-insert-directory): Remove.
8805 (ls-lisp--insert-directory): Rename from insert-directory; add
8806 `orig-fun' argument.
8807 (insert-directory): Advise.
8808
8809 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8810
8811 * term.el (term-emulate-terminal): Decode the command string
8812 before passing it to term-command-hook. (Bug#15337)
8813
8814 2013-09-13 Glenn Morris <rgm@gnu.org>
8815
8816 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8817
8818 * eshell/esh-ext.el (eshell-search-path): Declare.
8819
8820 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8821 Otherwise an error occurs if eshell-dirs module not loaded.
8822
8823 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8824
8825 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8828 `tramp-check-proper-host'. Check for a valid method name.
8829
8830 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8831 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8832 * net/tramp-sh.el (tramp-maybe-open-connection):
8833 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8834
8835 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8836 also for hash values.
8837
8838 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * term/ns-win.el (parameters): Don't declare as dynamic.
8841 (before-make-frame-hook): Don't add ineffective function.
8842
8843 * eshell/*.el: Use lexical-binding (bug#15231).
8844
8845 2013-09-12 Kenichi Handa <handa@gnu.org>
8846
8847 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8848
8849 2013-09-12 Glenn Morris <rgm@gnu.org>
8850
8851 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8852 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8853
8854 * subr.el (do-after-load-evaluation): Also give compiler warnings
8855 when obsolete files are used (except by obsolete files).
8856
8857 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8858 in the status output, assume `filename' is the first. (Bug#15322)
8859
8860 * vc/vc.el (vc-deduce-fileset): Doc fix.
8861
8862 * calc/calc-help.el (Info-goto-node):
8863 * progmodes/cperl-mode.el (Info-find-node):
8864 * vc/ediff.el (Info-goto-node): Update declarations.
8865
8866 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8867
8868 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8869 (vc-bzr-pull): Require vc-dispatcher.
8870 * vc/vc-git.el (vc-compilation-mode): Declare.
8871 (vc-git-pull): Require vc-dispatcher.
8872
8873 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8874
8875 * progmodes/octave.el (help-button-action): Declare.
8876
8877 * shell.el (shell-directory-tracker): Output error as a message
8878 rather than just returning it as a string.
8879 (shell-process-pushd): Remove useless use of message.
8880
8881 * dframe.el (dframe-timer-fn):
8882 * files.el (dir-locals-read-from-file):
8883 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8884 (mpc-format):
8885 * reveal.el (reveal-post-command):
8886 * saveplace.el (load-save-place-alist-from-file):
8887 * shell.el (shell-resync-dirs):
8888 * w32-common-fns.el (x-get-selection-value):
8889 * emacs-lisp/copyright.el (copyright-find-copyright):
8890 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8891 * emulation/tpu-edt.el (tpu-copy-keyfile):
8892 * play/bubbles.el (bubbles--mark-neighbourhood):
8893 * progmodes/executable.el
8894 (executable-make-buffer-file-executable-if-script-p):
8895 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8896
8897 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 Cleanup Eshell to rely less on dynamic scoping.
8900 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8901 last-value, and ext-command here. Bind `args' closer to `body'.
8902 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8903 (eshell--args): Declare new dynamic var.
8904 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8905 last-value, and ext-command. Pass `args' to `body'.
8906 (eshell-process-args): Bind eshell--args.
8907 (eshell-set-option): Use eshell--args.
8908 * eshell/eshell.el (eshell): Use derived-mode-p.
8909 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8910 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8911 (eshell-glob-function): Declare.
8912 * eshell/esh-util.el: Require cl-lib.
8913 (eshell-read-hosts-file): Avoid add-to-list.
8914 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8915 `err'.
8916 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8917 Declare.
8918 (eshell/diff): Remove unused var `err'.
8919 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8920 `killflag'.
8921 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8922 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8923 first use.
8924 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8925 Move declaration before first use.
8926 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8927 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8928 rely on cl-return.
8929
8930 2013-09-12 Glenn Morris <rgm@gnu.org>
8931
8932 * term/ns-win.el (global-map): Remove binding for ispell-next,
8933 deleted 1999-05-29. (Bug#15357)
8934
8935 2013-09-11 Glenn Morris <rgm@gnu.org>
8936
8937 * echistory.el (electric-command-history): Remove call to deleted func.
8938
8939 * play/landmark.el (landmark-mode): Fix typos.
8940
8941 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8942 Check cvs-sort-ignore-file is bound.
8943
8944 * savehist.el: No need for cl when compiling on Emacs.
8945
8946 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8947
8948 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8949 (bug#15338).
8950 (eshell-self-insert-command, eshell-send-invisible):
8951 Remove unused argument.
8952 (eshell-handle-control-codes): Remove unused var `orig'.
8953 Avoid delete-backward-char.
8954
8955 * files.el (set-auto-mode): Simplify a bit further.
8956
8957 2013-09-11 Glenn Morris <rgm@gnu.org>
8958
8959 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8960 (set-auto-mode): Don't regexp-quote elements.
8961 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8962 * progmodes/cc-mode.el (interpreter-mode-alist):
8963 * progmodes/ruby-mode.el (interpreter-mode-alist):
8964 Revert previous change.
8965
8966 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * play/snake.el (snake-mode):
8969 * play/mpuz.el (mpuz-mode):
8970 * play/landmark.el (lm-mode):
8971 * play/blackbox.el (blackbox-mode):
8972 * play/5x5.el (5x5-mode):
8973 * obsolete/options.el (Edit-options-mode):
8974 * net/quickurl.el (quickurl-list-mode):
8975 * net/newst-treeview.el (newsticker-treeview-mode):
8976 * mail/rmailsum.el (rmail-summary-mode):
8977 * mail/mspools.el (mspools-mode):
8978 * locate.el (locate-mode):
8979 * ibuffer.el (ibuffer-mode):
8980 * emulation/ws-mode.el (wordstar-mode):
8981 * emacs-lisp/debug.el (debugger-mode):
8982 * array.el (array-mode):
8983 * net/eudc.el (eudc-mode): Use define-derived-mode.
8984 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8985 Move initialization into declaration.
8986 (mairix-searches-mode): Use define-derived-mode.
8987 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8988 (eudc-edit-hotlist): Use dolist.
8989 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8990 (Man-mode): Use define-derived-mode.
8991 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8992 (Info-edit-mode): Use define-derived-mode.
8993 (Info-cease-edit): Use Info-mode.
8994 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8995 into declaration.
8996 (eshell-mode): Use define-derived-mode.
8997 * chistory.el (command-history-mode-map): Rename from
8998 command-history-map.
8999 (command-history-mode): Use define-derived-mode.
9000 (Command-history-setup): Remove function.
9001 * calc/calc.el (calc-trail-mode-map): New var.
9002 (calc-trail-mode): Use define-derived-mode.
9003 (calc-trail-buffer): Set calc-main-buffer manually.
9004 * bookmark.el (bookmark-insert-annotation): New function.
9005 (bookmark-edit-annotation): Use it.
9006 (bookmark-edit-annotation-mode): Make it a proper major mode.
9007 (bookmark-send-edited-annotation): Use derived-mode-p.
9008 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9009 closer to its ideal place. Use \' to match EOS.
9010
9011 * profiler.el (profiler-calltree-find): Use function-equal.
9012
9013 2013-09-10 Glenn Morris <rgm@gnu.org>
9014
9015 * files.el (interpreter-mode-alist): Convert to regexps.
9016 (set-auto-mode): Adapt for this. (Bug#15306)
9017 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9018 Comment out unused variable.
9019 * progmodes/cc-mode.el (interpreter-mode-alist):
9020 * progmodes/python.el (interpreter-mode-alist):
9021 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9022 * progmodes/sh-script.el (sh-set-shell):
9023 No longer use interpreter-mode-alist to get list of shells.
9024
9025 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9026
9027 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9028
9029 * simple.el: Use set-temporary-overlay-map for universal-argument.
9030 (universal-argument-map): Don't use default-bindings (bug#15317).
9031 Bind switch-frame explicitly. Replace universal-argument-minus with
9032 a conditional binding.
9033 (universal-argument-num-events, saved-overriding-map): Remove.
9034 (restore-overriding-map): Remove.
9035 (universal-argument--mode): Rename from save&set-overriding-map,
9036 and rewrite.
9037 (universal-argument, universal-argument-more, negative-argument)
9038 (digit-argument): Adjust accordingly.
9039 (universal-argument-minus): Remove.
9040 (universal-argument-other-key): Remove.
9041
9042 * subr.el (with-demoted-errors): Add `format' argument.
9043
9044 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9045
9046 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9047 `tramp-cleanup-connection'.
9048
9049 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9050 parameters KEEP-DEBUG and KEEP-PASSWORD.
9051
9052 * net/tramp.el (tramp-file-name-handler):
9053 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9054 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9055 (tramp-maybe-open-connection):
9056 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9057 Use `tramp-cleanup-connection'.
9058
9059 * net/tramp-sh.el (tramp-maybe-open-connection):
9060 Catch 'uname-changed inside the progress reporter.
9061
9062 2013-09-10 Glenn Morris <rgm@gnu.org>
9063
9064 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9065
9066 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9067 returns "alternate access method" in mode (eg "-rw-r--r--.").
9068
9069 2013-09-08 Glenn Morris <rgm@gnu.org>
9070
9071 * saveplace.el (load-save-place-alist-from-file):
9072 Demote errors. (Bug#15305)
9073
9074 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9075
9076 Improve compatibility with older Emacsen, and XEmacs.
9077
9078 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9079 only if it is bound. It isn't for XEmacs.
9080 (with-tramp-progress-reporter): Do not let-bind `result'.
9081 This yields to scoping errors in XEmacs.
9082 (tramp-handle-make-auto-save-file-name): New function, moved from
9083 tramp-sh.el.
9084
9085 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9086 for `make-auto-save-file-name'.
9087 (tramp-adb--gnu-switches-to-ash):
9088 Use `tramp-compat-replace-regexp-in-string'.
9089
9090 * net/tramp-cache.el (tramp-cache-print): Call
9091 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9092
9093 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9094 bound. It isn't for XEmacs.
9095
9096 * net/tramp-compat.el (tramp-compat-copy-file):
9097 Catch `wrong-number-of-arguments' error.
9098 (tramp-compat-replace-regexp-in-string): New defun.
9099
9100 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9101 for `make-auto-save-file-name'.
9102 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9103 `copy-file'.
9104 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9105 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9106 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9107
9108 * net/tramp-gw.el (tramp-gw-open-network-stream):
9109 Use `tramp-compat-replace-regexp-in-string'.
9110
9111 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9112 Call `tramp-handle-make-auto-save-file-name'.
9113 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9114 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9115 (tramp-sh-file-inotifywait-process-filter):
9116 Use `tramp-compat-replace-regexp-in-string'.
9117 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9118
9119 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9120 for `make-auto-save-file-name'.
9121 (tramp-smb-handle-copy-directory):
9122 Call `tramp-compat-replace-regexp-in-string'.
9123 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9124 (tramp-smb-handle-copy-file): Improve error message.
9125 (tramp-smb-handle-rename-file): Rename directly only in case
9126 `newname' does not exist yet. This is a restriction of smbclient.
9127 (tramp-smb-maybe-open-connection): Rerun the function only when
9128 `auth-sources' is non-nil.
9129
9130 2013-09-08 Kenichi Handa <handa@gnu.org>
9131
9132 * international/characters.el: Set category "^" (Combining) for
9133 more characters.
9134
9135 2013-09-07 Alan Mackenzie <acm@muc.de>
9136
9137 Correctly fontify Java class constructors.
9138 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9139 in Java Mode.
9140 (c-recognize-typeless-decls): Set the Java value to t.
9141 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9142 While handling a "(", add a check for, effectively, Java, and handle a
9143 "typeless" declaration there.
9144
9145 2013-09-07 Roland Winkler <winkler@gnu.org>
9146
9147 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9148 field subtitle for entry type book.
9149
9150 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * minibuffer.el: Make minibuffer-complete call completion-in-region
9153 rather than other way around.
9154 (completion--some, completion-pcm--find-all-completions):
9155 Don't delay signals when debugging.
9156 (minibuffer-completion-contents): Beware fields within the
9157 minibuffer contents.
9158 (completion-all-sorted-completions): Use defvar-local.
9159 (completion--do-completion, completion--cache-all-sorted-completions)
9160 (completion-all-sorted-completions, minibuffer-force-complete):
9161 Add args `beg' and `end'.
9162 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9163 (minibuffer-complete): Use completion-in-region.
9164 (completion-complete-and-exit): New fun, extracted from
9165 minibuffer-complete-and-exit.
9166 (minibuffer-complete-and-exit): Use it.
9167 (completion--complete-and-exit): Rename from
9168 minibuffer--complete-and-exit.
9169 (completion-in-region--single-word): New function, extracted from
9170 minibuffer-complete-word.
9171 (minibuffer-complete-word): Use it.
9172 (display-completion-list): Make `common-substring' argument obsolete.
9173 (completion--in-region): Call completion--in-region-1 instead of
9174 minibuffer-complete.
9175 (completion-help-at-point): Pass boundaries to
9176 minibuffer-completion-help as args rather than via an overlay.
9177 (completion-pcm--string->pattern): Use `any-delim'.
9178 (completion-pcm--optimize-pattern): New function.
9179 (completion-pcm--pattern->regex): Handle `any-delim'.
9180 * icomplete.el (icomplete-forward-completions)
9181 (icomplete-backward-completions, icomplete-completions):
9182 Adjust calls to completion-all-sorted-completions and
9183 completion--cache-all-sorted-completions.
9184 (icomplete-with-completion-tables): Default to t.
9185 * emacs-lisp/crm.el (crm--current-element): Rename from
9186 crm--select-current-element. Don't put an overlay but return the
9187 boundaries instead.
9188 (crm--completion-command): Take two new args to bind to the boundaries.
9189 (crm-completion-help): Adjust accordingly.
9190 (crm-complete): Use completion-in-region.
9191 (crm-complete-word): Use completion-in-region--single-word.
9192 (crm-complete-and-exit): Use completion-complete-and-exit.
9193
9194 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9197 than dynamically.
9198
9199 2013-09-06 Juri Linkov <juri@jurta.org>
9200
9201 * info.el (Info-display-images-node): When image file doesn't exist
9202 display text version of the image if it's provided in the Info file.
9203 Otherwise, display the location of missing image from SRC attribute.
9204 Add help-echo text property from ALT attribute. (Bug#15279)
9205
9206 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9209 (edit-abbrevs-mode): Use define-derived-mode.
9210
9211 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9212 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9213 that it's defined.
9214 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9215 Use define-derived-mode.
9216
9217 * epg.el (epg-start-encrypt): Minor CSE simplification.
9218
9219 2013-09-06 William Xu <william.xwl@gmail.com>
9220
9221 * arc-mode.el: Add support for 7za (bug#15264).
9222 (archive-7z-program): New var.
9223 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9224 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9225 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9226
9227 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9228
9229 Remove URL syntax.
9230
9231 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9232 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9233 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9234 (tramp-postfix-host-format, tramp-file-name-regexp)
9235 (tramp-completion-file-name-regexp)
9236 (tramp-completion-dissect-file-name)
9237 (tramp-handle-substitute-in-file-name): Remove 'url case.
9238 (tramp-file-name-regexp-url)
9239 (tramp-completion-file-name-regexp-url): Remove constants.
9240
9241 2013-09-06 Glenn Morris <rgm@gnu.org>
9242
9243 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9244
9245 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9246
9247 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9248 keywords" below "here-doc beginnings" (Bug#15270).
9249
9250 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * subr.el (pop): Use `car-safe'.
9253 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9254 to detect unused `pop' return value.
9255
9256 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9257 var `block-regexp'.
9258 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9259 (python-fill-string): Remove unused var `marker'.
9260 (python-skeleton-add-menu-items): Remove unused var `items'.
9261
9262 * international/mule-cmds.el: Require CL.
9263 (find-coding-systems-for-charsets): Avoid add-to-list.
9264 (sanitize-coding-system-list): New function, extracted from
9265 select-safe-coding-system-interactively.
9266 (select-safe-coding-system-interactively): Use it.
9267 (read-input-method-name): Accept symbols for `default'.
9268
9269 * emacs-lisp/advice.el (defadvice): Add indent rule.
9270
9271 2013-09-05 Daniel Hackney <dan@haxney.org>
9272
9273 * dired-x.el:
9274 * net/ange-ftp.el:
9275 * net/browse-url.el:
9276 * net/dbus.el:
9277 * net/eudc.el:
9278 * net/eudcb-ldap.el:
9279 * net/eww.el:
9280 * net/imap.el:
9281 * printing.el:
9282 * vc/ediff-diff.el:
9283 * vc/ediff-init.el:
9284 * vc/ediff-merg.el:
9285 * vc/ediff-mult.el:
9286 * vc/ediff-util.el:
9287 * vc/ediff-wind.el:
9288 * vc/ediff.el:
9289 * vc/emerge.el:
9290 * vc/pcvs.el:
9291 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9292 byte compiler. Remove some unused let-bound variables.
9293
9294 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9297 a "ref-cell", since it gets better optimized (bug#14883).
9298
9299 2013-09-05 Glenn Morris <rgm@gnu.org>
9300
9301 * progmodes/cc-awk.el (c-forward-sws): Declare.
9302
9303 2013-09-04 Glenn Morris <rgm@gnu.org>
9304
9305 * generic-x.el [rul-generic-mode]: Require cc-mode.
9306 (c++-mode-syntax-table): Declare.
9307 (rul-generic-mode-syntax-table): Init in the defvar.
9308
9309 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9312 (vc-do-command, vc-set-async-update):
9313 * vc/vc-mtn.el (vc-mtn-dir-status):
9314 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9315 (vc-hg-pull, vc-hg-merge-branch):
9316 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9317 (vc-git-merge-branch):
9318 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9319 (vc-cvs-dir-status-files):
9320 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9321 (vc-bzr-dir-status-files):
9322 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9323 * vc/vc-annotate.el: Use lexical-binding.
9324 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9325 (vc-sentinel-movepoint): Declare.
9326 (vc-annotate): Don't use `goto-line'.
9327 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9328 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9329 (vc-sentinel-movepoint): Declare.
9330 * vc/vc-svn.el: Use lexical-binding.
9331 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9332 * vc/vc-sccs.el:
9333 * vc/vc-rcs.el: Use lexical-binding.
9334
9335 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9336 `deleted'. Don't drop errors silently.
9337
9338 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9339
9340 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9341
9342 * vc/vc.el (vc-ignore): Rewrite.
9343 (vc-default-ignore): New function.
9344 (vc-default-ignore-completion-table): Use find-ignore-file.
9345
9346 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9347 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9348 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9349 Remove. Most code moved to vc.el.
9350
9351 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9352
9353 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9354 * net/tramp-smb.el (tramp-smb-get-file-entries):
9355 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9356 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9357
9358 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9359 Update call to it.
9360 (eww-change-select): Remove unused var `properties'.
9361 (eww-make-unique-file-name): Remove unused var `base'.
9362
9363 * finder.el (finder-compile-keywords): Don't mess with windows.
9364
9365 * calculator.el (calculator-funcall): Fix typo in last change.
9366
9367 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9368
9369 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9370 <pkg>-autoloads.el file stop us.
9371
9372 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9373 warnings, and factor out common code.
9374
9375 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9376
9377 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9378 two-character operators and whether the character preceding them
9379 changes their meaning (Bug#15208).
9380
9381 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9382
9383 Format code sent to Python shell for robustness.
9384 * progmodes/python.el (python-shell-buffer-substring):
9385 New function.
9386 (python-shell-send-region, python-shell-send-buffer): Use it.
9387
9388 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9389
9390 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9391 * net/tramp.el (tramp-user-error): ... here.
9392 (tramp-find-method, tramp-check-proper-host)
9393 (tramp-dissect-file-name, tramp-debug-message)
9394 (tramp-handle-shell-command):
9395 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9397
9398 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9399
9400 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9401
9402 * avoid.el (mouse-avoidance-point-position)
9403 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9404 returns nil.
9405
9406 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9407
9408 * progmodes/python.el (python-shell-completion-get-completions):
9409 Drop use of deleted `comint-last-prompt-overlay'.
9410 (python-nav-if-name-main): New command.
9411
9412 2013-09-01 Glenn Morris <rgm@gnu.org>
9413
9414 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9415 Avoid leading space in $wins. Otherwise the sed command used by
9416 eg compile-main ends up containing "/*.el". (Bug#15170)
9417
9418 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9419
9420 2013-08-30 Glenn Morris <rgm@gnu.org>
9421
9422 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9423 Fix is-this-a-directory logic. (Bug#15220)
9424
9425 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * textmodes/css-mode.el: Use SMIE.
9428 (css-smie-grammar): New var.
9429 (css-smie--forward-token, css-smie--backward-token)
9430 (css-smie-rules): New functions.
9431 (css-mode): Use them.
9432 (css-navigation-syntax-table): Remove var.
9433 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9434 (css-indent-calculate, css-indent-line): Remove functions.
9435
9436 Misc changes to reduce use of `(lambda...); and other cleanups.
9437 * cus-edit.el: Use lexical-binding.
9438 (customize-push-and-save, customize-apropos)
9439 (custom-buffer-create-internal): Use closures.
9440 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9441 * progmodes/ada-xref.el: Use setq.
9442 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9443 * dframe.el: Use lexical-binding.
9444 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9445 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9446 * descr-text.el: Use lexical-binding.
9447 (describe-text-widget, describe-text-sexp, describe-property-list):
9448 Use closures.
9449 * comint.el (comint-history-isearch-push-state): Use a closure.
9450 * calculator.el: Use lexical-binding.
9451 (calculator-number-to-string): Make it work with lexical-binding.
9452 (calculator-funcall): Same and use cl-letf.
9453
9454 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9455 (lisp--company-doc-string, lisp--company-location): New functions.
9456 (lisp-completion-at-point): Use them to improve Company support.
9457
9458 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9459 params of lambda expressions.
9460 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9461 (ruby-smie--opening-pipe-p): New function.
9462 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9463 symbols and matched |...| for formal params.
9464 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9465 from being treated as hanging. Handle "rescue".
9466
9467 2013-08-29 Glenn Morris <rgm@gnu.org>
9468
9469 * progmodes/cc-engine.el (c-pull-open-brace):
9470 Move definition before use.
9471
9472 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9475 are immutable. Don't use `unsafe' any more.
9476 (cl--defsubst-expand): Don't substitute at the same time as keeping
9477 a residual unused let-binding. Don't use `unsafe' any more.
9478
9479 2013-08-29 Glenn Morris <rgm@gnu.org>
9480
9481 * calendar/cal-china.el (calendar-chinese-year-cache):
9482 Recenter on 2015.
9483
9484 * nxml/nxml-util.el (nxml-debug-clear-inside):
9485 Use cl-loop rather than loop.
9486
9487 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9488
9489 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9490
9491 2013-08-28 Glenn Morris <rgm@gnu.org>
9492
9493 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9494
9495 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9496
9497 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9498
9499 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * simple.el (repeat-complex-command--called-interactively-skip):
9502 New function.
9503 (repeat-complex-command): Use it (bug#14136).
9504
9505 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9506 (c-define-abbrev-table): Add `doc' argument.
9507 (c-mode-abbrev-table, c++-mode-abbrev-table)
9508 (objc-mode-abbrev-table, java-mode-abbrev-table)
9509 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9510 (awk-mode-abbrev-table): Use it.
9511 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9512 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9513 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9514 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9515 Move initialization into the declaration; and remove any
9516 autoload cookie.
9517
9518 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9519 and dynamic let binding.
9520
9521 * vc/smerge-mode.el: Remove redundant :group args.
9522
9523 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9524 to load-path.
9525
9526 2013-08-28 Juri Linkov <juri@jurta.org>
9527
9528 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9529 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9530 (isearch-other-meta-char): Handle an undefined shifted printing
9531 character by downshifting it. (Bug#15200)
9532
9533 2013-08-28 Juri Linkov <juri@jurta.org>
9534
9535 * isearch.el (isearch-search): Change regexp error message for
9536 non-regexp searches. (Bug#15166)
9537
9538 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9539
9540 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9541 for portability to hosts where /bin/sh has problems.
9542
9543 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9544
9545 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9546
9547 2013-08-27 Juri Linkov <juri@jurta.org>
9548
9549 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9550 in the keyboard macro. (Bug#15126)
9551
9552 2013-08-27 Juri Linkov <juri@jurta.org>
9553
9554 * isearch.el (isearch-quote-char): Comment out converting unibyte
9555 to multibyte, thus syncing with its `quoted-insert' counterpart.
9556 (Bug#15166)
9557
9558 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9559
9560 * window.el (display-buffer-use-some-window): Add missing
9561 argument in call of get-largest-window (Bug#15185).
9562 Reported by Stephen Leake.
9563
9564 2013-08-27 Glenn Morris <rgm@gnu.org>
9565
9566 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9567
9568 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9569
9570 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9571 from a matcher-function unless there's no more matches (bug#15161).
9572
9573 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9574
9575 * minibuffer.el: Revert change from 2013-08-20.
9576
9577 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9578 with text property `tramp-default', if appropriate.
9579 (tramp-check-proper-host): New defun.
9580 (tramp-dissect-file-name): Do not check hostname. Revert change
9581 of 2013-03-18.
9582 (tramp-backtrace): Make VEC-OR-PROC optional.
9583
9584 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9585 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9586 * net/tramp-sh.el (tramp-maybe-open-connection):
9587 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9588 Apply `tramp-check-proper-host'.
9589
9590 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9591
9592 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9593 lambda expression in order to have `describe-variable' display it.
9594
9595 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9596
9597 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9598 BUF can be optional. (Bug#15186)
9599
9600 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9601
9602 * progmodes/flymake.el (flymake-get-real-file-name-function):
9603 Fix broken customization. (Bug#15184)
9604
9605 2013-08-25 Alan Mackenzie <acm@muc.de>
9606
9607 Improve indentation of bracelists defined by macros (without "=").
9608
9609 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9610 expansion begins with "{", regard it as bracelist when it doesn't
9611 contain a ";".
9612
9613 Parse C++ inher-intro when there's a template split over 2 lines.
9614
9615 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9616 rigorously the search for "class" etc. followed by ":".
9617
9618 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9619 random languages a regexp which never matches rather than nil.
9620
9621 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9622
9623 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9624 (c-awk-regexp-one-line-possibly-open-char-list-re)
9625 (c-awk-one-line-possibly-open-regexp-re)
9626 (c-awk-one-line-non-syn-ws*-re): Remove.
9627 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9628 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9629 (c-awk-space*-unclosed-regexp-/-re): New constants.
9630 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9631 aren't regexp delimiters.
9632
9633 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9634 handling for a rare situation in AWK Mode involving unterminated
9635 strings/regexps.
9636
9637 2013-08-23 Glenn Morris <rgm@gnu.org>
9638
9639 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9640
9641 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9642
9643 * files.el (create-file-buffer): If the result would begin with
9644 spaces, prepend a "|" instead of removing them. (Bug#15162)
9645
9646 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9649 text-properties (bug#15155).
9650
9651 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9652 exist any more.
9653 (calc-keypad-redraw): Remove unused var `pad'.
9654 (calc-keypad-press): Remove unused var `menu'.
9655
9656 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9657
9658 * window.el (display-buffer-pop-up-frame):
9659 Call pop-up-frame-function with BUFFER current so `make-frame' will
9660 use it as the new frame's buffer (Bug#15133).
9661
9662 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9663
9664 * calendar/timeclock.el: Minor cleanups.
9665 (timeclock-ask-before-exiting, timeclock-use-display-time):
9666 Use `symbol'.
9667 (timeclock-modeline-display): Define as alias before the
9668 actual definition.
9669 (timeclock-mode-line-display): Use define-minor-mode.
9670 (timeclock-day-list-template): Make it a function, add an argument.
9671 (timeclock-day-list-required, timeclock-day-list-length)
9672 (timeclock-day-list-debt, timeclock-day-list-span)
9673 (timeclock-day-list-break): Adjust calls accordingly.
9674
9675 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9678 Use read--expression so that completion works again.
9679
9680 2013-08-21 Sam Steingold <sds@gnu.org>
9681
9682 Add rudimentary inferior shell interaction
9683 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9684 (sh-set-shell): Reset it.
9685 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9686 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9687
9688 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9689
9690 * align.el: Use lexical-binding.
9691 (align-region): Simplify accordingly.
9692
9693 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9694
9695 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9696
9697 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9698 `non-essential' up.
9699
9700 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9701
9702 * net/tramp.el:
9703 * net/tramp-adb.el:
9704 * net/tramp-cmds.el:
9705 * net/tramp-ftp.el:
9706 * net/tramp-gvfs.el:
9707 * net/tramp-gw.el:
9708 * net/tramp-sh.el: Don't wrap external variable declarations by
9709 `eval-when-compile'.
9710
9711 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9712
9713 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9714 now that Emacs supports ImageMagick animations.
9715
9716 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9717
9718 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9719 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9720
9721 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9722
9723 * window.el (mouse-autoselect-window-select): Do autoselect when
9724 mouse pointer is on margin.
9725
9726 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9727
9728 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9729
9730 2013-08-16 Glenn Morris <rgm@gnu.org>
9731
9732 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9733 Handle "Remote Directory" response of some clients. (Bug#15058)
9734
9735 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9736 Tweak warning. (Bug#14926)
9737
9738 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9739 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9740
9741 * image-mode.el (image-mode-map): Add menu items to reverse,
9742 increase, decrease, reset animation speed.
9743 (image--set-speed, image-increase-speed, image-decrease-speed)
9744 (image-reverse-speed, image-reset-speed): New functions.
9745 (image-mode-map): Add bindings for speed commands.
9746
9747 * image.el (image-animate-get-speed, image-animate-set-speed):
9748 New functions.
9749 (image-animate-timeout): Respect image :speed property.
9750
9751 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9754 previous line (bug#15101).
9755 (debugger-eval-expression, debugger-record-expression):
9756 Use read--expression (bug#15102).
9757
9758 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9759
9760 Remove byte compiler warnings, visible when compiling with
9761 `byte-compile-force-lexical-warnings' set to t.
9762
9763 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9764 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9765 (tramp-handle-unhandled-file-name-directory)
9766 (tramp-handle-file-notify-add-watch, tramp-action-login)
9767 (tramp-action-succeed, tramp-action-permission-denied)
9768 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9769 arguments with "_".
9770
9771 * net/tramp-adb.el (tramp-adb-parse-device-names)
9772 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9773 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9774 (tramp-adb-handle-file-truename): Remove unused arguments.
9775
9776 * net/tramp-cache.el (tramp-flush-directory-property)
9777 (tramp-flush-connection-property, tramp-list-connections)
9778 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9779
9780 * net/tramp-compat.el (tramp-compat-make-temp-file):
9781 Rename FILENAME to F.
9782
9783 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9784 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9785 (tramp-zeroconf-parse-workstation-device-names)
9786 (tramp-zeroconf-parse-webdav-device-names)
9787 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9788
9789 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9790 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9791
9792 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9793 arguments.
9794 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9795 (tramp-sh-handle-insert-file-contents-literally)
9796 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9797 with "_".
9798 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9799 Remove unused variables.
9800
9801 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9802 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9803 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9804
9805 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9806 Make them a defconst.
9807 (tramp-uuencode-region): Remove unused variable.
9808
9809 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9810
9811 * frameset.el (frameset--prop-setter): New function.
9812 (frameset-prop): Add gv-setter declaration.
9813 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9814 parameter was already set in FILTERED. Doc fix.
9815 (frameset--record-minibuffer-relationships): Allow saving a
9816 minibufferless frame without its corresponding minibuffer frame.
9817 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9818 frame, if the frame id matches.
9819 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9820 frames before orphaned ones.
9821 (frameset-restore): Warn about orphaned windows, instead of error out.
9822
9823 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9824
9825 * window.el (window-make-atom): Don't overwrite parameter
9826 already present.
9827 (display-buffer-in-atom-window): Handle special case where we
9828 split an already atomic window.
9829 (window--major-non-side-window, display-buffer-in-side-window)
9830 (window--side-check): Ignore minibuffer window when walking
9831 window tree.
9832 (window-deletable-p): Return 'frame only if no other frame uses
9833 our minibuffer window.
9834 (record-window-buffer): Run buffer-list-update-hook.
9835 (split-window): Make sure window--check-frame won't destroy an
9836 existing atomic window in case the new window gets nested
9837 inside.
9838 (display-buffer-at-bottom): Ignore minibuffer window when
9839 walking window tree. Don't split a side window.
9840 (pop-to-buffer): Don't set-buffer here, the select-window call
9841 should do that.
9842 (mouse-autoselect-window-select): Autoselect only if we are in the
9843 text portion of the window.
9844
9845 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9846
9847 * net/shr.el (shr-parse-image-data): New function to grab both the
9848 data itself and the Content-Type.
9849 (shr-put-image): Use it.
9850
9851 * net/eww.el (eww-display-image): Ditto.
9852
9853 * image.el (image-content-type-suffixes): New variable.
9854
9855 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9856
9857 * progmodes/python.el (python-imenu--build-tree)
9858 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9859
9860 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9861
9862 * simple.el (backward-word): Mention the optional argument.
9863
9864 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9865
9866 * frameset.el (frameset--make): Rename constructor from make-frameset.
9867 (frameset-p, frameset-valid-p): Don't autoload.
9868 (frameset-valid-p): Use normal accessors.
9869
9870 2013-08-13 Glenn Morris <rgm@gnu.org>
9871
9872 * progmodes/compile.el (compile-command): Tweak example in doc.
9873 * obsolete/scribe.el (scribe-mode):
9874 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9875
9876 * mail/feedmail.el (feedmail-confirm-outgoing)
9877 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9878
9879 * cus-start.el (truncate-partial-width-windows): Fix type.
9880
9881 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9882
9883 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9884
9885 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * emacs-lisp/timer.el (timer--time-setter): New function.
9888 (timer--time): Use it as gv-setter.
9889
9890 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9891 setter is not a symbol.
9892
9893 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9894
9895 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9896 if sending fails. This makes debugging easier.
9897
9898 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9899
9900 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9901 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9902 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9903
9904 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9905
9906 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9907
9908 2013-08-12 Glenn Morris <rgm@gnu.org>
9909
9910 * format.el (format-annotate-function):
9911 Handle read-only text properties in the source. (Bug#14887)
9912
9913 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9914
9915 * net/eww.el (eww-display-html): Ignore coding system errors.
9916 One web site uses "utf-8lias" as the coding system.
9917
9918 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9919
9920 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9921
9922 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9923
9924 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9925 (tutorial--detailed-help): Remove unused local variables.
9926 (tutorial--save-tutorial-to): Use ignore-errors.
9927 (help-with-tutorial): Use looking-at-p.
9928
9929 * view.el (view-buffer-other-window, view-buffer-other-frame):
9930 Mark unused arguments.
9931
9932 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9933 (woman-select-symbol-fonts, woman, woman-find-file)
9934 (woman-insert-file-contents, woman-non-underline-faces):
9935 Use string-match-p.
9936 (woman1-unquote): Move declaration.
9937
9938 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9939 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9940 argument. Remove unused local variable.
9941 (xml-parse-elem-type): Use string-match-p.
9942 (xml-substitute-numeric-entities): Use ignore-errors.
9943
9944 * calculator.el (calculator): Mark unused argument.
9945 (calculator-paste, calculator-quit, calculator-integer-p):
9946 Use ignore-errors.
9947 (calculator-string-to-number, calculator-decimal, calculator-exp)
9948 (calculator-op-or-exp): Use string-match-p.
9949
9950 * dired.el (dired-buffer-more-recently-used-p): Declare.
9951 (dired-insert-set-properties, dired-insert-old-subdirs):
9952 Use ignore-errors.
9953
9954 * dired-aux.el (dired-compress): Use ignore-errors.
9955 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9956 (dired-do-async-shell-command, dired-do-shell-command)
9957 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9958 (dired-insert-subdir-validate): Use string-match-p.
9959 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9960 (dired-add-entry): Use string-match-p, looking-at-p.
9961 (dired-insert-subdir-newpos): Remove unused local variable.
9962
9963 * filenotify.el (file-notify-callback): Remove unused local variable.
9964
9965 * filesets.el (filesets-error): Mark unused argument.
9966 (filesets-which-command-p, filesets-filter-dir-names)
9967 (filesets-directory-files, filesets-get-external-viewer)
9968 (filesets-ingroup-get-data): Use string-match-p.
9969
9970 * find-file.el (ff-other-file-name, ff-other-file-name)
9971 (ff-find-the-other-file, ff-cc-hh-converter):
9972 Remove unused local variables.
9973 (ff-get-file-name): Use string-match-p.
9974 (ff-all-dirs-under): Use ignore-errors.
9975
9976 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9977 (follow-select-if-visible): Remove unused local variable.
9978
9979 * forms.el (read-file-filter): Move declaration.
9980 (forms--make-format, forms--make-parser, forms-insert-record):
9981 Quote function with #'.
9982 (forms--update): Use string-match-p. Quote function with #'.
9983
9984 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9985 (help-make-xrefs): Use looking-at-p.
9986 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9987
9988 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9989 (ibuffer-confirm-operation-on): Use string-match-p.
9990
9991 * msb.el (msb-item-handler, msb-dired-item-handler):
9992 Mark unused arguments.
9993
9994 * ses.el (ses-decode-cell-symbol)
9995 (ses-kill-override): Remove unused local variable.
9996 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9997 (ses-load): Use ignore-errors, looking-at-p.
9998 (ses-jump-safe): Use ignore-errors.
9999 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10000
10001 * tabify.el (untabify, tabify): Mark unused arguments.
10002
10003 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10004 Mark unused argument.
10005 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10006 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10007
10008 * emacs-lisp/timer.el (timer--time): Define setter with
10009 gv-define-setter to avoid deprecation warning.
10010
10011 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10012 (*record-cmpl-statistics-p*): Remove (was commented out).
10013 (cmpl-statistics-block): Remove (body was commented out).
10014 All callers changed.
10015 (add-completions-from-buffer, load-completions-from-file):
10016 Remove unused variables.
10017
10018 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10019
10020 * filecache.el (file-cache-delete-file-list):
10021 Print message only when told so.
10022 (file-cache-files-matching): Use #' in mapconcat argument.
10023
10024 * ffap.el (ffap-url-at-point): Fix reference to variable
10025 thing-at-point-default-mail-uri-scheme.
10026
10027 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * subr.el (define-error): New function.
10030 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10031 error-file-not-found and define with define-error.
10032 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10033 and define with define-error.
10034 * userlock.el (file-locked, file-supersession):
10035 * simple.el (mark-inactive):
10036 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10037 * progmodes/ada-mode.el (ada-mode-errors):
10038 * play/life.el (life-extinct):
10039 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10040 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10041 * nxml/rng-util.el (rng-error):
10042 * nxml/rng-uri.el (rng-uri-error):
10043 * nxml/rng-match.el (rng-compile-error):
10044 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10045 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10046 * nxml/nxml-rap.el (nxml-scan-error):
10047 * nxml/nxml-outln.el (nxml-outline-error):
10048 * net/soap-client.el (soap-error):
10049 * net/gnutls.el (gnutls-error):
10050 * net/ange-ftp.el (ftp-error):
10051 * mpc.el (mpc-proc-error):
10052 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10053 (json-number-format, json-string-escape, json-string-format)
10054 (json-key-format, json-object-format):
10055 * jka-compr.el (compression-error):
10056 * international/quail.el (quail-error):
10057 * international/kkc.el (kkc-error):
10058 * emacs-lisp/ert.el (ert-test-failed):
10059 * calc/calc.el (calc-error, inexact-result, math-overflow)
10060 (math-underflow):
10061 * bookmark.el (bookmark-error-no-filename):
10062 * epg.el (epg-error): Define with define-error.
10063
10064 * time.el (display-time-event-handler)
10065 (display-time-next-load-average): Don't call sit-for since it seems
10066 unnecessary (bug#15045).
10067
10068 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10069 Use #' instead of ' to quote functions.
10070 (checkdoc-output-mode): Use setq-local.
10071 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10072 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10073 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10074 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10075 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10076 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10077 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10078 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10079
10080 * ido.el (ido-completion-help): Fix up compiler warning.
10081
10082 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10083
10084 * frameset.el (frameset-p): Add autoload cookie.
10085 (frameset--jump-to-register): New function, based on code moved from
10086 register.el.
10087 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10088
10089 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10090 (frameset-restore, frameset-save, frameset-session-filter-alist):
10091 Remove declarations.
10092 (register-alist): Doc fix.
10093 (frameset-to-register): Move to frameset.el.
10094 (jump-to-register, describe-register-1): Remove frameset-specific code.
10095
10096 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10097
10098 * allout-widgets.el (allout-widgets-pre-command-business)
10099 (allout-widgets-post-command-business)
10100 (allout-widgets-after-change-handler)
10101 (allout-decorate-item-and-context, allout-set-boundary-marker)
10102 (allout-body-modification-handler)
10103 (allout-graphics-modification-handler): Mark ignored arguments.
10104 (allout-widgets-post-command-business)
10105 (allout-widgets-exposure-change-processor)
10106 (allout-widgets-exposure-undo-processor)
10107 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10108 (allout-parse-item-at-point, allout-decorate-item-guides)
10109 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10110 * allout.el (epa-passphrase-callback-function): Declare.
10111 (allout-overlay-insert-in-front-handler)
10112 (allout-overlay-interior-modification-handler)
10113 (allout-isearch-end-handler, allout-chart-siblings)
10114 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10115 (allout-yank-processing, allout-process-exposed)
10116 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10117 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10118 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10119 (lisp-indent-defform): Mark ignored arguments.
10120 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10121 (calculate-lisp-indent): Remove unused variables.
10122 * international/characters.el (indian-2-column, arabic-2-column)
10123 (tibetan): Mark ignored arguments.
10124 (use-cjk-char-width-table): Mark ignored arguments.
10125 Remove unused variables.
10126 * international/fontset.el (build-default-fontset-data)
10127 (x-compose-font-name, create-fontset-from-fontset-spec):
10128 Mark ignored arguments.
10129 (fontset-plain-name): Remove unused variables.
10130 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10131 (keyboard-coding-system): Mark ignored arguments.
10132 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10133 * help.el (resize-temp-buffer-window):
10134 * window.el (display-buffer-in-major-side-window)
10135 (display-buffer-in-side-window, display-buffer-in-previous-window):
10136 Remove unused variables.
10137 * isearch.el (isearch-forward-symbol):
10138 * version.el (emacs-bzr-version-bzr):
10139 * international/mule-cmds.el (current-language-environment):
10140 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10141 (x-handle-display):
10142 * term/pc-win.el (x-list-fonts, x-display-planes)
10143 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10144 (x-server-version, x-display-screens, x-display-mm-height)
10145 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10146 (x-selection-owner-p, x-own-selection-internal)
10147 (x-disown-selection-internal, x-get-selection-internal)
10148 (msdos-initialize-window-system):
10149 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10150 * term/x-win.el (x-handle-no-bitmap-icon):
10151 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10152 (vc-default-find-file-hook, vc-default-extra-menu):
10153 Mark ignored arguments.
10154
10155 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10156
10157 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10158 break-condition in the context of the debugged code (bug#12685).
10159
10160 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10161
10162 * comint.el:
10163 Do not use an overlay to highlight the last prompt. (Bug#14744)
10164 (comint-mode): Make comint-last-prompt buffer local.
10165 (comint-last-prompt): New variable.
10166 (comint-last-prompt-overlay): Remove. Superseded by
10167 comint-last-prompt.
10168 (comint-snapshot-last-prompt, comint-output-filter):
10169 Use comint-last-prompt.
10170
10171 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10172
10173 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10174 (frameset-save): Check validity of the resulting frameset.
10175
10176 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10177
10178 * ido.el (ido-record-command): Add doc string.
10179
10180 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10181
10182 * frameset.el (frameset): Do not disable creation of the default
10183 frameset-p predicate. Doc fix.
10184 (frameset-valid-p): New function, copied from the old predicate-p.
10185 Add additional checks.
10186 (frameset-restore): Check with frameset-valid-p.
10187 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10188 (frameset-name, frameset-description, frameset-properties)
10189 (frameset-states): Add docstring.
10190 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10191 (frameset-filter-alist): Doc fixes.
10192
10193 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10194
10195 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10196
10197 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10200 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10201 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10202 (byte-compile-normal-call): Remove obsolescence check.
10203
10204 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10205
10206 * frameset.el (frameset-restore): Doc fix.
10207
10208 * register.el (frameset-frame-id, frameset-frame-with-id)
10209 (frameset-p, frameset-restore, frameset-save): Declare.
10210 (register-alist): Document framesets.
10211 (frameset-session-filter-alist): Declare.
10212 (frameset-to-register): New function.
10213 (jump-to-register): Implement jumping to framesets. Doc fix.
10214 (describe-register-1): Describe framesets.
10215
10216 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10217
10218 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10219
10220 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10221 Use lexical-binding.
10222
10223 * frameset.el (frameset): Use type vector, not list (incompatible
10224 change). Do not declare a new constructor, use the default one.
10225 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10226 `name' and `description', respectively, and add read-only slot
10227 `timestamp'. Doc fixes.
10228 (frameset-copy, frameset-persistent-filter-alist)
10229 (frameset-filter-alist, frameset-switch-to-gui-p)
10230 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10231 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10232 (frameset-filter-iconified, frameset-keep-original-display-p):
10233 Doc fixes.
10234 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10235 Rename from frameset-filter-(save|restore)-param. All callers changed.
10236 Doc fix.
10237 (frameset-p): Adapt to change to vector and be more thorough.
10238 Change arg name to OBJECT. Doc fix.
10239 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10240 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10241 All callers changed.
10242 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10243 All callers changed.
10244 (frameset--record-minibuffer-relationships): Rename from
10245 frameset--process-minibuffer-frames. All callers changed.
10246 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10247 Use new default constructor (again). Doc fix.
10248 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10249 All callers changed.
10250 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10251 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10252 Doc fix.
10253 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10254 PARAMETERS and WINDOW-STATE, respectively.
10255 (frameset-restore): Add new keyword argument PREDICATE.
10256 Reset frameset--target-display to nil. Doc fix.
10257
10258 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10261 (bat-mode): Use it.
10262 (bat-mode-syntax-table): Mark \n as end-of-comment.
10263 (bat-font-lock-keywords): Remove comment rule.
10264
10265 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10266 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10267
10268 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10269 (byte-compile-callargs-warn): Use `push'.
10270 (byte-compile-arglist-warn): Ignore higher-order "calls".
10271 (byte-compile-file-form-autoload): Use `pcase'.
10272 (byte-compile-function-form): If quoting a symbol, check that it exists.
10273
10274 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10275
10276 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10277 and add a few popular commands found in batch files.
10278 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10279 (dos-mode): Doc fixes.
10280
10281 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10284 (dos-mode): Use setq-local. Add space after "rem".
10285 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10286 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10287
10288 2013-08-07 Arni Magnusson <arnima@hafro.is>
10289
10290 * progmodes/dos.el: New file.
10291 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10292 dos-mode.
10293
10294 2013-08-06 Glenn Morris <rgm@gnu.org>
10295
10296 * calendar/calendar.el: Add new faces, and day-header-array.
10297 (calendar-weekday-header, calendar-weekend-header)
10298 (calendar-month-header): New faces.
10299 (calendar-day-header-construct): New function.
10300 (calendar-day-header-width): Also :set calendar-day-header-array.
10301 (calendar-american-month-header, calendar-european-month-header)
10302 (calendar-iso-month-header): Use calendar- faces.
10303 (calendar-generate-month):
10304 Use calendar-day-header-array for day headers; apply faces to them.
10305 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10306 (calendar-abbrev-construct): Add optional maxlen argument.
10307 (calendar-day-name-array): Doc fix.
10308 (calendar-day-name-array, calendar-abbrev-length)
10309 (calendar-day-abbrev-array):
10310 Also :set calendar-day-header-array, and maybe redraw.
10311 (calendar-day-header-array): New option. (Bug#15007)
10312 (calendar-font-lock-keywords): Set to nil and make obsolete.
10313 (calendar-day-name): Add option to use header array.
10314
10315 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10316
10317 * net/shr.el (shr-render-td): Remove debugging.
10318 (shr-render-td): Make width computation consistent by defaulting
10319 all zero-width columns to 10 characters. This may not be optimal,
10320 but it's at least consistent.
10321 (shr-make-table-1): Redo last change to fix the real problem in
10322 colspan handling.
10323
10324 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10325
10326 * files.el (cache-long-line-scans):
10327 Make obsolete alias to `cache-long-scans'.
10328
10329 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10330
10331 * frameset.el (frameset, frameset-filter-alist)
10332 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10333 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10334 (frameset-compute-pos): Rename from frameset--compute-pos,
10335 and add docstring.
10336 (frameset-move-onscreen): Use frameset-compute-pos.
10337 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10338
10339 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10340 Fix typos in docstrings.
10341
10342 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10343
10344 * frame.el (get-other-frame): Tiny cleanup.
10345
10346 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10347
10348 * vc/vc.el (vc-default-ignore-completion-table):
10349 Silence byte-compiler warning.
10350
10351 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10352 slot, which can indeed be nil.
10353 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10354 Move entry for `left' from persistent to live filter alist.
10355 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10356 Doc fixes.
10357 (frameset-filter-params): When restoring a frame, copy items added to
10358 `filtered', to avoid unwittingly modifying the original parameters.
10359 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10360 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10361
10362 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10363 to use looking-at-p instead of looking-at. (Bug#15028)
10364
10365 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10366
10367 Revert introduction of isearch-filter-predicates (bug#14714).
10368 Rely on add-function instead.
10369 * isearch.el (isearch-filter-predicates): Rename it back to
10370 isearch-filter-predicate.
10371 (isearch-message-prefix): Use advice-function-mapc and advice
10372 properties to get the isearch-message-prefix.
10373 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10374 instead of run-hook-with-args-until-failure.
10375 (isearch-filter-visible): Not obsolete any more.
10376 * loadup.el: Preload nadvice.
10377 * replace.el (perform-replace): Revert to funcall
10378 instead of run-hook-with-args-until-failure.
10379 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10380 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10381 dired-isearch-filenames-toggle; make it into a proper minor mode.
10382 Use add/remove-function.
10383 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10384 Call the minor-mode rather than add/remove-hook.
10385 (dired-isearch-filter-filenames):
10386 Remove isearch-message-prefix property.
10387 * info.el (Info--search-loop): New function, extracted from Info-search.
10388 Funcall isearch-filter-predicate instead of
10389 run-hook-with-args-until-failure isearch-filter-predicates.
10390 (Info-search): Use it.
10391 (Info-mode): Use isearch-filter-predicate instead of
10392 isearch-filter-predicates.
10393
10394 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10395
10396 Do not call to `selected-window' where it is assumed by default.
10397 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10398 `window-hscroll', `window-width', `window-height', `window-buffer',
10399 `window-frame', `window-start', `window-point', `next-window'
10400 and `window-display-table'.
10401 * abbrev.el (abbrev--default-expand):
10402 * bs.el (bs--show-with-configuration):
10403 * buff-menu.el (Buffer-menu-mouse-select):
10404 * calc/calc.el (calc):
10405 * calendar/calendar.el (calendar-generate-window):
10406 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10407 (diary-make-entry):
10408 * comint.el (send-invisible, comint-dynamic-complete-filename)
10409 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10410 * completion.el (complete):
10411 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10412 * disp-table.el (describe-current-display-table):
10413 * doc-view.el (doc-view-insert-image):
10414 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10415 * ehelp.el (with-electric-help):
10416 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10417 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10418 * emacs-lisp/helper.el (Helper-help-scroller):
10419 * emulation/cua-base.el (cua--post-command-handler-1):
10420 * eshell/esh-mode.el (eshell-output-filter):
10421 * ffap.el (ffap-gnus-wrapper):
10422 * help-macro.el (make-help-screen):
10423 * hilit-chg.el (highlight-compare-buffers):
10424 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10425 * hl-line.el (global-hl-line-highlight):
10426 * icomplete.el (icomplete-simple-completing-p):
10427 * isearch.el (isearch-done):
10428 * jit-lock.el (jit-lock-stealth-fontify):
10429 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10430 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10431 * mpc.el (mpc-tagbrowser, mpc):
10432 * net/rcirc.el (rcirc-any-buffer):
10433 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10434 * play/landmark.el (landmark-max-width, landmark-max-height):
10435 * play/zone.el (zone):
10436 * progmodes/compile.el (compilation-goto-locus):
10437 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10438 * progmodes/etags.el (find-tag-other-window):
10439 * progmodes/fortran.el (fortran-column-ruler):
10440 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10441 * progmodes/verilog-mode.el (verilog-point-text):
10442 * reposition.el (reposition-window):
10443 * rot13.el (toggle-rot13-mode):
10444 * server.el (server-switch-buffer):
10445 * shell.el (shell-dynamic-complete-command)
10446 (shell-dynamic-complete-environment-variable):
10447 * simple.el (insert-buffer, set-selective-display)
10448 (delete-completion-window):
10449 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10450 (speedbar-recenter):
10451 * startup.el (fancy-splash-head):
10452 * textmodes/ispell.el (ispell-command-loop):
10453 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10454 * tutorial.el (help-with-tutorial):
10455 * vc/add-log.el (add-change-log-entry):
10456 * vc/compare-w.el (compare-windows):
10457 * vc/ediff-help.el (ediff-indent-help-message):
10458 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10459 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10460 (ediff-setup-control-frame):
10461 * vc/emerge.el (emerge-position-region):
10462 * vc/pcvs-util.el (cvs-bury-buffer):
10463 * window.el (walk-windows, mouse-autoselect-window-select):
10464 * winner.el (winner-set-conf, winner-undo): Related users changed.
10465
10466 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10467
10468 * frameset.el (frameset--set-id): Doc fix.
10469 (frameset-frame-id, frameset-frame-id-equal-p)
10470 (frameset-locate-frame-id): New functions.
10471 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10472 (frameset-restore): Use them.
10473
10474 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10475
10476 Do not call to `selected-frame' where it is assumed by default.
10477 Affected functions are `raise-frame', `redraw-frame',
10478 `frame-first-window', `frame-terminal' and `delete-frame'.
10479 * calendar/appt.el (appt-disp-window):
10480 * epg.el (epg-wait-for-completion):
10481 * follow.el (follow-delete-other-windows-and-split)
10482 (follow-avoid-tail-recenter):
10483 * international/mule.el (set-terminal-coding-system):
10484 * mail/rmail.el (rmail-mail-return):
10485 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10486 * progmodes/f90.el (f90-add-imenu-menu):
10487 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10488 * server.el (server-switch-buffer):
10489 * simple.el (delete-completion-window):
10490 * talk.el (talk):
10491 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10492 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10493 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10494 * vc/ediff.el (ediff-documentation): Related users changed.
10495 * frame.el (selected-terminal): Remove the leftover.
10496
10497 2013-08-05 Glenn Morris <rgm@gnu.org>
10498
10499 * calendar/calendar.el (calendar-generate-month):
10500 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10501 (calendar-generate-month, calendar-font-lock-keywords):
10502 Fix for calendar-day-header-width > length of any day name.
10503
10504 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10505
10506 * desktop.el (desktop-clear): Use new name of sort predicate.
10507
10508 * frameset.el (frameset): Add docstring. Move :version property to its
10509 own `version' slot.
10510 (frameset-copy): Rename from copy-frameset.
10511 (frameset-p): Check more thoroughly.
10512 (frameset-prop): Do not check for :version, which is no longer a prop.
10513 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10514 Use new :never value instead of t.
10515 (frameset-filter-alist): Expand and clarify docstring.
10516 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10517 (frameset-filter-minibuffer, frameset-filter-save-param)
10518 (frameset-filter-restore-param, frameset-filter-iconified):
10519 Add pointer to docstring of frameset-filter-alist.
10520 (frameset-filter-params): Rename filter values to be more meaningful:
10521 :never instead of t, and reverse the meanings of :save and :restore.
10522 (frameset--process-minibuffer-frames): Clarify error message.
10523 (frameset-save): Avoid unnecessary and confusing call to framep.
10524 Use new BOA constructor for framesets.
10525 (frameset--reuse-list): Doc fix.
10526 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10527 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10528 (frameset-minibufferless-first-p): Doc fix.
10529 Rename from frameset-sort-frames-for-deletion.
10530 (frameset-restore): Doc fixes. Use new function names.
10531 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10532
10533 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10534
10535 * desktop.el (desktop-restore-forces-onscreen)
10536 (desktop-restore-reuses-frames): Document :keyword constant values.
10537 (desktop-filter-parameters-alist): Remove, now identical to
10538 frameset-filter-alist.
10539 (desktop--filter-tty*): Remove, moved to frameset.el.
10540 (desktop-save-frameset, desktop-restore-frameset):
10541 Do not pass :filters argument.
10542
10543 * frameset.el (frameset-live-filter-alist)
10544 (frameset-persistent-filter-alist): New variables.
10545 (frameset-filter-alist): Use them. Add autoload cookie.
10546 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10547 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10548 `frameset--id' (it's supposed to be internal to frameset.el).
10549 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10550 (frameset--initial-params): New function.
10551 (frameset--get-frame): Use it. Doc fix.
10552 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10553 Accept :all, not 'all.
10554 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10555 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10556 with fbound symbols. Fix frame id matching, and remove matching ids if
10557 the frame being restored is deleted. Obey :delete.
10558
10559 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10560
10561 * subr.el (macrop): New function.
10562 (text-clone--maintaining): New var.
10563 (text-clone--maintain): Rename from text-clone-maintain. Use it
10564 instead of inhibit-modification-hooks.
10565
10566 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10567 a proxy, so as handle autoloads and redefinitions of the target.
10568 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10569
10570 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10571 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10572 (pcase--mutually-exclusive-p): New function.
10573 (pcase--split-consp): Use it.
10574 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10575 mutually exclusive with the current predicate.
10576
10577 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10578 (edebug-macrop): Remove. Use `macrop' instead.
10579 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10580 (ad-macro-p):
10581 * eshell/esh-cmd.el (eshell-macrop):
10582 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10583
10584 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10587 (advice-mapc): New function, using it.
10588 (advice-function-member-p): New function.
10589 (advice--normalize): Store the cdr in advice--saved-rewrite since
10590 that's the part that will be changed.
10591 (advice--symbol-function): New function.
10592 (advice-remove): Handle removal before the function is defined.
10593 Adjust to new advice--saved-rewrite.
10594 (advice-member-p): Use advice-function-member-p and
10595 advice--symbol-function.
10596
10597 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10598
10599 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10600 (frameset-filter-minibuffer): Doc fix.
10601 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10602 (frameset--set-id, frameset--process-minibuffer-frames)
10603 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10604 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10605
10606 * desktop.el (desktop-clear): Only delete frames when called
10607 interactively and desktop-restore-frames is non-nil. Doc fix.
10608 (desktop-read): Set desktop-saved-frameset to nil.
10609
10610 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10611
10612 * vc/vc.el (vc-ignore): Rewrite.
10613 (vc-default-ignore-completion-table, vc--read-lines)
10614 (vc--add-line, vc--remove-regexp): New functions.
10615
10616 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10617 (vc-svn-ignore-completion-table): New function.
10618
10619 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10620 (vc-hg-ignore-completion-table)
10621 (vc-hg-find-ignore-file): New functions.
10622
10623 * vc/vc-git.el (vc-git-ignore): Rewrite.
10624 (vc-git-ignore-completion-table)
10625 (vc-git-find-ignore-file): New functions.
10626
10627 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10628
10629 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10630 (vc-bzr-ignore-completion-table)
10631 (vc-bzr-find-ignore-file): New functions.
10632
10633 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10634
10635 * frameset.el (frameset-prop): New function and setter.
10636 (frameset-save): Do not modify frame list passed by the caller.
10637
10638 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10639
10640 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10641
10642 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10645 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10646
10647 * custom.el (custom-initialize-default, custom-initialize-set)
10648 (custom-initialize-reset, custom-initialize-changed): Affect the
10649 toplevel-default-value (bug#6275, bug#14586).
10650 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10651 for bug#6275.
10652
10653 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10654
10655 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10656 Add cl-def* expressions.
10657
10658 * frameset.el (frameset-filter-params): Fix order of arguments.
10659
10660 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10661
10662 Move code related to saving frames to frameset.el.
10663 * desktop.el: Require frameset.
10664 (desktop-restore-frames): Doc fix.
10665 (desktop-restore-reuses-frames): Rename from
10666 desktop-restoring-reuses-frames.
10667 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10668 (desktop-clear): Clear frames too.
10669 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10670 (desktop--filter-tty*, desktop-save, desktop-read):
10671 Use frameset functions.
10672 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10673 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10674 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10675 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10676 (desktop--process-minibuffer-frames, desktop-save-frames)
10677 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10678 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10679 (desktop--sort-states, desktop-restoring-frames-p)
10680 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10681 (desktop-restoring-frameset-p, desktop-restore-frameset)
10682 (desktop--check-dont-save, desktop-save-frameset): New functions.
10683 (desktop--app-id): New constant.
10684 (desktop-first-buffer, desktop-buffer-ok-count)
10685 (desktop-buffer-fail-count): Move before first use.
10686 * frameset.el: New file.
10687
10688 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * files.el: Use lexical-binding.
10691 (dir-locals-read-from-file): Remove unused `err' variable.
10692 (hack-dir-local-variables--warned-coding): New var.
10693 (hack-dir-local-variables): Use it to avoid repeated warnings.
10694 (make-backup-file-name--default-function): New function.
10695 (make-backup-file-name-function): Use it as default.
10696 (buffer-stale--default-function): New function.
10697 (buffer-stale-function): Use it as default.
10698 (revert-buffer-insert-file-contents--default-function): New function.
10699 (revert-buffer-insert-file-contents-function): Use it as default.
10700 (insert-directory): Avoid add-to-list.
10701
10702 * autorevert.el (auto-revert-handler): Simplify.
10703 Use buffer-stale--default-function.
10704
10705 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10706
10707 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10708
10709 * whitespace.el (whitespace-ensure-local-variables): New function.
10710 (whitespace-cleanup-region): Call it.
10711 (whitespace-turn-on): Call it.
10712
10713 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10714
10715 Complete file name handlers.
10716
10717 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10718 (tramp-handle-verify-visited-file-modtime)
10719 (tramp-handle-file-notify-rm-watch): New functions.
10720 (tramp-call-process): Do not bind `default-directory'.
10721
10722 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10723 Order alphabetically.
10724 <access-file, add-name-to-file, dired-call-process>:
10725 <dired-compress-file, file-acl, file-notify-rm-watch>:
10726 <file-ownership-preserved-p, file-selinux-context>:
10727 <make-directory-internal, make-symbolic-link, set-file-acl>:
10728 <set-file-selinux-context, set-visited-file-modtime>:
10729 <verify-visited-file-modtime>: Add handler.
10730 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10731
10732 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10733 <file-notify-add-watch, file-notify-rm-watch>:
10734 <set-file-times, set-visited-file-modtime>:
10735 <verify-visited-file-modtime>: Add handler.
10736 (with-tramp-gvfs-error-message)
10737 (tramp-gvfs-handle-set-visited-file-modtime)
10738 (tramp-gvfs-fuse-file-name): Remove.
10739 (tramp-gvfs-handle-file-notify-add-watch)
10740 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10741 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10742
10743 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10744 Order alphabetically.
10745 <file-notify-rm-watch>: Use default Tramp handler.
10746 <executable-find>: Remove private handler.
10747 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10748 `default-directory'.
10749 (tramp-sh-handle-executable-find)
10750 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10751 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10752 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10753 Do not use `format' in `tramp-message'.
10754
10755 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10756 <file-notify-rm-watch, set-visited-file-modtime>:
10757 <verify-visited-file-modtime>: Add handler.
10758 (tramp-smb-call-winexe): Do not bind `default-directory'.
10759
10760 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10761
10762 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10763
10764 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10765
10766 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10767 use it.
10768 (log-view-diff-changeset): Same.
10769 (log-view-diff-common): Call backend command `previous-revision'
10770 to find out the previous revision, in both cases. Swap the
10771 variables `to' and `fr', so that `fr' usually refers to the
10772 earlier revision (Bug#14989).
10773
10774 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10775
10776 * ibuf-ext.el (ibuffer-filter-by-filename):
10777 Make it work with dired buffers too.
10778
10779 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10780
10781 * emacs-lisp/re-builder.el (reb-color-display-p):
10782 * files.el (save-buffers-kill-terminal):
10783 * net/browse-url.el (browse-url):
10784 * server.el (server-save-buffers-kill-terminal):
10785 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10786 Prefer nil to selected-frame for the first arg of frame-parameter.
10787
10788 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10789
10790 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10791
10792 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10793
10794 * minibuffer.el (completion--twq-all): Try and preserve each
10795 completion's case choice (bug#14907).
10796
10797 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10798
10799 * net/network-stream.el (open-network-stream): Mention the new
10800 :nogreeting parameter.
10801 (network-stream-open-starttls): Use the :nogreeting parameter
10802 (bug#14938).
10803
10804 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10805
10806 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10807 more natural than popping.
10808
10809 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10810 (shr-urlify): Highlight under mouse.
10811
10812 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10813
10814 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10815
10816 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10817
10818 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10819 buffer for output.
10820
10821 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10822 point-min==1. Fix search string. Fix parentheses missing.
10823
10824 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10825 assume point-min==1. Fix search string. Fix parentheses missing.
10826
10827 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10828
10829 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10830 buffer for output.
10831
10832 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10833
10834 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10835 initial frame is minibuffer-less. (Bug#14841)
10836
10837 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10838
10839 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10840 option.
10841
10842 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10843 (tramp-maybe-open-connection): Use it.
10844
10845 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10848 minimal set of parameters passed when creating a frame, because
10849 the minibuffer status of a frame cannot be changed later.
10850
10851 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10852
10853 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10854 replace-regexp-in-string and inadvertent omissions in previous change.
10855 (todo-filter-items): Ensure only file names are comma-separated in
10856 name of filtered items buffer.
10857
10858 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10859
10860 * desktop.el: Optionally force offscreen frames back onscreen.
10861 (desktop-restoring-reuses-frames): New option.
10862 (desktop--compute-pos, desktop--move-onscreen): New functions.
10863 (desktop--make-frame): Use desktop--move-onscreen.
10864
10865 2013-07-27 Alan Mackenzie <acm@muc.de>
10866
10867 Fontify a Java generic method as a function.
10868 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10869 value to t.
10870
10871 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10872
10873 * calendar/todo-mode.el: Add command to rename todo files.
10874 (todo-rename-file): New command.
10875 (todo-key-bindings-t): Add key binding for it. Change the
10876 bindings of todo-filter-regexp-items(-multifile) to use `x'
10877 instead of `r', since the latter is better suited to the new
10878 renaming command.
10879
10880 2013-07-27 Alan Mackenzie <acm@muc.de>
10881
10882 Make Java try-with-resources statement parse properly.
10883 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10884 (c-block-stmt-1-2-key): New language constants/variables.
10885 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10886 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10887 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10888 with c-block-stmt-1-2-key.
10889
10890 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10891
10892 * desktop.el (desktop--make-frame): Apply most frame parameters after
10893 creating the frame to force (partially or totally) offscreen frames to
10894 be restored as such.
10895
10896 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10897
10898 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10899 (Bug#14948)
10900
10901 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10902
10903 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10904 `base' arg of backtrace-frame.
10905
10906 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10907
10908 * simple.el (list-processes): Doc fix.
10909
10910 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10911
10912 * desktop.el (desktop--select-frame):
10913 Try harder to reuse existing frames.
10914
10915 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10916
10917 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10918 (edebug-eval): Use backtrace-eval.
10919 (edebug--display, edebug--recursive-edit): Don't let-bind the
10920 edebug-outer-* vars that keep track of variables we locally let-bind.
10921 (edebug-outside-excursion): Don't restore outside values of locally
10922 let-bound vars.
10923 (edebug--display): Use user-error.
10924 (cl-lexical-debug, cl-debug-env): Remove.
10925
10926 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10927
10928 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10929 are restored to be sure that they are visible before deleting any
10930 remaining ones.
10931
10932 2013-07-26 Matthias Meulien <orontee@gmail.com>
10933
10934 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10935 vc-print-root-log. (Bug#14948)
10936
10937 2013-07-26 Richard Stallman <rms@gnu.org>
10938
10939 Add aliases for encrypting mail.
10940 * epa.el (epa-mail-aliases): New option.
10941 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10942 Bind inhibit-read-only so read-only text doesn't ruin everything.
10943 (epa-mail-default-recipients): New subroutine broken out.
10944 Handle epa-mail-aliases.
10945
10946 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 Add support for lexical variables to the debugger's `e' command.
10949 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10950 vars, except for debugger-outer-match-data.
10951 (debugger-frame-number): Move check for "on a function call" from
10952 callers into it. Add `skip-base' argument.
10953 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10954 (debugger-env-macro): Only reset the state stored in non-variables,
10955 i.e. current-buffer and match-data.
10956 (debugger-eval-expression): Rewrite using backtrace-eval.
10957 * subr.el (internal--called-interactively-p--get-frame): Remove.
10958 (called-interactively-p):
10959 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10960 `base' arg of backtrace-frame instead.
10961
10962 2013-07-26 Glenn Morris <rgm@gnu.org>
10963
10964 * align.el (align-regexp): Doc fix. (Bug#14857)
10965 (align-region): Explicit error if subexpression missing/does not match.
10966
10967 * simple.el (global-visual-line-mode):
10968 Do not duplicate the mode lighter. (Bug#14858)
10969
10970 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10971
10972 * window.el (display-buffer): In display-buffer bind
10973 split-window-keep-point to t, bug#14829.
10974
10975 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10976
10977 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10978 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10979 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10980 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10981 Change accordingly.
10982 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10983 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10984
10985 2013-07-25 Glenn Morris <rgm@gnu.org>
10986
10987 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10988
10989 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10990
10991 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10992 parameter to modify-frame-parameters if the value has not changed;
10993 this is a workaround for bug#14949.
10994 (desktop--make-frame): On cl-delete-if call, check parameter name,
10995 not full parameter.
10996
10997 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10998
10999 * vc/vc.el (vc-ignore): New function.
11000
11001 * vc/vc-svn.el (vc-svn-ignore): New function.
11002
11003 * vc/vc-hg.el (vc-hg-ignore): New function.
11004
11005 * vc/vc-git.el (vc-git-ignore): New function.
11006
11007 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11008 (vc-dir-ignore): New function.
11009
11010 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11011 (cvs-append-to-ignore): Move here from pcvs.el.
11012
11013 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11014
11015 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11016
11017 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11018
11019 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11020 (desktop-restore-frames): Warn when deleting an existing frame failed.
11021
11022 2013-07-24 Glenn Morris <rgm@gnu.org>
11023
11024 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11025
11026 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11027
11028 * filenotify.el (file-notify-supported-p):
11029 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11030 Remove functions.
11031
11032 * autorevert.el (auto-revert-use-notify)
11033 (auto-revert-notify-add-watch):
11034 * net/tramp.el (tramp-file-name-for-operation):
11035 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11036 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11037 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11038 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11039 Remove `file-notify-supported-p' entry.
11040
11041 2013-07-24 Glenn Morris <rgm@gnu.org>
11042
11043 * printing.el: Replace all uses of deleted ps-windows-system,
11044 ps-lp-system, ps-flatten-list with lpr- versions.
11045
11046 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11047
11048 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11049 checked with memq (bug#14935).
11050
11051 * files.el (revert-buffer-function): Use a non-nil default.
11052 (revert-buffer-preserve-modes): Declare var to
11053 provide access to the `preserve-modes' argument.
11054 (revert-buffer): Let-bind it.
11055 (revert-buffer--default): New function, extracted from revert-buffer.
11056
11057 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11058
11059 * lpr.el: Signal print errors more prominently.
11060 (print-region-function): Don't default to nil.
11061 (lpr-print-region): New function, extracted from print-region-1.
11062 Check lpr's return value and signal an error in case of problem.
11063 (print-region-1): Use it.
11064 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11065 versions instead.
11066 (ps-printer-name): Default to nil.
11067 (ps-printer-name-option): Default to lpr-printer-switch.
11068 (ps-print-region-function): Don't default to nil.
11069 (ps-postscript-code-directory): Simplify default.
11070 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11071 (ps-string-list, ps-eval-switch, ps-flatten-list)
11072 (ps-flatten-list-1): Remove.
11073 (ps-multibyte-buffer): Avoid setq.
11074 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11075 (print-region-function, ps-print-region-function): Don't set them here.
11076
11077 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11078
11079 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11080 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11081 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11082 (ido-decorations): Doc fix.
11083
11084 * ansi-color.el: Fix old URL.
11085
11086 2013-07-23 Michael R. Mauger <michael@mauger.com>
11087
11088 * progmodes/sql.el: Version 3.3
11089 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11090 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11091 (sql-interactive-remove-continuation-prompt): Rewrite, use
11092 functions above. Fix continuation prompt and complete output line
11093 handling.
11094 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11095 redirected output buffer.
11096 (sql-mode): Restore deleted code (Bug#13591).
11097
11098 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11101
11102 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11103
11104 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11105
11106 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11107 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11108 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11109
11110 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11111
11112 * desktop.el (desktop-clear): Simplify; remove useless checks
11113 against invalid buffer names.
11114 (desktop-list*): Use cl-list*.
11115 (desktop-buffer-info, desktop-create-buffer): Simplify.
11116
11117 2013-07-23 Leo Liu <sdl.web@gmail.com>
11118
11119 * bookmark.el (bookmark-make-record): Restore NAME as a default
11120 value. (Bug#14933)
11121
11122 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11125 extracted from autoload--insert-text.
11126 (autoload--insert-text): Remove.
11127 (autoload--print-cookie-text): New function, extracted from
11128 autoload--insert-cookie-text.
11129 (autoload--insert-cookie-text): Remove.
11130 (autoload-generate-file-autoloads): Adjust calls accordingly.
11131
11132 * winner.el (winner-hook-installed-p): Remove.
11133 (winner-mode): Simplify accordingly.
11134
11135 * subr.el (add-to-list): Fix compiler-macro when `append' is
11136 not constant. Don't use `cl-member' for the base case.
11137
11138 * progmodes/subword.el: Fix boundary case (bug#13758).
11139 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11140 own group.
11141 (subword-backward-regexp): Make it a constant.
11142 (subword-forward-internal): Don't treat a trailing capital as the
11143 beginning of a word.
11144
11145 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11146
11147 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11148 global value of tabulated-list-revert-hook (bug#14930).
11149
11150 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11151
11152 * desktop.el: Require 'cl-lib.
11153 (desktop-before-saving-frames-functions): New hook.
11154 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11155 for frames being saved. Rename from desktop--save-minibuffer-frames.
11156 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11157 Do not save frames with non-nil `desktop-dont-save' parameter.
11158 Filter out deleted frames.
11159 (desktop--find-frame): Use cl-find-if.
11160 (desktop--select-frame): Use cl-(first|second|third) to access values
11161 of desktop-mini.
11162 (desktop--make-frame): Use cl-delete-if.
11163 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11164 (desktop-restore-frames): Use cl-(first|second|third) to access values
11165 of desktop-mini. Look for visible frame at the end, not while
11166 restoring frames.
11167
11168 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11169 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11170 Use string-match-p, looking-at-p (bug#14927).
11171
11172 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11173
11174 * desktop.el (desktop-saved-frame-states):
11175 Rename from desktop--saved-states; all users changed.
11176 (desktop-save-frames): Rename from desktop--save-frames.
11177 Do not save state to desktop file.
11178 (desktop-save): Save desktop-saved-frame-states to desktop file
11179 and reset to nil.
11180 (desktop-restoring-frames-p): New function.
11181 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11182 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11183 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11184
11185 * desktop.el: Correctly restore iconified frames.
11186 (desktop--filter-iconified-position): New function.
11187 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11188
11189 2013-07-20 Glenn Morris <rgm@gnu.org>
11190
11191 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11192 Let `message' do the formatting.
11193 (def-gdb-preempt-display-buffer): Add explicit format.
11194
11195 * image-dired.el (image-dired-track-original-file):
11196 Use with-current-buffer.
11197 (image-dired-track-thumbnail): Use with-current-buffer.
11198 Avoid changing point of wrong window.
11199
11200 * image-dired.el (image-dired-track-original-file):
11201 Avoid changing point of wrong window. (Bug#14909)
11202
11203 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11204
11205 * progmodes/gdb-mi.el (gdb-done-or-error):
11206 Guard against "%" in gdb output. (Bug#14127)
11207
11208 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11209
11210 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11211 (Bug#14826)
11212
11213 * international/mule.el (coding-system-iso-2022-flags): Fix last
11214 change.
11215
11216 2013-07-20 Kenichi Handa <handa@gnu.org>
11217
11218 * international/mule.el (coding-system-iso-2022-flags):
11219 Add `8-bit-level-4'. (Bug#8522)
11220
11221 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11222
11223 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11224 (bug#14815).
11225
11226 * net/eww.el (eww-process-text-input): Allow inputting when the
11227 point is at the start of the line, as the properties aren't
11228 front-sticky.
11229
11230 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11231 degenerate widths.
11232
11233 2013-07-19 Richard Stallman <rms@gnu.org>
11234
11235 * epa.el (epa-popup-info-window): Doc fix.
11236
11237 * subr.el (split-string): New arg TRIM.
11238
11239 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11240
11241 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11242 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11243
11244 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11245
11246 * filenotify.el (file-notify--library): Rename from
11247 `file-notify-support'. Do not autoload. Adapt all uses.
11248 (file-notify-supported-p): New defun.
11249
11250 * autorevert.el (auto-revert-use-notify):
11251 Use `file-notify-supported-p' instead of `file-notify-support'.
11252 Adapt docstring.
11253 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11254
11255 * net/tramp.el (tramp-file-name-for-operation):
11256 Add `file-notify-supported-p'.
11257
11258 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11259 New defun.
11260 (tramp-sh-file-name-handler-alist): Add it as handler for
11261 `file-notify-supported-p '.
11262
11263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11266 Add `ignore' as handler for `file-notify-*' functions.
11267
11268 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11269
11270 * simple.el (line-move-partial, line-move): Don't start vscroll or
11271 scroll-up if the current line is not taller than the window.
11272 (Bug#14881)
11273
11274 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11275
11276 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11277 highlight question marks in the method names as strings.
11278 (ruby-block-beg-keywords): Inline.
11279 (ruby-font-lock-keyword-beg-re): Extract from
11280 `ruby-font-lock-keywords'.
11281
11282 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11283
11284 * frame.el (blink-cursor-blinks): New defcustom.
11285 (blink-cursor-blinks-done): New defvar.
11286 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11287 (blink-cursor-timer-function): Check if number of blinks has been
11288 done on X and NS.
11289 (blink-cursor-suspend, blink-cursor-check): New defuns.
11290
11291 2013-07-15 Glenn Morris <rgm@gnu.org>
11292
11293 * edmacro.el (edmacro-format-keys): Fix previous change.
11294
11295 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11296
11297 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11298 The hack didn't work outside English locales anyway.
11299
11300 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11301
11302 * simple.el (define-alternatives): Rename from alternatives-define,
11303 per RMS' suggestion.
11304
11305 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11306
11307 * desktop.el (desktop-restore-frames): Change default to t.
11308 (desktop-restore-in-current-display): Now offer more options.
11309 (desktop-restoring-reuses-frames): New customization option.
11310 (desktop--saved-states): Doc fix.
11311 (desktop-filter-parameters-alist): New variable, renamed and expanded
11312 from desktop--excluded-frame-parameters.
11313 (desktop--target-display): New variable.
11314 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11315 (desktop--filter-tty*, desktop--filter-*-color)
11316 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11317 (desktop--filter-save-desktop-parm)
11318 (desktop-restore-in-original-display-p): New functions.
11319 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11320 (desktop--save-minibuffer-frames): New function, inspired by a similar
11321 function from Martin Rudalics.
11322 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11323 (desktop--restore-in-this-display-p): Remove.
11324 (desktop--find-frame): Rename from desktop--find-frame-in-display
11325 and add predicate argument.
11326 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11327 (desktop--reuse-list): New variable.
11328 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11329 New functions.
11330 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11331
11332 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11333
11334 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11335
11336 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11337
11338 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11339 Highlight conversion methods on Kernel.
11340
11341 2013-07-13 Alan Mackenzie <acm@muc.de>
11342
11343 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11344 and comment it out. This out-commenting enables certain C++
11345 declarations to be parsed correctly.
11346
11347 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11348
11349 * international/mule.el (define-coding-system): Doc fix.
11350
11351 * simple.el (default-font-height): Don't call font-info if the
11352 frame's default font didn't change since the frame was created.
11353 (Bug#14838)
11354
11355 2013-07-13 Leo Liu <sdl.web@gmail.com>
11356
11357 * ido.el (ido-read-file-name): Guard against non-symbol value.
11358
11359 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11360
11361 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11362 in nested defuns.
11363
11364 2013-07-13 Leo Liu <sdl.web@gmail.com>
11365
11366 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11367 ido-set-matches call. (Bug#6852)
11368
11369 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11370
11371 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11372 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11373 Ruby 2.0.
11374 (ruby-font-lock-keywords): Distinguish calls to functions with
11375 module-like names from module references. Highlight character
11376 literals.
11377
11378 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11379
11380 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11381 (gdb-send): Handle continued commands. (Bug#14847)
11382
11383 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11384
11385 * desktop.el (desktop--v2s): Remove unused local variable.
11386 (desktop-save-buffer): Make defvar-local; adjust docstring.
11387 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11388 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11389
11390 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11391
11392 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11393
11394 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11395
11396 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11397 (Bug#14842)
11398
11399 2013-07-12 Glenn Morris <rgm@gnu.org>
11400
11401 * doc-view.el: Require cl-lib at runtime too.
11402 (doc-view-remove-if): Remove.
11403 (doc-view-search-next-match, doc-view-search-previous-match):
11404 Use cl-remove-if.
11405
11406 * edmacro.el: Require cl-lib at runtime too.
11407 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11408 (edmacro-mismatch, edmacro-subseq): Remove.
11409
11410 * shadowfile.el: Require cl-lib.
11411 (shadow-remove-if): Remove.
11412 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11413 Use cl-remove-if.
11414
11415 * wid-edit.el: Require cl-lib.
11416 (widget-choose): Use cl-remove-if.
11417 (widget-remove-if): Remove.
11418
11419 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11420 (ebrowse-delete-if-not): Remove.
11421 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11422 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11423 Use cl-delete-if-not.
11424
11425 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11426
11427 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11428 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11429
11430 2013-07-12 Leo Liu <sdl.web@gmail.com>
11431
11432 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11433
11434 2013-07-11 Glenn Morris <rgm@gnu.org>
11435
11436 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11437 (edebug-gensym-index, edebug-gensym):
11438 Remove reimplementation of cl-gensym.
11439 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11440
11441 * thumbs.el: Require cl-lib at run-time too.
11442 (thumbs-gensym-counter, thumbs-gensym):
11443 Remove reimplementation of cl-gensym.
11444 (thumbs-temp-file): Use cl-gensym.
11445
11446 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11447 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11448 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11449 (ert--union, ert--gensym-counter, ert--gensym-counter)
11450 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11451 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11452 (ert-make-test-unbound, ert--expand-should-1)
11453 (ert--expand-should, ert--should-error-handle-error)
11454 (should-error, ert--explain-equal-rec)
11455 (ert--plist-difference-explanation, ert-select-tests)
11456 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11457 Use cl-lib functions rather than reimplementations.
11458
11459 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11460
11461 * net/tramp.el (tramp-methods): Extend docstring.
11462 (tramp-connection-timeout): New defcustom.
11463 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11464 (with-tramp-progress-reporter): Simplify.
11465 (tramp-process-actions): Improve messages.
11466
11467 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11468 * net/tramp-sh.el (tramp-maybe-open-connection):
11469 Use `tramp-connection-timeout'.
11470 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11471 (Bug#14808)
11472
11473 2013-07-11 Leo Liu <sdl.web@gmail.com>
11474
11475 * ido.el (ido-read-file-name): Conform to the requirements of
11476 read-file-name. (Bug#11861)
11477 (ido-read-directory-name): Conform to the requirements of
11478 read-directory-name.
11479
11480 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11481
11482 * subr.el (delay-warning): New function.
11483
11484 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11485
11486 * simple.el (default-line-height): New function.
11487 (line-move-partial, line-move): Use it instead of computing the
11488 line height inline.
11489 (line-move-partial): Always compute ROWH. If the last line is
11490 partially-visible, but its text is completely visible, allow
11491 cursor to enter such a partially-visible line.
11492
11493 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11494
11495 Improve error messages. (Bug#14808)
11496
11497 * net/tramp.el (tramp-current-connection): New defvar, moved from
11498 tramp-sh.el.
11499 (tramp-message-show-progress-reporter-message): Remove, not
11500 needed anymore.
11501 (tramp-error-with-buffer): Show message in minibuffer.
11502 Discard input before waiting. Reset connection timestamp.
11503 (with-tramp-progress-reporter): Improve messages.
11504 (tramp-process-actions): Use progress reporter. Delete process in
11505 case of error. Improve messages.
11506
11507 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11508 Call `tramp-error-with-buffer' with vector and buffer.
11509 (tramp-current-connection): Remove.
11510 (tramp-maybe-open-connection): The car of
11511 `tramp-current-connection' are the first 3 slots of the vector.
11512
11513 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11514
11515 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11516 inside continued strings.
11517
11518 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11519
11520 Timestamp fixes for undo (Bug#14824).
11521 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11522
11523 2013-07-10 Leo Liu <sdl.web@gmail.com>
11524
11525 * files.el (require-final-newline): Allow safe local value.
11526 (Bug#14834)
11527
11528 2013-07-09 Leo Liu <sdl.web@gmail.com>
11529
11530 * ido.el (ido-read-directory-name): Handle fallback.
11531 (ido-read-file-name): Update DIR to ido-current-directory.
11532 (Bug#1516)
11533 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11534
11535 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11536
11537 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11538 "autoload". Remove "warn lower camel case" section, previously
11539 commented out. Highlight negation char. Do not highlight the
11540 target in singleton method definitions.
11541
11542 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11543
11544 * faces.el (tty-setup-hook): Declare the hook.
11545
11546 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11547 and detect when a guard/pred depends on local vars (bug#14773).
11548 (pcase--u1): Adjust caller.
11549
11550 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11551
11552 * simple.el (line-move-partial, line-move): Account for
11553 line-spacing.
11554 (line-move-partial): Avoid setting vscroll when the last
11555 partially-visible line in window is of default height.
11556
11557 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11558
11559 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11560 been used a while.
11561
11562 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11563
11564 * subr.el (read-quoted-char): Remove unused local variable `char'.
11565
11566 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11567
11568 * vc/ediff.el (ediff-version): Version update.
11569 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11570 (ediff-merge-with-ancestor-command, ediff-directories-command)
11571 (ediff-directories3-command, ediff-merge-directories-command)
11572 (ediff-merge-directories-with-ancestor-command): New functions.
11573 All are command-line interfaces to ediff: to facilitate calling
11574 Emacs with the appropriate ediff functions invoked.
11575
11576 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11577 New function.
11578 (viper-save-kill-buffer): Check if buffer is modified.
11579
11580 * emulation/viper.el (viper-version): Version update.
11581 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11582
11583 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11584
11585 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11586 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11587 (viper-intercept-ESC-key): Simplify.
11588 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11589 don't use kbd.
11590 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11591 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11592 (viper-setup-ESC-to-escape): New functions.
11593 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11594 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11595
11596 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11597
11598 * simple.el (default-font-height, window-screen-lines):
11599 New functions.
11600 (line-move, line-move-partial): Use them instead of
11601 frame-char-height and window-text-height. This makes scrolling
11602 text smoother when the buffer's default face uses a font that is
11603 different from the frame's default font.
11604
11605 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11606
11607 * files.el (write-file): Do not display confirm dialog for NS,
11608 it does its own dialog, which can't be canceled (Bug#14578).
11609
11610 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11611
11612 * simple.el (line-move-partial): Adjust the row returned by
11613 posn-at-point for the current window-vscroll. (Bug#14567)
11614
11615 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11616
11617 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11618 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11619 spaces.
11620
11621 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11622
11623 * window.el (window-state-put-stale-windows): New variable.
11624 (window--state-put-2): Save list of windows without matching buffer.
11625 (window-state-put): Remove "bufferless" windows if possible.
11626
11627 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11628
11629 * simple.el (alternatives-define): Remove leftover :group keyword.
11630 Tweak docstring.
11631
11632 2013-07-06 Leo Liu <sdl.web@gmail.com>
11633
11634 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11635 (ido-enable-virtual-buffers): New variable.
11636 (ido-buffer-internal, ido-toggle-virtual-buffers)
11637 (ido-make-buffer-list): Use it.
11638 (ido-exhibit): Support turning on and off virtual buffers
11639 automatically.
11640
11641 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11642
11643 * simple.el (alternatives-define): New macro.
11644
11645 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * subr.el (read-quoted-char): Use read-key.
11648 (sit-for): Let read-event decode tty input (bug#14782).
11649
11650 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11651
11652 * calendar/todo-mode.el: Add handling of file deletion, both by
11653 mode command and externally. Fix various related bugs.
11654 Clarify Commentary and improve some documentation strings and code.
11655 (todo-delete-file): New command.
11656 (todo-check-file): New function.
11657 (todo-show): Handle external deletion of the file we're trying to
11658 show (bug#14688). Replace called-interactively-p by an optional
11659 prefix argument to avoid problematic interaction with catch form
11660 when byte compiled (bug#14702).
11661 (todo-quit): Handle external deletion of the archive's todo file.
11662 Make sure the buffer that was visiting the archive file is still
11663 live before trying to bury it.
11664 (todo-category-completions): Handle external deletion of any
11665 category completion files.
11666 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11667 of todo files, in case of external deletion.
11668 (todo-add-file): Replace unnecessary setq by let-binding.
11669 (todo-find-archive): Check whether there are any archives.
11670 Replace unnecessary setq by let-binding.
11671 (todo-archive-done-item): Use find-file-noselect to get the
11672 archive buffer whether or not the archive already exists.
11673 Remove superfluous code. Use file size instead of buffer-file-name to
11674 check if the archive is new; if it is, update list of archives.
11675 (todo-default-todo-file): Allow nil to be a valid value for when
11676 there are no todo files.
11677 (todo-reevaluate-default-file-defcustom): Use corrected definition
11678 of todo-default-todo-file.
11679 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11680 (todo-delete-category, todo-show-categories-table)
11681 (todo-category-number): Clarify comment.
11682 (todo-filter-items): Clarify documentation string.
11683 (todo-show-current-file, todo-display-as-todo-file)
11684 (todo-reset-and-enable-done-separator): Tweak documentation string.
11685 (todo-done-separator): Make separator length window-width, since
11686 bug#2749 is now fixed.
11687
11688 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11689
11690 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11691 Support both "gvfs-monitor-dir" and "inotifywait".
11692 (tramp-sh-file-inotifywait-process-filter): Rename from
11693 `tramp-sh-file-notify-process-filter'.
11694 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11695 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11696
11697 2013-07-05 Leo Liu <sdl.web@gmail.com>
11698
11699 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11700
11701 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11702
11703 * frame.el (display-pixel-height, display-pixel-width)
11704 (display-mm-height, display-mm-width): Mention behavior on
11705 multi-monitor setups in docstrings.
11706 (w32-display-monitor-attributes-list): Declare function.
11707 (display-monitor-attributes-list): Use it.
11708
11709 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11710
11711 * filenotify.el: New package.
11712
11713 * autorevert.el (top): Require filenotify.el.
11714 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11715 instead.
11716 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11717 (auto-revert-notify-handler): Use `file-notify-*' functions.
11718
11719 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11720
11721 * net/tramp.el (tramp-file-name-for-operation):
11722 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11723
11724 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11725 for `file-notify-add-watch' and `file-notify-rm-watch'.
11726 (tramp-process-sentinel): Improve trace.
11727 (tramp-sh-handle-file-notify-add-watch)
11728 (tramp-sh-file-notify-process-filter)
11729 (tramp-sh-handle-file-notify-rm-watch)
11730 (tramp-get-remote-inotifywait): New defuns.
11731
11732 2013-07-03 Juri Linkov <juri@jurta.org>
11733
11734 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11735 call of `occur-read-primary-args' to interactive spec.
11736
11737 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11738 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11739
11740 2013-07-03 Matthias Meulien <orontee@gmail.com>
11741
11742 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11743 `Buffer-menu-multi-occur'. Add it to the menu.
11744 (Buffer-menu-mode): Document it in docstring.
11745 (Buffer-menu-multi-occur): New command. (Bug#14673)
11746
11747 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11748
11749 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11750 keywords and built-ins.
11751
11752 2013-07-03 Glenn Morris <rgm@gnu.org>
11753
11754 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11755
11756 Make info-xref checks case-sensitive by default
11757 * info.el (Info-find-node, Info-find-in-tag-table)
11758 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11759 Add option for exact case matching of nodes.
11760 * info-xref.el (info-xref): New custom group.
11761 (info-xref-case-fold): New option.
11762 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11763
11764 2013-07-03 Leo Liu <sdl.web@gmail.com>
11765
11766 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11767
11768 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11769
11770 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11771 middle of block statement initially, lower the depth. Remove
11772 FIXME comment, not longer valid. Remove middle of block statement
11773 detection, no need to do that anymore since we've been using
11774 `ruby-parse-region' here.
11775
11776 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11777
11778 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11779
11780 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11781
11782 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11783
11784 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11787 (desktop-restore-in-current-display): New customization option.
11788 (desktop--excluded-frame-parameters): Add `font'.
11789 (desktop--save-frames): Rename from desktop--save-windows.
11790 (desktop--restore-in-this-display-p): New function.
11791 (desktop--make-full-frame): Remove unwanted width/height from
11792 full(width|height) frames.
11793 (desktop--restore-frames): Rename from desktop--restore-windows.
11794 Obey desktop-restore-current-display. Do not delete old frames or
11795 select a new frame unless we were able to restore at least one frame.
11796
11797 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11798
11799 * files.el (find-file-noselect): Simplify conditional expression.
11800
11801 * textmodes/remember.el (remember-append-to-file):
11802 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11803
11804 Add `remember-notes' function to store random notes across Emacs
11805 restarts.
11806 * textmodes/remember.el (remember-data-file): Add :set callback to
11807 affect notes buffer (if any).
11808 (remember-notes): New command.
11809 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11810 New defcustoms for the `remember-notes' function.
11811 (remember-notes-save-and-bury-buffer): New command.
11812 (remember-notes-mode-map): New variable.
11813 (remember-mode): New minor mode.
11814 (remember-notes--kill-buffer-query): New function.
11815 * startup.el (initial-buffer-choice): Add notes to custom type.
11816
11817 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11818
11819 * bindings.el (right-char, left-char): Don't call sit-for, this is
11820 no longer needed. Use arithmetic comparison only for numerical
11821 arguments.
11822
11823 * international/mule-cmds.el (select-safe-coding-system):
11824 Handle the case of FROM being a string correctly. (Bug#14755)
11825
11826 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11827
11828 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11829 progression on degenerate tables.
11830 (shr-rescale-image): ImageMagick animated images currently don't work.
11831
11832 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11833
11834 Some fixes and improvements for desktop frame restoration.
11835 It is still experimental and disabled by default.
11836 * desktop.el (desktop--save-windows): Put the selected frame at
11837 the head of the list.
11838 (desktop--make-full-frame): New function.
11839 (desktop--restore-windows): Try to re-select the frame that was
11840 selected upon saving. Do not abort if some frames fail to restore,
11841 just show an error message and continue. Set up maximized frames
11842 so they have default non-maximized dimensions.
11843
11844 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11845
11846 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11847 Don't start heredoc inside a string or comment.
11848
11849 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11850
11851 * bindings.el (visual-order-cursor-movement): New defcustom.
11852 (right-char, left-char): Provide visual-order cursor motion by
11853 calling move-point-visually. Update the doc strings.
11854
11855 2013-06-28 Kenichi Handa <handa@gnu.org>
11856
11857 * international/mule.el (define-coding-system): New coding system
11858 properties :inhibit-null-byte-detection,
11859 :inhibit-iso-escape-detection, and :prefer-utf-8.
11860 (set-buffer-file-coding-system): If :charset-list property of
11861 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11862 appropriate for setting.
11863
11864 * international/mule-cmds.el (select-safe-coding-system):
11865 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11866 multibyte characters, return utf-8 (or one of its siblings).
11867
11868 * international/mule-conf.el (prefer-utf-8): New coding system.
11869 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11870 files.
11871
11872 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11873
11874 * net/shr.el (shr-render-region): New function.
11875
11876 * net/eww.el: Autoload `eww-browse-url'.
11877
11878 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11879
11880 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11881 Adapt to `package-desc-version' being a list.
11882 Use `package--ac-desc-version' to retrieve version from a package
11883 archive element.
11884
11885 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11886
11887 New experimental feature to save&restore window and frame setup.
11888 * desktop.el (desktop-save-windows): New defcustom.
11889 (desktop--saved-states): New var.
11890 (desktop--excluded-frame-parameters): New defconst.
11891 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11892 (desktop--restore-windows, desktop--save-windows): New functions.
11893 (desktop-save): Call `desktop--save-windows'.
11894 (desktop-read): Call `desktop--restore-windows'.
11895
11896 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11897
11898 * net/shr.el (add-face-text-property): Remove compat definition.
11899
11900 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11901
11902 * info.el (Info-try-follow-nearest-node): Move search for footnote
11903 above search for node name to prevent missing a footnote (bug#14717).
11904
11905 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11906
11907 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11908
11909 2013-06-27 Leo Liu <sdl.web@gmail.com>
11910
11911 * net/eww.el (eww-read-bookmarks): Check file size.
11912
11913 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11914
11915 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11916 advice--pending if newdef is nil or an autoload (bug#13820).
11917 (advice-mapc): New function.
11918
11919 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11920
11921 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11922 probably.
11923 (eww-mode-map): Add a menu bar.
11924 (eww-add-bookmark): New command.
11925 (eww-bookmark-mode): New mode and commands.
11926 (eww-add-bookmark): Remove newlines from the title.
11927 (eww-bookmark-browse): Don't bug out if it's the only window.
11928
11929 2013-06-26 Glenn Morris <rgm@gnu.org>
11930
11931 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11932 (hfy-size): Handle ttys. (Bug#14668)
11933
11934 * info-xref.el: Update for Texinfo 5 change in *note format.
11935 (info-xref-node-re, info-xref-note-re): New constants.
11936 (info-xref-check-buffer): Use info-xref-note-re.
11937
11938 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11941
11942 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11943 nil terminate the loop (bug#14718).
11944
11945 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11946
11947 * net/eww.el: Rework history traversal. When going forward/back,
11948 put these actions into the history, too, so that they can be
11949 replayed.
11950 (eww-render): Move the history reset to the correct buffer.
11951
11952 2013-06-25 Juri Linkov <juri@jurta.org>
11953
11954 * files-x.el (modify-dir-local-variable): Change the header comment
11955 in the file with directory local variables. (Bug#14692)
11956
11957 * files-x.el (read-file-local-variable-value): Add `default'.
11958 (Bug#14710)
11959
11960 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11961
11962 * net/eww.el (eww-make-unique-file-name): Create a unique file
11963 name before saving to entering `y' accidentally asynchronously.
11964
11965 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11966
11967 * net/eww.el (eww-download): New command and keystroke.
11968
11969 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11970
11971 * net/eww.el (eww-copy-page-url): Change name of command.
11972
11973 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11974 be more consistent with Info and dired.
11975
11976 * net/eww.el (eww-mode-map): Ditto.
11977
11978 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11979
11980 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11981 packages from archives.
11982 (package-archive-contents): Change format; include obsolete packages.
11983 (package-desc): Use `dir' to mark builtin packages.
11984 (package--from-builtin): Set the `dir' field to `builtin'.
11985 (generated-autoload-file, version-control): Declare.
11986 (package-compute-transaction): Change first arg and return value to be
11987 lists of package-descs. Adjust to new package-archive-contents format.
11988 (package--add-to-archive-contents): Adjust to new
11989 package-archive-contents format.
11990 (package-download-transaction): Arg is now a list of package-descs.
11991 (package-install): If `pkg' is a package name, pass it as
11992 a requirement, so it is subject to the usual (e.g. disabled) checks.
11993 (describe-package): Accept package-desc as well.
11994 (describe-package-1): Describe a specific package-desc. Add links to
11995 other package-descs for the same package name.
11996 (package-menu-describe-package): Pass the actual package-desc.
11997 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11998 works correctly.
11999 (package-desc-status): New function.
12000 (package-menu--refresh): New function, extracted
12001 from package-menu--generate.
12002 (package-menu--generate): Use it.
12003 (package-delete): Update package-alist.
12004 (package-menu-execute): Don't call package-initialize.
12005
12006 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12007 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12008 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12009 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12010 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12011 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12012
12013 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12014
12015 * window.el (window--state-get-1): Workaround for bug#14527.
12016 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12017
12018 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12019
12020 * net/eww.el (eww-back-url): Implement the history by stashing all
12021 the data into a list.
12022 (eww-forward-url): Allow going forward in the history, too.
12023
12024 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12027 for values and use read--expression for expressions (bug#14710).
12028 (read-file-local-variable): Avoid setq.
12029 (read-file-local-variable-mode): Use minor-mode-list.
12030
12031 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12032
12033 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12034 for DOI URLs.
12035
12036 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12037
12038 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12039 Update imenu-support when dialect changes.
12040
12041 2013-06-25 Leo Liu <sdl.web@gmail.com>
12042
12043 * ido.el (ido-read-internal): Allow forward slash on windows.
12044
12045 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12046
12047 * net/eww.el (eww): Start of strings is \\`, not ^.
12048
12049 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12050
12051 * net/shr.el (shr-browse-url): Fix interactive spec.
12052
12053 * net/eww.el (eww): Add a trailing slash to domain names.
12054
12055 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12056
12057 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12058
12059 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12060
12061 * net/shr.el (shr-browse-url): Use an external browser if given a
12062 prefix.
12063
12064 * net/eww.el (eww-external-browser): Move to shr.
12065
12066 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12067
12068 * net/eww.el (eww): Work more correctly for file: URLs.
12069 (eww-detect-charset): Allow quoted charsets.
12070 (eww-yank-page-url): New command and keystroke.
12071
12072 2013-06-24 Daiki Ueno <ueno@gnu.org>
12073
12074 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12075 file name of gpg executable.
12076 (epg-context-program): New function.
12077 (epg-context-home-directory): New function.
12078 (epg-context-set-program): New function.
12079 (epg-context-set-home-directory): New function.
12080 (epg--start): Use `epg-context-program' instead of
12081 'epg-gpg-program'.
12082 (epg--list-keys-1): Likewise.
12083
12084 2013-06-24 Leo Liu <sdl.web@gmail.com>
12085
12086 * ido.el (ido-read-internal): Fix bug#14620.
12087
12088 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12089
12090 * faces.el (face-documentation): Simplify.
12091 (read-face-attribute, tty-find-type, x-resolve-font-name):
12092 Use `string-match-p'.
12093 (list-faces-display): Use `string-match-p'. Simplify.
12094 (face-spec-recalc): Check face to avoid face alias loops.
12095 (read-color): Use `string-match-p' and non-capturing parenthesis.
12096
12097 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12098
12099 * net/shr.el (shr-rescale-image): Use the new
12100 :max-width/:max-height functionality.
12101
12102 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12103
12104 * net/eww.el (eww-search-prefix): New variable.
12105 (eww): Use it.
12106 (eww-external-browser): New variable.
12107 (eww-mode-map): New keystroke.
12108 (eww-browse-with-external-browser): New command.
12109
12110 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12111
12112 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12113
12114 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12115 Don't skip aligning the next header field when padding is 0;
12116 otherwise, field width is not respected unless the title is as
12117 wide as the field.
12118
12119 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * emacs-lisp/package.el (package-el-version): Remove.
12122 (package-process-define-package): Fix inf-loop.
12123 (package-install): Allow symbols as arguments again.
12124
12125 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12126
12127 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12128 add some more keyword-like methods.
12129 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12130
12131 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12132
12133 * bs.el (bs-buffer-show-mark): Make defvar-local.
12134 (bs-mode): Use setq-local.
12135
12136 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12137 (emacs-lock--try-unlocking): Make defvar-local.
12138
12139 2013-06-22 Glenn Morris <rgm@gnu.org>
12140
12141 * play/cookie1.el (cookie-apropos): Minor simplification.
12142
12143 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12144
12145 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12146
12147 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12148 `regexp-opt', it breaks the build during dumping.
12149
12150 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12151
12152 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12153 Highlight keyword-like methods on Kernel and Module with
12154 font-lock-builtin-face.
12155 (auto-mode-alist): Consolidate different entries into one regexp
12156 and add more *file-s.
12157
12158 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12159
12160 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12161
12162 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12163 (diary-entry): Use it in the action of this button type instead of
12164 diary-goto-entry.
12165
12166 * calendar/todo-mode.el: New version.
12167 (todo-add-category): Append new category to end of file and give
12168 it the highest number, instead of putting it at the beginning and
12169 giving it 0. Incorporate noninteractive functionality.
12170 (todo-forward-category): Adapt to 1-based category numbering.
12171 Allow skipping over archived categories.
12172 (todo-backward-category): Derive from todo-forward-category.
12173 (todo-backward-item, todo-forward-item): Make noninteractive and
12174 delegate interactive part to new commands. Make sensitive to done items.
12175 (todo-categories): Make value an alist of category names and
12176 vectors of item counts.
12177 (todo-category-beg): Make a defconst.
12178 (todo-category-number): Use 1 instead of 0 as initial value.
12179 (todo-category-select): Make sensitive to overlays, optional item
12180 highlighting and done items.
12181 (todo-delete-item): Make sensitive to overlays and marked and done items.
12182 (todo-edit-item): Make sensitive to overlays and editing of
12183 date/time header optional. Add format checks.
12184 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12185 no-op if point is not on an item. Advertise using todo-edit-quit.
12186 (todo-edit-mode): Make sensitive to new format, font-locking, and
12187 multiple todo files.
12188 (todo-insert-item, todo-insert-item-here): Derive from
12189 todo-basic-insert-item and extend functionality.
12190 (todo-item-end, todo-item-start): Make sensitive to done items.
12191 (todo-item-string): Don't return text properties. Restore point.
12192 (todo-jump-to-category): Make sensitive to multiple todo files and
12193 todo archives. Use extended category completion.
12194 (todo-lower-item, todo-raise-item): Rename to *-priority and
12195 derive from todo-set-item-priority.
12196 (todo-mode): Derive from special-mode. Make sensitive to new
12197 format, font-locking and multiple todo files. Make read-only.
12198 (todo-mode-map): Don't suppress digit keys, so they can supply
12199 prefix arguments. Add many new key bindings.
12200 (todo-prefix): Insert as an overlay instead of file text.
12201 Change semantics from diary date expression to purely visual mark.
12202 (todo-print): Rename to todo-print-buffer. Make buffer display
12203 features printable. Remove option to restrict number of items
12204 printed. Add option to print to file.
12205 (todo-print-function): Rename to todo-print-buffer-function.
12206 (todo-quit): Extend to handle exiting new todo modes.
12207 (todo-remove-item): Make sensitive to overlays.
12208 (todo-save): Extend to buffers of filtered items.
12209 (todo-show): Make sensitive to done items, multiple todo files and
12210 new todo modes. Offer to convert legacy todo file before creating
12211 first new todo file.
12212 (todo-show-priorities): Rename to todo-top-priorities.
12213 Change semantics of value 0.
12214 (todo-top-priorities): Rename to todo-filter-top-priorities,
12215 derive from todo-filter-items and extend functionality.
12216 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12217 and extend functionality to other types of filtered items.
12218 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12219 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12220 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12221 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12222 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12223 (todo-edit-mode-hook, todo-entry-prefix-function)
12224 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12225 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12226 (todo-initials, todo-insert-threshold, todo-item-string-start)
12227 (todo-line-string, todo-menu, todo-mode-hook)
12228 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12229 (todo-print-priorities, todo-remove-separator)
12230 (todo-save-top-priorities-too, todo-string-count-lines)
12231 (todo-string-multiline-p, todo-time-string-format)
12232 (todo-tmp-buffer-name): Remove.
12233 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12234 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12235 (todo-edit-category-diary-inclusion)
12236 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12237 (todo-edit-file, todo-edit-item-date-day)
12238 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12239 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12240 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12241 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12242 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12243 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12244 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12245 (todo-filter-top-priorities-multifile, todo-find-archive)
12246 (todo-find-filtered-items-file, todo-go-to-source-item)
12247 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12248 (todo-jump-to-archive-category, todo-lower-category)
12249 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12250 (todo-move-category, todo-move-item, todo-next-button)
12251 (todo-next-item, todo-padded-string, todo-powerset)
12252 (todo-previous-button, todo-previous-item)
12253 (todo-print-buffer-to-file, todo-raise-category)
12254 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12255 (todo-set-category-number, todo-set-item-priority)
12256 (todo-set-top-priorities-in-category)
12257 (todo-set-top-priorities-in-file, todo-show-categories-table)
12258 (todo-sort-categories-alphabetically-or-numerically)
12259 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12260 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12261 (todo-toggle-item-header, todo-toggle-item-highlighting)
12262 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12263 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12264 (todo-unarchive-items, todo-unmark-category): New commands.
12265 (todo-absolute-file-name, todo-add-to-buffer-list)
12266 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12267 (todo-basic-insert-item, todo-category-completions)
12268 (todo-category-number, todo-category-string-matcher-1)
12269 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12270 (todo-check-format, todo-clear-matches)
12271 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12272 (todo-current-category, todo-date-string-matcher)
12273 (todo-define-insertion-command, todo-diary-expired-matcher)
12274 (todo-diary-goto-entry, todo-diary-item-p)
12275 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12276 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12277 (todo-done-item-section-p, todo-done-separator)
12278 (todo-done-string-matcher, todo-files, todo-filter-items)
12279 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12280 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12281 (todo-insert-category-line, todo-insert-item-from-calendar)
12282 (todo-insert-sort-button, todo-insert-with-overlays)
12283 (todo-insertion-command-name, todo-insertion-key-bindings)
12284 (todo-label-to-key, todo-longest-category-name-length)
12285 (todo-make-categories-list, todo-mode-external-set)
12286 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12287 (todo-modes-set-3, todo-multiple-filter-files)
12288 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12289 (todo-read-category, todo-read-date, todo-read-dayname)
12290 (todo-read-file-name, todo-read-time)
12291 (todo-reevaluate-category-completions-files-defcustom)
12292 (todo-reevaluate-default-file-defcustom)
12293 (todo-reevaluate-filelist-defcustoms)
12294 (todo-reevaluate-filter-files-defcustom)
12295 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12296 (todo-reset-done-separator, todo-reset-done-separator-string)
12297 (todo-reset-done-string, todo-reset-global-current-todo-file)
12298 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12299 (todo-reset-prefix, todo-set-categories)
12300 (todo-set-date-from-calendar, todo-set-show-current-file)
12301 (todo-set-top-priorities, todo-short-file-name)
12302 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12303 (todo-total-item-counts, todo-update-buffer-list)
12304 (todo-update-categories-display, todo-update-categories-sexp)
12305 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12306 New functions.
12307 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12308 New major modes.
12309 (todo-categories, todo-display, todo-edit, todo-faces)
12310 (todo-filtered): New defgroups.
12311 (todo-archived-only, todo-button, todo-category-string, todo-date)
12312 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12313 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12314 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12315 (todo-add-item-if-new-category, todo-always-add-time-string)
12316 (todo-categories-align, todo-categories-archived-label)
12317 (todo-categories-category-label, todo-categories-diary-label)
12318 (todo-categories-done-label, todo-categories-number-separator)
12319 (todo-categories-todo-label, todo-categories-totals-label)
12320 (todo-category-completions-files, todo-completion-ignore-case)
12321 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12322 (todo-done-separator-string, todo-done-string)
12323 (todo-files-function, todo-filter-done-items, todo-filter-files)
12324 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12325 (todo-initial-category, todo-initial-file, todo-item-mark)
12326 (todo-legacy-date-time-regexp, todo-mode-line-function)
12327 (todo-nondiary-marker, todo-number-prefix)
12328 (todo-print-buffer-function, todo-show-current-file)
12329 (todo-show-done-only, todo-show-first, todo-show-with-done)
12330 (todo-skip-archived-categories, todo-top-priorities-overrides)
12331 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12332 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12333 New defcustoms.
12334 (todo-category-done, todo-date-pattern, todo-date-string-start)
12335 (todo-diary-items-buffer, todo-done-string-start)
12336 (todo-filtered-items-buffer, todo-item-start)
12337 (todo-month-abbrev-array, todo-month-name-array)
12338 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12339 (todo-top-priorities-buffer): New defconsts.
12340 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12341 (todo-categories-with-marks, todo-category-string-face)
12342 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12343 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12344 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12345 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12346 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12347 (todo-font-lock-keywords, todo-global-current-todo-file)
12348 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12349 (todo-insertion-commands-args)
12350 (todo-insertion-commands-args-genlist)
12351 (todo-insertion-commands-names, todo-insertion-map)
12352 (todo-key-bindings-t, todo-key-bindings-t+a)
12353 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12354 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12355 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12356 (todo-visited): New variables.
12357
12358 2013-06-21 Glenn Morris <rgm@gnu.org>
12359
12360 * play/cookie1.el (cookie-apropos): Add optional display argument.
12361 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12362 (psychoanalyze-pinhead): Use cookie-doctor.
12363
12364 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12365
12366 * emacs-lisp/package.el (tar-get-file-descriptor)
12367 (tar--extract): Declare.
12368
12369 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12370
12371 Extend flymake's warning predicate to be a function (bug#14217).
12372 * progmodes/flymake.el (flymake-warning-predicate): New.
12373 (flymake-parse-line): Use it.
12374 (flymake-warning-re): Make obsolete alias to
12375 `flymake-warning-predicate'.
12376
12377 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12380 (package-obsolete-list): Remove.
12381 (package-activate): Remove min-version argument. Add `force' argument.
12382 Adjust to new package-alist format.
12383 (package-mark-obsolete): Remove.
12384 (package-unpack): Force reload of the package's autoloads.
12385 (package-installed-p): Check builtins if the installed package is not
12386 recent enough.
12387 (package-initialize): Don't reset package-obsolete-list.
12388 Don't specify which package version to activate.
12389 (package-process-define-package, describe-package-1)
12390 (package-menu--generate): Adjust to new package-alist format.
12391
12392 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12393
12394 * allout-widgets.el (allout-widgets-mode-off)
12395 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12396 (allout-widgets-post-command-business)
12397 (allout-widgets-after-copy-or-kill-function)
12398 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12399 (allout-decorate-item-and-context)
12400 (allout-graphics-modification-handler): Fix typos in docstrings.
12401 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12402
12403 * cmuscheme.el (scheme-start-file): Doc fix.
12404 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12405 (scheme-input-filter): Use `string-match-p'.
12406
12407 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12408
12409 * dired-x.el: Use Dired consistently in docstrings.
12410
12411 * dired.el: Use Dired consistently in docstrings.
12412 (dired-readin, dired-mode): Use `setq-local'.
12413 (dired-switches-alist): Make defvar-local.
12414 (dired-buffers-for-dir): Use `zerop'.
12415 (dired-safe-switches-p, dired-switches-escape-p)
12416 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12417 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12418 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12419 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12420 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12421 (dired-toggle-marks, dired-mark-files-containing-regexp)
12422 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12423 (dired-flag-auto-save-files, dired-flag-backup-files):
12424 Use `looking-at-p'.
12425 (dired-mark-files-regexp, dired-build-subdir-alist):
12426 Use `string-match-p', `looking-at-p'.
12427
12428 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12429 (direct-print-region-helper): Use `string-match-p'.
12430
12431 2013-06-21 Leo Liu <sdl.web@gmail.com>
12432
12433 * comint.el (comint-redirect-results-list-from-process):
12434 Fix infinite loop.
12435
12436 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12437
12438 * net/eww.el (eww-update-header-line-format): Quote % characters.
12439
12440 2013-06-21 Glenn Morris <rgm@gnu.org>
12441
12442 * play/cookie1.el (cookie): New custom group.
12443 (cookie-file): New option.
12444 (cookie-check-file): New function.
12445 (cookie): Make it interactive. Make start and end messages optional.
12446 Interactively, display the result. Default to cookie-file.
12447 (cookie-insert): Default to cookie-file.
12448 (cookie-snarf): Make start and end messages optional.
12449 Default to cookie-file. Use with-temp-buffer.
12450 (cookie-read): Rename from read-cookie.
12451 Make start and end messages optional. Default to cookie-file.
12452 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12453 Do not autoload it.
12454 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12455 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12456
12457 2013-06-21 Leo Liu <sdl.web@gmail.com>
12458
12459 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12460
12461 2013-06-21 Glenn Morris <rgm@gnu.org>
12462
12463 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12464
12465 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12466 Daniel Hackney <dan@haxney.org>
12467
12468 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12469 Consolidate the single-file vs tarball code.
12470 (package-desc-suffix): New function.
12471 (package-desc-full-name): Don't bother inlining it.
12472 (package-load-descriptor): Return the new package-desc.
12473 (package-mark-obsolete): Remove unused arg `package'.
12474 (package-unpack): Make it work for single files as well.
12475 Make it update package-alist.
12476 (package--make-autoloads-and-stuff): Rename from
12477 package--make-autoloads-and-compile. Don't compile any more.
12478 (package--compile): New function.
12479 (package-generate-description-file): New function, extracted from
12480 package-unpack-single.
12481 (package-unpack-single): Remove.
12482 (package--with-work-buffer): Add indentation and debugging info.
12483 (package-download-single): Remove.
12484 (package-install-from-archive): Rename from package-download-tar, make
12485 it take a pkg-desc, and make it work for single files as well.
12486 (package-download-transaction): Simplify.
12487 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12488 external tar program.
12489 (package-install-from-buffer): Remove `pkg-desc' argument.
12490 Use package-tar-file-info for tar-mode buffers.
12491 (package-install-file): Simplify accordingly.
12492 (package-archive-base): Change to take a pkg-desc.
12493 * tar-mode.el (tar--check-descriptor): New function, extracted from
12494 tar-get-descriptor.
12495 (tar-get-descriptor): Use it.
12496 (tar-get-file-descriptor): New function.
12497 (tar--extract): New function, extracted from tar-extract.
12498 (tar--extract): Use it.
12499 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12500 case the summary uses non-ascii. Adjust to new calling convention of
12501 package-tar-file-info.
12502
12503 2013-06-21 Leo Liu <sdl.web@gmail.com>
12504
12505 * comint.el (comint-redirect-results-list-from-process):
12506 Fix random delay. (Bug#14681)
12507
12508 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12509
12510 * profiler.el (profiler-format-number): Use log, not log10.
12511
12512 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12513
12514 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12515
12516 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12517
12518 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12519 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12520 yet available.
12521 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12522 (AUTOGENEL): ... here.
12523 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12524 (cl--defsubst-expand): Use it.
12525
12526 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12527
12528 * subr.el (log10): Move here from C code, and declare as obsolete.
12529 All uses of (log10 X) replaced with (log X 10).
12530
12531 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12532
12533 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12534 Declare with `defvar-local'.
12535 (tabulated-list-use-header-line, tabulated-list-entries)
12536 (tabulated-list-padding, tabulated-list-printer)
12537 (tabulated-list-sort-key): Declare with `defvar-local'.
12538 (tabulated-list-init-header, tabulated-list-print-fake-header):
12539 Use `setq-local'.
12540
12541 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12542
12543 * arc-mode.el (archive-mode): Add `archive-write-file' to
12544 `write-contents-functions' also for remote files. (Bug#14652)
12545
12546 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12547
12548 * cus-edit.el (custom-commands): Fix typos.
12549 (custom-display): Fix tooltip text.
12550 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12551 Fix typos in docstrings.
12552 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12553 (custom-unlispify-menu-entry, custom-magic-value-create)
12554 (custom-add-see-also, custom-group-value-create): Use ?\s.
12555 (custom-guess-type, customize-apropos, editable-field)
12556 (custom-face-value-create): Use `string-match-p'.
12557 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12558
12559 * custom.el (custom-load-symbol): Use `string-match-p'.
12560
12561 * ansi-color.el: Convert to lexical binding.
12562 (ansi-colors): Fix URL.
12563 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12564 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12565 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12566
12567 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12568
12569 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12570
12571 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12572
12573 2013-06-19 Tom Tromey <tromey@redhat.com>
12574
12575 * net/eww.el (eww-top-url): Remove.
12576 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12577 (eww-render): Set new variables. Don't set eww-top-url.
12578 (eww-handle-link): Handle "prev", "home", and "contents".
12579 Downcase the rel text.
12580 (eww-top-url): Choose best top URL.
12581
12582 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12583
12584 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12585 relying in widget.el. Using widget.el leads to too many
12586 user interface inconsistencies.
12587 (eww-self-insert): Implement entering commands in text fields.
12588 (eww-process-text-input): New function to make text input field editing
12589 work.
12590 (eww-submit): Rewrite to use the new-style form methods.
12591 (eww-select-display): Display the correct selected item.
12592 (eww-change-select): Implement changing the select value.
12593 (eww-toggle-checkbox): Implement radio/checkboxes.
12594 (eww-update-field): Fix compilation error.
12595 (eww-tag-textarea): Implement <textarea>.
12596
12597 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12598 we don't shadow mode-specific bindings.
12599
12600 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12601 nothing to push.
12602
12603 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12604
12605 2013-06-19 Glenn Morris <rgm@gnu.org>
12606
12607 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12608
12609 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12610
12611 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12612 not needed.
12613
12614 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12615
12616 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12617
12618 * net/browse-url.el (browse-url-browser-function):
12619 `eww-browse-url' has the right calling signature, `eww' does not.
12620
12621 2013-06-19 Glenn Morris <rgm@gnu.org>
12622
12623 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12624 Only eval autoloaded macros.
12625 (byte-compile-autoload): Only give the macro warning for macros.
12626
12627 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12628 (ps-underlined-faces): Declare.
12629
12630 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12631 (speedbar-add-supported-extension): Declare.
12632
12633 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12634 Don't include a date stamp in the header of the generated file;
12635 it leads to needless differences between output files.
12636
12637 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12638
12639 * net/secrets.el (secrets-struct-secret-content-type):
12640 Replace check of introspection data by a test call of "CreateItem".
12641 Some servers do not offer introspection.
12642
12643 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12644
12645 * electric.el (electric-pair-mode): Improve interaction with
12646 electric-layout-mode.
12647 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12648 (electric-pair-syntax): Use text-mode-syntax-table in comments
12649 and strings.
12650 (electric-pair--insert): New function.
12651 (electric-pair-post-self-insert-function): Use it and
12652 electric--after-char-pos.
12653
12654 2013-06-19 Leo Liu <sdl.web@gmail.com>
12655
12656 * progmodes/octave.el (octave-help): Fix regexp.
12657
12658 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12659
12660 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12661 (shr-table-horizontal-line): Allow nil as a value, and change the
12662 default.
12663 (shr-insert-table-ruler): Respect the nil value.
12664
12665 2013-06-18 Tom Tromey <tromey@barimba>
12666
12667 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12668 New defvars.
12669 (eww-open-file): New defun.
12670 (eww-render): Initialize new variables.
12671 (eww-display-html): Handle "link" and "a".
12672 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12673 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12674 (eww-back-url): Rename from eww-previous-url.
12675 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12676 New defuns.
12677
12678 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12679
12680 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12681 Distinguish ternary operator tokens from slash symbol and slash
12682 char literal.
12683
12684 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12685
12686 Convert symbol prettification into minor mode and global minor mode.
12687
12688 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12689 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12690 (prettify-symbols--keywords): Rename from
12691 `prog-prettify-symbols-alist' and make a local defvar.
12692 (prettify-symbols--compose-symbol): Rename from
12693 `prog--prettify-font-lock-compose-symbol'.
12694 (prettify-symbols--make-keywords): Rename from
12695 `prog-prettify-font-lock-symbols-keywords' and simplify.
12696 (prog-prettify-install): Remove.
12697 (prettify-symbols-mode): New minor mode, based on
12698 `prog-prettify-install'.
12699 (turn-on-prettify-symbols-mode): New function.
12700 (global-prettify-symbols-mode): New globalized minor mode.
12701
12702 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12703 * progmodes/cfengine.el (cfengine3-mode):
12704 * progmodes/perl-mode.el (perl-mode): Don't call
12705 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12706
12707 2013-06-18 Juri Linkov <juri@jurta.org>
12708
12709 * files-x.el (modify-file-local-variable-message): New function.
12710 (modify-file-local-variable)
12711 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12712 and call `modify-file-local-variable-message' when it's non-nil.
12713 (add-file-local-variable, delete-file-local-variable)
12714 (add-file-local-variable-prop-line)
12715 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12716 and use it. (Bug#9820)
12717
12718 2013-06-18 Juri Linkov <juri@jurta.org>
12719
12720 * emulation/vi.el (vi-shell-op):
12721 * emulation/vip.el (vip-execute-com, ex-command):
12722 * emulation/viper-cmd.el (viper-exec-bang):
12723 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12724 the call of `shell-command-on-region'. (Bug#14637)
12725
12726 * simple.el (shell-command-on-region): Doc fix.
12727
12728 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12731 (bug#14633).
12732
12733 2013-06-18 Glenn Morris <rgm@gnu.org>
12734
12735 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12736
12737 * newcomment.el (comment-search-forward, comment-search-backward):
12738 Doc fix. (Bug#14376)
12739
12740 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12741
12742 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12743 (buffer-face-mode-invoke): Doc fix.
12744
12745 2013-06-18 Matthias Meulien <orontee@gmail.com>
12746
12747 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12748 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12749
12750 2013-06-18 Glenn Morris <rgm@gnu.org>
12751
12752 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12753 Replace obsolete function generic-make-keywords with its expansion.
12754
12755 * progmodes/python.el (ffap-alist): Declare.
12756
12757 * textmodes/reftex.el (bibtex-mode-map): Declare.
12758
12759 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12762 (package-unpack, package-unpack-single): Return the pkg-dir.
12763 (package-download-transaction): Use it to update package-alist.
12764
12765 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12766
12767 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12768 possible choice.
12769
12770 2013-06-17 Juri Linkov <juri@jurta.org>
12771
12772 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12773
12774 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12775
12776 * emacs-lisp/package.el (package-load-descriptor):
12777 Remove `with-syntax-table' call, `read' doesn't need it.
12778 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12779
12780 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12781
12782 * startup.el (command-line): Expand package name returned by
12783 `package--description-file' (bug#14639).
12784
12785 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12786
12787 * emacs-lisp/package.el (package-load-descriptor): Do not call
12788 `emacs-lisp-mode', just use its syntax table.
12789
12790 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12791
12792 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12793 `font-lock-extra-managed-props' if any prettifying keyword is added.
12794 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12795 (prog-mode): Use `setq-local'.
12796
12797 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * international/characters.el (standard-case-table): Set syntax of ?»
12800 and ?« to punctuation.
12801
12802 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12803
12804 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12805 Save relevant match data before calling `syntax-ppss' (bug#14595).
12806
12807 2013-06-15 Juri Linkov <juri@jurta.org>
12808
12809 * files-x.el (modify-file-local-variable-prop-line): Add local
12810 variables to the end of the existing comment on the first line.
12811 Use `file-auto-mode-skip' to skip interpreter magic line,
12812 and also skip XML declaration.
12813
12814 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12815
12816 * startup.el (package--builtin-versions): New var.
12817 (package-subdirectory-regexp): Remove.
12818 (package--description-file): Hard code its value instead.
12819
12820 * emacs-lisp/package.el: Don't activate packages older than builtin.
12821 (package-obsolete-list): Rename from package-obsolete-alist, and make
12822 it into a simple list of package-desc.
12823 (package-strip-version): Remove.
12824 (package-built-in-p): Use package--builtin-versions.
12825 (package-mark-obsolete): Simplify.
12826 (package-process-define-package): Mark it obsolete if older than the
12827 builtin version.
12828 (package-handle-response): Use line-end-position.
12829 (package-read-archive-contents, package--download-one-archive):
12830 Simplify.
12831 (package--add-to-archive-contents): Skip if older than the builtin or
12832 installed version.
12833 (package-menu-describe-package): Fix last change.
12834 (package-list-unversioned): New var.
12835 (package-menu--generate): Use it.
12836
12837 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12838 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12839 (autoload-builtin-package-versions): New variable.
12840 (autoload-generate-file-autoloads): Use them.
12841 Remove the list of autoloaded functions/macros from the
12842 (autoload...) comments.
12843
12844 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12845
12846 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12847
12848 * simple.el (line-move-partial): Don't jump to the next screen
12849 line as soon as it becomes visible. Instead, continue enlarging
12850 the vscroll until the portion of a tall screen line that's left on
12851 display is about the height of the frame's default font.
12852 (Bug#14567)
12853
12854 2013-06-15 Glenn Morris <rgm@gnu.org>
12855
12856 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12857 compilation-error-regexp-alist void, or local while let-bound.
12858
12859 * progmodes/make-mode.el (makefile-mode-syntax-table):
12860 Treat "=" as punctuation. (Bug#14614)
12861
12862 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12863
12864 * help-fns.el (describe-variable):
12865 Add extra line for permanent-local variables.
12866
12867 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12868
12869 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12870 Add export, import, library. (Bug#9164)
12871 (library): Set indent function.
12872
12873 2013-06-14 Glenn Morris <rgm@gnu.org>
12874
12875 * term/xterm.el (xterm--query):
12876 Stop after first matching handler. (Bug#14615)
12877
12878 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12879
12880 Add support for dired in saveplace.
12881 * dired.el (dired-initial-position-hook): New variable.
12882 (dired-initial-position): Call hook to place cursor position.
12883 * saveplace.el (save-place-to-alist): Add dired position.
12884 (save-place-dired-hook): New function.
12885
12886 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12889 through a symbol rather than letrec.
12890
12891 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12892 (package-desc): Add `dir' field.
12893 (package-desc-full-name): New function.
12894 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12895 (package-maybe-load-descriptor): Remove.
12896 (package-load-all-descriptors): Just call package-load-descriptor.
12897 (package--disabled-p): New function.
12898 (package-desc-vers, package-desc-doc): Remove aliases.
12899 (package--dir): Remove function.
12900 (package-activate): Check if a package is disabled.
12901 (package-process-define-package): New function, extracted from
12902 define-package.
12903 (define-package): Turn into a place holder.
12904 (package-unpack-single, package-tar-file-info):
12905 Use package--description-file.
12906 (package-compute-transaction): Use package--disabled-p.
12907 (package-download-transaction): Don't call
12908 package-maybe-load-descriptor since they're all loaded anyway.
12909 (package-install): Change argument to be a pkg-desc.
12910 (package-delete): Use a single pkg-desc argument.
12911 (describe-package-1): Use package-desc-dir instead of package--dir.
12912 Use package-desc property instead of package-symbol.
12913 (package-install-button-action): Adjust accordingly.
12914 (package--push): Rewrite.
12915 (package-menu--print-info): Adjust accordingly. Change the ID format
12916 to be a pkg-desc.
12917 (package-menu-describe-package, package-menu-get-status)
12918 (package-menu--find-upgrades, package-menu-mark-upgrades)
12919 (package-menu-execute, package-menu--name-predicate):
12920 Adjust accordingly.
12921 * startup.el (package--description-file): New function.
12922 (command-line): Use it.
12923 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12924 Use package-desc-version.
12925
12926 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12927 (byte-compile-preprocess): Use it.
12928 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12929 can't quite recognize.
12930 (byte-compile-add-to-list): Remove.
12931 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12932 (cconv-closure-convert): Add assertion.
12933
12934 * emacs-lisp/map-ynp.el: Use lexical-binding.
12935 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12936 Factor out some repeated code.
12937
12938 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 * subr.el (with-eval-after-load): New macro.
12941 (eval-after-load): Allow form to be a function.
12942 take advantage of lexical-binding.
12943 (do-after-load-evaluation): Use dolist and adjust to new format.
12944 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12945
12946 2013-06-13 Juri Linkov <juri@jurta.org>
12947
12948 * replace.el (perform-replace): Display "symbol " and other search
12949 modes from `isearch-message-prefix' in the *Help* buffer.
12950
12951 * isearch.el (isearch-query-replace): Add " symbol" and other
12952 possible search modes from `isearch-message-prefix' to the prompt.
12953 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12954 when reading a regexp to collect.
12955
12956 2013-06-13 Juri Linkov <juri@jurta.org>
12957
12958 * isearch.el (word-search-regexp): Match whitespace if the search
12959 string begins or ends in whitespace. The LAX arg is applied to
12960 both ends of the search string. Use `regexp-quote' and explicit
12961 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12962 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12963 boundaries are replaced with symbol boundaries, and characters
12964 between symbols match non-word non-symbol syntax. (Bug#14602)
12965
12966 2013-06-13 Juri Linkov <juri@jurta.org>
12967
12968 * isearch.el (isearch-del-char): Don't exceed the length of
12969 `isearch-string' by the prefix arg. (Bug#14563)
12970
12971 2013-06-13 Juri Linkov <juri@jurta.org>
12972
12973 * isearch.el (isearch-yank-word, isearch-yank-line)
12974 (isearch-char-by-name, isearch-quote-char)
12975 (isearch-printing-char, isearch-process-search-char):
12976 Add optional count prefix arg. (Bug#14563)
12977
12978 * international/isearch-x.el
12979 (isearch-process-search-multibyte-characters):
12980 Add optional count prefix arg.
12981
12982 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12985 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12986 lexical-binding.
12987
12988 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12989
12990 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12991
12992 2013-06-13 Glenn Morris <rgm@gnu.org>
12993
12994 * startup.el (tty-handle-args):
12995 Don't just discard "--" and anything after. (Bug#14608)
12996
12997 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12998
12999 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13000
13001 Implement changes in Secret Service API. Make it backward compatible.
13002 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13003 (secrets-create-item): Use it. Prefix properties with interface.
13004
13005 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13006
13007 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13008 (term-emulate-terminal): Respect term-suppress-hard-newline.
13009
13010 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13011
13012 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13013 Only remove a `thumb-file' overlay. (Bug#14548)
13014
13015 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13016
13017 * mail/reporter.el (reporter-submit-bug-report):
13018 Handle missing package-name. (Bug#14600)
13019
13020 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13021
13022 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13023 (reftex-citation-prompt, reftex-default-bibliography)
13024 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13025 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13026 (reftex-bib-sort-author, reftex-bib-sort-year)
13027 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13028 (reftex-extract-bib-entries-from-thebibliography)
13029 (reftex-get-bibkey-default, reftex-get-bib-names)
13030 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13031 (reftex-format-bib-entry, reftex-parse-bibitem)
13032 (reftex-format-bibitem, reftex-do-citation)
13033 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13034 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13035 (reftex-insert-bib-matches, reftex-format-citation)
13036 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13037 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13038 existing comments into docstrings.
13039
13040 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13041
13042 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13043
13044 2013-06-12 Andreas Schwab <schwab@suse.de>
13045
13046 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13047 for auto-save files.
13048
13049 2013-06-12 Glenn Morris <rgm@gnu.org>
13050
13051 * ido.el (ido-delete-ignored-files): Remove.
13052 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13053 Go back to calling ido-ignore-item-p directly.
13054
13055 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13056
13057 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13058
13059 * ido.el (ido-delete-ignored-files): New function,
13060 split from ido-make-file-list-1.
13061 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13062 (ido-make-file-list-1): Use ido-delete-ignored-files.
13063
13064 2013-06-12 Leo Liu <sdl.web@gmail.com>
13065
13066 * progmodes/octave.el (inferior-octave-startup)
13067 (inferior-octave-completion-table)
13068 (inferior-octave-track-window-width-change)
13069 (octave-eldoc-function-signatures, octave-help)
13070 (octave-find-definition): Use single quoted strings.
13071 (inferior-octave-startup-args): Change default value.
13072 (inferior-octave-startup): Do not hard code "-i" and
13073 "--no-line-editing".
13074 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13075 (inferior-octave-directory-tracker): Use it.
13076 (octave-goto-function-definition): Robustify.
13077 (octave-help): Support highlighting operators in 'See also'.
13078 (octave-find-definition): Find subfunctions only in Octave mode.
13079
13080 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13081
13082 * help-fns.el (help-fns--compiler-macro): If the handler function is
13083 named, then put a link to it.
13084 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13085 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13086 (cl-typep): Use it.
13087 (cl-eval-when): Simplify debug spec.
13088 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13089 compiler-macro function instead of setting `compiler-macro-file'.
13090
13091 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13092
13093 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13094 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13095
13096 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13097 Daniel Hackney <dan@haxney.org>
13098
13099 First part of Daniel Hackney's patch to package.el.
13100 * emacs-lisp/package.el: Use defstruct.
13101 (package-desc): New, main struct.
13102 (package--bi-desc, package--ac-desc): New structs, used to describe the
13103 format in external files.
13104 (package-desc-vers): Replace with package-desc-version accessor.
13105 (package-desc-doc): Replace with package-desc-summary accessor.
13106 (package-activate-1): Remove `package' arg since the pkg-vec now
13107 includes the name.
13108 (define-package): Use package-desc-from-define.
13109 (package-unpack-single): Change file-name arg to be a symbol.
13110 (package--add-to-archive-contents): Use package-desc-create and new
13111 accessor functions to package--ac-desc.
13112 (package-buffer-info, package-tar-file-info): Return a package-desc.
13113 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13114 arg to be a package-desc.
13115 (package-install-file): Adjust accordingly. Use \' to match EOS.
13116 (package--from-builtin): New function.
13117 (describe-package-1, package-menu--generate): Use it.
13118 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13119 (package-generate-autoloads): Idem and return the name of the file.
13120 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13121 Change pkg-info arg to be a package-desc.
13122 Use package-make-ac-desc.
13123 (package-upload-file): Use \' to match EOS.
13124 * finder.el (finder-compile-keywords): Use package-make-builtin.
13125
13126 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * vc/vc.el (vc-deduce-fileset): Change error message.
13129 (vc-read-backend): New function.
13130 (vc-next-action): Use it.
13131
13132 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13133
13134 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13135 (prolog-font-lock-keywords): Use regexp-opt instead.
13136 Don't manually highlight strings.
13137 (prolog-mode-variables): Simplify comment-start-skip.
13138 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13139
13140 * emacs-lisp/generic.el (generic--normalise-comments)
13141 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13142 (generic-mode-set-comments): Use them.
13143 (generic-bracket-support): Use setq-local.
13144 (generic-make-keywords-list): Declare obsolete.
13145
13146 2013-06-11 Glenn Morris <rgm@gnu.org>
13147
13148 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13149 Prettify after setting font-lock-defaults. (Bug#14574)
13150
13151 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13152
13153 * replace.el (query-replace, occur-read-regexp-defaults-function)
13154 (replace-search):
13155 * subr.el (declare-function, number-sequence, local-set-key)
13156 (substitute-key-definition, locate-user-emacs-file)
13157 (with-silent-modifications, split-string, eval-after-load):
13158 Fix typos, remove unneeded backslashes and reflow some docstrings.
13159
13160 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13161
13162 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13163 default for Elisp files.
13164
13165 2013-06-11 Glenn Morris <rgm@gnu.org>
13166
13167 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13168 although define-derived-mode was doing this anyway. (Bug#14583)
13169
13170 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13171
13172 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13173 Fix make-variable-buffer-local call to refer to the correct variable.
13174
13175 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13176
13177 * eshell/em-term.el (eshell-visual-commands)
13178 (eshell-visual-subcommands, eshell-visual-options):
13179 Add summary line to docstrings. Add cross-references.
13180
13181 2013-06-10 Glenn Morris <rgm@gnu.org>
13182
13183 * epa.el (epa-read-file-name): New function. (Bug#14510)
13184 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13185
13186 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13187
13188 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13189 output redirection to be ignored with visual commands.
13190
13191 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13192
13193 * eshell/em-term.el (eshell-visual-command-p): New function.
13194 (eshell-term-initialize): Move long lambda to separate function
13195 eshell-visual-command-p.
13196 * eshell/em-dirs.el (eshell-dirs-initialize):
13197 * eshell/em-script.el (eshell-script-initialize):
13198 Add missing #' to lambda.
13199
13200 2013-06-08 Leo Liu <sdl.web@gmail.com>
13201
13202 * progmodes/octave.el (octave-add-log-current-defun): New function.
13203 (octave-mode): Set add-log-current-defun-function.
13204 (octave-goto-function-definition): Do not move point if not found.
13205 (octave-find-definition): Enhance to try subfunctions first.
13206
13207 2013-06-08 Glenn Morris <rgm@gnu.org>
13208
13209 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13210 (byte-compile-backward-char, byte-compile-backward-word):
13211 Improve previous change, to handle non-explicit nil.
13212
13213 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13216 (smie--opener/closer-at-point): New function.
13217 (smie--matching-block-data): Use it. Don't match from right after an
13218 opener or right before a closer. Obey smie-blink-matching-inners.
13219 Don't signal a mismatch for repeated inners like "switch..case..case".
13220
13221 2013-06-07 Leo Liu <sdl.web@gmail.com>
13222
13223 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13224 to t. (Bug#14303)
13225 (octave-function-header-regexp): Fix. (Bug#14570)
13226 (octave-help-mode-finish-hook, octave-help-mode-finish):
13227 Remove. Just use temp-buffer-show-hook.
13228
13229 * newcomment.el (comment-search-backward): Revert last change.
13230 (Bug#14434)
13231
13232 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13233
13234 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13235
13236 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13237 through xargs, to avoid failure due to MS-Windows limitations on
13238 command-line length.
13239
13240 2013-06-06 Glenn Morris <rgm@gnu.org>
13241
13242 * font-lock.el (lisp-font-lock-keywords-2):
13243 Treat user-error like error.
13244
13245 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13246 (byte-compile-backward-char, byte-compile-backward-word):
13247 Handle explicit nil arguments. (Bug#14565)
13248
13249 2013-06-05 Alan Mackenzie <acm@muc.de>
13250
13251 * isearch.el (isearch-allow-prefix): New user option.
13252 (isearch-other-meta-char): Don't exit isearch when a prefix
13253 argument is typed whilst `isearch-allow-prefix' is non-nil.
13254 (Bug#9706)
13255
13256 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * autorevert.el (auto-revert-notify-handler): Use memq.
13259 Hide assertion failure.
13260
13261 * skeleton.el: Use cl-lib.
13262 (skeleton-further-elements): Use defvar-local.
13263 (skeleton-insert): Use cl-progv.
13264
13265 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13266
13267 * progmodes/prog-mode.el (prog-prettify-symbols)
13268 (prog-prettify-install): Update docstrings.
13269
13270 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13271
13272 * simple.el: Move all the prog-mode code to prog-mode.el.
13273 * progmodes/prog-mode.el: New file.
13274 * loadup.el: Add prog-mode.el.
13275
13276 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13277
13278 * simple.el (prog-prettify-symbols): Add version.
13279 (prog-prettify-install): Add convenience function to prettify symbols.
13280
13281 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13282 (perl--augmented-font-lock-keywords-1)
13283 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13284 variables and use it.
13285
13286 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13287 (cfengine3-mode): Remove unneeded variable and use it.
13288
13289 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13290 (lisp--augmented-font-lock-keywords-1)
13291 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13292 Remove unneeded variables and use it.
13293
13294 2013-06-05 João Távora <joaotavora@gmail.com>
13295
13296 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13297 to point when opening the connection. (Bug#14380)
13298
13299 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * subr.el (load-history-regexp, load-history-filename-element)
13302 (eval-after-load, after-load-functions, do-after-load-evaluation)
13303 (eval-next-after-load, display-delayed-warnings)
13304 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13305 definition of save-match-data.
13306 (overriding-local-map): Remove accidental obsolescence declaration.
13307
13308 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13309
13310 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13311
13312 Generalize symbol prettify support to prog-mode and implement it
13313 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13314 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13315 (prog--prettify-font-lock-compose-symbol)
13316 (prog-prettify-font-lock-symbols-keywords): New variables and
13317 functions to support symbol prettification.
13318 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13319 (lisp--augmented-font-lock-keywords-1)
13320 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13321 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13322 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13323 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13324 Implement prettify of -> => :: strings.
13325 * progmodes/perl-mode.el (perl-prettify-symbols)
13326 (perl--font-lock-compose-symbol)
13327 (perl--font-lock-symbols-keywords): Move to prog-mode.
13328 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13329 (perl-font-lock-keywords-1)
13330 (perl-font-lock-keywords-2): Remove explicit prettify support.
13331 (perl--augmented-font-lock-keywords)
13332 (perl--augmented-font-lock-keywords-1)
13333 (perl--augmented-font-lock-keywords-2, perl-mode):
13334 Implement prettify support.
13335
13336 2013-06-05 Leo Liu <sdl.web@gmail.com>
13337
13338 Re-implement SMIE matching block highlight using
13339 show-paren-data-function. (Bug#14395)
13340 * emacs-lisp/smie.el (smie-matching-block-highlight)
13341 (smie--highlight-matching-block-overlay)
13342 (smie--highlight-matching-block-lastpos)
13343 (smie-highlight-matching-block)
13344 (smie-highlight-matching-block-mode): Remove.
13345 (smie--matching-block-data-cache): New variable.
13346 (smie--matching-block-data): New function.
13347 (smie-setup): Use smie--matching-block-data for
13348 show-paren-data-function.
13349
13350 * progmodes/octave.el (octave-mode-menu): Fix.
13351 (octave-find-definition): Skip garbage lines.
13352
13353 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13354
13355 Fix compilation error with simultaneous dynamic+lexical scoping.
13356 Add warning when a defvar appears after the first let-binding.
13357 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13358 (byte-compile-close-variables): Initialize it.
13359 (byte-compile--declare-var): New function.
13360 (byte-compile-file-form-defvar)
13361 (byte-compile-file-form-define-abbrev-table)
13362 (byte-compile-file-form-custom-declare-variable): Use it.
13363 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13364 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13365 (byte-compile-bind): Handle dynamic bindings that shadow
13366 lexical bindings.
13367 (byte-compile-unbind): Make arg non-optional.
13368 (byte-compile-let): Simplify.
13369 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13370 (cconv--analyse-function, cconv-analyse-form): Populate it.
13371 Protect byte-compile-bound-variables to limit the scope of defvars.
13372 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13373 Remove unneeded rule for `declare'.
13374
13375 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13376 so as to avoid depending on cl-adjoin at run-time.
13377 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13378
13379 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13380 (macroexp--warn-and-return): Use it.
13381
13382 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13383
13384 * subr.el: Convert to lexical binding.
13385 (overriding-local-map): Make obsolete.
13386 (add-to-list): Doc fix. Add compiler macro.
13387 (read-key): Swap values of local maps.
13388
13389 2013-06-05 Leo Liu <sdl.web@gmail.com>
13390
13391 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13392
13393 2013-06-04 Leo Liu <sdl.web@gmail.com>
13394
13395 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13396 (compilation-auto-jump): Suppress the "Mark set" message to give
13397 way to exit message.
13398
13399 2013-06-04 Alan Mackenzie <acm@muc.de>
13400
13401 Remove faulty optimisation from indentation calculation.
13402 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13403 search limit based on 2000 characters back from indent-point.
13404
13405 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13406
13407 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13408
13409 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13410
13411 * emacs-lisp/lisp.el: Use lexical-binding.
13412 (lisp--local-variables-1, lisp--local-variables): New functions.
13413 (lisp--local-variables-completion-table): New var.
13414 (lisp-completion-at-point): Use it complete let-bound vars.
13415
13416 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13417 eagerly (bug#14422).
13418
13419 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13420
13421 * autorevert.el (auto-revert-notify-enabled)
13422 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13423 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13424 (auto-revert-notify-handler): Handle also gfilenotify.
13425
13426 * subr.el (file-notify-handle-event): New defun. Replacing ...
13427 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13428 Remove.
13429
13430 2013-06-03 Juri Linkov <juri@jurta.org>
13431
13432 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13433 `M-s h .'. (Bug#14427)
13434
13435 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13436 command `hi-lock-face-symbol-at-point'.
13437 (hi-lock-face-symbol-at-point): New command.
13438 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13439 (hi-lock-menu): Add `highlight-symbol-at-point'.
13440 (hi-lock-mode): Doc fix.
13441
13442 * isearch.el (isearch-forward-symbol-at-point): New command.
13443 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13444 (isearch-highlight-regexp): Add a regexp which matches
13445 words/symbols for word/symbol mode.
13446
13447 * subr.el (find-tag-default-bounds): New function with the body
13448 mostly moved from `find-tag-default'.
13449 (find-tag-default): Move most code to `find-tag-default-bounds',
13450 call it and apply `buffer-substring-no-properties' afterwards.
13451
13452 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13453
13454 * eshell/em-term.el (eshell-term-initialize):
13455 Use `cl-intersection' rather than `intersection'.
13456
13457 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13458
13459 * vc/log-view.el: Doc fix.
13460 (log-view-mode-map): Copy keymap from `special-mode-map'.
13461
13462 2013-06-02 Eric Ludlam <zappo@gnu.org>
13463
13464 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13465 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13466 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13467 (eieio-unbound, eieio-default-superclass)
13468 (eieio--define-field-accessors, method-static, method-before)
13469 (method-primary, method-after, method-num-lists)
13470 (method-generic-before, method-generic-primary)
13471 (method-generic-after, method-num-slots)
13472 (eieio-specialized-key-to-generic-key)
13473 (eieio--check-type, class-v, class-p)
13474 (eieio-class-name, define-obsolete-function-alias)
13475 (eieio-class-parents-fast, eieio-class-children-fast)
13476 (same-class-fast-p, class-constructor, generic-p)
13477 (generic-primary-only-p, generic-primary-only-one-p)
13478 (class-option-assoc, class-option, eieio-object-p)
13479 (class-abstract-p, class-method-invocation-order)
13480 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13481 (eieio-class-un-autoload, eieio-defclass)
13482 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13483 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13484 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13485 (eieio-defgeneric-reset-generic-form)
13486 (eieio-defgeneric-form-primary-only)
13487 (eieio-defgeneric-reset-generic-form-primary-only)
13488 (eieio-defgeneric-form-primary-only-one)
13489 (eieio-defgeneric-reset-generic-form-primary-only-one)
13490 (eieio-unbind-method-implementations)
13491 (eieio--defmethod, eieio--typep)
13492 (eieio-perform-slot-validation, eieio-validate-slot-value)
13493 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13494 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13495 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13496 (eieio-slot-name-index, eieio-class-slot-name-index)
13497 (eieio-set-defaults, eieio-initarg-to-attribute)
13498 (eieio-attribute-to-initarg, eieio-c3-candidate)
13499 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13500 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13501 (eieio-class-precedence-list, eieio-generic-call-methodname)
13502 (eieio-generic-call-arglst, eieio-generic-call-key)
13503 (eieio-generic-call-next-method-list)
13504 (eieio-pre-method-execution-functions, eieio-generic-call)
13505 (eieio-generic-call-primary-only, eieiomt-method-list)
13506 (eieiomt-optimizing-obarray, eieiomt-install)
13507 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13508 (eieio-generic-form, eieio-defmethod, make-obsolete)
13509 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13510 (defclass): Remove `eval-and-compile' from macro.
13511 (call-next-method, shared-initialize): Instead of using
13512 `scoped-class' variable, use new eieio--scoped-class, and
13513 eieio--with-scoped-class.
13514 (initialize-instance): Rename local variable 'scoped-class' to
13515 'this-class' to remove ambiguitity from old global.
13516
13517 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13518 eieio.el.
13519 (eieio--scoped-class-stack): New variable.
13520 (eieio--scoped-class): New fcn.
13521 (eieio--with-scoped-class): New scoping macro.
13522 (eieio-defclass): Use pushnew instead of add-to-list.
13523 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13524 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13525 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13526 `scoped-class' variable, use new eieio--scoped-class, and
13527 eieio--with-scoped-class.
13528
13529 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13530
13531 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13532
13533 * eshell/esh-ext.el (eshell-external-command): Pass args to
13534 `eshell-find-interpreter'.
13535 (eshell-find-interpreter): Add new second parameter ARGS.
13536
13537 * eshell/em-script.el (eshell-script-initialize): Add second arg
13538 to the function added as MATCH to `eshell-interpreter-alist'.
13539
13540 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13541 the function added as MATCH to `eshell-interpreter-alist'.
13542
13543 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13544 (eshell-visual-options): New defcustom.
13545 (eshell-escape-control-x): Adapt docstring.
13546 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13547 `eshell-visual-options' in addition to `eshell-visual-commands'.
13548 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13549
13550 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13551
13552 * progmodes/python.el (python-indent-block-enders): Add break,
13553 continue and raise keywords.
13554
13555 2013-06-01 Glenn Morris <rgm@gnu.org>
13556
13557 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13558
13559 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13560 * progmodes/cc-cmds.el (delete-forward-p):
13561 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13562 * progmodes/cc-engine.el (buffer-syntactic-context):
13563 * progmodes/cc-fonts.el (face-property-instance):
13564 * progmodes/cc-mode.el (set-keymap-parents):
13565 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13566 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13567 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13568 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13569 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13570
13571 * progmodes/cc-vars.el (other): Emacs has this widget since
13572 at least 21.1, so don't (re)define it.
13573
13574 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13575 Replace the obsolete alias pcomplete-arg-quote-list.
13576
13577 2013-06-01 Leo Liu <sdl.web@gmail.com>
13578
13579 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13580 punctuation syntax.
13581 (inferior-octave-minimal-columns)
13582 (inferior-octave-last-column-width): New variables.
13583 (inferior-octave-track-window-width-change): New function.
13584 (inferior-octave-mode): Adjust column width so that Octave output,
13585 for example from 'ls', can fit into the window nicely.
13586
13587 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13588
13589 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13590 Highlight expansions inside regexp literals.
13591
13592 2013-05-31 Glenn Morris <rgm@gnu.org>
13593
13594 * obsolete/sym-comp.el (symbol-complete):
13595 Replace obsolete completion-annotate-function.
13596
13597 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13598
13599 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13600
13601 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13602 New function, checks if point is inside a literal that allows
13603 expression expansion.
13604 (ruby-syntax-propertize-expansion): Use it.
13605 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13606 around the body.
13607
13608 2013-05-30 Juri Linkov <juri@jurta.org>
13609
13610 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13611 to "\M-si".
13612 (isearch-invisible): New variable.
13613 (isearch-forward): Doc fix.
13614 (isearch-mode): Set `isearch-invisible'
13615 to the value of `search-invisible'.
13616 (isearch-toggle-case-fold): Doc fix.
13617 (isearch-toggle-invisible): New command.
13618 (isearch-query-replace): Let-bind `search-invisible'
13619 to the value of `isearch-invisible'.
13620 (isearch-search): Use `isearch-invisible' instead of
13621 `search-invisible'. Let-bind `search-invisible'
13622 to the value of `isearch-invisible'. (Bug#11378)
13623
13624 2013-05-30 Juri Linkov <juri@jurta.org>
13625
13626 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13627 call when `query-flag' is nil and `search-invisible' is non-nil.
13628 (Bug#11746)
13629
13630 2013-05-30 Glenn Morris <rgm@gnu.org>
13631
13632 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13633
13634 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13635 (cc-require): Suppress spurious "noruntime" warnings.
13636 (cc-require-when-compile): Use fboundp, for sake of compiler.
13637
13638 * progmodes/cc-mode.el: Move load of cc-vars before that of
13639 cc-langs (which in turn loads cc-vars), to quieten compiler.
13640
13641 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13642
13643 * paren.el: Simplify the code.
13644 (show-paren-mode): Always start the timer.
13645 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13646 (show-paren--overlay, show-paren--overlay-1): Rename from
13647 show-paren-overlay and show-paren-overlay-1, and initialize to an
13648 overlay rather than to nil.
13649 (show-paren-function): Misc cleanup and simplifications.
13650
13651 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13652
13653 * paren.el (show-paren-data-function): New hook.
13654 (show-paren--default): New function, extracted from show-paren-function.
13655 (show-paren-function): Use show-paren-data-function.
13656
13657 2013-05-30 Glenn Morris <rgm@gnu.org>
13658
13659 * ielm.el (ielm-map, ielm-complete-symbol):
13660 Use completion-at-point rather than obsolete functions.
13661 (inferior-emacs-lisp-mode): Doc fix.
13662 Set completion-at-point-functions, rather than
13663 comint-dynamic-complete-functions.
13664
13665 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13666 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13667 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13668
13669 * image.el (image-animated-p): Tweak definition.
13670
13671 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13672 (rlogin-process-connection-type): Tweak default. Add set-after.
13673 (rlogin-host): Doc fix.
13674 (rlogin): Tweak prompt.
13675 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13676
13677 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13678 * progmodes/tcl.el (inferior-tcl-mode-map):
13679 Use completion-at-point rather than obsolete alias.
13680
13681 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13682
13683 * minibuffer.el (read-file-name-completion-ignore-case):
13684 Move before completion--in-region, for eager macro expansion.
13685
13686 2013-05-29 Juri Linkov <juri@jurta.org>
13687
13688 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13689 for total count of matching lines. Add `global-matches' for total
13690 count of matches. Rename `matches' to `lines' for count of
13691 matching lines. Add `matches' for count of matches.
13692 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13693 to `prev-line' for line number of prev match endpt.
13694 Increment `matches' for every match. Print the number of
13695 matching lines in the header.
13696 (occur-context-lines): Rename `lines' to `curr-line'.
13697 Rename `prev-lines' to `prev-line'. (Bug#14017)
13698
13699 2013-05-29 Juri Linkov <juri@jurta.org>
13700
13701 * replace.el (perform-replace): Add `skip-read-only-count',
13702 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13703 Increment them for corresponding conditions and report the number
13704 of skipped occurrences in the final message. (Bug#11746)
13705 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13706 (replace-string, replace-regexp): Doc fix.
13707
13708 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13709
13710 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13711
13712 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13713 prog-mode-map (bug#14504).
13714
13715 2013-05-29 Leo Liu <sdl.web@gmail.com>
13716
13717 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13718 (octave-help): Small simplification.
13719
13720 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13721 off the highlight first.
13722
13723 2013-05-29 Glenn Morris <rgm@gnu.org>
13724
13725 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13726 Handle idlwave-last-system-routine-info-cons-cell being nil.
13727
13728 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13729 (idlwave-write-paths): Simplify via with-temp-buffer.
13730
13731 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13732 * emulation/cua-rect.el: Also load cua-base at run time.
13733
13734 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13735 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13736 (cperl-imenu-on-info): Require imenu.
13737
13738 2013-05-28 Alan Mackenzie <acm@muc.de>
13739
13740 Handle "capitalised keywords" correctly.
13741 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13742
13743 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13744
13745 * eshell/em-unix.el: Add -r option to cp.
13746
13747 2013-05-28 Glenn Morris <rgm@gnu.org>
13748
13749 * vc/vc-arch.el (vc-exec-after): Declare.
13750 (vc-switches): Autoload.
13751 * vc/vc-bzr.el: No need to require vc when compiling.
13752 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13753 (vc-resynch-buffer, vc-dir-refresh): Declare.
13754 (vc-setup-buffer, vc-switches): Autoload.
13755 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13756 (vc-resynch-buffer): Declare.
13757 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13758 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13759 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13760 (grep-read-regexp, grep-read-files, grep-expand-template)
13761 (vc-dir-refresh): Declare.
13762 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13763 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13764 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13765 * vc/vc-mtn.el (vc-exec-after): Declare.
13766 (vc-switches): Autoload.
13767 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13768 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13769 (vc-file-tree-walk): Declare.
13770 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13771 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13772 (vc-tag-precondition, vc-rename-master): Autoload.
13773 * vc/vc-svn.el (vc-exec-after): Declare.
13774 (vc-switches, vc-setup-buffer): Autoload.
13775 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13776 Autoload.
13777 (vc-resynch-buffer): Declare.
13778
13779 * obsolete/fast-lock.el (byte-compile-warnings):
13780 Don't warn about obsolete features in this obsolete file.
13781
13782 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13783 Move definition before use.
13784
13785 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13786 (dun-unix-verbs): Remove dun-zippy.
13787 (dun-zippy): Remove function.
13788
13789 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13790
13791 2013-05-27 Juri Linkov <juri@jurta.org>
13792
13793 * replace.el (replace-search): New function with code moved out
13794 from `perform-replace'.
13795 (replace-highlight, replace-dehighlight): Move function definitions
13796 up closer to `replace-search'. (Bug#11746)
13797
13798 2013-05-27 Juri Linkov <juri@jurta.org>
13799
13800 * replace.el (perform-replace): Ignore invisible matches.
13801 In addition to checking `query-replace-skip-read-only', also
13802 filter out matches by calling `run-hook-with-args-until-failure'
13803 on `isearch-filter-predicates', and also check `search-invisible'
13804 for t or call `isearch-range-invisible'.
13805 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13806
13807 2013-05-27 Juri Linkov <juri@jurta.org>
13808
13809 * isearch.el (isearch-filter-predicates): Rename from
13810 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13811 (isearch-message-prefix): Display text from the property
13812 `isearch-message-prefix' of the currently active filters.
13813 (isearch-search): Don't compare `isearch-filter-predicate' with
13814 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13815 on `isearch-filter-predicates'. Also check `search-invisible' for t
13816 or call `isearch-range-invisible'.
13817 (isearch-filter-visible): Make obsolete.
13818 (isearch-lazy-highlight-search):
13819 Call `run-hook-with-args-until-failure' on
13820 `isearch-filter-predicates' and use `isearch-range-invisible'.
13821
13822 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13823 `isearch-filter-predicates' instead of `funcall'ing
13824 `isearch-filter-predicate'.
13825 (Info-mode): Set `Info-isearch-filter' to
13826 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13827
13828 * dired-aux.el (dired-isearch-filter-predicate-orig):
13829 Remove variable.
13830 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13831 (dired-isearch-filenames-end): Add and remove
13832 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13833 instead of changing the value of `isearch-filter-predicate'.
13834 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13835 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13836 Put property `isearch-message-prefix' to "filename " on
13837 `dired-isearch-filter-filenames'.
13838
13839 * wdired.el (wdired-change-to-wdired-mode):
13840 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13841 locally instead of changing `isearch-filter-predicate'.
13842 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13843
13844 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13845
13846 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13847 return the commit hash (Bug#14459). Also set the
13848 `vc-git-detached' property.
13849 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13850 (vc-git-mode-line-string): Use the same help-echo format whether
13851 in detached mode or not, because we know the actual revision now.
13852 When in detached mode, shorten the revision to 7 chars.
13853
13854 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13855
13856 * emacs-lisp/easy-mmode.el (define-minor-mode):
13857 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13858 mode hook and provide a docstring.
13859
13860 2013-05-27 Alan Mackenzie <acm@muc.de>
13861
13862 Remove spurious syntax-table text properties inserted by C-y.
13863 * progmodes/cc-mode.el (c-after-change): Also clear hard
13864 syntax-table property with value nil.
13865
13866 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13867
13868 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13869 when reading the events; the buffer layout shall not be changed.
13870
13871 2013-05-27 Leo Liu <sdl.web@gmail.com>
13872
13873 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13874 New variable.
13875 (inferior-octave-directory-tracker): Automatically re-sync
13876 default-directory.
13877 (octave-help): Improve handling of 'See also'.
13878
13879 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13880
13881 * doc-view.el: Minor naming convention tweaks.
13882 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13883
13884 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13885 even if there's no `display' property yet (bug#14435).
13886
13887 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13888
13889 * subr.el (unmsys--file-name): Rename from reveal-filename.
13890
13891 * Makefile.in (custom-deps, finder-data, autoloads)
13892 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13893 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13894 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13895
13896 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13897
13898 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13899 error-completion on the first 2 args of condition-case (bug#14446).
13900 Don't burp at EOB.
13901
13902 2013-05-25 Leo Liu <sdl.web@gmail.com>
13903
13904 * comint.el (comint-previous-matching-input): Do not flood the
13905 *Messages* buffer with trivial messages.
13906
13907 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13908
13909 * progmodes/flymake.el (flymake-nop): Don't return a string.
13910 (flymake-set-at): Fix typo.
13911
13912 * simple.el (read--expression): New function, extracted from
13913 eval-expression. Set completion-at-point-functions (bug#14465).
13914 (eval-expression, eval-minibuffer): Use it.
13915
13916 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13917
13918 * progmodes/flymake.el (flymake-save-buffer-in-file)
13919 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13920 (flymake-selected-frame, flymake-log, flymake-ins-after)
13921 (flymake-set-at, flymake-get-buildfile-from-cache)
13922 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13923 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13924 Refine the doc string.
13925 (flymake-get-file-name-mode-and-masks): Reformat.
13926 (flymake-get-real-file-name-function): Fix a minor bug.
13927
13928 2013-05-24 Juri Linkov <juri@jurta.org>
13929
13930 * progmodes/grep.el (grep-mode-font-lock-keywords):
13931 Support =linenumber= format used by git-grep for lines with
13932 function names. (Bug#13549)
13933
13934 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13935
13936 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13937 0 after a semi-colon; it works better for smie-auto-fill.
13938 (octave--indent-new-comment-line): New function.
13939 (octave-indent-new-comment-line): Use it (indirectly).
13940 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13941 modify comment-line-break-function.
13942
13943 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13944 (smie-setup): Use add-function to set it.
13945
13946 2013-05-24 Sam Steingold <sds@gnu.org>
13947
13948 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13949 argument (before the `interactive' argument).
13950
13951 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13952
13953 * image-mode.el (image-mode-winprops): Add winprops to
13954 image-mode-winprops-alist before running
13955 image-mode-new-window-functions.
13956 * doc-view.el (doc-view-new-window-function): Don't delay
13957 doc-view-goto-page via timers (bug#14435).
13958
13959 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13960
13961 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13962 (doc-view-desktop-save-buffer): New function.
13963 (doc-view-restore-desktop-buffer): New function.
13964 (desktop-buffer-mode-handlers):
13965 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13966 handler.
13967 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13968 `desktop-save-buffer' function.
13969
13970 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13971
13972 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13973 (tramp-gvfs-file-name-handler): Raise a user error when
13974 `tramp-gvfs-enabled' is nil.
13975 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13976 Do not raise a user error when loading package. (Bug#14447)
13977
13978 * net/xesam.el: Move to obsolete/.
13979
13980 2013-05-24 Glenn Morris <rgm@gnu.org>
13981
13982 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13983
13984 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13985
13986 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13987 (Info-find-node, Man-getpage-in-background): Declare.
13988
13989 * mail/unrmail.el (unrmail):
13990 Replace obsolete detect-coding-with-priority.
13991
13992 * net/socks.el (socks-split-string): Use this rather than split-string.
13993 (socks-nslookup-host): Update for above change.
13994 (dynamic-choice, s5-dynamic-choice-match)
13995 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13996 Comment out unused code.
13997
13998 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13999 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14000 (gud-tooltip-echo-area): Make obsolete.
14001 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14002
14003 * progmodes/js.el (js--optimize-arglist): Declare.
14004
14005 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14006
14007 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14008 (ediff-window-C): Declare.
14009
14010 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14011 Tweak requires to silence compiler.
14012
14013 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14014 (he-search-string, he-tried-table, he-expand-list)
14015 (he-init-string, he-string-member, he-substitute-string)
14016 (he-reset-string): Declare.
14017
14018 * obsolete/options.el (list-options): Use custom-variable-p,
14019 rather than obsolete alias.
14020
14021 2013-05-23 Sam Steingold <sds@gnu.org>
14022
14023 * simple.el (shell-command-on-region): Pass the `replace' argument
14024 down to `call-process-region' to comply with the doc as reported on
14025 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14026
14027 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14028
14029 * emacs-lisp/smie.el (smie-indent-forward-token)
14030 (smie-indent-backward-token): Handle string tokens (bug#14381).
14031
14032 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14033
14034 * ielm.el (ielm-menu): New menu.
14035 (inferior-emacs-lisp-mode): Set comment-start.
14036
14037 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14038
14039 * textmodes/reftex.el (reftex-ref-style-toggle):
14040 Fix deactivate action.
14041
14042 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14043 Add cleveref macros.
14044
14045 * textmodes/reftex-parse.el
14046 (reftex-locate-bibliography-files): Accept options for
14047 bibliography commands.
14048 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14049 Add addbibresource. Basic Biblatex support.
14050
14051 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14052
14053 * net/tramp-gvfs.el (top):
14054 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14055 when loading package. (Bug#14447)
14056
14057 2013-05-23 Glenn Morris <rgm@gnu.org>
14058
14059 * progmodes/js.el: No need to load comint when compiling.
14060 (ring-insert, comint-send-string, comint-send-input)
14061 (comint-last-input-end, ido-chop): Declare.
14062
14063 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14064 * vc/ediff-mult.el: Adjust requires.
14065 (ediff-directories-internal, ediff-directory-revisions-internal)
14066 (ediff-patch-file-internal): Declare.
14067 * vc/ediff-ptch.el: Adjust requires.
14068 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14069 (ediff-find-file): Autoload.
14070 * vc/ediff-util.el: No need to load ediff when compiling.
14071 (ediff-regions-internal): Declare.
14072 * vc/ediff-wind.el: Adjust requires.
14073 (ediff-compute-toolbar-width): Define when compiling.
14074 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14075 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14076 (dired-get-filename, dired-get-marked-files)
14077 (ediff-last-dir-patch, ediff-patch-default-directory)
14078 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14079 (ediff-patch-buffer-internal): Declare.
14080
14081 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14082 (ispell-process, ispell-buffer-local-words, lm-summary)
14083 (lm-section-start, lm-section-end): Declare.
14084 (checkdoc-ispell-init): Simplify.
14085
14086 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14087 (he-string-member, he-reset-string, he-substitute-string): Declare.
14088
14089 * eshell/em-ls.el: Adjust requires.
14090 (eshell-glob-regexp): Declare.
14091 * eshell/em-tramp.el: Adjust requires.
14092 (eshell-parse-command): Autoload.
14093 * eshell/em-xtra.el: Adjust requires.
14094 (eshell-parse-command): Autoload.
14095 * eshell/esh-ext.el: Adjust requires.
14096 (eshell-parse-command, eshell-close-handles): Autoload.
14097 * eshell/esh-io.el: Adjust requires.
14098 (eshell-output-filter): Autoload.
14099 * eshell/esh-util.el: No need to load tramp when compiling.
14100 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14101 Declare.
14102 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14103 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14104 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14105 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14106 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14107 * eshell/esh-opt.el, eshell/esh-proc.el:
14108 * eshell/esh-var.el: Adjust requires.
14109 * eshell/eshell.el: Do not require esh-util twice.
14110 (eshell-add-input-to-history): Declare.
14111 (eshell-command): Check history module is active before using it.
14112
14113 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14114
14115 2013-05-22 Leo Liu <sdl.web@gmail.com>
14116
14117 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14118
14119 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14120
14121 * autorevert.el (auto-revert-notify-add-watch)
14122 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14123 it indicates changes in file modification time.
14124
14125 2013-05-22 Glenn Morris <rgm@gnu.org>
14126
14127 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14128 Always delete the autoloaded function from the noruntime and
14129 unresolved functions lists.
14130
14131 * allout.el: No need to load epa, epg, overlay when compiling.
14132 (epg-context-set-passphrase-callback, epg-list-keys)
14133 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14134 (epg-key-user-id-list): Declare.
14135
14136 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14137 (viper-set-parsing-style-toggling-macro)
14138 (viper-set-emacs-state-searchstyle-macros):
14139 Use called-interactively-p on Emacs.
14140 (viper-looking-back): Make it an obsolete alias. Update callers.
14141 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14142 Use looking-back rather than viper-looking-back.
14143 (viper-tmp-insert-at-eob, viper-enlarge-region)
14144 (viper-read-string-with-history, viper-register-to-point)
14145 (viper-append-to-register, viper-change-state-to-vi)
14146 (viper-backward-char-carefully, viper-forward-char-carefully)
14147 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14148 (viper-change-state-to-emacs): Declare.
14149 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14150 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14151 * emulation/viper-mous.el: Do not load viper-cmd.
14152 (viper-backward-char-carefully, viper-forward-char-carefully)
14153 (viper-forward-word, viper-adjust-window): Declare.
14154
14155 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14156
14157 * progmodes/idlw-help.el (idlwave-help-fontify):
14158 Use called-interactively-p.
14159
14160 * term/w32console.el (w32-get-console-codepage)
14161 (w32-get-console-output-codepage): Declare.
14162
14163 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14164 Remove unnecessary declarations.
14165 (dframe-message): Doc fix.
14166
14167 * info.el (dframe-select-attached-frame, dframe-current-frame):
14168 Declare.
14169
14170 * speedbar.el (speedbar-message): Make it an obsolete alias.
14171 Update all callers.
14172 (speedbar-with-attached-buffer)
14173 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14174 (speedbar-with-writable): Use backquote.
14175 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14176 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14177 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14178 rather than speedbar- aliases.
14179 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14180 (speedbar-make-specialized-keymap, speedbar-insert-button)
14181 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14182 (speedbar-do-function-pointer): Declare.
14183 (rmail-speedbar-button, rmail-speedbar-find-file)
14184 (rmail-speedbar-move-message):
14185 Use dframe-with-attached-buffer rather than speedbar- alias.
14186 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14187 (dframe-message, speedbar-make-specialized-keymap)
14188 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14189 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14190 (speedbar-insert-button, dframe-select-attached-frame)
14191 (dframe-maybee-jump-to-attached-frame)
14192 (speedbar-change-initial-expansion-list)
14193 (speedbar-previously-used-expansion-list-name): Declare.
14194 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14195 Use dframe-message, dframe-with-attached-buffer rather than
14196 speedbar- aliases.
14197 (gud-sentinel): Silence compiler.
14198 * progmodes/vhdl-mode.el (speedbar-refresh)
14199 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14200 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14201 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14202 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14203 (speedbar-file-lists, speedbar-make-tag-line)
14204 (speedbar-line-directory, speedbar-goto-this-file)
14205 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14206 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14207 (speedbar-make-button, speedbar-reset-scanners)
14208 (speedbar-files-item-info, speedbar-line-text)
14209 (speedbar-find-file-in-frame, speedbar-set-timer)
14210 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14211 (speedbar-with-writable): Do not (re)define it.
14212 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14213 rather than speedbar- alias.
14214
14215 2013-05-21 Leo Liu <sdl.web@gmail.com>
14216
14217 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14218 menu items.
14219 (octave-mode): Tweak fill-nobreak-predicate.
14220 (inferior-octave-startup): Check process to avoid infinite loop.
14221 (inferior-octave): Pop to buffer first to show abornmal process
14222 exit information.
14223
14224 2013-05-21 Glenn Morris <rgm@gnu.org>
14225
14226 * printing.el (pr-menu-bar): Define when compiling.
14227
14228 2013-05-21 Leo Liu <sdl.web@gmail.com>
14229
14230 * progmodes/octave.el (octave-auto-fill): Remove.
14231 (octave-indent-new-comment-line): Improve.
14232 (octave-mode): Use auto fill mode through
14233 comment-line-break-function and fill-nobreak-predicate.
14234 (octave-goto-function-definition): Support DEFUN_DLD.
14235 (octave-beginning-of-defun): Small tweak.
14236 (octave-help): Show parent directory.
14237
14238 2013-05-21 Glenn Morris <rgm@gnu.org>
14239
14240 * files.el (dired-unmark):
14241 * progmodes/gud.el (gdb-input): Update declarations.
14242
14243 * calculator.el (electric, ehelp): No need to load when compiling.
14244 (Electric-command-loop, electric-describe-mode): Declare.
14245
14246 * doc-view.el (doc-view-current-converter-processes): Move before use.
14247
14248 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14249 Move MODE-set-explicitly definition before use.
14250
14251 * international/mule-diag.el (mule-diag):
14252 Don't use obsolete window-system-version.
14253
14254 * mail/feedmail.el (smtpmail): No need to load when compiling.
14255 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14256
14257 * mail/mail-utils.el (rfc822): No need to load when compiling.
14258 (rfc822-addresses): Autoload it.
14259 (mail-strip-quoted-names): Trivial simplification.
14260
14261 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14262 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14263
14264 * net/snmp-mode.el (tempo): Don't duplicate requires.
14265
14266 * progmodes/prolog.el (info): No need to load when compiling.
14267 (comint): Require before shell requires it.
14268 (Info-goto-node): Autoload it.
14269 (Info-follow-nearest-node): Declare.
14270 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14271
14272 * textmodes/artist.el (picture-mode-exit): Declare.
14273
14274 * textmodes/reftex-parse.el (reftex-parse-from-file):
14275 Trivial rewrite so the compiler can parse it better.
14276
14277 2013-05-20 Leo Liu <sdl.web@gmail.com>
14278
14279 * progmodes/octave.el (octave-help-mode-map)
14280 (octave-help-mode-finish-hook): New variables.
14281 (octave-help-mode, octave-help-mode-finish): New functions.
14282 (octave-help): Use octave-help-mode.
14283
14284 2013-05-20 Glenn Morris <rgm@gnu.org>
14285
14286 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14287
14288 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14289
14290 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14291 start at point, so that expansion starting right after opening
14292 slash in a regexp is recognized.
14293 (ruby-syntax-before-regexp-re): New defvar, extracted from
14294 ruby-syntax-propertize-function. Since the value of this regexp
14295 is looked up at runtime now, we should be able to turn
14296 `ruby-syntax-methods-before-regexp' into a defcustom later.
14297 (ruby-syntax-propertize-function): Split regexp matching into two
14298 parts, for opening and closing slashes. That allows us to skip
14299 over string interpolations and support multiline regexps.
14300 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14301 for them, which calls `ruby-syntax-propertize-expansion'.
14302 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14303 call to `ruby-syntax-propertize-function'.
14304 (ruby-syntax-propertize-expansion): Extracted from
14305 `ruby-syntax-propertize-expansions'. Handles one expansion.
14306 (ruby-syntax-propertize-percent-literal): Leave point right after
14307 the percent symbol, so that the expression expansion rule can
14308 propertize the contents.
14309 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14310 heredoc openers.
14311 (ruby-syntax-propertize-expansions): Remove.
14312
14313 2013-05-18 Juri Linkov <juri@jurta.org>
14314
14315 * man.el (Man-default-man-entry): Remove `-' from the end
14316 of the default value. (Bug#14400)
14317
14318 2013-05-18 Glenn Morris <rgm@gnu.org>
14319
14320 * comint.el (comint-password-prompt-regexp):
14321 Allow "password for XXX" where XXX contains colons (eg https://...).
14322
14323 2013-05-18 Leo Liu <sdl.web@gmail.com>
14324
14325 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14326 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14327 (octave-source-directories): Don't check process.
14328 (octave-source-directories, octave-find-definition): Doc fix.
14329
14330 2013-05-18 Glenn Morris <rgm@gnu.org>
14331
14332 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14333 Remove backspace/delete bindings. (Bug#14392)
14334
14335 * cus-dep.el (custom-make-dependencies): Sort the output.
14336 (custom-versions-load-alist): Convert comment to doc.
14337
14338 2013-05-17 Leo Liu <sdl.web@gmail.com>
14339
14340 * newcomment.el (comment-search-backward): Stricter in finding
14341 comment start. (Bug#14303)
14342
14343 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14344 (octave-comment-start-skip): Properly anchored.
14345
14346 2013-05-17 Leo Liu <sdl.web@gmail.com>
14347
14348 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14349 Clean up when turned off. (Bug#14395)
14350 (smie--highlight-matching-block-overlay): No longer buffer-local.
14351 (smie-highlight-matching-block): Adjust.
14352
14353 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14354
14355 Doc string fix for "nanoseconds" (Bug#14406).
14356 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14357 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14358
14359 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14360
14361 * calc/calc-units.el (math-extract-units): Preserve powers
14362 of units.
14363
14364 2013-05-17 Leo Liu <sdl.web@gmail.com>
14365
14366 * subr.el (delete-consecutive-dups): New function.
14367 * ido.el (ido-set-matches-1): Use it.
14368 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14369 * ido.el (ido-remove-consecutive-dups): Remove.
14370
14371 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14372
14373 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14374 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14375 regexp-opt's `words'.
14376
14377 2013-05-16 Leo Liu <sdl.web@gmail.com>
14378
14379 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14380 (smie--highlight-matching-block-overlay)
14381 (smie--highlight-matching-block-lastpos)
14382 (smie--highlight-matching-block-timer): New variables.
14383 (smie-highlight-matching-block): New function.
14384 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14385 (smie-setup): Conditionally enable smie-blink-matching-open.
14386
14387 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14388
14389 Sync with upstream verilog-mode r840.
14390 * progmodes/verilog-mode.el (verilog-mode-version)
14391 (verilog-mode-release-date): Update.
14392 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14393 (verilog-sig-tieoff): Fix string error on
14394 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14395 (verilog-read-decls): Fix parameters confusing
14396 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14397
14398 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14399
14400 * subr.el (reveal-filename): New function.
14401
14402 * loadup.el: Compute Emacs executable versions on MS-Windows,
14403 where executables have the .exe extension. Add a hard link
14404 emacs-XX.YY.ZZ.exe on MS-Windows.
14405
14406 * Makefile.in (XARGS_LIMIT): New variable.
14407 (custom-deps, finder-data, autoloads)
14408 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14409 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14410 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14411 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14412
14413 2013-05-16 Leo Liu <sdl.web@gmail.com>
14414
14415 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14416 (octave-mode-menu, octave-mode-map): Remove its uses.
14417
14418 2013-05-16 Reto Zimmermann <reto@gnu.org>
14419
14420 Sync with upstream vhdl mode v3.34.2.
14421 * progmodes/vhdl-mode.el: Use `push' throughout.
14422 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14423 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14424 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14425 (vhdl-actual-generic-name): New option to derive actual generic name.
14426 (vhdl-port-paste-signals): Replace formal by actual generics.
14427 (vhdl-beautify): New name for old group vhdl-align. Update users.
14428 (vhdl-beautify-options): New option.
14429 (vhdl-last-input-event): New compat alias. Use throughout.
14430 (vhdl-goto-line): Replace user level function `goto-line'.
14431 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14432 vhdl-fix-statement-buffer.
14433 (vhdl-create-mode-menu): Add some entries.
14434 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14435 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14436 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14437 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14438 to force statements on one line.
14439 (vhdl-remove-trailing-spaces-region):
14440 New, split from vhdl-remove-trailing-spaces.
14441 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14442 Respect vhdl-beautify-options.
14443 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14444 (vhdl-update-sensitivity-list): Not add with index if exists without.
14445 Not include array index with signal. Ignore keywords in comments.
14446 (vhdl-get-visible-signals): Regexp tweaks.
14447 (vhdl-template-component-inst): Handle empty library.
14448 (vhdl-template-type): Add template for 'enum' type.
14449 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14450 Use vhdl-replace-string.
14451 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14452 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14453 (vhdl-speedbar-initialize): Update for above name change.
14454 (vhdl-compose-wire-components): Fix in handling of constants.
14455 (vhdl-error-regexp-emacs-alist): New variable.
14456 (vhdl-error-regexp-add-emacs): New function;
14457 adds support for new compile.el (Emacs 22+)
14458 (vhdl-generate-makefile-1): Change target order for single lib. units.
14459 Allow use of absolute file names.
14460
14461 2013-05-16 Leo Liu <sdl.web@gmail.com>
14462
14463 * simple.el (prog-indent-sexp): Indent enclosing defun.
14464
14465 2013-05-15 Glenn Morris <rgm@gnu.org>
14466
14467 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14468 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14469 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14470 (whitespace-highlight): Move to whitespace group.
14471
14472 * comint.el (comint-source):
14473 * pcmpl-linux.el (pcmpl-linux):
14474 * shell.el (shell-faces):
14475 * eshell/esh-opt.el (eshell-opt):
14476 * international/ccl.el (ccl): Remove empty custom groups.
14477
14478 * completion.el (dynamic-completion-mode):
14479 * jit-lock.el (jit-lock-debug-mode):
14480 * minibuffer.el (completion-in-region-mode):
14481 * type-break.el (type-break-mode-line-message-mode)
14482 (type-break-query-mode):
14483 * emulation/tpu-edt.el (tpu-edt-mode):
14484 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14485 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14486 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14487
14488 * term/xterm.el (xterm): Change parent group to terminals.
14489
14490 * master.el (master): Remove empty custom group.
14491 (master-mode): Remove unused :group argument.
14492 * textmodes/refill.el (refill): Remove empty custom group.
14493 (refill-mode): Remove unused :group argument.
14494
14495 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14496
14497 * cus-dep.el: Provide a feature.
14498 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14499 Don't mistakenly ignore files whose basenames match a basename
14500 from preloaded-file-list (eg cedet/ede/simple.el).
14501 Add a fallback method for getting :group.
14502
14503 2013-05-15 Juri Linkov <juri@jurta.org>
14504
14505 * isearch.el (isearch-char-by-name): Rename from
14506 `isearch-insert-char-by-name'. Doc fix.
14507 (isearch-forward): Mention `isearch-char-by-name' in
14508 the docstring. (Bug#13348)
14509
14510 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14511 `exit-minibuffer' instead of
14512 `isearch-nonincremental-exit-minibuffer'.
14513 (isearch-edit-string): Remove mention of
14514 `isearch-nonincremental-exit-minibuffer' from docstring.
14515 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14516 (isearch-forward-exit-minibuffer)
14517 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14518
14519 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14520
14521 * loadup.el: Just use unversioned DOC.
14522
14523 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14524 literals as extending to EOB.
14525 (nxml-last-fontify-end): Remove unused variable.
14526 (nxml-after-change1): Use with-silent-modifications.
14527 (nxml-extend-after-change-region): Simplify.
14528 (nxml-extend-after-change-region1): Remove function.
14529 (nxml-after-change1): Don't adjust for dependent regions.
14530 (nxml-fontify-matcher): Simplify.
14531 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14532 (xmltok-add-dependent): Remove function.
14533 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14534 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14535 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14536 unclosed <[[, <?, comment, and other literals as extending to EOB.
14537 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14538 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14539 Remove functions.
14540 (rng-do-some-validation-1): Don't mark dependent regions.
14541 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14542 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14543 (nxml-clear-dependent-regions): Remove functions.
14544 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14545 (nxml-ensure-scan-up-to-date):
14546 Don't clear&mark dependent regions.
14547
14548 2013-05-15 Leo Liu <sdl.web@gmail.com>
14549
14550 * progmodes/octave.el (octave-goto-function-definition):
14551 Improve and fix callers.
14552
14553 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14556 the setter (bug#14387).
14557
14558 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14559 surrounding group (bug#14402).
14560
14561 2013-05-14 Juri Linkov <juri@jurta.org>
14562
14563 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14564 (Bug#14390)
14565
14566 2013-05-14 Glenn Morris <rgm@gnu.org>
14567
14568 * progmodes/f90.el (f90-imenu-generic-expression):
14569 Fix typo in 2013-05-08 change. (Bug#14402)
14570
14571 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14572
14573 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14574 Remove signals for which replies are never received.
14575
14576 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14577
14578 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14579 (gdb-handler-alist, gdb-handler-number): Remove variables.
14580 (gdb-handler-list): New variable.
14581 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14582 (gdb-pending-handler-p, gdb-handle-reply)
14583 (gdb-remove-all-pending-triggers): New functions.
14584 (gdb-discard-unordered-replies): New defcustom.
14585 (gdb-handler): New defstruct.
14586 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14587 instead of gdb-pending-triggers. Update docstring.
14588 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14589 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14590 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14591 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14592 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14593 (gdb-frame-handler): Pending triggers are now automatically managed.
14594 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14595 Remove argument.
14596 (gdb-input): Automatically handles pending triggers. Update docstring.
14597 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14598 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14599 Update comments.
14600 (gdb-done-or-error): Now use gdb-handle-reply.
14601
14602 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14603
14604 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14605 gdb-debug-log.
14606
14607 2013-05-14 Glenn Morris <rgm@gnu.org>
14608
14609 * subr.el (user-emacs-directory-warning): New option.
14610 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14611
14612 2013-05-14 Leo Liu <sdl.web@gmail.com>
14613
14614 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14615 during redisplay.
14616 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14617 (octave-font-lock-texinfo-comment): Fix invalid search bound
14618 error: wrong side of point.
14619
14620 2013-05-14 Glenn Morris <rgm@gnu.org>
14621
14622 * progmodes/flymake.el (flymake-xml-program): New option.
14623 (flymake-xml-init): Use it.
14624
14625 * term/xterm.el: Provide a feature.
14626
14627 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14628
14629 2013-05-13 Glenn Morris <rgm@gnu.org>
14630
14631 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14632 Add compat aliases as a hack workaround. (Bug#14384)
14633
14634 2013-05-13 Leo Liu <sdl.web@gmail.com>
14635
14636 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14637 ###, and %!.
14638 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14639 C-M-q.
14640 (octave-comment-start-skip): Include %!.
14641 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14642
14643 2013-05-12 Leo Liu <sdl.web@gmail.com>
14644
14645 * progmodes/octave.el (inferior-octave-startup): Store the value
14646 of __octave_srcdir__ for octave-source-directories.
14647 (inferior-octave-check-process): New function refactored out of
14648 inferior-octave-send-list-and-digest.
14649 (octave-source-directories)
14650 (octave-find-definition-filename-function): New variables.
14651 (octave-source-directories)
14652 (octave-find-definition-default-filename): New functions.
14653 (octave-find-definition): Improve to find functions implemented in C++.
14654
14655 2013-05-12 Glenn Morris <rgm@gnu.org>
14656
14657 * calendar/diary-lib.el (diary-outlook-format-1):
14658 Don't include dayname in the output. (Bug#14349)
14659
14660 2013-05-11 Glenn Morris <rgm@gnu.org>
14661
14662 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14663
14664 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14665 Treat cc-provide like provide.
14666
14667 2013-05-11 Kevin Ryde <user42@zip.com.au>
14668
14669 * cus-dep.el (custom-make-dependencies):
14670 Use generated-autoload-load-name for the sake of files such
14671 such cedet/semantic/bovine/c.el, where the base file name
14672 is not in load-path. (Bug#5277)
14673
14674 2013-05-11 Glenn Morris <rgm@gnu.org>
14675
14676 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14677 Provide features.
14678
14679 2013-05-11 Leo Liu <sdl.web@gmail.com>
14680
14681 * progmodes/octave.el (octave-indent-comment): Improve.
14682 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14683 (octave-eldoc-function-signatures, octave-eldoc-function):
14684 New functions.
14685 (octave-mode, inferior-octave-mode): Add eldoc support.
14686
14687 2013-05-11 Richard Stallman <rms@gnu.org>
14688
14689 * epa.el (epa-decrypt-file): Take output file name as argument
14690 and read it using `interactive'.
14691
14692 2013-05-11 Leo Liu <sdl.web@gmail.com>
14693
14694 * progmodes/octave.el (octave-beginning-of-line)
14695 (octave-end-of-line): Check before using up-list because it jumps
14696 out of more syntactic contructs since moving to smie.
14697 (octave-indent-comment): New function.
14698 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14699 (octave-begin-keywords, octave-end-keywords)
14700 (octave-reserved-words, octave-smie-bnf-table)
14701 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14702
14703 2013-05-11 Glenn Morris <rgm@gnu.org>
14704
14705 * faces.el (internal-face-x-get-resource):
14706 * frame.el (ns-display-monitor-attributes-list):
14707 * calc/calc-aent.el (math-to-radians-2):
14708 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14709 Fix declarations.
14710
14711 * calc/calc-menu.el: Make it loadable in isolation.
14712
14713 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14714 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14715 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14716 (eudc-bbdb-query-internal): Require 'bbdb.
14717
14718 * lpr.el (lpr-headers-switches):
14719 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14720
14721 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14722
14723 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14724
14725 * term.el (term-set-escape-char): Make it idempotent.
14726
14727 2013-05-10 Leo Liu <sdl.web@gmail.com>
14728
14729 * progmodes/octave.el (inferior-octave-completion-table):
14730 No longer a function and all uses changed. Use cache to speed up
14731 completion due to bug#11906.
14732 (octave-beginning-of-defun): Re-write to be more general.
14733
14734 2013-05-10 Glenn Morris <rgm@gnu.org>
14735
14736 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14737
14738 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14739
14740 * comint.el (comint-redirect-send-command-to-process): Use :around
14741 rather than :override for comint-redirect-filter.
14742 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14743 Call it instead of comint-redirect-original-filter-function (which
14744 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14745
14746 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14747
14748 * frame.el (display-monitor-attributes-list): Add NS case.
14749 (ns-display-monitor-attributes-list): Declare.
14750
14751 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14752
14753 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14754
14755 2013-05-09 Glenn Morris <rgm@gnu.org>
14756
14757 * international/fontset.el (vertical-centering-font-regexp):
14758 Set standard-value.
14759
14760 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14761
14762 * bookmark.el (bookmark-search-delay):
14763 * cus-start.el (vertical-centering-font-regexp):
14764 * ps-mule.el (ps-mule-font-info-database-default):
14765 * ps-print.el (ps-default-fg, ps-default-bg):
14766 * type-break.el (type-break-good-break-interval):
14767 * whitespace.el (whitespace-indentation-regexp)
14768 (whitespace-space-after-tab-regexp):
14769 * emacs-lisp/testcover.el (testcover-1value-functions)
14770 (testcover-noreturn-functions, testcover-progn-functions)
14771 (testcover-prog1-functions):
14772 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14773 * eshell/em-glob.el (eshell-glob-translate-alist):
14774 * play/tetris.el (tetris-tty-colors):
14775 * progmodes/cpp.el (cpp-face-default-list):
14776 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14777 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14778 (idlwave-help-browser-generic-args):
14779 * progmodes/make-mode.el (makefile-special-targets-list):
14780 * progmodes/python.el (python-shell-virtualenv-path):
14781 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14782 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14783 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14784 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14785 * textmodes/reftex-vars.el (reftex-format-label-function):
14786 * textmodes/remember.el (remember-diary-file): Fix custom types.
14787
14788 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14789 Add :version.
14790
14791 2013-05-09 Leo Liu <sdl.web@gmail.com>
14792
14793 * progmodes/octave.el (inferior-octave-completion-at-point):
14794 Restore file completion. (Bug#14300)
14795 (inferior-octave-startup): Fix incorrect highlighting for the
14796 first prompt.
14797
14798 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14799
14800 * progmodes/ruby-mode.el: First cut at SMIE support.
14801 (ruby-use-smie): New var.
14802 (ruby-smie-grammar): New constant.
14803 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14804 (ruby-smie--forward-token, ruby-smie--backward-token)
14805 (ruby-smie-rules): New functions.
14806 (ruby-mode-variables): Setup SMIE if applicable.
14807
14808 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14809
14810 * simple.el (line-move-visual): Signal beginning/end of buffer
14811 only if vertical-motion moved less than it was requested. Avoids
14812 silly incorrect error messages when there are display strings with
14813 multiple newlines at EOL.
14814
14815 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14816
14817 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14818 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14819 (prolog-char-quote-workaround):
14820 * progmodes/cperl-mode.el (cperl-under-as-char):
14821 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14822 Mark as obsolete.
14823 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14824 their declaration.
14825 (vhdl-mode-syntax-table-init): Remove.
14826
14827 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14828 last change.
14829
14830 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14831 syntax for "_".
14832 (ld-script-font-lock-keywords):
14833 Change regexps to use things like \_< and \_>.
14834
14835 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14836 Change all regexps to use things like \_< and \_>.
14837
14838 * progmodes/autoconf.el (autoconf-definition-regexp)
14839 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14840 Handle a _ with symbol syntax.
14841 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14842
14843 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14844 Consolidate declaration.
14845 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14846 the declaration.
14847 (ada-create-syntax-table): Remove.
14848 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14849 already has the right syntax nowadays.
14850 (ada-goto-next-word): Don't change the syntax of "_".
14851
14852 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14853 with-wrapper-hook.
14854
14855 2013-05-08 Sam Steingold <sds@gnu.org>
14856
14857 * thingatpt.el (thing-at-point): Accept optional second argument
14858 NO-PROPERTIES to strip the text properties from the return value.
14859 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14860 to `thing-at-point' instead of stripping the properties ourselves.
14861 Also, when `thing-at-point' fails to find a url, prepend "http://"
14862 to the filename at point on the assumption that the user is
14863 pointing at something like gnu.org/gnu.
14864
14865 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14866
14867 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14868 * faces.el (crm-separator):
14869 Silence byte-compiler.
14870
14871 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14872 (tool-bar-map): Remove unneeded defvars.
14873
14874 2013-05-08 Leo Liu <sdl.web@gmail.com>
14875
14876 Re-work a fix for bug#10994 based on Le Wang's patch.
14877 * ido.el (ido-remove-consecutive-dups): New helper.
14878 (ido-completing-read): Use it.
14879 (ido-chop): Revert fix for bug#10994.
14880
14881 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14882
14883 * cus-edit.el (custom-save-variables):
14884 Pretty-print long values. (Bug#14187)
14885
14886 2013-05-08 Glenn Morris <rgm@gnu.org>
14887
14888 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14889 (m4-mode-syntax-table): Init in the defvar.
14890 (m4-mode-abbrev-table): Let define-derived-mode define it.
14891
14892 2013-05-08 Tom Tromey <tromey@redhat.com>
14893
14894 * progmodes/m4-mode.el (m4-mode-syntax-table):
14895 Do not treat "_" as word constituent. (Bug#14167)
14896
14897 2013-05-07 Glenn Morris <rgm@gnu.org>
14898
14899 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14900 Remove explicit eshell-isearch-cancel-map.
14901
14902 * progmodes/f90.el (f90-smart-end-names): New option.
14903 (f90-smart-end): Doc fix.
14904 (f90-end-block-optional-name): New constant.
14905 (f90-block-match): Respect f90-smart-end-names.
14906
14907 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14908
14909 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14910 about implicit semi-colons (bug#14218).
14911
14912 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14913
14914 * frame.el (display-monitor-attributes-list)
14915 (frame-monitor-attributes): New functions.
14916
14917 2013-05-06 Leo Liu <sdl.web@gmail.com>
14918
14919 * progmodes/octave.el (octave-syntax-propertize-function): Change
14920 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14921 (octave-font-lock-keywords): Use octave-operator-regexp.
14922 (octave-completion-at-point): Rename from
14923 octave-completion-at-point-function.
14924 (inferior-octave-directory-tracker): Robustify.
14925 (octave-text-functions): Remove and fix its uses. No such things
14926 any more.
14927
14928 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14929
14930 * emacs-lisp/trace.el (trace--display-buffer): New function.
14931 (trace-make-advice): Use it.
14932
14933 2013-05-06 Juri Linkov <juri@jurta.org>
14934
14935 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14936 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14937 Doc fix.
14938 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14939 in the help string. (Bug#12985)
14940
14941 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14942
14943 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14944
14945 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14946
14947 * progmodes/perl-mode.el: Add support for here documents.
14948 (perl-syntax-propertize-function): Match here-doc markers.
14949 (perl-syntax-propertize-special-constructs): Find their end.
14950 (perl-imenu-generic-expression): Use [:alnum:].
14951
14952 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14953 (advice--add-function): Refresh the advice if already present
14954 (bug#14317).
14955
14956 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14957
14958 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14959
14960 2013-05-06 Glenn Morris <rgm@gnu.org>
14961
14962 * w32-fns.el (w32-charset-info-alist): Declare.
14963
14964 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14965 of its defcustom properties.
14966 (eshell-cmpl-initialize): No need to load pcomplete.
14967
14968 * generic-x.el: No need to require comint when compiling.
14969
14970 * net/eudc-export.el: Make it loadable without bbdb.
14971 (top-level): Use require rather than load-library.
14972 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14973 (eudc-batch-export-records-to-bbdb)
14974 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14975 Require bbdb.
14976
14977 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14978
14979 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14980 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14981 some tweaks, instead.
14982
14983 2013-05-05 Leo Liu <sdl.web@gmail.com>
14984
14985 * progmodes/octave.el (octave-font-lock-keywords)
14986 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14987 (inferior-octave-send-list-and-digest): Improve error message.
14988 (octave-mode, inferior-octave-mode): Use setq-local.
14989 (octave-help): Set info-lookup-mode.
14990
14991 2013-05-05 Richard Stallman <rms@gnu.org>
14992
14993 * vc/compare-w.el (compare-windows-whitespace):
14994 Treat no-break space as whitespace.
14995
14996 * mail/rmailsum.el (rmail-summary-rmail-update):
14997 Detect empty summary and don't change selected message.
14998 (rmail-summary-goto-msg): Likewise.
14999
15000 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15001 Doc fixes, rename args.
15002
15003 2013-05-05 Alan Mackenzie <acm@muc.de>
15004
15005 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15006
15007 2013-05-05 Juri Linkov <juri@jurta.org>
15008
15009 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15010 to not add the length of the summary segment to the return value.
15011 (Bug#14125)
15012
15013 2013-05-05 Leo Liu <sdl.web@gmail.com>
15014
15015 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15016 (inferior-octave-output-filter): Remove.
15017 (octave-send-region, inferior-octave-startup): Fix callers.
15018 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15019 (octave-binary-file-extensions): New user variable.
15020 (octave-find-definition): Confirm if opening binary files.
15021 (octave-help-file): Use octave-find-definition to get the binary
15022 confirmation.
15023 (octave-help): Adjust for octave-help-file change.
15024
15025 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15026
15027 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15028 Merge the two entries that handle function definitions.
15029 (pascal--syntax-propertize): New const.
15030 (pascal-mode): Use it. Use setq-local.
15031
15032 2013-05-04 Glenn Morris <rgm@gnu.org>
15033
15034 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15035 (diary-from-outlook): Respect diary-from-outlook-function.
15036
15037 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15038
15039 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15040 Move the declaration from C.
15041 (read-minibuffer, eval-minibuffer): Move from C.
15042 (completion-setup-function): Avoid minibuffer-completion-contents.
15043
15044 2013-05-03 Leo Liu <sdl.web@gmail.com>
15045
15046 * progmodes/octave.el (octave-font-lock-keywords): Do not
15047 dehighlight 'end' in comments or strings.
15048 (octave-completing-read, octave-goto-function-definition):
15049 New helpers.
15050 (octave-help-buffer): New user variable.
15051 (octave-help-file, octave-help-function): New button types.
15052 (octave-help): New command and bind it to C-h ;.
15053 (octave-find-definition): New command and bind it to M-.
15054 (user-error): Alias to error if not defined.
15055
15056 2013-05-02 Leo Liu <sdl.web@gmail.com>
15057
15058 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15059 for \. (bug#14332)
15060 (octave-font-lock-keywords): Include [ and {.
15061
15062 2013-05-02 Leo Liu <sdl.web@gmail.com>
15063
15064 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15065 (inferior-octave): Remove calling comint-mode and return the buffer.
15066 (inferior-octave-startup): Cosmetic changes.
15067
15068 2013-05-02 Leo Liu <sdl.web@gmail.com>
15069
15070 * progmodes/octave.el (octave-syntax-propertize-function):
15071 Include the case when ' is at line beginning. (Bug#14336)
15072
15073 2013-05-02 Glenn Morris <rgm@gnu.org>
15074
15075 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15076 * desktop.el (vc-dir-mode): Just autoload it here.
15077
15078 2013-05-02 Alan Mackenzie <acm@muc.de>
15079
15080 Eliminate variable c-standard-font-lock-fontify-region-function.
15081 * progmodes/cc-mode.el
15082 (c-standard-font-lock-fontify-region-function): Remove.
15083 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15084
15085 2013-05-01 Leo Liu <sdl.web@gmail.com>
15086
15087 * progmodes/octave.el: Compatible with older emacs-24 releases.
15088 (inferior-octave-has-built-in-variables): Remove. Built-in
15089 variables were removed from Octave in 2007.
15090 (inferior-octave-startup): Fix uses.
15091 (comint-line-beginning-position): Remove compatibility code for
15092 emacs 21.
15093
15094 2013-05-01 Juri Linkov <juri@jurta.org>
15095
15096 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15097
15098 2013-05-01 Juri Linkov <juri@jurta.org>
15099
15100 * comint.el (comint-previous-matching-input): Don't print message
15101 "History item: %d" when `isearch-mode' is active.
15102 (comint-history-isearch-message): Print message "History item: %d"
15103 when `comint-input-ring-index' is not empty and this function is
15104 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15105
15106 2013-05-01 Leo Liu <sdl.web@gmail.com>
15107
15108 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15109 definitions. Use completion-at-point to insert keywords.
15110 (octave-abbrev-start): Remove.
15111 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15112
15113 2013-04-30 Leo Liu <sdl.web@gmail.com>
15114
15115 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15116 change.
15117
15118 2013-04-30 Alan Mackenzie <acm@muc.de>
15119
15120 Handle arbitrarily long C++ member initialisation lists.
15121 * progmodes/cc-engine.el (c-back-over-member-initializers):
15122 new function.
15123 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15124 (most) member init lists.
15125
15126 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15127
15128 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15129 variable.
15130
15131 2013-04-30 Leo Liu <sdl.web@gmail.com>
15132
15133 * progmodes/octave.el (octave-variables): Remove. No builtin
15134 variables any more. All converted to functions.
15135 (octave-font-lock-keywords, octave-completion-at-point-function):
15136 Fix uses.
15137 (octave-font-lock-texinfo-comment): New user variable.
15138 (octave-texinfo-font-lock-keywords): New variable for texinfo
15139 comment block.
15140 (octave-function-comment-block): New face.
15141 (octave-font-lock-texinfo-comment): New function.
15142 (octave-mode): Font lock texinfo comment block.
15143
15144 2013-04-29 Leo Liu <sdl.web@gmail.com>
15145
15146 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15147 indexing expression.
15148 (octave-continuation-string): Do not use \.
15149 (inferior-octave-complete-impossible): Remove.
15150 (inferior-octave-completion-table)
15151 (inferior-octave-completion-at-point): Remove its uses.
15152 (inferior-octave-startup): completion_matches was introduced to
15153 Octave in 1996 so safe to assume it.
15154 (octave-function-file-comment): Improve to follow how Octave does it.
15155 (octave-update-function-file-comment): Tweak.
15156
15157 2013-04-29 Leo Liu <sdl.web@gmail.com>
15158
15159 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15160 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15161 (octave-function-file-comment): Fix typo.
15162 (octave-sync-function-file-names): Use read-char-choice.
15163
15164 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15165
15166 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15167 to t for the less important warnings.
15168
15169 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15170
15171 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15172
15173 2013-04-27 Glenn Morris <rgm@gnu.org>
15174
15175 * vc/log-view.el (log-view-current-entry):
15176 Treat "---" separator lines as part of the following rev. (Bug#14169)
15177
15178 2013-04-27 Juri Linkov <juri@jurta.org>
15179
15180 * subr.el (read-number): Doc fix about using it by interactive
15181 code letter `n'. (Bug#14254)
15182
15183 2013-04-27 Juri Linkov <juri@jurta.org>
15184
15185 * desktop.el (desktop-auto-save-timeout): New option.
15186 (desktop-file-checksum): New variable.
15187 (desktop-save): Add optional arg `auto-save' and don't auto-save
15188 if nothing changed.
15189 (desktop-auto-save-timer): New variable.
15190 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15191 (after-init-hook): Call `desktop-auto-save-set-timer'.
15192 Suggested by Reuben Thomas <rrt@sc3d.org> in
15193 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15194
15195 2013-04-27 Leo Liu <sdl.web@gmail.com>
15196
15197 * progmodes/octave.el (octave-function-file-p)
15198 (octave-skip-comment-forward, octave-function-file-comment)
15199 (octave-update-function-file-comment): New functions.
15200 (octave-mode-map): Bind C-c ; to
15201 octave-update-function-file-comment.
15202 (octave-mode-menu): Add octave-update-function-file-comment.
15203 (octave-mode, inferior-octave-mode): Fix doc-string.
15204 (octave-insert-defun): Conform to Octave's coding convention.
15205 (Bug#14285)
15206
15207 * files.el (basic-save-buffer): Don't let errors in
15208 before-save-hook prevent saving buffer.
15209
15210 2013-04-20 Roland Winkler <winkler@gnu.org>
15211
15212 * faces.el (read-face-name): Use completing-read if arg multiple
15213 is nil.
15214
15215 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15216
15217 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15218 displayed, move point to after the totals line.
15219 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15220 for the details.
15221
15222 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15223
15224 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15225 Add current dir to the load-path.
15226 (package-generate-autoloads): Don't rely on
15227 autoload-ensure-default-file.
15228
15229 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15230
15231 * textmodes/remember.el (remember-store-in-files): Document that
15232 the file name format is passed to `format-time-string'.
15233
15234 2013-04-26 Leo Liu <sdl.web@gmail.com>
15235
15236 * progmodes/octave.el (octave-sync-function-file-names): New function.
15237 (octave-mode): Use it in before-save-hook.
15238
15239 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15240
15241 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15242 (bug#14274).
15243
15244 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15245 \n and comment, even if it's not an implicit ; (bug#14218).
15246
15247 2013-04-26 Glenn Morris <rgm@gnu.org>
15248
15249 * subr.el (read-number): Once more use `read' rather than
15250 `string-to-number', to trap non-numeric input. (Bug#14254)
15251
15252 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15253
15254 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15255 Use `syntax-multiline' text property consistently instead of
15256 `font-lock-multiline'. (Bug#14237)
15257
15258 2013-04-26 Glenn Morris <rgm@gnu.org>
15259
15260 * emacs-lisp/shadow.el (list-load-path-shadows):
15261 No longer necessary to check for duplicate simple.el, since
15262 2012-07-07 change to init_lread to not include installation lisp
15263 directories in load-path when running uninstalled. (Bug#14270)
15264
15265 2013-04-26 Leo Liu <sdl.web@gmail.com>
15266
15267 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15268 (octave-mode, inferior-octave-mode): Use setq-local.
15269 (octave-not-in-string-or-comment-p): Rename to
15270 octave-in-string-or-comment-p.
15271 (octave-in-comment-p, octave-in-string-p)
15272 (octave-in-string-or-comment-p): Replace defsubst with defun.
15273
15274 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15275
15276 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15277
15278 2013-04-25 Bastien Guerry <bzg@gnu.org>
15279
15280 * textmodes/remember.el (remember-data-directory)
15281 (remember-directory-file-name-format): Fix custom types.
15282
15283 2013-04-25 Leo Liu <sdl.web@gmail.com>
15284
15285 * progmodes/octave.el (octave-completion-at-point-function):
15286 Make use of inferior octave process.
15287 (octave-initialize-completions): Remove.
15288 (inferior-octave-completion-table): New function.
15289 (inferior-octave-completion-at-point): Use it.
15290 (octave-completion-alist): Remove.
15291
15292 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15293
15294 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15295 (opascal-mode-syntax-table): New var.
15296 (opascal-literal-kind, opascal-is-literal-end)
15297 (opascal-literal-token-at): Rewrite.
15298 (opascal--literal-start-re, opascal-font-lock-keywords)
15299 (opascal--syntax-propertize): New constants.
15300 (opascal-font-lock-defaults): Adjust.
15301 (opascal-mode): Use them. Set comment-<foo> variables as well.
15302 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15303 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15304 (delphi-other-face, opascal-other-face): Remove face variables.
15305 (opascal-save-state): Remove macro.
15306 (opascal-fontifying-progress-step): Remove constant.
15307 (opascal--ignore-changes): Remove var.
15308 (opascal-set-token-property, opascal-parse-next-literal)
15309 (opascal-is-stable-literal, opascal-complete-literal)
15310 (opascal-is-literal-start, opascal-face-of)
15311 (opascal-parse-region, opascal-parse-region-until-stable)
15312 (opascal-fontify-region, opascal-after-change)
15313 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15314 (opascal-debug-parse-region, opascal-debug-parse-window)
15315 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15316 (opascal-debug-fontify-buffer): Remove.
15317 (opascal-debug-mode-map): Adjust accordingly.
15318
15319 2013-04-25 Leo Liu <sdl.web@gmail.com>
15320
15321 Merge octave-mod.el and octave-inf.el into octave.el with some
15322 cleanups.
15323 * progmodes/octave.el: New file renamed from octave-mod.el.
15324 * progmodes/octave-inf.el: Merged into octave.el.
15325 * progmodes/octave-mod.el: Renamed to octave.el.
15326
15327 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15328
15329 * textmodes/reftex-vars.el
15330 (reftex-label-ignored-macros-and-environments): New defcustom.
15331
15332 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15333
15334 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15335
15336 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15337 (smie-indent-keyword): Improve the check to ensure that the next
15338 comment is really on the same line.
15339 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15340
15341 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15342 semi-colons if the line is not otherwise empty (bug#14218).
15343
15344 2013-04-25 Glenn Morris <rgm@gnu.org>
15345
15346 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15347
15348 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15349
15350 * progmodes/opascal.el (opascal-set-token-property): Rename from
15351 opascal-set-text-properties and only set `token' (bug#14134).
15352 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15353 (opascal-literal-text-properties): Remove.
15354 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15355 Adjust callers.
15356
15357 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15358
15359 * textmodes/remember.el (remember-handler-functions): Add an
15360 option for a new handler `remember-store-in-files'.
15361 (remember-data-directory, remember-directory-file-name-format):
15362 New options.
15363 (remember-store-in-files): New function to store remember notes
15364 as separate files within a directory.
15365
15366 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15367
15368 * progmodes/compile.el (compilation-next-error-function):
15369 Pass "formats" to compilation-find-file (bug#11777).
15370
15371 2013-04-24 Glenn Morris <rgm@gnu.org>
15372
15373 * vc/vc-bzr.el (vc-bzr-print-log):
15374 * vc/vc-hg.el (vc-hg-print-log):
15375 * vc/vc-svn.el (vc-svn-print-log):
15376 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15377
15378 * vc/vc-bzr.el (vc-bzr-print-log):
15379 * vc/vc-cvs.el (vc-cvs-print-log):
15380 * vc/vc-git.el (vc-git-print-log):
15381 * vc/vc-hg.el (vc-hg-print-log):
15382 * vc/vc-mtn.el (vc-mtn-print-log):
15383 * vc/vc-rcs.el (vc-rcs-print-log):
15384 * vc/vc-sccs.el (vc-sccs-print-log):
15385 * vc/vc-svn.el (vc-svn-print-log):
15386 * vc/vc.el (vc-print-log-internal): Doc fixes.
15387
15388 2013-04-23 Glenn Morris <rgm@gnu.org>
15389
15390 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15391 Remove venerable code attempting to avoid substitute-command-keys.
15392
15393 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15394
15395 * textmodes/reftex-vars.el (reftex-label-regexps):
15396 Call `reftex-compile-variables' after changes to this variable.
15397
15398 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15399
15400 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15401 Use lexical-binding.
15402 (jit-lock-force-redisplay): Use markers, check buffer's continued
15403 existence and beware narrowed buffers.
15404 (jit-lock-fontify-now): Adjust call accordingly.
15405
15406 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15407
15408 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15409 to avoid misleading the user.
15410
15411 2013-04-22 Leo Liu <sdl.web@gmail.com>
15412
15413 * info-look.el: Prefer latex2e.info. (Bug#14240)
15414
15415 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15416
15417 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15418
15419 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15420 * net/tramp.el (tramp-call-process): ... here.
15421 (tramp-set-completion-function, tramp-parse-putty):
15422 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15423 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15424 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15425 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15426 (tramp-call-local-coding-command): Use `tramp-call-process'
15427 instead of `tramp-compat-call-process'.
15428
15429 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15430 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15431 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15432 (tramp-find-inline-compress): Improve traces.
15433 (tramp-maybe-send-script): Check for Perl binary.
15434 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15435
15436 2013-04-22 Daiki Ueno <ueno@gnu.org>
15437
15438 * epg.el (epg-context-pinentry-mode): New function.
15439 (epg-context-set-pinentry-mode): New function.
15440 (epg--start): Pass --pinentry-mode option to gpg command.
15441
15442 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15443
15444 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15445 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15446 `completion-at-point'. (Bug#13774)
15447
15448 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15449 default key binding for `describe-distribution' has been moved to
15450 `C-h C-o'. (Bug#13970)
15451
15452 2013-04-21 Glenn Morris <rgm@gnu.org>
15453
15454 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15455 Add doc strings.
15456 (vc-print-log): Clarify interactive prompt.
15457
15458 2013-04-20 Glenn Morris <rgm@gnu.org>
15459
15460 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15461 No longer include timestamp etc information.
15462
15463 2013-04-20 Roland Winkler <winkler@gnu.org>
15464
15465 * faces.el (read-face-name): Bug fix, return just one face if arg
15466 multiple is nil. (Bug#14209)
15467
15468 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15469
15470 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15471 (remove-function): Autoload.
15472
15473 * comint.el (comint-redirect-original-filter-function): Remove.
15474 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15475 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15476 (vc-cvs-annotate-command):
15477 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15478 * progmodes/prolog.el (prolog-consult-compile):
15479 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15480 Use add/remove-function instead.
15481 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15482 (gud-tooltip-process-output, gud-tooltip-tips):
15483 Use add/remove-function instead.
15484 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15485 (scheme-interaction-mode, exit-scheme-interaction-mode):
15486 Use add/remove-function instead.
15487
15488 * vc/vc-dispatcher.el: Use lexical-binding.
15489 (vc--process-sentinel): Rename from vc-process-sentinel.
15490 Change last arg to be the code to run. Don't use vc-previous-sentinel
15491 and vc-sentinel-commands any more.
15492 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15493 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15494
15495 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15496
15497 * progmodes/sh-script.el (sh-imenu-generic-expression):
15498 Handle function names with a single character. (Bug#14111)
15499
15500 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15501
15502 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15503 for subroutines defined in an eval (bug#14182).
15504
15505 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15506
15507 * bookmark.el (bookmark-completing-read): Improve handling of empty
15508 string (bug#14176).
15509
15510 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15511
15512 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15513
15514 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15515
15516 New faster Imenu implementation (bug#14058).
15517 * progmodes/python.el:
15518 (python-imenu-prev-index-position):
15519 (python-imenu-format-item-label-function)
15520 (python-imenu-format-parent-item-label-function)
15521 (python-imenu-format-parent-item-jump-label-function):
15522 New vars.
15523 (python-imenu-format-item-label)
15524 (python-imenu-format-parent-item-label)
15525 (python-imenu-format-parent-item-jump-label)
15526 (python-imenu--put-parent, python-imenu--build-tree)
15527 (python-imenu-create-index, python-imenu-create-flat-index)
15528 (python-util-popn): New functions.
15529 (python-mode): Set imenu-create-index-function to
15530 python-imenu-create-index.
15531
15532 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15533
15534 * winner.el (winner-active-region): Use region-active-p, activate-mark
15535 and deactivate-mark (bug#14225).
15536
15537 * simple.el (deactivate-mark): Don't inline it.
15538
15539 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15540
15541 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15542
15543 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15544
15545 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15546 file extensions from the archive-mode entry in order to prefer
15547 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15548
15549 2013-04-18 Leo Liu <sdl.web@gmail.com>
15550
15551 * bindings.el (help-event-list): Add ?\?.
15552
15553 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15554
15555 * subr.el (with-wrapper-hook): Declare obsolete.
15556 * simple.el (filter-buffer-substring-function): New hook.
15557 (filter-buffer-substring): Use it.
15558 (filter-buffer-substring-functions): Mark obsolete.
15559 * minibuffer.el (completion-in-region-function): New hook.
15560 (completion-in-region): Use it.
15561 (completion-in-region-functions): Mark obsolete.
15562 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15563 * abbrev.el (abbrev-expand-function): New hook.
15564 (expand-abbrev): Use it.
15565 (abbrev-expand-functions): Mark obsolete.
15566 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15567 and :filter-return.
15568
15569 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15570
15571 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15572 and do not care about match data.
15573
15574 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15575
15576 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15577 completion tables when completing error conditions and
15578 `declare' arguments.
15579 (lisp-complete-symbol, field-complete): Mark as obsolete.
15580 (check-parens): Unmatched parens are user errors.
15581 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15582
15583 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15584
15585 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15586 command changed buffer (ie. `flyspell-pre-buffer' is not current
15587 buffer), which prevents making decisions based on invalid value of
15588 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15589 cause an error when `flyspell-pre-point' was nil after switching
15590 buffers.
15591 (flyspell-post-command-hook): No longer needs to change buffers when
15592 checking pre-word. While at it remove unnecessary progn.
15593
15594 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15595
15596 * textmodes/ispell.el (ispell-add-per-file-word-list):
15597 Fix `flyspell-correct-word-before-point' error when accepting
15598 words and `coment-padding' is an integer by using
15599 `comment-normalize-vars' (Bug #14214).
15600
15601 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15602
15603 New defun movement commands.
15604 * progmodes/python.el (python-nav--syntactically)
15605 (python-nav--forward-defun, python-nav-backward-defun)
15606 (python-nav-forward-defun): New functions.
15607
15608 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15609
15610 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15611 (python-syntax-context): Use named compiler-macro for backwards
15612 compatibility with Emacs 24.x.
15613
15614 2013-04-17 Leo Liu <sdl.web@gmail.com>
15615
15616 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15617 octave-hide-process-buffer.
15618
15619 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15620
15621 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15622 (bug#14216).
15623
15624 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15625
15626 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15627 Fix adjustment of offset when receiving incomplete responses from GDB
15628 (bug#14129).
15629
15630 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15631
15632 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15633 python-mode-abbrev-table.
15634 (python-skeleton-define): Adjust accordingly.
15635 (python-mode-abbrev-table): New table that inherits from it so that
15636 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15637
15638 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15639 (abbrev-symbol): Use it.
15640 (abbrev--before-point): Use it since we already handle inheritance.
15641
15642 2013-04-16 Leo Liu <sdl.web@gmail.com>
15643
15644 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15645 binding to info-lookup-symbol.
15646
15647 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15648
15649 * minibuffer.el (completion--twq-all):
15650 * term/ns-win.el (ns-initialize-window-system):
15651 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15652
15653 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15654
15655 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15656 global bindings.
15657
15658 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15659
15660 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15661
15662 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15663 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15664 to nil.
15665 (ruby-end-of-defun): Remove the unused arg, change the docstring
15666 to reflect that this function is only used as the value of
15667 `end-of-defun-function'.
15668 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15669 to reflect an earlier change that beginning/end-of-defun functions
15670 jump between methods in a class definition, as well as top-level
15671 functions.
15672
15673 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15674
15675 * minibuffer.el (minibuffer-complete): Don't just scroll
15676 a *Completions* that's been iconified.
15677 (minibuffer-force-complete): Make sure repetitions do cycle when going
15678 through completion-in-region -> minibuffer-complete.
15679
15680 2013-04-15 Alan Mackenzie <acm@muc.de>
15681
15682 Correct the placement of c-cpp-delimiters when there're #s not at
15683 col 0.
15684
15685 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15686 place a submatch around the #.
15687 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15688 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15689 on the #, not BOL.
15690
15691 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15692
15693 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15694 (advice--member-p): New arg `name'.
15695 (advice--add-function, advice-member-p): Use it (bug#14202).
15696
15697 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15698
15699 Reformulate java imenu-generic-expression.
15700 The old expression contained ill formed regexps.
15701
15702 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15703 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15704 (cc-imenu-java-method-arg-regexp): New defconsts.
15705 (cc-imenu-java-build-type-args-regex): New defun.
15706 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15707 handling of spaces in the regexp.
15708
15709 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15710
15711 * textmodes/ispell.el (ispell-command-loop): Remove
15712 flyspell highlight of a word when ispell accepts it (bug #14178).
15713
15714 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15715
15716 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15717 uses code from the previous `ange-ftp-run-real-handler'.
15718 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15719 only in case that function exist. This is needed for proper
15720 unloading of Tramp.
15721
15722 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15723
15724 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15725
15726 * textmodes/reftex.el (reftex-compile-variables): Use it.
15727
15728 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15729
15730 * files.el (normal-mode): Only use default major-mode if no other mode
15731 was specified.
15732
15733 * emacs-lisp/trace.el (trace-values): New function.
15734
15735 * files.el: Allow : in local variables (bug#14089).
15736 (hack-local-variable-regexp): New var.
15737 (hack-local-variables-prop-line, hack-local-variables): Use it.
15738
15739 2013-04-13 Roland Winkler <winkler@gnu.org>
15740
15741 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15742 data before it gets modified by bibtex-beginning-of-entry.
15743
15744 2013-04-13 Roland Winkler <winkler@gnu.org>
15745
15746 * textmodes/bibtex.el (bibtex-url): Doc fix.
15747
15748 2013-04-13 Roland Winkler <winkler@gnu.org>
15749
15750 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15751 does not visit a BibTeX file, exclude it from the list of buffers
15752 returned by bibtex-initialize.
15753
15754 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15755
15756 * window.el (split-window): Remove interactive form, since as a
15757 command this function is a special case of split-window-below.
15758 Correct doc string.
15759
15760 2013-04-12 Roland Winkler <winkler@gnu.org>
15761
15762 * faces.el (read-face-name): Do not override value of arg default.
15763 Allow single faces and strings as default values. Remove those
15764 elements from return value that are not faces.
15765 (describe-face): Simplify.
15766 (face-at-point): New optional args thing and multiple so that this
15767 function can provide the same functionality previously provided by
15768 read-face-name.
15769 (make-face-bold, make-face-unbold, make-face-italic)
15770 (make-face-unitalic, make-face-bold-italic, invert-face)
15771 (modify-face, read-face-and-attribute): Use face-at-point.
15772
15773 * cus-edit.el (customize-face, customize-face-other-window)
15774 * cus-theme.el (custom-theme-add-face)
15775 * face-remap.el (buffer-face-set)
15776 * facemenu.el (facemenu-set-face): Use face-at-point.
15777
15778 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15779
15780 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15781
15782 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15783
15784 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15785 off leading { and trailing } from field values.
15786
15787 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * emacs-lisp/timer.el (timer--check): New function.
15790 (timer--time, timer-set-function, timer-event-handler): Use it.
15791 (timer-set-idle-time): Simplify.
15792 (timer--activate): CSE.
15793 (timer-event-handler): Give more info in error message.
15794 (internal-timer-start-idle): New function, moved from C.
15795
15796 * mpc.el (mpc-proc): Add `restart' argument.
15797 (mpc-proc-cmd): Use it.
15798 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15799 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15800 less often.
15801
15802 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15803
15804 * progmodes/sh-script.el: Implement `sh-mode' own
15805 `add-log-current-defun-function' (bug#14112).
15806 (sh-current-defun-name): New function.
15807 (sh-mode): Use the function.
15808
15809 2013-04-09 Bastien Guerry <bzg@gnu.org>
15810
15811 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15812
15813 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15814
15815 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15816
15817 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15818 timer (bug#14156).
15819
15820 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15821
15822 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15823 declaration.
15824
15825 2013-04-07 Leo Liu <sdl.web@gmail.com>
15826
15827 * pcmpl-x.el: New file.
15828
15829 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15830
15831 Do not set x-display-name until X connection is established.
15832 This is needed to prevent from weird situation described at
15833 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15834 * frame.el (make-frame): Set x-display-name after call to
15835 window system initialization function, not before.
15836 * term/x-win.el (x-initialize-window-system): Add optional
15837 display argument and use it.
15838 * term/w32-win.el (w32-initialize-window-system):
15839 * term/ns-win.el (ns-initialize-window-system):
15840 * term/pc-win.el (msdos-initialize-window-system):
15841 Add compatible optional display argument.
15842
15843 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15844
15845 * files.el (normal-backup-enable-predicate): On MS-Windows and
15846 MS-DOS compare truenames of temporary-file-directory and of the
15847 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15848 don't fail comparison by compare-strings. Also, compare file
15849 names case-insensitively on MS-Windows and MS-DOS.
15850
15851 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15852
15853 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15854 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15855
15856 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15857
15858 * whitespace.el (whitespace-color-on, whitespace-color-off):
15859 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15860
15861 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15862
15863 * ispell.el (ispell-set-spellchecker-params):
15864 Really set `ispell-args' for all equivs.
15865
15866 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15867
15868 * ido.el (ido-completions): Use extra elements of ido-decorations
15869 (bug#14143).
15870 (ido-decorations): Update docstring.
15871
15872 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15873
15874 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15875 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15876 nil during initialization, in order not to miss changes since the
15877 file was opened. (Bug#14140)
15878
15879 2013-04-05 Leo Liu <sdl.web@gmail.com>
15880
15881 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15882
15883 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15884
15885 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15886
15887 2013-04-04 Glenn Morris <rgm@gnu.org>
15888
15889 * electric.el (electric-pair-inhibit-predicate): Add :version.
15890
15891 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15892
15893 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15894 when a package is required several times (bug#14082).
15895
15896 2013-04-04 Roland Winkler <winkler@gnu.org>
15897
15898 * faces.el (read-face-name): Behave as promised by the docstring.
15899 Assume that arg default is a list of faces.
15900 (describe-face): Call read-face-name with list of default faces.
15901
15902 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15903
15904 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15905 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15906 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15907 the header.
15908 (bookmark-exit-hook-internal): Save even if list is empty.
15909
15910 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15911
15912 * emacs-lisp/package.el (package-pinned-packages): New var.
15913 (package--add-to-archive-contents): Obey it (bug#14118).
15914
15915 2013-04-03 Alan Mackenzie <acm@muc.de>
15916
15917 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15918 Also adapt to the new values of element 7 of a parse state.
15919
15920 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15921 parameter `not-in-delimiter'. Handle being inside comment opener.
15922 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15923 character in case we're typing a '*' after a '/'.
15924 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15925 instead by passing the parameter to c-state-pp-to-literal.
15926
15927 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15928 for elt. 7 of a parse state.
15929
15930 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15931
15932 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15933 * international/latin1-disp.el, international/mule-util.el:
15934 * language/cyril-util.el, language/european.el, language/ind-util.el:
15935 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15936 * language/tibetan.el, language/viet-util.el:
15937 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15938
15939 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15940
15941 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15942 (electric-pair-post-self-insert-function): Use it.
15943 (electric-pair-default-inhibit): New function, extracted from
15944 electric-pair-post-self-insert-function.
15945
15946 2013-03-31 Roland Winkler <winkler@gnu.org>
15947
15948 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15949
15950 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15951
15952 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15953
15954 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15955
15956 Un-indent after "pass" and "return" statements (Bug#13888)
15957 * progmodes/python.el (python-indent-block-enders): New var.
15958 (python-indent-calculate-indentation): Use it.
15959
15960 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15961
15962 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15963 defun. Defining it as defalias could introduce too eager
15964 byte-compiler optimization. (Bug#14030)
15965
15966 2013-03-30 Chong Yidong <cyd@gnu.org>
15967
15968 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15969
15970 2013-03-30 Leo Liu <sdl.web@gmail.com>
15971
15972 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15973 (kmacro-execute-from-register): Pass the keyboard macro to
15974 kmacro-call-macro or repeating won't work correctly.
15975
15976 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15977
15978 * progmodes/subword.el: Back to using `forward-symbol'.
15979
15980 * subr.el (forward-whitespace, forward-symbol)
15981 (forward-same-syntax): Move from thingatpt.el.
15982
15983 2013-03-29 Leo Liu <sdl.web@gmail.com>
15984
15985 * kmacro.el (kmacro-to-register): New command.
15986 (kmacro-execute-from-register): New function.
15987 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15988
15989 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15990
15991 * mpc.el: Use defvar-local and setq-local.
15992 (mpc--proc-connect): Connection failures are not bugs.
15993 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15994 (mpc-volume-map): Bind to the up-events.
15995
15996 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15997
15998 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15999 instead of `forward-symbol'.
16000
16001 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16004 (edebug--recursive-edit): Use it.
16005 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16006 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16007
16008 2013-03-28 Leo Liu <sdl.web@gmail.com>
16009
16010 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16011
16012 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16013
16014 * facemenu.el (list-colors-callback): New defvar.
16015 (list-colors-redisplay): New function.
16016 (list-colors-display): Install list-colors-redisplay as the
16017 revert-buffer-function. (Bug#14063)
16018
16019 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16020
16021 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16022 and suffixes don't overlap (bug#14061).
16023
16024 * case-table.el: Use lexical-binding.
16025 (case-table-get-table): New function.
16026 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16027
16028 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16029
16030 * progmodes/subword.el: Add `superword-mode' to do word motion
16031 over symbol_words (parallels and leverages `subword-mode' which
16032 does word motion inside MixedCaseWords).
16033
16034 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16035
16036 * eshell/em-unix.el: Move su and sudo to...
16037 * eshell/em-tramp.el: ...Eshell tramp module.
16038
16039 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16040
16041 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16042 Change return value to be a sexp. Delay `get-buffer' to after
16043 restoring the desktop (bug#13951).
16044
16045 2013-03-26 Leo Liu <sdl.web@gmail.com>
16046
16047 * register.el: Move semantic tag handling back to
16048 cedet/semantic/senator.el. (Bug#14052)
16049
16050 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16051
16052 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16053 into the prompt either (bug#13963).
16054
16055 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16056
16057 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16058 part of "(error-foo)".
16059
16060 2013-03-24 Juri Linkov <juri@jurta.org>
16061
16062 * replace.el (list-matching-lines-prefix-face): New defcustom.
16063 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16064 `occur-engine' if `face-differs-from-default-p' returns t.
16065 (occur-engine): Add `,' inside backquote construct to evaluate
16066 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16067 Pass `prefix-face' to the functions `occur-context-lines' and
16068 `occur-engine-add-prefix'.
16069 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16070 `prefix-face' and propertize the prefix with `prefix-face'.
16071 (Bug#14017)
16072
16073 2013-03-24 Leo Liu <sdl.web@gmail.com>
16074
16075 * nxml/rng-valid.el (rng-validate-while-idle)
16076 (rng-validate-quick-while-idle): Guard against deleted buffer.
16077 (Bug#13999)
16078
16079 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16080 is the last entry in kill-buffer-hook.
16081
16082 * files.el (kill-buffer-hook): Doc fix.
16083
16084 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16085
16086 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16087 Make it safe-local.
16088
16089 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16090
16091 2013-03-23 Leo Liu <sdl.web@gmail.com>
16092
16093 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16094 Remove.
16095
16096 * nxml/rng-valid.el (rng-validate-mode)
16097 (rng-after-change-function, rng-do-some-validation):
16098 * nxml/rng-maint.el (rng-validate-buffer):
16099 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16100 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16101 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16102 (nxml-extend-after-change-region): Use with-silent-modifications.
16103
16104 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16105 timer-idle-list.
16106
16107 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16108 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16109 timer-idle-list. (Bug#13999)
16110
16111 2013-03-23 Juri Linkov <juri@jurta.org>
16112
16113 * info.el (info-index-match): New face.
16114 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16115 main pattern and add text properties with the new face to matches
16116 in index entries relative to the beginning of the index entry.
16117 (Bug#14015)
16118
16119 2013-03-21 Eric Ludlam <zappo@gnu.org>
16120
16121 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16122 Inhibit read only while inserting objects.
16123
16124 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16125
16126 * progmodes/cfengine.el: Update docs to mention
16127 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16128 symbol motion. Remove "_" from the word syntax.
16129
16130 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16131
16132 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16133 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16134
16135 2013-03-20 Juri Linkov <juri@jurta.org>
16136
16137 * info.el (Info-next-reference-or-link)
16138 (Info-prev-reference-or-link): New functions.
16139 (Info-next-reference, Info-prev-reference): Use them.
16140 (Info-try-follow-nearest-node): Handle footnote navigation.
16141 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16142
16143 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16144
16145 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16146 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16147
16148 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16149
16150 Suppress unnecessary non-ASCII chatter during build process.
16151 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16152 (batch-skkdic-convert): Suppress most of the chatter.
16153 It's not needed so much now that machines are faster,
16154 and its non-ASCII component was confusing; see Dmitry Gutov in
16155 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16156
16157 2013-03-20 Leo Liu <sdl.web@gmail.com>
16158
16159 * ido.el (ido-chop): Fix bug#10994.
16160
16161 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16162
16163 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16164 Remove vars.
16165 (whitespace-color-on, whitespace-color-off):
16166 Use `font-lock-fontify-buffer' (Bug#13817).
16167
16168 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16169
16170 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16171 remapping in mode-line.
16172 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16173
16174 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16175
16176 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16177 value for `whitespace-line' face (Bug#13875).
16178 (whitespace-font-lock-keywords): Change description.
16179 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16180 the constructed keywords instead.
16181 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16182
16183 2013-03-19 Leo Liu <sdl.web@gmail.com>
16184
16185 * progmodes/compile.el (compilation-display-error): New command.
16186 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16187 C-o. (Bug#13992)
16188
16189 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16190
16191 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16192
16193 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16194
16195 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16196
16197 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16198
16199 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16200
16201 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16202 * net/tramp-gvfs.el (top):
16203 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16204 (tramp-handle-shell-command): Use it.
16205 (tramp-dissect-file-name): Raise an error when hostname is a
16206 method name, and neither method nor user is specified.
16207
16208 * net/trampver.el: Update release number.
16209
16210 2013-03-18 Leo Liu <sdl.web@gmail.com>
16211
16212 Make sure eldoc can be turned off properly.
16213 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16214 eldoc-mode.
16215 (eldoc-display-message-p): Revert last change.
16216 (eldoc-display-message-no-interference-p)
16217 (eldoc-print-current-symbol-info): Tweak.
16218
16219 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16220
16221 * doc-view.el (doc-view-new-window-function): Check the new window
16222 overlay's display property instead the char property of the
16223 buffer's first char. Use `with-selected-window' instead of
16224 `save-window-excursion' with `select-window'.
16225 (doc-view-document->bitmap): Check the current doc-view overlay's
16226 display property instead the char property of the buffer's first char.
16227
16228 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16229
16230 Automate the build of ja-dic.el (Bug#13984).
16231 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16232 from the input, rather than assume that it's been done for us by the
16233 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16234 the current date into a ja-dic.el comment, as that complicates
16235 regression testing.
16236
16237 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16238
16239 * whitespace.el: Fix double evaluation.
16240 (whitespace-space, whitespace-hspace, whitespace-tab)
16241 (whitespace-newline, whitespace-trailing, whitespace-line)
16242 (whitespace-space-before-tab, whitespace-indentation)
16243 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16244 obsolete defvars.
16245 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16246 (whitespace-color-on): Use a single font-lock-add-keywords call.
16247 Fix double-evaluation of face variables.
16248
16249 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16250
16251 * net/tramp-adb.el (tramp-adb-parse-device-names):
16252 Use `start-process' instead of `call-process'. Otherwise, the
16253 function might be blocked under MS Windows. (Bug#13299)
16254
16255 2013-03-17 Leo Liu <sdl.web@gmail.com>
16256
16257 Extend eldoc to display info in the mode-line. (Bug#13978)
16258 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16259 (eldoc-mode-line-string): New variable.
16260 (eldoc-minibuffer-message): New function.
16261 (eldoc-message-function): New variable.
16262 (eldoc-message): Use it.
16263 (eldoc-display-message-p)
16264 (eldoc-display-message-no-interference-p):
16265 Support eldoc-post-insert-mode.
16266
16267 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16268 (eval-expression): Run it.
16269
16270 2013-03-17 Roland Winkler <winkler@gnu.org>
16271
16272 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16273 strings in the list of return values.
16274
16275 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16276
16277 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16278 radix before checking for HMS forms.
16279
16280 2013-03-16 Leo Liu <sdl.web@gmail.com>
16281
16282 * progmodes/scheme.el: Add indentation and font-locking for λ.
16283 (Bug#13975)
16284
16285 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16286
16287 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16288 token before point (bug#13942).
16289
16290 2013-03-16 Leo Liu <sdl.web@gmail.com>
16291
16292 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16293
16294 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16295
16296 * startup.el (command-line-normalize-file-name): Fix handling of
16297 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16298 <xfq.free@gmail.com> in
16299 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16300
16301 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16302
16303 Sync with Tramp 2.2.7.
16304
16305 * net/trampver.el: Update release number.
16306
16307 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16308
16309 * doc-view.el: Fix bug#13887.
16310 (doc-view-insert-image): Don't modify overlay associated to
16311 non-live windows, and implement horizontal centering of image in
16312 case it's smaller than the window.
16313 (doc-view-new-window-function): Force redisplay of new windows on
16314 doc-view buffers.
16315
16316 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16317
16318 * saveplace.el (save-place-alist-to-file): Don't sort
16319 `save-place-alist', just pretty-print it (bug#13882).
16320
16321 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16322
16323 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16324 Check whether `default-file-name-coding-system' is bound.
16325 It isn't in XEmacs.
16326
16327 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16328
16329 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16330 backquotes for `obsolete' (bug#13929).
16331
16332 * international/mule.el (find-auto-coding): Include file name in
16333 obsolescence warning (bug#13922).
16334
16335 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16336
16337 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16338 for CFEngine 3-specific indentation.
16339 (cfengine3-indent-line): Use it. Fix up category regex.
16340 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16341
16342 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16343
16344 * type-break.el (type-break-file-name):
16345 * textmodes/remember.el (remember-data-file):
16346 * strokes.el (strokes-file):
16347 * shadowfile.el (shadow-initialize):
16348 * saveplace.el (save-place-file):
16349 * ps-bdf.el (bdf-cache-file):
16350 * progmodes/idlwave.el (idlwave-config-directory):
16351 * net/quickurl.el (quickurl-url-file):
16352 * international/kkc.el (kkc-init-file-name):
16353 * ido.el (ido-save-directory-list-file):
16354 * emulation/viper.el (viper-custom-file-name):
16355 * emulation/vip.el (vip-startup-file):
16356 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16357 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16358
16359 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16360
16361 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16362 * language/thai-word.el: Switch to UTF-8.
16363
16364 See ChangeLog.16 for earlier changes.
16365
16366 ;; Local Variables:
16367 ;; coding: utf-8
16368 ;; End:
16369
16370 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16371
16372 This file is part of GNU Emacs.
16373
16374 GNU Emacs is free software: you can redistribute it and/or modify
16375 it under the terms of the GNU General Public License as published by
16376 the Free Software Foundation, either version 3 of the License, or
16377 (at your option) any later version.
16378
16379 GNU Emacs is distributed in the hope that it will be useful,
16380 but WITHOUT ANY WARRANTY; without even the implied warranty of
16381 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16382 GNU General Public License for more details.
16383
16384 You should have received a copy of the GNU General Public License
16385 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.